ia64: msg.h: fix msg_qnum/msg_qbytes types
[glibc.git] / ChangeLog
blob652d96860459c4108b830bd14d3b4b74823405ac
1 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
3         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
4         to bits/types.h.
5         (msgqnum_t): New typedef.
6         (msglen_t): Likewise.
7         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
8         and msg_qbytes type to msglen_t.
10 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13         pad0 to __glibc_reserved0.
14         (struct stat64): Likewise.
16 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19         Change sa_flags from a long to an int and add __glibc_reserved0 before
20         it for padding.
22 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
24         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
25         anonymous by deleting "siginfo" name.
27 2015-07-21  Roland McGrath  <roland@hack.frob.com>
29         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
30         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
31         rather than __nacl_irt_filename.
32         * sysdeps/nacl/xstat.c (__xstat): Likewise.
34         * NEWS: New item for arm-nacl port.
35         * sysdeps/arm/nacl/libc.abilist: New file.
36         * sysdeps/nacl/ld.abilist: New file.
37         * sysdeps/nacl/libBrokenLocale.abilist: New file.
38         * sysdeps/nacl/libanl.abilist: New file.
39         * sysdeps/nacl/libcrypt.abilist: New file.
40         * sysdeps/nacl/libdl.abilist: New file.
41         * sysdeps/nacl/libm.abilist: New file.
42         * sysdeps/nacl/libpthread.abilist: New file.
43         * sysdeps/nacl/libresolv.abilist: New file.
44         * sysdeps/nacl/librt.abilist: New file.
46 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
48         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
49         __startcontext to initialize the new context.
50         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
51         up CFI directive to forbid further backtracing.
53 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
55         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
56         reference.
57         * charmaps/ANSI_X3.4-1968: Likewise.
58         * charmaps/BS_4730: Likewise.
59         * charmaps/BS_VIEWDATA: Likewise.
60         * charmaps/CP1250: Likewise.
61         * charmaps/CP1251: Likewise.
62         * charmaps/CP1252: Likewise.
63         * charmaps/CP1253: Likewise.
64         * charmaps/CP1254: Likewise.
65         * charmaps/CP1255: Likewise.
66         * charmaps/CP1256: Likewise.
67         * charmaps/CSN_369103: Likewise.
68         * charmaps/EBCDIC-DK-NO: Likewise.
69         * charmaps/GB_1988-80: Likewise.
70         * charmaps/GREEK-CCITT: Likewise.
71         * charmaps/GREEK7: Likewise.
72         * charmaps/INIS-8: Likewise.
73         * charmaps/ISIRI-3342: Likewise.
74         * charmaps/ISO_2033-1983: Likewise.
75         * charmaps/ISO_5427-EXT: Likewise.
76         * locales/POSIX: Likewise.
77         * locales/ar_SA: Likewise.
78         * locales/be_BY: Likewise.
79         * locales/be_BY@latin: Likewise.
80         * locales/ca_ES: Likewise.
81         * locales/cs_CZ: Likewise.
82         * locales/da_DK: Likewise.
83         * locales/de_BE: Likewise.
84         * locales/de_CH: Likewise.
85         * locales/de_LU: Likewise.
86         * locales/en_AU: Likewise.
87         * locales/en_BW: Likewise.
88         * locales/en_CA: Likewise.
89         * locales/en_DK: Likewise.
90         * locales/en_GB: Likewise.
91         * locales/en_IE: Likewise.
92         * locales/en_NZ: Likewise.
93         * locales/en_ZA: Likewise.
94         * locales/en_ZW: Likewise.
95         * locales/es_AR: Likewise.
96         * locales/es_BO: Likewise.
97         * locales/es_CL: Likewise.
98         * locales/es_CO: Likewise.
99         * locales/es_DO: Likewise.
100         * locales/es_EC: Likewise.
101         * locales/es_ES: Likewise.
102         * locales/es_HN: Likewise.
103         * locales/es_MX: Likewise.
104         * locales/es_PA: Likewise.
105         * locales/es_PE: Likewise.
106         * locales/es_PY: Likewise.
107         * locales/es_SV: Likewise.
108         * locales/es_US: Likewise.
109         * locales/es_UY: Likewise.
110         * locales/es_VE: Likewise.
111         * locales/et_EE: Likewise.
112         * locales/fa_IR: Likewise.
113         * locales/fo_FO: Likewise.
114         * locales/fr_CA: Likewise.
115         * locales/fr_CH: Likewise.
116         * locales/gv_GB: Likewise.
117         * locales/he_IL: Likewise.
118         * locales/hr_HR: Likewise.
119         * locales/id_ID: Likewise.
120         * locales/is_IS: Likewise.
121         * locales/it_CH: Likewise.
122         * locales/iw_IL: Likewise.
123         * locales/kl_GL: Likewise.
124         * locales/ko_KR: Likewise.
125         * locales/kw_GB: Likewise.
126         * locales/lg_UG: Likewise.
127         * locales/lt_LT: Likewise.
128         * locales/lv_LV: Likewise.
129         * locales/mi_NZ: Likewise.
130         * locales/nhn_MX: Likewise.
131         * locales/nl_BE: Likewise.
132         * locales/pl_PL: Likewise.
133         * locales/sk_SK: Likewise.
134         * locales/sl_SI: Likewise.
135         * locales/sv_FI: Likewise.
136         * locales/tl_PH: Likewise.
137         * locales/tr_TR: Likewise.
138         * locales/vi_VN: Likewise.
140 2015-07-21  Khem Raj  <raj.khem@gmail.com>
142         [BZ #17475]
143         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
144         of tu_IN and bh_IN.
146 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
148         [BZ #18694]
149         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
150         bits/wordsize.h.
151         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
153 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
155         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
156         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
157         (spawn_thread): New function.
158         (load): Rename to reg_dtor_and_close.  Move dlopen to...
159         (do_test): ... here.  Use IS_LOADED to test for its
160         availability.
162 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
164         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
166 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
168         [BZ #18696]
169         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
170         si_addr_bnd.
171         (si_lower): New.
172         (si_upper): Likewise.
174 2015-07-16  David S. Miller  <davem@davemloft.net>
176         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
178 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
180         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
181         buffer.
182         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
183         fail output information.
185 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
188         and strstr-ppc64..
189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
190         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
191         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
192         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
193         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
195 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
197         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
198         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
199         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
200         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
202 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
204         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
205         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
206         rtld_hidden_proto.
207         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
209 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
211         * tst-nodelete-opened.c (do_test): Add comment to clarify how
212         the test can fail.
214         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
216         [BZ #18676]
217         * elf/tst-nodelete-opened.c: New test case.
218         * elf/tst-nodelete-opened-lib.c: New test case module.
219         * elf/Makefile (tests, modules-names): Use them.
220         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
221         early.
223 2015-07-15  David S. Miller  <davem@davemloft.net>
225         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
226         futex-intenal.h
227         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
228         * sysdeps/sparc/sparc64/Makefile: Likewise.
229         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
230         Remove space from macro define.
231         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
233 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
235         [BZ #17475]
236         * locale/iso-639.def: Update Bhili and Tulu language codes as
237         per iso639-3.
239 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
241         * elf/tst-leaks1.c (main): Converted to ...
242         (do_test): ... this.
243         (TEST_FUNCTION): New macro.
244         Include test-skeleton.c.
245         * localedata/tst-langinfo.c (main): Converted to ...
246         (do_test): ... this.
247         (TEST_FUNCTION): New macro.
248         Include test-skeleton.c.
249         * math/test-fpucw.c (main): Converted to ...
250         (do_test): ... this.
251         (TEST_FUNCTION): New macro.
252         Include test-skeleton.c.
253         * math/test-tgmath.c (main): Converted to ...
254         (do_test): ... this.
255         (TEST_FUNCTION): New macro.
256         Include test-skeleton.c.
257         * math/test-tgmath2.c (main): Converted to ...
258         (do_test): ... this.
259         (TEST_FUNCTION): New macro.
260         Include test-skeleton.c.
261         * setjmp/tst-setjmp.c (main): Converted to ...
262         (do_test): ... this.
263         (TEST_FUNCTION): New macro.
264         Include test-skeleton.c.
265         * stdio-common/tst-sscanf.c (main): Converted to ...
266         (do_test): ... this.
267         (TEST_FUNCTION): New macro.
268         Include test-skeleton.c.
269         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
270         (do_test): ... this.
271         (TEST_FUNCTION): New macro.
272         Include test-skeleton.c.
274         * elf/tst-audit9.c (main): Converted to ...
275         (do_test): ... this.
276         (TEST_FUNCTION): New macro.
277         Include test-skeleton.c.
279 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
281         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
283 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
285         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
286         New variable.
288 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
290         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
292 2015-07-14  Roland McGrath  <roland@hack.frob.com>
294         * sysdeps/generic/dl-fileid.h: New file.
295         * sysdeps/posix/dl-fileid.h: New file.
296         * sysdeps/nacl/dl-fileid.h: New file.
297         * include/link.h: Include <dl-fileid.h>.
298         (struct link_map): Replace l_dev and l_ino with l_file_id.
299         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
300         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
301         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
303 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
305         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
307 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
309         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
310         Add iff $CXX is set.
311         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
312         Likewise.
313         (tst-nodelete-zmodiff): Likewise.
314         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
316 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
318         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
320 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
322         * sysdeps/aarch64/fpu/math_private.h
323         (define math_opt_barrier): Add AArch64 version.
324         (math_force_eval): Likewise.
326 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
328         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
330 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
332         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
333         %ld with %jd and cast to intmax_t.
334         (do_test_length_zero): Likewise.
336 2015-07-10  Roland McGrath  <roland@hack.frob.com>
338         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
340 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
342         * sysdeps/tile/libm-test-ulps: Regenerated.
344         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
345         Comment out the whole function, not just its body.
347 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
349         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
350         locks.
352         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
354 2015-07-10  Torvald Riegel  <triegel@redhat.com>
356         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
357         (sem_assume_only_signals_cause_futex_EINTR): Remove.
359 2015-07-10  Torvald Riegel  <triegel@redhat.com>
361         * sysdeps/nptl/futex-internal.h: New file.
362         * sysdeps/nacl/futex-internal.h: New file.
363         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
364         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
365         error checking.
366         (setxid_unmark_thread): Likewise.
367         (__nptl_setxid): Likewise.
368         (__wait_lookup_done): Likewise.
369         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
370         * nptl/nptl-init.c (sighandler_setxid): Likewise.
371         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
372         * nptl/pthread_once.c (clear_once_control): Likewise.
373         (__pthread_once_slow): Likewise.
374         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
375         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
376         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
377         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
378         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
379         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
380         Likewise.
381         (__pthread_rwlock_rdlock): Likewise.
382         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
383         Likewise.
384         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
385         Likewise.
386         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
387         Likewise.
388         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
389         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
390         Likewise.
391         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
392         __ASSUME_PRIVATE_FUTEX check.
393         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
394         Check that shared futexes are supported.
395         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
396         wrappers with error checking.
397         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
398         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
399         * nptl/pthread_barrierattr_setpshared.c
400         (pthread_barrierattr_setpshared): Check that shared futexes are
401         supported.
402         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
403         Likewise.
404         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
405         Likewise.
406         * nptl/sem_init.c (futex_private_if_supported): Remove.
407         (__new_sem_init): Adapt and check that shared futexes are supported.
408         * nptl/sem_open.c (sem_open): Likewise.
409         * nptl/sem_post.c (futex_wake): Remove.
410         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
411         (do_futex_wait): Use futex wrappers with error checking.
412         * nptl/sem_wait.c: Include lowlevellock.h.
413         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
414         Use futex_supports_pshared.
415         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
416         Use futex wrappers with error checking.
417         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
418         Likewise.
419         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
420         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
421         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
422         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
423         (futex_wake): Likewise.
424         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
425         (do_futex_wait): Use futex wrappers with error checking.
426         (__new_sem_wait_slow): Update EINTR handling.
427         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
429 2015-07-09  Martin Sebor  <msebor@redhat.com>
431         [BZ #18435]
432         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
433         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
434         * nptl/Makefile (test-xfail-tst-once5): Define.
436 2015-07-09  Roland McGrath  <roland@hack.frob.com>
438         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
439         * elf/dl-minimal.c: For readability, reorder some definitions and
440         introduce more page breaks.  Include <stdio.h>.
441         (__libc_fatal): New function.
443         * include/unistd.h: Add rtld_hidden_proto for _exit.
444         * posix/_exit.c: Add rtld_hidden_def.
445         * sysdeps/mach/hurd/_exit.c: Likewise.
446         * sysdeps/nacl/_exit.c: Likewise.
447         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
448         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
450 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
452         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
453         bndmov encoding with zero displacement.
455 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
456             H.J. Lu  <hongjiu.lu@intel.com>
458         [BZ #18134]
459         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
460         * sysdeps/i386/configure: Regenerated.
461         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
462         (_dl_runtime_profile): Save and restore Intel MPX return bound
463         registers when calling _dl_call_pltexit.  Add
464         PRESERVE_BND_REGS_PREFIX before return.
465         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
466         (LRV_BND1_OFFSET): Likewise.
467         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
468         lrv_bnd1.
469         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
470         typo in bndmov encoding.
471         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
472         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
473         branch instructions to preserve bounds.
475 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
478         [GLIBC_2.22]: Add fmemopen.
480 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
482         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
483         returns an error, also try to use host port from __mach_host_self for
484         the __vm_wire call.
485         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
487 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
489         [BZ #18400]
490         [BZ #18648]
491         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
492         Fix pr_uid and pr_gid members.
493         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
494         definition to elf_greg_t.
496 2015-07-08  Roland McGrath  <roland@hack.frob.com>
498         [BZ #18383]
499         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
500         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
501         * sysdeps/arm/configure: Regenerated.
502         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
503         (test-xfail-tst-tlsalign-static): Variable removed.
505         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
506         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
507         rather than explicit 'ln -s'.
509         * resolv/rpc/netdb.h: New file.
510         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
512 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
514         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
515         length buffers.
516         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
517         test-skeleton.c.
519         [BZ #6544]
520         [BZ #11216]
521         [BZ #12836]
522         [BZ #13151]
523         [BZ #13152]
524         [BZ #14292]
525         * include/stdio.h (fmemopen): Remove hidden prototype.
526         (__fmemopen): Add new hidden prototype.
527         * libio/Makefile: Add oldfmemopen object.
528         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
529         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
530         compliance.
531         * libio/oldfmemopen.c: New file: old fmemopen implementation for
532         symbol compatibility.
533         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
534         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
535         fmemopen.
536         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
537         on append and read mode.
538         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
539         fmemopen.
540         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
541         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
542         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
543         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
544         Likewise.
545         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
546         [GLIBC_2.22]: Likewise.
547         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
548         Likewise.
549         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
550         Likewise.
551         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
552         [GLIBC_2.22]: Likewise.
553         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
554         [GLIBC_2.22]: Likewise.
555         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
556         [GLIBC_2.22]: Likewise.
557         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
558         [GLIBC_2.22]: Likewise.
559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
560         [GLIBC_2.22]: Likewise.
561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
562         [GLIBC_2.22]: Likewise.
563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
564         [GLIBC_2.22]: Likewise.
565         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
566         Likewise.
567         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
568         Likewise.
569         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
570         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
571         [GLIBC_2.22]: Likewise.
572         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
573         [GLIBC_2.22]: Likewise.
574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
575         [GLIBC_2.22]: Likewise.
576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
577         [GLIBC_2.22]: Likewise.
578         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
579         Likewise.
580         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
581         Likewise.
582         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
583         Likewise.
584         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
585         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
587 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
589         [BZ #18643]
590         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
591         IPV6_PATHMTU, and IPV6_DONTFRAG.
593 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
595         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
596         and _IO_UNBUFFERED.
597         * libio/oldfileops.c: Likewise.
598         * libio/wfileops.c: Likewise.
600 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
602         * nscd/selinux.c: Delete selinux/flask.h include.
604 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
606         [BZ #18641]
607         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
608         (putpwent): Likewise.
609         (getpwnam): Likewise.
610         (getpwent_r): Likewise.
611         (getpwuid_r): Likewise.
612         (getpwnam_r): Likewise.
613         (fgetpwent_r): Likewise.
615 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
617         [BZ #18557]
618         * inet/rcmd.c (__validuser2_sa): Check user first to
619         short-circuit host check.
621 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
622             Mikhail Ilin  <m.ilin@samsung.com>
624         [BZ #17833]
625         * elf/Makefile (tests): Add tst-nodelete.
626         (modules-names): Add tst-nodelete-uniquemod.
627         (tst-nodelete-uniquemod.so-no-z-defs): New.
628         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
629         (tst-nodelete-zmod.so-no-z-defs): Likewise.
630         ($(objpfx)tst-nodelete): Likewise.
631         ($(objpfx)tst-nodelete.out): Likewise.
632         (LDFLAGS-tst-nodelete): Likewise.
633         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
634         * elf/dl-close.c (_dl_close_worker): Add a parameter to
635         implement forced object deletion.
636         (_dl_close): Pass false to _dl_close_worker.
637         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
638         * elf/tst-nodelete.cc: New file.
639         * elf/tst-nodeletelib.cc: Likewise.
640         * elf/tst-znodeletelib.cc: Likewise.
641         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
643 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
645         [BZ #18508]
646         * stdlib/Makefile ($(objpfx)tst-makecontext3):
647         Depend on $(libdl).
648         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
649         is not called infinitely times.
650         (backtrace_helper): New function.
651         (trace_arg): New struct.
652         (st1): Enlarge stack size.
653         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
654         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
655         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
656         Likewise.
658 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
660         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
662 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
664         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
665         Include sys/types.h instead of bits/types.h.
666         Remove inclusion of bits/wordsize.h.
668 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
670         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
671         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
672         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
673         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
674         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
675         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
677 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
679         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
680         link-defines.sym.
681         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
682         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
683         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
684         and LR_SIZE.
685         * sysdeps/i386/link-defines.sym: New file.
687 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
689         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
690         (modules-names): Add tst-auditmod3a tst-auditmod3b.
691         ($(objpfx)tst-audit3): New rule.
692         ($(objpfx)tst-audit3.out): Likewise.
693         * sysdeps/i386/tst-audit3.c: New file.
694         * sysdeps/i386/tst-audit3.h: Likewise.
695         * sysdeps/i386/tst-auditmod3a.c: Likewise.
696         * sysdeps/i386/tst-auditmod3b.c: Likewise.
698 2015-07-07  Torvald Riegel  <triegel@redhat.com>
700         [BZ #18633]
701         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
702         pointer in C code.
703         (__strcat_c): Likewise.
704         (__strcat_g): Likewise.
706 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
708         [BZ #18592]
709         * misc/sbrk.c: Set errno to ENOMEM on overflow.
711 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
713         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
714         New function.  (__ieee754_sqrtf): New function.
715         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
716         New function.
717         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
718         New function.
720 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
722         * sysdeps/ieee754/support.c: Remove unused file.
724 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
726         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
727         registers instead of d ones so the layout is kernel abi compatible.
728         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
729         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
730         Likewise.
732 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
734         * sysdeps/aarch64/libm-test-ulps: Regenerated.
736 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
738         [BZ #18619]
739         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
740         and return argument in case of subnormal argument.
742 2015-07-01  Martin Sebor  <msebor@redhat.com>
744         [BZ #18435]
745         * nptl/Makefile: Add tst-once5.cc.
746         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
747         Remove macro redefinitions.
748         * nptl/tst-once5.cc: New test.
750 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
752         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
754         * sysdeps/arm/libm-test-ulps: Regenerated.
756         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
757         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
759 2015-06-30  Torvald Riegel  <triegel@redhat.com>
761         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
762         lll_lock_wait_private and lll_futex_wake probes.
764         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
765         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
766         Likewise.
767         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
768         atomic_spin_nop.
769         * sysdeps/x86_64/bits/atomic.h: Likewise.
770         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
771         to atomic_spin_nop and move ...
772         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
773         ... here and ...
774         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
775         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
776         atomic_spin_nop instead of BUSY_WAIT_NOP.
777         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
778         Likewise.
779         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
780         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
781         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
782         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
783         instead of atomic_delay.
785 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
787         [BZ #18613]
788         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
789         X_ADJ not X when adjusting exponent.
790         (__ieee754_gamma_r): Do intermediate computations in
791         round-to-nearest then adjust overflowing and underflowing results
792         as needed.
793         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
794         of X_ADJ not X when adjusting exponent.
795         (__ieee754_gammaf_r): Do intermediate computations in
796         round-to-nearest then adjust overflowing and underflowing results
797         as needed.
798         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
799         log of X_ADJ not X when adjusting exponent.
800         (__ieee754_gammal_r): Do intermediate computations in
801         round-to-nearest then adjust overflowing and underflowing results
802         as needed.  Use 1.0L not 1.0f as numerator of division.
803         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
804         log of X_ADJ not X when adjusting exponent.
805         (__ieee754_gammal_r): Do intermediate computations in
806         round-to-nearest then adjust overflowing and underflowing results
807         as needed.  Use 1.0L not 1.0f as numerator of division.
808         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
809         of X_ADJ not X when adjusting exponent.
810         (__ieee754_gammal_r): Do intermediate computations in
811         round-to-nearest then adjust overflowing and underflowing results
812         as needed.  Use 1.0L not 1.0f as numerator of division.
813         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
814         to auto-libm-test-in.
815         (tgamma_test): Use ALL_RM_TEST.
816         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
817         tests of tgamma with spurious-overflow.
818         * math/auto-libm-test-out: Regenerated.
819         * math/gen-libm-have-vector-test.sh: Do not check for START.
820         * sysdeps/i386/fpu/libm-test-ulps: Update.
821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
823         [BZ #18612]
824         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
825         arguments, just return 0.5 times the argument, with underflow
826         forced as needed.
827         * math/auto-libm-test-in: Add more tests of j1.
828         * math/auto-libm-test-out: Regenerated.
830         [BZ #16559]
831         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
832         (__ieee754_j1): Force underflow exception for small results.
833         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
834         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
835         (__ieee754_j1f): Force underflow exception for small results.
836         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
837         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
838         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
839         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
840         (__ieee754_j1l): Force underflow exception for small results.
841         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
842         * math/auto-libm-test-in: Add more tests of j1 and jn.
843         * math/auto-libm-test-out: Regenerated.
845         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
846         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
847         (PF_MPLS): Likewise.
848         (AF_IB): Likewise.
849         (AF_MPLS): Likewise.
850         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
851         value and macro.
852         (MS_RMT_MASK): Include MS_LAZYTIME.
854 2015-06-26  Mel Gorman  <mgorman@suse.de>
856         [BZ #18502]
857         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
858         already minimal.
860 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
862         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
863         (DT_MIPS_NUM): Update.
864         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
865         DT_MIPS_RLD_MAP_REL.
867 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
869         [BZ #16559]
870         [BZ #18602]
871         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
872         round-to-nearest internally then recompute results that
873         underflowed to zero in the original rounding mode.
874         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
875         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
876         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
877         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
878         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
879         * sysdeps/i386/fpu/libm-test-ulps: Update.
880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
882 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
884         * NEWS: Fixed description of link with vector math library.
886 2015-06-25  Andreas Schwab  <schwab@suse.de>
888         [BZ #18549]
889         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
890         * libio/test-fmemopen.c (do_test): Add test for it.
892 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
894         [BZ #17841]
895         * Makeconfig (no-pie-ldflag): New.
896         (+link): Set to $(+link-pie) if default to PIE.
897         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
898         * config.make.in (build-pie-default): New.
899         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
900         is default.  AC_SUBST.
901         * configure: Regenerated.
902         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
904 2015-06-24  Roland McGrath  <roland@hack.frob.com>
906         * nptl/descr.h (struct pthread): Change type of field setxid_futex
907         to 'unsigned int'.
909         * resolv/gai_misc.h (struct waitlist): Change type of field
910         counterp to 'volatile unsigned int *'.
911         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
912         FUTEXADDR and OLDVAL.
913         * resolv/getaddrinfo_a.c (getaddrinfo_a):
914         Give local variable TOTAL type 'volatile unsigned int'.
915         (struct async_waitlist): Change type of field counter to 'unsigned int'.
916         * resolv/gai_suspend.c (gai_suspend):
917         Give local variable CNTR type 'unsigned int'.
919         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
920         counterp to 'volatile unsigned int *'.
921         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
922         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
923         (aio_suspend): Give local variable CNTR type 'unsigned int'.
924         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
925         Give local variable TOTAL type 'volatile unsigned int'.
926         (struct async_waitlist): Change type of field counter to 'unsigned int'.
928 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
930         [BZ #18383]
931         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
932         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
933         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
934         comment for i386/x86-64.
935         (test-xfail-tst-tlsalign-extern-static): Removed.
937 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
939         * math/test-double.h: New file.
940         * math/test-float.h: Likewise.
941         * math/test-ldouble.h: Likewise.
942         * math/test-math-inline.h: Likewise.
943         * math/test-math-no-inline.h: Likewise.
944         * math/test-math-scalar.h: Likewise.
945         * math/test-math-vector.h: Likewise.
946         * math/test-vec-loop.h: Remove file.  Contents moved into
947         test-math-vector.h.
948         * math/libm-test.inc (MATHCONST): Do not document macro.
949         * math/test-double.c: Include test-double.h, test-math-no-inline.h
950         and test-math-scalar.h.
951         (FUNC): Remove macro.
952         (FUNC_TEST): Likewise.
953         (FLOAT): Likewise.
954         (MATHCONST): Likewise.
955         (PRINTF_EXPR): Likewise.
956         (PRINTF_XEXPR): Likewise.
957         (PRINTF_NEXPR): Likewise.
958         (TEST_DOUBLE): Likewise.
959         (TEST_MATHVEC): Likewise.
960         (__NO_MATH_INLINES): Likewise.
961         * math/test-float.c: Include test-float.h, test-math-no-inline.h
962         and test-math-scalar.h.
963         (FUNC): Remove macro.
964         (FUNC_TEST): Likewise.
965         (FLOAT): Likewise.
966         (MATHCONST): Likewise.
967         (PRINTF_EXPR): Likewise.
968         (PRINTF_XEXPR): Likewise.
969         (PRINTF_NEXPR): Likewise.
970         (TEST_FLOAT): Likewise.
971         (TEST_MATHVEC): Likewise.
972         (__NO_MATH_INLINES): Likewise.
973         * math/test-idouble.c: Include test-double.h, test-math-inline.h
974         and test-math-scalar.h.
975         (FUNC): Remove macro.
976         (FUNC_TEST): Likewise.
977         (FLOAT): Likewise.
978         (MATHCONST): Likewise.
979         (PRINTF_EXPR): Likewise.
980         (PRINTF_XEXPR): Likewise.
981         (PRINTF_NEXPR): Likewise.
982         (TEST_DOUBLE): Likewise.
983         (TEST_MATHVEC): Likewise.
984         (TEST_INLINE): Likewise.
985         (__NO_MATH_INLINES): Likewise.
986         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
987         test-math-scalar.h.
988         (FUNC): Remove macro.
989         (FUNC_TEST): Likewise.
990         (FLOAT): Likewise.
991         (MATHCONST): Likewise.
992         (PRINTF_EXPR): Likewise.
993         (PRINTF_XEXPR): Likewise.
994         (PRINTF_NEXPR): Likewise.
995         (TEST_FLOAT): Likewise.
996         (TEST_MATHVEC): Likewise.
997         (TEST_INLINE): Likewise.
998         (__NO_MATH_INLINES): Likewise.
999         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1000         and test-math-scalar.h.
1001         (FUNC): Remove macro.
1002         (FUNC_TEST): Likewise.
1003         (FLOAT): Likewise.
1004         (MATHCONST): Likewise.
1005         (PRINTF_EXPR): Likewise.
1006         (PRINTF_XEXPR): Likewise.
1007         (PRINTF_NEXPR): Likewise.
1008         (TEST_LDOUBLE): Likewise.
1009         (TEST_MATHVEC): Likewise.
1010         (TEST_INLINE): Likewise.
1011         (__NO_MATH_INLINES): Likewise.
1012         * math/test-ldouble.c: Include test-ldouble.h,
1013         test-math-no-inline.h and test-math-scalar.h.
1014         (FUNC): Remove macro.
1015         (FUNC_TEST): Likewise.
1016         (FLOAT): Likewise.
1017         (MATHCONST): Likewise.
1018         (PRINTF_EXPR): Likewise.
1019         (PRINTF_XEXPR): Likewise.
1020         (PRINTF_NEXPR): Likewise.
1021         (TEST_LDOUBLE): Likewise.
1022         (TEST_MATHVEC): Likewise.
1023         (__NO_MATH_INLINES): Likewise.
1024         * math/test-double-vlen2.h: Include test-double.h,
1025         test-math-no-inline.h and test-math-vector.h.
1026         (FLOAT): Remove macro.
1027         (FUNC): Likewise.
1028         (MATHCONST): Likewise.
1029         (PRINTF_EXPR): Likewise.
1030         (PRINTF_XEXPR): Likewise.
1031         (PRINTF_NEXPR): Likewise.
1032         (TEST_DOUBLE): Likewise.
1033         (TEST_MATHVEC): Likewise.
1034         (__NO_MATH_INLINES): Likewise.
1035         (CNCT): Likewise.
1036         (CONCAT): Likewise.
1037         (WRAPPER_NAME): Likewise.
1038         (WRAPPER_DECL): Likewise.
1039         (WRAPPER_DECL_ff): Likewise.
1040         (WRAPPER_DECL_fFF): Likewise.
1041         (VECTOR_WRAPPER): Likewise.
1042         (VECTOR_WRAPPER_ff): Likewise.
1043         (VECTOR_WRAPPER_fFF): Likewise.
1044         (VEC_LEN): New macro.
1045         * math/test-double-vlen4.h: Include test-double.h,
1046         test-math-no-inline.h and test-math-vector.h.
1047         (FLOAT): Remove macro.
1048         (FUNC): Likewise.
1049         (MATHCONST): Likewise.
1050         (PRINTF_EXPR): Likewise.
1051         (PRINTF_XEXPR): Likewise.
1052         (PRINTF_NEXPR): Likewise.
1053         (TEST_DOUBLE): Likewise.
1054         (TEST_MATHVEC): Likewise.
1055         (__NO_MATH_INLINES): Likewise.
1056         (CNCT): Likewise.
1057         (CONCAT): Likewise.
1058         (WRAPPER_NAME): Likewise.
1059         (WRAPPER_DECL): Likewise.
1060         (WRAPPER_DECL_ff): Likewise.
1061         (WRAPPER_DECL_fFF): Likewise.
1062         (VECTOR_WRAPPER): Likewise.
1063         (VECTOR_WRAPPER_ff): Likewise.
1064         (VECTOR_WRAPPER_fFF): Likewise.
1065         (VEC_LEN): New macro.
1066         * math/test-double-vlen8.h: Include test-double.h,
1067         test-math-no-inline.h and test-math-vector.h.
1068         (FLOAT): Remove macro.
1069         (FUNC): Likewise.
1070         (MATHCONST): Likewise.
1071         (PRINTF_EXPR): Likewise.
1072         (PRINTF_XEXPR): Likewise.
1073         (PRINTF_NEXPR): Likewise.
1074         (TEST_DOUBLE): Likewise.
1075         (TEST_MATHVEC): Likewise.
1076         (__NO_MATH_INLINES): Likewise.
1077         (CNCT): Likewise.
1078         (CONCAT): Likewise.
1079         (WRAPPER_NAME): Likewise.
1080         (WRAPPER_DECL): Likewise.
1081         (WRAPPER_DECL_ff): Likewise.
1082         (WRAPPER_DECL_fFF): Likewise.
1083         (VECTOR_WRAPPER): Likewise.
1084         (VECTOR_WRAPPER_ff): Likewise.
1085         (VECTOR_WRAPPER_fFF): Likewise.
1086         (VEC_LEN): New macro.
1087         * math/test-float-vlen4.h: Include test-float.h,
1088         test-math-no-inline.h and test-math-vector.h.
1089         (FLOAT): Remove macro.
1090         (FUNC): Likewise.
1091         (MATHCONST): Likewise.
1092         (PRINTF_EXPR): Likewise.
1093         (PRINTF_XEXPR): Likewise.
1094         (PRINTF_NEXPR): Likewise.
1095         (TEST_FLOAT): Likewise.
1096         (TEST_MATHVEC): Likewise.
1097         (__NO_MATH_INLINES): Likewise.
1098         (CNCT): Likewise.
1099         (CONCAT): Likewise.
1100         (WRAPPER_NAME): Likewise.
1101         (WRAPPER_DECL): Likewise.
1102         (WRAPPER_DECL_ff): Likewise.
1103         (WRAPPER_DECL_fFF): Likewise.
1104         (VECTOR_WRAPPER): Likewise.
1105         (VECTOR_WRAPPER_ff): Likewise.
1106         (VECTOR_WRAPPER_fFF): Likewise.
1107         (VEC_LEN): New macro.
1108         * math/test-float-vlen8.h: Include test-float.h,
1109         test-math-no-inline.h and test-math-vector.h.
1110         (FLOAT): Remove macro.
1111         (FUNC): Likewise.
1112         (MATHCONST): Likewise.
1113         (PRINTF_EXPR): Likewise.
1114         (PRINTF_XEXPR): Likewise.
1115         (PRINTF_NEXPR): Likewise.
1116         (TEST_FLOAT): Likewise.
1117         (TEST_MATHVEC): Likewise.
1118         (__NO_MATH_INLINES): Likewise.
1119         (CNCT): Likewise.
1120         (CONCAT): Likewise.
1121         (WRAPPER_NAME): Likewise.
1122         (WRAPPER_DECL): Likewise.
1123         (WRAPPER_DECL_ff): Likewise.
1124         (WRAPPER_DECL_fFF): Likewise.
1125         (VECTOR_WRAPPER): Likewise.
1126         (VECTOR_WRAPPER_ff): Likewise.
1127         (VECTOR_WRAPPER_fFF): Likewise.
1128         (VEC_LEN): New macro.
1129         * math/test-float-vlen16.h: Include test-float.h,
1130         test-math-no-inline.h and test-math-vector.h.
1131         (FLOAT): Remove macro.
1132         (FUNC): Likewise.
1133         (MATHCONST): Likewise.
1134         (PRINTF_EXPR): Likewise.
1135         (PRINTF_XEXPR): Likewise.
1136         (PRINTF_NEXPR): Likewise.
1137         (TEST_FLOAT): Likewise.
1138         (TEST_MATHVEC): Likewise.
1139         (__NO_MATH_INLINES): Likewise.
1140         (CNCT): Likewise.
1141         (CONCAT): Likewise.
1142         (WRAPPER_NAME): Likewise.
1143         (WRAPPER_DECL): Likewise.
1144         (WRAPPER_DECL_ff): Likewise.
1145         (WRAPPER_DECL_fFF): Likewise.
1146         (VECTOR_WRAPPER): Likewise.
1147         (VECTOR_WRAPPER_ff): Likewise.
1148         (VECTOR_WRAPPER_fFF): Likewise.
1149         (VEC_LEN): New macro.
1150         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1151         test-vec-loop.h.
1152         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1153         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1154         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1155         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1156         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1157         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1158         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1160 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1162         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1163         (__getlogin_r): ... this.
1165 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1167         [BZ #18594]
1168         * math/s_ccosh.c (__ccosh): Compare with least normal value
1169         instead of comparing class with FP_SUBNORMAL.
1170         * math/s_ccoshf.c (__ccoshf): Likewise.
1171         * math/s_ccoshl.c (__ccoshl): Likewise.
1172         * math/s_cexp.c (__cexp): Likewise.
1173         * math/s_cexpf.c (__cexpf): Likewise.
1174         * math/s_cexpl.c (__cexpl): Likewise.
1175         * math/s_csin.c (__csin): Likewise.
1176         * math/s_csinf.c (__csinf): Likewise.
1177         * math/s_csinh.c (__csinh): Likewise.
1178         * math/s_csinhf.c (__csinhf): Likewise.
1179         * math/s_csinhl.c (__csinhl): Likewise.
1180         * math/s_csinl.c (__csinl): Likewise.
1181         * math/s_ctan.c (__ctan): Likewise.
1182         * math/s_ctanf.c (__ctanf): Likewise.
1183         * math/s_ctanh.c (__ctanh): Likewise.
1184         * math/s_ctanhf.c (__ctanhf): Likewise.
1185         * math/s_ctanhl.c (__ctanhl): Likewise.
1186         * math/s_ctanl.c (__ctanl): Likewise.
1187         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1188         csin, csinh, ctan and ctanh.
1189         * math/auto-libm-test-out: Regenerated.
1190         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1191         * sysdeps/i386/fpu/libm-test-ulps: Update.
1192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1194 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1196         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1197         return value is wrong, print the expected value too.
1199 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1201         [BZ #18585]
1202         * elf/readlib.c (is_gdb_python_file): New.
1203         (process_file): Don't issue errors on filenames with -gdb.py
1204         suffix.
1206 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1208         * math/auto-libm-test-in: Add more tests of csin and csinh.
1209         * math/auto-libm-test-out: Regenerated.
1210         * math/libm-test.inc (csin_test_data): Remove tests moved to
1211         auto-libm-test-in.
1212         (csinh_test_data): Likewise.
1214         [BZ #18593]
1215         * math/s_csin.c (__csin): Negate before rather than after possibly
1216         overflowing multiplication.
1217         * math/s_csinf.c (__csinf): Likewise.
1218         * math/s_csinh.c (__csinh): Likewise.
1219         * math/s_csinhf.c (__csinhf): Likewise.
1220         * math/s_csinhl.c (__csinhl): Likewise.
1221         * math/s_csinl.c (__csinl): Likewise.
1222         * math/auto-libm-test-in: Add some tests of csin and csinh.
1223         * math/auto-libm-test-out: Regenerated.
1224         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1225         (csinh_test_data): Likewise.
1226         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1228         [BZ #18586]
1229         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1230         underflow exception for small results.
1232 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1234         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1235         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1236         variable and included header.
1237         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1238         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1239         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1240         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1241         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1242         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1243         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1244         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1245         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1246         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1247         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1248         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1249         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1250         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1251         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1252         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1254 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1256         [BZ #16526]
1257         [BZ #16538]
1258         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1259         (__sin): Force underflow exception for arguments with small
1260         absolute value.
1261         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1262         (__kernel_sinf): Force underflow exception for arguments with
1263         small absolute value.
1264         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1265         (__kernel_sincosl): Force underflow exception for arguments with
1266         small absolute value.
1267         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1268         (__kernel_sinl): Force underflow exception for arguments with
1269         small absolute value.
1270         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1271         (__kernel_sincosl): Force underflow exception for arguments with
1272         small absolute value.
1273         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1274         (__kernel_sinl): Force underflow exception for arguments with
1275         small absolute value.
1276         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1277         (__kernel_sinl): Force underflow exception for arguments with
1278         small absolute value.
1279         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1280         (__kernel_sinf): Force underflow exception for arguments with
1281         small absolute value.
1282         * math/auto-libm-test-in: Add more tests of sin and sincos.
1283         * math/auto-libm-test-out: Regenerated.
1285         [BZ #18245]
1286         [BZ #18583]
1287         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1288         (__kernel_standard_l): Use feholdexcept and fesetenv around
1289         conversion to double instead of special-casing overflow and
1290         underflow.
1291         * math/libm-test.inc (fmod_test_data): Add more tests.
1292         (remainder_test_data): Likewise.
1293         (sqrt_test_data): Likewise.
1295 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1297         [BZ #17403]
1298         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1299         atomic_read_barrier, atomic_write_barrier): Define.
1300         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1301         atomic_read_barrier, atomic_write_barrier): Define.
1303 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1305         * math/Makefile [$(PERL) != no]
1306         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1307         dependency on libm-test.stmp below the inclusion of Rules.
1309 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1311         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1312         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1313         and included header.
1314         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1315         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1316         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1317         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1318         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1319         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1320         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1321         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1322         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1323         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1324         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1325         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1326         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1327         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1328         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1329         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1330         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1331         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1332         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1334 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1336         [BZ #18371]
1337         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1338         intermediate but not final result might underflow.
1339         * math/s_csqrtf.c (__csqrtf): Likewise.
1340         * math/s_csqrtl.c (__csqrtl): Likewise.
1341         * math/auto-libm-test-in: Add more tests of csqrt.
1342         * math/auto-libm-test-out: Regenerated.
1343         * sysdeps/i386/fpu/libm-test-ulps: Update.
1345         [BZ #18219]
1346         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1347         threshold on absolute value of exponent for which scaling is used.
1348         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1349         * math/auto-libm-test-in: Add more tests of exp2.
1350         * math/auto-libm-test-out: Regenerated.
1352 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1354         [BZ #17977]
1355         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1356         when initializing interface list, based on the bug analysis
1357         and the patch proposed by Eric Newton.
1358         * resolv/tst-res_hconf_reorder.c: New test.
1359         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1360         tst-res_hconf_reorder.
1361         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1362         and $(shared-thread-library).
1363         (tst-res_hconf_reorder-ENV): New variable.
1365         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1366         in comment.
1368 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1370         [BZ #16353]
1371         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1372         (__expm1): Force underflow exception for arguments with small
1373         absolute value.
1374         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1375         (__expm1f): Force underflow exception for arguments with small
1376         absolute value.
1377         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1378         (__expm1): Force underflow exception for arguments with small
1379         absolute value.
1380         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1381         (__expm1f): Force underflow exception for arguments with small
1382         absolute value.
1383         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1384         Check for small arguments before calling __expm1.
1385         * math/auto-libm-test-in: Do not mark underflow exceptions as
1386         possibly missing for bug 16353.
1387         * math/auto-libm-test-out: Regenerated.
1389 2015-06-22  Andreas Schwab  <schwab@suse.de>
1391         [BZ #18513]
1392         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1393         PTR queries.
1395 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1397         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1399         * string/strcoll_l.c: Remove unused struct element idxnow.
1401 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1403         [BZ #18569]
1404         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1405         underflow and return argument in case of subnormal argument.
1406         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1407         Likewise.
1408         * math/auto-libm-test-in: Add more tests of expm1.
1409         * math/auto-libm-test-out: Regenerated.
1411         [BZ #16361]
1412         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1413         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1414         tiny results.
1415         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1416         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1417         tiny results.
1418         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1419         mark underflow exceptions as possibly missing for bug 16361.
1420         * math/auto-libm-test-out: Regenerated.
1422 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1424         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1425         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1426         Remove variable.
1427         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1428         (test-xfail-XOPEN2K8/utmpx.h/conform).
1430         * conform/conformtest.pl ($xerrors): New variable.
1431         (note_error): New function.
1432         (compiletest): New argument $xfail.  Use not_error.
1433         (runtest): Likewise.
1434         (top level): Handle xfail- lines.  Update calls to compiletest and
1435         runtest.  Handle xfail- and optional- in headers listed with
1436         allow-header.
1437         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1438         (O_EXEC): Likewise.
1439         (O_SEARCH): Likewise.
1440         * conform/data/stropts.h-data (ioctl): Likewise.
1441         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1442         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1443         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1444         (msghdr.msg_controllen): Likewise.
1445         (cmsghdr.cmsg_len): Likewise.
1446         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1447         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1448         variable.
1449         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1450         (test-xfail-XPG4/stropts.h/conform): Likewise.
1451         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1452         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1453         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1454         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1455         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1456         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1457         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1458         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1459         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1460         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1461         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1462         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1463         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1464         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1465         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1466         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1467         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1468         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1469         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1471 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1473         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1474         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1475         definitions for proper unfolding of __MATHDECL_VEC.
1477 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1479         * benchtests/bench-strcoll.c:
1480         Include string.h.
1481         (main): Remove unused variable res.
1483 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1485         * timezone/Makefile (%/UTC %/Universal):
1486         Generate test-result files for UTC and Universal.
1488 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1490         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1492 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1494         [BZ #16350]
1495         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1496         for arguments with small absolute value.
1497         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1498         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1499         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1500         (__asinh): Force underflow exception for arguments with small
1501         absolute value.
1502         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1503         (__asinhf): Force underflow exception for arguments with small
1504         absolute value.
1505         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1506         (__asinhl): Force underflow exception for arguments with small
1507         absolute value.
1508         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1509         (__asinhl): Force underflow exception for arguments with small
1510         absolute value.
1511         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1512         (__asinhl): Force underflow exception for arguments with small
1513         absolute value.
1514         * math/auto-libm-test-in: Do not mark underflow exceptions as
1515         possibly missing for bug 16350.
1516         * math/auto-libm-test-out: Regenerated.
1518         * include/bits/ipc.h: Remove file.
1519         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1520         variable.
1521         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1522         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1523         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1524         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1525         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1526         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1527         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1528         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1529         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1531         * math/auto-libm-test-in: Remove spurious underflow allowance for
1532         tests of cexp.
1533         * math/auto-libm-test-out: Regenerated.
1535         [BZ #18558]
1536         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1537         unconditional definition.
1538         (MCAST_BLOCK_SOURCE): Likewise.
1539         (MCAST_UNBLOCK_SOURCE): Likewise.
1540         (MCAST_LEAVE_GROUP): Likewise.
1541         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1542         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1543         (MCAST_MSFILTER): Likewise.
1544         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1545         Remove variable.
1546         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1547         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1548         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1549         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1550         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1552 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1554         * NEWS: Mention addition of x86_64 vector sincosf.
1555         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1556         * math/test-float-vlen4.h: Likewise.
1557         * math/test-float-vlen8.h: Likewise.
1558         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1559         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1560         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1561         * sysdeps/x86_64/fpu/Versions: New versions added.
1562         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1563         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1564         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1565         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1566         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1567         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1568         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1569         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1570         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1571         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1572         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1573         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1574         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1575         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1576         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1577         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1578         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1579         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1580         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1581         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1582         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1583         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1584         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1585         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1587         * NEWS: Mention addition of x86_64 vector sincos.
1588         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1589         * math/math.h (__MATHDECL_VEC): New macro.
1590         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1591         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1592         declaration under condition.
1593         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1594         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1595         TEST_VEC_LOOP change.
1596         * math/test-double-vlen4.h: Likewise.
1597         * math/test-double-vlen8.h: Likewise.
1598         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1599         * math/test-float-vlen4.h: Likewise.
1600         * math/test-float-vlen8.h: Likewise.
1601         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1602         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1603         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1604         * sysdeps/x86_64/fpu/Versions: New versions added.
1605         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1606         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1607         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1608         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1609         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1610         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1611         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1612         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1613         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1614         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1615         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1616         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1617         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1618         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1619         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1620         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1621         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1622         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1623         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1624         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1625         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1626         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1627         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1628         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1630         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1631         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1632         redirections for powf.
1633         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1634         * sysdeps/x86_64/fpu/Versions: New versions added.
1635         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1636         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1637         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1638         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1639         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1640         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1641         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1642         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1643         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1644         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1645         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1646         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1647         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1648         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1649         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1650         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1651         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1652         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1653         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1654         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1655         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1656         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1657         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1658         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1659         * math/test-float-vlen16.h: Fixed 2 argument macro.
1660         * math/test-float-vlen4.h: Likewise.
1661         * math/test-float-vlen8.h: Likewise.
1662         * NEWS: Mention addition of x86_64 vector powf.
1664 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1666         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1667         and redefine.
1668         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1669         and redefine.
1670         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1671         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1672         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1674         [BZ #18553]
1675         * resource/getpriority.c (getpriority): Rename to __getpriority
1676         and define as weak alias of __getpriority.
1677         * resource/setpriority.c (setpriority): Rename to __setpriority
1678         and define as weak alias of __setpriority.
1679         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1680         __getpriority and define as weak alias of __getpriority.
1681         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1682         __setpriority and define as weak alias of __setpriority.
1683         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1684         strong name.
1685         (setpriority): Use __setpriority as strong name.
1686         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1687         __getpriority and define as weak alias of __getpriority.
1688         * include/sys/resource.h (__getpriority): Declare.  Use
1689         libc_hidden_proto.
1690         (__setpriority): Likewise.
1691         (getpriority): Don't use libc_hidden_proto.
1692         (setpriority): Likewise.
1693         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1694         getpriority.  Call __setpriority instead of setpriority.
1695         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1696         Remove variable.
1698         [BZ #18547]
1699         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1700         as weak alias of __getttynam.  Use prototype function definition.
1701         Call __setttyent, __getttyent and __endttyent instead of
1702         setttyent, getttyent and endttyent.
1703         (getttyent): Rename to __getttyent and define as weak alias of
1704         __getttyent.  Call __setttyent instead of setttyent.  Call
1705         __fgets_unlocked instead of fgets_unlocked.
1706         (setttyent): Rename to __setttyent and define as weak alias of
1707         __setttyent.
1708         (endttyent): Rename to __endttyent and define as weak alias of
1709         __endttyent.
1710         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1711         (__setttyent): Likewise.
1712         (__endttyent): Likewise.
1713         (getttyent): Don't use libc_hidden_proto.
1714         (setttyent): Likewise.
1715         (endttyent): Likewise.
1716         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1717         __endttyent instead of setttyent, getttyent and endttyent.
1718         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1719         Remove variable.
1721         [BZ #18546]
1722         * socket/recv.c (__recv): Use libc_hidden_def.
1723         * socket/socket.c (__socket): Likewise.
1724         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1725         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1726         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1727         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1728         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1729         libc_hidden_def.
1730         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1731         libc_hidden_weak.
1732         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1733         Use libc_hidden_proto.
1734         (__recv): Likewise.
1735         * socket/Versions (libc): Export __recv and __socket at version
1736         GLIBC_PRIVATE.
1737         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1738         instead of recv.
1739         (init_mq_netlink): Call __socket instead of socket.
1740         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1741         Remove variable.
1743         [BZ #18545]
1744         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1745         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1746         hidden_weak.
1747         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1748         define as alias of __mq_timedsend.  Use hidden_weak.
1749         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1750         __mq_timedsend as strong name.
1751         (mq_timedreceive): Use __mq_timedreceive as strong name.
1752         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1753         (__mq_timedreceive): Likewise.
1754         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1755         __mq_timedreceive instead of mq_timedreceive.
1756         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1757         instead of mq_timedsend.
1758         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1759         Remove variable.
1761         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1762         hidden_def and hidden_weak instead of libc_hidden_def and
1763         libc_hidden_weak.
1764         (top level): Refer to hidden_def in comment.
1765         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1766         macro.  Use it instead of libc_hidden_def.
1767         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1768         specify __GI_* name explicitly.
1769         (mq_timedreceive): Likewise.
1770         (mq_setattr): Likewise.
1772         [BZ #18544]
1773         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1774         __pthread_barrier_init and define as weak alias of
1775         __pthread_barrier_init.
1776         * sysdeps/sparc/nptl/pthread_barrier_init.c
1777         (pthread_barrier_init): Likewise.
1778         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1779         __pthread_barrier_wait and define as weak alias of
1780         __pthread_barrier_wait.
1781         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1782         (pthread_barrier_wait): Likewise.
1783         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1784         (pthread_barrier_wait): Likewise.
1785         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1786         (pthread_barrier_wait): Likewise.
1787         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1788         (pthread_barrier_wait): Likewise.
1789         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1790         __pthread_barrier_wait at version GLIBC_PRIVATE.
1791         * include/pthread.h (__pthread_barrier_init): Declare.
1792         (__pthread_barrier_wait): Likewise.
1793         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1794         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1795         (helper_thread): Likewise.
1796         (init_mq_netlink): Call __pthread_barrier_init instead of
1797         pthread_barrier_init.
1799         [BZ #18542]
1800         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1801         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1802         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1803         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1804         vswscanf.
1805         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1806         Remove variable.
1808         [BZ #18540]
1809         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1810         strong alias of _IO_fflush.  Use libc_hidden_def.
1811         * libio/iofflush_u.c (fflush_unlocked): Rename to
1812         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1813         Use libc_hidden_weak.
1814         * include/stdio.h (__fflush_unlocked): Declare.  Use
1815         libc_hidden_proto.
1816         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1817         fflush_unlocked.
1818         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1819         Remove variable.
1821         [BZ #18539]
1822         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1823         define as weak alias of __addseverity.
1824         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1825         Remove variable.
1826         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1827         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1828         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1830         [BZ #18536]
1831         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1832         (__tfind): Likewise.
1833         (__tdelete): Likewise.
1834         (__twalk): Likewise.
1835         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1836         __twalk to GLIBC_PRIVATE.
1837         * include/search.h (__tsearch): Use libc_hidden_proto.
1838         (__tfind): Likewise.
1839         (__tdelete): Likewise.
1840         (__twalk): Likewise.
1841         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1842         Call __tdelete instead of tdelete.
1843         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1844         tfind.  Call __tsearch instead of tsearch.
1845         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1846         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1847         Remove variable.
1848         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1850         [BZ #18534]
1851         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1852         (dprintf): Define as a weak alias of __dprintf, not a strong
1853         alias.
1854         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1855         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1856         dprintf.
1857         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1858         Remove variable.
1859         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1860         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1862         [BZ #18533]
1863         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1864         not a strong alias.
1865         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1866         Remove variable.
1868         [BZ #18532]
1869         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1870         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1871         (in6addr_loopback): Rename to __in6addr_loopback and define as
1872         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1873         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1874         libc_hidden_proto.
1875         (__in6addr_any): Likewise.
1876         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1877         in6addr_any.
1878         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1879         variable.
1880         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1882 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1884         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1885         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1886         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1887         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1888         redirections for pow.
1889         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1890         * sysdeps/x86_64/fpu/Versions: New versions added.
1891         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1892         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1893         build of SSE, AVX2 and AVX512 IFUNC versions.
1894         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1895         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1896         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1897         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1898         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1899         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1900         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1901         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1902         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1903         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1904         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1905         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1906         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1907         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1908         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1909         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1910         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1911         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1912         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1913         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1914         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1915         * NEWS: Mention addition of x86_64 vector pow.
1917         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1918         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1919         redirections for expf.
1920         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1921         * sysdeps/x86_64/fpu/Versions: New versions added.
1922         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1923         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1924         build of SSE, AVX2 and AVX512 IFUNC versions.
1925         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1926         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1927         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1928         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1929         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1930         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1931         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1932         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1933         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1934         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1935         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1936         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1937         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1938         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1939         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1940         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1941         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1942         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1943         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1944         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1945         * NEWS: Mention addition of x86_64 vector expf.
1947         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1948         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1949         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1950         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1951         redirections for exp.
1952         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1953         * sysdeps/x86_64/fpu/Versions: New versions added.
1954         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1955         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1956         build of SSE, AVX2 and AVX512 IFUNC versions.
1957         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1958         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1959         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1960         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1961         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1962         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1963         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1964         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1965         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1966         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1967         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1968         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1969         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1970         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1971         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1972         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1973         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1974         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1975         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1976         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1977         * NEWS: Mention addition of x86_64 vector exp.
1979         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1980         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1981         redirections for logf.
1982         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1983         * sysdeps/x86_64/fpu/Versions: New versions added.
1984         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1985         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1986         build of SSE, AVX2 and AVX512 IFUNC versions.
1987         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1988         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1989         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1990         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1991         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1992         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1993         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1994         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1995         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1996         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1997         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1998         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1999         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2000         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2001         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2002         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2003         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2004         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2005         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2006         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2007         * NEWS: Mention addition of x86_64 vector logf.
2009         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2010         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2011         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2012         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2013         redirections for log.
2014         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2015         * sysdeps/x86_64/fpu/Versions: New versions added.
2016         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2017         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2018         build of SSE, AVX2 and AVX512 IFUNC versions.
2019         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2020         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2021         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2022         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2023         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2024         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2025         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2026         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2027         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2028         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2029         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2030         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2031         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2032         test.
2033         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2034         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2035         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2036         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2037         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2038         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2039         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2040         * NEWS: Mention addition of x86_64 vector log.
2042 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2044         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2045         cfi_adjust_cfa_offset argument.
2046         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2047         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2049         [BZ #18034]
2050         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2051         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2052         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2053         ordering using ldar.
2054         (_dl_tlsdesc_dynamic): Likewise.
2055         (_dl_tlsdesc_return_lazy): Likewise.
2056         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2057         relaxed atomics instead of volatile and synchronize with release store.
2058         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2059         volatile.
2060         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2062 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2064         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2065         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2066         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2067         * sysdeps/x86_64/fpu/Versions: New versions added.
2068         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2069         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2070         build of SSE, AVX2 and AVX512 IFUNC versions.
2071         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2072         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2073         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2074         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2075         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2076         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2077         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2078         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2079         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2080         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2081         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2082         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2083         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2084         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2085         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2086         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2087         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2088         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2089         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2090         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2091         * NEWS: Mention addition of x86_64 vector sinf.
2093 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2095         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2096         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2097         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2098         Remove variable.
2099         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2100         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2102 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2104         [BZ #18530]
2105         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2106         strong alias of _IO_fputs.  Use libc_hidden_def.
2107         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2108         and define as weak alias of __fputs_unlocked.  Use
2109         libc_hidden_weak.
2110         * include/stdio.h (__fputs_unlocked): Declare.  Use
2111         libc_hidden_proto.
2112         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2113         fputs_unlocked.
2115         [BZ #18529]
2116         * resolv/netdb.h [__USE_POSIX]: Change condition to
2117         [__USE_XOPEN2K].
2118         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2119         not expect.
2120         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2121         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2122         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2123         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2124         [XPG4 || UNIX98] (AI_ALL): Likewise.
2125         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2126         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2127         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2128         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2129         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2130         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2131         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2132         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2133         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2134         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2135         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2136         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2137         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2138         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2139         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2140         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2141         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2142         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2143         [XPG4 || UNIX98] (gai_strerror): Likewise.
2144         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2145         [XPG4 || UNIX98] (getnameinfo): Likewise.
2147         [BZ #18528]
2148         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2149         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2150         __USE_XOPEN2K8].
2151         (getgrent): Likewise.
2152         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2153         expect.
2154         [XPG3 || POSIX2008] (endgrent): Likewise.
2155         [XPG3] (setgrent): Likewise.
2156         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2157         variable.
2158         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2160         [BZ #18527]
2161         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2162         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2163         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2164         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2165         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2166         * include/unistd.h (__getlogin_r): Declare.  Use
2167         libc_hidden_proto.
2168         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2169         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2170         variable.
2171         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2172         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2173         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2175 2015-06-12  Martin Sebor  <msebor@redhat.com>
2177         [BZ #18512]
2178         * Makerules (check-install-supported): New target.
2179         (install): Add check-install-supported as a dependency.
2180         * manual/install.texi (Installing the C Library): Document
2181         that overriding prefix and exec_prefix is not supported.
2182         Mention DESTDIR.
2183         * INSTALL: Regenerate from the above.
2185 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2187         [BZ #18519]
2188         * posix/Versions (libc): Export __libc_pread at version
2189         GLIBC_PRIVATE.
2190         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2191         instead of pread.
2192         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2193         variable.
2195         [BZ #18522]
2196         * misc/efgcvt_r.c
2197         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2198         (cvt_symbol): Use weak_alias instead of strong_alias.
2199         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2200         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2201         Remove variable.
2202         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2203         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2205         [BZ #18520]
2206         * inet/herrno.c (h_errno): Rename to __h_errno.
2207         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2208         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2209         to __h_errno instead of h_errno.
2210         * nptl/herrno.c (h_errno): Rename to __h_errno.
2211         (__h_errno_location): Refer to __h_errno not h_errno.
2212         * resolv/Versions (h_errno): Rename to __h_errno.
2213         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2214         Remove variable.
2215         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2217 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2219         * configure.ac: More strict check for AVX512 assembler support.
2220         * configure: Regenerated.
2222         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2223         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2224         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2225         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2226         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2227         * sysdeps/x86_64/fpu/Versions: New versions added.
2228         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2229         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2230         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2231         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2232         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2233         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2234         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2235         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2236         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2237         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2238         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2239         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2240         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2241         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2242         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2243         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2244         test.
2245         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2246         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2247         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2248         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2249         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2250         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2251         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2252         * NEWS: Mention addition of x86_64 vector sin.
2254 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2256         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2257         comment.
2259 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2261         [BZ #18479]
2262         * nptl/pt-interp.c: New file.
2263         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2264         Add pt-interp.
2265         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2266         $(common-objpfx)runtime-linker.h.
2268 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2270         * Makeconfig (+interp): Remove unused variable.
2271         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2272         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2273         $(elf-objpfx)runtime-linker.h.
2274         ($(elf-objpfx)runtime-linker.h): Rename to
2275         $(common-objpfx)runtime-linker.h and move ...
2276         * Makerules [$(build-shared) = yes]: ... here.
2277         * elf/interp.c: Include <runtime-linker.h> instead of
2278         <elf/runtime-linker.h>.
2280 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2282         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2283         (__gettimeofday_syscall): Remove vsyscall fallback.
2284         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2285         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2286         Add syscall fallback function.
2287         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2288         if vDSO is not present.
2289         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2290         fallback function.
2291         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2292         present.
2293         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2294         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2296 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2298         [BZ #18497]
2299         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2300         of wcscmp.
2301         (wcscmp): Define as weak alias of WCSCMP.
2302         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2303         wcscoll.
2304         (USE_HIDDEN_DEF): Define.
2305         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2306         __wcscoll.  Don't use libc_hidden_weak.
2307         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2308         wcscmp.
2309         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2310         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2311         __GI_wcscmp.
2312         (weak_alias): Undefine and redefine.
2313         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2314         __wcscmp and define as weak alias of __wcscmp.
2315         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2316         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2317         (__wcscoll): Likewise.
2318         (wcscmp): Don't use libc_hidden_proto.
2319         (wcscoll): Likewise.
2320         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2321         wcscoll.
2322         * posix/regexec.c (check_node_accept_bytes): Likewise.
2323         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2324         variable.
2325         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2326         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2328         [BZ #18507]
2329         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2330         __fstatvfs and define as weak alias of __fstatvfs.  Use
2331         libc_hidden_weak.
2332         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2333         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2334         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2335         Define as alias of __fstatvfs, not fstatvfs.
2336         (fstatvfs64): Likewise.
2337         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2338         Define as alias of __statvfs, not statvfs.
2339         (statvfs64): Likewise.
2340         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2341         Remove variable.
2343 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2346         (HAVE_GETCPU_VSYSCALL): Define.
2347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2348         (HAVE_GETCPU_VSYSCALL): Likewise.
2349         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2350         * sysdeps/unix/sysv/linux/sched_getcpu.c
2351         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2352         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2353         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2354         prototype.
2355         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2356         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2357         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2359         Define.
2360         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2361         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2362         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2363         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2365 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2367         * sysdeps/x86_64/fpu/Makefile: New file.
2368         * sysdeps/x86_64/fpu/Versions: New file.
2369         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2370         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2371         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2372         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2373         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2374         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2375         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2376         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2377         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2378         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2379         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2380         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2381         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2382         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2383         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2384         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2385         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2386         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2387         * sysdeps/x86_64/configure: Regenerated.
2388         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2389         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2390         * manual/install.texi (Configuring and compiling): Document
2391         --disable-mathvec.
2392         * INSTALL: Regenerated.
2393         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2395         * math/Makefile: Added rules for vector tests.
2396         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2397         declaration under condition.
2398         * math/test-double-vlen2.h: New file.
2399         * math/test-double-vlen4.h: New file.
2400         * math/test-double-vlen8.h: New file.
2401         * math/test-vec-loop.h: Added initialization macro.
2402         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2403         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2404         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2405         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2406         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2407         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2408         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2409         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2410         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2411         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2412         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2414         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2415         * sysdeps/x86_64/fpu/Versions: New versions added.
2416         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2417         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2418         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2419         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2420         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2421         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2422         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2423         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2424         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2425         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2426         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2427         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2428         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2429         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2430         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2431         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2432         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2433         * NEWS: Mention addition of x86_64 vector cosf.
2435         * math/Makefile: Added CFLAGS for new tests.
2436         * math/test-float-vlen16.h: New file.
2437         * math/test-float-vlen4.h: New file.
2438         * math/test-float-vlen8.h: New file.
2439         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2440         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2441         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2442         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2443         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2444         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2445         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2446         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2447         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2448         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2449         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2451 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2453         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2454         * locale/programs/ld-ctype.c: Likewise.
2456 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2458         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2459         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2460         bit_ZMM16_31_state): New macro.
2461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2462         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2464 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2466         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2468 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2470         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2472 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2474         [BZ #18498]
2475         * libio/memstream.c (open_memstream): Rename to __open_memstream
2476         and define as weak alias of __open_memstream.
2477         * include/stdio.h (__open_memstream): Declare.  Use
2478         libc_hidden_proto.
2479         (open_memstream): Don't use libc_hidden_proto.
2480         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2481         open_memstream.
2482         * posix/getopt.c (_getopt_internal_r): Likewise.
2483         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2484         variable.
2485         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2486         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2487         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2489         [BZ #18496]
2490         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2491         instead of wcrtomb.
2493         [BZ #18483]
2494         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2495         [__USE_XOPEN2K8].  Remove redundant #endif.
2496         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2497         Remove redundant #if.
2498         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2499         Remove variable.
2500         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2501         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2503         [BZ #18495]
2504         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2505         (__iswlower): Likewise.
2506         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2507         (__iswlower): Likewise.
2508         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2509         instead of towlower.
2510         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2511         instead of iswlower.  Call __towupper instead of towupper.
2512         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2513         instead of iswalnum.
2515 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2517         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2518         errors to stderr.
2520 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2522         [BZ #15661]
2523         [BZ #17322]
2524         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2525         Check for overflow properly.  Check for O_APPEND.  Ignore large
2526         file system block sizes.  Add comments about problems.
2527         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2528         * manual/filesys.texi (Storage Allocation): New node.
2530 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2532         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2533         cancellable syscalls.
2534         (SYS_ify): Add guard to no redefine it.
2535         (INLINE_SYSCALL): Likewise.
2536         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2537         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2538         SYSCALL_CANCEL instead.
2539         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2540         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2541         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2542         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2543         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2544         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2545         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2546         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2547         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2548         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2549         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2550         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2551         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2552         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2553         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2554         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2555         Likewise.
2556         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2557         (__libc_pread64): Likewise.
2558         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2559         (__libc_preadv): Likewise.
2560         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2561         (__libc_readv64): Likewise.
2562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2563         (__libc_pwrite): Likewise.
2564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2565         (__libc_pwrite64): Likewise.
2566         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2567         (__libc_pwritev): Likewise.
2568         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2569         (__libc_pwritev64): Likewise.
2570         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2571         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2572         (sync_file_range): Likewise.
2573         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2574         Likewise.
2575         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2576         Likewise.
2577         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2578         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2579         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2580         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2581         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2582         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2583         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2584         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2586         Likewise.
2587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2588         (__libc_read64): Likewise.
2589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2590         Likewise.
2591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2592         Likewise.
2593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2594         Likewise.
2595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2596         Likewise.
2597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2598         (__libc_pread64): Likewise.
2599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2600         Likewise.
2601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2602         (__libc_pwrite64): Likewise.
2603         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2604         (sync_file_range): Likewise.
2605         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2606         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2607         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2608         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2609         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2610         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2611         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2612         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2613         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2614         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2615         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2616         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2617         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2618         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2619         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2620         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2621         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2622         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2623         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2624         Likewise.
2625         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2626         Likewise.
2627         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2628         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2629         Likewise.
2630         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2631         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2632         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2633         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2634         Likewise.
2635         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2636         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2637         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2638         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2639         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2641 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2643         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2644         Include dl-vdso.
2645         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2646         Use VDSO routines for gettimeofday, clock_gettime if
2647         available.
2648         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2649         Declare VDSO symbols.
2650         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2651         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2652         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2653         * sysdeps/unix/sysv/linux/arm/Versions: Add
2654         __vdso_clock_gettime.
2656 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2658         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2659         be an inline implementation regardless of library is built within.
2660         (open_not_cancel_2): Likewise.
2661         (__read_nocancel): Likewise.
2662         (__write_nocancel): Likewise.
2663         (openat_not_cancel): Likewise.
2664         (openat_not_cancel_3): Likewise.
2665         (openat64_not_cancel): Likewise.
2666         (openat64_not_cancel_3): Likewise.
2667         (__close_nocancel): Likewise.
2668         (pause_not_cancel): Likewise.
2669         (nanosleep_not_cancel): Likewise.
2670         (sigsuspend_not_cancel): Likewise.
2672 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2674         [BZ #14958]
2675         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2676         wake-up.
2677         (__pthread_rwlock_rdlock_slow): Likewise.
2678         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2679         Likewise.
2680         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2681         Likewise.
2682         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2683         * nptl/tst-rwlock16.c: New file.
2684         * nptl/Makefile (tests): Add new test.
2686 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2688         [BZ #18324]
2689         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2690         missing wake-up of readers.
2691         * nptl/tst-rwlock15.c: New file.
2692         * nptl/Makefile (tests): Add new test.
2694 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2696         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2697         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2698         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2699         and __nacl_supply_interface_rtld.
2700         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2701         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2702         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2703         Add __nacl_supply_interface_rtld.
2704         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2706 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2708         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2709         isfinite.
2710         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2711         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2713 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2715         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2716         __signbit* with standard C99 macros.
2717         * math/e_exp10l.c: Likewise.
2718         * math/e_exp2l.c: Likewise.
2719         * math/e_scalb.c: Likewise.
2720         * math/e_scalbf.c: Likewise.
2721         * math/e_scalbl.c: Likewise.
2722         * math/s_ldexp.c: Likewise.
2723         * math/s_ldexpf.c: Likewise.
2724         * math/s_ldexpl.c: Likewise.
2725         * math/w_atan2.c: Likewise.
2726         * math/w_atan2f.c: Likewise.
2727         * math/w_atan2l.c: Likewise.
2728         * math/w_cosh.c: Likewise.
2729         * math/w_coshf.c: Likewise.
2730         * math/w_coshl.c: Likewise.
2731         * math/w_exp10.c: Likewise.
2732         * math/w_exp10f.c: Likewise.
2733         * math/w_exp10l.c: Likewise.
2734         * math/w_exp2.c: Likewise.
2735         * math/w_exp2f.c: Likewise.
2736         * math/w_exp2l.c: Likewise.
2737         * math/w_fmod.c: Likewise.
2738         * math/w_fmodf.c: Likewise.
2739         * math/w_fmodl.c: Likewise.
2740         * math/w_hypot.c: Likewise.
2741         * math/w_hypotf.c: Likewise.
2742         * math/w_hypotl.c: Likewise.
2743         * math/w_jnl.c: Likewise.
2744         * math/w_lgamma.c: Likewise.
2745         * math/w_lgamma_r.c: Likewise.
2746         * math/w_lgammaf.c: Likewise.
2747         * math/w_lgammaf_r.c: Likewise.
2748         * math/w_lgammal.c: Likewise.
2749         * math/w_lgammal_r.c: Likewise.
2750         * math/w_pow.c: Likewise.
2751         * math/w_powf.c: Likewise.
2752         * math/w_powl.c: Likewise.
2753         * math/w_remainder.c: Likewise.
2754         * math/w_remainderf.c: Likewise.
2755         * math/w_remainderl.c: Likewise.
2756         * math/w_scalb.c: Likewise.
2757         * math/w_scalbf.c: Likewise.
2758         * math/w_scalbl.c: Likewise.
2759         * math/w_scalbln.c: Likewise.
2760         * math/w_scalblnf.c: Likewise.
2761         * math/w_scalblnl.c: Likewise.
2762         * math/w_sinh.c: Likewise.
2763         * math/w_sinhf.c: Likewise.
2764         * math/w_sinhl.c: Likewise.
2765         * math/w_tgamma.c: Likewise.
2766         * math/w_tgammaf.c: Likewise.
2767         * math/w_tgammal.c: Likewise.
2768         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2769         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2770         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2771         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2772         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2774         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2775         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2776         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2777         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2778         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2779         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2780         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2781         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2782         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2783         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2784         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2785         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2786         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2787         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2788         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2789         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2790         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2791         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2792         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2793         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2794         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2795         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2796         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2797         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2798         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2799         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2800         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2801         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2802         * stdio-common/printf_fp.c: Likewise.
2803         * stdio-common/printf_fphex.c: Likewise.
2804         * stdio-common/printf_size.c: Likewise.
2806 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2808         [BZ #18470]
2809         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2810         strnlen.
2811         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2812         Remove variable.
2813         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2814         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2815         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2816         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2817         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2818         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2819         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2820         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2821         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2822         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2824         [BZ #18468]
2825         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2826         weak alias of __wmemchr.  Use libc_hidden_weak.
2827         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2828         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2829         instead of wmemchr.
2831 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2833         [BZ #18383]
2834         * elf/tst-tlsalign-extern.c: New file.
2835         * elf/tst-tlsalign-extern-static.c: New file.
2836         * elf/tst-tlsalign-vars.c: New file.
2837         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2838         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2839         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2840         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2841         (test-xfail-tst-tlsalign-extern-static): New variable.
2843 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2845         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2846         Use variable name _sc_err instead of err.
2847         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2848         instead of ret.
2849         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2850         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2851         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2852         (INLINE_SYSCALL): Likewise.
2854         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2855         * include/string.h (__strnlen): Use libc_hidden_proto.
2856         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2857         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2858         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2859         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2860         (libc_hidden_def): Undefine and redefine.
2861         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2862         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2863         __GI_strnlen.
2864         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2865         libc_hidden_def.
2866         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2868         [BZ #18469]
2869         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2870         weak alias of __towlower.  Use libc_hidden_weak.
2871         (towupper): Rename to __towupper and define as weak alias of
2872         __towupper.  Use libc_hidden_weak.
2873         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2874         (__towupper): Likewise.
2875         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2876         __towlower instead of towlower.
2878 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2880         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2881         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2883 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2885         * sysdeps/aarch64/libm-test-ulps: Update.
2887 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2889         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2890         Define.
2891         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2892         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2893         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2894         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2895         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2896         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2897         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2899 2015-06-01  Martin Sebor  <msebor@redhat.com>
2901         [BZ #18116]
2902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2903         (__setcontext): Use extended four-operand version of mtsf whenever
2904         possible.
2905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2906         (__novec_swapcontext): Likewise.
2908 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2910         * benchtests/scripts/compare_bench.py: New file.
2911         * benchtests/scripts/import_bench.py (mean): New function.
2912         (split_list): Likewise.
2913         (do_for_all_timings): Likewise.
2914         (compress_timings): Likewise.
2916         * benchtests/scripts/import_bench.py: New file.
2917         * benchtests/scripts/validate_benchout.py: Import import_bench
2918         instead of jsonschema.
2919         (validate_bench): Remove function.
2920         (main): Use import_bench.
2922 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2924         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2925         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2927 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2931 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2933         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2934         set THREAD_SELF->tid to a magic value and futex-wake it.
2935         Pass its address to the thread_exit system call.
2936         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2937         bit is clear.
2938         * sysdeps/nacl/lowlevellock.h: New file.
2939         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2941         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2942         Add TIMEOUT to current time, don't subtract it.
2944 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2946         [BZ #18422]
2947         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2948         ($(objpfx)tst-audit2.out): Also depend on
2949         $(objpfx)tst-auditmod9b.so.
2950         * elf/tst-audit2.c: Include <dlfcn.h>.
2951         (calloc_called): New.
2952         (calloc): Allow to be called more than once.
2953         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2955 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2957         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2958         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2960 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2962         * stdlib/monetary.h: Fix comment.
2964 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2966         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2967         Avoid using variables in #defines that might cause shadowing.
2968         (INTERNAL_VSYSCALL_CALL): Likewise.
2970 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2972         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2974         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2975         * nptl/lll_timedlock_wait.c: ... to this new file.
2976         * nptl/Makefile (libpthread-routines): Add it.
2977         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2978         * nptl/lll_timedwait_tid.c: ... to this new file.
2979         * nptl/Makefile (libpthread-routines): Add it.
2980         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2981         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2982         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2983         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2984         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2985         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2986         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2987         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2988         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2989         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2991 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2993         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2994         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2995         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2996         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2997         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2998         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2999         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3000         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3001         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3002         * sysdeps/unix/sysv/linux/tile/sysdep.h
3003         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3004         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3005         using vDSO syscall macro.
3007 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3009         [BZ #17293]
3010         * uk_UA: Fix sorting order for Ukrainian locale
3012 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3014         * stdlib/monetary.h: Fix comment.
3016 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3018         [BZ #18234]
3019         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3020         st_mtim and st_ctim members.
3021         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3022         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3023         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3024         (struct stat64): Likewise.
3025         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3026         (struct stat64): Likewise.
3027         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3028         (struct stat64): Likewise.
3030 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3032         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3033         Define and include sysdep-vdso.h.
3034         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3035         Likewise.
3036         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3037         Likewise.
3038         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3039         Define with VDSO_SYMBOL and use PTR_MANGLE.
3040         (__vdso_clock_gettime): Likewise.
3041         (__vdso_clock_getres): Likewise.
3042         (_libc_vdso_platform_setup): Likewise.
3043         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3044         Likewise.
3045         (_libc_vdso_platform_setup): Likewise.
3046         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3047         Likewise.
3048         (__vdso_clock_gettime): Likewise.
3049         (__vdso_clock_getres): Likewise.
3050         (__vdso_get_tbfreq): Likewise.
3051         (__vdso_getcpu): Likewise.
3052         (__vdso_time): Likewise.
3053         (__vdso_sigtramp_rt64): Likewise.
3054         (__vdso_signtramp32): Likewise.
3055         (__vdso_sigtramp_rt32): Likewise.
3056         (_libc_vdso_platform_setup): Likewise.
3057         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3058         Likewise.
3059         (__vdso_clock_gettime): Likewise.
3060         (__vdso_clock_getres): Likewise.
3061         (_libc_vdso_platform_setup): Likewise.
3062         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3063         Likewise.
3064         (__vdso_clock_gettime): Likewise.
3065         (_libc_vdso_platform_setup): Likewise.
3066         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3067         Likewise.
3068         (__vdso_getcpu): Likewise.
3069         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3070         Use VDSO_SYMBOL macro to define.
3071         (__vdso_clock_gettime): Likewise.
3072         (__vdso_clock_getres): Likewise.
3073         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3074         Likewise.
3075         (__vdso_clock_gettime): Likewise.
3076         (__vdso_clock_getres): Likewise.
3077         (__vdso_get_tbfreq): Likewise.
3078         (__vdso_getcpu): Likewise.
3079         (__vdso_time): Likewise.
3080         (__vdso_sigtramp_rt64): Likewise.
3081         (__vdso_signtramp32): Likewise.
3082         (__vdso_sigtramp_rt32): Likewise.
3083         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3084         Likewise.
3085         (__vdso_clock_gettime): Likewise.
3086         (__vdso_clock_getres): Likewise.
3087         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3088         Likewise.
3089         (__vdso_clock_gettime): Likewise.
3090         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3091         Likewise.
3092         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3093         macro.
3094         (INTERNAL_VSYSCALL): Likewise.
3095         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3096         Remove macro.
3097         (INTERNAL_VSYSCALL): Likewise.
3098         (INTERNAL_VSYSCALL_NCS): Likewise.
3099         (INTERNAL_VSYSCALL_CALL): New macro.
3100         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3101         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3102         Likewise.
3103         (INTERNAL_VSYSCALL): Likewise.
3104         (INTERNAL_VSYSCALL_NCS): Likewise.
3105         (INTERNAL_VSYSCALL_CALL): New macro.
3106         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3108         (INLINE_VSYSCALL): Remove macro.
3109         (INTERNAL_VSYSCALL): Remove macro.
3110         (INTERNAL_VSYSCALL_NCS): Remove macro.
3111         (INTERNAL_VSYSCALL_CALL): New macro.
3112         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3113         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3114         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3115         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3116         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3118         (INLINE_VSYSCALL): Remove macro.
3119         (INTERNAL_VSYSCALL): Likewise.
3120         (INTERNAL_VSYSCALL_NCS): Likewise.
3121         (INTERNAL_VSYSCALL_CALL): New macro.
3122         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3123         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3124         PTR_DEMANGLE on vDSO pointer.
3125         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3126         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3127         macro.
3128         (INTERNAL_SYSCALL): Likewise.
3129         (INTERNAL_VSYSCALL_NCS): Remove macro.
3130         (INTERNAL_VSYSCALL_CALL): New macro.
3131         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3132         Remove macro.
3133         (INTERNAL_VSYSCALL): Likewise.
3134         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3135         sysdep-vdso.h instead of libc-vdso.h.
3136         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3137         definition.
3138         (INLINE_VSYSCALL): Likewise.
3139         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3140         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3141         definition.
3142         (INLINE_VSYSCALL): Likewise.
3143         (INTERNAL_VSYSCALL): Likewise.
3144         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3145         * sysdeps/unix/sysv/linux/timespec_get.c
3146         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3147         (timespec_get): Use ANSI prototype.
3148         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3149         and definition for Linux.
3151 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3153         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3154         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3156 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3158         [BZ #18410]
3159         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3160         for missing DT_PLTRELSZ.
3162 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3164         Remove obsolete aliases that broke 'locale -a'
3165         [BZ #18412]
3166         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3167         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3168         breaking some applications that use 'locale -a' output.
3169         Change the encoding of this file from Latin-1 to ASCII to avoid
3170         other potential problems with people grepping this file.
3172 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3174         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3175         -fasynchronous-unwind-tables.
3176         (CFLAGS-sendto.c): Likewise.
3177         (CFLAGS-sendmsg.c): Likewise.
3178         (CFLAGS-connect.c): Likewise.
3179         (CFLAGS-recvmsg.c): Likewise.
3180         (CFLAGS-recvfrom.c): Likewise.
3181         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3182         (SOCKETCALL): New macro: non-cancellable socketcall.
3183         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3184         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3185         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3186         * sysdeps/unix/sysv/linux/accept.c: New file.
3187         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3188         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3189         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3190         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3191         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3192         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3193         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3194         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3195         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3196         * sysdeps/unix/sysv/linux/send.c: Likewise.
3197         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3198         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3199         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3200         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3201         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3202         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3203         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3204         prototype.
3205         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3206         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3207         instead of __internal_xxx function.
3208         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3209         prototype.
3210         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3211         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3212         instead of __internal_xxx function.
3213         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3214         prototype.
3215         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3216         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3217         instead of __internal_xxx function.
3218         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3219         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3220         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3221         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3222         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3223         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3224         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3225         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3226         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3227         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3228         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3229         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3230         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3231         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3232         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3233         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3234         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3235         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3236         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3237         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3240         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3241         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3242         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3243         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3244         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3245         * sysdeps/unix/sysv/linux/send.S: Likewise.
3246         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3247         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3248         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3249         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3250         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3251         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3252         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3253         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3254         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3255         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3256         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3257         socketcall is implemented in GLIBC.
3259 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3261         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3262         (__fma): Ignore uninitialized warnings around packing.
3263         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3264         (__fmaf): Ignore uninitialized warnings around packing.
3265         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3266         (__fmal): Ignore uninitialized warnings around packing.
3268         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3269         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3270         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3271         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3273         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3274         switch statement into default case.
3275         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3277         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3278         a conditional in forcing "inexact".
3279         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3280         Likewise.
3282 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3284         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3285         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3286         for each INTERNAL_SYSCALL use.
3288 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3290         [BZ #438]
3291         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3292         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3293         variable.
3295         [BZ #18444]
3296         * string/basename.c (basename): Rename to __basename and define as
3297         weak alias of __basename.  Use libc_hidden_weak.
3298         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3299         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3300         __basename instead of basename.
3301         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3302         Remove variable.
3303         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3305 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3307         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3308         (_IO_JUMPS_FILE_plus): New.
3309         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3310         _IO_CAST_FIELD_ACCESS.
3311         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3312         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3313         * libio/freopen.c (freopen): Likewise.
3314         * libio/freopen64.c (freopen64): Likewise.
3315         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3316         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3317         * libio/iofwide.c (_IO_fwide): Likewise.
3318         * libio/memstream.c (open_memstream): Likewise.
3319         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3320         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3321         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3323 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3325         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3326         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3327         NADJ.
3328         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3329         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3330         NADJ.
3331         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3332         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3333         NADJ.
3335         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3336         (p == 4) case.
3338         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3339         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3340         Remove variable.
3341         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3342         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3343         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3345 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3347         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3348         Adjust jump table label generation macros.
3350 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3352         * stdio-common/vfprintf.c (vfprintf): Move local variables
3353         args_malloced, specs, specs_malloced, and the code after
3354         do_positional to the printf_positional function.
3355         (printf_positional): New function.
3357 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3359         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3360         function.
3361         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3362         STEP4_TABLE, process_arg): Move macro definitions
3363         out of the vfprintf function.  (Cosmetic change only.)
3365 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3367         * benchtests/Makefile (stdio-common-bench): Define.
3368         (benchset): Add stdio-common-bench.
3369         * sprintf-inputs: New file.
3370         * sprintf-source.c: New file.
3372 2015-05-21  Andreas Schwab  <schwab@suse.de>
3374         [BZ #13028]
3375         [BZ #17053]
3376         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3377         of struct __res_state.
3378         * resolv/res_send.c (__libc_res_nsend): Likewise.
3379         (get_nsaddr): New function.
3380         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3381         statp directly.
3383 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3385         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3386         -D_POSIX_C_SOURCE=199506L.
3388         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3390         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3391         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3392         Do not mention otherwise.
3393         [POSIX] (_XOPEN_VERSION): Do not expect.
3394         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3395         [POSIX] (_POSIX2_C_BIND): Likewise.
3396         [POSIX] (_POSIX2_VERSION): Likewise.
3397         [POSIX] (_XOPEN_XPG2): Likewise.
3398         [POSIX] (_XOPEN_XPG3): Likewise.
3399         [POSIX] (_XOPEN_XPG4): Likewise.
3400         [POSIX] (_XOPEN_UNIX): Likewise.
3401         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3402         [POSIX] (_POSIX_BARRIERS): Likewise.
3403         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3404         [POSIX] (_POSIX_CPUTIME): Likewise.
3405         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3406         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3407         [POSIX] (_POSIX_SHELL): Likewise.
3408         [POSIX] (_POSIX_SPAWN): Likewise.
3409         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3410         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3411         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3412         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3413         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3414         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3415         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3416         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3417         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3418         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3419         [POSIX] (_POSIX2_PBS): Likewise.
3420         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3421         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3422         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3423         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3424         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3425         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3426         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3427         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3428         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3429         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3430         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3431         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3432         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3433         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3434         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3435         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3436         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3437         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3438         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3439         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3440         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3441         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3442         [POSIX] (_SC_2_C_BIND): Likewise.
3443         [POSIX] (_SC_2_C_VERSION): Likewise.
3444         [POSIX] (_SC_2_PBS): Likewise.
3445         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3446         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3447         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3448         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3449         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3450         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3451         [POSIX] (_SC_BARRIERS): Likewise.
3452         [POSIX] (_SC_BASE): Likewise.
3453         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3454         [POSIX] (_SC_DEVICE_IO): Likewise.
3455         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3456         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3457         [POSIX] (_SC_FD_MGMT): Likewise.
3458         [POSIX] (_SC_FIFO): Likewise.
3459         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3460         [POSIX] (_SC_FILE_LOCKING): Likewise.
3461         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3462         [POSIX] (_SC_IOV_MAX): Likewise.
3463         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3464         [POSIX] (_SC_NETWORKING): Likewise.
3465         [POSIX] (_SC_PAGE_SIZE): Likewise.
3466         [POSIX] (_SC_PASS_MAX): Likewise.
3467         [POSIX] (_SC_PIPE): Likewise.
3468         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3469         [POSIX] (_SC_REGEXP): Likewise.
3470         [POSIX] (_SC_SHELL): Likewise.
3471         [POSIX] (_SC_SIGNALS): Likewise.
3472         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3473         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3474         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3475         [POSIX] (_SC_USER_GROUPS): Likewise.
3476         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3477         [POSIX] (_SC_STREAMS): Likewise.
3478         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3479         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3480         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3481         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3482         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3483         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3484         [POSIX] (_PC_FILESIZEBITS): Likewise.
3485         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3486         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3487         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3488         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3489         [POSIX] (uid_t): Likewise.
3490         [POSIX] (gid_t): Likewise.
3491         [POSIX] (off_t): Likewise.
3492         [POSIX] (pid_t): Likewise.
3493         [POSIX] (cuserid): Allow.
3494         (_SC_2_CHAR_TERM): Require constant.
3495         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3496         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3497         variable.
3499 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3501         * sysdeps/nacl/pthread-pids.h: New file.
3502         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3503         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3505         * nptl/pthread-pids.h: New file.
3506         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3507         * nptl/nptl-init.c: Include <pthread-pids.h>.
3508         (__pthread_initialize_minimal_internal):
3509         Call __pthread_initialize_pids instead of set_tid_address syscall.
3511         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3512         * sysdeps/posix/usleep.c: ... here.
3514 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3516         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3517         call_pselect6 object.
3518         [$(subdir) = io]: Remove call_sync_file_range object.
3519         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3520         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3521         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3522         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3524 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3526         * math/s_cproj.c: Add include "math_private.h".
3527         * math/s_cprojf.c: Likewise.
3528         * math/s_cprojl.c: Likewise.
3530 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3532         [BZ #18244]
3533         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3534         high mantissa bit when testing whether P is a NaN.
3535         * math/libm-test.inc (remainder_test_data): Add more tests.
3536         (remquo_test_data): Likewise.
3538         [BZ #18049]
3539         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3540         below -32, return the argument, with underflow if subnormal.
3541         * math/auto-libm-test-in: Add more tests of atanh.
3542         * math/auto-libm-test-out: Regenerated.
3544 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3546         [BZ #18434]
3547         * nptl/tst-sem15.c: New file.
3548         * nptl/Makefile (tests): Add it.
3549         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3550         s/<</>>/ to fix typo in EOVERFLOW check.
3551         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3553 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3555         * manual/strings.texi (envz_remove): Fix typo in safety
3556         annotations.
3558 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3559             Steve Ellcey  <sellcey@imgtec.com>
3561         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3562         in order to avoid strict alias warnings.
3563         (iruserok_af): Ditto for ra.
3565 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3567         [BZ #17581]
3568         * malloc/hooks.c
3569         (magicbyte): Convert to a function and avoid returning 0x01.
3570         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3571         (mem2chunk_check): Fix unsigned comparisons to zero.
3572         Hoist defs of sz and magic.
3574 2015-05-19  Richard Henderson  <rth@redhat.com>
3576         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3578         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3580 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3582         [BZ #16159]
3583         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3584         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3585         (reused_arena): Find a non-corrupt arena.
3586         (heap_trim): Pass arena to unlink.
3587         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3588         malloc_printerr.
3589         (top_check): Likewise.
3590         (free_check): Likewise.
3591         (realloc_check): Likewise.
3592         * malloc/malloc.c (malloc_printerr): Add arena argument.
3593         (unlink): Likewise.
3594         (munmap_chunk): Adjust.
3595         (ARENA_CORRUPTION_BIT): New macro.
3596         (arena_is_corrupt): Likewise.
3597         (set_arena_corrupt): Likewise.
3598         (sysmalloc): Use mmap if there are no usable arenas.
3599         (_int_malloc): Likewise.
3600         (__libc_malloc): Don't fail if arena_get returns NULL.
3601         (_mid_memalign): Likewise.
3602         (__libc_calloc): Likewise.
3603         (__libc_realloc): Adjust for additional argument to
3604         malloc_printerr.
3605         (_int_free): Likewise.
3606         (malloc_consolidate): Likewise.
3607         (_int_realloc): Likewise.
3608         (_int_memalign): Don't touch corrupt arenas.
3609         * malloc/tst-malloc-backtrace.c: New test case.
3611         * Makefile (summarize-tests): Fix return value on success.
3613         * manual/string.texi (Envz Functions): Add envz_remove.
3615 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3617         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3618         (invalid_name): New function, broken out of ...
3619         (__opendirat): ... here.  Call it.
3620         (need_isdir_precheck): New function, broken out of ...
3621         (__opendirat): ... here.  Call it.
3622         Use __fxstatat64, not __xstatat64.
3623         (opendir_oflags): New function, broken out of ...
3624         (__opendirat): ... here.  Call it.
3625         (opendir_tail): New function, broken out of ...
3626         (__opendirat): ... here.  Call it.
3627         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3628         opendir_tail, rather than punting to __opendirat.
3629         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3631 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3633         * .gitignore: Ignore generated *.pyc.
3635 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3637         * include/stdio.h: Define __need_wint_t.
3638         * test-skeleton.c: Avoid `for' loop initial declaration.
3639         * nptl/tst-initializers1.c: Use test-skeleton.c.
3641 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3643         [BZ #18418]
3644         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3646 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3648         [BZ #16352]
3649         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3650         (__ieee754_atanh): Force underflow exception for results with
3651         small absolute value.
3652         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3653         (__ieee754_atanhf): Force underflow exception for results with
3654         small absolute value.
3655         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3656         (__ieee754_atanh): Force underflow exception for results with
3657         small absolute value.
3658         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3659         (__ieee754_atanhf): Force underflow exception for results with
3660         small absolute value.
3661         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3662         (__ieee754_atanhl): Force underflow exception for results with
3663         small absolute value.
3664         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3665         (__ieee754_atanhl): Force underflow exception for results with
3666         small absolute value.
3667         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3668         (__ieee754_atanhl): Force underflow exception for results with
3669         small absolute value.
3670         * math/auto-libm-test-in: Do not allow missing underflow
3671         exceptions from atanh.
3672         * math/auto-libm-test-out: Regenerated.
3674         [BZ #18221]
3675         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3676         2**-28 as threshold for returning x or +/- 1/x.
3677         * math/auto-libm-test-in: Add more tests of tan.
3678         * math/auto-libm-test-out: Regenerated.
3680         [BZ #18220]
3681         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3682         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3683         * math/auto-libm-test-in: Add another test of lgamma.
3684         * math/auto-libm-test-out: Regenerated.
3686 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3688         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3689         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3690         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3691         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3692         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3693         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3694         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3695         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3696         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3697         (log1): Use fabs.  (my_log2): Use fabs.
3698         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3699         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3700         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3701         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3702         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3703         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3704         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3705         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3706         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3707         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3708         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3710 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3712         [BZ #18217]
3713         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3714         as threshold for returning 1 - x.
3715         * math/auto-libm-test-in: Add more tests of erfc.
3716         * math/auto-libm-test-out: Regenerated.
3718 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3720         [BZ #18196]
3721         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3722         threshold for large arguments.
3723         * math/auto-libm-test-in: Add another test of atan.
3724         * math/auto-libm-test-out: Regenerated.
3726         [BZ #16339]
3727         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3728         (__log1p): Force underflow exception for results with small
3729         absolute value.
3730         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3731         (__log1pf): Force underflow exception for results with small
3732         absolute value.
3733         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3734         (__log1p): Force underflow exception for results with small
3735         absolute value.
3736         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3737         (__log1pf): Force underflow exception for results with small
3738         absolute value.
3739         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3740         (__log1pl): Force underflow exception for results with small
3741         absolute value.
3742         * math/auto-libm-test-in: Do not allow missing underflow
3743         exceptions from log1p.
3744         * math/auto-libm-test-out: Regenerated.
3746 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3747             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3749         [BZ #16704]
3750         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3752 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3754         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3755         (libmvec): New variable.
3756         * configure.ac: Added option for mathvec build.
3757         * configure: Regenerated.
3758         * mathvec/Depend: New file.
3759         * mathvec/Makefile: New file.
3760         * shlib-versions: Added libmvec.
3761         * math/Makefile: Added rule for libm.so installation.
3763         * bits/math-vector.h: New file.
3764         * bits/libm-simd-decl-stubs.h: New header.
3765         * math/Makefile (headers): Added new header
3766         libm-simd-decl-stubs.h.
3767         * math/math.h (__MATHCALL_VEC): New macro.
3769         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3770         for conditions in testing functions.
3771         * math/Makefile: Added call of libm-have-vector-test.sh.
3772         * math/libm-test.inc (HAVE_VECTOR): New macros.
3774         * math/libm-test.inc: START refactored.
3775         * math/test-double.c (TEST_MATHVEC): Add define.
3776         * math/test-float.c: Likewise.
3777         * math/test-idouble.c: Likewise.
3778         * math/test-ifloat.c: Likewise.
3779         * math/test-ildoubl.c: Likewise.
3780         * math/test-ldouble.c: Likewise.
3781         * sysdeps/generic/math-tests-arch.h
3782         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3783         architecture check.
3785         * math/test-double.c (FUNC_TEST): New macro.
3786         * math/test-float.c: Likewise.
3787         * math/test-idouble.c: Likewise.
3788         * math/test-ifloat.c: Likewise.
3789         * math/test-ildoubl.c: Likewise.
3790         * math/test-ldouble.c: Likewise.
3791         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3793 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3795         * sysdeps/nacl/fdopendir.c: New file.
3797         * dirent/scandir-tail.c: New file.
3798         * dirent/scandir64-tail.c: New file.
3799         * dirent/Makefile (routines): Add them.
3800         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3801         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3802         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3803         [!SCANDIR] (SCANDIR_TAIL): New macro.
3804         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3805         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3806         (SCANDIRAT): Macro removed.
3807         (SCANDIR_TAIL): New macro.
3808         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3809         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3810         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3811         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3812         (READDIR): Macro removed.
3813         (SCANDIR_TAIL): New macro.
3814         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3815         (SCANDIR_TAIL): New macro.
3817         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3818         * dirent/scandir-cancel.c: ... to this new file.
3819         * dirent/Makefile (routines): Add it.
3820         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3821         * sysdeps/unix/sysv/linux/i386/scandir64.c
3822         (SKIP_SCANDIR_CANCEL): Macro removed.
3823         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3825         * dirent/tst-scandir.c: New file.
3826         * dirent/tst-scandir64.c: New file.
3827         * dirent/Makefile (tests): Add them.
3829 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3831         [BZ #18409]
3832         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3834 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3836         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3837         list.
3839 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3841         * benchtests/bench-strcoll.c: New benchmark.
3842         * benchtests/Makefile: Generate locales and run benchmark.
3843         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3844         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3845         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3846         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3847         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3848         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3849         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3850         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3851         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3852         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3853         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3854         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3855         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3856         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3857         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3858         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3859         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3860         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3861         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3862         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3863         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3864         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3865         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3866         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3868 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3870         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3871         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3873 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3875         * posix/uname-values.h: New file.
3876         * posix/uname.c: Include that instead of <config-name.h>.
3877         * sysdeps/nacl/uname-values.h: New file.
3878         * sysdeps/arm/nacl/uname-values.h: New file.
3880 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3882         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3883         splitting into fields.
3885 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3887         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3888         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3889         * locale/localeinfo.h: Add enum collation_encoding_type.
3890         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3891         * programs/ld-collate.c (collate_output): Add encoding type info.
3892         * string/strcoll_l.c (STRDIFF): New function.
3893         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3894         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3896 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3898         [BZ #18397]
3899         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3900         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3901         <fpu_control.h> instead of <math/fpu_control.c>.
3902         * sysdeps/mips/mips32/fpu/Makefile: New file.
3904 2015-05-11  Andreas Schwab  <schwab@suse.de>
3906         [BZ #18007]
3907         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3908         nss_endgrent.
3909         (_nss_compat_endgrent): Call nss_endgrent.
3910         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3911         nss_endpwent.
3912         (_nss_compat_endpwent): Call nss_endpwent.
3913         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3914         needent, call nss_setspent only if non-zero.
3915         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3916         (internal_endspent): Don't call nss_endspent.
3917         (_nss_compat_endspent): Call nss_endspent.
3918         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3919         Remove.  All uses removed.
3920         (internal_setent): Remove parameter stayopen, add parameter
3921         stream.  Use it instead of global variable.
3922         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3923         (internal_endent, internal_getent): Add parameter stream.  Use it
3924         instead of global variable.
3925         (CONCAT(_nss_files_end,ENTNAME))
3926         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3927         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3928         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3929         uses removed.
3930         (internal_setent, internal_endent): Add parameter stream.  Use it
3931         instead of global variable.
3932         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3933         stream.
3934         (get_next_alias): Add parameter stream.
3935         (_nss_files_getaliasent_r): Pass global stream.
3936         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3937         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3938         (_nss_files_gethostbyname4_r): Pass local stream to
3939         internal_setent, internal_getent and internal_endent.  Remove
3940         locking.
3942 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3944         * tst-strfmon1.c (tests): Update expected currency symbol.
3946 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3948         * sysdeps/nacl/gethostname.c: New file.
3950 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3952         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3953         and sinh.
3954         * math/auto-libm-test-out: Regenerated.
3955         * sysdeps/i386/fpu/libm-test-ulps: Update.
3956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3958 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3960         [BZ #18125]
3961         * stdlib/tst-setcontext3.c: New file.
3962         * stdlib/tst-setcontext3.sh: New file.
3963         * stdlib/Makefile (tests): Add tst-setcontext3.
3964         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3965         to verify test program created output file.
3966         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3967         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3968         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3969         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3971 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3973         [BZ #18383]
3974         * elf/tst-tlsalign.c: New file.
3975         * elf/tst-tlsalign-static.c: New file.
3976         * elf/tst-tlsalign-lib.c: New file.
3977         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3978         (tests-static): Add tst-tlsalign-static.
3979         (modules-names): Add tst-tlsalign-lib.
3980         (test-xfail-tst-tlsalign): New variable.
3981         (test-xfail-tst-tlsalign-static): New variable.
3983         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3984         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3986 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3988         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3989         csqrt, erfc, sin and sincos.
3990         * math/auto-libm-test-out: Regenerated.
3991         * sysdeps/i386/fpu/libm-test-ulps: Update.
3992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3994 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3996         * sysdeps/aarch64/libm-test-ulps: Update.
3998 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
4000         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4001         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4002         * math/auto-libm-test-out: Regenerated.
4003         * sysdeps/i386/fpu/libm-test-ulps: Update.
4004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4006 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
4008         [BZ #18265]
4009         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4010         (wcsncpy): Likewise.
4012 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4014         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4015         Assume __ASSUME_FALLOCATE is always true.
4016         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4017         (__posix_fallocate64_l64): Likweise.
4018         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4019         (posix_fallocate): Likewise.
4020         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4021         (__posix_fallocate64_l64): Likewise.
4022         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4023         [!__ASSUME_FALLOCATE]: Add comment.
4025 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4027         * sysdeps/unix/sysv/linux/i386/Makefile
4028         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4029         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4030         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4031         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4032         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4033         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4034         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4036 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4038         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4039         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4040         tgamma.
4041         * math/auto-libm-test-out: Regenerated.
4042         * sysdeps/i386/fpu/libm-test-ulps: Update.
4043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4045 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4047         * math/auto-libm-test-in: Add more tests of tgamma.
4048         * math/auto-libm-test-out: Regenerated.
4049         * sysdeps/i386/fpu/libm-test-ulps: Update.
4050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4052         * math/auto-libm-test-in: Add more tests of tanh.
4053         * math/auto-libm-test-out: Regenerated.
4054         * sysdeps/i386/fpu/libm-test-ulps: Update.
4055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4057         * math/auto-libm-test-in: Add more tests of tan.
4058         * math/auto-libm-test-out: Regenerated.
4059         * sysdeps/i386/fpu/libm-test-ulps: Update.
4060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4062         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4063         * math/auto-libm-test-out: Regenerated.
4064         * sysdeps/i386/fpu/libm-test-ulps: Update.
4065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4067         * math/auto-libm-test-in: Add another test of pow.
4068         * math/auto-libm-test-out: Regenerated.
4069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4071         * math/auto-libm-test-in: Add more tests of lgamma.
4072         * math/auto-libm-test-out: Regenerated.
4073         * sysdeps/i386/fpu/libm-test-ulps: Update.
4074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4076         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4077         log1p.
4078         * math/auto-libm-test-out: Regenerated.
4079         * sysdeps/i386/fpu/libm-test-ulps: Update.
4080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4082 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4084         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4085         Elf64_Chdr structs and ELFCOMPRESS constants.
4087 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4089         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4090         expm1.
4091         * math/auto-libm-test-out: Regenerated.
4092         * sysdeps/i386/fpu/libm-test-ulps: Update.
4093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4095         * math/auto-libm-test-in: Add more tests of erf and erfc.
4096         * math/auto-libm-test-out: Regenerated.
4097         * sysdeps/i386/fpu/libm-test-ulps: Update.
4098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4100 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4102         * config.h.in (HAVE_AARCH64_BE): Add.
4104 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4106         * math/auto-libm-test-in: Add more tests of csqrt.
4107         * math/auto-libm-test-out: Regenerated.
4108         * sysdeps/i386/fpu/libm-test-ulps: Update.
4109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4111         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4112         * math/auto-libm-test-out: Regenerated.
4113         * sysdeps/i386/fpu/libm-test-ulps: Update.
4114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4116         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4118 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4120         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4121         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4123         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4124         (euidaccess, eaccess): Define as weak aliases.
4126         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4127         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4128         but __suseconds_t is often 'long int' so some sources assume that
4129         type is being used (e.g. they use %ld to print tv_usec).
4131 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4133         [BZ #18007]
4134         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4135         (CVE-2014-8121)
4136         * nss/tst-nss-getpwent.c: New file.
4137         * nss/Makefile (tests): Add new test.
4139 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4141         [BZ #18346]
4142         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4143         exponents less than 48 as cases where high part of mantissa needs
4144         examining to determine whether argument is integral.
4145         * math/libm-test.inc (round_test_data): Add more tests.
4147 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4149         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4151 2015-04-27  David S. Miller  <davem@davemloft.net>
4153         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4154         __tls_get_addr.
4155         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4157 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4159         [BZ#18333]
4160         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4162 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4164         [BZ#18333]
4165         * time/tzset.c (parse_tzname): Return error on memory allocation
4166         failure.
4167         * test-skeleton.c (struct temp_name_list): Change type of name
4168         member to non-const.
4169         (add_temp_file): Create a copy of the file name.
4170         (delete_temp_files): Deallocate memory.
4171         (create_temp_file): Add comment.
4173 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4175         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4176         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4178 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4180         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4181         * sysdeps/arm/configure: Regenerated.
4183 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4185         [BZ #17715]
4186         * time/tzfile.c (__tzfile_read): Check for large values of
4187         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4188         * time/tzset.c (__tzstring_len): New function, based on the old
4189         __tzstring function.
4190         (__tzstring): Call __tzstring_len.
4191         (parse_tzname): New helper function extracted from
4192         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4193         the input string.
4194         (parse_offset): New helper function extracted from
4195         __tzset_parse_tz.  Replace switch with fallthrough with
4196         initialization before sscanf.
4197         (parse_rule): Likewise.
4198         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4199         new-style function definition.
4200         * timezone/Makefile (tests): Add tst-tzset.
4201         (tst-tzset.out): Dependencies on time zone files.
4202         (tst-tzset-ENV): Set TZDIR.
4203         (testdata/XT%): Copy crafted time zone files.
4204         * timezone/README: Mention crafted time zone files.
4205         * timezone/testdata/XT1, timezone/testdata/XT2,
4206         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4207         files.
4208         * timezone/tst-tzset.c: New test.
4210 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4212         * Makeconfig (+gccwarn): Remove -Winline.
4214 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4216         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4218 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4220         * NEWS: Mention sysconf() cache information support for s390.
4221         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4223 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4225         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4226         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4227         (__nearbyint): Likewise.
4228         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4229         (copysignl): Likewise.
4231 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4233         [BZ #18287]
4234         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4235         based on padding.  (CVE-2015-1781)
4237 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4239         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4240         libc-vdso.h.
4241         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4242         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4243         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4244         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4245         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4246         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4247         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4248         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4249         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4250         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4251         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4252         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4253         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4254         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4255         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4256         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4257         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4258         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4259         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4260         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4261         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4262         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4263         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4265 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4267         * stdlib/setenv.c (__add_to_environ):
4268         Dump core quickly if setenv (..., NULL, ...) is called.
4269         This time, do it the right way, and pacify GCC with a pragma.
4271 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4273         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4274         IMAP->l_prev cannot be null, and #if out the code for the contrary
4275         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4276         believe that NS (&_dl_ns[NSID]) could point outside the array.
4278         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4279         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4280         before using NSID as an index.
4282 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4284         [BZ #17825]
4285         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4286         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4287         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4289 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4291         Add preliminary port to Google Native Client on ARM.
4292         * abi-tags (.*-.*-nacl.*): New entry.
4293         * sysdeps/arm/nacl: New directory.
4294         * sysdeps/nacl: New directory.
4296 2015-04-16  David S. Miller  <davem@davemloft.net>
4298         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4299         lowlevellock-futex.h
4301 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4303         * sysdeps/tile/configure.ac: New file.
4304         * sysdeps/tile/configure: Regenerated.
4306 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4308         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4309         conditionals for weak_alias and libc_hidden_weak.
4310         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4311         libc_hidden_weak and weak_alias.
4312         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4313         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4314         and weak_alias for static one.
4316 2015-04-15  David S. Miller  <davem@davemloft.net>
4318         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4320 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4322         [BZ #18206]
4323         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4324           Use signed comparision instead of substraction to avoid
4325           overflow bug.
4326         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4327           Take the sign of ret.
4328         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4329           Do not expect precise return values. Only the sign matters.
4330         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4331         * wcsmbs/test-wcsncmp.c: New File.
4332         * string/test-strncmp.c: Add wcsncmp support.
4334 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4336         [BZ #6792]
4337         * math/w_log1p.c: New file.
4338         * math/w_log1pf.c: Likewise.
4339         * math/w_log1pl.c: Likewise.
4340         * math/Makefile (libm-calls): Add w_log1p.
4341         * math/s_log1pl.c (log1pl): Remove weak_alias.
4342         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4343         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4344         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4345         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4346         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4347         [NO_LONG_DOUBLE] (log1pl): Likewise.
4348         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4349         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4350         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4351         (log1p): Remove long_double_symbol.
4352         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4353         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4354         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4355         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4356         remove weak_alias for corresponding log1p function.
4357         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4358         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4359         * sysdeps/ia64/fpu/w_log1p.c: New file.
4360         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4361         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4362         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4364 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4366         [BZ #18247]
4367         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4368         decimal exponent by 1.
4369         * stdlib/tst-strtod-round-data: Add more tests.
4370         * stdlib/tst-strtod-round.c (tests): Regenerated.
4372 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4374         * math/auto-libm-test-in: Add more tests of clog and clog10.
4375         * math/auto-libm-test-out: Regenerated.
4376         * sysdeps/i386/fpu/libm-test-ulps: Update.
4377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4379 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4381         * Makeconfig (module-cppflags): Exclude all .v.i files.
4382         (skip-module-cppflags): Variable removed.
4384         * configure.ac (libc_config_ok): Initialize before reading
4385         preconfigure scripts, not after.
4386         * configure: Regenerated.
4388         * test-skeleton.c (TIMEOUT): Move #define to top level.
4389         (main): Grok environment variable TEST_DIRECT.  If set, print
4390         test expectation details into that file and then behave as if
4391         given --direct.
4393 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4395         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4396         warning on 32-bit.
4398 2015-04-08  David S. Miller  <davem@davemloft.net>
4400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4402 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4404         * math/auto-libm-test-in: Add more tests of atanh.
4405         * math/auto-libm-test-out: Regenerated.
4406         * sysdeps/i386/fpu/libm-test-ulps: Update.
4407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4409         * math/auto-libm-test-in: Add more tests of atan.
4410         * math/auto-libm-test-out: Regenerated.
4411         * sysdeps/i386/fpu/libm-test-ulps: Update.
4412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4414 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4416         * elf/pldd.c (main): Rewrite to use struct
4417         scratch_buffer instead of extend_alloca.
4418         * elf/pldd-xx.c (find_maps): Likewise.
4419         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4420         <alloca.h>.
4421         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4422         scratch_buffer instead of extend_alloca.
4423         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4424         grp/compat-initgroups.c.
4425         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4426         Rewrite to use struct scratch_buffer instead of extend_alloca.
4427         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4428         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4430 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4432         * math/auto-libm-test-in: Add more tests of cbrt.
4433         * math/auto-libm-test-out: Regenerated.
4434         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4436         * math/auto-libm-test-in: Add more tests of cabs.
4437         * math/auto-libm-test-out: Regenerated.
4438         * sysdeps/i386/fpu/libm-test-ulps: Update.
4439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4441         [BZ #18210]
4442         [BZ #18211]
4443         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4444         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4445         computations.
4446         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4447         clog10.
4448         * math/auto-libm-test-out: Regenerated.
4449         * sysdeps/i386/fpu/libm-test-ulps: Update.
4450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4452         [BZ #18197]
4453         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4454         (atan): Set FE_TONEAREST mode for internal computations.
4455         * math/auto-libm-test-in: Add more tests of atan.
4456         * math/auto-libm-test-out: Regenerated.
4458 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4460         [BZ #17930]
4461         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4463 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4465         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4467 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4469         * include/scratch_buffer.h: New file.
4470         * malloc/scratch_buffer_grow.c: Likewise.
4471         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4472         * malloc/scratch_buffer_set_array_size.c: Likewise.
4473         * malloc/tst-scratch_buffer.c: Likewise.
4474         * malloc/Makefile (routines): Add scratch_buffer_grow.
4475         (tests): Add test case.
4476         * malloc/Versions (GLIBC_PRIVATE): Export
4477         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4478         __libc_scratch_buffer_set_array_size.
4480 2015-04-06  Richard Henderson  <rth@redhat.com>
4482         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4483         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4485         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4486         unsigned int before printing.
4488 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4490         [BZ #17596]
4491         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4492         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4494 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4496         * include/libc-internal.h (libc_max_align_t): Define.
4498 2015-04-02  Andreas Schwab  <schwab@suse.de>
4500         [BZ #16850]
4501         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4503 2015-04-02  Mel Gorman  <mgorman@suse.de>
4505         [BZ #17195]
4506         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4507         as well as the main arena.
4509 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4511         [BZ #18185]
4512         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4513         sharing L2 cache to 2 for Silvermont/Knights Landing.
4515 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4517         [BZ #17711]
4518         * config.make.in (have-protected-data): New.
4519         * configure.ac: Check linker support for protected data symbol.
4520         * configure: Regenerated.
4521         * elf/Makefile (modules-names): Add tst-protected1moda and
4522         tst-protected1modb if $(have-protected-data) is yes.
4523         (tests): Add tst-protected1a and tst-protected1b if
4524         $(have-protected-data) is yes.
4525         ($(objpfx)tst-protected1a): New.
4526         ($(objpfx)tst-protected1b): Likewise.
4527         (tst-protected1modb.so-no-z-defs): Likewise.
4528         * elf/tst-protected1a.c: New file.
4529         * elf/tst-protected1b.c: Likewise.
4530         * elf/tst-protected1mod.h: Likewise.
4531         * elf/tst-protected1moda.c: Likewise.
4532         * elf/tst-protected1modb.c: Likewise.
4534 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4536         [BZ #17711]
4537         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4538         indicates it is called from do_lookup_x on relocation against
4539         protected data, skip the data definion in the executable from
4540         copy reloc.
4541         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4542         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4543         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4544         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4545         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4546         otherwise to 0.
4547         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4548         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4549         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4550         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4551         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4552         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4554 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4556         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4557         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4559 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4561         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4562         THREAD_SETMEM_NC.
4563         * sysdeps/x86_64/nptl/tls.h: Ditto.
4565 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4567         * dlfcn/tststatic.c (main): Converted to ...
4568         (do_test): ... this.
4569         (TEST_FUNCTION): New macro.
4570         Include test-skeleton.c.
4572 2015-03-26  Alan Modra  <amodra@gmail.com>
4574         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4575         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4576         zero for undefined weak.
4577         (elf_machine_plt_conflict): Similarly.
4579 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4581         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4582         atanh.
4583         * math/auto-libm-test-out: Regenerated.
4584         * sysdeps/i386/fpu/libm-test-ulps: Update.
4585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4587         * math/auto-libm-test-in: Add another test of asin.
4588         * math/auto-libm-test-out: Regenerated.
4589         * sysdeps/i386/fpu/libm-test-ulps: Update.
4590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4592         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4593         Remove macro.
4594         (LLL_EBX_REG): Likewise.
4595         (LLL_ENTER_KERNEL): Likewise.
4597         * math/auto-libm-test-in: Add more tests of asin.
4598         * math/auto-libm-test-out: Regenerated.
4599         * sysdeps/i386/fpu/libm-test-ulps: Update.
4600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4602         [BZ #18138]
4603         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4604         libc_do_syscall_args): New structure.
4605         (INTERNAL_SYSCALL_MAIN_0): New macro.
4606         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4607         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4608         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4609         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4610         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4611         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4612         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4613         Replace conditional definitions by conditional definitions of ....
4614         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4615         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4616         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4617         (libpthread-sysdep_routines): Add libc-do-syscall.
4618         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4619         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4620         to __NR_futex not 240.
4622 2015-03-25  Alan Modra  <amodra@gmail.com>
4624         * NEWS: Advertise TLS optimization.
4625         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4626         (DT_PPC_NUM): Increment.
4627         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4628         (CHECK_STATIC_TLS): Use here.
4629         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4630         TLS descriptors.
4631         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4632         * sysdeps/powerpc/dl-tls.c: New file.
4633         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4634         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4635         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4636         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4641 2015-03-25  Alan Modra  <amodra@gmail.com>
4643         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4644         for overlapping .opd entries" to "support...".
4645         * sysdeps/powerpc/powerpc64/configure: Regenerate
4647 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4649         * math/auto-libm-test-in: Add more tests of acos.
4650         * math/auto-libm-test-out: Regenerated.
4651         * sysdeps/i386/fpu/libm-test-ulps: Update.
4652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4654         * math/auto-libm-test-in: Add more tests of expm1.
4655         * math/auto-libm-test-out: Regenerated.
4656         * sysdeps/i386/fpu/libm-test-ulps: Update.
4657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4659 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4661         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4662         * math/auto-libm-test-out: Regenerated.
4663         * sysdeps/i386/fpu/libm-test-ulps: Update.
4664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4666         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4669         * math/auto-libm-test-in: Add more tests of log2.
4670         * math/auto-libm-test-out: Regenerated.
4671         * sysdeps/i386/fpu/libm-test-ulps: Update.
4672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4674 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4676         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4677         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4678         _IO_IS_APPENDING bit in READ_WRITE instead.
4680 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4682         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4683         (__determine_cpumask_size): Replace extend_alloca with a
4684         variable-length array.  Do not treat res == 0 as an error.
4686 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4688         [BZ #18100]
4689         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4690         and integer overflow.
4691         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4692         (main): Add integer overflow tests.
4693         * manual/pattern.texi (Calling Wordexp): Document additional use
4694         for WRDE_SYNTAX.
4696 2015-03-23  Alan Modra  <amodra@gmail.com>
4698         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4699         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4700         and false branch of conditional.
4701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4702         Likewise.
4704 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4706         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4707         libc-modules.h
4708         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4709         unused declaration of _hurd_intr_rpc_msg_in_trap.
4710         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4711         defined instead of whether it is non-zero.
4712         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4713         input constraint instead of both input and output constraint.  Use ecx
4714         clobber instead of %ecx.
4715         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4716         mutex_unlock): Use a statement expression instead of an expression list.
4717         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4718         type to vm_size_t instead of vm_address_t.
4719         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4720         defined instead of whether it is non-zero.
4721         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4722         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4723         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4724         comparisons with mapaddr.
4725         * nscd/nscd-client.h: Include <time.h>.
4726         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4727         9th parameter to __vm_region instead of int.
4728         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4729         * scripts/check-local-headers.sh (exclude): Add device/,
4730         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4731         cthreads.h.
4733 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4735         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4736         to account for alignment padding.
4737         * sysdeps/arm/memmove.S: Likewise.
4739 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4741         * sysdeps/unix/sysv/linux/generic/README: New file.
4743 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4745         [BZ #18138]
4746         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4747         (futex_abstimed_wait)
4748         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4749         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4750         of lll_futex_timed_wait.
4752 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4754         [BZ #17542]
4755         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4757 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4759         [BZ #17090]
4760         [BZ #17620]
4761         [BZ #17621]
4762         [BZ #17628]
4763         * NEWS: Update.
4764         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4765         entries with Static TLS too.  Skip entries past the end of the
4766         allocated DTV, from Alan Modra.
4767         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4768         Static TLS DTV entry set up from...
4769         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4770         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4771         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4772         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4773         for Static TLS.
4774         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4775         that the slot we find is associated with the given map before
4776         using its generation count.
4777         * nptl_db/db_info.c: Include ldsodefs.h.
4778         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4779         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4780         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4781         (link_map::l_tls_offset): New struct field.
4782         (dtv_t::counter): Likewise.
4783         (rtld_global): New struct.
4784         (_rtld_global): New rtld variable.
4785         (dl_tls_dtv_slotinfo_list): New rtld global field.
4786         (dtv_slotinfo_list): New struct.
4787         (dtv_slotinfo): Likewise.
4788         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4789         (td_lookup): Rename to...
4790         (td_mod_lookup): ... this.  Use new mod parameter instead of
4791         LIBPTHREAD_SO.
4792         * nptl_db/td_thr_tlsbase.c: Include link.h.
4793         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4794         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4795         addresses even if the DTV is out of date or missing them.
4796         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4797         index zero-length arrays.
4798         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4799         (td_lookup): Make it a macro implemented in terms of...
4800         (td_mod_lookup): ... this declaration.
4801         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4802         (DB_MAIN_VARIABLE): Likewise.
4804 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4806         [BZ #18134]
4807         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4809 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4811         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4813 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4815         [BZ #18128]
4816         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4817         (atomic_add, atomic_increment_and_test)
4818         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4820 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4822         * stdlib/setenv.c (__add_to_environ):
4823         Dump core quickly if setenv (..., NULL, ...) is called.
4825 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4827         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4828         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4829         all the necessary asm magic in one place.
4830         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4831         using those.
4833 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4835         [BZ #14906]
4836         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4837         traced file mtime. Use consistent log message.
4838         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4839         (register_traced_file): Call install_watches. Always set mtime.
4840         (invalidate_cache): Iterate over all trace files. Call install_watches.
4841         (inotify_check_files): Don't inline. Handle watching parent
4842         directories and configuration file movement in and out.
4843         (handle_inotify_events): New function.
4844         (main_loop_poll): Call handle_inotify_events.
4845         (main_loop_epoll): Likewise.
4846         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4847         (struct traced_file): Use array of inotify fds. Add parent directory,
4848         and basename.
4849         (struct database_dyn): Remove unused file_mtime.
4850         (init_traced_file): New inline function.
4851         (define_traced_file): New macro.
4852         * nss/nss_db/db-init.c: Use define_traced_file.
4853         (_nss_db_init): Use init_traced_file.
4854         * nss/nss_files/files-init.c: Use define_traced_file.
4855         (_nss_files_init): Use init_traced_file.
4857 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4859         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4860         [_LIBC]: Do not include <stdlib.h>.
4861         [!_LIBC] (abort): Remove declaration.
4862         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4863         _FP_STATIC_ASSERT instead of conditionally calling abort.
4864         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4865         (_FP_EXTEND_CNAN): Likewise.
4866         (FP_TRUNC): Likewise.
4867         (__FP_CLZ): Likewise.
4868         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4870 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4872         * manual/string.texi (XPG basename): Fix prototype.
4874 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4876         [BZ #18080]
4877         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4878         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4879         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4880         (__setcontext): Likewise.
4881         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4882         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4883         Call rt_sigprocmask syscall one time to set new signal mask
4884         and retrieve the current signal mask instead of two calls.
4885         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4886         (__swapcontext): Likewise.
4887         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4888         * stdlib/tst-setcontext2.c: New file.
4890 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4892         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4894 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4896         [BZ #18093]
4897         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4898         the wrong size.
4900 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4902         [BZ #18043]
4903         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4905 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4907         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4908         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4909         Remove define.
4910         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4911         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4912         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4913         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4914         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4915         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4916         define.
4917         * nptl_db/td_symbol_list.c (td_lookup): Remove
4918         HAVE_ASM_GLOBAL_DOT_NAME code.
4919         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4920         HAVE_ASM_GLOBAL_DOT_NAME check.
4921         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4922         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4923         (DOT_LABEL): Remove define.
4924         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4925         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4926         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4927         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4928         (__TLS_GET_ADDR): Likewise.
4929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4930         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4932 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4934         [BZ #18111]
4935         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4936         (_FPU_SETCW): Initialize cw from fpsr before storing.
4937         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4938         (fesetexceptflag): Rewrite using fpu_control.h.
4939         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4941 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4943         [BZ #18110]
4944         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4945         asms.
4946         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4948 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4950         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4951         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4952         abort.
4953         (_FP_FMA): Likewise.
4954         (_FP_DIV): Likewise.
4956 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4958         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4959         with 0 in that case.
4960         * Makefile (summarize-tests): New canned sequence, factored out of
4961         commands for targets tests and xtests.  Display summary lines that
4962         don't start with PASS: or XFAIL: rather than ones that do start with
4963         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4964         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4965         do start with ERROR: or FAIL:.
4966         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4967         (except for [$(build-shared) = yes]).
4968         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4969         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4970         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4971         * nptl/Makefile: Revert 2015-03-04 changes.
4972         [$(CXX) empty] (tests-unsupported): New variable.
4973         * debug/Makefile: Likewise.
4975         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4976         gnulib file.  Replace __attribute with __attribute__ throughout.
4978 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4980         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4982 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4984         [BZ #18104]
4985         * math/auto-libm-test-in: Add another test of pow.
4986         * math/auto-libm-test-out: Regenerated.
4988 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4990         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4991         $(config-cflags-nofma).
4993 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4995         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4996         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4997         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4998         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4999         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5000         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5001         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5002         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5003         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5004         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5005         Add comment on closing #endif.
5007 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5009         * posix/wordexp.c (CHAR_IN_SET): New macro.
5010         (parse_param): Use it.
5012 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5014         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5016 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5018         [BZ #18043]
5019         * posix/wordexp.c (parse_param): Fix buffer overflow.
5020         * posix/wordexp-test.c (test_case): Add test case.
5022 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5024         [BZ #18042]
5025         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5026         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5028 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5030         [BZ #18043]
5031         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5032         (do_bz18043): Delete.
5033         (at_page_end): New.
5034         (testit): Refactor to have words at the edge of unreadable page.
5036 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5038         [BZ #16734]
5039         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5040         Cleanup read-only streams as well.
5041         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5043 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5045         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5046         <bits/libc-lockP.h>
5048 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5050         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5051         on [__KERNEL__].
5052         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5053         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5054         * soft-fp/op-common.h (_FP_DECL): Likewise.
5056 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5058         * elf/ifuncdep2.c (global): Replace
5059         __attribute__((visibility("protected"))) with
5060         asm (".protected global").
5061         * elf/ifuncmod1.c (global): Likewise.
5062         * elf/ifuncmod5.c (global): Likewise.
5064 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5066         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5067         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5069 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5071         * manual/install.texi (Configuring and compiling):
5072         Document test-wrapper-env-only.
5073         * INSTALL: Regenerated.
5075 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5077         [BZ #18043]
5078         * posix/wordexp.c (parse_param): Fix buffer overflow.
5079         * posix/wordexp-test.c (do_bz18043): Add test case.
5081 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5083         * time/tst-strptime2.c (do_test): Ensure failing tests are
5084         reported correctly.
5085         * time/tst-strptime3.c (do_test): Likewise.
5087 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5089         Fix aio_error thread-safety.
5090         * sysdeps/pthread/aio_error.c: New file
5091         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5092         synchronization.
5094 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5096         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5097         (group_number, vfprintf): Use it.
5098         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5099         (JUMP, REF): Use it.
5100         (WORK_BUFFER_SIZE): New enum constant.
5101         (process_arg, vfprintf): Use it.
5103 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5105         * manual/errno.texi (Error Messages): Complete example function
5106         by adding missing #define.
5107         (program_invocation_name): Add statement indicating GNU
5108         extension and reference which header file declares the variable.
5109         (program_invocation_short_name): Likewise.
5111 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5113         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5114         compatibility note.
5116 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5118         * Makeconfig (test-wrapper-env-only): New variable.
5119         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5120         then use that with $(test-wrapper-env-only) rather than using
5121         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5123 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5125         [BZ #18082]
5126         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5127         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5128         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5129         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5130         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5131         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5132         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5133         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5134         Likewise.
5135         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5136         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5137         Likewise.
5138         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5139         Likewise.
5140         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5141         Likewise.
5142         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5143         Likewise.
5144         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5145         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5146         Likewise.
5147         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5148         Likewise.
5149         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5150         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5152 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5154         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5155         (ETH_ALEN): New macro.
5156         (struct ether_addr): Use it for length of ether_addr_octet.
5158         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5159         (setdb): Don't call __nss_configure_lookup for "rpc".
5160         (do_test): Don't call test_rpc.
5161         (output_rpcent, test_rpc): Functions moved ...
5162         * sunrpc/test-rpcent.c: ... to this new file.
5163         * sunrpc/Makefile (tests): Add it.
5165         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5166         __xpg_sigpause.
5167         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5168         * nptl/tst-signal6.c: Likewise.
5169         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5170         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5172         * configure.ac (libc_cv_cxx_link_ok): New check.
5173         Reset CXX to empty if it fails to link.
5174         * configure: Regenerated.
5175         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5176         bug-atexit3-lib only if $(CXX) is nonempty.
5177         * nptl/Makefile (tests): Likewise for tst-cancel24.
5178         (tests, tests-static): Likewise for tst-cancel24-static.
5179         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5180         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5181         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5182         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5184 2015-03-04  Andreas Schwab  <schwab@suse.de>
5186         [BZ #17631]
5187         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5188         for non-GCC compilers.
5189         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5190         Likewise.
5192 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5194         [BZ #17776]
5195         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5196         integer before bitwise and assembly operations.
5197         (feclearexcept): Likewise.
5198         * math/test-fenvinline.c: New file.
5199         * math/Makefile: Add test-fenvinline test.
5201 2015-03-03  Alan Modra  <amodra@gmail.com>
5203         [BZ #16512]
5204         * scripts/localplt.awk: Strip off symbol version.
5205         * NEWS: Mention bug fix.
5207 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5209         * sysdeps/pthread/timer_routines.c
5210         (timer_free_list, thread_free_list, thread_active_list): Make static.
5212 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5214         [BZ #17779]
5215         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5216         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5217         Undefine.
5218         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5219         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5220         Likewise.
5221         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5222         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5223         Likewise.
5225 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5227         [BZ #18036]
5228         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5229         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5231 2015-03-02  Andreas Schwab  <schwab@suse.de>
5233         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5234         variable name.
5236 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5238         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5239         Return error status.
5241 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5243         [BZ #15969]
5244         * locale/findlocale.c (_nl_find_locale): Introduce const
5245         version of loc_name and drop unsafe type casts.
5247 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5249         * dlfcn/tststatic2.c (main): Converted to ...
5250         (do_test): ... this.
5251         (TEST_FUNCTION): New macro.
5252         Include test-skeleton.c.
5254 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5256         [BZ #17711]
5257         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5258         (tests-pie): Add vismain.
5259         (CFLAGS-vismain.c): New.
5260         * elf/vismain.c: Add comments for PIE requirement.
5262 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5264         [BZ #18046]
5265         [BZ #18047]
5266         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5267         0x1p-56L as threshold for just returning the argument.
5268         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5269         0x1p-32L as threshold for just returning the argument.
5270         * math/auto-libm-test-in: Add more tests of atanh.
5271         * math/auto-libm-test-out: Regenerated.
5272         * sysdeps/i386/fpu/libm-test-ulps: Update.
5273         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5275 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5277         * string/bcopy.c (bcopy): Call memmove for performance.
5279 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5281         * string/bzero.c (__bzero): Call memset for performance.
5283 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5285         [BZ #18068]
5286         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5287         to 00100000.
5289 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5291         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5293 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5295         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5296         (__kernel_standard): Use CSTR macro when setting exc.name.
5297         * sysdeps/ieee754/Makefile [$(subdir) = math]
5298         (CFLAGS-k_standard.c): Remove variable.
5300         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5301         setting p and q from "else if" to "else".
5302         (qzero): Likewise.
5303         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5304         (qone): Likewise.
5305         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5306         (qzerof): Likewise.
5307         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5308         (qonef): Likewise.
5309         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5310         (qzero): Likewise.
5311         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5312         (qone): Likewise.
5314         [BZ #18038]
5315         [BZ #18039]
5316         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5317         return pi/2 for arguments below 0x1p-113L.
5318         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5319         return pi/2 for arguments below 0x1p-106L.
5320         * math/auto-libm-test-in: Add more tests of acos.
5321         * math/auto-libm-test-out: Regenerated.
5323         [BZ #16351]
5324         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5325         (MO): New macro.
5326         (__ieee754_asin): Force underflow exception for results with small
5327         absolute value.
5328         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5329         (MO): New macro.
5330         (__ieee754_asinf): Force underflow exception for results with
5331         small absolute value.
5332         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5333         (__ieee754_asin): Force underflow exception for results with small
5334         absolute value.
5335         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5336         (__ieee754_asinf): Force underflow exception for results with
5337         small absolute value.
5338         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5339         (__ieee754_asinl): Force underflow exception for results with
5340         small absolute value.
5341         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5342         (__ieee754_asinl): Force underflow exception for results with
5343         small absolute value.
5344         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5345         (__ieee754_asinl): Force underflow exception for results with
5346         small absolute value.
5347         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5348         Include <math.h>.
5349         * math/auto-libm-test-in: Do not mark underflow exceptions as
5350         possibly missing for bug 16351.
5351         * math/auto-libm-test-out: Regenerated.
5353         [BZ #18030]
5354         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5355         of power of 2 down when low part has opposite sign.
5356         * math/libm-test.inc (logb_test_data): Add more tests.
5358 2015-02-26  Andreas Schwab  <schwab@suse.de>
5360         [BZ #18032]
5361         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5362         over collating symbol inside a bracket expression.  Minor cleanup.
5363         * posix/tst-fnmatch3.c (do_test): Add test case.
5365 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5367         [BZ #18029]
5368         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5369         Adjust exponent of power of 2 down when low part has opposite
5370         sign.
5371         * math/libm-test.inc (ilogb_test_data): Add more tests.
5373 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5375         [BZ #15969]
5376         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5377         the previous change.
5379         [BZ #15969]
5380         * locale/findlocale.c (_nl_find_locale): Retry archive search
5381         after alias expansion.
5383 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5385         * iconv/tst-iconv3.c (main): Converted to ...
5386         (do_test): ... this.
5387         (TEST_FUNCTION): New macro.
5388         Include test-skeleton.c.
5390         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5391         (convert): Make function static.
5392         (test_unalign): Likewise.  Add const to argument pointee types.
5393         (main): Replace with static function do_test.
5394         Print "Succeeded." only if RET is zero.
5395         (TEST_FUNCTION): New macro.
5396         Include test-skeleton.c.
5398         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5399         returns a null pointer.
5401 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5403         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5404         to __memcpy_ppc only for static builds.
5406 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5408         [BZ #18020]
5409         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5410         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5411         * math/auto-libm-test-in: Add more tests of asinh.
5412         * math/auto-libm-test-out: Regenerated.
5413         * sysdeps/i386/fpu/libm-test-ulps: Update.
5414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5416 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5418         [BZ #15850]
5419         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5420         and ip6_mtuinfo definitions here.
5421         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5422         in this define too.  Update comment.
5424 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5426         * elf/sprof.c (load_shobj): Tweak error message to match others.
5428 2015-02-24  Kevin Easton  <kevin@guarana.org>
5430         [BZ #16145] (partial fix)
5431         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5432         to reduce lock contention.
5434 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5436         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5437         (struct timex): Update time comment.
5438         (ADJ_SETOFFSET): Define.
5440 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5442         [BZ #18019]
5443         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5444         2**56 not 2**28 as threshold for log (2x) formula.
5445         * math/auto-libm-test-in: Add more tests of acosh.
5446         * math/auto-libm-test-out: Regenerated.
5447         * sysdeps/i386/fpu/libm-test-ulps: Update.
5448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5450 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5452         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5453         parenthesis around the buf assignment.
5454         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5456 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5458         [BZ #16783]
5459         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5460         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5461         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5462         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5463         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5464         * math/libm-test.inc (scalb_test_data): Add more tests.
5466 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5468         [BZ #17916]
5469         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5470         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5472 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5474         [BZ #17523]
5475         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5476         * io/bits/fcntl2.h (open): Use it.
5477         (openat): Likewise.
5478         * io/open.c (__libc_open): Likewise.
5479         * io/open64.c (__libc_open64): Likewise.
5480         * io/open64_2.c (__open64_2): Likewise.
5481         * io/open_2.c (__open_2): Likewise.
5482         * io/openat.c (__openat): Likewise.
5483         * io/openat64.c (__openat64): Likewise.
5484         * io/openat64_2.c (__openat64_2): Likewise.
5485         * io/openat_2.c (__openat_2): Likewise.
5486         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5487         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5488         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5489         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5490         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5491         (__open_nocancel): Likewise.
5492         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5493         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5494         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5496 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5498         [BZ #14841]
5499         * resolv/gethnamaddr.c (getanswer): Skip logging if
5500         RES_USE_DNSSEC is set.
5501         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5503 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5505         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5507 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5509         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5510         201304L, for Unicode 7.
5512 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5514         [BZ #17836]
5515         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5516         shared library.  Add gmon-start.os otherwise.
5517         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5518         $(objpfx)gmon-start.os if builing shared library.
5519         ($(objpfx)g$(static-start-installed-name)): Likewise.
5521 2015-02-23  Andreas Schwab  <schwab@suse.de>
5523         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5525 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5527         [BZ #17269]
5528         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5529         (enlarge_userbuf): Likewise.
5531 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5533         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5534         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5535         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5536         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5538 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5540         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5541         expression inside statement expression.
5543 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5545         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5546         <sysdeps/nptl/lowlevellock.h> and remove macros and
5547         functions that are now defined there.
5548         (SYS_futex): Remove.
5549         (lll_compare_and_swap): Remove.
5550         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5552 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5554         [BZ #17999]
5555         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5556         instead of scandirat.
5557         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5558         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5559         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5560         __scandirat.
5561         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5562         (__scandirat): Declare.  Use libc_hidden_proto.
5563         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5564         Remove variable.
5565         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5567 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5569         [BZ #15319]
5570         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5571         (MO): New macro.
5572         (__ieee754_atan2): For results with small absolute value, force
5573         underflow exception and remove excess range and precision from
5574         return value.
5575         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5576         (MO): New macro.
5577         (__ieee754_atan2f): For results with small absolute value, force
5578         underflow exception and remove excess range and precision from
5579         return value.
5580         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5581         (MO): New macro.
5582         (__atan): For results with small absolute value, force underflow
5583         exception and remove excess range and precision from return value.
5584         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5585         (MO): New macro.
5586         (__atanf): For results with small absolute value, force underflow
5587         exception and remove excess range and precision from return value.
5588         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5589         <math.h>.
5590         (__ieee754_atan2): Force underflow exception for results with
5591         small absolute value.
5592         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5593         <math_private.h>.
5594         (atan): Force underflow exception for results with small absolute
5595         value.
5596         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5597         (__atanf): Force underflow exception for results with small
5598         absolute value.
5599         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5600         <math.h>.
5601         (__atanl): Force underflow exception for results with small
5602         absolute value.
5603         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5604         (__atanl): Force underflow exception for results with small
5605         absolute value.
5606         * sysdeps/x86/fpu/bits/mathinline.h
5607         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5608         (__ieee754_atan2): Only define inline for long double.
5609         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5610         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5611         * math/auto-libm-test-in: Do not mark underflow exceptions as
5612         possibly missing for bug 15319.  Add more tests of atan2.
5613         * math/auto-libm-test-out: Regenerated.
5614         * math/libm-test.inc (casin_test_data): Do not mark underflow
5615         exceptions as possibly missing for bug 15319.
5616         (casinh_test_data): Likewise.
5617         * sysdeps/i386/fpu/libm-test-ulps: Update.
5619 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5621         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5622         * sysdeps/mips/bits/endian.h: Fix comments.
5624 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5626         [BZ #17996]
5627         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5628         (hdestroy_r): Likewise.
5629         (hsearch_r): Likewise.
5630         (__hcreate_r): Declare and use libc_hidden_proto.
5631         (__hdestroy_r): Likewise.
5632         (__hsearch_r): Likewise.
5633         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5634         (hcreate): Call __hcreate_r instead of hcreate_r.
5635         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5636         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5637         as weak alias of __hcreate_r.
5638         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5639         __hdestroy_r.
5640         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5641         __hsearch_r.
5642         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5643         Remove variable.
5644         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5645         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5646         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5647         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5649 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5651         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5652         arena_lock into a single arena_get.
5654 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5656         * dl-reloc.c: Inlucde libc-internal.h.
5657         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5658         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5659         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5660         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5661         (grow_heap): Likewise.
5662         * malloc/malloc.c: Include libc-internal.h.
5663         (do_check_malloc): Call powerof2.
5664         (sysmalloc): Use pagesize. Call ALIGN_UP.
5665         (systrim): Use pagesize.
5666         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5667         (__libc_valloc): Use pagesize.
5668         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5670 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5672         [BZ #17991]
5673         * include/sys/resource.h (__getrlimit64): Declare.  Use
5674         libc_hidden_proto.
5675         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5676         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5677         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5678         getrlimit64.
5679         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5680         __getrlimit64.
5681         [!getrlimit64] (getrlimit64): Define as weak alias of
5682         __getrlimit64.  Use libc_hidden_weak.
5683         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5684         using __getrlimit64 not __new_getrlimit64.
5685         (__GI_getrlimit64): Likewise.
5686         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5687         Likewise.
5688         (__GI_getrlimit64): Likewise.
5689         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5691         (getrlimit): Add __getrlimit64 alias.
5692         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5693         Likewise.
5694         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5695         Remove variable.
5696         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5697         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5699 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5701         * libio/fileops.c: Add missing sys/mman.h
5702         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5704 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5706         * manual/math.texi (Errors in Math Functions): Clarify goals
5707         regarding inexact and underflow exceptions.
5709 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5711         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5712         * sysdeps/mips/memset.S: Ditto.
5714 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5716         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5718 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5720         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5721         (__v1longjmp): Remove versioned symbol.
5722         (__v1siglongjmp): Remove alias and versioned symbol.
5723         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5724         (__v2siglongjmp): Likewise.
5726 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5728         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5730 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5732         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5734 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5736         [BZ #17987]
5737         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5738         zero result does not depend on the sign resulting from
5739         subtraction.
5740         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5741         Likewise.
5742         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5743         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5744         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5745         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5746         * math/libm-test.inc (remquo_test_data): Add more tests.
5748 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5750         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5751         Problem reported by J William Piggott.
5753 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5755         [BZ #17978]
5756         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5757         products 4 * y and 2 * y where those would overflow.
5758         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5759         Likewise.
5760         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5761         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5762         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5763         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5764         * math/libm-test.inc (remquo_test_data): Add more tests.
5766         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5768         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5769         [defined _COMPILING_NEWLIB].
5770         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5771         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5773         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5774         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5776 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5778         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5779         acquired.
5781 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5783         [BZ #17792]
5784         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5785         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5786         HOST_STACK_END_ADDR): Likewise.
5788 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5790         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5791         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5792         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5794 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5796         * sysdeps/generic/c++-types.data: New file.
5797         * sysdeps/generic/ld.abilist: New file.
5798         * sysdeps/generic/libBrokenLocale.abilist: New file.
5799         * sysdeps/generic/libanl.abilist: New file.
5800         * sysdeps/generic/libc.abilist: New file.
5801         * sysdeps/generic/libcrypt.abilist: New file.
5802         * sysdeps/generic/libdl.abilist: New file.
5803         * sysdeps/generic/libm.abilist: New file.
5804         * sysdeps/generic/libpthread.abilist: New file.
5805         * sysdeps/generic/libresolv.abilist: New file.
5806         * sysdeps/generic/librt.abilist: New file.
5808 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5810         [BZ #17569]
5811         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5812         Compute absolute value of x as modified by fmod, not original
5813         value of x.
5814         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5815         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5816         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5817         RUN_TEST_ffI_f1_mod8.
5818         (remquo_test_data): Add more tests.
5820 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5822         * sysdeps/init_array/pt-crti.S: New file.
5824 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5826         [BZ #17967]
5827         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5828         __builtin_fmaf instead of relying on contraction of a * b + c.
5830 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5832         [BZ #17969]
5833         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5834         node.
5836 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5838         [BZ #17964]
5839         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5840         __builtin_fma instead of relying on contraction of a * b + c.
5842 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5844         * Makeconfig (ASFLAGS): Add -Werror=undef.
5845         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5846         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5847         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5849         * Makeconfig (after-link): New variable.
5850         (+link-pie, +link-pie-tests): Use it.
5851         (+link-static, +link-static-tests): Likewise.
5852         (+link, +link-tests): Likewise.
5853         * Makerules (build-module, build-module-asneeded): Likewise.
5854         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5855         Likewise.
5856         * elf/Makefile ($(objpfx)ld.so): Likewise.
5858 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5860         [BZ #17965]
5861         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5862         both struct timeval and struct timespec.
5864 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5866         [BZ #16560]
5867         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5868         and redefine.
5869         (__ieee754_exp2l): Do not multiply small fractional parts by
5870         M_LN2l.
5871         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5872         small argument.
5873         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5874         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5875         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5876         * math/auto-libm-test-in: Add more tests of exp2.
5877         * math/auto-libm-test-out: Regenerated.
5879 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5881         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5882         unaligned path.
5884 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5886         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5887         little endian.
5889 2015-02-12  Andreas Schwab  <schwab@suse.de>
5891         [BZ #15790]
5892         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5893         Filter out elision flags from value returned in kind.
5894         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5895         * nptl/tst-pthread-mutexattr.c: New file.
5897 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5899         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5900         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5901         into gnu-gnu, and update comment to refer to abi-tags.
5903 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5905         [BZ #15467]
5906         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5907         (__sincos): Set errno to EDOM for infinite argument.
5908         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5909         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5910         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5911         (__sincosl): Set errno to EDOM for infinite argument.
5912         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5913         (__sincosl): Set errno to EDOM for infinite argument.
5914         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5915         (__sincosl): Set errno to EDOM for infinite argument.
5916         * math/libm-test.inc (sincos_test_data): Test errno setting.
5918 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5920         * string/strxfrm_l.c: Remove #define STRCMP.
5921         * string/strcoll_l.c: Remove #define STRLEN.
5922         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5923         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5925 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5927         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5928         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5929         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5930         * sysdeps/mips/mips64/Makefile: ... here.
5931         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5932         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5933         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5934         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5935         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5936         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5937         * sysdeps/mips/mips64/n64/Implies: Likewise.
5939 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5941         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5942         <sys/time.h>, <string.h>, and <errno.h>.
5943         (dest_offset, dest_address, value, zero): Remove unused variables.
5944         (ldouble): Remove typedef.
5945         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5946         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5947         1).  Fix code style.
5948         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5949         (check): Function removed.
5950         (CHECK): New macro.
5951         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5952         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5953         Don't call set_sigaction_FP and remove_sigaction_FP here.
5954         (ldouble_test): Just use 'long double' as macro argument, no need for
5955         the 'ldouble' typedef.
5956         (do_test): Set up SIGFPE handler at start, using plain signal rather
5957         than sigaction.  Fix code style.
5959 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5961         [BZ #17949]
5962         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5963         jump label.
5965 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5967         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5968         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5970         * sysdeps/powerpc/configure.ac: Remove file.
5971         * sysdeps/powerpc/configure: Likewise.
5973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5974         [sysdep_routines]: Remove wordcopy-power6 object.
5975         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5976         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5977         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5978         (__memmove_ppc32): Likewise.
5979         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5980         file.
5981         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5982         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5983         Remove preprocessor.
5985         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5986         [sysdep_routines]: Remove wide chars objects.
5987         [wcsmbs]: New rule for wide char objects.
5989         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5990         Remove wordcopy-power6 obejct.
5991         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5992         Use local call for wordcopy and memcpy symbols.
5993         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5994         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5995         implementation for loader.
5996         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5998         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5999         Remove wordcopy-power7 object.
6000         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6001         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6002         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6003         (_wordcopy_fwd_dest_aligned): Likewise.
6004         (_wordcopy_bwd_aligned): Likewise.
6005         (_wordcopy_bwd_dest_aligned): Likewise.
6007         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6008         Rewrite to call __memmove_ppc instead of include default
6009         implementation.
6011         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6012         Remove wide chars objects.
6013         [wcsmbs]: New rule for wide char objects.
6015 2015-02-09  Andreas Schwab  <schwab@suse.de>
6017         [BZ #17912]
6018         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6019         in terms of __O_DIRECTORY.
6021 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6023         * time/getdate.c: Include <stdbool.h>.
6024         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6025         call PTR_MANGLE.
6026         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6027         PTR_DEMANGLE.
6029 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6031         Add ersatz _Static_assert on older C hosts
6032         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6033         pre-C11 C platform that is not known to support _Static_assert.
6035 2015-02-07  Richard Braun  <rbraun@sceen.net>
6037         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6038         sigstate.
6039         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6041 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6043         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6044         priority against unexistent AIO_PRIO_DELTA_MAX.
6045         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6046         instead of int.
6047         * misc/fchflags.c (fchflags): Likewise.
6048         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6049         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6050         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6051         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6052         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6053         Declare macros.
6054         [__USE_MISC] (chflags, fchflags): Declare functions.
6055         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6056         EINVAL when nfds is greater than FD_SETSIZE.
6057         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6058         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6059         45.
6060         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6061         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6062         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6063         MACH_RCV_TIMED_OUT.
6064         * hurd/hurd/signal.h (_hurd_self_sigstate,
6065         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6066         Explicit casts from void *.
6067         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6068         * abi-tags: Rename gnu-gnu os into gnu.
6070         [BZ #4719]
6071         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6072         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6073         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6074         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6075         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6076         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6078         [BZ #17944]
6079         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6080         duplicates ADDR->sun_path with sockaddr LEN limitation.
6081         * sysdeps/mach/hurd/connect.c: Include <string.h>
6082         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6083         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6084         * sysdeps/mach/hurd/sendto.c: Likewise.
6085         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6086         implementing it by hand.
6088 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6090         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6091         Use sfi_breg on ldr.
6092         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6093         Likewise.
6095         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6096         it's defined.
6097         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6098         Test SIGSETXID only if it's defined.
6100         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6102         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6103         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6105         * nptl/tst-align2.c: Moved ...
6106         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6107         * nptl/Makefile (tests): Remove tst-align2.
6108         * sysdeps/unix/sysv/linux/Makefile
6109         [$(subdir) = nptl] (tests): Add tst-align-clone.
6110         * nptl/tst-getpid1.c: Moved ...
6111         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6112         * nptl/tst-getpid2.c: Moved ...
6113         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6114         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6115         * sysdeps/unix/sysv/linux/Makefile
6116         [$(subdir) = nptl] (tests): ... here.
6117         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6118         * sysdeps/unix/sysv/linux/Makefile
6119         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6121         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6122         Drop trailing \n from perror argument.  Use return rather than exit.
6124         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6125         on [SA_SIGINFO].
6126         * nptl/tst-cancel21.c (do_test): Likewise.
6127         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6128         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6129         [!SA_SIGINFO]: Make it a stub test.
6131         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6132         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6134         * posix/tst-getlogin.c: Move to ...
6135         * login/tst-getlogin.c: ... here.
6136         * posix/Makefile (tests): Move tst-getlogin to ...
6137         * login/Makefile (tests): ... here.
6139         * libio/tst-atime.c (do_test): Move local variables SV and E
6140         inside [ST_NOATIME] conditional.
6142         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6144         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6146         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6147         (wait_code): New function replaces macro.
6148         Call nanosleep rather than syscall.
6150         * nptl/pt-system.c: Rewritten.  Put everything under
6151         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6152         Use IFUNC to redirect when possible.
6154         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6155         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6156         Use IFUNC to redirect when possible.
6158         * nptl/pt-fork.c: Rewritten.  Put everything under
6159         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6160         Use IFUNC to redirect when possible.
6161         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6163         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6164         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6165         unconditionally nowadays.  This included the only reference to
6166         __vdso_clock_gettime that appears outside libc proper.
6167         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6168         Remove version set (containing only __vdso_clock_gettime).
6169         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6170         Add attribute_hidden.
6171         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6172         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6173         libc_hidden_data_def.
6174         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6175         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6177         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6178         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6179         setrpcent, and getrpcport to ...
6180         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6181         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6182         getrpcbynumber_r, and getrpcent_r to ...
6183         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6184         * inet/getrpcbyname.c: Moved ...
6185         * sunrpc/getrpcbyname.c: ... here.
6186         * inet/getrpcbyname_r.c: Moved ...
6187         * sunrpc/getrpcbyname_r.c: ... here.
6188         * inet/getrpcbynumber.c: Moved ...
6189         * sunrpc/getrpcbynumber.c: ... here.
6190         * inet/getrpcbynumber_r.c: Moved ...
6191         * sunrpc/getrpcbynumber_r.c: ... here.
6192         * inet/getrpcent.c: Moved ...
6193         * sunrpc/getrpcent.c: ... here.
6194         * inet/getrpcent_r.c: Moved ...
6195         * sunrpc/getrpcent_r.c: ... here.
6196         * inet/Makefile (routines): Move those to ...
6197         * sunrpc/Makefile (routines): ... here.
6198         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6199         the $(subdirs) list.
6200         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6201         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6202         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6203         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6205         * elf/Makefile (routines): Include $(all-dl-routines), not just
6206         $(dl-routines).
6207         (rtld-routines): Likewise.  Use = rather than :=.
6208         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6209         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6210         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6211         * sysdeps/arm/Makefile: Likewise.
6212         * sysdeps/i386/Makefile: Likewise.
6213         * sysdeps/x86_64/Makefile: Likewise.
6214         * sysdeps/hppa/Makefile [$(subdir) = elf]
6215         (sysdep_routines, sysdep-rtld-routines): Don't add
6216         $(sysdep-dl-routines) to these.
6217         * sysdeps/ia64/Makefile: Likewise.
6218         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6219         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6220         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6221         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6222         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6223         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6224         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6225         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6226         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6227         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6228         these; sysdep-dl-routines alone is enough.
6230 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6232         [BZ #17932]
6233         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6234         where multiplication results in zero and third argument is finite
6235         and nonzero.
6236         * math/auto-libm-test-in: Add more tests of fma.
6237         * math/auto-libm-test-out: Regenerated.
6239         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6240         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6241         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6242         (_FP_CMP_EQ): Likewise.
6243         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6245         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6246         extra argument CHECK_NAN.  Redefine as wrapper around
6247         _FP_EXTEND_CNAN.
6249 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6251         * version.h (RELEASE): Set to "stable".
6252         (VERSION): Set to "2.21"
6253         * include/features.h (__GLIBC_MINOR__): Set to 21.
6255         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6257 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6258             Paul Eggert  <eggert@cs.ucla.edu>
6260         [BZ #16618]
6261         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6262         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6263         size in bytes. Store needed elements in wpmax. Use needed size
6264         in bytes for extend_alloca.
6266 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6268         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6269         binutls 2.25, and texinfo 5.2.
6270         * INSTALL: Regenerate.
6271         * sysdeps/nios2/configure: Regenerate.
6272         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6273         * manual/contrib.texi: Update.
6274         * po/be.po: Update.
6275         * po/bg.po: Update.
6276         * po/ca.po: Update.
6277         * po/cs.po: Update.
6278         * po/da.po: Update.
6279         * po/de.po: Update.
6280         * po/el.po: Update.
6281         * po/eo.po: Update.
6282         * po/es.po: Update.
6283         * po/fi.po: Update.
6284         * po/fr.po: Update.
6285         * po/gl.po: Update.
6286         * po/hr.po: Update.
6287         * po/hu.po: Update.
6288         * po/ia.po: Update.
6289         * po/id.po: Update.
6290         * po/it.po: Update.
6291         * po/ja.po: Update.
6292         * po/ko.po: Update.
6293         * po/lt.po: Update.
6294         * po/nb.po: Update.
6295         * po/nl.po: Update.
6296         * po/pl.po: Update.
6297         * po/pt_BR.po: Update.
6298         * po/ru.po: Update.
6299         * po/rw.po: Update.
6300         * po/sk.po: Update.
6301         * po/sl.po: Update.
6302         * po/sv.po: Update.
6303         * po/tr.po: Update.
6304         * po/uk.po: Update.
6305         * po/vi.po: Update.
6306         * po/zh_CN.po: Update.
6307         * po/zh_TW.po: Update.
6309         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6310         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6311         * sysdeps/hppa/dl-irel.h: Remove #warning.
6312         * sysdeps/hppa/entry.h: Provide prototype for
6313         __canonicalize_funcptr_for_compare and cast argument.
6314         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6315         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6316         * sysdeps/hppa/sotruss-lib.c: New file.
6317         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6318         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6319         (atomic_compare_and_exchange_bool_acq): Likewise.
6320         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6321         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6323         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6324         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6325         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6327 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6329         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6330         called function in non-PIC case.
6332 2015-01-31  David S. Miller  <davem@davemloft.net>
6334         * sysdeps/sparc/sparc32/bits/atomic.h
6335         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6336         unlock not after it.
6337         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6338         volatile register usage warnings from the compiler.
6340         * sysdeps/sparc/nptl/sem_init.c: Delete.
6341         * sysdeps/sparc/nptl/sem_post.c: Delete.
6342         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6343         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6344         * sysdeps/sparc/sparc32/sem_init.c: New file.
6345         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6346         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6347         padding explicitly initialized.
6348         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6349         padding for in-semaphore spinlock.
6350         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6351         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6352         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6353         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6354         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6355         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6356         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6357         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6358         version.
6359         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6360         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6362 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6364         [BZ #17801]
6365         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6366         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6367         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6368         New.
6369         (index_AVX_Fast_Unaligned_Load): Likewise.
6370         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6371         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6372         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6373         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6374         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6375         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6376         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6377         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6378         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6380 2015-01-29  Andreas Schwab  <schwab@suse.de>
6382         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6384 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6386         [BZ #17892]
6387         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6389 2015-01-28  Martin Sebor  <msebor@redhat.com>
6391         * math/README.libm-test: Clarify. Add "How to read the test output."
6393 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6395         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6396         Define to 0.
6398 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6400         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6401         (__HAVE_64B_ATOMICS): Define to 0.
6403 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6405         [BZ #17885]
6406         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6407         value to set as new flag.
6409         [BZ #16576]
6410         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6411         and use _ARCH_PPCSQ instead.
6412         (__ieee754_sqrt): Likewise.
6413         (__ieee754_sqrtf): Likewise.
6414         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6415         _ARCH_PPCSQ is defined.
6416         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6417         fsqrt instruction.
6418         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6419         _ARCH_PPCSQ is defined.
6420         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6421         fsqrts instruction.
6422         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6424 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6426         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6427         bug (GCC BZ #64739).
6429 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6431         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6432         Mark _retval as used.
6433         (lll_futex_wake_unlock): Likewise.
6434         (lll_futex_timed_wait_requeue_pi): Likewise.
6436         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6437         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6438         register variables.
6440         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6441         libm_hidden_def.
6443         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6444         (__bswap_64): Mark as __always_inline.
6446 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6448         [BZ #15378]
6449         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6450         when none of the search directories exist.
6452 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6454         [BZ #17869]
6455         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6456         power8 in .machine directive.
6458         [BZ #17868]
6459         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6460         set dependency from opd value.
6462 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6464         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6465         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6466         architecture.
6468 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6470         [BZ #17870]
6471         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6472         with uint64_t.
6473         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6474         (uint64_t) 1.
6475         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6476         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6477         Replace 1UL with (uint64_t) 1.
6478         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6479         int with uint64_t.
6481 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6483         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6484         (if_freenameindex): Likewise.
6486         * resource/getrlimit64.c: Add missing libc_hidden_def.
6488 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6490         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6491         __label__.
6492         (_FP_FMA): Likewise.
6493         (_FP_TO_INT_ROUND): Likewise.
6494         (_FP_FROM_INT): Likewise.
6496 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6498         [BZ #16418]
6499         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6500         Make code racy and cancel safe.
6502 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6504         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6505         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6506         attribution.
6508         * pwd/tst-getpw.c: Rewrite.
6510         [BZ #17702]
6511         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6512         (modules-names): Add moddummy1 and moddummy2.
6513         ($(objpfx)tst-rec-dlopen): Define.
6514         * dlfcn/moddummy1.c: New file.
6515         * dlfcn/moddummy2.c: New file.
6516         * dlfcn/tst-rec-dlopen.c: New file.
6517         * elf/dl-cache.c (_dl_load_cache_lookup):
6518         Return char*. Copy result with alloca/strcpy/strdup.
6519         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6520         returns char*. Free cached. If not saving realname
6521         free cached.
6522         * elf/dl-open.c (dl_open_worker): Do not assert that
6523         _r_debug->r_state is RT_CONSISTENT.
6524         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6525         returns char*.
6527 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6528             Carlos O'Donell  <carlos@redhat.com>
6530         [BZ #12674]
6531         * nptl/sem_waitcommon.c: New file.
6532         * nptl/sem_wait.c: Include sem_waitcommon.c.
6533         (__sem_wait_cleanup, do_futex_wait): Remove.
6534         (__new_sem_wait): Adapt.
6535         (__new_sem_trywait): New function.
6536         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6537         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6538         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6539         (sem_timedwait): Adapt.
6540         * nptl/sem_post.c (__new_sem_post): Adapt.
6541         (futex_wake): New function.
6542         (__old_sem_post): Add release MO fence.
6543         * nptl/sem_open.c (sem_open): Adapt.
6544         * nptl/sem_init.c (__new_sem_init): Adapt.
6545         (futex_private_if_supported): New function.
6546         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6547         (__old_sem_getvalue): Add using previous code.
6548         * sysdeps/nptl/internaltypes.h: Adapt.
6549         * nptl/tst-sem13.c (do_test): Adapt.
6550         * nptl/tst-sem11.c (main): Adapt.
6551         * nptl/sem_trywait.c: Remove.
6552         * nptl/DESIGN-sem.txt: Remove.
6553         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6554         (gen-as-const-headers): Remove structsem.sym.
6555         * nptl/structsem.sym: Remove.
6556         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6557         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6558         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6559         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6560         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6561         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6562         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6563         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6564         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6565         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6566         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6567         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6568         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6569         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6570         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6571         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6572         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6573         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6574         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6575         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6576         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6577         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6579 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6581         * INSTALL: Regenerated.
6583         * po/libc.pot: Regenerated.
6585 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6586             Sandra Loosemore  <sandra@codesourcery.com>
6587             Andrew Jenner  <andrew@codesourcery.com>
6588             Joseph Myers  <joseph@codesourcery.com>
6589             Nathan Sidwell  <nathan@codesourcery.com>
6591         * NEWS: Mention new Nios II port.
6592         * sysdeps/nios2/Implies: New file.
6593         * sysdeps/nios2/Makefile: New file.
6594         * sysdeps/nios2/Subdirs: New file.
6595         * sysdeps/nios2/Versions: New file.
6596         * sysdeps/nios2/__longjmp.S: New file.
6597         * sysdeps/nios2/abort-instr.h: New file.
6598         * sysdeps/nios2/backtrace.c: New file.
6599         * sysdeps/nios2/bits/endian.h: New file.
6600         * sysdeps/nios2/bits/fenv.h: New file.
6601         * sysdeps/nios2/bits/link.h: New file.
6602         * sysdeps/nios2/bits/setjmp.h: New file.
6603         * sysdeps/nios2/bsd-_setjmp.S: New file.
6604         * sysdeps/nios2/bsd-setjmp.S: New file.
6605         * sysdeps/nios2/configure: New generated file.
6606         * sysdeps/nios2/configure.ac: New file.
6607         * sysdeps/nios2/crti.S: New file.
6608         * sysdeps/nios2/crtn.S: New file.
6609         * sysdeps/nios2/dl-init.c: New file.
6610         * sysdeps/nios2/dl-machine.h: New file.
6611         * sysdeps/nios2/dl-sysdep.h: New file.
6612         * sysdeps/nios2/dl-tls.h: New file.
6613         * sysdeps/nios2/dl-trampoline.S: New file.
6614         * sysdeps/nios2/gccframe.h: New file.
6615         * sysdeps/nios2/gmp-mparam.h: New file.
6616         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6617         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6618         * sysdeps/nios2/ldsodefs.h: New file.
6619         * sysdeps/nios2/libc-tls.c: New file.
6620         * sysdeps/nios2/libm-test-ulps: New file.
6621         * sysdeps/nios2/machine-gmon.h: New file.
6622         * sysdeps/nios2/math-tests.h: New file.
6623         * sysdeps/nios2/math_private.h: New file.
6624         * sysdeps/nios2/memusage.h: New file.
6625         * sysdeps/nios2/nptl/Makefile: New file.
6626         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6627         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6628         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6629         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6630         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6631         * sysdeps/nios2/nptl/tls.h: New file.
6632         * sysdeps/nios2/preconfigure: New file.
6633         * sysdeps/nios2/s_fma.c: New file.
6634         * sysdeps/nios2/s_fmaf.c: New file.
6635         * sysdeps/nios2/setjmp.S: New file.
6636         * sysdeps/nios2/sfp-machine.h: New file.
6637         * sysdeps/nios2/sotruss-lib.c: New file.
6638         * sysdeps/nios2/stackguard-macros.h: New file.
6639         * sysdeps/nios2/stackinfo.h: New file.
6640         * sysdeps/nios2/start.S: New file.
6641         * sysdeps/nios2/sysdep.h: New file.
6642         * sysdeps/nios2/tls-macros.h: New file.
6643         * sysdeps/nios2/tst-audit.h: New file.
6644         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6645         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6646         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6647         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6648         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6649         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6650         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6651         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6652         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6653         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6654         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6655         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6656         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6657         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6658         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6659         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6660         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6661         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6662         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6663         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6664         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6665         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6666         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6667         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6668         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6669         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6670         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6671         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6672         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6673         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6674         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6675         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6676         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6677         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6678         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6679         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6680         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6681         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6682         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6683         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6684         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6685         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6686         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6687         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6689 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6691         [BZ #17844]
6692         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6693         (getutent): Use weak_alias in non SHARED case
6694         and default_symbol_version in SHARED case.
6695         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6696         (getutent_r, pututline): Likewise.
6697         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6698         (getutid): Likewise.
6699         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6700         (getutid_r): Likewise.
6701         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6702         (getutline): Likewise.
6703         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6704         (getutline_r): Likewise.
6705         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6706         (updwtmp): Likewise.
6708 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6710         [BZ #17848]
6711         * sysdeps/s390/s390-32/memcmp.S
6712         (memcmp_g5): Rename to __memcmp_g5.
6713         * sysdeps/s390/s390-32/memcpy.S
6714         (memcpy_g5): Rename to __memcpy_g5.
6715         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6716         (memcpy_mvcle) Rename to __memcpy_mvcle.
6717         * sysdeps/s390/s390-32/memset.S
6718         (memset_g5): Rename to __memset_g5.
6719         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6720         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6721         and use prefixed functions.
6722         * sysdeps/s390/s390-32/multiarch/memcmp.S
6723         (memcmp_z196): Rename to __memcmp_z196.
6724         (memcmp_z10): Rename to __memcmp_z10.
6725         (memcmp): Set alias to __memcmp_g5.
6726         (bcmp): Set alias to __memcmp_g5.
6727         * sysdeps/s390/s390-32/multiarch/memcpy.S
6728         (memcpy_z196): Rename to __memcpy_z196.
6729         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6730         (memcpy_z10): Rename to __memcpy_z10.
6731         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6732         (memcpy): Set alias to __memcpy_g5.
6733         * sysdeps/s390/s390-32/multiarch/memset.S
6734         (memset_z196): Rename to __memset_z196.
6735         Jump to __memset_mvcle instead of memset_mvcle.
6736         (memset_z10): Rename to __memset_z10.
6737         Jump to __memset_mvcle instead of memset_mvcle.
6738         (memset_mvcle) Rename to __memset_mvcle.
6739         (memset): Set alias to __memset_g5.
6740         * sysdeps/s390/s390-64/memcmp.S
6741         (memcmp_z900): Rename to __memcmp_z900.
6742         * sysdeps/s390/s390-64/memcpy.S
6743         (memcpy_z900): Rename to __memcpy_z900.
6744         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6745         (memcpy_mvcle) Rename to __memcpy_mvcle.
6746         * sysdeps/s390/s390-64/memset.S
6747         (memset_z900): Rename to __memset_z900.
6748         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6749         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6750         and use prefixed functions.
6751         * sysdeps/s390/s390-64/multiarch/memcmp.S
6752         (memcmp_z196): Rename to __memcmp_z196.
6753         (memcmp_z10): Rename to __memcmp_z10.
6754         (memcmp): Set alias to __memcmp_z900.
6755         (bcmp): Set alias to __memcmp_z900.
6756         * sysdeps/s390/s390-64/multiarch/memcpy.S
6757         (memcpy_z196): Rename to __memcpy_z196.
6758         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6759         (memcpy_z10): Rename to __memcpy_z10.
6760         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6761         (memcpy): Set alias to __memcpy_z900.
6762         * sysdeps/s390/s390-64/multiarch/memset.S
6763         (memset_z196): Rename to __memset_z196.
6764         Jump to __memset_mvcle instead of memset_mvcle.
6765         (memset_z10): Rename to __memset_z10.
6766         Jump to __memset_mvcle instead of memset_mvcle.
6767         (memset_mvcle) Rename to __memset_mvcle.
6768         (memset): Set alias to __memset_z900.
6770 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6772         [BZ #17748]
6773         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6774         __fesetenv instead of fesetenv.
6776 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6778         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6779         macro.
6781 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6783         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6784         regression on LE.
6786         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6787         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6788         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6789         strncmp-power8 object.
6790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6791         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6792         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6793         * NEWS: Update.
6795 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6796             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6798         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6799         trailing byte check.
6801 2015-01-13  David S. Miller  <davem@davemloft.net>
6803         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6805 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6807         * login/logout.c (logout): Use memset rather than bzero.
6808         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6809         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6810         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6811         (_gethtbyaddr): Likewise.
6812         * locale/programs/simple-hash.c (bcopy): Macro removed.
6814 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6816         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6817         Add strcmp-power8 object.
6818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6819         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6820         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6821         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6822         __strcmp_power8 implementation.
6823         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6824         * NEWS: Update.
6826         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6827         Add strncpy-power8 and stpncpy-power8 objects.
6828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6829         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6830         implementations.
6831         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6832         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6833         __stpncpy_power8 implementation.
6834         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6835         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6836         __strncpy_power8 implementation.
6837         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6838         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6839         * NEWS: Update.
6841         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6842         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6843         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6845         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6846         strncat-power8 object.
6847         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6848         __strcat_power8 implementation.
6849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6850         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6851         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6852         optimized strcat for power8.
6854         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6855         strcpy-power8 and stpcpy-power8 objects.
6856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6857         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6858         implementations.
6859         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6860         multiarch stpcpy implementation for POWER8.
6861         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6862         multiarch strcpy implementation for POWER8.
6863         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6864         __strcpy_power8 function.
6865         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6866         stpcpy for POWER8.
6867         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6868         strcpy for POWER8.
6869         * NEWS: Update.
6871 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6873         [BZ #16009]
6874         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6875         weights and rules. Use do_xfrm_cached if data fits in cache,
6876         do_xfrm otherwise.  Moved former main loop to...
6877         * (do_xfrm_cached): New function.
6878         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6879         find_idx, find_position and stack_push.
6880         * (find_idx): New function.
6881         * (find_position): Likewise.
6882         * localedata/sort-test.sh: Added test run for do_xfrm.
6883         * localedata/xfrm-test.c (main): Added command line option
6884         -nocache to run the test with strings that are too large for
6885         the STRXFRM cache.
6887 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6889         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6890         variable to lll_futex_wake call, not the value itself.
6892 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6894         [BZ #17803]
6895         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6896         twom64.  Adjust value to 0x1p-64L.
6897         (__scalblnl): Only return standard underflowing result for K <=
6898         -64 not K <= -63; adjust exponent for underflowing result by 64
6899         not 63.
6900         * math/libm-test.inc (scalbn_test_data): Add more tests.
6901         (scalbln_test_data): Likewise.
6903         [BZ #17834]
6904         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6905         0x1p63L.
6906         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6907         not HX.
6908         * math/libm-test.inc (scalbn_test_data): Add more tests.
6909         (scalbln_test_data): Likewise.
6911 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6912             Stefani Seibold  <stefani@seibold.net>
6914         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6915         (sysdep_routines): Add dl-vdso here, ...
6916         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6917         (sysdep_routines): ... not here.
6918         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6919         fallback when vDSO is not presented.
6920         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6921         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6922         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6923         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6924         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6925         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6926         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6927         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6928         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6929         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6930         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6931         fallback configurable symbol when vDSO is not available.
6932         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6933         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6934         be able to redefine fallback symbol when vDSO is not available.
6935         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6936         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6938 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6940         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6941         (TLS_INIT_TP): Add tm_capable initialization.
6942         (TLS_DEFINE_INIT_TP): Likewise.
6943         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6944         TCB.
6945         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6946         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6947         calculation.
6948         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6949         transactoion is lock elision is built and TCB tm_capable is set.
6950         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6952         (INTERNAL_SYSCALL_NCS): Likewise.
6953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6954         (INTERNAL_SYSCALL_NCS): Likewise.
6955         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6957         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6958         for powerpc.
6959         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6960         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6961         and remove it for 32 bits case.
6962         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6963         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6964         initialization.
6965         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6966         Disable lock elision with rdlocks if elision is not available.
6968         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6969         (sysdep_routines): Add lock elision objects.
6970         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6971         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6972         [pthread_mutex_t] (__elision): Add field.
6973         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6974         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6975         elision definitions for powerpc.
6976         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6977         implementation of lock elision for powerpc.
6978         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6979         implementation of timed lock elision for powerpc.
6980         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6981         implementation of trylock with lock elision for powerpc.
6982         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6983         implementaion of unlock for lock elision for powerpc.
6984         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6985         automatic enable lock elision for mutexes.
6986         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6987         transaction execution definitions for powerpc.
6988         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6989         definitions.
6990         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6991         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6992         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6993         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6994         * NEWS: Update.
6996 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6998         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6999         for #include of <shm-directory.h>.
7001 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
7003         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7004         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7006 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
7008         [BZ #17791]
7009         * NEWS: Mention bug fix.
7010         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7011         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7012         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7014 2015-01-09  Torvald Riegel <triegel@redhat.com>
7016         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7018 2015-01-09  Torvald Riegel <triegel@redhat.com>
7020         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7022 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7024         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7025         pointer and cast to uintptr_t.
7027 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7029         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7030         removed.
7031         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7033 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7035         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7036         of 0.
7038 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7040         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7041         <nptl/pthreadP.h> instead.
7042         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7044         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7045         already defined.
7046         [__SIGRTMIN] (init): Function removed.
7047         [__SIGRTMIN] (initialized): Variable removed.
7048         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7049         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7050         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7051         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7052         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7053         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7054         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7055         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7056         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7057         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7058         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7059         * sysdeps/nptl/allocrtsig.c: New file.
7060         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7061         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7062         * sysdeps/generic/testrtsig.h: File removed.
7064         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7065         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7067         * nptl/nptl-init.c (pthread_functions): Conditionalize
7068         .ptr__nptl_setxid initialization on [SIGSETXID].
7070         * sysdeps/nptl/sys/procfs.h: New file.
7071         * nptl_db/Makefile (headers): Add it.
7072         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7074         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7075         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7076         * nptl/pthread_attr_setaffinity.c: Include it.
7077         * nptl/pthread_setattr_default_np.c: Likewise.
7078         * nptl/check-cpuset.h: New file.
7080 2015-01-08  Richard Henderson  <rth@redhat.com>
7082         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7083         (CFLAGS-tst-execstack-prog.c): Likewise.
7084         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7086 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7087             Sandra Loosemore  <sandra@codesourcery.com>
7088             Andrew Jenner  <andrew@codesourcery.com>
7089             Joseph Myers  <joseph@codesourcery.com>
7090             Nathan Sidwell  <nathan@codesourcery.com>
7092         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7093         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7094         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7095         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7096         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7097         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7098         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7099         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7100         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7101         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7102         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7103         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7104         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7105         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7106         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7107         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7108         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7110 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7112         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7113         timespec struct member in syscall macro.
7114         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7115         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7116         first timeval struct member in syscall macro.
7117         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7119 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7121         [BZ #17748]
7122         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7123         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7124         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7125         __feupdateenv and define as weak alias of __feupdateenv.  Use
7126         libm_hidden_weak.
7127         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7128         libm_hidden_def.
7129         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7130         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7131         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7132         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7133         libm_hidden_def.
7134         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7135         __feupdateenv and define as weak alias of __feupdateenv.  Use
7136         libm_hidden_weak.
7137         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7138         libm_hidden_def.
7139         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7140         __feupdateenv and define as weak alias of __feupdateenv.  Use
7141         libm_hidden_weak.
7142         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7143         libm_hidden_def.
7144         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7145         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7146         (__feupdateenv): Likewise.
7147         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7148         __feupdateenv and define as weak alias of __feupdateenv.  Use
7149         libm_hidden_weak.
7150         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7151         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7152         libm_hidden_def.
7153         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7154         function.
7155         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7156         libm_hidden_def.
7157         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7158         __feupdateenv instead of feupdateenv.
7159         (default_libc_feupdateenv_test): Likewise.
7160         (libc_feresetround_ctx): Likewise.
7162 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7164         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7165         prototype.
7167 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7169         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7170         COLL_SYM in a couple of places to avoid uninitialized variable
7171         wanings on tilegx gcc 4.8.2.
7173 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7175         * sysdeps/aarch64/strcpy.S: New file.
7176         * sysdeps/aarch64/stpcpy.S: New file.
7177         * NEWS: Updated.
7179 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7181         * sysdeps/aarch64/strrchr.S: New file.
7182         * NEWS: Updated.
7184 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7186         [BZ #17658]
7187         * stdlib/setenv.c: Fix memory leak when setting large,
7188         duplicate string.
7190 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7192         [BZ #17273]
7193         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7194         and tabs from buffer before parsing fstab entry.
7195         * misc/tst-mntent.c (main): Add test for mount entry with
7196         trailing spaces and tabs.
7198 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7200         [BZ #17748]
7201         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7202         * math/fesetround.c (fesetround): Rename to __fesetround and
7203         define as weak alias of __fesetround.  Use libm_hidden_weak.
7204         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7205         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7206         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7207         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7208         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7209         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7210         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7211         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7212         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7213         __fesetround_inline.
7214         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7215         __fesetround_inline instead of __fesetround.
7216         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7217         __fesetround and define as weak alias of __fesetround.  Use
7218         libm_hidden_weak.  Call __fesetround_inline instead of
7219         __fesetround.
7220         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7221         __fesetround and define as weak alias of __fesetround.  Use
7222         libm_hidden_weak.
7223         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7224         Likewise.
7225         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7226         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7227         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7228         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7229         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7230         __fesetround and define as weak alias of __fesetround.  Use
7231         libm_hidden_weak.
7232         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7233         __fesetround instead of fesetround.
7234         (default_libc_feholdexcept_setround): Likewise.
7235         (libc_feholdsetround_ctx): Likewise.
7236         (libc_feholdsetround_noex_ctx): Likewise.
7238         [BZ #17748]
7239         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7240         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7241         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7242         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7243         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7244         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7245         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7246         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7247         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7248         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7249         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7250         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7251         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7252         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7253         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7254         libm_hidden_def.
7255         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7256         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7257         Likewise.
7258         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7259         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7260         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7261         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7262         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7263         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7264         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7265         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7266         __fesetenv instead of fesetenv.
7267         (libc_feresetround_noex_ctx): Likewise.
7268         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7269         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7270         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7271         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7272         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7273         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7274         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7275         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7276         (__feupdateenv): Likewise.
7277         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7278         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7279         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7280         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7282 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7284         [BZ #17806]
7285         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7286         addresses have been freed.
7288 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7290         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7291         and nservall.
7293 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7295         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7296         Clean up check_pf allocation pattern. addresses
7298 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7300         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7301         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7302         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7303         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7304         * nptl/pthread_join.c (pthread_join): Likewise.
7305         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7306         * sysdeps/posix/waitid.c (__waitid): Likewise.
7307         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7308         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7309         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7310         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7311         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7312         Likewise.
7313         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7314         (__libc_pread64): Likewise.
7315         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7316         (__libc_pwrite): Likewise.
7317         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7318         (__libc_pwrite64): Likewsie.
7319         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7320         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7321         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7322         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7323         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7324         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7325         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7327         Likewise.
7328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7329         (__libc_pread64): Likewise.
7330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7331         Likewise.
7332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7333         (__libc_pwrite64): Likewise.
7334         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7335         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7336         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7337         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7338         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7339         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7340         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7341         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7342         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7343         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7344         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7345         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7346         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7347         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7348         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7349         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7350         Likewise.
7352 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7354         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7355         (CFLAGS-test-double.c): Likewise.
7356         (CFLAGS-test-ldouble.c): Likewise.
7357         (CPPFLAGS-test-ifloat.c): Likewise.
7358         (CPPFLAGS-test-idouble.c): Likewise.
7359         (CPPFLAGS-test-ildoubl.c): Likewise.
7360         (CFLAGS-test-test-fenv.c): Remove variable.
7361         (CFLAGS-test-misc.c): Likewise.
7363 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7365         [BZ #17797]
7366         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7367         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7368         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7369         CLOCKS_PER_SEC == 1000000.
7370         * time/clocktest.c (main): Replace %ld with %jd and cast to
7371         intmax_t.
7373 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7375         * sysdeps/generic/unwind-resume.h: New file.
7376         * sysdeps/gnu/unwind-resume.c: Include it.
7377         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7378         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7379         argument list.
7380         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7381         global rather than static.
7382         (_Unwind_Resume): Update user.
7383         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7384         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7385         rather than static.  Add __attribute__ ((cold)).
7386         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7387         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7388         * sysdeps/arm/arm-unwind-resume.S: New file.
7389         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7390         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7391         * sysdeps/arm/Makefile [$(subdir) = csu]
7392         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7393         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7394         Add rt-arm-unwind-resume.
7395         [$(subdir) = nptl]
7396         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7397         Add pt-arm-unwind-resume.
7398         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7399         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7401 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7403         [BZ #17748]
7404         * include/fenv.h (__feholdexcept): Declare.  Use
7405         libm_hidden_proto.
7406         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7407         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7408         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7409         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7410         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7411         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7412         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7413         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7414         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7415         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7416         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7417         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7418         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7419         (feholdexcept): Likewise.
7420         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7421         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7422         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7423         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7424         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7425         __feholdexcept instead of feholdexcept.
7426         (default_libc_feholdexcept_setround): Likewise.
7428 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7430         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7431         to avoid using stl/str to align destination.
7433 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7435         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7437 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7439         [BZ #17796]
7440         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7441         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7442         Define as weak alias not strong alias.
7444 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7446         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7447         bltzal with addiupc.
7448         (RTLD_START): Ditto.
7450 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7452         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7453         for __vdso_* functions in declarations.
7454         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7455         definitions.
7456         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7457         INTERNAL_VSYSCALL): Use struct return types to check for error.
7459         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7460         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7461         function with cast from llround().
7462         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7463         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7464         Define.
7466 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7468         [BZ #17793]
7469         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7470         Define as weak alias not strong alias.
7472         [BZ #17635]
7473         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7474         ...
7475         * ctype/ctype-extn.c: ... here.
7476         (__isblank_l): Move to ...
7477         * ctype/ctype-c99_l.c: ... here.  New file.
7478         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7479         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7480         Remove variable.
7481         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7482         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7483         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7484         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7485         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7487         [BZ #17777]
7488         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7489         (posix_fadvise64): Define as weak alias not strong alias.
7490         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7491         (posix_fallocate64): Likewise.
7492         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7493         Remove variable.
7494         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7495         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7496         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7497         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7498         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7500 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7502         [BZ #16191]
7503         * NEWS: Mention bug fix.
7504         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7505         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7506         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7507         (HOST_STACK_END_ADDR): Likewise.
7509 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7511         [BZ #17748]
7512         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7513         * math/fegetround.c (fegetround): Rename to __fegetround and
7514         define as weak alias of __fegetround.  Use libm_hidden_weak.
7515         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7516         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7517         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7518         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7519         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7520         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7521         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7522         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7523         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7524         Undefine after rather than before function definition; use
7525         parentheses around function name in definition.
7526         (__fegetround): Also undefine macro after function definition.
7527         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7528         __fegetround and define as weak alias of __fegetround.  Use
7529         libm_hidden_weak.  Do not undefine as macro.
7530         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7531         Likewise.
7532         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7533         __fegetround and define as weak alias of __fegetround.  Use
7534         libm_hidden_weak.
7535         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7536         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7537         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7538         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7539         __fegetround and define as weak alias of __fegetround.  Use
7540         libm_hidden_weak.
7541         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7542         __fegetround instead of fegetround.
7544         [BZ #17782]
7545         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7546         Condition macro definition on [__USE_MISC].
7548         [BZ #17781]
7549         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7550         (struct sigaction): Change type of sa_flags field to int.
7552         [BZ #17780]
7553         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7554         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7555         __glibc_reserved0.
7557         * nptl/version.c (banner): Use single year in copyright notice.
7559         * NEWS: Update copyright dates.
7560         * catgets/gencat.c (print_version): Likewise.
7561         * csu/version.c (banner): Likewise.
7562         * debug/catchsegv.sh: Likewise.
7563         * debug/pcprofiledump.c (print_version): Likewise.
7564         * debug/xtrace.sh (do_version): Likewise.
7565         * elf/ldconfig.c (print_version): Likewise.
7566         * elf/ldd.bash.in: Likewise.
7567         * elf/pldd.c (print_version): Likewise.
7568         * elf/sotruss.sh: Likewise.
7569         * elf/sprof.c (print_version): Likewise.
7570         * iconv/iconv_prog.c (print_version): Likewise.
7571         * iconv/iconvconfig.c (print_version): Likewise.
7572         * locale/programs/locale.c (print_version): Likewise.
7573         * locale/programs/localedef.c (print_version): Likewise.
7574         * login/programs/pt_chown.c (print_version): Likewise.
7575         * malloc/memusage.sh (do_version): Likewise.
7576         * malloc/memusagestat.c (print_version): Likewise.
7577         * malloc/mtrace.pl: Likewise.
7578         * manual/libc.texinfo: Likewise.
7579         * nptl/version.c (banner): Likewise.
7580         * nscd/nscd.c (print_version): Likewise.
7581         * nss/getent.c (print_version): Likewise.
7582         * nss/makedb.c (print_version): Likewise.
7583         * posix/getconf.c (main): Likewise.
7584         * scripts/test-installation.pl: Likewise.
7585         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7587 2015-01-02  Will Newton  <will.newton@linaro.org>
7589         * sysdeps/arm/armv7/configure: Removed.
7590         * sysdeps/arm/armv7/configure.ac: Likewise.
7592 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7594         * All files with FSF copyright notices: Update copyright dates
7595         using scripts/update-copyrights.
7596         * intl/plural.c: Regenerated.
7597         * locale/programs/charmap-kw.h: Likewise.
7598         * locale/programs/locfile-kw.h: Likewise.
7600 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7602         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7604 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7606         [BZ #17748]
7607         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7608         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7609         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7610         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7611         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7612         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7613         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7614         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7615         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7616         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7617         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7618         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7619         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7620         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7621         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7622         libm_hidden_def.
7623         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7624         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7625         Likewise.
7626         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7627         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7628         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7629         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7630         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7631         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7632         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7633         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7634         __fegetenv instead of fegetenv.
7635         (libc_feholdsetround_noex_ctx): Likewise.
7637 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7639         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7640         (Elf_MIPS_ABIFlags_v0): New structure.
7641         (EF_MIPS_FP64): Define.
7642         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7643         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7644         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7645         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7646         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7647         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7648         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7649         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7650         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7651         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7652         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7653         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7654         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7655         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7656         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7657         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7658         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7659         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7660         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7661         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7662         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7663         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7664         field.
7665         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7666         EF_MIPS_FP64.
7667         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7668         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7669         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7670         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7671         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7672         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7673         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7674         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7675         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7676         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7677         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7678         record the current FP ABI extension.
7679         (mips-mode-switch): Define to show if kernel headers support mode
7680         switching.
7681         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7682         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7683         supported SYSV ABI version to 3.
7684         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7685         feature.
7687 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7688             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7690         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7691         path.
7692         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7694 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7696         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7697         __fegetround and redefine to call __fegetround.  Remove condition
7698         on [!__NO_MATH_INLINES].
7699         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7700         function.
7701         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7702         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7703         Remove macro.
7704         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7705         instead of <fenv_libc.h>.
7706         (__llrintl): Call fegetround instead of __fegetround.
7707         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7708         instead of <fenv_libc.h>.
7709         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7710         (__lrintl): Call fegetround instead of __fegetround.
7711         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7712         instead of <fenv_libc.h>.
7713         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7714         (__rintl): Call fegetround instead of __fegetround.
7716 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7718         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7719         arrays.
7721 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7723         [BZ #17775]
7724         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7725         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7726         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7728 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7730         * sysdeps/i386/tls-macros.h: Include <features.h>.
7731         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7732         (TLS_IE): Likewise.
7733         (TLS_LD): Likewise.
7734         (TLS_GD): Likewise.
7735         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7736         define for GCC >= 5.0.
7738 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7740         * math/test-fenv.c (test_single_exception, set_single_exc,
7741         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7742         feexcp_mask_test, feenable_test, fe_single_test): Add
7743         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7744         case where they are not used.
7745         * math/libm-test.inc: Likewise.
7746         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7747         unused in the absence of FP rounding/exception support.
7748         * stdio-common/tst-printf-round.c: Likewise.
7749         * stdlib/tst-strtod-round.c: Likewise.
7750         * stdlib/tst-strtod-underflow.c: Likewise.
7752 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7754         [BZ #17723]
7755         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7756         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7757         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7758         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7759         libm_hidden_weak.
7760         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7761         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7762         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7763         libm_hidden_def.
7764         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7765         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7766         libm_hidden_weak.
7767         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7768         Likewise.
7769         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7770         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7771         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7772         libm_hidden_weak.
7773         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7774         libm_hidden_def.
7775         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7776         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7777         (__feraiseexcept): Likewise.
7778         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7779         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7780         libm_hidden_weak.
7781         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7782         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7783         libm_hidden_def.
7784         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7785         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7786         Use libm_hidden_def.
7787         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7788         libm_hidden_def.
7789         (feraiseexcept): Define as weak not strong alias.  Use
7790         libm_hidden_weak.
7791         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7792         New inline function.  Factored out of ...
7793         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7794         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7795         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7796         feraiseexcept.
7797         * math/w_acos.c (__acos): Likewise.
7798         * math/w_asin.c (__asin): Likewise.
7799         * math/w_ilogb.c (__ilogb): Likewise.
7800         * math/w_j0.c (y0): Likewise.
7801         * math/w_j1.c (y1): Likewise.
7802         * math/w_jn.c (yn): Likewise.
7803         * math/w_log.c (__log): Likewise.
7804         * math/w_log10.c (__log10): Likewise.
7805         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7806         * sysdeps/aarch64/fpu/math_private.h
7807         (libc_feupdateenv_test_aarch64): Likewise.
7808         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7809         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7810         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7811         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7812         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7813         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7814         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7815         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7816         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7817         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7819 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7821         [BZ #17732]
7822         * io/test-utime.c (main): Replace %ld with %jd and cast to
7823         intmax_t.
7824         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7825         * nptl/tst-mutex5.c: Include <stdint.h>.
7826         (do_test): Replace %ld with %jd and cast to intmax_t.
7827         * posix/tst-regex.c (run_test): Likewise.
7828         (run_test_backwards): Likewise.
7829         * rt/tst-clock.c: Include <stdint.h>.
7830         (clock_test): Replace %ld with %jd and cast to intmax_t.
7831         * rt/tst-cpuclock1.c: Include <stdint.h>.
7832         (do_test): Replace %lu with %ju and cast to uintmax_t.
7833         * rt/tst-cpuclock2.c: Include <stdint.h>.
7834         (do_test): Replace %lu with %ju and cast to uintmax_t.
7835         * rt/tst-mqueue1.c: Include <stdint.h>.
7836         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7837         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7838         intmax_t.
7839         * rt/tst-mqueue4.c (do_test): Likewise.
7840         * rt/tst-timer4.c: Include <stdint.h>.
7841         (check_ts): Replace %ld with %jd and cast to intmax_t.
7842         (do_test): Likewise.
7843         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7844         and cast to intmax_t.
7845         * sysdeps/pthread/tst-timer.c (main): Likewise.
7846         * time/clocktest.c (main): Likewise.
7847         * time/tst-posixtz.c (do_test): Likewise.
7848         * timezone/tst-timezone.c (main): Likewise.
7850 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7851             H.J. Lu  <hongjiu.lu@intel.com>
7853         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7854         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7855         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7856         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7857         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7858         version if bit_Fast_Unaligned_Load is set.
7859         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7860         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7861         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7862         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7863         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7864         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7865         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7866         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7867         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7868         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7869         to 4.
7870         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7871         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7872         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7873         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7875 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7877         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7878         instead of #if to avoid a Wundef warning.
7879         * stdlib/tst-limits.c (do_test): Likewise.
7881         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7882         parallel other exception macros.
7883         (fegetenv): Convert from macro to extern inline so that it applies
7884         retroactively to inline functions already seen by the compiler.
7885         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7887         * posix/Makefile (before-compile): Use $(objpfx) for
7888         posix-conf-vars-def.h.
7890 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7892         * posix/getconf.c (main): Use size_t for type of I.
7893         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7894         NSPEC.
7896         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7897         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7898         * posix/posix-envs.def: Likewise.
7899         * sysdeps/posix/sysconf.c: Likewise.
7900         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7901         (specs): Remove array.
7902         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7903         array.
7905         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7906         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7907         (__sysconf): Use CONF_IS_* macros.
7909         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7910         ($(objpfx)posix-conf-vars-def.h): New target.
7911         * posix/posix-conf-vars.list: New file.
7912         * posix/posix-conf-vars.h: New file.
7913         * posix/confstr.c: Include posix-conf-vars.h.
7914         (confstr): Use CONF_IS_* macros.
7915         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7916         CONF_IS_* macros.
7917         * scripts/gen-posix-conf-vars.awk: New file.
7919 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7921         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7922         fegetround): Add no-op macros to avoid linknamespace issues.
7924         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7925         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7927         * sysdeps/unix/sysv/linux/tile/sysdep.h
7928         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7929         assembly-specific section to avoid a redefinition warning.
7931         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7932         long before casting to pointer to avoid a cast warning.
7934 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7936         * sysdeps/tile/tilegx/Implies: New file.
7938 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7940         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7942 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7944         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7946 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7948         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7949         not define.
7950         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7951         <kernel-features.h>.
7952         (__utimes) [__NR_utimes]: Make code unconditional.
7953         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7954         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7955         (__ASSUME_UTIMES): Do not undefine.
7956         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7957         (__ASSUME_UTIMES): Likewise.
7958         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7959         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7960         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7961         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7963 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7965         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7967 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7969         [BZ #17747]
7970         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7971         alias to weak alias for j0l, y0l.
7972         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7973         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7975         [BZ #17746]
7976         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7977         conversion.
7979 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7981         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7982         to zero if not already defined.
7984 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7986         [BZ #17724]
7987         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7988         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7989         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7990         (char *) casts added.
7991         * sysdeps/ieee754/k_standardf.c: New file.
7992         * sysdeps/ieee754/k_standardl.c: Likewise.
7993         * math/Makefile (libm-support): Remove k_standard.
7994         (libm-calls): Add k_standard.
7996 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7998         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7999         Optimize to avoid an unnecessary FPCR read.
8001 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8003         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8004         Optimize to reduce FPCR/FPSR accesses.
8006 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8008         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8009         Call libc_fetestexcept_aarch64.
8011 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8013         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8014         Call libc_fesetround_aarch64.
8016 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8018         [BZ #17733]
8019         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8020         (__bind): Do not define as weak alias.
8021         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8022         define.
8023         (__getsockname): Do not define as weak alias.
8025 2014-12-22  Will Newton  <will.newton@linaro.org>
8027         * manual/install.texi: Document that we require bison 2.7
8028         or above.
8029         * INSTALL: Regenerate.
8030         * configure.ac: Use AC_CHECK_PROG_VER instead of
8031         AC_PATH_PROG when checking for bison and check for
8032         version 2.7 or above.
8033         * configure: Regenerate.
8035 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8037         [BZ #17745]
8038         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8039         * sysdeps/tile/ffsll.c (ffsll): To here.
8041         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8043 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8045         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8046         if not defined.
8047         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8048         definition.
8049         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8050         hidden ___tls_get_addr.
8051         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8052         hidden __tls_get_addr.
8053         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8054         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8055         Likewise.
8057 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8059         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8060         _dl_init call.
8062 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8064         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8065         from "call _dl_init@PLT".
8066         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8068 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8070         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8071         guarantees.
8073 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8075         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8077 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8079         [BZ #17744]
8080         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8081         strnlen.
8083 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8085         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8086         of multu on MIPSr6.
8087         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8088         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8089         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8090         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8091         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8093 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8095         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8096         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8097         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8098         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8099         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8100         mips32r6/mips64r6.
8101         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8103 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8105         * string/strncat.c (STRNCAT): Simplify implementation.
8107 2014-12-19  David S. Miller  <davem@davemloft.net>
8109         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8110         access the quad as both a long double and as a series of 4 words.
8112         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8113         link_map->l_info array access.
8115 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8117         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8119         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8120         * math/atest-exp2.c (TIMEOUT): Likewise.
8121         * math/atest-sincos.c (TIMEOUT): Likewise.
8123 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8125         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8126         -Wno-error with -fno-builtin-lround.
8128 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8130         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8131         Contains futex constants and functions moved over from ...
8132         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8133         <lowlevellock-futex.h>.
8134         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8135         (lll_timedwait_tid): Add comments and parentheses around macro
8136         arguments.
8138 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8140         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8141         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8142         (__lll_private_flag): Remove.
8143         (lll_futex_wait): Likewise.
8144         (lll_futex_timed_wait): Likewise.
8145         (lll_futex_wake): Likewise.
8146         (lll_futex_requeue): Likewise.
8147         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8148         (__lll_timedwait_tid): Spell out argument names.
8149         (lll_timedwait_tid): Add comments and parentheses around macro
8150         arguments.
8151         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8152         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8154 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8156         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8157         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8158         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8159         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8160         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8161         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8162         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8163         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8164         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8165         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8166         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8167         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8168         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8169         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8170         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8171         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8172         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8173         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8174         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8176 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8178         * sysdeps/x86_64/x32/Makefile: New file.
8180 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8182         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8183         1L with (mp_limb_t) 1.
8185 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8187         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8188         * nptl/libc_pthread_init.c: ... here.
8189         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8190         * nptl/register-atfork.c: ... here.
8192         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8193         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8194         Use assert_perror to check its return value.
8195         (__gai_create_helper_thread): Likewise.
8197         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8199         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8201 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8203         [BZ #17725]
8204         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8205         __profil_counter.
8206         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8207         Likewise.
8208         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8209         Likewise.
8210         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8211         Likewise.
8212         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8213         (profil_counter): Likewise.
8214         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8215         (profil_counter): Likewise.
8216         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8217         Likewise.
8218         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8219         Likewise.
8220         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8221         (profil_counter): Likewise.
8222         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8223         Likewise.
8224         [!__profil_counter] (profil_counter): Define as weak alias of
8225         __profil_counter.
8226         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8227         (profil_counter): Rename to __profil_counter.
8228         [!__profil_counter] (profil_counter): Define as weak alias of
8229         __profil_counter.
8230         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8231         (profil_counter): Rename to __profil_counter.
8232         [!__profil_counter] (profil_counter): Define as weak alias of
8233         __profil_counter.
8234         * sysdeps/posix/profil.c: Update comment referring to
8235         profil_counter.
8236         (__profil): Use __profil_counter instead of profil_counter.
8237         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8238         __profil_counter.  Use __profil_counter_ushort and
8239         __profil_counter_uint in definitions.
8240         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8241         instead of profil_counter_uint and profil_counter_ushort.
8243         [BZ #17722]
8244         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8245         define as weak alias of __inet_makeaddr.
8246         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8247         as weak alias of __inet_addr.
8248         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8249         as weak alias of __inet_pton.  Use libc_hidden_weak.
8250         * include/arpa/inet.h (__inet_pton): Declare.  Use
8251         libc_hidden_proto.
8252         (inet_makeaddr): Don't use libc_hidden_proto.
8253         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8254         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8255         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8256         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8257         Remove variable.
8258         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8259         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8261 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8263         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8265 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8267         * stdio-common/bug-vfprintf-nargs.c (do_test):
8268         Cast value to intptr_t to avoid format warning
8269         for usage with PRIdPTR printing macro.
8271 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8273         * libio/tst-widetext.c (do_test):
8274         Use format type %td instead of %Zd for ptrdiff_t
8275         in order to avoid format warning.
8277 2014-12-17  Andreas Schwab  <schwab@suse.de>
8279         * nscd/mem.c (gc): Add size_t cast to match printf format.
8281 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8283         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8284         (init): Apply PTR_MANGLE to pointers before storing them.
8285         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8286         before using them.
8288 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8290         [BZ #17719]
8291         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8292         define as weak alias of __memrchr.
8293         (__memrchr): Do not define as strong alias of memrchr.
8294         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8295         Remove variable.
8296         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8297         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8298         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8300         [BZ #17717]
8301         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8302         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8303         (if_indextoname): Rename to __if_indextoname and define as weak
8304         alias of __if_indextoname.  Use libc_hidden_weak.
8305         (if_freenameindex): Rename to __if_freenameindex and define as
8306         weak alias of __if_freenameindex.
8307         (if_nameindex): Rename to __if_nameindex and define as weak alias
8308         of __if_nameindex.
8309         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8310         __if_nametoindex and define as weak alias of __if_nametoindex.
8311         Use libc_hidden_weak.
8312         (if_freenameindex): Rename to __if_freenameindex and define as
8313         weak alias of __if_freenameindex.
8314         (if_nameindex): Rename to __if_nameindex and define as weak alias
8315         of __if_nameindex.
8316         (if_indextoname): Rename to __if_indextoname and define as weak
8317         alias of __if_indextoname.  Use libc_hidden_weak.
8318         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8319         __if_nametoindex and define as weak alias of __if_nametoindex.
8320         Use libc_hidden_weak.
8321         (if_freenameindex): Rename to __if_freenameindex and define as
8322         weak alias of __if_freenameindex.  Use libc_hidden_weak.
8323         (if_nameindex_netlink): Use __if_freenameindex instead of
8324         if_freenameindex.
8325         (if_nameindex): Rename to __if_nameindex and define as weak alias
8326         of __if_nameindex.  Use libc_hidden_weak.
8327         (if_indextoname): Rename to __if_indextoname and define as weak
8328         alias of __if_indextoname.  Use libc_hidden_weak.
8329         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8330         libc_hidden_proto.
8331         [!_ISOMAC] (__if_freenameindex): Likewise.
8332         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8333         if_nametoindex.
8334         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8335         variable.
8336         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8337         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8338         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8339         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8340         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8341         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8342         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8344         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8345         Remove variable.
8346         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8347         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8349 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8351         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8352         subscript above bounds'
8354         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8355         bounds.
8357 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8359         * libio/tst-fopenloc.c: Use test-skeleton.c.
8361         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8362         (entry): Rename to ITEM.
8363         (do_test, comp): Adjust.
8365         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8367 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8369         * string/tester.c: Include <libc-internal.h>.
8370         (test_memset): Ignore -Wmemset-transposed-args.
8372 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8374         * misc/tst-mntent2.c (do_test): Fix warning.
8376 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8378         * elf/tst-unique4lib.cc(a): Mark as used.
8380 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8382         [BZ #17630]
8383         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8384         names.
8386 2014-12-16  Allan McRae  <allan@archlinux.org>
8388         * stdio-common/Makefile (tests): Re-add bug26.
8390 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8392         [BZ #17657]
8393         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8394         static array.
8396 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8398         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8399         (__lll_lock_wait): Likewise.
8400         (__lll_timedlock_wait): Likewise.
8401         (__lll_timedwait_tid): Likewise.
8402         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8403         (__lll_robust_timedlock_wait): Likewise.
8404         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8405         (lll_cond_trylock): Likewise.
8406         (__lll_lock): Likewise.
8407         (__lll_robust_lock): Likewise.
8408         (__lll_cond_lock): Likewise.
8409         (lll_robust_cond_lock): Likewise.
8410         (__lll_timedlock): Likewise.
8411         (__lll_robust_timedlock): Likewise.
8412         (__lll_unlock): Likewise.
8413         (__lll_robust_unlock): Likewise.
8414         (lll_wait_tid): Likewise.
8415         (lll_timedwait_tid): Likewise.
8417 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8419         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8421 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8423         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8425 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8427         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8428         * stdio-common/tst-sprintf.c: Likewise.
8430 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8432         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8434 2014-12-15  Jeff Law  <law@redhat.com>
8436         [BZ #16617]
8437         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8438         on the heap.  (CVE-2012-3406)
8439         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8440         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8441         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8443 2014-12-15  Will Newton  <will.newton@linaro.org>
8445         * manual/install.texi: Bump required version of texinfo
8446         to 4.7 from 4.5.
8447         * INSTALL: Regenerated.
8448         * configure.ac: Check for makeinfo version 4.7 and above.
8449         * configure: Regenerated.
8451 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8453         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8454         PREFIX, string constant to insert between directory and name.
8455         * sysdeps/posix/shm_open.c: Update caller.
8456         * sysdeps/posix/shm_unlink.c: Likewise.
8457         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8458         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8459         (SEM_SHM_PREFIX): New macro.
8460         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8461         [$(have-thread-library) = no].
8462         * nptl/Makefile (libpthread-routines): Add shm-directory.
8463         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8464         * sysdeps/nptl/shm-directory.h: New file.
8465         * sysdeps/posix/shm-directory.c
8466         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8467         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8468         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8469         INTERNAL_SYSCALL.
8470         (__where_is_shmfs): Function removed.
8471         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8472         Variables removed.
8473         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8474         Use SHM_GET_NAME.
8475         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8477         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8478         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8479         unconditional for use inside libpthread.
8480         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8482 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8484         * nptl/pthread_getaffinity.c: New file.
8485         * nptl/pthread_setaffinity.c: New file.
8486         * nptl/pthread_getname.c: New file.
8487         * nptl/pthread_setname.c: New file.
8489         * nptl/pthread_create.c (START_THREAD_DEFN)
8490         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8492 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8493             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8495         * resolv/res_send.c (send_vc): Disable warning resplen may
8496         be used uninitialized.
8498 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8500         * nptl/tst-mutex6.c
8501         (ATTR_NULL): New define checks ATTR against NULL.
8502         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8503         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8505 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8507         [BZ #17581]
8508         * malloc/hooks.c
8509         (mem2mem_check): Revert my previous change.
8510         (malloc_check_get_size): Revert my previous change.
8511         (mem2chunk_check): Revert my previous change.
8513 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8515         * sysdeps/posix/shm-directory.c: New file.
8516         * sysdeps/posix/shm-directory.h: New file.
8517         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8518         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8519         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8520         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8521         Transmute EPERM to EACCES.
8522         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8523         from ...
8524         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8525         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8527 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8529         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8530         pointer and cast to uintptr_t.
8531         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8532         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8533         Add cast to avoid warning.
8534         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8536 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8538         * nptl/semaphore.h: Move to ...
8539         * sysdeps/pthread/semaphore.h: ... here.
8540         * Makefile (installed-headers): Change nptl/semaphore.h to
8541         sysdeps/pthread/semaphore.h.
8543 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8545         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8546         generated error format strings.
8548         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8549         -Wformat-extra-args warnings for scanf formats.
8550         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8551         test of zero-length format (duh).
8552         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8553         corner-case scanf format test.
8554         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8555         generated fprintf format string.
8556         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8557         corner-case sprintf format tests.
8558         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8559         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8560         -Wformat-extra-args warnings throughout.
8561         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8562         (CFLAGS-scanf4.c): Likewise.
8563         (CFLAGS-scanf7.c): Likewise.
8564         (CFLAGS-tst-sprintf.c): Likewise.
8565         (CFLAGS-tst-printf.c): Likewise.
8566         (CFLAGS-tst-printfsz.c): Likewise.
8568 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8570         * include/cpio.h: New file.
8571         * include/fmtmsg.h: Likewise.
8573         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8574         corresponding format argument to size_t.
8575         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8576         arguments.
8577         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8578         corresponding format argument to size_t.
8579         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8580         arguments.
8581         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8582         corresponding format argument to size_t.
8583         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8584         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8585         (CFLAGS-tst-mbswcs2.c): Likewise.
8586         (CFLAGS-tst-mbswcs3.c): Likewise.
8587         (CFLAGS-tst-mbswcs4.c): Likewise.
8588         (CFLAGS-tst-mbswcs5.c): Likewise.
8589         (CFLAGS-tst-trans.c): Likewise
8591 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8593         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8594         rather than assuming they won't contain any '%'s.
8596 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8598         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8599         inhibit_loop_to_libcall to avoid recursive calls.
8600         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8601         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8603 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8605         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8606         prototype.
8608 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8610         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8611         integer value instead of boolean.
8613 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8615         * malloc/malloc.c: Fix powerof2 check.
8617 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8619         * locale/programs/locfile.h (maybe_swap_uint32):
8620         Remove inline and add unused attribute.
8622 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8624         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8625         Truncating assembler expression to a .long expression.
8627 2014-12-11  Andreas Schwab  <schwab@suse.de>
8629         * elf/rtld.c (struct map_args): Constify str member.
8630         (do_preload): Constify fname argument.
8632 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8634         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8635         constants definition.
8637 2014-12-11  Andreas Schwab  <schwab@suse.de>
8639         [BZ #16657]
8640         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8641         FORCE_ELISION instead of DO_ELISION.
8642         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8643         Remove.
8644         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8645         Likewise.
8647         * iconvdata/gconv-modules: Remove duplicate entry.
8649 2014-12-11  Will Newton  <will.newton@linaro.org>
8651         Merge gettext 0.19.3 into intl/.
8653         This involves a number of cosmetic changes to comments
8654         and ANSI function definitions and prototypes throughout
8655         all the files. The gettext copyright header is used but
8656         with the date ranges taken from the glibc copy.
8658         * NEWS: Add gettext merge to 2.21.
8659         * intl/bindtextdom.c: Switch to gettext copyright.
8660         Use ANSI definitions and prototypes.
8661         Use gl_* locking primitives rather than __libc_* ones.
8662         Use __builtin_expect rather than __glibc_likely/unlikely.
8663         * intl/dcgettext.c: Switch to gettext copyright.
8664         Use ANSI definitions and prototypes.
8665         * intl/dcigettext.c: Switch to gettext copyright.
8666         Use ANSI definitions and prototypes.
8667         (INTDIV0_RAISES_SIGFPE): New define.
8668         Use gl_* locking primitives rather than __libc_* ones.
8669         Include eval-plural.h instead of plural-eval.c.
8670         Use __builtin_expect rather than __glibc_likely/unlikely.
8671         * intl/dcngettext.c: Switch to gettext copyright.
8672         Use ANSI definitions and prototypes.
8673         * intl/dgettext.c: Likewise.
8674         * intl/dngettext.c: Likewise.
8675         * intl/plural-eval.c: Renamed to...
8676         * intl/eval-plural.h: ...this.
8677         * intl/explodename.c: Switch to gettext copyright.
8678         Use ANSI definitions and prototypes.
8679         (_nl_explode_name): Use strchr instead of __rawmemchr.
8680         * intl/finddomain.c: Switch to gettext copyright.
8681         Use ANSI definitions and prototypes.
8682         Use gl_* locking primitives rather than __libc_* ones.
8683         (_nl_find_domain): Use malloc rather than alloca for
8684         allocation of temporary locale name.
8685         * intl/gettext.c: Switch to gettext copyright.
8686         Use ANSI definitions and prototypes.
8687         * intl/gettextP.h: Switch to gettext copyright.
8688         Use ANSI definitions and prototypes.
8689         Use gl_* locking primitives rather than __libc_* ones.
8690         * intl/gmo.h: Switch to gettext copyright.
8691         (struct sysdep_string): Move struct segment_pair outside of
8692         struct definition.
8693         * intl/hash-string.c: Use ANSI definitions and prototypes.
8694         * intl/hash-string.h: Switch to gettext copyright.
8695         Use ANSI definitions and prototypes.
8696         * intl/l10nflist.c: Switch to gettext copyright.
8697         Use ANSI definitions and prototypes.
8698         (_nl_normalize_codeset): Avoid integer overflow.
8699         * intl/loadinfo.h: Switch to gettext copyright.
8700         Use ANSI definitions and prototypes.
8701         (LIBINTL_DLL_EXPORTED): New define.
8702         (PATH_SEPARATOR): New define.
8703         * intl/loadmsgcat.c: Switch to gettext copyright.
8704         * intl/localealias.c: Switch to gettext copyright.
8705         Use ANSI definitions and prototypes.
8706         (_nl_expand_alias): Use PATH_SEPARATOR.
8707         * intl/ngettext.c: Switch to gettext copyright.
8708         Use ANSI definitions and prototypes.
8709         * intl/plural-exp.c: Likewise.
8710         * intl/plural-exp.h: Switch to gettext copyright.
8711         Use ANSI definitions and prototypes.
8712         (struct expression): Move definition of enum operator outside
8713         of struct definition.
8714         * intl/plural.c: Regenerate.
8715         * intl/plural.y: Switch to gettext copyright.
8716         Use ANSI definitions and prototypes.
8717         Port to bison 3.0.
8718         * intl/textdomain.c: Switch to gettext copyright.
8719         Use ANSI definitions and prototypes.
8720         Use gl_* locking primitives rather than __libc_* ones.
8722 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8724         * debug/warning-nop.c: Add used atrribute.
8726 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8728         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8730         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8731         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8732         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8734 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8735             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8737         [BZ #17634]
8738         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8739         Undefine after defining function.  Define as weak alias of
8740         __wcschr.  Use libc_hidden_weak.
8741         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8742         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8743         (libc_hidden_def): Also define __GI___wcschr alias.
8744         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8745         __wcschr and define as weak alias of __wcschr.
8746         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8747         __wcschr.
8748         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8749         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8750         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8751         libc_hidden_weak.  Do not use libc_hidden_def.
8752         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8753         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8754         __GI___wcschr alias.
8755         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8756         [IS_IN (libc)] (wcschr): Define as macro expanding to
8757         __redirect_wcschr.
8758         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8759         [IS_IN (libc)] (__wcschr_power6): Likewise.
8760         [IS_IN (libc)] (__wcschr_power7): Likewise.
8761         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8762         instead of wcschr.
8763         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8764         __libc_wcschr.
8765         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8766         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8767         __wcschr and define as weak alias of __wcschr.  Use
8768         libc_hidden_builtin_def.
8769         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8770         as weak alias of __wcschr.  Use libc_hidden_weak.
8771         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8772         wcschr.
8773         * time/era.c (_nl_init_era_entries): Likewise.
8774         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8775         variable.
8776         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8777         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8779 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8781         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8782         format for long int variable.
8784 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8786         [BZ #10672]
8787         * manual/search.texi: (Array Sort Function): Remove claim how to make
8788         qsort stable.
8790 2014-12-10  Andreas Schwab  <schwab@suse.de>
8792         [BZ #12847]
8793         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8794         user-controlled locks.
8796 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8798         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8799         register.
8801 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8803         * configure.ac (--disable-werror): New configure option.
8804         (enable_werror): New AC_SUBST.
8805         * configure: Regenerated.
8806         * config.make.in (enable-werror): New variable.
8807         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8808         -Wno-error=undef.
8809         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8810         * manual/install.texi (Configuring and compiling): Document
8811         --disable-werror.
8812         * INSTALL: Regenerated.
8813         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8814         (CFLAGS-tst-chk2.c): Likewise.
8815         (CFLAGS-tst-chk3.c): Likewise.
8816         (CFLAGS-tst-chk4.cc): Likewise.
8817         (CFLAGS-tst-chk5.cc): Likewise.
8818         (CFLAGS-tst-chk6.cc): Likewise.
8819         (CFLAGS-tst-lfschk1.c): Likewise.
8820         (CFLAGS-tst-lfschk2.c): Likewise.
8821         (CFLAGS-tst-lfschk3.c): Likewise.
8822         (CFLAGS-tst-lfschk4.cc): Likewise.
8823         (CFLAGS-tst-lfschk5.cc): Likewise.
8824         (CFLAGS-tst-lfschk6.cc): Likewise.
8826         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8827         (main): Disable -Wdeprecated-declarations around calls to
8828         register_printf_function.
8830         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8831         (do_test): Disable -Wdiv-by-zero around some calls to
8832         fwrite_unlocked and fread_unlocked.
8834         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8835         (DIAG_POP_NEEDS_COMMENT): Likewise.
8836         (_DIAG_STR1): Likewise.
8837         (_DIAG_STR): Likewise.
8838         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8839         * stdio-common/bug21.c: Include <libc-internal.h>.
8840         (do_test): Disable -Wformat around call to sscanf.
8841         * stdio-common/scanf14.c: Include <libc-internal.h>.
8842         (main): Disable -Wformat around some calls to scanf functions.
8844 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8846         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8848 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8850         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8851         stack variable alignment.
8853 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8855         [BZ #17682]
8856         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8857         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8858         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8859         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8860         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8861         __getrlimit instead of getrlimit.
8862         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8863         __gettimeofday instead of gettimeofday.
8864         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8865         Likewise.
8866         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8867         Likewise.
8868         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8869         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8870         Remove variable.
8871         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8872         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8874 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8876         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8877         for wide-character tests.
8879 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8881         * io/openat64.c: #include <libc-internal.h>
8882         (__openat64): Prototypify.  Use ignore_value on MODE.
8883         * io/openat.c: Likewise.
8884         * misc/reboot.c: #include <libc-internal.h>
8885         (reboot): Prototypify.  Use ignore_value on HOWTO.
8886         * misc/ptrace.c: #include <libc-internal.h>
8887         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8889 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8891         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8892         XPG4, UNIX98 and XOPEN2K.
8893         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8894         Remove variable.
8895         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8897 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8899         * libio/fileops.c: Use ISO C style for function definitions.
8900         * libio/iofopen.c: Likewise.
8901         * libio/wfileops.c: Likewise.
8903         [BZ #17653]
8904         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8905         offset on EOF.
8906         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8907         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8908         (fgets_func): Function pointer to fgets and fgetws.
8909         (do_ftell_test): Add test to verify ftell value after read
8910         EOF.
8911         (do_test): Set fgets_func.
8913         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8914         O_TRUNC flag for w and w+ modes.
8915         (do_rewind_test): Likewise.
8916         (do_ftell_test): Likewise.
8917         (do_write_test): Likewise.
8919         [BZ #17647]
8920         * libio/fileops.c (do_ftell): Seek only when there are
8921         unflushed writes.
8922         * libio/wfileops.c (do_ftell_wide): Likewise.
8923         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8924         test case.
8925         (do_one_test): Call it.
8927 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8929         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8930         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8931         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8932         Remove variable.
8933         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8934         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8935         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8937 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8939         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8940         Remove variable.
8941         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8943         [BZ #17668]
8944         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8945         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8946         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8947         __freeifaddrs.  Use libc_hidden_weak.
8948         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8949         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8950         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8951         __freeifaddrs.  Use libc_hidden_weak.
8952         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8953         __getifaddrs and define as weak alias of __getifaddrs.  Use
8954         libc_hidden_weak.
8955         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8956         __freeifaddrs.  Use libc_hidden_weak.
8957         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8958         Remove variable.
8959         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8960         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8962 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8964         [BZ #17601]
8965         * sysdeps/mips/start.S (__start): Use indirect jump to call
8966         __libc_start_main.
8968 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8970         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8972         * nptl/tst-mutex1.c: Include <stdbool.h>.
8973         [!ATTR] (ATTR_NULL): New macro.
8974         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8975         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8976         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8978         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8979         to char *.
8981         [BZ #17665]
8982         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8983         Change conditional to [__USE_MISC].
8985         [BZ #17664]
8986         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8987         fgets_unlocked.
8988         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8989         __fgets_unlocked.
8990         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8991         fgets_unlocked.
8992         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8993         Remove variable.
8994         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8995         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8996         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8997         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8998         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8999         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9000         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9001         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9002         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9004         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9006 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9008         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9009         Remove strpbrk objects.
9010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9011         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9012         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9013         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9014         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9015         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9017         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9018         Remove strcspn objects.
9019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9020         (__libc_ifunc_impl_list): Remove strcspn implementation.
9021         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9022         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9023         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9024         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9026         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9027         Remove strspn objetcs.
9028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9029         (__libc_ifunc_impl_list): Remove strspn implementation.
9030         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9031         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9032         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9033         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9035 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9037         [BZ #17581]
9038         * malloc/hooks.c
9039         (mem2mem_check): Add a terminator to the chain of checking blocks.
9040         (malloc_check_get_size): Use it here.
9041         (mem2chunk_check): Ditto.
9043 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9045         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9046         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9048 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9050         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9052         * nptl/nptl-init.c: Include libc-internal.h.
9053         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9055         * elf/ldconfig.c (search_dir): Expand comment.
9057 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9059         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9060         variable.
9061         (linknamespace-symlist-stdlibs-tests): Likewise.
9062         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9063         instead of $(objpfx)symlist-stdlibs.
9064         (linknamespace-libs-isoc): New variable.
9065         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9066         (linknamespace-libs-ISO): New variable.
9067         (linknamespace-libs-ISO99): Likewise.
9068         (linknamespace-libs-ISO11): Likewise.
9069         (linknamespace-libs-XPG3): Likewise.
9070         (linknamespace-libs-XPG4): Likewise.
9071         (linknamespace-libs-POSIX): Likewise.
9072         (linknamespace-libs-UNIX98): Likewise.
9073         (linknamespace-libs-XOPEN2K): Likewise.
9074         (linknamespace-libs-POSIX2008): Likewise.
9075         (linknamespace-libs-XOPEN2K8): Likewise.
9076         ($(objpfx)symlist-stdlibs): Replace by
9077         $(linknamespace-symlist-stdlibs-tests).  Use
9078         $(linknamespace-libs-$*) as set of libraries.
9079         ($(linknamespace-header-tests)): Update dependencies.  Use
9080         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9081         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9082         * conform/linknamespace.pl: Remove comment about considering
9083         definitions of symbols from irrelevant libraries.
9085 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9087         [BZ #13862]
9088         * elf/dl-tls.c: Include <atomic.h>.
9089         (oom): Remove #ifdef SHARED/#endif.
9090         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9091         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9092         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9093         big enough.
9094         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9095         * nptl/Makefile (tests): Add tst-stack4.
9096         (modules-names): Add tst-stack4mod.
9097         ($(objpfx)tst-stack4): New.
9098         (tst-stack4mod.sos): Likewise.
9099         ($(objpfx)tst-stack4.out): Likewise.
9100         ($(tst-stack4mod.sos)): Likewise.
9101         (clean): Likewise.
9102         * nptl/tst-stack4.c: New file.
9103         * nptl/tst-stack4mod.c: Likewise.
9105 2014-11-27  J. Brown  <jb999@gmx.de>
9107         * sysdeps/x86/bits/string.h: Add recent CPUs.
9109 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9111         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9112         sigblock.
9114         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9115         feof.
9117         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9118         variable.
9120 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9122         * nscd/connections.c: Include libc-internal.h because of macro
9123         usage ignore_value.
9125 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9127         * string/bits/string3.h (__warn_memset_zero_len): Don't
9128         declare for gcc newer than 5.0.
9129         (memset): Don't test for zero-length __LEN for gcc newer than
9130         5.0.
9132 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9134         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9135         size_t for %zu format.
9137         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9138         difference, not %ju.
9140 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9142         * include/libc-internal.h (ignore_value): New macro.
9143         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9144         with ignore_value.
9146         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9147         definition.
9149         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9150         pthread_cleanup_push to void *.
9152         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9153         Undefine.
9155         [BZ #16619]
9156         [BZ #16740]
9157         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9158         instead of 1L << 52.
9160         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9161         * libio/bug-rewind2.c (do_test): Likewise.
9163         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9164         * debug/test-strcpy_chk-ifunc.c: Likewise.
9165         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9166         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9167         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9168         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9169         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9170         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9171         * Rules [$(multi-arch) = no] (tests): Do not filter out
9172         $(tests-ifunc).
9173         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9174         * debug/Makefile (tests-ifunc): Remove variable.
9175         (tests): Do not add $(tests-ifunc).
9176         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9177         (tests): Do not add $(tests-ifunc).
9178         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9179         [TEST_IFUNC]: Remove conditionals.
9180         * string/test-string.h (TEST_IFUNC): Remove macro.
9181         [TEST_IFUNC]: Remove conditionals.
9183         * string/test-strchr.c [!WIDE] (L): New macro.
9184         [WIDE] (L): Likewise.
9185         (check1): Use CHAR instead of char.  Use L on string and character
9186         constants.
9188 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9190         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9191         tests.
9192         * sysdeps/powerpc/bits/atomic.h
9193         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9194         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9195         (atomic_exchange_and_add_acq): Likewise.
9196         (atomic_exchange_and_add_rel): Likewise.
9197         * sysdeps/powerpc/powerpc32/bits/atomic.h
9198         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9199         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9200         * sysdeps/powerpc/powerpc64/bits/atomic.h
9201         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9202         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9204 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9206         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9207         Change synchronization of __sched_fifo_min_prio and
9208         __sched_fifo_max_prio.
9209         * nptl/pthread_mutexattr_getprioceiling.c
9210         (pthread_mutexattr_getprioceiling): Likewise.
9211         * nptl/pthread_mutexattr_setprioceiling.c
9212         (pthread_mutexattr_setprioceiling): Likewise.
9213         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9214         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9215         Likewise.
9217 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9219         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9220         void.
9222 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9224         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9225         third argument const.
9227 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9229         fnmatch: work around GCC compiler warning bug with uninit var
9230         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9231         This works around a bug with x86-64 GCC 4.9.2 and earlier
9232         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9233         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9234         used uninitialized in this function [-Wmaybe-uninitialized]".
9236 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9238         * posix/bug-regex31.c (main): Return RES not 0.
9240 2014-11-25  Anton Blanchard <anton@samba.org>
9242         * sysdeps/powerpc/bits/atomic.h
9243         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9245 2014-11-24  Sterling Augustine  <saugustine@google.com>
9247         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9249 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9251         [BZ #17608]
9252         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9254 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9256         [BZ #17633]
9257         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9258         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9259         variable.
9260         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9261         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9263 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9265         * string/strncpy.c (strncpy): Improve performance by using memset.
9267 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9269         * string/strcpy.c (strcpy):
9270         Improve performance by using strlen and memcpy.
9272 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9274         * string/strcoll_l.c (get_next_seq): __always_inline.
9275         * string/strcoll_l.c (do_compare): __always_inline.
9277 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9279         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9280         defined.
9281         * include/mqueue.h: Likewise.
9282         * include/stdlib.h: Likewise.
9284         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9285         (get_null_defines): Adjust.
9286         * sunrpc/Makefile: Adjust comment.
9287         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9288         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9289         (CFLAGS-interp.c): Likewise.
9290         (CFLAGS-ldconfig.c): Likewise.
9291         (CPPFLAGS-.os): Likewise.
9292         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9293         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9294         * extra-modules.mk (extra-modules.mk): Likewise.
9295         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9296         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9297         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9298         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9299         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9300         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9301         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9302         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9303         * iconvdata/Makefile (CPPFLAGS): Likewise.
9304         (cpp-srcs-left): Add libof for all iconvdata routines.
9305         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9306         * include/assert.h: Likewise.
9307         * include/ctype.h: Likewise.
9308         * include/errno.h: Likewise.
9309         * include/libc-symbols.h: Likewise.
9310         * include/math.h: Likewise.
9311         * include/netdb.h: Likewise.
9312         * include/resolv.h: Likewise.
9313         * include/stdio.h: Likewise.
9314         * include/stdlib.h: Likewise.
9315         * include/string.h: Likewise.
9316         * include/sys/stat.h: Likewise.
9317         * include/wctype.h: Likewise.
9318         * intl/l10nflist.c: Likewise.
9319         * libidn/idn-stub.c: Likewise.
9320         * libio/libioP.h: Likewise.
9321         * nptl/libc_multiple_threads.c: Likewise.
9322         * nptl/pthreadP.h: Likewise.
9323         * posix/regex_internal.h: Likewise.
9324         * resolv/res_hconf.c: Likewise.
9325         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9326         * sysdeps/arm/memmove.S: Likewise.
9327         * sysdeps/arm/sysdep.h: Likewise.
9328         * sysdeps/generic/_itoa.h: Likewise.
9329         * sysdeps/generic/symbol-hacks.h: Likewise.
9330         * sysdeps/gnu/errlist.awk: Likewise.
9331         * sysdeps/gnu/errlist.c: Likewise.
9332         * sysdeps/i386/i586/memcpy.S: Likewise.
9333         * sysdeps/i386/i586/memset.S: Likewise.
9334         * sysdeps/i386/i686/memcpy.S: Likewise.
9335         * sysdeps/i386/i686/memmove.S: Likewise.
9336         * sysdeps/i386/i686/mempcpy.S: Likewise.
9337         * sysdeps/i386/i686/memset.S: Likewise.
9338         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9339         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9340         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9341         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9342         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9343         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9344         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9345         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9346         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9347         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9348         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9349         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9350         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9351         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9352         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9353         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9354         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9355         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9356         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9357         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9358         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9359         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9360         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9361         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9362         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9363         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9364         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9365         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9366         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9367         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9368         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9369         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9370         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9371         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9372         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9373         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9374         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9375         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9376         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9377         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9378         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9379         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9380         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9381         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9382         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9383         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9384         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9385         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9386         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9387         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9388         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9389         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9390         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9391         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9392         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9393         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9394         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9395         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9396         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9397         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9398         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9399         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9400         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9401         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9402         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9403         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9404         * sysdeps/posix/closedir.c: Likewise.
9405         * sysdeps/posix/opendir.c: Likewise.
9406         * sysdeps/posix/readdir.c: Likewise.
9407         * sysdeps/posix/rewinddir.c: Likewise.
9408         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9409         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9410         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9411         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9412         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9413         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9414         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9415         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9416         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9418         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9419         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9420         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9421         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9422         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9423         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9424         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9425         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9426         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9427         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9428         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9429         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9430         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9431         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9432         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9433         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9434         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9435         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9436         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9437         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9438         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9439         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9440         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9443         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9444         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9445         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9446         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9447         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9448         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9449         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9450         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9451         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9452         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9453         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9454         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9455         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9456         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9457         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9458         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9459         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9460         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9461         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9462         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9463         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9464         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9465         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9466         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9467         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9468         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9469         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9470         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9471         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9472         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9473         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9474         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9475         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9476         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9477         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9478         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9479         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9480         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9481         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9482         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9483         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9484         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9485         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9486         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9487         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9488         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9489         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9490         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9491         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9492         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9493         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9494         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9495         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9496         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9497         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9498         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9499         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9500         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9501         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9502         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9503         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9504         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9505         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9506         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9507         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9508         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9509         * sysdeps/unix/alpha/sysdep.S: Likewise.
9510         * sysdeps/unix/alpha/sysdep.h: Likewise.
9511         * sysdeps/unix/make-syscalls.sh: Likewise.
9512         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9513         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9514         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9515         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9516         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9517         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9518         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9519         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9520         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9521         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9522         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9523         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9524         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9525         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9526         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9527         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9528         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9529         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9530         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9531         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9532         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9533         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9534         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9535         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9536         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9537         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9538         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9541         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9542         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9543         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9544         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9545         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9546         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9547         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9548         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9549         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9550         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9551         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9552         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9553         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9554         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9555         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9556         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9557         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9558         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9559         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9560         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9561         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9562         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9563         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9564         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9565         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9566         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9567         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9568         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9570         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9571         * sysdeps/x86_64/memcpy.S: Likewise.
9572         * sysdeps/x86_64/memmove.c: Likewise.
9573         * sysdeps/x86_64/memset.S: Likewise.
9574         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9575         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9576         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9577         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9578         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9579         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9580         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9581         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9582         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9583         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9584         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9585         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9586         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9587         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9588         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9589         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9590         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9591         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9592         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9593         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9594         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9595         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9596         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9597         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9598         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9599         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9600         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9601         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9602         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9603         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9604         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9605         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9606         * sysdeps/x86_64/strcmp.S: Likewise.
9608         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9610         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9611         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9612         * elf/rtld-Rules: Likewise.
9613         * elf/setup-vdso.h: Likewise.
9614         * include/assert.h: Likewise.
9615         * include/bits/stdlib-float.h: Likewise.
9616         * include/errno.h: Likewise.
9617         * include/sys/stat.h: Likewise.
9618         * include/unistd.h: Likewise.
9619         * sysdeps/aarch64/setjmp.S: Likewise.
9620         * sysdeps/alpha/setjmp.S: Likewise.
9621         * sysdeps/arm/__longjmp.S: Likewise.
9622         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9623         * sysdeps/arm/setjmp.S: Likewise.
9624         * sysdeps/arm/sysdep.h: Likewise.
9625         * sysdeps/generic/_itoa.h: Likewise.
9626         * sysdeps/generic/dl-sysdep.h: Likewise.
9627         * sysdeps/generic/ldsodefs.h: Likewise.
9628         * sysdeps/i386/dl-tls.h: Likewise.
9629         * sysdeps/i386/setjmp.S: Likewise.
9630         * sysdeps/m68k/setjmp.c: Likewise.
9631         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9632         * sysdeps/mach/hurd/opendir.c: Likewise.
9633         * sysdeps/posix/getcwd.c: Likewise.
9634         * sysdeps/posix/opendir.c: Likewise.
9635         * sysdeps/posix/profil.c: Likewise.
9636         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9637         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9638         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9639         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9640         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9641         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9642         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9643         * sysdeps/s390/dl-tls.h: Likewise.
9644         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9645         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9646         * sysdeps/sh/sh3/setjmp.S: Likewise.
9647         * sysdeps/sh/sh4/setjmp.S: Likewise.
9648         * sysdeps/unix/alpha/sysdep.h: Likewise.
9649         * sysdeps/unix/arm/sysdep.S: Likewise.
9650         * sysdeps/unix/i386/sysdep.S: Likewise.
9651         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9652         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9653         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9654         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9655         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9656         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9657         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9658         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9659         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9660         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9661         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9662         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9663         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9666         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9667         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9668         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9669         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9670         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9671         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9672         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9673         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9674         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9675         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9676         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9677         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9678         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9679         * sysdeps/x86_64/setjmp.S: Likewise.
9681         * include/math.h: Use IS_IN instead of IS_IN_libm.
9682         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9683         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9684         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9685         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9686         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9687         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9688         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9689         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9690         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9691         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9692         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9693         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9694         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9695         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9696         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9697         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9698         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9699         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9700         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9701         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9702         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9703         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9704         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9705         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9706         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9707         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9708         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9709         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9710         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9711         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9712         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9713         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9714         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9716         Likewise.
9717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9718         Likewise.
9719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9720         Likewise.
9721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9722         Likewise.
9723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9724         Likewise.
9725         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9726         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9727         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9728         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9729         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9730         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9736         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9737         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9738         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9739         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9740         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9741         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9742         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9743         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9744         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9745         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9746         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9747         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9748         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9749         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9751         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9753         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9754         * nptl/pthreadP.h: Likewise.
9755         * nptl_db/structs.def: Likewise.
9756         * sysdeps/arm/sysdep.h: Likewise.
9757         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9758         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9759         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9760         * sysdeps/unix/alpha/sysdep.h: Likewise.
9761         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9762         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9763         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9764         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9765         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9766         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9767         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9768         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9769         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9770         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9771         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9772         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9773         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9774         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9777         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9778         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9779         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9780         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9781         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9782         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9783         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9784         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9785         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9786         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9788         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9789         * nptl/pthreadP.h: Likewise.
9790         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9791         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9792         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9793         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9794         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9795         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9796         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9797         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9798         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9799         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9800         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9801         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9803         Likewise.
9804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9805         Likewise.
9806         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9807         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9808         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9809         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9810         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9811         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9812         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9813         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9815         * dlfcn/dladdr.c: Use IS_IN.
9816         * dlfcn/dladdr1.c: Likewise.
9817         * dlfcn/dlclose.c: Likewise.
9818         * dlfcn/dlerror.c: Likewise.
9819         * dlfcn/dlinfo.c: Likewise.
9820         * dlfcn/dlmopen.c: Likewise.
9821         * dlfcn/dlopen.c: Likewise.
9822         * dlfcn/dlsym.c: Likewise.
9823         * dlfcn/dlvsym.c: Likewise.
9825         * include/ifaddrs.h: Use IS_IN.
9826         * inet/check_pf.c: Likewise.
9827         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9828         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9830         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9831         IS_IN_ldconfig.
9832         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9833         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9835         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9836         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9837         IS_IN (libc).
9839         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9841         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9842         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9843         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9844         * include/libc-symbols.h (IS_IN_LIB): New macro.
9845         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9846         * include/netdb.h: Likewise.
9847         * include/stap-probe.h: Remove all uses of IN_LIB.
9849         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9850         instead of IN_MODULE.
9851         * include/libc-symbols.h (IN_MODULE): Define using
9852         MODULE_NAME.
9853         (PASTE_NAME, PASTE_NAME1): New macros.
9854         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9855         of IN_LIB.
9856         (STAP_PROBE_ASM): Likewise.
9858 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9860         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9861         __mach_init in dlopened libc.
9863 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9865         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9866         * sysdeps/arm/preconfigure: Regenerate.
9868 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9870         * nptl/pthread_create.c (__pthread_create_2_1): Set
9871         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9872         when copying values from IATTR into PD.
9874 2014-11-21  Will Newton  <will.newton@linaro.org>
9875             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9877         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9878         Refactor inline-asm.  Also add comment.
9880         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9881         ElfW macro instead of hardcoded Elf64 types.
9882         (la_aarch64_gnu_pltenter): Likewise.
9883         * sysdeps/aarch64/dl-machine.h
9884         (elf_machine_runtime_setup): Use ElfW(Addr).
9886         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9887         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9888         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9889         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9890         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9891         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9892         (R_AARCH64_TLS_DTPMOD): This.
9893         (R_AARCH64_TLS_DTPREL64): Rename to ...
9894         (R_AARCH64_TLS_DTPREL): This.
9895         (R_AARCH64_TLS_TPREL64): Rename to ...
9896         (R_AARCH64_TLS_TPREL): This.
9897         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9898         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9899         R_AARCH64_TLS_TPREL64.
9900         (elf_machine_rela): Likewise.
9902 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9904         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9905         by setting it to 0.  64b atomics are not supported currently.
9907 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9909         [BZ #16469]
9910         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9911         search domain names.
9913 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9915         [BZ #16469]
9916         * NEWS: Update.
9917         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9918         trailing dot.
9919         * posix/tst-getaddrinfo5.c: New.
9920         * posix/Makefile (tests): Add it.
9922 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9924         [BZ #14498]
9925         * NEWS: Fixed.
9926         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9927         after parsing line but before break_if_match.
9928         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9929         if there is a protocol mismatch.
9931 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9933         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9934         because the potential race is on the user-supplied stream.
9936 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9938         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9939         string literal if not passed a buffer.
9940         * manual/job.texi (ctermid): Update reasoning, note deviation
9941         from posix, suggest mtasurace when not passed a buffer, for
9942         future non-preliminary safety notes.
9944 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9946         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9947         of not passing it a buffer.
9948         Reported by Peng Haitao.
9950 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9952         * manual/Makefile ($(objpfx)stamp-summary): Require
9953         check-safety.sh to pass.
9954         * manual/check-safety.sh: Wish for verification that every
9955         @deftypefn and @deftypefun is followed by a @safety remark.
9957 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9959         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9961         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9962         PTHREAD_CANCEL_ASYNCHRONOUS.
9963         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9964         send SIGCANCEL.
9966         * nptl/default-sched.h: New file.
9967         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9968         * nptl/pthread_create.c: Include it.
9969         (__pthread_create_2_1): Use collect_default_sched instead of making
9970         Linux syscalls here directly.
9972 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9974         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9975         __pthread_once): Use C11 atomics.
9977 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9979         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9981 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9983         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9984         atomic_thread_fence_acquire, atomic_thread_fence_release,
9985         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9986         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9987         atomic_compare_exchange_weak_relaxed,
9988         atomic_compare_exchange_weak_acquire,
9989         atomic_compare_exchange_weak_release,
9990         atomic_exchange_acquire, atomic_exchange_release,
9991         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9992         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9993         atomic_fetch_and_acquire,
9994         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9996 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9998         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9999         USE_ATOMIC_COMPILER_BUILTINS): Define.
10000         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10001         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10002         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10003         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10004         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10005         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10006         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10007         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10008         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10009         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10010         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10011         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10012         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10013         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10014         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10015         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10016         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10017         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10018         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10019         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10020         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10021         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10022         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10023         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10024         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10025         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10026         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10027         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10028         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10029         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10030         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10031         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10032         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10033         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10034         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10035         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10036         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10037         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10038         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10039         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10041 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10043         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10044         the sched_priority value here.  It was already checked when the user
10045         called pthread_attr_setschedparam.
10047         * nptl/tst-bad-schedattr.c: New file.
10048         * nptl/Makefile (tests): Add it.
10050 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10051             Florian Weimer  <fweimer@redhat.com>
10052             Joseph Myers  <joseph@codesourcery.com>
10053             Adam Conrad  <adconrad@0c3.net>
10054             Andreas Schwab  <schwab@suse.de>
10055             Brooks  <bmoses@google.com>
10057         [BZ #17625]
10058         * wordexp-test.c (__dso_handle): Add prototype.
10059         (__register_atfork): Likewise.
10060         (__app_register_atfork): New function.
10061         (registered_forks): New global.
10062         (register_fork): New function.
10063         (test_case): Add 3 new tests for WRDE_CMDSUB.
10064         (main): Call __app_register_atfork.
10065         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10066         fork count is non-zero fail the test.
10067         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10068         is set.
10069         (parse_dollars): Remove check for WRDE_NOCMD.
10070         (parse_dquote): Likewise.
10072 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10074         * Makeconfig (built-modules): List non-library modules to be
10075         built.
10076         (module-cppflags): Include libc-modules.h for
10077         everything except shlib-versions.v.i.
10078         (CPPFLAGS): Use it.
10079         (before-compile): Add libc-modules.h.
10080         ($(common-objpfx)libc-modules.h,
10081         $(common-objpfx)libc-modules.stmp): New targets.
10082         (common-generated): Add libc-modules.h and libc-modules.stmp.
10083         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10084         * include/libc-symbols.h: Don't include libc-modules.h.
10085         * include/libc-modules.h: Remove file.
10086         * scripts/gen-libc-modules.awk: New script to generate
10087         libc-modules.h.
10088         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10089         Depend on libc-modules.stmp.
10091         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10093         * Makeconfig (in-module): Get value of libof set for the
10094         translation unit.
10095         (CPPFLAGS): Use $(in-module).
10096         * Makerules: Don't suffix routine names for nonlib.
10097         * include/libc-modules.h: New file.
10098         * include/libc-symbols.h: Include libc-modules.h
10099         (IS_IN): New macro to replace IS_IN_* macros.
10100         * elf/Makefile: Set libof-* for each routine.
10101         * elf/rtld-Rules: Likewise.
10102         * extra-modules.mk: Likewise.
10103         * iconv/Makefile: Likewise.
10104         * iconvdata/Makefile: Likewise.
10105         * locale/Makefile: Likewise.
10106         * malloc/Makefile: Likewise.
10107         * nss/Makefile: Likewise.
10108         * sysdeps/gnu/Makefile: Likewise.
10109         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10110         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10111         * sysdeps/s390/s390-64/Makefile: Likewise.
10112         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10113         CPPFLAGS for nscd instead of nonlib.
10115 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10117         * nptl/createthread.c: New file.
10119         * nptl/createthread.c: Moved ...
10120         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10122         * nptl/createthread.c: Add proper top-line comment.
10123         (do_clone): Folded into ...
10124         (create_thread): ... here.  Take new arguments STOPPED_START and
10125         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10126         increment __nptl_threads, do event-reporting logic, do
10127         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10128         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10129         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10130         just send SIGCANCEL.
10131         * nptl/pthread_create.c: Forward-declare create_thread before
10132         including createthread.c.
10133         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10134         declaration, and new macro START_THREAD_SELF to replace argument.
10135         Remove return statement.
10136         (report_thread_creation): New function.
10137         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10138         synchronization logic, and __nptl_nthreads increment here, around
10139         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10140         PD->parent_cancelhandling here, before create_thread.  When
10141         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10142         __deallocate_stack, and ENOMEM translation here.
10144 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10146         [BZ #17616]
10147         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10148         (mptwo): Rename to __mptwo.
10149         (__inv): Use __mptwo instead of mptwo.
10150         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10151         (mptwo): Rename to __mptwo.
10152         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10153         of mpone and __mptwo instead of mptwo.
10154         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10155         instead of mpone.
10156         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10157         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10158         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10159         of mpone and __mptwo instead of mptwo.
10160         (__mpranred): Use __mpone instead of mpone.
10161         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10162         variable.
10163         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10164         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10165         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10166         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10167         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10168         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10169         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10170         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10171         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10172         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10173         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10174         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10175         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10176         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10177         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10178         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10179         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10180         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10181         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10183 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10185         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10186         replace BSD Handler xref with BSD Signal Handling.
10188 2014-11-17  Richard Henderson  <rth@redhat.com>
10190         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10191         (_FP_PACK_RAW_2): Remove.
10192         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10193         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10194         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10195         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10196         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10197         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10198         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10199         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10200         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10201         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10202         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10203         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10204         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10205         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10206         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10207         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10209 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10211         * signal/signal.h [__USE_MISC]
10212         (struct sigvec): Remove type.
10213         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10214         (sigvec): Remove declaration.
10215         * sysdeps/posix/sigvec.c: Moved ...
10216         * signal/sigvec.c: ... here, replacing old file.
10217         (struct sigvec): New type, copied from old signal.h definition.
10218         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10219         (__sigvec): Convert definition to prototype.
10220         (sigvec): Replace weak_alias with compat_symbol.
10221         * signal/Versions (libc: GLIBC_2.21): New version set.
10222         * include/signal.h: Remove __sigvec declaration.
10223         * sysdeps/unix/bsd/sigvec.c: Remove file.
10224         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10225         * manual/signal.texi (BSD Handler): Remove subsection.
10226         Move siginterrupt up to ...
10227         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10228         (Blocking in BSD): Fold subsection into its parent.
10229         * NEWS: Mention sigvec removal.
10231 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10233         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10234         (DLA_FMS): Make definition conditional only on [__FMA4__].
10235         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10236         definition.
10238         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10239         Make definition conditional only on [PROF].
10240         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10241         definition.
10242         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10243         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10245         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10246         !__GNUC__].
10247         * include/signal.h (__sigpause): Move declaration above call to
10248         libc_hidden_proto.
10249         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10250         variable.
10251         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10252         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10254 2014-11-14  David S. Miller  <davem@davemloft.net>
10256         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10257         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10259 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10261         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10262         * configure: Regenerated.
10263         * manual/install.texi (Tools for Compilation): Document a
10264         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10265         compiler verified to work.
10266         * INSTALL: Regenerated.
10268         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10269         redeclare with asm name.
10270         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10271         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10272         including <string.h>.
10273         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10274         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10275         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10276         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10277         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10278         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10279         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10281 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10283         * stdlib/strtol.c (__strtol): Use prototype definition.
10285         [BZ #17594]
10286         * stdlib/strtol.c (SYM__): New macro.
10287         (SYM__1): Likewise.
10288         (__strtol): Likewise.
10289         (strtol): Rename to __strtol and define as weak alias of
10290         __strtol.  Use libc_hidden_weak.
10292 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10294         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10295         Use numbered labels in inline assembly.
10297 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10299         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10300         Add setjmp LIBC_PROBE.
10301         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10302         Likewise.
10303         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10304         Add longjmp, longjmp_target LIBC_PROBE.
10305         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10306         Likewise.
10308 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10310         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10311         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10312         to get rid of unused variable warning.
10314 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10316         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10317         Check for unwind_backtrace ==  NULL only in SHARED case.
10318         (__backchain_backtrace): Compile only in SHARED case.
10319         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10320         Likewise.
10321         (__backchain_backtrace): Declare as static.
10323 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10325         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10326         (__libc_multiple_threads_ptr): Variable moved ...
10327         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10329 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10331         * conform/GlibcConform.pm: New file.
10332         * conform/conformtest.pl: Use GlibcConform module.
10333         * conform/linknamespace.pl: New file.
10334         * conform/list-header-symbols.pl: Likewise.
10335         * conform/Makefile (linknamespace-symlists-base): New variable.
10336         (linknamespace-symlists-tests): Likewise.
10337         (linknamespace-header-base): Likewise.
10338         (linknamespace-header-tests): Likewise.
10339         (tests-special): Add new tests.
10340         ($(linknamespace-symlists-tests)): New rule.
10341         (linknamespace-libs): New variable.
10342         ($(objpfx)symlist-stdlibs): New rule.
10343         ($(linknamespace-header-tests)): Likewise.
10344         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10345         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10346         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10347         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10348         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10349         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10350         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10351         (test-xfail-ISO/math.h/linknamespace): Likewise.
10352         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10353         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10354         (test-xfail-ISO/time.h/linknamespace): Likewise.
10355         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10356         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10357         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10358         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10359         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10360         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10361         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10362         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10363         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10364         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10365         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10366         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10367         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10368         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10369         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10370         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10371         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10372         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10373         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10374         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10375         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10376         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10377         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10378         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10379         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10380         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10381         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10382         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10383         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10384         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10385         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10386         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10387         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10388         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10389         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10390         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10391         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10392         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10393         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10394         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10395         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10396         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10397         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10398         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10399         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10400         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10401         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10402         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10403         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10404         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10405         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10406         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10407         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10408         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10409         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10410         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10411         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10412         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10413         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10414         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10415         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10416         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10417         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10418         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10419         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10420         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10421         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10422         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10423         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10424         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10425         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10426         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10427         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10428         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10429         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10430         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10431         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10432         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10433         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10434         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10435         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10436         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10437         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10438         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10439         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10440         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10441         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10442         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10443         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10444         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10445         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10446         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10447         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10448         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10449         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10450         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10451         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10452         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10453         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10454         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10455         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10456         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10457         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10458         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10459         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10460         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10461         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10462         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10463         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10464         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10465         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10466         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10467         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10468         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10469         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10470         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10471         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10472         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10473         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10474         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10475         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10476         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10477         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10478         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10479         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10480         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10481         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10482         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10483         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10484         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10485         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10486         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10487         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10488         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10489         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10490         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10491         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10492         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10493         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10494         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10495         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10496         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10497         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10498         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10499         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10500         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10501         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10502         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10503         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10504         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10506         [BZ #17589]
10507         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10508         of fgets_unlocked.
10510         [BZ #17585]
10511         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10512         (memmem): Rename to __memmem and define as weak alias of
10513         __memmem.  Use libc_hidden_weak.
10514         (__memmem): Use libc_hidden_def.
10515         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10516         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10517         memmem.
10519         [BZ #17582]
10520         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10521         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10522         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10523         and define as weak alias of __fgets_unlocked.  Use
10524         libc_hidden_weak.
10525         (__fgets_unlocked): Use libc_hidden_def.
10526         * include/stdio.h (__fgets_unlocked): Declare.  Use
10527         libc_hidden_proto.
10528         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10529         __fgets_unlocked instead of fgets_unlocked.
10530         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10531         (GET_NPROCS_CONF_PARSER): Likewise.
10532         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10533         (GET_NPROCS_CONF_PARSER): Likewise.
10535         [BZ #17574]
10536         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10537         weak alias of __wmemset.  Use libc_hidden_weak.
10538         (__wmemset): Use libc_hidden_def.
10539         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10540         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10541         of wmemset.
10543         [BZ #17573]
10544         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10545         with asm name __mempcpy.
10546         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10548         [BZ #17572]
10549         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10550         and define as weak alias of __rawmemchr.
10551         (__rawmemchr): Do not define as strong alias of rawmemchr.
10553         [BZ #17571]
10554         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10555         alias of __qsort_r.
10556         (qsort): Call __qsort_r instead of qsort_r.
10557         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10558         (__qsort_r): Declare.  Call libc_hidden_proto.
10559         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10560         instead of qsort_r.
10561         * nscd/gai.c (__qsort_r): Define to qsort_r.
10562         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10563         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10564         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10566         [BZ #17570]
10567         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10568         define as weak alias of __malloc_info.
10570         [BZ #17584]
10571         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10572         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10573         (__rewinddir): Use libc_hidden_def.
10574         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10575         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10576         (__rewinddir): Use libc_hidden_def.
10577         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10578         weak alias of __rewinddir.  Don't use libc_hidden_def.
10579         (__rewinddir): Use libc_hidden_def.
10580         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10581         (__rewinddir): Use libc_hidden_proto.
10582         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10583         rewinddir.
10584         (__getcwd): Use __rewinddir instead of rewinddir.
10586         [BZ #17583]
10587         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10588         alias of __fileno.  Use libc_hidden_weak.
10589         (__fileno): Use libc_hidden_def.
10590         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10591         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10592         alias of __ftello.
10593         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10594         __ftello.
10595         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10596         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10597         libc_hidden_def.
10598         (fread_unlocked): Don't use libc_hidden_ver.
10599         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10600         and define as weak alias of __fread_unlocked.  Don't use
10601         libc_hidden_def.
10602         (__fread_unlocked): Use libc_hidden_def.
10603         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10604         (ftello): Don't use libc_hidden_proto.
10605         (__ftello): Declare.  Use libc_hidden_proto.
10606         (fread_unlocked): Don't use libc_hidden_proto.
10607         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10608         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10609         and __ftello instead of fileno, fread_unlocked and ftello.
10611 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10613         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10614         GOT12.
10615         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10616         Likewise.
10617         (_dl_start_user): Likewise.
10618         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10620 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10621             Siddhesh Poyarekar  <siddhesh@redhat.com>
10623         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10624         Move argv and envp down instead of moving argc up.
10625         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10627 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10629         [BZ #17506]
10630         * test-skeleton.c (main): Return successful if one of
10631         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10632         * string/tst-strcoll-overflow.c: Define expected status.
10634 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10636         [BZ #17475]
10637         * locale/iso-639.def: Define Bhili and Tulu language codes.
10639 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10641         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10643 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10645         [BZ #17555]
10646         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10648 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10650         * configure.ac: Updated check of minimal required version to
10651         2.22.
10652         * manual/install.texi (Tools for Compilation): Updated version
10653         number.
10654         * configure: Regenerated.
10655         * INSTALL: Likewise.
10657 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10659         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10660         __tls_get_addr.
10662 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10664         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10665         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10666         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10667         libc_hidden_weak.
10668         (waitpid): Define as alias of __waitpid.
10669         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10670         __waitpid.
10671         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10672         libc_hidden_weak.
10673         (waitpid): Define as alias of __waitpid.
10674         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10675         __libc_waitpid alias.
10676         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10677         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10678         Likewise.
10679         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10680         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10681         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10682         alias.
10683         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10684         __waitpid.
10685         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10686         libc_hidden_weak.
10687         (waitpid): Define as alias of __waitpid.
10689 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10691         * manual/llio.texi: Add comment that write safety has been
10692         fixed in Linux.
10694         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10695         (localplt-build-dso): Add elf/ld.so.
10696         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10697         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10698         and free for ld.so.
10699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10700         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10702         Likewise.
10703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10704         Likewise.
10705         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10706         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10707         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10708         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10709         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10710         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10711         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10712         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10713         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10714         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10715         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10717 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10719         [BZ #14132]
10720         * include/libc-symbols.h (INTUSE): Remove macro.
10721         (INTDEF): Likewise.
10722         (INTVARDEF): Likewise.
10723         (_INTVARDEF): Likewise.
10724         (INTDEF2): Likewise.
10725         (INTVARDEF2): Likewise.
10726         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10727         rtld_hidden_def instead of INTVARDEF.
10728         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10729         (_dl_starting_up_internal): Remove declaration.
10730         (_dl_starting_up): Use rtld_hidden_proto.
10731         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10732         declaration.
10733         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10734         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10735         _dl_starting_up.
10736         * elf/dl-writev.h (_dl_writev): Likewise.
10737         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10738         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10739         _dl_starting_up_internal.
10741 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10743         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10744         test-skeleton.c.
10746 2014-11-05  Will Newton  <will.newton@linaro.org>
10748         * benchtests/Makefile: (bench-malloc): Add malloc thread
10749         scalability benchmark.
10750         * benchtests/bench-malloc-threads.c: New file.
10752 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10754         * sysdeps/aarch64/strchrnul.S: New file.
10756 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10758         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10759         definition.
10760         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10761         Likwise.
10762         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10763         Likewise.
10764         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10765         Likewise.
10766         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10767         Likewise.
10768         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10769         Likewise.
10771 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10773         * catgets/test-gencat.c: Use test-skeleton.c.
10774         * catgets/tst-catgets.c: Likewise.
10775         * csu/tst-empty.c: Likewise.
10776         * elf/tst-audit2.c: Likewise.
10777         * elf/tst-global1.c: Likewise.
10778         * elf/tst-pathopt.c: Likewise.
10779         * elf/tst-piemod1.c: Likewise.
10780         * elf/tst-tls10.c: Likewise.
10781         * elf/tst-tls11.c: Likewise.
10782         * elf/tst-tls12.c: Likewise.
10783         * gnulib/tst-gcc.c: Likewise.
10784         * iconvdata/tst-e2big.c: Likewise.
10785         * iconvdata/tst-loading.c: Likewise.
10786         * iconv/tst-iconv1.c: Likewise.
10787         * iconv/tst-iconv2.c: Likewise.
10788         * inet/test-inet6_opt.c: Likewise.
10789         * inet/tst-gethnm.c: Likewise.
10790         * inet/tst-network.c: Likewise.
10791         * inet/tst-ntoa.c: Likewise.
10792         * intl/tst-codeset.c: Likewise.
10793         * intl/tst-gettext2.c: Likewise.
10794         * intl/tst-gettext3.c: Likewise.
10795         * intl/tst-ngettext.c: Likewise.
10796         * intl/tst-translit.c: Likewise.
10797         * io/test-stat.c: Likewise.
10798         * libio/test-fmemopen.c: Likewise.
10799         * libio/tst-freopen.c: Likewise.
10800         * libio/tst-sscanf.c: Likewise.
10801         * libio/tst-ungetwc1.c: Likewise.
10802         * libio/tst-ungetwc2.c: Likewise.
10803         * libio/tst-widetext.c: Likewise.
10804         * localedata/tst-ctype.c: Likewise.
10805         * localedata/tst-digits.c: Likewise.
10806         * localedata/tst-leaks.c: Likewise.
10807         * localedata/tst-mbswcs1.c: Likewise.
10808         * localedata/tst-mbswcs2.c: Likewise.
10809         * localedata/tst-mbswcs3.c: Likewise.
10810         * localedata/tst-mbswcs4.c: Likewise.
10811         * localedata/tst-mbswcs5.c: Likewise.
10812         * localedata/tst-setlocale.c: Likewise.
10813         * localedata/tst-trans.c: Likewise.
10814         * localedata/tst-wctype.c: Likewise.
10815         * localedata/tst-xlocale1.c: Likewise.
10816         * login/tst-grantpt.c: Likewise.
10817         * malloc/tst-calloc.c: Likewise.
10818         * malloc/tst-malloc.c: Likewise.
10819         * malloc/tst-mallocstate.c: Likewise.
10820         * malloc/tst-mcheck.c: Likewise.
10821         * malloc/tst-mtrace.c: Likewise.
10822         * malloc/tst-obstack.c: Likewise.
10823         * math/atest-exp2.c: Likewise.
10824         * math/atest-exp.c: Likewise.
10825         * math/atest-sincos.c: Likewise.
10826         * math/test-matherr.c: Likewise.
10827         * math/test-misc.c: Likewise.
10828         * math/test-powl.c: Likewise.
10829         * math/tst-definitions.c: Likewise.
10830         * misc/tst-dirname.c: Likewise.
10831         * misc/tst-efgcvt.c: Likewise.
10832         * misc/tst-fdset.c: Likewise.
10833         * misc/tst-hsearch.c: Likewise.
10834         * misc/tst-mntent2.c: Likewise.
10835         * nptl/tst-sem7.c: Likewise.
10836         * nptl/tst-sem8.c: Likewise.
10837         * nptl/tst-sem9.c: Likewise.
10838         * nss/test-netdb.c: Likewise.
10839         * posix/tst-fnmatch.c: Likewise.
10840         * posix/tst-getlogin.c: Likewise.
10841         * posix/tst-gnuglob.c: Likewise.
10842         * posix/tst-mmap.c: Likewise.
10843         * pwd/tst-getpw.c: Likewise.
10844         * resolv/tst-inet_ntop.c: Likewise.
10845         * rt/tst-timer.c: Likewise.
10846         * stdio-common/test-fseek.c: Likewise.
10847         * stdio-common/test-popen.c: Likewise.
10848         * stdio-common/test-vfprintf.c: Likewise.
10849         * stdio-common/tst-cookie.c: Likewise.
10850         * stdio-common/tst-fileno.c: Likewise.
10851         * stdio-common/tst-gets.c: Likewise.
10852         * stdio-common/tst-obprintf.c: Likewise.
10853         * stdio-common/tst-perror.c: Likewise.
10854         * stdio-common/tst-sprintf2.c: Likewise.
10855         * stdio-common/tst-sprintf3.c: Likewise.
10856         * stdio-common/tst-sprintf.c: Likewise.
10857         * stdio-common/tst-swprintf.c: Likewise.
10858         * stdio-common/tst-tmpnam.c: Likewise.
10859         * stdio-common/tst-unbputc.c: Likewise.
10860         * stdio-common/tst-wc-printf.c: Likewise.
10861         * stdlib/tst-environ.c: Likewise.
10862         * stdlib/tst-fmtmsg.c: Likewise.
10863         * stdlib/tst-limits.c: Likewise.
10864         * stdlib/tst-rand48-2.c: Likewise.
10865         * stdlib/tst-rand48.c: Likewise.
10866         * stdlib/tst-random2.c: Likewise.
10867         * stdlib/tst-random.c: Likewise.
10868         * stdlib/tst-strtol.c: Likewise.
10869         * stdlib/tst-strtoll.c: Likewise.
10870         * stdlib/tst-tls-atexit.c: Likewise.
10871         * stdlib/tst-xpg-basename.c: Likewise.
10872         * string/test-ffs.c: Likewise.
10873         * string/tst-bswap.c: Likewise.
10874         * string/tst-inlcall.c: Likewise.
10875         * string/tst-strtok.c: Likewise.
10876         * string/tst-strxfrm.c: Likewise.
10877         * sysdeps/x86_64/tst-audit10.c: Likewise.
10878         * sysdeps/x86_64/tst-audit3.c: Likewise.
10879         * sysdeps/x86_64/tst-audit4.c: Likewise.
10880         * sysdeps/x86_64/tst-audit5.c: Likewise.
10881         * time/tst-ftime_l.c: Likewise.
10882         * time/tst-getdate.c: Likewise.
10883         * time/tst-mktime3.c: Likewise.
10884         * time/tst-mktime.c: Likewise.
10885         * time/tst-posixtz.c: Likewise.
10886         * time/tst-strptime2.c: Likewise.
10887         * time/tst-strptime3.c: Likewise.
10888         * wcsmbs/tst-btowc.c: Likewise.
10889         * wcsmbs/tst-mbrtowc.c: Likewise.
10890         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10891         * wcsmbs/tst-wchar-h.c: Likewise.
10892         * wcsmbs/tst-wcpncpy.c: Likewise.
10893         * wcsmbs/tst-wcrtomb.c: Likewise.
10894         * wcsmbs/tst-wcsnlen.c: Likewise.
10895         * wcsmbs/tst-wcstof.c: Likewise.
10897 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10899         [BZ #14132]
10900         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10901         INTDEF.
10902         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10903         declaration.
10904         (_dl_mcount): Use rtld_hidden_proto.
10905         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10906         _dl_mcount.
10907         * elf/rtld.c (_rtld_global_ro): Likewise.
10909         [BZ #14132]
10910         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10911         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10912         of _dl_init_internal.
10913         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10914         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10915         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10916         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10917         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10918         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10919         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10920         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10921         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10922         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10923         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10924         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10925         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10926         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10927         * sysdeps/tile/dl-start.S (_start): Likewise.
10928         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10929         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10931         [BZ #14132]
10932         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10933         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10934         (rtld_progname): Make macro definition unconditional.
10935         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10936         INTDEF.
10937         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10938         (dl_main): Likewise.
10939         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10940         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10941         instead of _dl_argv_internal.
10942         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10943         __GI__dl_argv instead of INTUSE(_dl_argv).
10944         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10945         __GI__dl_argv instead of _dl_argv_internal.
10947         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10948         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10949         macro.
10950         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10951         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10952         New macro.
10953         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10954         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10955         macro.
10956         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10957         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10959 2014-11-04  Andreas Schwab  <schwab@suse.de>
10961         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10963 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10965         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10966         mtvsrd instruction in binary form.
10968 2014-11-03  Andreas Schwab  <schwab@suse.de>
10970         [BZ #17522]
10971         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10972         for less than MB_LEN_MAX use a local buffer of that size.
10973         * libio/tst-fputws.c: New file.
10974         * libio/Makefile (tests): Add tst-fputws.
10976 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10978         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10979         the size of the fpu_fr.fpu_dregs[] array.
10981 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10983         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10984         (__nanosleep): Do not define as alias.
10985         (nanosleep): Define as alias of __nanosleep.
10986         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10987         __libc_nanosleep name.
10989 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10991         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10992         install.texi in comment.
10994 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10996         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10997         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10998         ... add here and use lwsync or sync ...
10999         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11000         ... and add here using lwsync.
11002 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
11004         * elf/dl-machine-reject-phdr.h: New file.
11005         * elf/dl-load.c: #include that.
11006         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11007         if that returned true.
11009 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11011         [BZ #17496]
11012         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11013         gen-as-const-headers chunk.  Add a big scare comment after the last
11014         safe place to touch before-compile.
11016 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11018         * manual/install.texi (Tools for Compilation): Update autoconf
11019         version requirements.
11020         * INSTALL: Regenerated.
11022         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11023         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11024         (__libc_pselect): Likewise.
11026         [BZ #14138]
11027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11032 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11034         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11035         correct barrier instruction.
11036         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11037         Likewise.
11038         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11039         Likewise.
11041 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11043         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11044         after defining inlines.  Instead, just use parens to defeat macro
11045         expansion of __isctype in its declaration.
11047 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11049         * include/sys/uio.h (__libc_readv): Remove declaration.
11050         (__libc_writev): Likewise.
11051         * misc/readv.c (__libc_readv): Rename to __readv.
11052         (__readv): Do not define as alias.
11053         (readv): Define as alias of __readv.
11054         * misc/writev.c (__libc_writev): Rename to __writev.
11055         (__writev): Do not define as alias.
11056         (writev): Define as alias of __writev.
11057         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11058         (__readv): Do not define as alias.
11059         (readv): Define unconditionally as alias of __readv.
11060         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11061         (__writev): Do not define as alias.
11062         (writev): Define unconditionally as alias of __writev.
11063         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11064         name.
11065         (writev): Do not define __libc_writev name.
11067 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11069         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11070         (convert_charseq): New function, broken out of ...
11071         (use_from_charmap): ... here.  Call it.
11072         (use_to_charmap): Use convert_charseq and free instead of duplicating
11073         its code with a variable-length stack struct.
11075 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11077         * include/fcntl.h (__libc_creat): Remove declaration.
11078         * io/creat.c (__libc_creat): Rename to creat.
11079         (creat): Do not define as alias.
11080         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11081         of creat instead of __libc_creat.
11082         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11083         to creat.
11084         (creat): Do not define as alias.
11085         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11086         __libc_creat.
11087         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11088         __libc_creat name.
11089         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11090         Likewise.
11092 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11094         * manual/llio.texi: Add comments discussing why write() may be
11095         considered MT-unsafe on Linux.
11097 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11099         * dl-load.c (local_strdup): Remove.
11100         (expand_dynamic_string_token): Use __strdup.
11101         (decompose_rpath): Likewise.
11102         (_dl_map_object): Likewise.
11104 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11106         [BZ #14132]
11107         * sysdeps/generic/unwind-dw2-fde.c
11108         (__register_frame_info_bases_internal): Do not declare.
11109         (__register_frame_info_table_bases_internal): Likewise.
11110         (__deregister_frame_info_bases_internal): Likewise.
11111         (__register_frame_info_bases): Declare and use hidden_proto before
11112         definition.  Use hidden_def instead of INTDEF.
11113         (__register_frame_info_table_bases): Likewise.
11114         (__deregister_frame_info_bases): Likewise.
11115         (__register_frame_info): Do not use INTUSE.
11116         (__register_frame): Likewise.
11117         (__register_frame_info_table): Likewise.
11118         (__register_frame_table): Likewise.
11119         (__deregister_frame_info): Likewise.
11120         (__deregister_frame): Likewise.
11122 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11124         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11125         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11126         not undefine.
11127         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11128         Likewise.
11129         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11130         Likewise.
11132 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11134         [BZ #14138]
11135         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11136         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11137         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11138         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11139         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11140         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11141         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11142         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11143         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11144         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11145         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11146         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11147         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11148         syscall.
11149         (setfsuid): Likewise.
11150         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11151         (setfsuid): Likewise.
11152         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11153         (setfsuid): Likewise.
11154         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11155         Likewise.
11156         (setfsuid): Likewise.
11157         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11158         (setfsuid): Likewise.
11159         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11160         Likewise.
11161         (setfsuid): Likewise.
11163 2014-10-27  Andreas Schwab  <schwab@suse.de>
11165         [BZ #17501]
11166         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11167         check for Slow_SSE4_2 feature bit.
11168         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11169         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11170         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11171         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11173 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11175         * configure.ac: Validate compiler version with a empirical test of
11176         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11177         $CC -v output.
11178         * configure: Regenerated.
11180         * inet/htons.c (htons): Prototypify.
11181         * inet/htonl.c (htonl): Likewise.
11183 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11185         * string/strncat.c (strncat): Improve performance by using strlen.
11187 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11189         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11191 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11193         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11194         Call libc_fetestexcept_aarch64.
11196 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11198         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11199         Call libc_feholdexcept_aarch64.
11201 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11203         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11204         Call get_rounding_mode.
11206 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11208         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11209         Simplify logic.
11211 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11213         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11214         Simplify logic.
11216 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11218         [BZ #14138]
11219         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11220         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11221         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11222         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11223         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11224         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11225         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11226         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11227         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11228         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11229         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11230         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11231         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11232         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11233         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11234         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11235         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11236         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11237         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11238         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11239         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11240         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11241         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11242         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11243         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11244         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11245         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11246         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11247         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11248         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11249         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11250         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11251         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11252         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11253         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11254         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11255         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11256         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11257         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11258         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11259         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11260         syscall.
11261         (geteuid): Likewise.
11262         (getgid): Likewise.
11263         (getuid): Likewise.
11264         (getresgid): Likewise.
11265         (getresuid): Likewise.
11266         (getgroups): Likewise.
11267         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11268         (geteuid): Likewise.
11269         (getgid): Likewise.
11270         (getuid): Likewise.
11271         (getresgid): Likewise.
11272         (getresuid): Likewise.
11273         (getgroups): Likewise.
11274         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11275         (geteuid): Likewise.
11276         (getgid): Likewise.
11277         (getuid): Likewise.
11278         (getresgid): Likewise.
11279         (getresuid): Likewise.
11280         (getgroups): Likewise.
11281         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11282         Likewise.
11283         (geteuid): Likewise.
11284         (getgid): Likewise.
11285         (getuid): Likewise.
11286         (getresgid): Likewise.
11287         (getresuid): Likewise.
11288         (getgroups): Likewise.
11289         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11290         (geteuid): Likewise.
11291         (getgid): Likewise.
11292         (getuid): Likewise.
11293         (getresgid): Likewise.
11294         (getresuid): Likewise.
11295         (getgroups): Likewise.
11296         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11297         Likewise.
11298         (geteuid): Likewise.
11299         (getgid): Likewise.
11300         (getuid): Likewise.
11301         (getgroups): Likewise.
11303         [BZ #14138]
11304         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11305         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11306         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11307         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11308         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11309         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11310         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11311         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11312         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11313         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11314         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11315         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11316         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11317         __chown.
11318         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11319         (lchown): Likewise.
11320         (fchown): Likewise.
11321         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11322         Likewise.
11323         (lchown): Likewise.
11324         (fchown): Likewise.
11325         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11326         (lchown): Likewise.
11327         (fchown): Likewise.
11328         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11329         Likewise.
11330         (lchown): Likewise.
11331         (fchown): Likewise.
11333 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11335         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11336         Simplify logic.
11338 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11340         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11341         Cleanup logic.
11343 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11345         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11346         Remove unused include.
11348 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11350         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11351         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11352         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11353         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11355 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11356             Helge Deller <deller@gmx.de>
11358         [BZ #17508]
11359         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11360         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11361         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11363 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11365         [BZ #14132]
11366         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11367         Remove macro definition.
11368         (__ashrdi3_v_glibc20): Likewise.
11369         (__lshrdi3_v_glibc20): Likewise.
11370         (__cmpdi2_v_glibc20): Likewise.
11371         (__ucmpdi2_v_glibc20): Likewise.
11372         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11373         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11374         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11375         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11376         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11377         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11379 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11381         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11382         old GNU extension [0] syntax.
11383         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11384         alloca rather than an array member with variable length.
11385         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11386         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11387         (parse_opt): ... here.  Likewise use alloca there.
11388         Validate the -i argument before checking for rootness.
11389         (send_shutdown): New function, broken out of ...
11390         (parse_opt): ... here.
11392 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11394         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11395         macro to get at the _rt_local_ro field.
11396         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11397         ([PIC] case) or _dl_hwcap ([!PIC] case).
11398         * sysdeps/arm/setjmp.S: Likewise.
11400         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11401         * sysdeps/arm/configure.ac: New check to define it.
11402         * sysdeps/arm/configure: Regenerated.
11403         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11404         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11405         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11406         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11407         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11408         Use move/movt pair instead of a load.
11409         (LDST_GLOBAL): Macro removed.
11410         (LDR_GLOBAL): New macro replaces it.
11411         (LDR_HIDDEN): New macro.
11412         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11413         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11415         * setjmp/tst-setjmp-static.c: New file.
11416         * setjmp/Makefile (tests): Add it.
11417         (tests-static): New variable.
11419 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11421         [BZ #17485]
11422         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11424 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11426         [BZ #14132]
11427         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11429 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11431         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11433 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11435         * io/fts.c (dirent_not_directory): New function.
11436         (fts_build): Call it.
11438 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11440         * nptl/version.c (__nptl_main): Use normal __write rather than
11441         INTERNAL_SYSCALL.
11442         (banner): Update copyright years.
11444         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11445         gettimeofday.
11446         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11447         * nptl/pthread_cond_timedwait.c: Likewise.
11448         * nptl/pthread_mutex_timedlock.c: Likewise.
11449         * nptl/sem_timedwait.c: Likewise.
11451         * sysdeps/nptl/bits/libc-lock.h
11452         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11453         (__libc_lock_init_recursive): Return void, not 0.
11454         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11455         (__libc_rwlock_init): Likewise.
11456         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11458 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11460         [BZ #15215]
11461         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11462         (__pthread_once_slow): ... here.
11463         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11464         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11466 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11468         [BZ #15215]
11469         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11470         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11471         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11472         * nptl/pthread_once.c (__pthread_once): Likewise.
11473         Update comments.
11475 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11477         [BZ #14138]
11478         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11479         name.
11480         (writev): Use __libc_writev as strong name.
11481         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11482         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11484 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11486         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11488         * sysdeps/i386/nptl/tls.h
11489         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11490         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11491         New macros.
11492         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11493         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11494         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11495         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11496         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11497         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11499         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11500         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11501         on [__NR_futex].
11502         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11503         broken out of ...
11504         (__pthread_mutex_init): ... here.  Call it.
11505         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11506         Conditionalize PI cases on [__NR_futex].
11507         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11508         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11509         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11511         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11512         conditional on [SIGSETXID].
11513         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11514         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11515         is defined.  Likewise for SIGSETXID.
11516         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11517         Conditionalize definitions on [SIGSETXID].
11518         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11519         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11520         unblocking on [SIGCANCEL].
11522         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11523         [__NR_set_robust_list].
11525 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11527         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11528         (do_compare): Likewise.
11530 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11532         [BZ #15884]
11533         * string/strcoll_l.c: Don't include stdio.h.
11534         (coll_seq): Remove members idxarr and rulearr.
11535         (get_next_seq_cached): Remove function.
11536         (get_next_seq): Likewise.
11537         (get_next_seq_nocache): Rename to get_next_seq.
11538         (do_compare): Remove function.
11539         (do_compare_nocache): Rename to do_compare.
11540         (STRCOLL): Remove weight and rules cache.
11542 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11544         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11545         * sysdeps/arm/sfp-machine.h: ... to here.
11546         * sysdeps/arm/Implies: Remove arm/soft-fp.
11548 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11550         * conform/data/sys/utsname.h-data (*_t): Allow.
11551         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11552         [POSIX] (WEXITED): Do not expect constant.
11553         [POSIX] (WSTOPPED): Likewise.
11554         [POSIX] (WNOHANG): Likewise.
11555         [POSIX] (WNOWAIT): Likewise.
11556         [POSIX] (siginfo_t): Do not expect type or elements.
11557         [POSIX] (pid_t): Do not expect type.
11558         [POSIX] (signal.h): Do not allow header.
11559         [POSIX] (sys/resource.h): Likewise.
11560         [POSIX] (si_*): Do not allow pattern.
11561         [POSIX] (W*): Likewise.
11562         [POSIX] (P_*): Likewise.
11563         [POSIX] (BUS_*): Likewise.
11564         [POSIX] (CLD_*): Likewise.
11565         [POSIX] (FPE_*): Likewise.
11566         [POSIX] (ILL_*): Likewise.
11567         [POSIX] (POLL_*): Likewise.
11568         [POSIX] (SEGV_*): Likewise.
11569         [POSIX] (SI_*): Likewise.
11570         [POSIX] (TRAP_*): Likewise.
11571         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11572         variable.
11574 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11576         [BZ #12926]
11577         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11578         infinite loop when __recvmsg returns 0.
11580 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11582         * CANCEL-FCT-WAIVE: Remove file.
11583         * CANCEL-FILE-WAIVE: Likewise.
11585         [BZ #14132]
11586         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11587         instead of INTVARDEF.
11588         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11589         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11590         rtld_hidden_data_def instead of INTVARDEF.
11591         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11592         * elf/dl-deps.c (expand_dst): Likewise.
11593         * elf/dl-load.c (_dl_dst_count): Likewise.
11594         (_dl_dst_substitute): Likewise.
11595         (decompose_rpath): Likewise.
11596         (_dl_init_paths): Likewise.
11597         (open_path): Likewise.
11598         (_dl_map_object): Likewise.
11599         * elf/rtld.c (dl_main): Likewise.
11600         (process_dl_audit): Likewise.
11601         (process_envvars): Likewise.
11602         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11603         Remove declaration.
11604         (__libc_enable_secure): Use rtld_hidden_proto.
11606 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11608         * elf/dl-load.c
11609         (add_path): New function broken out of _dl_rtld_di_serinfo.
11610         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11612 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11614         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11615         parentheses around macro arguments.
11616         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11617         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11618         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11619         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11620         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11621         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11622         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11623         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11624         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11625         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11626         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11627         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11628         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11629         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11630         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11631         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11632         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11633         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11634         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11635         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11636         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11637         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11638         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11639         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11640         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11641         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11642         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11643         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11644         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11645         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11646         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11647         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11648         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11649         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11650         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11651         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11652         Likewise.
11653         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11654         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11655         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11656         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11657         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11658         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11659         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11660         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11661         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11662         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11663         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11664         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11665         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11666         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11667         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11668         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11669         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11670         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11671         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11672         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11673         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11674         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11675         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11676         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11677         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11678         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11679         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11680         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11681         (_FP_FRAC_SRS_1): Likewise.
11682         (_FP_FRAC_CLZ_1): Likewise.
11683         (_FP_MUL_MEAT_1_imm): Likewise.
11684         (_FP_MUL_MEAT_1_wide): Likewise.
11685         (_FP_MUL_MEAT_1_hard): Likewise.
11686         (_FP_SQRT_MEAT_1): Likewise.
11687         (_FP_FRAC_ASSEMBLE_1): Likewise.
11688         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11689         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11690         (__FP_CLZ_2): Likewise.
11691         (_FP_MUL_MEAT_2_wide): Likewise.
11692         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11693         (_FP_MUL_MEAT_2_gmp): Likewise.
11694         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11695         (_FP_SQRT_MEAT_2): Likewise.
11696         (_FP_FRAC_ASSEMBLE_2): Likewise.
11697         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11698         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11699         (_FP_FRAC_CLZ_4): Likewise.
11700         (_FP_MUL_MEAT_4_wide): Likewise.
11701         (_FP_MUL_MEAT_4_gmp): Likewise.
11702         (_FP_SQRT_MEAT_4): Likewise.
11703         (_FP_FRAC_ASSEMBLE_4): Likewise.
11704         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11705         * soft-fp/op-common.h (_FP_CMP): Likewise.
11706         (_FP_CMP_EQ): Likewise.
11707         (_FP_CMP_UNORD): Likewise.
11708         (_FP_TO_INT): Likewise.
11709         (_FP_FROM_INT): Likewise.
11710         [!__FP_CLZ] (__FP_CLZ): Likewise.
11711         (_FP_DIV_HELP_imm): Likewise.
11712         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11713         Likewise.
11714         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11715         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11716         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11717         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11718         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11719         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11720         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11721         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11722         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11723         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11724         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11725         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11726         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11727         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11728         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11729         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11730         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11731         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11732         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11733         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11734         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11735         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11736         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11737         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11738         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11739         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11740         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11741         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11742         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11743         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11744         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11745         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11746         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11747         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11748         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11749         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11750         (FP_UNPACK_RAW_SP): Likewise.
11751         (FP_PACK_RAW_S): Likewise.
11752         (FP_PACK_RAW_SP): Likewise.
11753         (FP_UNPACK_S): Likewise.
11754         (FP_UNPACK_SP): Likewise.
11755         (FP_UNPACK_SEMIRAW_S): Likewise.
11756         (FP_UNPACK_SEMIRAW_SP): Likewise.
11757         (FP_PACK_S): Likewise.
11758         (FP_PACK_SP): Likewise.
11759         (FP_PACK_SEMIRAW_S): Likewise.
11760         (FP_PACK_SEMIRAW_SP): Likewise.
11761         (_FP_SQRT_MEAT_S): Likewise.
11762         (FP_CMP_S): Likewise.
11763         (FP_CMP_EQ_S): Likewise.
11764         (FP_CMP_UNORD_S): Likewise.
11765         (FP_TO_INT_S): Likewise.
11766         (FP_FROM_INT_S): Likewise.
11768         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11770         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11771         (FP_EX_INVALID_IMZ): Likewise.
11772         (FP_EX_INVALID_IMZ_FMA): Likewise.
11773         (FP_EX_INVALID_ISI): Likewise.
11774         (FP_EX_INVALID_ZDZ): Likewise.
11775         (FP_EX_INVALID_IDI): Likewise.
11776         (FP_EX_INVALID_SQRT): Likewise.
11777         (FP_EX_INVALID_CVI): Likewise.
11778         (FP_EX_INVALID_VC): Likewise.
11779         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11780         "invalid" exceptions.
11781         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11782         (_FP_ADD_INTERNAL): Likewise.
11783         (_FP_MUL): Likewise.
11784         (_FP_FMA): Likewise.
11785         (_FP_DIV): Likewise.
11786         (_FP_CMP_CHECK_NAN): Likewise.
11787         (_FP_SQRT): Likewise.
11788         (_FP_TO_INT): Likewise.
11789         (FP_EXTEND): Likewise.
11791 2014-10-09  Allan McRae  <allan@archlinux.org>
11793         * po/fr.po: Update French translation from translation project.
11795 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11797         [BZ #14132]
11798         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11799         of INTDEF.
11800         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11801         (__cxa_atexit): Use libc_hidden_proto.
11802         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11804         [BZ #14132]
11805         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11806         declaration.
11807         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11808         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11809         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11810         [!_ISOMAC] (__iswctype_internal): Likewise.
11811         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11812         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11813         alias.
11814         (fcntl): Remove __fcntl_internal alias.
11815         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11816         __connect_internal alias.
11817         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11818         Likewise.
11820         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11821         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11822         FP_DENORM_ZERO.
11823         (_FP_CHECK_FLUSH_ZERO): New macro.
11824         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11825         (_FP_CMP): Likewise.
11826         (_FP_CMP_EQ): Likewise.
11827         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11828         FP_DENORM_ZERO.
11829         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11830         (FP_TRUNC): Likewise.
11832         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11833         treated as invalid conversion, not as normal exponent.
11835         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11836         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11837         (_FP_CMP_EQ): Likewise.
11838         (_FP_CMP_UNORD): Likewise.
11839         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11840         (FP_CMP_EQ_D): Likewise.
11841         (FP_CMP_UNORD_D): Likewise.
11842         * soft-fp/extended.h (FP_CMP_E): Likewise.
11843         (FP_CMP_EQ_E): Likewise.
11844         (FP_CMP_UNORD_E): Likewise.
11845         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11846         (FP_CMP_EQ_Q): Likewise.
11847         (FP_CMP_UNORD_Q): Likewise.
11848         * soft-fp/single.h (FP_CMP_S): Likewise.
11849         (FP_CMP_EQ_S): Likewise.
11850         (FP_CMP_UNORD_S): Likewise.
11851         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11852         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11853         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11854         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11855         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11856         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11857         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11858         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11859         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11860         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11861         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11862         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11863         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11864         to FP_CMP_Q.
11865         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11866         FP_CMP_Q.
11867         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11868         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11869         FP_CMP_EQ_Q.
11870         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11871         FP_CMP_Q.
11872         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11873         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11874         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11875         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11876         FP_CMP_EQ_Q.
11877         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11878         FP_CMP_Q.
11879         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11880         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11881         FP_CMP_EQ_Q.
11882         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11883         FP_CMP_Q.
11884         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11885         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11886         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11887         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11888         FP_CMP_EQ_Q.
11890         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11891         a subnormal result, set the underflow exception if trapping on
11892         underflow is enabled.
11893         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11894         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11895         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11896         redefine to 0.
11897         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11898         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11899         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11900         * soft-fp/extendxftf2.c (__extendxftf2): Use
11901         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11903         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11904         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11905         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11906         FP_HANDLE_EXCEPTIONS.
11907         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11908         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11909         FP_HANDLE_EXCEPTIONS.
11910         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11911         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11912         FP_HANDLE_EXCEPTIONS.
11913         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11914         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11915         FP_HANDLE_EXCEPTIONS.
11917 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11919         [BZ #14132]
11920         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11921         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11922         use INTUSE.
11923         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11924         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11925         Remove alias.
11926         (__adjtimex): Define using libc_hidden_ver.
11927         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11928         Remove declaration.
11929         (ntp_gettime): Call __adjtimex directly.
11930         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11931         Remove declaration.
11932         (ntp_gettimex): Call __adjtimex directly.
11933         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11934         __adjtimex_internal alias.
11936 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11938         [BZ #17460]
11939         * nscd/nscd.c (more_help): Rewrite list of tables collection
11940         using xstrdup and asprintf.
11942         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11944 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11945             Roland McGrath  <roland@hack.frob.com>
11947         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11948         (do_lookup_unique): ... local function 'enter' here; update callers.
11950 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11952         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11953         compat_symbol calls on [SHARED].
11954         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11955         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11956         Remove.
11957         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11958         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11959         (oldsetrlimit): Remove.
11960         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11962         (lchown): New syscall entry.
11963         (oldsetrlimit): Remove.
11964         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11965         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11966         (oldsetrlimit): Remove.
11967         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11969         [BZ #14138]
11970         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11971         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11972         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11973         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11974         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11975         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11976         (fchown): Likewise.
11977         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11978         (fchown): Likewise.
11979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11980         Likewise.
11982 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11984         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11985         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11986         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11987         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11988         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11989         Likewise.
11990         (__old_sem_post): Likewise.
11992 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11994         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11995         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11996         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11997         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11998         Use INLINE_VSYSCALL macro.
11999         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12000         __vdso_clock_gettime.
12001         * sysdeps/unix/sysv/linux/tile/init-first.c
12002         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12003         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12004         __vdso_clock_gettime.
12006         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12007         to set up frame more cleanly.
12009         * sysdeps/tile/memcmp.c: New file.
12011         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12013         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12014         * sysdeps/tile/tilegx/strcasestr.c: New file.
12015         * sysdeps/tile/tilegx/strnlen.c: New file.
12016         * sysdeps/tile/tilegx/strstr.c: New file.
12018         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12020 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12022         * nptl/tst-setuid3.c: Write errors to stdout.
12024 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12026         * elf/dl-deps.c
12027         (preload): New functions broken out of _dl_map_object_deps.
12028         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12030 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12032         [BZ #14138]
12033         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12034         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12036 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12038         * sysdeps/mips/strcmp.S: New.
12040 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12042         [BZ #14138]
12043         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12044         (linkat): Likewise.
12045         (mkdirat): Likewise.
12046         (readlinkat): Likewise.
12047         (renameat): Likewise.
12048         (symlinkat): Likewise.
12049         (unlinkat): Likewise.
12050         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12051         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12052         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12053         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12054         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12055         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12056         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12058 2014-09-30  Will Newton  <will.newton@linaro.org>
12060         * math/math.h: Define long double math functions if
12061         _LIBC_TEST is defined.
12062         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12064         * localedata/Makefile: Move assignment to tests-special
12065         into an ifdef testing run-built-tests.
12066         * timezone/Makefile: Likewise.
12068 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12070         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12071         with $(BASH) not $(SHELL).
12073 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12074             Matthew LeGendre  <legendre1@llnl.gov>
12076         [BZ #17411]
12077         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12078         l_reloc_result.
12080 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12082         * stdio-common/printf_fp.c
12083         (hack_digit): New function, broken out of ...
12084         (__printf_fp): ... local function here.  Update call sites.
12085         hack_digit now takes an additional parameter that is a pointer
12086         to a struct of the referenced locals.  Those locals moved inside
12087         the struct and references updated.
12089 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12091         * aclocal.m4: Require autoconf 2.69.
12092         * configure: Regenerated.
12093         * sysdeps/aarch64/configure: Likewise.
12094         * sysdeps/alpha/configure: Likewise.
12095         * sysdeps/arm/armv7/configure: Likewise.
12096         * sysdeps/arm/configure: Likewise.
12097         * sysdeps/ia64/configure: Likewise.
12098         * sysdeps/mach/configure: Likewise.
12099         * sysdeps/mips/configure: Likewise.
12100         * sysdeps/s390/configure: Likewise.
12101         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12104         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12105         file.
12106         * sysdeps/ia64/configure.ac: Likewise.
12108 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12111         specify symbol version for ld.so.  Do not include entry for
12112         libpthread.
12113         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12114         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12115         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12117         [BZ #14171]
12118         * Makeconfig [$(build-shared) = yes]
12119         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12120         makefiles.
12121         [$(build-shared) = yes && $(soversions.mk-done) = t]
12122         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12123         [$(build-shared) = yes && $(soversions.mk-done) = t]
12124         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12125         to Makerules.
12126         [$(build-shared) = yes && $(soversions.mk-done) = t]
12127         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12128         here.
12129         [$(build-shared) = yes && $(soversions.mk-done) = t]
12130         (common-generated): Don't append gnu/lib-names.h and
12131         gnu/lib-names.stmp here.
12132         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12133         (lib-names-h-abi): New variable.
12134         [$(build-shared) = yes && $(soversions.mk-done) = t]
12135         (lib-names-stmp-abi): Likewise.
12136         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12137         abi-variants] (before-compile): Append
12138         $(common-objpfx)$(lib-names-h-abi).
12139         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12140         abi-variants] (common-generated): Append gnu/lib-names.h.
12141         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12142         abi-variants] (install-others-nosubdir): Depend on
12143         $(inst_includedir)/$(lib-names-h-abi).
12144         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12145         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12146         [$(build-shared) = yes && $(soversions.mk-done) = t]
12147         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12148         [$(build-shared) = yes && $(soversions.mk-done) = t]
12149         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12150         [$(build-shared) = yes && $(soversions.mk-done) = t]
12151         (common-generated): Append $(lib-names-h-abi) and
12152         $(lib-names-stmp-abi).
12153         * scripts/lib-names.awk: Do not handle multi being set.
12154         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12155         Remove variable.
12156         (abi-lp64_be-ld-soname): Likewise.
12157         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12158         Likewise.
12159         (abi-hard-ld-soname): Likewise.
12160         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12161         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12162         Remove variable.
12163         (abi-o32_hard-ld-soname): Likewise.
12164         (abi-o32_soft_2008-ld-soname): Likewise.
12165         (abi-o32_hard_2008-ld-soname): Likewise.
12166         (abi-n32_soft-ld-soname): Likewise.
12167         (abi-n32_hard-ld-soname): Likewise.
12168         (abi-n32_soft_2008-ld-soname): Likewise.
12169         (abi-n32_hard_2008-ld-soname): Likewise.
12170         (abi-n64_soft-ld-soname): Likewise.
12171         (abi-n64_hard-ld-soname): Likewise.
12172         (abi-n64_soft_2008-ld-soname): Likewise.
12173         (abi-n64_hard_2008-ld-soname): Likewise.
12174         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12175         Likewise.
12176         (abi-64-v2-ld-soname): Likewise.
12177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12178         ld.so entries.
12179         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12180         variable.
12181         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12182         entry.
12183         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12184         variable.
12185         (abi-64-ld-soname): Likewise.
12186         (abi-x32-ld-soname): Likewise.
12187         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12188         entry.
12189         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12191 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12193         [BZ #14138]
12194         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12195         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12196         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12197         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12198         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12199         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12200         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12201         syscall entry for GLIBC_2.2 symbol version.
12202         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12203         Likewise.
12204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12205         (setrlimit): Likewise.
12206         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12207         Likewise.
12209 2014-09-23  Will Newton  <will.newton@linaro.org>
12211         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12212         _LINUX_ARM_SYSDEP_H include guard too.
12213         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12214         define.
12216 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12218         * sysdeps/unix/sysv/linux/eventfd.c:
12219         Make first argument unsigned.
12220         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12221         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12223 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12225         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12226         * socket/sys/socket.h: Likewise
12227         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12229 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12231         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12233 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12235         * time/tst-ftime.c: New test.
12236         * time/Makefile (tests): Add tst-ftime.
12238 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12240         * soft-fp/extended.h: Fix comment formatting.
12241         * soft-fp/op-1.h: Likewise.
12242         * soft-fp/op-2.h: Likewise.
12243         * soft-fp/op-4.h: Likewise.
12244         * soft-fp/op-8.h: Likewise.
12245         * soft-fp/op-common.h: Likewise.
12246         * soft-fp/soft-fp.h: Likewise.
12248         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12250 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12252         [BZ #6652]
12253         * Makeconfig (soversions-default-setname): Remove variable.
12254         ($(common-objpfx)soversions.i): Don't pass default_setname to
12255         soversions.awk.
12256         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12257         oldest_abi to abi-versions.awk.
12258         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12259         * config.make.in (oldest-abi): Remove variable.
12260         * configure.ac (--enable-oldest-abi): Remove configure option.
12261         * configure: Regenerated.
12262         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12263         text.
12264         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12265         * scripts/soversions.awk: Do not handle default_setname variable.
12266         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12267         variable.
12268         * sysdeps/mach/hurd/configure: Regenerated.
12269         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12270         variable.
12271         * sysdeps/unix/sysv/linux/configure: Regenerated.
12273 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12275         * elf/Makefile (CFLAGS-interp.c): Remove.
12276         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12277         path string.
12278         * elf/interp.c: Include generated runtime-linker.h
12280         * Makerules (lib%.so): Don't include $(+interp) in
12281         prerequisites.
12282         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12283         * dlfcn/eval.c: Remove file.
12285         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12286         macros.
12288         [BZ #17266]
12289         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12290         4.2 and newer.
12292         [BZ #17370]
12293         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12295 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12296             Jakub Jelinek  <jakub@redhat.com>
12298         [BZ #17266]
12299         * libio/stdio.h: Check definition of __fortify_function
12300         instead of __extern_always_inline to include bits/stdio2.h.
12301         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12302         check if __extern_always_inline is defined.
12303         [__USE_MISC || __USE_XOPEN]: Likewise.
12304         [__USE_ISOC99] Likewise.
12305         * misc/sys/cdefs.h (__fortify_function): Define only if
12306         __extern_always_inline is defined.
12307         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12308         __extern_always_inline and __extern_inline only for g++-4.3
12309         and newer or a compatible gcc.
12311 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12313         [BZ #17371]
12314         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12315         last change to handle zero prefix length.
12317 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12319         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12320         _SC_REGEX_VERSION.
12322         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12323         _POSIX_RAW_SOCKETS.
12325 2014-09-13  Allan McRae  <allan@archlinux.org>
12327         * po/ru.po: Update Russian translation from translation project.
12329 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12331         * locale/programs/locale.c (show_locale_vars): Inline local function
12332         into its sole call site.  Clean up some style nits.
12333         (print_item): New function, broken out of ...
12334         (show_info): ... local function here.  Clean up style nits.
12336         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12337         out of ...
12338         (set_class_defaults): ... local function set_default here.
12339         Define set_default as a macro locally to pass constant parameters.
12340         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12341         rather than a shared local.
12343         * stdlib/rpmatch.c (try): New function, broken out of ...
12344         (rpmatch): ... local function here.  Also, prototypify definition.
12346 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12348         * scripts/soversions.awk: Do not handle configuration names.
12349         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12350         vendor and os variables to soversions.awk.
12351         * configure.ac: Do not modify gnu-* host_os.
12352         * configure: Regenerated
12353         * shlib-versions: Remove first column with configuration names.
12354         * nptl/shlib-versions: Likewise.
12355         * nptl_db/shlib-versions: Likewise.
12356         * sysdeps/hppa/shlib-versions: Likewise.
12357         * sysdeps/m68k/shlib-versions: Likewise.
12358         * sysdeps/mach/hurd/shlib-versions: Likewise.
12359         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12360         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12361         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12362         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12363         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12364         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12365         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12366         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12368         Likewise.
12369         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12370         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12371         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12372         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12373         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12374         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12375         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12376         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12379         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12381         Regenerated.
12382         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12384         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12386         * shlib-versions: Remove OS-specific entries.  Moved to files in
12387         sysdeps.
12388         * sysdeps/mach/hurd/shlib-versions: New file.
12389         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12391         * nptl/shlib-versions: Remove architecture-specific entries.
12392         Moved to files in sysdeps.
12393         * shlib-versions: Likewise.
12394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12395         file.
12396         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12397         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12398         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12399         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12401         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12402         (UDP_NO_CHECK6_RX): Likewise.
12404 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12406         * sysdeps/posix/sysconf.c (__sysconf): Spell
12407         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12409 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12411         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12412         loading.
12413         * iconv/Versions (__gconv_transliterate): Export for use from
12414         gconv modules.
12415         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12416         (struct __gconv_trans_data, __gconv_trans_fct,
12417         __gconv_trans_context_fct, __gconv_trans_query_fct,
12418         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12419         definitions.
12420         (struct __gconv_step_data): Remove __trans member.
12421         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12422         longer hidden.  Remove unused trans_data argument.
12423         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12424         (__gconv_translit_find): Remove declaration.
12425         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12426         prototype.
12427         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12428         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12429         trans_data argument.  Add hidden definition.
12430         (__gconv_translit_find): Remove.
12431         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12432         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12433         * iconv/skeleton.c: Remove transliteration initialization.
12434         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12435         __gconv_step_data initialization.
12436         * libio/iofwide.c (__libio_translit_): Remove.
12437         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12438         * wcsmbs/btowc.c (__btowc): Likewise.
12439         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12440         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12441         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12442         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12443         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12444         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12445         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12446         * wcsmbs/wctob.c (wctob): Likewise.
12448 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12450         [BZ #16194]
12451         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12452         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12453         register usage.
12454         * sysdeps/x86/Makefile: Adjust.
12456 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12457             Roland McGrath  <roland@hack.frob.com>
12459         * locale/weight.h: Add include guard.
12460         (findidx): Make static rather than auto; take new parameters
12461         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12462         * locale/weightwc.h: Likewise.
12463         * posix/fnmatch_loop.c
12464         (FCT): Change type of EXTRA from int32_t to wint_t.
12465         Don't include either header inside the function.
12466         Call FINDIDX rather than findidx, and pass new arguments.
12467         #undef FINDIDX at the end of the file.
12468         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12469         FINDIDX before including fnmatch_loop.c for the non-wide version.
12470         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12471         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12472         for the wide version.
12473         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12474         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12475         Pass new arguments to findidx.
12476         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12477         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12478         Don't #include it inside the function.  Pass new arguments to findidx.
12479         * posix/regex_internal.h
12480         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12481         (re_string_elem_size_at): Don't #include it inside the function.
12482         Pass new arguments to findidx.
12483         * string/strcoll_l.c: #include WEIGHT_H at top level.
12484         (get_next_seq): Don't #include it inside the function.
12485         Pass new arguments to findidx.
12486         (get_next_seq_nocache): Likewise.
12487         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12488         (STRXFRM): Don't #include it inside the function.
12489         Pass new arguments to findidx.
12491 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12493         [BZ #17344]
12494         * malloc/malloc.c (unlink): Turn asserts into a call to
12495         malloc_printerr.
12497 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12499         [BZ #17370]
12500         * libio/wfileops (do_ftell_wide): Free OUT.
12502 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12504         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12506 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12508         [BZ #17363]
12509         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12510         group if the current group is empty.
12512 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12514         * benchtests/bench-memset.c (test_main): Add more test from size
12515         from 32 to 512 bytes.
12516         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12517         Add POWER8 memset object.
12518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12519         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12520         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12521         implementation.
12522         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12523         Likewise.
12524         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12525         multiarch POWER8 memset optimization.
12526         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12527         POWER8 memset optimization.
12529         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12530         Remove bzero multiarch objects.
12531         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12532         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12533         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12534         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12535         Remove define.
12536         [__bzero]: Redefine to specific name.
12537         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12538         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12539         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12540         define.
12541         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12542         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12544 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12546         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12547         warnings into errors.
12549         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12550         __cxa_thread_atexit_impl prototype.
12552 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12554         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12555         Fix capitalization of error message.
12557 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12559         * sysdeps/mips/preconfigure: Modify ABI tests.
12561 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12563         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12565 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12566             Carlos O'Donell  <carlos@systemhalted.org>
12568         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12569         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12570         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12571         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12572         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12573         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12574         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12575         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12576         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12577         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12578         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12579         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12580         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12581         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12582         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12583         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12584         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12585         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12586         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12587         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12588         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12589         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12590         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12591         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12592         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12593         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12594         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12595         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12596         Deconditionalize the code that was previously under [RESET_PID].
12597         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12598         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12599         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12600         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12601         include sysdep.h.
12603 2014-09-08  Allan McRae  <allan@archlinux.org>
12605         * version.h (RELEASE): Set to "development".
12606         (VERSION): Set to "2.20.90"
12608 2014-09-07  Allan McRae  <allan@archlinux.org
12610         * version.h (RELEASE): Set to "stable".
12611         (VERSION): Set to "2.20"
12612         * include/features.h (__GLIBC_MINOR__): Set to 20.
12614         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12615         Liebler.
12617         * po/ko.po: Update Korean translation from translation project.
12619 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12621         [BZ #17354]
12622         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12623         macro for handling signed relocations.
12625 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12627         [BZ #17325]
12628         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12629         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12630         assert.
12631         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12632         * iconvdata/ibm935.c (BODY): Likewise.
12633         * iconvdata/ibm937.c (BODY): Likewise.
12634         * iconvdata/ibm939.c (BODY): Likewise.
12635         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12636         assert.
12637         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12638         script.
12639         * iconvdata/run-iconv-test.sh: New test loop for checking for
12640         decoder crashers.
12642 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12644         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12645         libm_hidden_ver.
12647 2014-09-01  Allan McRae  <allan@archlinux.org>
12649         * po/eo.po: Update Esperanto translation from translation project.
12651         * po/ca.po: Update Catalan translation from translation project.
12653 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12655         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12656         __proc_dostop call.
12658 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12660         [BZ #17319]
12661         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12662         to call set_thread_area instead of hand written asm.
12663         (__NR_set_thread_area): Removed define.
12664         (TLS_FLAG_WRITABLE): Likewise.
12665         (__ASSUME_SET_THREAD_AREA): Remove check.
12666         (TLS_EBX_ARG): Remove define.
12667         (TLS_LOAD_EBX): Likewise.
12669 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12671         Simplify atomicity of socket creation in bind.
12673         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12674         looking up the name after linking the file.
12676 2014-08-27  Allan McRae  <allan@archlinux.org>
12678         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12680 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12682         [BZ #17187]
12683         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12684         trans_compare, open_translit, __gconv_translit_find):
12685         Remove module loading code.
12687 2014-08-26  Allan McRae  <allan@archlinux.org>
12689         * po/vi.po: Update Vietnamese translation from translation project.
12691         * po/uk.po: Update Ukrainian translation from translation project.
12693         * po/fr.po: Update French translation from translation project.
12695         * po/ru.po: Update Russian translation from translation project.
12697         * po/pl.po: Update Polish translation from translation project.
12699         * po/cs.po: Update Czech translation from translation project.
12701         * po/de.po: Update German translation from translation project.
12703         * po/bg.po: Update Bulgarian translation from translation project.
12705         * po/sv.po: Update Sweedish translation from translation project.
12707         * po/nl.po: Update Dutch translation from translation project.
12709         * po/es.po: Update Spanish translation from translation project.
12711 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12713         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12715         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12716         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12717         (CPPFLAGS-iconvconfig): Likewise.
12718         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12720         * include/libc-symbols.h: Remove unnecessary check for
12721         NOT_IN_libc.
12722         * nptl/pthreadP.h: Likewise.
12723         * sysdeps/aarch64/setjmp.S: Likewise.
12724         * sysdeps/alpha/setjmp.S: Likewise.
12725         * sysdeps/arm/sysdep.h: Likewise.
12726         * sysdeps/i386/setjmp.S: Likewise.
12727         * sysdeps/m68k/setjmp.c: Likewise.
12728         * sysdeps/posix/getcwd.c: Likewise.
12729         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12730         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12731         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12732         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12733         * sysdeps/sh/sh3/setjmp.S: Likewise.
12734         * sysdeps/sh/sh4/setjmp.S: Likewise.
12735         * sysdeps/unix/alpha/sysdep.h: Likewise.
12736         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12737         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12738         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12739         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12742         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12743         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12744         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12745         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12746         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12747         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12748         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12749         * sysdeps/x86_64/setjmp.S: Likewise.
12751 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12753         [BZ #17263]
12754         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12755         <stdint.h>.
12756         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12757         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12759 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12761         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12763         [BZ #17262]
12764         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12765         and __x86_64__ when disabling x87 inline functions.
12767 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12769         [BZ #17259]
12770         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12771         asm statement with __cpuid_count.
12773 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12775         * configure.ac: Change __ehdr_start code to dereference the struct.
12776         Run readelf on the output to look for relocations.
12777         * configure: Regenerated.
12779 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12781         [BZ #17261]
12782         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12783         value to 0.
12784         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12786 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12788         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12790 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12792         [BZ #16892]
12793         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12794         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12796 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12798         * malloc/malloc.c: Fix typo in comment.
12800 2014-08-09  Allan McRae  <allan@archlinux.org>
12802         * Regenerate libc.po.
12804 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12806         * intl/tst-gettext2.sh: Check every lang file for creation.
12808 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12810         * sysdeps/aarch64/fpu/math_private.h
12811         (libc_feholdsetround_noex_aarch64_ctx): New function.
12813 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12815         * sysdeps/arm/armv6/strcpy.S (strcpy):
12816         Fix performance issue in misaligned cases.
12818 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12820         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12821         Move definition from termios.h.
12822         (struct termio): Likewise.
12823         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12824         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12825         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12826         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12827         Likewise.
12828         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12829         Move definition to ioctl-types.h
12830         (struct termio): Likewise.
12831         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12832         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12833         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12834         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12835         Likewise.
12837 2014-08-05  Richard Henderson  <rth@redhat.com>
12839         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12840         exceptions.
12841         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12842         Add fraiseexcpt.
12843         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12844         Use __feraiseexcept.
12845         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12846         Protect libm symbols with IS_IN_libm.
12848         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12850 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12852         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12854 2014-08-04  Will Newton  <will.newton@linaro.org>
12856         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12857         file.
12859 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12861         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12862         variants for each function.
12864 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12866         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12867         appended ...
12868         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12869         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12870         appended ...
12871         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12872         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12873         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12874         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12875         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12876         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12877         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12878         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12879         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12880         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12881         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12882         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12883         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12884         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12885         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12886         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12887         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12888         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12889         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12890         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12891         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12892         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12893         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12894         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12895         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12896         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12897         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12898         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12899         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12900         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12901         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12902         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12903         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12904         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12905         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12906         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12907         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12908         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12909         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12910         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12911         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12912         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12913         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12914         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12915         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12916         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12917         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12918         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12919         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12920         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12921         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12922         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12923         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12924         Update #include.
12925         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12926         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12928 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12930         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12931         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12932         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12933         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12934         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12935         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12937 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12939         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12940         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12941         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12942         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12944 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12946         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12947         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12948         (__libc_vfork): Define function under this name.
12949         (__vfork): Define as an alias.
12950         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12951         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12953 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12955         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12956         that was previously under [RESET_PID].
12957         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12959 2014-08-04  Andreas Schwab  <schwab@suse.de>
12961         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12963 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12965         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12966         (main): Likewise.
12968 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12970         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12972 2014-08-01  Richard Henderon  <rth@redhat.com>
12974         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12975         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12976         typo in exact zero test.
12977         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12978         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12979         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12981 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12983         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12984         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12985         * sysdeps/arm/sysdep.h: ... here.
12986         [!__ASSEMBLER__]: Include <stdint.h>.
12988 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12990         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12991         (HAVE_WCTYPE_H): Likewise.
12992         (HAVE_ISWCTYPE): Likewise.
12993         (ENABLE_NLS): Likewise.
12994         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12995         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12997         * posix/regex_internal.c: Check if DEBUG is defined and is
12998         set.
13000         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13001         (HAVE_MBSRTOWCS): Likewise.
13002         * posix/fnmatch.c: Include string.h unconditionally.
13004 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13006         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13007         reversal.
13009 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13011         * sysdeps/generic/safe-fatal.h: New file.
13012         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13013         * nptl/forward.c: Include it.
13014         (__pthread_unwind): Use __safe_fatal as default action, rather
13015         than a bogus use of INTERNAL_SYSCALL that could never work.
13017         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13018         * configure.ac (libc_cv_builtin_trap): New test.
13019         * configure: Regenerated.
13020         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13021         (ABORT_INSTRUCTION): Define using __builtin_trap.
13023         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13024         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13025         * sysdeps/nptl/nptl-signals.h: New file.
13026         * nptl/pthreadP.h: Include <nptl-signals.h>.
13028 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13030         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13031         (ONE_DIRECTION): Define.
13032         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13033         (ONE_DIRECTION): Define.
13034         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13035         (ONE_DIRECTION): Define.
13037 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13039         * sysdeps/s390/Makefile: Delete file.
13040         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13041         * sysdeps/s390/__longjmp.c: Delete file.
13042         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13043         Remove fields __flags and __reserved.
13044         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13045         and add versioning.
13046         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13047         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13048         * sysdeps/s390/rtld-setjmp.S: Likewise.
13049         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13050         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13051         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13052         * sysdeps/s390/s390-32/setjmp.S: ... here.
13053         Add versioning.
13054         (__sigsetjmp): Remove setting __flags field.
13055         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13056         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13057         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13058         * sysdeps/s390/s390-64/setjmp.S: ... here.
13059         Add versioning.
13060         (__sigsetjmp): Remove setting __flags field.
13061         * sysdeps/s390/setjmp.S: Delete file.
13062         * sysdeps/s390/sigjmp.c: Likewise.
13063         * sysdeps/s390/v1-longjmp.c: Likewise.
13064         * sysdeps/s390/v1-setjmp.h: Likewise.
13065         * sysdeps/s390/v1-sigjmp.c: Likewise.
13066         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13067         Remove v1-longjmp_chk.
13068         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13069         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13070         Include debug/longjmp_chk.c and add versioning.
13071         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13072         Include nptl/pt-longjmp.c and add versioning.
13073         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13074         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13075         Include __longjmp.c.
13076         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13077         Move to ...
13078         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13079         (__getcontext): Remove setting __flags field.
13080         Add versioning.
13081         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13082         Don't restore upper high grps.
13083         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13084         Likewise.
13085         (__swapcontext): Remove setting uc_flags field.
13086         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13087         Delete file.
13088         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13089         Include __longjmp.c.
13090         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13091         Move to ...
13092         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13093         (__getcontext): Remove setting __flags field.
13094         Add versioning.
13095         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13096         (__swapcontext): Remove setting uc_flags field.
13097         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13098         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13099         Remove fields uc_high_gprs and __reserved.
13100         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13101         New file with reverted content.
13102         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13103         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13104         Regenerated.
13105         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13106         Regenerated.
13108 2014-07-31  Andreas Schwab  <schwab@suse.de>
13110         * config.h.in (HAVE_IFUNC): Define to 0.
13111         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13112         definedness.
13114 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13117         memmove-avx-unaligned, memcpy-avx-unaligned and
13118         mempcpy-avx-unaligned.
13119         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13120         Add tests for AVX memcpy functions.
13121         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13122         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13123         memcpy_chk.
13124         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13125         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13126         memmove_chk.
13127         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13128         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13129         mempcpy_chk.
13130         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13131         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13132         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13134 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13136         [BZ #17213]
13137         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13138         powerpc64le.
13140 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13142         [BZ #16839]
13143         * manual/llio.texi: Add section about open file description locks.
13144         * manual/examples/ofdlocks.c: Example of open file description
13145         lock usage.
13146         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13147         F_OFD_SETLK, and F_OFD_SETLKW.
13149 2014-07-23  Allan McRae  <allan@archlinux.org>
13151         * po/es.po: Update Spanish translation from translation project.
13153 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13155         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13157 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13159         [BZ #17078]
13160         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13161         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13162         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13164 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13166         [BZ #17088]
13167         * math/fesetenv.c (__fesetenv)
13168         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13169         * math/feupdateenv.c (__feupdateenv)
13170         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13172         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13173         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13174         (__ASSUME_SOCKETCALL): Do not define.
13176         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13177         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13178         (__ASSUME_SOCKETCALL): Do not define.
13179         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13180         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13181         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13182         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13183         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13184         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13185         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13186         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13188         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13189         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13190         (__ASSUME_SOCKETCALL): Do not define.
13191         (__ASSUME_IPC64): Define unconditionally.
13192         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13193         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13194         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13195         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13196         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13197         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13198         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13199         Likewise.
13201         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13202         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13203         (__ASSUME_SOCKETCALL): Do not define.
13204         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13205         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13206         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13207         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13208         (__ASSUME_REQUEUE_PI): Define unconditionally.
13209         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13210         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13211         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13212         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13213         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13214         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13216         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13217         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13218         (__ASSUME_SOCKETCALL): Do not define.
13219         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13220         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13221         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13222         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13223         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13224         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13226         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13227         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13228         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13229         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13230         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13231         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13232         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13233         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13234         (__ASSUME_GETCPU_SYSCALL): Likewise.
13236         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13237         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13238         cases for individual architectures.
13239         * sysdeps/gnu/configure: Regenerated.
13240         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13241         LIBC_SLIBDIR_RTLDDIR.
13242         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13243         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13244         LIBC_SLIBDIR_RTLDDIR.
13245         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13247         LIBC_SLIBDIR_RTLDDIR.
13248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13249         Regenerated.
13250         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13251         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13252         file.
13253         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13254         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13255         file.
13256         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13257         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13258         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13259         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13261         * sysdeps/aarch64/shlib-versions: Move to ...
13262         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13263         * sysdeps/alpha/shlib-versions: Move to ...
13264         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13265         * sysdeps/arm/shlib-versions: Move to ...
13266         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13267         * sysdeps/hppa/shlib-versions: Move all contents except for
13268         libgcc_s entry to ...
13269         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13270         entry from ...
13271         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13272         * sysdeps/ia64/shlib-versions: Move to ...
13273         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13274         entry from ...
13275         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13276         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13277         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13278         * sysdeps/microblaze/shlib-versions: Move to ...
13279         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13280         * sysdeps/mips/shlib-versions: Move to ...
13281         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13282         entry from ...
13283         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13284         * sysdeps/tile/shlib-versions: Move to ...
13285         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13286         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13287         from ...
13288         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13289         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13290         entry from ...
13291         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13293 2014-07-17  Will Newton  <will.newton@linaro.org>
13295         * sysdeps/arm/bits/atomic.h
13296         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13297         (__arch_compare_and_exchange_bool_16_int): Likewise.
13298         (__arch_compare_and_exchange_bool_64_int): Likewise.
13300         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13301         into an #else block.
13303 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13305         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13306         just Linux configurations.  Test empirically that the compiler sets
13307         __ARM_EABI__, rather than using the tuple to decide.
13308         * sysdeps/arm/preconfigure: Regenerated.
13309         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13310         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13311         contents appended ...
13312         * sysdeps/arm/configure.ac: ... here.
13313         * sysdeps/arm/configure: Regenerated.
13315 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13317         * nptl/pthread_kill.c: New file.
13318         * nptl/pthread_sigmask.c: New file.
13319         * nptl/pthread_sigqueue.c: New file.
13321         * sysdeps/nptl/lowlevellock.h: New file.
13322         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13323         * sysdeps/nptl/lowlevellock-futex.h: New file.
13325         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13326         Remove dead declarations.
13328 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13330         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13331         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13332         config-cflags-avx2.
13333         * sysdeps/x86_64/configure.ac: Likewise.
13334         * sysdeps/i386/configure: Regenerated.
13335         * sysdeps/x86_64/configure: Likewise.
13336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13337         memset-avx2 only if config-cflags-avx2 is yes.
13338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13339         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13340         defined.
13341         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13342         only if HAVE_AVX2_SUPPORT is defined.
13343         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13345 2014-07-14  Alan Modra  <amodra@gmail.com>
13347         [BZ #17153]
13348         * elf/elf.h (DT_PPC64_NUM): Correct value.
13349         * NEWS: Add to fixed bug list.
13351 2014-07-13  Jim Meyering  <meyering@fb.com>
13353         [BZ 17150]
13354         regex: don't deref NULL upon heap allocation failure
13355         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13356         failure in one more place.
13357         To trigger the segfault, configure grep -with-included-regex,
13358         build it, and run these commands:
13359         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13361 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13363         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13365 2014-07-11  Richard Henderson  <rth@redhat.com>
13367         * sysdeps/aarch64/libm-test-ulps: Update.
13369 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13371         [BZ #17135]
13372         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13373         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13374         (__nptl_setxid): Initialize error member.  Call
13375         __nptl_setxid_error.
13376         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13377         * nptl/descr.h (struct xid_command): Add error member.
13378         * nptl/tst-setuid3.c: New file.
13379         * nptl/Makefile (tests): Add it.
13381 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13383         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13384         New define.
13385         (__lll_trylock): Use __lll_base_trylock.
13386         (__lll_cond_trylock): Likewise.
13388 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13390         * nptl/pthread_create.c (start_thread): Use atomic_or and
13391         lll_futex_wake directly rather than lll_robust_dead.
13392         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13393         (lll_robust_dead): Macro removed.
13394         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13395         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13396         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13397         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13398         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13399         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13400         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13401         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13402         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13403         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13404         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13405         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13406         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13407         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13408         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13410         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13411         Use atomic_compare_and_exchange_val_acq directly rather than
13412         lll_robust_trylock.
13413         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13414         (__lll_robust_trylock, lll_robust_trylock): Removed.
13415         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13416         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13417         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13418         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13419         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13420         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13421         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13422         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13423         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13424         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13425         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13426         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13427         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13428         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13430 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13432         * manual/locale.texi (Locale Names): New section documenting
13433         locale name syntax.  Adjust menu and node chaining accordingly.
13434         (Choosing Locale): Reference Locale Names, Locale Categories.
13435         Mention setting LC_ALL=C.  Reflect that name syntax is now
13436         documented.
13437         (Locale Categories): New section title.  Reference Locale Names.
13438         LC_ALL is an environment variable, but not a category.
13439         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13440         description, now in Locale Name.  Reference that section.  Locale
13441         name syntax is now documented.
13443 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13445         [BZ #17137]
13446         * locale/findlocale.c (name_present, valid_locale_name): New
13447         functions.
13448         (_nl_find_locale): Use the loc_name variable to store name
13449         candidates.  Call name_present and valid_locale_name to check and
13450         validate locale names.  Return an error if the locale is invalid.
13452 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13454         * locale/setlocale.c (setlocale): Use strdup for allocating
13455         composite name copy.
13457 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13459         Sync up with gnulib.
13460         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13461         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13462         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13463         and _GL_ARG_NONNULL.
13464         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13465         [!_LIBC]: Include code for Windows and Cygwin.
13466         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13467         Include prototype for int strerror_r.
13468         [!_LIBC] (is_open): New function.
13469         (flush_stdout): New function.
13470         (print_errno_message): Use it.
13471         (error): Likewise.
13472         (error_at_line): Likewise.
13473         (error_tail) Add function attribute macros.  Use
13474         __builtin_expect.
13476         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13478         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13480         * io/ftw.c: Include sys/param.h unconditionally.
13482         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13484         [BZ #17125]
13485         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13486         libc_freeres_ptr.
13487         (freecache): New function to free CACHE on exit.
13489         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13490         initialization.
13492 2014-07-09  David S. Miller  <davem@davemloft.net>
13494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13496         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13497         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13498         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13499         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13500         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13501         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13502         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13503         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13504         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13505         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13506         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13507         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13508         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13510 2014-07-09  Andreas Schwab  <schwab@suse.de>
13512         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13513         output.
13514         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13515         (do_test): Likewise.
13517         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13519 2014-07-09  Will Newton  <will.newton@linaro.org>
13521         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13522         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13523         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13524         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13525         * sysdeps/hppa/start.S (_start): Likewise.
13527 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13529         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13531         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13532         defined.
13534 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13536         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13537         after checking that it is non-NULL.
13539         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13541 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13543         * sysdeps/powerpc/memmove.c: Remove file.
13544         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13545         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13546         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13547         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13548         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13549         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13550         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13551         string memmove instead of removed powerpc one.
13553         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13554         [weak_alias]: Fix compiler warning due trailing data.
13555         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13556         [weak_alias]: Likewise.
13557         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13558         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13560         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13561         (__libc_ifunc_impl_list): Add memmove functions.
13563 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13565         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13566         Remove code.
13567         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13568         Likewise
13569         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13570         Likewise
13571         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13572         Likewise
13573         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13574         Likewise
13575         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13576         Likewise
13577         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13578         Likewise
13579         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13580         Likewise
13581         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13582         Likewise
13583         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13584         Likewise
13585         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13586         Likewise
13587         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13588         Likewise
13589         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13590         Likewise
13591         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13592         Likewise
13593         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13594         Likewise
13595         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13596         Likewise
13597         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13598         Likewise
13600 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13602         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13603         to avoid alignment traps in non-cacheable memory.
13604         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13607         multiarch objects.
13608         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13609         file: multiarch power7 memmove.
13610         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13611         multiarch default memmove.
13612         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13613         multiarch memove for powerpc32/power4.
13615         * string/bcopy.c: Use full path to include memmove.c.
13616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13617         multiarch objects.
13618         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13619         bcopy for powerpc64.
13620         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13621         bcopy for powerpc64.
13622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13623         and memmove implementations.
13624         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13625         optimized multiarch memmove for POWER7/powerpc64.
13626         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13627         default multiarch memmove for powerpc64.
13628         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13629         multiarch for powerpc64.
13630         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13631         for POWER7/powerpc64.
13632         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13633         memmove for POWER7/powerpc64.
13635         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13636         glibc default one.
13638         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13639         __ELF_NATIVE_CLASS equal to 64.
13641 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13643         * sysdeps/nptl/lowlevellock.h: File removed.
13645         * NEWS: NPTL is no longer an add-on!
13646         * nptl/internaltypes.h: Moved ...
13647         * sysdeps/nptl/internaltypes.h: ... here.
13648         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13649         * sysdeps/nptl/fork.c: Likewise.
13650         * sysdeps/nptl/gai_misc.h: Likewise.
13651         * sysdeps/nptl/librt-cancellation.c: Likewise.
13652         * sysdeps/nptl/jmp-unwind.c: Likewise.
13653         * sysdeps/nptl/setxid.h: Likewise.
13654         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13655         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13656         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13657         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13658         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13659         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13660         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13661         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13662         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13663         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13664         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13665         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13666         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13667         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13668         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13669         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13670         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13671         * nptl/Makeconfig: Moved ...
13672         * sysdeps/nptl/Makeconfig: ... here.
13673         * nptl/configure: File removed.
13674         * nptl/ANNOUNCE: File removed.
13675         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13676         * sysdeps/unix/sysv/linux/configure: Regenerated.
13678         * nptl/Makefile (routines): Add libc_pthread_init,
13679         libc_multiple_threads, register-atfork and unregister-atfork.
13680         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13681         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13682         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13683         pthread-pi-defines.sym, structsem.sym.
13684         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13685         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13686         [$(subdir) = nptl] (tests): Add tst-setgetname.
13687         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13688         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13689         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13690         [!LIBC_SIGACTION]: Remove aliases.
13691         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13692         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13693         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13694         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13695         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13696         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13697         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13698         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13699         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13700         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13701         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13702         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13703         __libc_allocate_rtsig_private.
13704         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13705         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13706         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13707         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13708         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13709         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13710         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13711         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13712         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13713         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13714         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13715         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13716         * nptl/internaltypes.h: ... here.
13717         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13718         * sysdeps/nptl/jmp-unwind.c: ... here.
13719         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13720         * nptl/libc-lowlevellock.c: ... here.
13721         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13722         * nptl/libc_multiple_threads.c: ... here.
13723         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13724         * nptl/libc_pthread_init.c: ... here.
13725         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13726         * nptl/lowlevelbarrier.sym: ... here.
13727         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13728         * nptl/lowlevelcond.sym: ... here.
13729         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13730         * nptl/lowlevellock.c: ... here.
13731         * nptl/lowlevellock.h: Moved ...
13732         * sysdeps/nptl/lowlevellock.h: ... here.
13733         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13734         * nptl/lowlevelrobustlock.c: ... here.
13735         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13736         * nptl/lowlevelrobustlock.sym: ... here.
13737         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13738         * nptl/lowlevelrwlock.sym: ... here.
13739         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13740         * nptl/pt-fork.c: ... here.
13741         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13742         * nptl/pthread-pi-defines.sym: ... here.
13743         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13744         * nptl/pthread_attr_getaffinity.c: ... here.
13745         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13746         * nptl/pthread_attr_setaffinity.c: ... here.
13747         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13748         * nptl/pthread_mutex_cond_lock.c: ... here.
13749         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13750         Update #include.
13751         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13752         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13753         * nptl/pthread_once.c: ... here, replacing old file.
13754         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13755         * nptl/pthread_yield.c: ... here.
13756         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13757         * nptl/register-atfork.c: ... here.
13758         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13759         * nptl/sem_post.c: ... here.
13760         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13761         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13762         * nptl/sem_timedwait.c: ... here.
13763         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13764         * nptl/sem_trywait.c: ... here.
13765         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13766         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13767         * nptl/sem_wait.c: ... here.
13768         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13769         * nptl/structsem.sym: ... here.
13770         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13771         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13772         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13773         * nptl/unregister-atfork.c: ... here.
13774         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13775         * nptl/unwindbuf.sym: ... here.
13776         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13777         * sysdeps/nptl/fork.c: ... here.
13778         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13779         * sysdeps/nptl/fork.h: ... here.
13780         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13781         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13782         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13783         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13784         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13785         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13786         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13787         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13788         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13789         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13790         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13791         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13792         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13793         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13794         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13795         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13796         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13797         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13798         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13799         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13800         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13801         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13802         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13803         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13804         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13805         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13806         * sysdeps/unix/sysv/linux/raise.c: ... here.
13807         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13808         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13809         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13810         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13811         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13812         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13813         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13814         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13815         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13816         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13817         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13818         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13819         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13820         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13821         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13823 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13825         * sysdeps/generic/memcopy.h: Add comment for
13826         MEMCPY_OK_FOR_FWD_MEMMOVE.
13828 2014-07-04  Will Newton  <will.newton@linaro.org>
13830         * string/memchr.c: Merge from gnulib.
13831         [_LIBC]: Remove conditionals.
13832         (__ptr_t): Remove define.
13833         (LONG_MAX_32_BITS): Likewise.
13834         (LONG_MAX): Likewise.
13835         (MEMCHR): Use ANSI prototype and optimize algorithm.
13837         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13839 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13841         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13842         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13844         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13845         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13846         in a bare environment with no <stdlib.h> installed.
13847         * sysdeps/nptl/configure: Regenerated.
13849         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13851         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13852         AC_EGREP_CPP for kernel header checks, so they only succeed if
13853         including <linux/version.h> actually works right.
13854         * sysdeps/unix/sysv/linux/configure: Regenerated.
13856         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13857         value so it's not diagnosed as unused.
13859         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13860         thing) with "ifeq ($(subdir),rt)".
13862 2014-07-03  Richard Henderson  <rth@redhat.com>
13864         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13865         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13866         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13868         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13869         (math_force_eval): New.
13871         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13872         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13874         * sysdeps/alpha/fpu/s_round.c: Remove file.
13875         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13877         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13878         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13879         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13880         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13881         (_dl_start, print_statistics): Likewise.
13882         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13883         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13885         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13886         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13887         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13888         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13889         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13890         (HP_SMALL_TIMING_AVAIL): Define.
13891         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13892         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13893         (HP_SMALL_TIMING_AVAIL): Define.
13894         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13895         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13897         * sysdeps/aarch64/hp-timing.h: New file.
13899         * sysdeps/generic/hp-timing.h: Remove dead comment.
13900         * sysdeps/generic/hp-timing-common.h: New file.
13901         * sysdeps/alpha/hp-timing.h: Include it.
13902         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13903         * sysdeps/i386/i686/hp-timing.h: Likewise.
13904         * sysdeps/ia64/hp-timing.h: Likewise.
13905         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13906         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13907         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13908         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13909         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13910         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13911         (hp_timing_t): New.
13913         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13914         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13915         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13916         * elf/rtld.c (_dl_start_final): Likewise.
13917         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13918         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13919         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13920         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13921         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13922         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13923         (HP_TIMING_DIFF_INIT): Remove.
13924         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13925         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13926         (HP_TIMING_DIFF_INIT): Remove.
13927         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13928         * sysdeps/i386/i686/hp-timing.c: Remove file.
13929         * sysdeps/x86_64/hp-timing.c: Remove file.
13930         * sysdeps/ia64/hp-timing.c: Remove file.
13931         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13932         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13933         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13934         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13936         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13937         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13938         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13939         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13940         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13941         (HP_TIMING_ACCUM): Remove.
13942         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13943         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13944         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13946         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13947         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13948         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13949         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13950         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13951         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13952         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13953         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13955         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13957 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13959         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13961 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13963         Sync up with gettext.
13964         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13965         [_MSC_VER]: Include malloc.h
13966         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13967         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13968         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13969         TEMP_FAILURE_RETRY.  Cast return of alloca.
13970         [!_LIBC] Call gl_rwlock_init.
13971         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13973 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13975         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13976         before checking its value.
13978 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13980         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13982         * debug/memcpy_chk.c: Don't include pagecopy.h.
13983         * debug/mempcpy_chk.c: Likewise.
13984         * string/memcpy.c: Likewise.
13985         * string/memmove.c: Likewise.
13986         * sysdeps/powerpc/memmove.c: Likewise.
13987         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13988         definition of PAGE_COPY_FWD_MAYBE here...
13989         * sysdeps/generic/pagecopy.h: ... from here.
13990         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13992 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13993             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13995         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13997         optimizations.
13998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13999         (__libc_ifunc_impl_list): Likewise.
14000         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14001         multiarch strcat for PPC64.
14002         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14003         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14005 2014-07-02  Roland McGrath  <roland@hack.frob.com>
14007         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14009 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14011         * intl/loadmsgcat.c: Remove declaration of
14012         get_sysdep_segment_value.
14013         (get_sysdep_segment_value): Use ISO C style.
14014         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14015         semicolon.  Fix typo and formatting in comment.
14016         (_nl_unload_domain): Use ISO C style.
14018         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14020 2014-07-02  Will Newton  <will.newton@linaro.org>
14022         * malloc/obstack.c: Merge from gnulib master.
14023         [HAVE_CONFIG_H]: Remove conditional code.
14024         [!_LIBC]: Include config.h.
14025         [!ELIDE_CODE]: Don't include inttypes.h, include
14026         stdint.h unconditionally.
14027         (print_and_abort): Mark as _Noreturn.
14028         (_obstack_allocated_p): Mark as __attribute_pure__.
14029         (obstack_free): Rename to __obstack_free.
14030         [!__attribute__]: Remove conditional code.
14031         * malloc/obstack.h: Merge from gnulib master.
14032         [__cplusplus]: Move conditional down.
14033         [!__attribute_pure__]: Define __attribute_pure__ here
14034         if it is not already defined.
14035         (_obstack_memory_used): Mark as __attribute_pure__.
14036         [!__obstack_free]: Define as obstack_free.
14037         [__GNUC__]: Remove check for ancient NeXT gcc.
14039 2014-07-02  Will Newton  <will.newton@linaro.org>
14040             Paul Eggert  <eggert@cs.ucla.edu>
14042         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14044 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14046         * resolv/gethnamaddr.c: Add comment warning that the file is
14047         not maintained.
14049 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14051         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14052         entries.
14054         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14055         entry for aio_cancel and aio_cancel64.
14056         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14057         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14058         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14059         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14060         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14061         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14062         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14063         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14064         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14065         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14066         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14067         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14068         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14070 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14072         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14073         * nptl/pthread_mutex_lock.c: Likewise.
14074         * nptl/pthread_mutex_timedlock.c: Likewise.
14075         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14077 2014-07-01  Richard henderson  <rth@redhat.com>
14079         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14080         (__isnan, __isnanl): Remove.
14081         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14083         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14085 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14087         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14089 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14091         * resolv/nss_dns/dns-host.c (getanswer_r)
14092         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14094 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14096         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14097         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14098         undefine.
14099         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14100         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14102 2014-07-01  Roland McGrath <roland@hack.frob.com>
14104         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14105         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14107         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14108         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14110         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14111         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14112         ... here.
14113         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14114         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14116         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14117         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14118         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14119         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14121         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14122         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14123         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14124         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14125         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14126         Moved ...
14127         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14128         ... here.
14129         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14130         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14131         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14132         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14133         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14134         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14135         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14136         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14137         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14138         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14139         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14140         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14141         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14142         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14143         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14144         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14145         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14146         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14147         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14148         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14149         ... here.
14150         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14151         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14152         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14153         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14154         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14155         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14156         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14157         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14159 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14161         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14162         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14163         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14164         Add sysdep.
14166 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14170 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14172         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14173         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14175         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14177         * sysdeps/arm/libm-test-ulps: Regenerated.
14179 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14180             Roland McGrath <roland@hack.frob.com>
14182         * test-skeleton.c (signal_handler): Kill the whole process group
14183         before killing the child individually.
14184         (main): Report any failure on `setpgid'.
14186 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14188         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14189         from _TLS_H to _ARM_NPTL_TLS_H.
14190         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14191         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14193 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14195         [BZ #16539]
14196         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14197         (__expm1l): Return argument unchanged when small but not
14198         subnormal.
14200         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14201         include macro name.
14202         (_FP_UNPACK_RAW_1_P): Likewise.
14203         (_FP_PACK_RAW_1): Likewise.
14204         (_FP_PACK_RAW_1_P): Likewise.
14205         (_FP_MUL_MEAT_1_wide): Likewise.
14206         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14207         (_FP_MUL_MEAT_1_hard): Likewise.
14208         (_FP_DIV_MEAT_1_imm): Likewise.
14209         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14210         (_FP_DIV_MEAT_1_udiv): Likewise.
14211         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14212         (_FP_UNPACK_RAW_2): Likewise.
14213         (_FP_UNPACK_RAW_2_P): Likewise.
14214         (_FP_PACK_RAW_2): Likewise.
14215         (_FP_PACK_RAW_2_P): Likewise.
14216         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14217         (_FP_MUL_MEAT_2_wide): Likewise.
14218         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14219         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14220         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14221         (_FP_MUL_MEAT_2_gmp): Likewise.
14222         (_FP_DIV_MEAT_2_udiv): Likewise.
14223         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14224         (_FP_FRAC_SRL_4): Likewise.
14225         (_FP_FRAC_SRST_4): Likewise.
14226         (_FP_FRAC_SRS_4): Likewise.
14227         (_FP_UNPACK_RAW_4): Likewise.
14228         (_FP_UNPACK_RAW_4_P): Likewise.
14229         (_FP_PACK_RAW_4): Likewise.
14230         (_FP_PACK_RAW_4_P): Likewise.
14231         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14232         (_FP_MUL_MEAT_4_wide): Likewise.
14233         (_FP_MUL_MEAT_4_gmp): Likewise.
14234         (umul_ppppmnnn): Likewise.
14235         (_FP_DIV_MEAT_4_udiv): Likewise.
14236         (__FP_FRAC_ADD_4): Likewise.
14237         (__FP_FRAC_SUB_3): Likewise.
14238         (__FP_FRAC_SUB_4): Likewise.
14239         (__FP_FRAC_DEC_3): Likewise.
14240         (__FP_FRAC_DEC_4): Likewise.
14241         (__FP_FRAC_ADDI_4): Likewise.
14242         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14243         (_FP_FRAC_SRL_8): Likewise.
14244         (_FP_FRAC_SRS_8): Likewise.
14246         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14247         include macro name.
14248         (FP_UNPACK_RAW_EP): Likewise.
14249         (FP_PACK_RAW_E): Likewise.
14250         (FP_PACK_RAW_EP): Likewise.
14251         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14252         (_FP_ISSIGNAN): Likewise.
14253         (_FP_ADD_INTERNAL): Likewise.
14254         (_FP_FMA): Likewise.
14255         (_FP_CMP): Likewise.
14256         (_FP_SQRT): Likewise.
14257         (_FP_TO_INT): Likewise.
14258         (_FP_FROM_INT): Likewise.
14259         (FP_EXTEND): Likewise.
14260         (_FP_DIV_MEAT_N_loop): Likewise.
14262 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14264         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14265         throughout.
14267 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14269         [BZ #17097]
14270         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14271         result with correct sign in case of exponents that produce
14272         overflow except for X very close to 1.
14274 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14276         mktime: merge #if/#ifdef usage from glibc
14277         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14278         as that works with both Glibc's and Gnulib's style.
14279         See thread starting at Siddhesh Poyarekar's bug report at:
14280         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14282 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14284         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14285         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14286         * sysdeps/tile/tilegx/memmove.c: Remove file.
14288 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14290         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14291         abi-name definition.
14292         * scripts/soversions.awk: Do not handle or generate ABI lines.
14293         * shlib-versions: Remove ABI entries.
14294         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14295         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14297 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14299         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14300         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14301         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14302         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14303         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14304         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14305         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14306         Moved ...
14307         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14308         ... here.
14309         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14310         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14311         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14312         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14313         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14314         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14315         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14316         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14317         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14318         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14320         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14321         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14322         Moved ...
14323         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14325         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14326         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14327         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14329         Moved ...
14330         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14331         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14332         Moved ...
14333         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14335         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14336         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14337         Moved ...
14338         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14339         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14340         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14341         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14342         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14343         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14344         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14345         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14346         Moved ...
14347         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14349         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14350         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14351         Moved ...
14352         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14353         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14354         Moved ...
14355         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14356         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14357         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14358         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14359         Moved ...
14360         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14361         ... here.
14362         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14363         Identical file removed.
14364         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14365         Moved ...
14366         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14367         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14368         Identical file removed.
14369         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14370         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14371         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14372         Moved ...
14373         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14374         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14375         Identical file removed.
14376         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14377         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14378         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14379         Identical file removed.
14380         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14381         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14382         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14383         Identical file removed.
14384         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14385         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14386         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14387         Identical file removed.
14388         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14389         Moved ...
14390         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14391         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14392         Identical file removed.
14393         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14394         Moved ...
14395         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14396         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14397         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14398         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14399         Identical file removed.
14400         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14401         Moved ...
14402         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14403         ... here.
14404         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14405         Identical file removed.
14406         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14407         Moved ...
14408         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14409         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14410         Identical file removed.
14411         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14412         Moved ...
14413         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14414         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14415         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14416         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14417         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14418         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14419         Moved ...
14420         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14421         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14422         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14424         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14425         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14426         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14427         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14428         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14430 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14432         [BZ #17092]
14433         * nscd/nscd.c (monitor_child): Return exit status of child
14434         instead of return value from wait syscall.
14436 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14438         * configure.ac (libc_commonpagesize): Remove variable.
14439         (libc_relro_required): Likewise.
14440         (libc_cv_z_relro): Remove configure test.
14441         * configure: Regenerated.
14442         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14443         variable.
14444         (libc_relro_required): Likewise.
14445         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14446         (libc_relro_required): Likewise.
14447         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14448         (libc_relro_required): Likewise.
14449         * sysdeps/arm/preconfigure: Regenerated.
14450         * sysdeps/ia64/preconfigure: Remove file.
14451         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14452         variable.
14453         (libc_relro_required): Likewise.
14455         [BZ #16561]
14456         [BZ #16562]
14457         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14458         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14459         recompute overflowing results in original rounding mode.
14460         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14461         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14462         recompute overflowing results in original rounding mode.
14463         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14464         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14465         recompute overflowing results in original rounding mode.
14466         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14467         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14468         recompute overflowing results in original rounding mode.
14469         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14470         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14471         recompute overflowing results in original rounding mode.
14472         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14473         (libc_feholdsetround_ctx): New macro.
14474         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14475         * sysdeps/i386/fpu/libm-test-ulps: Update.
14476         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14478 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14480         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14481         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14482         corresponding .cpsetup call.
14484 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14486         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14487         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14488         * sysdeps/arm/Makefile [$(subdir) = csu]
14489         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14490         (static-only-routines): Add aeabi_read_tp here.
14491         (shared-only-routines): Add libc-aeabi_read_tp here.
14492         (CFLAGS-libc-start.c): Add -fexceptions here.
14493         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14494         (sysdep_routines, static-only-routines, shared-only-routines):
14495         Don't add to these here.
14496         (CFLAGS-libc-start.c): Likewise.
14498         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14499         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14500         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14501         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14502         * sysdeps/arm/Makefile [$(subdir) = rt]
14503         (librt-sysdep_routines, librt-shared-only-routines):
14504         Append rt-aeabi_unwind_cpp_pr1 here.
14505         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14506         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14507         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14508         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14509         Append nptl-aeabi_unwind_cpp_pr1 here.
14510         (tests): Filter out tst-cleanupx4 here.
14511         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14512         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14513         Don't do those here.
14515 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14517         * scripts/list-sources.sh: Do not handle ports specially.
14519 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14521         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14522         * sysdeps/arm/feupdateenv.c: Likewise.
14524         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14526 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14528         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14529         trailing whitespace removed.
14530         * scripts/config.guess: Update to version 2014-03-23.
14531         * scripts/config.sub: Update to version 2014-05-01
14532         * scripts/install-sh: Update to version 2013-12-25.23.
14533         * scripts/move-if-change: Update from gnulib.
14535 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14537         * debug/memmove_chk.c: Remove pagecopy.h include.
14539 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14541         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14542         identical to gnulib mktime.
14544 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14546         * configure.ac: Do not test for machine being rs6000.  Do not test
14547         for powerpc*-*soft.
14548         * configure: Regenerated.
14550         [BZ #11505]
14551         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14552         test.
14553         * configure: Regenerated.
14554         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14555         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14556         Remove configure test.
14557         * sysdeps/arm/configure: Regenerated.
14558         * sysdeps/nptl/configure.ac: Do not check
14559         libc_cv_asm_cfi_directives.
14560         * sysdeps/nptl/configure: Regenerated.
14561         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14562         * sysdeps/x86_64/nptl/configure: Remove generated file.
14563         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14564         unconditional.
14565         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14567 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14569         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14570         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14571         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14572         it is defined.
14574         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14575         instead of whether it is defined.
14576         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14577         * sysdeps/hppa/dl-machine.h: Likewise.
14578         * sysdeps/ia64/dl-machine.h: Likewise.
14579         * sysdeps/m68k/dl-machine.h: Likewise.
14580         * sysdeps/microblaze/dl-machine.h: Likewise.
14581         * sysdeps/mips/dl-machine.: Likewise.
14582         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14583         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14584         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14585         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14586         * sysdeps/sh/dl-machine.h: Likewise.
14587         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14588         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14589         * sysdeps/tile/dl-machine.h: Likewise.
14590         * sysdeps/x86_64/dl-machine.h: Likewise.
14592         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14593         code.
14594         (verify_persistent_db): Likewise.
14596 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14599         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14600         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14601         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14602         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14603         Moved ...
14604         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14605         ... here.
14606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14607         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14609         Identical file removed.
14610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14611         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14613         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14615         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14617         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14619         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14621         Moved ...
14622         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14624         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14626         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14628         Moved ...
14629         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14631         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14633         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14635         Identical file removed.
14636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14637         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14639         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14641         Moved ...
14642         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14643         ... here.
14644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14645         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14647         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14649         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14651         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14653         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14655         Moved ...
14656         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14658         Moved ...
14659         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14661         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14663         Moved ...
14664         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14666         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14668         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14669         folded into ...
14670         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14671         * sysdeps/unix/sysv/linux/s390/Versions
14672         (libpthread: GLIBC_2.19): New version set.
14673         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14674         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14675         (librt: GLIBC_2.3.3): New version set.
14676         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14677         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14678         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14679         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14680         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14681         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14682         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14683         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14684         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14685         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14686         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14687         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14688         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14689         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14690         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14691         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14692         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14693         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14694         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14695         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14696         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14697         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14698         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14699         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14700         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14701         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14702         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14703         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14704         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14705         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14706         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14707         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14708         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14709         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14710         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14711         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14712         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14713         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14714         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14715         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14716         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14717         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14718         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14719         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14720         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14722         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14723         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14724         (__libc_vfork): Define the function under this name.
14725         [!NOT_IN_libc] (__vfork): Make this an alias.
14726         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14727         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14728         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14729         (__libc_vfork): Define the function under this name.
14730         [!NOT_IN_libc] (__vfork): Make this an alias.
14731         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14732         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14733         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14734         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14735         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14736         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14738         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14739         code that was previously under [RESET_PID].
14740         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14741         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14742         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14744         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14745         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14746         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14747         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14748         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14749         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14750         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14751         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14752         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14753         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14754         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14755         Moved ...
14756         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14757         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14758         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14759         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14760         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14761         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14762         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14763         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14764         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14765         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14766         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14767         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14768         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14769         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14770         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14771         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14772         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14773         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14774         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14775         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14776         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14777         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14778         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14779         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14780         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14781         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14782         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14783         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14784         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14786 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14788         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14789         that was previously under [RESET_PID].
14790         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14792 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14794         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14795         not undefine and redefine.
14796         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14797         [O_CLOEXEC]: Make code unconditional.
14798         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14799         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14800         <kernel-features.h>.
14801         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14802         conditional variable definition.
14803         (shm_open) [O_CLOEXEC]: Make code unconditional.
14804         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14805         code.
14807         * configure.ac (USE_REGPARMS): Don't define here.
14808         * configure: Regenerated.
14809         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14810         * sysdeps/i386/configure: Regenerated.
14812         * nptl/createthread.c: Don't include kernel-features.h.
14813         * nptl/pthread_cancel.c: Likewise.
14814         * nptl/pthread_condattr_setclock.c: Likewise.
14815         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14816         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14817         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14818         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14819         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14820         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14821         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14822         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14823         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14824         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14825         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14826         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14827         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14828         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14829         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14830         * nscd/gai.c: Likewise.
14831         * nss/nss_db/db-open.c: Likewise.
14832         * sysdeps/generic/ldsodefs.h: Likewise.
14833         * sysdeps/sh/nptl/tls.h: Likewise.
14834         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14835         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14836         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14837         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14838         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14839         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14840         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14841         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14842         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14843         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14844         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14845         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14846         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14847         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14848         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14849         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14850         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14851         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14852         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14853         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14854         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14855         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14856         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14857         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14858         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14859         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14860         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14861         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14862         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14863         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14864         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14865         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14866         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14867         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14868         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14869         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14870         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14871         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14872         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14873         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14874         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14875         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14876         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14877         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14878         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14879         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14880         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14881         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14882         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14883         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14884         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14885         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14886         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14887         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14888         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14889         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14890         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14891         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14914         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14915         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14916         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14917         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14918         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14919         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14920         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14921         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14922         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14923         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14924         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14925         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14926         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14927         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14928         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14929         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14930         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14931         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14932         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14933         * sysdeps/unix/sysv/linux/system.c: Likewise.
14934         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14935         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14936         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14937         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14938         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14939         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14940         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14942         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14943         * configure: Regenerated.
14944         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14946         * configure.ac (base_machine): Do not set specially for particular
14947         machines here.
14948         * configure: Regenerated.
14949         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14950         settings from configure.ac.
14951         * sysdeps/i386/preconfigure: New file.
14952         * sysdeps/s390/preconfigure: Likewise.
14953         * sysdeps/sh/preconfigure: Likewise.
14954         * sysdeps/sparc/preconfigure: Likewise.
14956 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14958         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14959         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14960         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14961         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14962         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14963         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14964         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14965         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14966         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14967         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14968         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14969         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14970         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14971         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14972         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14973         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14974         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14975         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14976         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14978         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14979         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14980         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14981         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14982         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14983         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14984         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14985         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14986         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14987         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14988         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14989         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14990         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14991         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14992         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14993         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14994         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14995         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14996         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14997         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14998         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14999         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15000         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15001         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15002         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15003         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15004         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15005         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15006         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15007         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15008         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15009         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15010         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15011         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15012         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15013         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15014         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15015         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15018         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15020         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15022         Moved ...
15023         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15024         ... here.
15025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15026         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15028         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15030         Moved ...
15031         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15033         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15035         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15037         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15039         Moved ...
15040         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15042         Moved ...
15043         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15045         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15047         Moved ...
15048         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15050         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15052         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15054         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15056         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15058         Moved ...
15059         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15060         ... here.
15061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15062         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15064         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15066         Moved ...
15067         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15069         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15071         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15073         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15075         Moved ...
15076         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15078         Moved ...
15079         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15081         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15083         Moved ...
15084         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15086         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15088         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15090 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15092         * timezone/checktab.awk: Update from tzcode 2014e.
15093         * timezone/private.h: Likewise.
15094         * timezone/tzfile.h: Likewise.
15095         * timezone/zdump.c: Likewise.
15096         * timezone/zic.c: Likewise.
15098         * sysdeps/unix/sysv/linux/kernel-features.h
15099         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15100         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15101         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15102         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15103         Remove conditional code.
15105 2014-06-25  Will Newton  <will.newton@linaro.org>
15107         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15108         (_dl_arm_cap_flags): Add HWCAP2 values.
15109         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15110         (_DL_HWCAP_COUNT): Increase to 37.
15111         (_DL_HWCAP_LAST): New define.
15112         (_DL_HWCAP2_LAST): New define.
15113         (_dl_procinfo): Add support for printing
15114         AT_HWCAP2 entries.
15115         (_dl_string_hwcap): Use _dl_hwcap_string.
15117 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15121 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15123         * README: Do not mention ports directory.
15125         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15126         Remove macro.
15127         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15128         <kernel-features.h>.
15129         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15130         conditional variable definition.
15131         (__futimes): Update comment.
15132         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15133         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15135         [BZ #16560]
15136         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15137         arguments close to 0.
15138         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15139         Likewise.
15140         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15141         Likewise.
15142         * math/auto-libm-test-in: Add more tests of exp10.
15143         * math/auto-libm-test-out: Regenerated.
15144         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15146         * sysdeps/unix/sysv/linux/kernel-features.h
15147         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15148         * sysdeps/unix/sysv/linux/readv.c: Do not include
15149         <kernel-features.h>.
15150         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15151         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15152         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15153         unconditional.
15154         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15155         conditional code.
15156         * sysdeps/unix/sysv/linux/writev.c: Do not include
15157         <kernel-features.h>.
15158         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15159         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15160         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15161         unconditional.
15162         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15163         conditional code.
15165 2014-06-25  Will Newton  <will.newton@linaro.org>
15167         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15168         comment changes throughout the file.  Remove checks
15169         for HAVE_*_H definitions that are not required.
15170         (__gen_tempname): Call abort if an unknown kind value is
15171         passed.
15173 2014-06-25  Andreas Schwab  <schwab@suse.de>
15175         [BZ #17086]
15176         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15177         scalbln, scalblnf, scalblnl in libc.
15179 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15181         [BZ #17086]
15182         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15183         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15184         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15186 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15188         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15189         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15190         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15191         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15192         Update #include.
15193         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15194         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15195         Update #include.
15196         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15197         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15198         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15199         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15200         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15201         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15202         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15203         * sysdeps/x86/bits/semaphore.h: ... here.
15204         * sysdeps/x86/nptl/elide.h: Moved ...
15205         * sysdeps/x86/elide.h: ... here.
15206         * sysdeps/x86_64/nptl/Implies: File removed.
15207         * sysdeps/i386/nptl/Implies: File removed.
15209 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15211         [BZ #16539]
15212         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15213         return the argument for normal arguments with exponent below -64.
15214         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15215         Likewise.
15216         * math/auto-libm-test-in: Add another test of expm1.
15217         * math/auto-libm-test-out: Regenerated.
15219         [BZ #16287]
15220         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15221         calling __erfcl for arguments at least 16.
15222         * math/auto-libm-test-in: Add more tests of erf.
15223         * math/auto-libm-test-out: Regenerated.
15225         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15226         individual architectures.
15227         * sysdeps/unix/sysv/linux/configure: Regenerated.
15228         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15229         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15230         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15231         (ldd_rewrite_script): Define variable.
15232         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15234         file.
15235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15236         generated file.
15237         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15238         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15239         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15240         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15241         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15242         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15243         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15244         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15246 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15248         [BZ #17084]
15249         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15250         Rename member __data.d to __data.__elision_data.
15252 2014-06-24  Wilco  <wdijkstr@arm.com>
15254         * NEWS: Add 16918 to fixed bug list.
15256 2014-06-24  Wilco  <wdijkstr@arm.com>
15258         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15260 2014-06-24  Wilco  <wdijkstr@arm.com>
15262         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15263         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15264         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15265         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15266         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15267         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15268         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15269         Use _FPU_MASK_RM.
15271 2014-06-24  Wilco  <wdijkstr@arm.com>
15273         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15275 2014-06-24  Wilco  <wdijkstr@arm.com>
15277         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15278         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15279         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15280         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15282 2014-06-24  Wilco  <wdijkstr@arm.com>
15284         [BZ #16918]
15285         * sysdeps/arm/feupdateenv.c (feupdateenv):
15286         Rewrite to reduce FPSCR accesses and fix return value.
15288 2014-06-24  Wilco  <wdijkstr@arm.com>
15290         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15291         Optimize to avoid unnecessary FPSCR writes.
15292         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15293         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15294         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15295         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15297 2014-06-24  Wilco  <wdijkstr@arm.com>
15299         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15300         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15301         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15302         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15303         Call libc_fetestexcept_vfp.
15304         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15305         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15306         __SOFTFP__ ifdef so that they can be built for softfp.
15308 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15310         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15311         argument type signed char.
15313         * Makerules (check-abi): Dump diff of symlist if the test
15314         fails.
15316 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15318         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15319         using abort.
15321         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15322         Remove unused variable ST.
15324 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15326         [BZ #16354]
15327         [BZ #17061]
15328         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15329         small arguments before calling __expm1.
15330         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15331         small arguments before calling __expm1f.
15332         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15333         small arguments before calling __expm1l.
15334         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15335         Likewise.
15336         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15337         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15338         spurious underflow for some cosh tests.
15339         * math/auto-libm-test-out: Regenerated.
15340         * sysdeps/i386/fpu/libm-test-ulps: Update.
15342         [BZ #17050]
15343         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15344         (__ieee754_y1): Set errno if return value overflows.
15345         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15346         (__ieee754_y1f): Set errno if return value overflows.
15347         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15348         (__ieee754_y1l): Set errno if return value overflows.
15349         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15350         (__ieee754_y1l): Set errno if return value overflows.
15351         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15352         * math/auto-libm-test-out: Regenerated.
15354         * math/gen-auto-libm-tests.c: Document use of
15355         ignore-zero-inf-sign.
15356         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15357         (input_flags): Add ignore-zero-inf-sign.
15358         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15359         * math/gen-libm-test.pl (generate_testfile): Handle
15360         ignore-zero-inf-sign.
15361         * math/auto-libm-test-in: Mark some cpow tests with
15362         ignore-zero-inf-sign and some with xfail-rounding.
15363         * math/auto-libm-test-out: Regenerated.
15364         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15365         * sysdeps/i386/fpu/libm-test-ulps: Update.
15366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15368         [BZ #16315]
15369         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15370         overflowing or underflowing operations take place with sign of
15371         result.
15372         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15373         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15374         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15375         (__ieee754_pow): Recompute overflowing and underflowing results in
15376         original rounding mode.
15377         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15378         (__powl_helper): Allow negative argument X and scale negated value
15379         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15380         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15381         overflowing or underflowing operations take place with sign of
15382         result.
15383         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15384         Include <math.h>.
15385         * math/auto-libm-test-in: Add more tests of pow.
15386         * math/auto-libm-test-out: Regenerated.
15387         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15388         (pow_tonearest_test_data): Remove.
15389         (pow_test_tonearest): Likewise.
15390         (pow_towardzero_test_data): Likewise.
15391         (pow_test_towardzero): Likewise.
15392         (pow_downward_test_data): Likewise.
15393         (pow_test_downward): Likewise.
15394         (pow_upward_test_data): Likewise.
15395         (pow_test_upward): Likewise.
15396         (main): Don't call removed functions.
15397         * sysdeps/i386/fpu/libm-test-ulps: Update.
15398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15400 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15403         Moved ...
15404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15406         Moved ...
15407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15409         Moved ...
15410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15412         Moved ...
15413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15415         File removed.
15416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15417         File removed.
15418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15419         File removed.
15420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15421         File removed.
15422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15423         File removed.
15424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15425         File removed.
15426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15427         File removed.
15428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15429         File removed.
15430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15431         File removed.
15432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15433         File removed.
15434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15435         File removed.
15436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15437         File removed.
15438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15439         Moved ...
15440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15442         Moved ...
15443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15444         ... here.
15445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15446         Moved ...
15447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15449         Moved ...
15450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15452         Moved ...
15453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15455         Moved ...
15456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15458         Moved ...
15459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15461         Moved ...
15462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15464         Moved ...
15465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15468         ... here.
15469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15470         Moved ...
15471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15473         Moved ...
15474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15475         ... here.
15476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15477         Moved ...
15478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15479         ... here.
15480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15481         Moved ...
15482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15483         ... here.
15484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15485         Moved ...
15486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15488         Moved ...
15489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15493         Moved ...
15494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15495         ... here.
15496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15497         Moved ...
15498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15499         ... here.
15500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15501         Moved ...
15502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15504         Moved ...
15505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15507         Moved ...
15508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15510         Moved ...
15511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15513         Moved ...
15514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15515         ... here.
15516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15517         Moved ...
15518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15520         Moved ...
15521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15523         Moved ...
15524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15526         Moved ...
15527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15531         Moved ...
15532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15534         Moved ...
15535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15537         Moved ...
15538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15539         ... here.
15540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15541         Moved ...
15542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15543         ... here.
15544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15545         Moved ...
15546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15547         ... here.
15548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15549         Moved ...
15550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15552         Moved ...
15553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15555         Moved ...
15556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15558         Moved ...
15559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15560         ... here.
15561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15562         Moved ...
15563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15564         ... here.
15565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15566         Moved ...
15567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15568         ... here.
15569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15570         Moved ...
15571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15573         Moved ...
15574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15576 2014-06-23  Will Newton  <will.newton@linaro.org>
15577             Wilco  <wdijkstr@arm.com>
15579         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15580         implementation.  Include get-rounding-mode.h.
15581         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15582         [!libc_feholdsetround_noex_ctx]: Define
15583         libc_feholdsetround_noex_ctx.
15584         [!libc_feholdsetround_noexf_ctx]: Define
15585         libc_feholdsetround_noexf_ctx.
15586         [!libc_feholdsetround_noexl_ctx]: Define
15587         libc_feholdsetround_noexl_ctx.
15588         (libc_feholdsetround_ctx): New function.
15589         (libc_feresetround_ctx): New function.
15590         (libc_feholdsetround_noex_ctx): New function.
15591         (libc_feresetround_noex_ctx): New function.
15593 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15595         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15596         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15597         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15598         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15599         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15600         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15602         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15603         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15604         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15605         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15606         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15607         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15608         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15609         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15610         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15611         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15612         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15613         Moved ...
15614         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15615         ... here.
15616         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15617         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15618         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15619         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15620         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15621         Moved ...
15622         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15623         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15624         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15625         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15626         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15627         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15628         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15629         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15630         Moved ...
15631         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15632         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15633         Moved ...
15634         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15635         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15636         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15637         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15638         Moved ...
15639         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15640         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15641         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15642         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15643         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15644         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15645         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15646         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15647         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15648         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15649         Moved ...
15650         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15651         ... here.
15652         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15653         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15654         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15655         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15656         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15657         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15658         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15659         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15660         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15661         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15662         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15663         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15664         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15665         Moved ...
15666         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15667         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15668         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15669         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15670         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15671         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15672         Moved ...
15673         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15674         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15675         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15676         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15677         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15679         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15680         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15681         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15682         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15683         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15684         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15685         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15686         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15687         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15688         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15689         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15690         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15691         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15692         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15693         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15694         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15695         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15696         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15697         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15698         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15699         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15700         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15701         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15702         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15703         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15704         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15705         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15706         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15708 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15710         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15711         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15712         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15713         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15714         (IPV6_PMTUDISC_INTERFACE): Likewise.
15715         (IPV6_PMTUDISC_OMIT): Likewise.
15717 2014-06-23  Andreas Schwab  <schwab@suse.de>
15719         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15720         Remove unused errout label.
15722 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15724         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15725         macro: hardware supports Vector Crypto instructions.
15727 2014-06-23  Will Newton  <will.newton@linaro.org>
15729         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15730         rather than __builtin_expect.
15732         * elf/dl-lookup.c (undefined_msg): Remove variable.
15733         (_dl_lookup_symbol_x): Replace undefined_msg with string
15734         literal.
15736         * elf/dl-lookup.c (do_lookup_unique): New function.
15737         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15738         to a separate function.
15740 2014-06-23  Andreas Schwab  <schwab@suse.de>
15742         [BZ #17079]
15743         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15744         before reading the next line.
15746 2014-06-23  Will Newton  <will.newton@linaro.org>
15748         * test-skeleton.c (signal_handler): Use printf and %m
15749         rather than perror.  Use printf rather than fprintf to
15750         stderr.  Use puts rather than fputs to stderr.
15751         (main): Likewise.
15753 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15755         * nscd/nscd.c (thread_info_t): Remove typedef.
15756         (thread_info): Remove variable.
15758 2014-06-21  Allan McRae  <allan@archlinux.org>
15760         * NEWS: Mention CVE-2014-4043.
15762 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15764         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15765         * nptl/smp.h: ... here.
15767         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15769         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15770         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15771         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15772         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15774         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15775         * nptl/stack-aliasing.h: New file.
15776         * sysdeps/i386/i686/stack-aliasing.h: New file.
15777         * sysdeps/i386/i686/nptl/Makefile: File removed.
15778         * sysdeps/x86_64/stack-aliasing.h: New file.
15779         * sysdeps/x86_64/nptl/Makefile
15780         (CFLAGS-pthread_create.c): Variable removed.
15782         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15783         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15784         old file.
15785         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15786         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15787         old file.
15789 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15791         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15792         (__ASSUME_SIGFRAME_V2): Remove macro.
15793         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15794         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15795         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15796         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15797         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15798         Declare as function.  Remove conditional macro definitions.
15799         (__default_rt_sa_restorer): Likewise.
15800         (__default_sa_restorer_v1): Remove declaration.
15801         (__default_sa_restorer_v2): Likewise.
15802         (__default_rt_sa_restorer_v1): Likewise.
15803         (__default_rt_sa_restorer_v2): Likewise.
15804         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15805         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15806         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15808 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15810         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15811         (libpthread-routines): Add sysdep.
15812         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15813         * sysdeps/unix/sysv/linux/sparc/Versions
15814         (libpthread: GLIBC_2.3.3): New version set.
15815         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15816         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15817         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15818         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15819         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15820         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15821         Moved ...
15822         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15823         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15824         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15825         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15826         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15827         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15828         * sysdeps/sparc/nptl/sem_init.c: ... here.
15829         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15830         * sysdeps/sparc/nptl/sem_post.c: ... here.
15831         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15832         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15833         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15834         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15835         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15836         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15837         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15838         (libpthread-routines): Add cpu_relax.
15839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15840         File removed.
15841         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15842         (librt: GLIBC_2.3.3): New version set.
15843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15844         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15845         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15846         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15849         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15851         Moved ...
15852         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15854         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15856         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15858         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15860         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15862         Moved ...
15863         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15864         Update #include.
15865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15866         Moved ...
15867         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15868         Update #include.
15869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15870         Moved ...
15871         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15872         Update #include.
15873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15874         Moved ...
15875         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15876         Update #include.
15877         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15878         Moved ...
15879         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15880         Update #include.
15881         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15882         Moved ...
15883         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15884         Update #include.
15885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15886         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15888         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15890         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15892         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15894         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15896         Moved ...
15897         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15899         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15901         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15903 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15905         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15906         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15907         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15908         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15909         * nscd/nscd.c: Likewise.
15910         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15911         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15912         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15913         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15915         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15916         <kernel-features.h>.
15917         (init_mq_netlink): Remove conditional have_sock_cloexec
15918         definitions.  Remove code conditional on have_sock_cloexec < 0.
15919         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15920         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15921         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15922         <kernel-features.h>.
15923         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15924         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15926 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15929         Add tests for memset_chk and memset.
15931         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15932         with AVX2_Usable.
15934 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15936         [BZ #16046]
15937         * elf/tst-dl-iter-static.c: New file.
15938         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15940         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15941         error.
15943 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15945         * sysdeps/unix/sysv/linux/kernel-features.h
15946         (__ASSUME_F_GETOWN_EX): Remove macro.
15947         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15948         <kernel-features.h>.
15949         (miss_F_GETOWN_EX): Remove variable or macro.
15950         (do_fcntl): Do not check miss_F_GETOWN_EX.
15951         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15953         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15954         Remove macro.
15955         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15956         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15957         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15959         * sysdeps/unix/sysv/linux/kernel-features.h
15960         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15961         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15962         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15963         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15965 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15967         [BZ #17075]
15968         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15969         Fix calculation of the symbol's value.
15970         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15971         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15972         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15973         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15974         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15975         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15976         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15977         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15978         (modules-names): Add `tst-armtlsdescmod',
15979         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15980         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15981         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15982         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15983         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15984         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15985         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15986         ($(objpfx)tst-armtlsdescloc): New dependency.
15987         ($(objpfx)tst-armtlsdescextnow): Likewise.
15988         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15989         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15990         TLS scheme support.
15991         * sysdeps/arm/configure: Regenerate.
15993 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15995         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15996         (__atfct_seterrno_2): Likewise.
15997         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15998         <kernel-features.h>.
15999         (__ASSUME_ATFCTS): Do not undefine and redefine.
16000         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16001         (__have_atfcts): Remove conditional definition.
16002         (__fxstatat([__NR_fstatat64]: Make code unconditional.
16003         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16004         unreachable if [__ASSUME_ATFCTS].
16005         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16006         not undefine and redefine.
16007         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16008         <kernel-features.h>.
16009         (faccessat) [__NR_faccessat]: Make code unconditional.
16010         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16011         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16012         <kernel-features.h>.
16013         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16014         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16015         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16016         <kernel-features.h>.
16017         (fchownat) [__NR_fchownat]: Make code unconditional.
16018         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16019         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16020         <kernel-features.h>.
16021         (futimesat) [__NR_futimesat]: Make code unconditional.
16022         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16023         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16024         <kernel-features.h>.
16025         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16026         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16027         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16028         <kernel-features.h>.
16029         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16030         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16031         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16032         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16033         <kernel-features.h>.
16034         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16035         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16036         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16037         <kernel-features.h>.
16038         (linkat) [__NR_linkat]: Make code unconditional.
16039         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16040         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16041         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16042         <kernel-features.h>.
16043         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16044         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16045         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16046         <kernel-features.h>.
16047         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16048         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16049         * sysdeps/unix/sysv/linux/openat.c: Do not include
16050         <kernel-features.h>.
16051         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16052         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16053         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16054         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16055         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16056         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16057         <kernel-features.h>.
16058         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16059         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16060         result of INLINE_SYSCALL directly, not via int variable.
16061         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16062         <kernel-features.h>.
16063         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16064         (renameat) [__NR_renameat]: Make code unconditional.
16065         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16066         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16067         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16068         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16069         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16070         (__ASSUME_ATFCTS): Do not undefine and redefine.
16071         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16072         <kernel-features.h>.
16073         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16074         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16075         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16076         <kernel-features.h>.
16077         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16078         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16079         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16080         (__ASSUME_ATFCTS): Do not undefine and redefine.
16081         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16082         <kernel-features.h>.
16083         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16084         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16085         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16086         <kernel-features.h>.
16087         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16088         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16090 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16092         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16094 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16096         [BZ #17069]
16097         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16098         constructed tree before returning error.
16099         * posix/bug-regexp36.c: Expand test case.
16101 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16103         [BZ #6803]
16104         * math/libm-test.inc (scalbln_test_date):
16105         Add errno expectations.
16106         * math/w_scalblnf.c: New File.
16107         Add wrapper which checks for setting errno to ERANGE.
16108         Add weak_alias for corresponding scalbln function.
16109         * math/w_scalbln.c: Likewise.
16110         * math/w_scalblnl.c: Likewise.
16111         * math/Makefile (libm-calls): Add w_scalbln.
16112         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16113         Remove weak_alias for corresponding scalbln function.
16114         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16115         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16116         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16117         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16118         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16119         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16120         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16121         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16122         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16123         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16124         Remove long_double_symbol for scalblnl function in libm, libc.
16125         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16126         Add wrapper which checks for setting errno to ERANGE.
16127         Add long_double_symbol for scalblnl function in libm, libc.
16128         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16129         Remove long_double_symbol for scalblnl in libm.
16130         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16131         Add wrapper which checks for setting errno to ERANGE.
16132         Add long_double_symbol for scalblnl function in libm.
16133         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16134         Do not use wrapper because of own implementation.
16136 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16138         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16139         3 bytes for __pad1 for x32.
16140         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16142 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16143             H.J. Lu  <hongjiu.lu@intel.com>
16145         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16146         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16147         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16148         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16149         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16151 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16153         [BZ #17069]
16154         * posix/regcomp.c (parse_expression): Deallocate partially
16155         constructed tree before returning error.
16156         * posix/Makefile.c (tests): Add bug-regex36.
16157         (generated): Add bug-regex36.mtrace.
16158         (tests-special): Add $(objpfx)bug-regex36-mem.out
16159         (bug-regex36-ENV): New variable.
16160         ($(objpfx)bug-regex36-mem.out): New rule.
16161         * posix/bug-regex36.c: New file.
16163 2014-06-19  Will Newton  <will.newton@linaro.org>
16165         * malloc/malloc.c (systrim): If extra is zero then return
16166         early.
16168 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16170         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16172 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16174         * sysdeps/aarch64/strchr.S: New file.
16176 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16178         [BZ #17022]
16179         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16180         from arguments -2 or below.
16181         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16182         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16184 2014-06-18  Andreas Schwab  <schwab@suse.de>
16186         [BZ #17062]
16187         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16188         of a bracket expr not to run off the end of the string.
16189         * posix/Makefile (tests): Add tst-fnmatch3.
16190         * posix/tst-fnmatch3.c: New file.
16192 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16194         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16195         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16196         [$(cross-compiling) = no]: Likewise.
16197         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16198         [$(cross-compiling) = no]: Likewise.
16200 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16202         [BZ #17031]
16203         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16204         double, adjusted for any remainder from the high double.
16205         * math/libm-test.inc (nearbyint): Add tests.
16206         (rint): Likewise.
16208 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16210         * nptl/sysdeps/powerpc/Makefile: Moved ...
16211         * sysdeps/powerpc/nptl/Makefile: ... here.
16212         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16213         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16214         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16215         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16216         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16217         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16218         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16219         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16220         * nptl/sysdeps/powerpc/tls.h: Moved ...
16221         * sysdeps/powerpc/nptl/tls.h: ... here.
16223 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16225         [BZ #16681]
16226         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16227         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16228         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16229         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16230         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16231         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16232         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16233         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16234         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16236 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16238         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16240 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16242         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16243         defined operator.
16245         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16246         $TIMEOUTFACTOR.
16248 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16250         [BZ #17058]
16251         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16252         non-executed part of the test.
16254 2014-06-16  Andreas Schwab  <schwab@suse.de>
16256         * string/bits/string2.h (strdup, strndup): Update feature guard.
16258 2014-06-14  David S. Miller  <davem@davemloft.net>
16260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16262 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16264         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16265         that was previously under [RESET_PID].
16266         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16268         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16269         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16270         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16271         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16272         (__libc_vfork): New strong alias.
16273         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16275 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16277         * sysdeps/generic/elide.h: New file.
16279 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16281         * Makefile (installed-headers): Adjust path of pthread.h header.
16283 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16285         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16286         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16287         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16288         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16290         * nptl/sysdeps/s390/Makefile: Moved ...
16291         * sysdeps/s390/nptl/Makefile: ... here.
16292         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16293         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16294         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16295         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16296         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16297         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16298         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16299         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16300         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16301         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16302         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16303         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16304         * nptl/sysdeps/s390/tls.h: Moved ...
16305         * sysdeps/s390/nptl/tls.h: ... here.
16307         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16308         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16310 2014-06-13  David S. Miller  <davem@davemloft.net>
16312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16314         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16315         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16319         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16320         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16321         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16322         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16323         Remove RESET_PID cpp guards.
16324         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16325         Remove RESET_PID cpp guards.
16326         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16328 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16330         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16331         __sp to uintptr_t.
16333 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16335         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16336         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16337         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16338         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16339         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16340         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16341         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16342         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16343         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16344         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16345         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16346         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16347         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16348         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16349         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16350         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16351         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16352         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16353         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16354         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16356         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16357         (pthread_rwlock_rdlock): Add elision.
16358         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16359         (pthread_rwlock_wrlock): Add elision.
16360         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16361         (pthread_rwlock_trywrlock): Add elision.
16362         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16363         (pthread_rwlock_tryrdlock): Add elision.
16364         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16365         (pthread_rwlock_tryrdlock): Add elision unlock.
16366         * nptl/sysdeps/pthread/pthread.h:
16367         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16368         (PTHREAD_RWLOCK_INITIALIZER,
16369         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16370         Handle new elision field.
16371         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16372         * sysdeps/arm/nptl/bits/pthreadtypes.h
16373         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16374         * sysdeps/sh/nptl/bits/pthreadtypes.h
16375         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16376         * sysdeps/tile/nptl/bits/pthreadtypes.h
16377         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16378         * sysdeps/a/nptl/bits/pthreadtypes.h
16379         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16380         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16381         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16382         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16383         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16384         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16385         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16386         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16387         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16388         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16389         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16390         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16391         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16392         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16393         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16394         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16395         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16396         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16397         (elision_init): Set try_xbegin to zero when no RTM.
16398         * sysdeps/x86/nptl/bits/pthreadtypes.h
16399         (pthread_rwlock_t): Change __pad1 to __rwelision.
16400         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16402 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16404         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16405         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16406         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16407         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16409 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16411         [BZ #16996]
16412         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16413         that the cached result has been set before returning it.
16415 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16417         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16418         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16419         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16420         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16421         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16422         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16424         * nptl/sysdeps/sparc/Makefile: Moved ...
16425         * sysdeps/sparc/nptl/Makefile: ... here.
16426         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16427         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16428         * nptl/sysdeps/sparc/tls.h: Moved ...
16429         * sysdeps/sparc/nptl/tls.h: ... here.
16430         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16431         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16432         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16433         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16434         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16435         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16436         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16437         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16438         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16439         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16440         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16441         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16442         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16443         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16444         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16445         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16446         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16447         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16448         Update #include.
16449         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16450         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16451         Update #include.
16452         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16453         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16454         Update #include.
16455         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16456         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16457         Update #include.
16459         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16461         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16462         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16464         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16465         (struct list_links): Type removed.
16466         (struct thread_node, struct timer_node): Replace struct list_links
16467         with struct list_head.
16468         (list_unlink_ip): Likewise.
16469         * sysdeps/pthread/timer_routines.c
16470         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16471         (list_append, list_insbefore): Likewise.
16472         (list_init): Function removed.
16473         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16474         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16475         * sysdeps/pthread/Makefile: ... here, new file.
16477         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16478         * sysdeps/nptl/Implies: ... here.
16479         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16480         * nptl/sysdeps/pthread/list.h: Moved ...
16481         * include/list.h: ... here.
16482         * nptl/sysdeps/pthread/createthread.c: Moved ...
16483         * nptl/createthread.c: ... here.
16484         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16485         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16486         * nptl/pt-longjmp.c: ... here.
16487         * nptl/sysdeps/pthread/Makefile: Moved ...
16488         * sysdeps/nptl/Makefile: ... here.
16489         * nptl/sysdeps/pthread/Subdirs: Moved ...
16490         * sysdeps/nptl/Subdirs: ... here.
16491         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16492         * sysdeps/nptl/aio_misc.h: ... here.
16493         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16494         * sysdeps/nptl/bits/libc-lock.h: ... here.
16495         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16496         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16497         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16498         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16499         * nptl/sysdeps/pthread/configure: Moved ...
16500         * sysdeps/nptl/configure: ... here.
16501         * nptl/sysdeps/pthread/configure.ac: Moved ...
16502         * sysdeps/nptl/configure.ac: ... here.
16503         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16504         * sysdeps/nptl/gai_misc.h: ... here.
16505         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16506         * sysdeps/nptl/librt-cancellation.c: ... here.
16507         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16508         * sysdeps/nptl/malloc-machine.h: ... here.
16509         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16510         * sysdeps/nptl/pthread-functions.h: ... here.
16511         * nptl/sysdeps/pthread/pthread.h: Moved ...
16512         * sysdeps/nptl/pthread.h: ... here.
16513         * nptl/sysdeps/pthread/setxid.h: Moved ...
16514         * sysdeps/nptl/setxid.h: ... here.
16515         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16516         * sysdeps/nptl/sigfillset.c: ... here.
16517         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16518         * sysdeps/nptl/tcb-offsets.h: ... here.
16519         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16520         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16521         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16522         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16523         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16524         * sysdeps/pthread/allocalim.h: ... here.
16525         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16526         * sysdeps/pthread/bits/sigthread.h: ... here.
16527         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16528         * sysdeps/pthread/flockfile.c: ... here.
16529         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16530         * sysdeps/pthread/ftrylockfile.c: ... here.
16531         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16532         * sysdeps/pthread/funlockfile.c: ... here.
16533         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16534         * sysdeps/pthread/posix-timer.h: ... here.
16535         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16536         * sysdeps/pthread/timer_create.c: ... here.
16537         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16538         * sysdeps/pthread/timer_delete.c: ... here.
16539         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16540         * sysdeps/pthread/timer_getoverr.c: ... here.
16541         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16542         * sysdeps/pthread/timer_gettime.c: ... here.
16543         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16544         * sysdeps/pthread/timer_routines.c: ... here.
16545         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16546         * sysdeps/pthread/timer_settime.c: ... here.
16547         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16548         * sysdeps/pthread/tst-timer.c: ... here.
16549         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16550         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16552         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16553         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16555         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16556         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16557         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16558         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16559         Update #include target.
16560         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16561         * sysdeps/i386/i686/nptl/Makefile: ... here.
16562         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16563         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16564         Update #include target.
16565         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16566         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16567         * nptl/sysdeps/i386/Makefile: Moved ...
16568         * sysdeps/i386/nptl/Makefile: ... here.
16569         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16570         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16571         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16572         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16573         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16574         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16575         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16576         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16577         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16578         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16579         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16580         * nptl/sysdeps/i386/tls.h: Moved ...
16581         * sysdeps/i386/nptl/tls.h: ... here.
16583         * sysdeps/sh/Makefile [$(subdir) = csu]
16584         (gen-as-const-headers): Add tcb-offsets.sym.
16585         * nptl/sysdeps/sh/Makefile: File removed.
16586         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16587         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16588         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16589         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16590         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16591         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16592         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16593         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16594         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16595         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16596         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16597         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16598         * nptl/sysdeps/sh/tls.h: Moved ...
16599         * sysdeps/sh/nptl/tls.h: ... here.
16600         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16601         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16602         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16603         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16604         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16605         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16606         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16607         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16608         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16609         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16610         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16611         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16612         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16613         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16614         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16615         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16616         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16617         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16618         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16619         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16620         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16621         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16622         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16623         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16624         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16625         Moved ...
16626         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16627         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16628         Moved ...
16629         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16630         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16631         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16632         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16633         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16634         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16635         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16636         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16637         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16638         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16639         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16640         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16641         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16642         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16643         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16644         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16645         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16646         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16647         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16649 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16651         * posix/spawn_faction_addopen.c: Include string.h.
16653 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16655         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16656         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16657         * nptl/sysdeps/x86_64/Makefile: Moved ...
16658         * sysdeps/x86_64/nptl/Makefile: ... here.
16659         * nptl/sysdeps/x86_64/configure: Moved ...
16660         * sysdeps/x86_64/nptl/configure: ... here.
16661         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16662         * sysdeps/x86_64/nptl/configure.ac: ... here.
16663         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16664         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16665         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16666         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16667         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16668         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16669         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16670         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16671         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16672         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16673         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16674         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16675         * nptl/sysdeps/x86_64/tls.h: Moved ...
16676         * sysdeps/x86_64/nptl/tls.h: ... here.
16677         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16678         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16679         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16680         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16682         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16684 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16688 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16690         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16691         type.
16692         [POSIX] (off_t): Likewise.
16693         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16694         [POSIX] (S_ISBLK): Require macro.
16695         [POSIX] (S_ISCHR): Likewise.
16696         [POSIX] (S_ISDIR): Likewise.
16697         [POSIX] (S_ISFIFO): Likewise.
16698         [POSIX] (S_ISREG): Likewise.
16699         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16700         optional-macro.
16701         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16702         type.
16703         [POSIX] (time_t): Likewise.
16704         [POSIX] (timer_t): Likewise.
16706 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16708         [BZ #17048]
16709         * posix/spawn_int.h (struct __spawn_action): Make the path string
16710         non-const to support deallocation.
16711         * posix/spawn_faction_addopen.c
16712         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16713         * posix/spawn_faction_destroy.c
16714         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16715         path in all spawn_do_open actions.
16716         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16717         posix_spawn_file_actions_addopen.
16719 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16721         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16722         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16723         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16724         conditional code always true.
16725         (__libc_vfork): New alias.
16727 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16729         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16730         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16732         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16734         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16735         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16737         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16738         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16740         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16741         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16743 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16745         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16746         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16747         multiarch strcmp for PPC64.
16748         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16749         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16751         multiarch optimizations.
16752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16753         (__libc_ifunc_impl_list): Likewise.
16755 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16757         * benchtests/scripts/validate_benchout.py: New script.
16758         * benchtests/Makefile (bench-func): Call it.
16759         * benchtests/scripts/benchout.schema.json: New file.
16761 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16763         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16764         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16765         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16766         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16767         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16768         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16769         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16770         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16771         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16772         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16773         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16774         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16775         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16776         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16777         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16778         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16780         Moved ...
16781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16782         ... here.
16783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16784         Moved ...
16785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16787         Moved ...
16788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16789         ... here.
16790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16791         Moved ...
16792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16793         ... here.
16794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16795         Moved ...
16796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16798         Moved ...
16799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16800         ... here.
16801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16802         Moved ...
16803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16804         ... here.
16805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16806         Moved ...
16807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16809         Moved ...
16810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16811         ... here.
16812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16813         Moved ...
16814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16815         ... here.
16816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16817         Moved ...
16818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16819         ... here.
16820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16821         Moved ...
16822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16824         Moved ...
16825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16826         ... here.
16827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16828         Moved ...
16829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16830         ... here.
16831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16832         Moved ...
16833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16834         ... here.
16835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16836         Moved ...
16837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16839         Moved ...
16840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16841         ... here.
16842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16843         Moved ...
16844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16845         ... here.
16846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16847         Moved ...
16848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16850         Moved ...
16851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16852         ... here.
16853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16854         Moved ...
16855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16857         Moved ...
16858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16860         Moved ...
16861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16862         ... here.
16863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16864         Moved ...
16865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16866         ... here.
16867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16868         Moved ...
16869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16870         ... here.
16871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16872         Moved ...
16873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16875         Moved ...
16876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16877         ... here.
16878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16879         Moved ...
16880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16881         ... here.
16882         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16883         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16884         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16885         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16886         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16887         Moved ...
16888         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16889         ... here.
16890         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16891         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16892         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16893         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16894         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16895         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16896         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16897         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16898         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16899         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16900         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16901         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16902         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16903         Moved ...
16904         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16905         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16906         Moved ...
16907         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16908         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16909         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16910         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16911         Moved ...
16912         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16913         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16914         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16915         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16916         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16917         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16918         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16920 2014-06-10  Wilco  <wdijkstr@arm.com>
16922         * math/test-fenv-return.c: New file.
16923         * math/Makefile: Add new test test-fenv-return.
16925 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16927         [BZ #17042]
16928         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16929         when x - 1 is zero.
16930         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16931         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16932         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16933         0.0L for an argument of 1.0L.
16934         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16935         Likewise.
16936         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16937         value when x - 1 is zero.
16938         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16939         * sysdeps/i386/fpu/libm-test-ulps: Update.
16940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16942 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16944         [BZ #15119]
16945         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16947 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16949         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16950         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16952 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16954         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16955         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16957         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16958         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16960         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16961         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16963         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16964         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16966         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16967         if not already defined.
16968         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16969         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16970         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16971         (TLS_INIT_TP): Use it.
16972         (TLS_DEFINE_INIT_TP): New macro.
16973         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16975 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16977         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16978         constant.
16979         [POSIX] (IXANY): Likewise.
16980         [POSIX] (OLCUC): Likewise.
16981         [POSIX || POSIX2008] (CBAUD): Do not allow.
16982         [POSIX || POSIX2008] (DEFECHO): Likewise.
16983         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16984         [POSIX || POSIX2008] (ECHOKE): Likewise.
16985         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16986         [POSIX || POSIX2008] (EXTA): Likewise.
16987         [POSIX || POSIX2008] (EXTB): Likewise.
16988         [POSIX || POSIX2008] (FLUSHO): Likewise.
16989         [POSIX || POSIX2008] (LOBLK): Likewise.
16990         [POSIX || POSIX2008] (PENDIN): Likewise.
16991         [POSIX || POSIX2008] (SWTCH): Likewise.
16992         [POSIX || POSIX2008] (VDISCARD): Likewise.
16993         [POSIX || POSIX2008] (VDSUSP): Likewise.
16994         [POSIX || POSIX2008] (VLNEXT): Likewise.
16995         [POSIX || POSIX2008] (VREPRINT): Likewise.
16996         [POSIX || POSIX2008] (VSTATUS): Likewise.
16997         [POSIX || POSIX2008] (VWERASE): Likewise.
16998         (B*): Change to B[0123456789]*.
16999         * conform/data/time.h-data [POSIX || UNIX98]
17000         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17001         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17002         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17003         [POSIX] (tm_*): Do not allow.
17005 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
17007         * Makefile (install): Don't set LANGUAGE.
17008         * Makefile.in (install): Likewise.
17009         * assert/Makefile (test-assert-ENV): Remove variable.
17010         (test-assert-perr-ENV): Likewise.
17011         * elf/Makefile (neededtest4-ENV): Likewise.
17012         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17013         [$(cross-compiling) = no]: Don't set LANGUAGE.
17014         * io/ftwtest-sh (LANG): Remove variable.
17015         * libio/Makefile (tst-widetext-ENV): Likewise.
17016         * manual/install.texi (Running make install): Don't refer to
17017         environment settings for make install.
17018         * INSTALL: Regenerated.
17019         * nptl/tst-tls6.sh: Don't set LANG.
17020         * posix/globtest.sh (LANG): Remove variable.
17021         * string/Makefile (tester-ENV): Likewise.
17022         (inl-tester-ENV): Likewise.
17023         (noinl-tester-ENV): Likewise.
17024         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17025         [$(cross-compiling) = no]: Don't set LANGUAGE.
17026         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17027         without explicit environment settings.
17029 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17031         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17032         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17033         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17034         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17036 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17038         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17039         other files in the crypt directory.
17040         * crypt/crypt.c: Remove duplicate includes.
17041         * crypt/crypt-entry.c: Likewise.
17042         * crypt/crypt_util.c: Likewise.
17044 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17046         * Makeconfig (run-program-env): New variable.
17047         (run-program-prefix-before-env): Likewise.
17048         (run-program-prefix-after-env): Likewise.
17049         (run-program-prefix): Define in terms of new variables.
17050         (built-program-cmd-before-env): New variable.
17051         (built-program-cmd-after-env): Likewise.
17052         (built-program-cmd): Define in terms of new variables.
17053         (test-program-prefix-before-env): New variable.
17054         (test-program-prefix-after-env): Likewise.
17055         (test-program-prefix): Define in terms of new variables.
17056         (test-program-cmd-before-env): New variable.
17057         (test-program-cmd-after-env): Likewise.
17058         (test-program-cmd): Define in terms of new variables.
17059         * Rules (make-test-out): Use $(run-program-env).
17060         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17061         (help): Do not mention environment variables.  Mention
17062         --timeoutfactor option.
17063         (timeoutfactor): New variable.
17064         (blacklist_exports): Remove function.
17065         (exports): Remove variable.
17066         (command): Do not include ${exports}.
17067         * manual/install.texi (Configuring and compiling): Do not mention
17068         test wrappers preserving environment variables.  Mention that last
17069         assignment to a variable must take precedence.
17070         * INSTALL: Regenerated.
17071         * benchtests/Makefile (run-bench): Use $(run-program-env).
17072         * catgets/Makefile ($(objpfx)test1.cat): Use
17073         $(built-program-cmd-before-env), $(run-program-env) and
17074         $(built-program-cmd-after-env).
17075         ($(objpfx)test2.cat): Do not specify environment variables
17076         explicitly.
17077         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17078         $(run-program-env) and $(built-program-cmd-after-env).
17079         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17080         $(run-program-env) and $(test-program-cmd-after-env).
17081         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17082         explicitly.
17083         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17084         run_program_env and test_program_cmd_after_env arguments.
17085         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17086         * elf/tst-pathopt.sh: Use run_program_env argument.
17087         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17088         $(test-wrapper-env) and $(run-program-env).
17089         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17090         run_program_env arguments.
17091         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17092         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17093         $(test-program-prefix-before-env), $(run-program-env) and
17094         $(test-program-prefix-after-env).
17095         ($(objpfx)tst-gettext2.out): Likewise.
17096         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17097         run_program_env and test_program_prefix_after_env arguments.
17098         * intl/tst-gettext2.sh: Likewise.
17099         * intl/tst-gettext4.sh: Do not set environment variables
17100         explicitly.
17101         * intl/tst-gettext6.sh: Likewise.
17102         * intl/tst-translit.sh: Likewise.
17103         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17104         $(test-program-prefix-before-env), $(run-program-env) and
17105         $(test-program-prefix-after-env).
17106         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17107         run_program_env and test_program_prefix_after_env arguments.
17108         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17109         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17110         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17111         explicitly with each use of ${test_wrapper_env}.
17112         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17113         $(test-program-prefix-before-env), $(run-program-env) and
17114         $(test-program-prefix-after-env).
17115         * posix/tst-getconf.sh: Do not set environment variables
17116         explicitly.
17117         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17118         run_program_env and test_program_prefix_after_env arguments.
17119         * stdio-common/tst-printf.sh: Do not set environment variables
17120         explicitly.
17121         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17122         $(test-program-prefix-before-env), $(run-program-env) and
17123         $(test-program-prefix-after-env).
17124         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17125         run_program_env and test_program_prefix_after_env arguments.
17126         Split $test calls into $test_pre and $test.
17127         * timezone/Makefile (build-testdata): Use
17128         $(built-program-cmd-before-env), $(run-program-env) and
17129         $(built-program-cmd-after-env).
17131 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17133         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17134         strlen for non SHARED builds.
17136 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17138         * nptl/allocatestack.c (check_list): Inlined function...
17139         (__reclaim_stacks): ... here.
17141 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17143         [BZ #15698]
17144         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17145         memory overrun.
17147 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17149         * Rules (make-test-out): Include
17150         LOCPATH=$(common-objpfx)localedata in default environment.
17151         * debug/Makefile (tst-chk1-ENV): Remove variable.
17152         (tst-chk2-ENV): Likewise.
17153         (tst-chk3-ENV): Likewise.
17154         (tst-chk4-ENV): Likewise.
17155         (tst-chk5-ENV): Likewise.
17156         (tst-chk6-ENV): Likewise.
17157         (tst-lfschk1-ENV): Likewise.
17158         (tst-lfschk2-ENV): Likewise.
17159         (tst-lfschk3-ENV): Likewise.
17160         (tst-lfschk4-ENV): Likewise.
17161         (tst-lfschk5-ENV): Likewise.
17162         (tst-lfschk6-ENV): Likewise.
17163         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17164         (tst-iconv7-ENV): Likewise.
17165         * intl/Makefile (LOCPATH-ENV): Likewise.
17166         (tst-codeset-ENV): Likewise.
17167         (tst-gettext3-ENV): Likewise.
17168         (tst-gettext5-ENV): Likewise.
17169         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17170         (tst-fopenloc-ENV): Likewise.
17171         (tst-fgetws-ENV): Remove variable.
17172         (tst-ungetwc1-ENV): Likewise.
17173         (tst-ungetwc2-ENV): Likewise.
17174         (bug-ungetwc2-ENV): Likewise.
17175         (tst-swscanf-ENV): Likewise.
17176         (bug-ftell-ENV): Likewise.
17177         (tst-fgetwc-ENV): Likewise.
17178         (tst-fseek-ENV): Likewise.
17179         (tst-ftell-partial-wide-ENV): Likewise.
17180         (tst-ftell-active-handler-ENV): Likewise.
17181         (tst-ftell-append-ENV): Likewise.
17182         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17183         (tst-regexloc-ENV): Likewise.
17184         (bug-regex1-ENV): Likewise.
17185         (tst-regex-ENV): Likewise.
17186         (tst-regex2-ENV): Likewise.
17187         (bug-regex5-ENV): Likewise.
17188         (bug-regex6-ENV): Likewise.
17189         (bug-regex17-ENV): Likewise.
17190         (bug-regex18-ENV): Likewise.
17191         (bug-regex19-ENV): Likewise.
17192         (bug-regex20-ENV): Likewise.
17193         (bug-regex22-ENV): Likewise.
17194         (bug-regex23-ENV): Likewise.
17195         (bug-regex25-ENV): Likewise.
17196         (bug-regex26-ENV): Likewise.
17197         (bug-regex30-ENV): Likewise.
17198         (bug-regex32-ENV): Likewise.
17199         (bug-regex33-ENV): Likewise.
17200         (bug-regex34-ENV): Likewise.
17201         (bug-regex35-ENV): Likewise.
17202         (tst-rxspencer-ENV): Likewise.
17203         (tst-rxspencer-no-utf8-ENV): Likewise.
17204         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17205         (tst-sscanf-ENV): Likewise.
17206         (tst-swprintf-ENV): Likewise.
17207         (tst-swscanf-ENV): Likewise.
17208         (test-vfprintf-ENV): Likewise.
17209         (scanf13-ENV): Likewise.
17210         (bug14-ENV): Likewise.
17211         (tst-grouping-ENV): Likewise.
17212         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17213         (tst-strtod3-ENV): Likewise.
17214         (tst-strtod4-ENV): Likewise.
17215         (tst-strtod5-ENV): Likewise.
17216         (testmb2-ENV): Likewise./
17217         * string/Makefile (tst-strxfrm-ENV): Likewise.
17218         (tst-strxfrm2-ENV): Likewise.
17219         (bug-strcoll1-ENV): Likewise.
17220         (test-strcasecmp-ENV): Likewise.
17221         (test-strncasecmp-ENV): Likewise.
17222         * time/Makefile (tst-strptime-ENV): Likewise.
17223         (tst-ftime_l-ENV): Likewise.
17224         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17225         (tst-mbrtowc-ENV): Likewise.
17226         (tst-wcrtomb-ENV): Likewise.
17227         (tst-mbrtowc2-ENV): Likewise.
17228         (tst-c16c32-1-ENV): Likewise.
17229         (tst-mbsnrtowcs-ENV): Likewise.
17231 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17233         * manual/resource.texi (How to get information about the memory
17234         subsystem?): Fix typo.
17235         Reported by Peon de la Parra Ivan <peon@keba.com>
17237 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17239         [BZ #16882]
17240         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17241         (pthread_spin_lock): Branch out of spin loop to proper location.
17242         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17243         (pthread_spin_lock): Likewise.
17245         * nptl/tst-spin4.c: New test.
17246         * nptl/Makefile (tests): Add tst-spin4.
17248 2014-06-03  Andreas Schwab  <schwab@suse.de>
17250         [BZ #15946]
17251         * resolv/res_send.c (send_dg): Reload file descriptor after
17252         calling reopen.
17254 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17256         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17258 2014-06-03  Richard Henderson  <rth@redhat.com>
17260         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17261         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17262         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17263         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17264         in the SAVE_PID block.
17265         (__libc_vfork): New alias.
17266         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17268         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17269         child in registers, not on the stack.  Remove RESET_PID conditionals.
17270         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17272 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17274         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17276 2014-06-03  Wilco  <wdijkstr@arm.com>
17278         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17279         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17280         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17281         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17282         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17283         Likewise.
17285 2014-06-03  Wilco  <wdijkstr@arm.com>
17287         * sysdeps/aarch64/fpu/math_private.h
17288         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17289         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17290         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17291         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17292         Fix declarations.
17294 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17296         * crypt/crypt-private.h: Include ufc-crypt.h.
17297         (__b64_from_24bit): Declare extern.
17298         * crypt/crypt_util.c(__b64_from_24bit): New function.
17299         (b64t): New static const variable.
17300         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17301         (b64t): Remove variable.
17302         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17303         * crypt/sha256-crypt.c: Include crypt-private.h.
17304         (b64t): Remove variable.
17305         (__sha256_crypt_r): Remove b64_from_24bit and replace
17306         with __b64_from_24bit.
17307         * crypt/sha512-crypt.c: Likewise.
17309 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17311         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17312         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17313         Label the code __libc_vfork rather than __vfork.
17314         [!NOT_IN_libc] (vfork): Define as weak alias.
17315         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17316         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17317         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17319 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17321         * malloc/malloc.c (malloc_info): Fix format specifier for
17322         n_mmaps.
17324 2014-06-02  Wilco  <wdijkstr@arm.com>
17326         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17327         FPCR write.
17329 2014-06-02  Wilco  <wdijkstr@arm.com>
17331         [BZ #17009]
17332         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17333         Rewrite to reduce FPCR/FPSR accesses.
17335 2014-06-01  David S. Miller  <davem@davemloft.net>
17337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17339 2014-05-31  David S. Miller  <davem@davemloft.net>
17341         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17342         to occur in round to nearest mode when |x| >= 2.0
17344 2014-05-30  Richard Henderson  <rth@twiddle.net>
17346         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17347         (PSEUDO_RET_NOERRNO): Remove.
17348         (ret): Don't redefine.
17349         (ret_NOERRNO): Define in terms of ret.
17350         (ret_ERRVAL): Likewise.
17352         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17353         use of PSEUDO_RET; perform the error check directly.
17355 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17357         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17358         with __int128_t.
17360 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17362         * malloc/malloc (malloc_info): Fix formatting.
17364 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17365             Roland McGrath  <roland@hack.frob.com>
17367         * malloc/malloc (malloc_info): Also print mmapped statistics.
17369 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17371         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17372         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17374 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17376         * malloc/malloc.c (malloc_info): Inline mi_arena.
17378 2014-05-29  Richard Henderson  <rth@twiddle.net>
17380         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17381         Remove comma before expanding ASM_ARGS_##nr.
17382         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17383         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17384         of ASM_ARGS_##nr.
17385         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17386         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17387         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17388         (ASM_ARGS_1): Add leading comma.
17390         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17391         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17392         to __errno_location.
17393         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17394         Remove the expected plt for __errno_location.
17396         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17397         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17398         call to __read_tp.
17400         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17401         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17402         it and break it down.
17403         (DOCARGS_0, DOCARGS_1): Do nothing.
17404         (DOCARGS_2): Update to store into the new stack frame.
17405         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17406         (UNDOCARGS_1): Update to restore from the new stack frame.
17407         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17408         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17410         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17411         (SINGLE_THREAD_P): New parameter for result regno.
17412         (PSEUDO): Update to match; use cbz instead of beq.
17414         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17415         Use ENTRY to define the _nocancel entry point.  Share the syscall
17416         and syscall error check paths with the cancel path.
17417         (PSEUDO_END): New.
17419         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17420         whitespace; tabs before and after asm mnemonics.
17422 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17424         [BZ #15132]
17425         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17426         Call fstat64 or stat64 internally, depending on arguments passed.
17427         Replace stat buffer argument with file descriptor argument.
17428         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17429         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17430         Pass fd to __internal_statvfs instead of calling fstat64.
17431         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17432         Pass fd to __internal_statvfs64 instead of calling fstat64.
17433         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17434         Pass -1 to __internal_statvfs instead of calling stat64.
17435         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17436         Pass -1 to __internal_statvfs64 instead of calling stat64.
17438 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17440         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17441         that was previously under [RESET_PID].
17442         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17444         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17445         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17447 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17449         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17451         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17452         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17454 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17456         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17458 2014-05-27  Andreas Schwab  <schwab@suse.de>
17460         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17461         TLS_INIT_TP macro.
17462         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17463         * elf/rtld.c (init_tls, dl_main): Likewise.
17464         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17465         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17466         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17467         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17468         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17469         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17470         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17471         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17472         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17473         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17474         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17475         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17476         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17477         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17478         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17479         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17480         * sysdeps/generic/tls.h: Update description.
17482 2014-05-27  Will Newton  <will.newton@linaro.org>
17484         [BZ #16990]
17485         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17486         and restore r2 rather than just restoring.
17488 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17490         [BZ #16724]
17491         * libio/tst-ftell-append.c: New test case.
17492         * libio/Makefile (tests): Add test case.
17493         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17494         append mode.
17495         * libio/wfileops.c (do_ftell_wide): Likewise.
17497 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17501         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17502         ...
17503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17505         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17506         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17507         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17508         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17509         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17510         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17511         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17512         Moved ...
17513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17514         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17515         Moved ...
17516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17517         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17518         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17519         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17520         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17521         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17522         ...
17523         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17524         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17525         Moved ...
17526         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17527         here.
17528         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17529         ...
17530         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17531         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17532         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17534         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17535         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17536         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17537         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17540         merge into ...
17541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17542         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17543         ...
17544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17545         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17546         ...
17547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17549         Moved ...
17550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17551         here.
17552         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17553         Moved ...
17554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17555         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17556         Moved ...
17557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17560         conditional [RESET_PID].
17561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17562         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17563         removed.
17564         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17565         removed.
17567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17568         <tcb-offsets.h>.
17569         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17570         (__libc_vfork): New strong alias.
17571         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17572         removed.
17573         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17574         Removed.
17576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17577         <tcb-offsets.h>.
17578         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17579         (__libc_vfork): New strong alias.
17580         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17581         removed.
17582         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17583         removed.
17585 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17587         * malloc/malloc.c (mi_arena): New function.
17588         (malloc_info): Remove nested function mi_arena. Call non-nosted
17589         function mi_arena.
17591 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17593         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17594         by insrwi.
17595         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17596         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17597         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17598         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17599         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17600         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17601         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17603 2014-05-26  Andreas Schwab  <schwab@suse.de>
17605         [BZ #16984]
17606         * locale/programs/repertoire.c (repertoire_read): Add slash
17607         between I18NPATH element and file name.
17608         * locale/programs/locfile.c (locfile_read): Likewise.
17610 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17612         * nptl/pthread_mutexattr_settype.c
17613         (__pthread_mutexattr_settype):
17614         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17616 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17618         * nptl/tst-mutex5 (do_test):
17619         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17621 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17623         * benchtests/README: Document 'init' directive.
17624         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17625         BENCH_INIT.
17626         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17627         (parse_file): Recognize 'init' directive.
17629 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17631         [BZ #16796]
17632         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17633         alignment of struct pthread.
17635 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17637         [BZ #16878]
17638         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17639         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17640         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17641         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17643 2014-05-25  Richard Henderson  <rth@twiddle.net>
17645         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17646         (SINGLE_THREAD_P_PIC): Remove.
17647         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17648         (SINGLE_THREAD_P_PIC): Remove.
17650         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17651         branch to syscall error ...
17652         (PSEUDO): ... here.
17653         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17654         from __local_syscall_error to .Lsyscall_error.
17655         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17656         (SYSCALL_ERROR): Update label name.
17658         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17659         Do not use DOARGS/UNDOARGS.
17660         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17661         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17662         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17663         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17664         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17666         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17667         block comment.
17669         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17670         define if !NOT_IN_libc.
17671         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17672         define with non-default symbol versions.
17674 2014-05-23  Richard Henderson  <rth@twiddle.net>
17676         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17677         (vfork, __vfork): Define via compat_symbol.
17679         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17680         [!HAVE_IFUNC] (vfork_compat): Remove.
17681         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17683 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17685         [BZ #16978]
17686         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17687         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17688         variable.
17690 2014-05-23  Richard Henderson  <rth@twiddle.net>
17692         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17693         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17694         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17695         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17697         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17698         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17699         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17700         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17701         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17702         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17703         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17704         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17705         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17706         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17707         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17708         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17709         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17710         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17711         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17712         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17713         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17714         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17715         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17716         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17717         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17718         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17719         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17720         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17721         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17722         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17723         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17724         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17725         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17726         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17727         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17728         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17729         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17730         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17731         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17732         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17733         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17734         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17735         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17736         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17737         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17738         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17739         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17740         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17741         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17742         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17743         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17744         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17745         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17746         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17747         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17748         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17749         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17750         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17751         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17752         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17754         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17755         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17756         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17757         before exiting on error.
17758         (__libc_vfork): New strong alias.
17759         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17760         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17762         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17763         that was previously under [RESET_PID].
17764         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17766         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17768 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17770         [BZ #16977]
17771         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17772         value when x - 1 is zero.
17773         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17774         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17775         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17776         0.0L for an argument of 1.0L.
17777         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17778         Likewise.
17779         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17780         value when x - 1 is zero.
17781         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17782         * sysdeps/i386/fpu/libm-test-ulps: Update.
17783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17785 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17787         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17788         alphasort and versionsort.
17790 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17792         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17793         macro.
17794         [copysignf]: Likewise.
17796 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17798         * crypt/md5-crypt.c: Fix formatting.
17800 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17802         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17803         (b64_from_24bit): New function.
17805 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17807         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17808         libc_hidden_builtin_def to ifunc.
17809         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17810         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17812 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17814         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17815         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17817 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17819         * nscd/Depend (linuxthreads): Remove.
17820         (nptl): Add.
17821         * resolv/Depend (linuxthreads): Remove.
17822         * rt/Depend (linuxthreads): Remove.
17824         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17825         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17826         $(common-objpfx)elf/.
17827         (link-libc-before-gnulib): Likewise.
17828         (elfobjdir): Remove variable.
17829         * Makefile (install): Use $(elf-objpfx) instead of
17830         $(common-objpfx)elf/.
17831         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17832         $(elfobjdir)/.
17833         (link-libc-deps): Likewise.
17834         ($(common-objpfx)libc.so): Likewise.
17835         ($(common-objpfx)linkobj/libc.so): Likewise.
17836         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17837         instead of $(common-objpfx)elf/.
17838         (symbolic-link-list): Likewise.
17839         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17840         [$(cross-compiling) = no]: Likewise.
17841         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17842         $(elfobjdir)/.
17843         (static-gnulib-arch): Likewise.
17844         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17845         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17846         $(common-objpfx)elf/.
17848 2014-05-21  Richard Henderson  <rth@redhat.com>
17850         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17851         (SINGLE_THREAD_P): Use the correct width load.  Fold
17852         into the ldr offset.
17854         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17855         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17857 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17859         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17860         (libgcc_s_resume): Use __attribute_used__.
17861         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17862         Likewise.
17864 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17866         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17867         optimization when used with float constants.
17869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17871 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17873         [BZ #16915]
17874         * locale/nl_langinfo_l.c: Make direct reference to every
17875         _nl_current_CATEGORY symbol.
17876         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17877         (tests-static): Add tst-langinfo-static.
17878         (tests-special): Add tst-langinfo-static.out.
17879         ($(objpfx)tst-langinfo.out): Redirect output.
17880         ($(objpfx)tst-langinfo-static.out): New.
17881         * localedata/tst-langinfo.sh: Send output to stdout.
17882         * localedata/tst-langinfo-static.c: New file.
17884         [BZ #16965]
17885         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17886         when the shift amount is modulo the limb size.
17888 2014-05-20  Richard Henderson  <rth@redhat.com>
17890         [BZ #16967]
17891         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17892         Change type of sa_flags from unsigned int to int.
17894         [BZ #16966]
17895         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17897         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17899 2014-05-20  Will Newton  <will.newton@linaro.org>
17901         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17902         Test the return value of the system call in the nocancel case.
17904 2014-05-20  Will Newton  <will.newton@linaro.org>
17905             Yvan Roux  <yvan.roux@linaro.org>
17907         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17908         #include of asm/ptrace.h.
17909         (PTRACE_GET_THREAD_AREA): Remove #undef.
17910         (PTRACE_GETHBPREGS): Likewise.
17911         (PTRACE_SETHBPREGS): Likewise.
17912         (struct user_regs_struct): New structure.
17913         (struct user_fpsimd_struct): New structure.
17914         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17915         #include of asm/ptrace.h and second #include of sys/user.h.
17916         (PTRACE_GET_THREAD_AREA): Remove #undef.
17917         (PTRACE_GETHBPREGS): Likewise.
17918         (PTRACE_SETHBPREGS): Likewise.
17919         (ELF_NGREG): Use new struct user_regs_struct.
17920         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17922 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17924         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17925         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17927 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17929         [BZ #16958]
17930         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17931         membar to avoid block loads/stores to overlap previous stores.
17933 2014-05-17  Richard Henderson  <rth@redhat.com>
17935         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17936         Create the __##syscall_name##_nocancel entry point.
17937         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17938         Remove; let the sysdep-cancel.h code create it.
17940 2014-05-17  David S. Miller  <davem@davemloft.net>
17942         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17943         Protect with __USE_GNU.
17944         (TIOCSET_TEMPT): Likewise.
17945         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17946         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17947         these are already provided in bits/ioctl-types.h
17949 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17951         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17952         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17954         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17955         Use wait4 regardless of [__NR_waitpid].
17957 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17959         PR libgcc/60166
17960         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17961         (_FP_NANSIGN_Q): Set the quiet bit.
17963 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17965         * benchtests/Makefile
17966         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17967         not $(common-objpfx)math/libm.so.
17968         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17969         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17970         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17971         $(common-objpfx)dlfcn/libdl.so.
17972         ($(objpfx)tst-audit8): Depend on $(libm), not
17973         $(common-objpfx)math/libm.so.
17974         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17975         not $(common-objpfx)dlfcn/libdl.so.
17976         * math/Makefile
17977         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17978         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17979         [$(build-shared) = yes].
17980         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17981         $(common-objpfx)nptl/libpthread.so.
17982         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17983         $(common-objpfx)math/libm.so$(libm.so-version) or
17984         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17985         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17986         $(common-objpfx)dlfcn/libdl.so.
17987         * setjmp/Makefile (link-libm): Remove variable.
17988         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17989         * stdio-common/Makefile (link-libm): Remove variable.
17990         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17991         * stdlib/Makefile (link-libm): Remove variable.
17992         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17993         ($(objpfx)tst-strtod-round): Likewise.
17994         ($(objpfx)tst-tininess): Likewise.
17995         ($(objpfx)tst-strtod-underflow): Likewise.
17996         ($(objpfx)tst-strtod6): Likewise.
17997         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17998         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17999         $(common-objpfx)dlfcn/libdl.so.
18001 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18003         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18004         BSD terminal modes definitions.
18006 2014-05-16  Roland McGrath  <roland@hack.frob.com>
18008         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18009         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18011         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18012         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18013         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18014         Don't do #include_next.
18015         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18016         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18017         Don't do #include_next.
18018         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18019         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18020         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18021         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18023 2014-05-16  Allan McRae  <allan@archlinux.org>
18025         * po/sv.po: Update Swedish translation from translation project.
18027         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18028         in sed expression.
18030 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18032         [BZ #16917]
18033         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18034         errno if the TIOCGPTN ioctl fails with an error different than
18035         EINVAL.
18036         * login/tst-ptsname.c: New file.
18037         * login/Makefile (tests): Add tst-ptsname.
18039         [BZ #16943]
18040         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18041         and prlimit64.
18043 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18045         [BZ #16849]
18046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18047         herrno to return EAI_AGAIN.
18049 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18051         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18052         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18053         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18054         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18055         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18056         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18057         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18058         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18059         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18060         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18061         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18062         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18063         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18064         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18065         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18066         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18067         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18068         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18069         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18070         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18071         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18072         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18073         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18074         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18075         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18076         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18077         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18078         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18079         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18080         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18082         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18084         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18086         Moved ...
18087         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18089         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18091         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18093         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18095         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18096         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18097         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18099         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18101         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18103         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18105         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18107         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18109         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18111         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18113         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18115         Moved ...
18116         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18118         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18120         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18122         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18124         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18126         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18128         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18130         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18132         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18134         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18136         Moved ...
18137         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18139         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18141         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18142         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18143         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18144         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18145         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18146         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18147         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18148         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18149         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18150         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18151         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18152         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18153         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18154         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18155         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18156         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18157         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18158         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18159         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18160         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18161         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18162         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18163         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18164         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18165         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18166         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18167         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18168         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18169         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18170         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18171         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18173         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18174         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18176         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18177         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18178         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18179         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18180         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18181         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18182         Moved ...
18183         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18184         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18185         Moved ...
18186         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18187         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18188         Moved ...
18189         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18190         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18191         Moved ...
18192         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18193         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18194         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18195         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18196         Moved ...
18197         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18198         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18199         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18200         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18201         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18202         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18203         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18204         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18205         Moved ...
18206         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18207         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18208         Moved ...
18209         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18210         ... here.
18211         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18212         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18213         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18214         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18215         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18216         Moved ...
18217         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18218         ... here.
18219         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18220         Moved ...
18221         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18222         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18223         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18224         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18225         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18226         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18227         Moved ...
18228         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18229         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18230         Moved ...
18231         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18232         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18233         Moved ...
18234         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18235         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18236         Moved ...
18237         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18238         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18239         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18240         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18241         Moved ...
18242         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18243         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18244         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18245         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18246         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18247         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18248         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18249         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18250         Moved ...
18251         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18252         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18253         Moved ...
18254         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18255         ... here.
18256         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18257         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18258         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18259         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18260         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18261         Moved ...
18262         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18263         ... here.
18264         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18265         Moved ...
18266         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18267         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18268         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18269         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18270         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18271         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18272         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18273         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18274         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18275         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18276         Moved ...
18277         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18278         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18279         Moved ...
18280         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18281         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18282         Moved ...
18283         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18284         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18285         Moved ...
18286         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18287         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18288         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18289         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18290         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18291         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18292         Moved ...
18293         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18294         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18295         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18296         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18297         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18298         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18299         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18300         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18301         Moved ...
18302         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18303         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18304         Moved ...
18305         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18306         ... here.
18307         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18308         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18309         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18310         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18311         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18312         Moved ...
18313         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18314         ... here.
18315         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18316         Moved ...
18317         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18318         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18319         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18320         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18321         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18322         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18323         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18324         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18325         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18326         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18327         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18329         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18330         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18332         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18333         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18335         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18336         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18337         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18338         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18339         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18340         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18341         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18342         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18343         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18344         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18345         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18346         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18347         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18348         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18349         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18350         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18351         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18352         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18353         Moved ...
18354         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18356         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18357         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18358         Moved ...
18359         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18360         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18361         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18362         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18363         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18364         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18365         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18366         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18367         Moved ...
18368         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18369         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18370         Moved ...
18371         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18372         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18373         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18374         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18375         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18376         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18377         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18378         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18379         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18380         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18381         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18382         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18383         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18384         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18385         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18386         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18387         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18389         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18390         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18391         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18392         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18393         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18395         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18396         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18397         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18398         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18399         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18400         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18401         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18402         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18403         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18404         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18406         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18407         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18409         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18410         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18411         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18412         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18413         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18414         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18415         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18416         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18417         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18418         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18419         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18420         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18421         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18422         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18423         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18424         Update #include.
18425         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18426         Likewise.
18427         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18428         Likewise.
18429         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18430         Likewise.
18431         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18432         Likewise.
18433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18434         Likewise.
18435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18436         Likewise.
18437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18438         Likewise.
18439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18440         Likewise.
18441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18442         Likewise.
18443         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18447         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18448         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18449         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18450         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18451         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18452         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18453         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18454         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18455         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18456         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18457         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18459         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18460         that was previously under [RESET_PID].
18461         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18462         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18463         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18465         * sysdeps/i386/nptl/Implies: New file.
18466         * sysdeps/x86_64/nptl/Implies: New file.
18467         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18468         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18469         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18470         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18472         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18473         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18474         (__libc_vfork): New strong alias.
18475         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18476         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18478         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18479         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18480         (__libc_vfork): New strong alias.
18481         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18482         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18484         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18485         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18486         (__libc_vfork): New strong alias.
18487         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18488         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18489         * nptl/pt-vfork.c: New file.
18490         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18491         (libpthread: GLIBC_2.20): New version set (empty).
18493 2014-05-14  Will Newton  <will.newton@linaro.org>
18495         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18496         rather than #if.
18498 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18500         [BZ #16564]
18501         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18502         arguments with exponent 65 or above.
18503         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18504         arguments 0x1p113L or above.
18505         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18506         to arguments 0x1p107L or above.
18507         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18508         positive arguments with exponent 65 or above.
18509         * math/auto-libm-test-in: Add more tests of log1p.
18510         * math/auto-libm-test-out: Regenerated.
18512         [BZ #16928]
18513         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18514         non-finite arguments is +0.
18515         * math/s_cacosf.c (__cacosf): Likewise.
18516         * math/s_cacosl.c (__cacosl): Likewise.
18517         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18518         * sysdeps/i386/fpu/libm-test-ulps: Update.
18519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18521         [BZ #16927]
18522         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18523         value.
18524         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18525         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18526         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18527         for explicit high bit of mantissa when testing for argument equal
18528         to 1.
18529         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18530         * sysdeps/i386/fpu/libm-test-ulps: Update.
18531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18533         [BZ #16516]
18534         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18535         (__erf): Scale by 16 instead of 8 in potentially underflowing
18536         case.  Ensure exception if result actually underflows.
18537         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18538         (__erff): Scale by 16 instead of 8 in potentially underflowing
18539         case.  Ensure exception if result actually underflows.
18540         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18541         (efx8): Remove variable.
18542         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18543         case.  Ensure exception if result actually underflows.
18544         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18545         (efx8): Remove variable.
18546         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18547         case.  Ensure exception if result actually underflows.
18548         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18549         (efx8): Remove variable.
18550         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18551         case.  Ensure exception if result actually underflows.
18552         * math/auto-libm-test-in: Add more tests of erf.
18553         * math/auto-libm-test-out: Regenerated.
18555 2014-05-14  Andreas Schwab  <schwab@suse.de>
18557         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18558         Remove code conditionalized on USE___THREAD.
18560         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18561         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18562         not definedness.
18564 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18566         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18567         Define unconditionally.
18568         (__ASSUME_O_CLOEXEC): Likewise.
18569         (__ASSUME_SOCK_CLOEXEC): Likewise.
18570         (__ASSUME_IN_NONBLOCK): Likewise.
18571         (__ASSUME_PIPE2): Likewise.
18572         (__ASSUME_EVENTFD2): Likewise.
18573         (__ASSUME_SIGNALFD4): Likewise.
18574         (__ASSUME_DUP3): Likewise.
18575         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18576         (__ASSUME_DUP3): Do not define.
18577         (__ASSUME_EVENTFD2): Likewise.
18578         (__ASSUME_IN_NONBLOCK): Likewise.
18579         (__ASSUME_O_CLOEXEC): Likewise.
18580         (__ASSUME_PIPE2): Likewise.
18581         (__ASSUME_SIGNALFD4): Likewise.
18582         (__ASSUME_SOCK_CLOEXEC): Likewise.
18583         (__ASSUME_UTIMES): Undefine.
18584         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18585         (__ASSUME_UTIMES): Do not define.
18586         (__ASSUME_O_CLOEXEC): Likewise.
18587         (__ASSUME_SOCK_CLOEXEC): Likewise.
18588         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18589         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18590         0x020621].
18591         (__ASSUME_PIPE2): Likewise.
18592         (__ASSUME_EVENTFD2): Likewise.
18593         (__ASSUME_SIGNALFD4): Likewise.
18594         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18595         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18596         Do not define.
18597         (__ASSUME_EVENTFD2): Likewise.
18598         (__ASSUME_SIGNALFD4): Likewise.
18599         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18600         (__ASSUME_32BITUIDS): Likewise.
18601         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18602         (__ASSUME_IPC64): Likewise.
18603         (__ASSUME_ST_INO_64_BIT): Likewise.
18604         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18605         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18606         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18607         (__ASSUME_UTIMES): Do not define.
18608         (__ASSUME_PSELECT): Likewise.
18609         (__ASSUME_PPOLL): Likewise.
18610         (__ASSUME_O_CLOEXEC): Likewise.
18611         (__ASSUME_SOCK_CLOEXEC): Likewise.
18612         (__ASSUME_IN_NONBLOCK): Likewise.
18613         (__ASSUME_PIPE2): Likewise.
18614         (__ASSUME_EVENTFD2): Likewise.
18615         (__ASSUME_SIGNALFD4): Likewise.
18616         (__ASSUME_DUP3): Likewise.
18617         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18618         (__ASSUME_UTIMES): Likewise.
18619         (__ASSUME_O_CLOEXEC): Likewise.
18620         (__ASSUME_SOCK_CLOEXEC): Likewise.
18621         (__ASSUME_IN_NONBLOCK): Likewise.
18622         (__ASSUME_PIPE2): Likewise.
18623         (__ASSUME_EVENTFD2): Likewise.
18624         (__ASSUME_SIGNALFD4): Likewise.
18625         (__ASSUME_DUP3): Likewise.
18626         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18627         (__ASSUME_UTIMES): Likewise.
18628         (__ASSUME_O_CLOEXEC): Likewise.
18629         (__ASSUME_SOCK_CLOEXEC): Likewise.
18630         (__ASSUME_IN_NONBLOCK): Likewise.
18631         (__ASSUME_PIPE2): Likewise.
18632         (__ASSUME_EVENTFD2): Likewise.
18633         (__ASSUME_SIGNALFD4): Likewise.
18634         (__ASSUME_DUP3): Likewise.
18635         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18636         Likewise.
18637         (__ASSUME_UTIMES): Likewise.
18638         (__ASSUME_EVENTFD2): Likewise.
18639         (__ASSUME_SIGNALFD4): Likewise.
18640         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18641         (__ASSUME_O_CLOEXEC): Likewise.
18642         (__ASSUME_SOCK_CLOEXEC): Likewise.
18643         (__ASSUME_IN_NONBLOCK): Likewise.
18644         (__ASSUME_PIPE2): Likewise.
18645         (__ASSUME_EVENTFD2): Likewise.
18646         (__ASSUME_SIGNALFD4): Likewise.
18647         (__ASSUME_DUP3): Likewise.
18648         (__ASSUME_UTIMES): Undefine.
18650         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18651         feclearexcept.  Remove symbol versioning code.
18652         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18653         symbol versioning code.
18654         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18655         symbol versioning code.
18656         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18657         feupdateenv.  Remove symbol versioning code.
18658         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18659         fegetexceptflag.  Remove symbol versioning code.
18660         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18661         fesetexceptflag.  Remove symbol versioning code.
18662         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18663         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18664         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18665         (__posix_fadvise64_l32): Remove prototype.
18666         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18667         code.
18669 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18671         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18672         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18673         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18674         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18676 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18678         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18679         current working directory
18681 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18683         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18684         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18685         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18686         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18687         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18688         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18689         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18690         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18691         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18692         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18693         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18694         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18695         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18696         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18697         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18698         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18699         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18700         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18701         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18702         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18703         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18704         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18705         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18706         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18707         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18708         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18709         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18710         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18711         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18712         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18713         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18714         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18715         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18716         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18717         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18718         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18719         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18720         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18721         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18722         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18723         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18724         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18726         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18727         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18729         * sysdeps/unix/sysv/linux/arm/Makefile
18730         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18731         Add rt-aeabi_unwind_cpp_pr1.
18732         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18733         Add nptl-aeabi_unwind_cpp_pr1.
18734         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18735         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18736         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18737         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18738         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18739         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18741         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18742         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18743         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18744         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18746         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18747         Deconditionalize the code that was previously under [RESET_PID].
18748         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18750         * sysdeps/generic/exit-thread.h: New file.
18751         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18752         * include/unistd.h (__exit_thread): Remove declaration.
18753         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18754         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18755         * csu/libc-start.c: Include <exit-thread.h>.
18756         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18757         * nptl/pthread_create.c: Include <exit-thread.h>.
18758         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18759         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18760         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18761         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18762         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18763         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18764         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18765         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18766         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18767         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18768         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18769         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18770         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18771         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18772         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18773         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18774         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18776 2014-05-13  Andreas Schwab  <schwab@suse.de>
18778         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18780 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18782         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18783         (__ASSUME_UTIMES): Do not condition on kernel version.
18784         (__ASSUME_PSELECT): Define unconditionally.
18785         (__ASSUME_PPOLL): Likewise.
18786         (__ASSUME_ATFCTS): Likewise.
18787         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18788         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18789         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18790         (__ASSUME_UTIMENSAT): Define unconditionally.
18791         (__ASSUME_PRIVATE_FUTEX): Likewise.
18792         (__ASSUME_FALLOCATE): Likewise.
18793         (__ASSUME_O_CLOEXEC): Likewise.
18794         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18795         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18796         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18797         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18798         (__ASSUME_IN_NONBLOCK): Likewise.
18799         (__ASSUME_PIPE2): Likewise.
18800         (__ASSUME_EVENTFD2): Likewise.
18801         (__ASSUME_SIGNALFD4): Likewise.
18802         (__ASSUME_DUP3): Likewise.
18803         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18804         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18805         (__ASSUME_AT_RANDOM): Likewise.
18806         (__ASSUME_PREADV): Likewise.
18807         (__ASSUME_PWRITEV): Likewise.
18808         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18809         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18810         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18811         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18812         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18813         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18814         (__ASSUME_O_CLOEXEC): Define unconditionally.
18815         (__ASSUME_PSELECT): Do not undefine conditionally.
18816         (__ASSUME_PPOLL): Likewise.
18817         (__ASSUME_ATFCTS): Likewise.
18818         (__ASSUME_SET_ROBUST_LIST): Likewise.
18819         (__ASSUME_UTIMENSAT): Likewise.
18820         (__ASSUME_FDATASYNC): Define unconditionally.
18821         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18822         (__ASSUME_SIGFRAME_V2): Likewise.
18823         )__ASSUME_EVENTFD2): Likewise.
18824         (__ASSUME_SIGNALFD4): Likewise.
18825         (__ASSUME_PSELECT): Do not undefine conditionally.
18826         (__ASSUME_PPOLL): Likewise.
18827         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18828         (__ASSUME_PSELECT): Define unconditionally.
18829         (__ASSUME_PPOLL): Likewise.
18830         (__ASSUME_O_CLOEXEC): Likewise.
18831         (__ASSUME_SOCK_CLOEXEC): Likewise.
18832         (__ASSUME_IN_NONBLOCK): Likewise.
18833         (__ASSUME_PIPE2): Likewise.
18834         (__ASSUME_EVENTFD2): Likewise.
18835         (__ASSUME_SIGNALFD4): Likewise.
18836         (__ASSUME_DUP3): Likewise.
18837         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18838         (__ASSUME_O_CLOEXEC): Likewise.
18839         (__ASSUME_SOCK_CLOEXEC): Likewise.
18840         (__ASSUME_IN_NONBLOCK): Likewise.
18841         (__ASSUME_PIPE2): Likewise.
18842         (__ASSUME_EVENTFD2): Likewise.
18843         (__ASSUME_SIGNALFD4): Likewise.
18844         (__ASSUME_DUP3): Likewise.
18845         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18846         (__ASSUME_EVENTFD2): Likewise.
18847         (__ASSUME_SIGNALFD4): Likewise.
18848         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18850 2014-05-12  Andreas Schwab  <schwab@suse.de>
18852         [BZ #16932]
18853         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18854         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18855         than maximum RPC packet size.
18856         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18857         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18858         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18859         (_nss_nis_getservbyport_r): Likewise.
18861 2014-05-12  Will Newton  <will.newton@linaro.org>
18863         * malloc/Makefile (tests): Add tst-mallopt.
18864         * malloc/tst-mallopt.c: New file.
18866 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18868         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18869         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18871 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18873         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18874         (tst-tlsmod6.so): Likewise.
18876 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18878         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18880 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18882         [BZ #16064]
18883         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18884         and <dl-procinfo.h>.
18885         (__fegetenv): Save SSE state in envp->__eip if supported.
18886         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18887         envp->__eip if supported.
18888         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18889         and <dl-procinfo.h>.
18890         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18891         __data_offset and __data_selector in environment to 0.  Set SSE
18892         state if supported.
18893         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18894         test-fenv-sse.
18895         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18896         -mfpmath=sse.
18897         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18899 2014-05-09  Will Newton  <will.newton@linaro.org>
18901         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18902         and libc_relro_required for ARM.
18903         * sysdeps/arm/preconfigure: Regenerate.
18905 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18906             Stefan Liebler  <stli@linux.vnet.ibm.com>
18908         * config.make.in (enable-lock-elision): New Makefile variable.
18909         * configure.ac: Likewise.
18910         * configure: Regenerate.
18911         * sysdeps/s390/configure.ac:
18912         Add check for gcc transactions support.
18913         * sysdeps/s390/configure: Regenerate.
18914         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18915         Build elision files if enabled.
18916         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18917         Add lock elision support for s390.
18918         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18919         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18920         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18921         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18922         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18923         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18924         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18925         Likewise.
18926         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18927         Likewise.
18928         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18929         Likewise.
18930         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18931         Likewise.
18932         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18933         (__lll_timedlock_elision, __lll_lock_elision)
18934         (__lll_unlock_elision, __lll_trylock_elision)
18935         (lll_timedlock_elision, lll_lock_elision)
18936         (lll_unlock_elision, lll_trylock_elision): Add.
18937         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18938         (pthread_mutex_t): Add lock elision support for s390.
18940 2014-05-14  Wilco  <wdijkstr@arm.com>
18942         * sysdeps/arm/fclrexcpt.c: Cleanup.
18943         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18944         * sysdeps/arm/feenablxcpt.c: Cleanup.
18945         * sysdeps/arm/fegetenv.c: Cleanup.
18946         * sysdeps/arm/fegetexcept.c: Cleanup.
18947         * sysdeps/arm/fegetround.c: Cleanup.
18948         * sysdeps/arm/feholdexcpt.c: Cleanup.
18949         * sysdeps/arm/fesetenv.c: Cleanup.
18950         * sysdeps/arm/fesetround.c: Cleanup.
18951         * sysdeps/arm/feupdateenv.c: Cleanup.
18952         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18953         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18954         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18955         * sysdeps/arm/ftestexcept.c: Cleanup.
18956         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18957         * sysdeps/arm/setfpucw.c: Cleanup.
18959 2014-05-09  Will Newton  <will.newton@linaro.org>
18961         * sysdeps/arm/armv7/strcmp.S: New file.
18962         * NEWS: Mention addition of ARMv7 optimized strcmp.
18964 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18966         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18967         look for %.ac rather than %.in.
18969         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18970         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18971         * sysdeps/mach/hurd/configure: Regenerated.
18972         * sysdeps/unix/sysv/linux/configure: Regenerated.
18974         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18976 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18978         [BZ# 16922]
18979         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18980         (LONG_SUB): Ditto.
18981         (PTR_SUB): Ditto.
18983 2014-05-07  Andreas Schwab  <schwab@suse.de>
18985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18986         when skipping over non-matching result from nscd.
18988 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18990         [BZ #16876]
18991         * nptl/sockperf.c (client): Check socket return value.
18993         [BZ #16877]
18994         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18995         nscd security class.
18997 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18999         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19000         * sysdeps/arm/unwind.h: ... here.
19002 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
19004         [BZ# 16916]
19005         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19006         Define.
19008 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19010         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19011         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19012         multiarch strncpy for PPC64.
19013         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19014         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19016         multiarch optimizations.
19017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19018         (__libc_ifunc_impl_list): Likewise.
19019         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19020         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19021         multiarch stpncpy for PPC64.
19022         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19023         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19025 2014-05-06  Andreas Schwab  <schwab@suse.de>
19027         [BZ #16912]
19028         * gmon/mcount.c (_MCOUNT_DECL): Use
19029         atomic_compare_and_exchange_bool_acq instead of
19030         catomic_compare_and_exchange_bool_acq.
19032 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19034         * elf/Makefile (others, install-bin): Remove pldd.
19035         (pldd-modules): Variable removed.
19036         ($(objpfx)pldd): Target removed.
19037         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19038         (others, install-bin): Append pldd here.
19039         ($(objpfx)pldd): New target.
19041         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19042         to 0, so the first #if test emitted later doesn't see it undefined.
19043         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19044         * sysdeps/gnu/errlist.c: Regenerated.
19046 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19048         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19049         [libc_hidden_builtin_def]: Define to empty value.
19050         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19051         [libc_hidden_builtin_def]: Likewise.
19052         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19053         [libc_hidden_builtin_def]: Likewise.
19054         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19055         [libc_hidden_builtin_def]: Likewise.
19056         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19057         __redirect_memcpy and define ifunc as default hidden symbol.
19058         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19059         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19061 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19063         * locale/iso-4217.def: Reintroduce XDR currency.
19065 2014-05-04  Allan McRae  <allan@archlinux.org>
19067         * po/eo.po: Update Esperanto translation from translation project.
19069 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19071         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19072         and FEATURE_INDEX_MAX to 1.
19073         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19075 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19077         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19078         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19079         * iconvdata/big5.c (ONE_DIRECTION): Define.
19080         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19081         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19082         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19083         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19084         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19085         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19086         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19087         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19088         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19089         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19090         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19091         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19092         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19093         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19094         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19095         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19096         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19097         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19098         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19099         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19100         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19101         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19102         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19103         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19104         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19105         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19106         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19107         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19108         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19109         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19110         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19111         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19112         * iconvdata/johab.c (ONE_DIRECTION): Define.
19113         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19114         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19115         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19116         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19117         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19118         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19119         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19120         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19121         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19122         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19124 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19126         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19127         (_IO_JUMPS_OFFSET): Define to 0.
19129         * nptl/sysdeps/pthread/bits/libc-lock.h
19130         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19131         (__libc_lock_define_initialized_recursive): Always define using
19132         initializer.  Modern compilers treat uninitialized (implicit zero) and
19133         explicit zero initializers the same (i.e. put the datum in bss).
19135 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19137         * nscd/nscd-client.h: Include <string.h>.
19139 2014-05-01  David S. Miller  <davem@davemloft.net>
19141         [BZ #16885]
19142         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19143         multiple zero bytes exist at the end of a string.
19144         Reported by Aurelien Jarno <aurelien@aurel32.net>
19146         * string/test-strcmp.c (check): Add explicit test for situations where
19147         there are multiple zero bytes after the first.
19149 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19151         [BZ #16890]
19152         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19153         when compiling wprintf.
19154         * stdio-common/tstdiomisc.c (t3): New function.
19155         (main): Call it.
19157 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19159         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19160         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19161         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19162         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19164 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19166         * stdlib/longlong.h: Updated from GCC.
19168 2014-05-01  Will Newton  <will.newton@linaro.org>
19169             Bernard Ogden  <bernie.ogden@linaro.org>
19171         * NEWS: Update fixed bug list.
19173         [BZ #15119]
19174         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19176 2014-04-30  David S. Miller  <davem@davemloft.net>
19178         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19179         (libc_feholdexcept_setround_sparc_ctx): New function.
19180         (libc_fesetenv_sparc_ctx): Likewise.
19181         (libc_feupdateenv_sparc_ctx): Likewise.
19182         (libc_feholdsetround_sparc_ctx): Likewise.
19183         (libc_feholdexcept_setround_ctx): Define.
19184         (libc_feholdexcept_setroundf_ctx): Likewise.
19185         (libc_feholdexcept_setroundl_ctx): Likewise.
19186         (libc_fesetenv_ctx): Likewise.
19187         (libc_fesetenvf_ctx): Likewise.
19188         (libc_fesetenvl_ctx): Likewise.
19189         (libc_feupdateenv_ctx): Likewise.
19190         (libc_feupdateenvf_ctx): Likewise.
19191         (libc_feupdateenvl_ctx): Likewise.
19192         (libc_feresetround_ctx): Likewise.
19193         (libc_feresetroundf_ctx): Likewise.
19194         (libc_feresetroundl_ctx): Likewise.
19195         (libc_feholdsetround_ctx): Likewise.
19196         (libc_feholdsetroundf_ctx): Likewise.
19197         (libc_feholdsetroundl_ctx): Likewise.
19199         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19200         with __USE_GNU instead of XOPEN cpp guards.
19202         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19203         0.
19205         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19206         with XOPEN cpp guards.
19208 2014-04-30  Julian Brown  <julian@codesourcery.com>
19210         [BZ #16888]
19211         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19212         handling.
19214 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19216         [BZ #9894]
19217         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19218         Change to 2.6.32.
19219         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19220         * sysdeps/unix/sysv/linux/configure: Regenerated.
19221         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19222         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19223         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19224         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19225         * README: Update reference to required Linux kernel version.
19226         * manual/install.texi (Linux): Update reference to required Linux
19227         kernel headers version.
19228         * INSTALL: Regenerated.
19230         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19231         header inclusion.
19232         [POSIX] (limits.h): Likewise.
19233         [POSIX] (math.h): Likewise.
19234         [POSIX] (sys/wait.h): Likewise.
19235         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19236         function.
19237         [POSIX] (stddef.h): Do not allow header inclusion.
19239 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19241         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19243 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19245         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19246         Return immediately after lll_futex_wake.
19248 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19250         [BZ #16791]
19251         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19252         structure.
19253         (datahead_init_pos): Call datahead_init_common early.
19254         (datahead_init_neg): Likewise.
19256         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19257         datahead_init_neg): New functions.
19258         * nscd/aicache.c (addhstaiX): Use them.
19259         * nscd/grpcache.c (cache_addgr): Likewise.
19260         * nscd/hstcache.c (cache_addhst): Likewise.
19261         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19262         * nscd/netgroupcache.c (do_notfound): Likewise.
19263         (addgetnetgrentX): Likewise.
19264         (addinnetgrX): Likewise.
19265         * nscd/pwdcache.c (cache_addpw): Likewise.
19266         * nscd/servicescache.c (cache_addserv): Likewise.
19268 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19269             Atsushi Onoe  <atsushi@onoe.org>
19271         [BZ #14308]
19272         [BZ #12994]
19273         [BZ #13651]
19274         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19275         one response is valid.
19276         * resolv/res_send.c (send_dg): Check for validity of other
19277         response if the current response is a referral.
19279 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19281         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19283 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19285         [BZ #16823]
19286         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19287         Always divide by positive zero when computing -Inf result.
19288         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19289         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19291 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19293         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19294         FPSCR if value do not change.
19295         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19296         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19297         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19298         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19299         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19300         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19301         function.
19303 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19305         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19306         * sysdeps/unix/sysv/linux/hppa: Move directory from
19307         ports/systeps/unix/sysv/linux/hppa.
19308         * README: Update listing for hppa-*-linux-gnu.
19310 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19312         [BZ #16754]
19313         * manual/stdio.texi (Hook functions): Fix types of stream hook
19314         functions.
19315         [BZ #16854]
19316         * socket/sys/socket.h: Fix typo in comment.
19318 2014-04-28  Wilco  <wdijkstr@arm.com>
19320         * sysdeps/arm/fenv_private.h: New file.
19321         * sysdeps/arm/math_private.h: New file.
19322         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19324 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19326         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19327         with __int128_t.
19328         (La_x86_64_retval): Likewise.
19330 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19332         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19333         fpsr if value didn't change.
19334         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19335         to fpcr if value didn't change.
19336         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19337         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19338         fpsr or fpcr if value didn't change.
19339         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19340         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19341         fpcr if value didn't change.
19342         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19343         to fpsr if value didn't change.
19345 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19347         * nptl/tst-sem3.c: Use test-skeleton.c
19348         (main): Rename to do_test.  Use return instead of
19349         exit.
19350         * nptl/tst-sem4.c: Use test-skeleton.c
19351         (main): Rename to do_test.
19353 2014-04-22  David S. Miller  <davem@davemloft.net>
19355         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19356         (struct sigaction): New struct member __glibc_reserved0, change
19357         type of sa_flags to int.
19359 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19361         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19362         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19364 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19366         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19367         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19369 2014-04-22  Will Newton  <will.newton@linaro.org>
19370             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19372         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19373         (__longjmp): Add longjmp and longjmp_target SystemTap
19374         probes.
19375         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19376         (__sigsetjmp): Add setjmp SystemTap probe.
19378 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19380         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19381         match manual order.
19383 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19385         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19387         * sysdeps/powerpc/fpu/fenv_private.h
19388         (libc_feholdexcept_setroundl_ctx): Define to
19389         libc_feholdexcept_setround_ppc_ctx.
19390         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19391         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19392         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19393         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19395 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19397         * sysdeps/aarch64/math-tests.h: New file.
19399 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19401         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19402         New.
19403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19404         Check and set bit_AVX2_Usable.
19405         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19406         macro.
19407         (bit_AVX2): Likewise.
19408         (index_AVX2_Usable): Likewise.
19409         (CPUID_AVX2): Likewise.
19410         (HAS_AVX2): Likewise.
19412 2014-04-17  Will Newton  <will.newton@linaro.org>
19414         * manual/setjmp.texi (System V contexts): Add note that
19415         calling setcontext on a context created by a call to a
19416         signal handler is undefined.  Update text to note that
19417         setcontext from a signal handler is possible but not
19418         recommended.
19420         [BZ #16629]
19421         * stdlib/tst-setcontext.c: Include signal.h.
19422         (main): Check that the signal stack before and
19423         after swapcontext is the same.
19425         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19426         Re-implement to restore registers in user code and avoid
19427         rt_sigreturn system call.
19429 2014-04-17  Wilco  <wdijkstr@arm.com>
19431         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19432         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19433         * math/test-fenv.c: Skip exception trap tests on targets which only
19434         support non-stop mode.
19436 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19437             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19439         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19440         (libc_feholdsetround_aarch64_ctx)
19441         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19442         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19443         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19444         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19445         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19446         (libc_feresetround_noexl_ctx): Define.
19448 2014-04-16  Richard Henderson  <rth@redhat.com>
19450         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19452         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19453         unwind tables.
19455         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19456         const from the non-libc, non-ldso copy.
19458         * sysdeps/alpha/libm-test-ulps: Regenerate.
19460 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19461             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19463         * sysdeps/aarch64/fpu/math_private.h: New file.
19465 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19467         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19469 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19471         [BZ #16275]
19472         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19473         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19474         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19475         Intel MPX bound registers before _dl_profile_fixup.
19476         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19477         registers after _dl_profile_fixup.  Save and restore bound
19478         registers bnd0/bnd1 when calling _dl_call_pltexit.
19479         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19480         (LR_BND_OFFSET): Likewise.
19481         (LRV_BND0_OFFSET): Likewise.
19482         (LRV_BND1_OFFSET): Likewise.
19484 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19486         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19487         to...
19488         * sysdeps/mach/hurd/i386/tls.h: ... here.
19489         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19490         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19491         fields.
19493 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19495         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19497 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19499         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19501 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19503         [BZ #14770]
19504         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19505         * sysdeps/s390/configure: Regenerate.
19507         [BZ #16824]
19508         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19509         Set round-to-nearest internally to reduce error accumulation.
19511 2014-04-16  Alan Modra  <amodra@gmail.com>
19513         [BZ #16740]
19514         [BZ #16619]
19515         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19516         * math/libm-test.inc (frexp_test_data): Add tests.
19517         * NEWS: Update fixed bug list.
19519 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19521         * benchtests/Makefile: Depend on libraries in build directory.
19522         (bench-math): Separate out math tests.
19523         (bench-pthread): Separate out pthread tests.
19524         (bench): Include math and pthread tests.
19526 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19528         [BZ #16831]
19529         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19530         _dl_debug_initialize.
19532         * configure.ac: Remove SELinux header check.
19533         * configure: Regenerate.
19534         * nscd/selinux.c (perms): Array of const char* to permission names.
19535         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19536         default policy. Call string_to_security_class and string_to_av_perm to
19537         translate strings. Enforce default policy and call avs_has_perm with
19538         results of translated strings.
19540 2014-04-13  David S. Miller  <davem@davemloft.net>
19542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19544 2014-04-12  Allan McRae  <allan@archlinux.org>
19546         [BZ #16838]
19547         * manual/string.texi (Collation Functions): Fix qsort argument
19548         order in example.
19549         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19551 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19553         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19554         Make the test a no-op if there are no exceptions defined.
19556 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19558         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19559         enable-hardcoded-path-in-tests
19561 2014-04-11  Will Newton  <will.newton@linaro.org>
19563         * benchtests/Makefile (extra-objs): Add json-lib.o.
19564         (bench-func): Tidy up JSON output.
19565         * benchtests/bench-skeleton.c: Include json-lib.h.
19566         (main): Use JSON library functions to do output of
19567         benchmark results.
19568         * benchtests/bench-timing-type.c (main): Output the
19569         timing type simply, leaving formatting to the user.
19570         * benchtests/json-lib.c: New file.
19571         * benchtests/json-lib.h: Likewise.
19573 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19575         [BZ #15215]
19576         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19577         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19578         memory barriers.  Add comments.
19579         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19580         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19581         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19582         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19583         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19584         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19586 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19588         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19589         * sysdeps/s390/s390-64/configure.ac: ... this ...
19590         * sysdeps/s390/configure.ac: ... to here.
19591         * sysdeps/s390/s390-32/configure: Delete file.
19592         * sysdeps/s390/s390-64/configure: Delete file.
19593         * sysdeps/s390/configure: Regenerate.
19595 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19597         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19599 2014-04-11  Will Newton  <will.newton@linaro.org>
19601         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19602         to zero if it is not defined elsewhere.  (mtrim): Test
19603         the value of MALLOC_DEBUG with #if rather than #ifdef.
19605 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19607         * benchtests/pthread_once-inputs: New file.
19608         * benchtests/pthread_once-source.c: New file.
19609         * benchtests/README: Update documentation.
19611 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19612             H.J. Lu  <hongjiu.lu@intel.com>
19614         [BZ #16275]
19615         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19616         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19617         * sysdeps/x86_64/configure: Regenerated.
19618         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19619         macro.
19620         (REGISTER_SAVE_RAX): Likewise.
19621         (REGISTER_SAVE_RCX): Likewise.
19622         (REGISTER_SAVE_RDX): Likewise.
19623         (REGISTER_SAVE_RSI): Likewise.
19624         (REGISTER_SAVE_RDI): Likewise.
19625         (REGISTER_SAVE_R8): Likewise.
19626         (REGISTER_SAVE_R9): Likewise.
19627         (REGISTER_SAVE_BND0): Likewise.
19628         (REGISTER_SAVE_BND1): Likewise.
19629         (REGISTER_SAVE_BND2): Likewise.
19630         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19631         bound registers when calling _dl_fixup.
19633 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19635         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19636         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19637         of its definition.
19638         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19639         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19640         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19641         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19642         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19643         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19644         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19646 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19648         [BZ #15514]
19649         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19650         pathconf(_PC_NAME_MAX).
19652 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19654         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19655         Remove macro usage.
19656         (__PTHREAD_SPINS): Move definition to ...
19657         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19658         (__PTHREAD_SPINS): ... here.
19659         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19660         (__PTHREAD_SPIN): Likewise.
19661         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19662         (__PTHREAD_SPIN): Likewise.
19663         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19664         (__PTHREAD_SPIN): Likewise.
19665         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19666         (__PTHREAD_SPIN): Likewise.
19667         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19668         (__PTHREAD_SPIN): Likewise.
19669         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19670         (__PTHREAD_SPIN): Likewise.
19671         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19672         (__PTHREAD_SPIN): Likewise.
19673         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19674         (__PTHREAD_SPIN): Likewise.
19675         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19676         (__PTHREAD_SPIN): Likewise.
19677         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19678         (__PTHREAD_SPIN): Likewise.
19679         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19680         (__PTHREAD_SPIN): Likewise.
19681         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19682         (__PTHREAD_SPIN): Likewise.
19684         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19685         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19686         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19687         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19688         imply folder.
19689         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19690         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19691         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19692         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19693         correct imply path.
19694         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19695         strlen symbol for non multi-arch builds.
19696         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19697         missing hidden_def and weak_alias.
19699 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19701         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19703 2014-04-07  Will Newton  <will.newton@linaro.org>
19705         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19706         and contents.  [!_LIBC] Remove #ifndef and contents.
19707         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19708         * string/memccpy.c (__memccpy): Use ANSI prototype.
19709         * string/memfrob.c (memfrob): Likewise.
19710         * string/strcoll.c (STRCOLL): Likewise.
19711         * string/strlen.c (strlen): Likewise.
19712         * string/strtok.c (STRTOK): Likewise.
19713         * string/strcat.c: Remove unused #include of memcopy.h.
19714         (strcat): Use ANSI prototype.
19715         * string/strchr.c: Remove unused #include of memcopy.h.
19716         (strchr): Use ANSI prototype.
19717         * string/strcmp.c: Remove unused #include of memcopy.h.
19718         (strcmp): Use ANSI prototype.
19719         * string/strcpy.c: Remove unused #include of memcopy.h.
19720         (strcpy): Use ANSI prototype.
19722 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19724         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19725         * config.make.in (config-extra-cppflags): Set it from
19726         libc_extra_cppflags.
19727         * configure.ac (libc_extra_cflags): Make it accumulate over
19728         configure fragments.
19729         (libc_extra_cppflags): New flag.
19730         * configure. Regenerate.
19731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19732         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19733         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19736         [BZ #16815]
19737         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19738         result for FE_DOWNWARD rounding mode.
19739         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19740         Likewise.
19741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19743 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19745         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19746         in function argument name.
19748 2014-04-03  David Svoboda  <svoboda@cert.org>
19750         [BZ #5666]
19751         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19752         explicitly.
19754 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19756         * elf/dl-unmap-segments.h: New file.
19757         * sysdeps/generic/ldsodefs.h
19758         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19759         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19760         * elf/dl-fptr.c: Likewise.
19761         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19762         * sysdeps/aarch64/tlsdesc.c: Likewise.
19763         * sysdeps/arm/tlsdesc.c: Likewise.
19764         * sysdeps/i386/tlsdesc.c: Likewise.
19765         * sysdeps/tile/dl-runtime.c: Likewise.
19766         * sysdeps/x86_64/tlsdesc.c: Likewise.
19767         * elf/dl-load.h: New file.
19768         * elf/dl-load.c: Include it.
19769         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19770         Macros moved to dl-load.h.
19771         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19772         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19773         Use _dl_unmap_segments in place of __munmap.
19774         Break out segment-mapping loop into ...
19775         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19777 2014-04-03  Will Newton  <will.newton@linaro.org>
19779         * elf/dl-lookup.c (do_lookup_x): Remove comment
19780         referring to nested function and move variable
19781         declarations down to before first use.
19783 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19785         [BZ #16799]
19786         [BZ #16800]
19787         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19788         with 0 numerator.
19789         * math/s_catanf.c (__catanf): Likewise.
19790         * math/s_catanh.c (__catanh): Likewise.
19791         * math/s_catanhf.c (__catanhf): Likewise.
19792         * math/s_catanhl.c (__catanhl): Likewise.
19793         * math/s_catanl.c (__catanl): Likewise.
19794         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19795         by positive zero when computing -Inf result.
19796         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19797         (catanh_test): Likewise.
19798         * sysdeps/i386/fpu/libm-test-ulps: Update.
19799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19801         [BZ #16789]
19802         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19803         instead of using underflowing value in computing result.
19804         * math/s_clog10.c (__clog10): Likewise.
19805         * math/s_clog10f.c (__clog10f): Likewise.
19806         * math/s_clog10l.c (__clog10l): Likewise.
19807         * math/s_clogf.c (__clogf): Likewise.
19808         * math/s_clogl.c (__clogl): Likewise.
19809         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19810         (clog10_test): Likewise.
19811         * sysdeps/i386/fpu/libm-test-ulps: Update.
19812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19814 2014-04-02  Alan Modra  <amodra@gmail.com>
19816         [BZ #16739]
19817         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19818         output when value is near a power of two.  Use int64_t for lx and
19819         remove casts.  Use decimal rather than hex exponent constants.
19820         Don't use long double multiplication when double will suffice.
19821         * math/libm-test.inc (nextafter_test_data): Add tests.
19822         * NEWS: Add 16739 and 16786 to bug list.
19824         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19826         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19828 2014-04-01  Will Newton  <will.newton@linaro.org>
19830         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19831         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19833 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19835         [BZ #13347]
19836         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19837         * nptl/tst-setuid2.c: New file.
19838         * nptl/Makefile (xtests): Add tst-setuid2.
19840 2014-04-01  Alan Modra  <amodra@gmail.com>
19842         [BZ #16786]
19843         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19845 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19847         [BZ #6803]
19848         [BZ #6804]
19849         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19850         set errno as appropriate.
19851         * math/w_scalbf.c (__scalbf): Likewise.
19852         * math/w_scalbl.c (__scalbl): Likewise.
19853         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19854         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19855         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19856         Add more NaN tests.
19858         [BZ #16349]
19859         * math/w_atan2.c: Include <errno.h>.
19860         (__atan2): Set errno for result underflowing to zero.
19861         * math/w_atan2f.c: Include <errno.h>.
19862         (__atan2f): Set errno for result underflowing to zero.
19863         * math/w_atan2l.c: Include <errno.h>.
19864         (__atan2l): Set errno for result underflowing to zero.
19865         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19866         tests.
19867         * math/auto-libm-test-out: Regenerated.
19869 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19871         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19872         Encode instruction correctly in little endian.
19873         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19874         Likewise.
19875         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19876         Likewise.
19877         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19878         Likewise.
19879         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19880         Likewise.
19882 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19884         [BZ #9894]
19885         * sysdeps/unix/sysv/linux/kernel-features.h
19886         [__sparc__ && !__arch64__ && !__sparc_v9__]
19887         (__ASSUME_SET_ROBUST_LIST): Do not define.
19888         [__sparc__ && !__arch64__ && !__sparc_v9__]
19889         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19890         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19891         Likewise.
19892         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19893         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19894         (__ASSUME_REQUEUE_PI): Likewise.
19895         (__ASSUME_SET_ROBUST_LIST): Likewise.
19896         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19897         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19898         Undefine.
19899         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19900         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19901         Likewise.
19902         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19903         Likewise.
19904         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19905         Likewise.
19906         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19907         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19908         Undefine.
19909         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19910         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19911         Likewise.
19913         [BZ #16648]
19914         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19915         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19916         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19918 2014-03-31  Will Newton  <will.newton@linaro.org>
19920         * benchtests/Makefile (bench): Add ffs and ffsll to list
19921         of tests.
19922         * benchtests/ffs-inputs: New file.
19923         * benchtests/ffsll-inputs: Likewise.
19925 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19927         [BZ #16770]
19928         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19929         too large before casting to int.
19930         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19931         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19932         * math/libm-test.inc (scalb_test_data): Add more tests.
19934 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19936         * benchtests/Makefile (DETAILED_OPT): New make option.
19937         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19938         set.
19939         * benchtests/bench-skeleton.c: Include stdbool.h.
19940         (main): Store and print timings per input.
19941         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19942         member to each argument value.
19943         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19944         (_print_arg_data): Initialize per-input timing to 0.
19946         * benchtests/Makefile (timing-type): New binary.
19947         (bench-clean): Also remove bench-timing-type.
19948         (bench): New target for timing-type.
19949         (bench-func): Print output in JSON format.
19950         * benchtests/bench-skeleton.c (main): Print output in JSON
19951         format.
19952         * benchtests/bench-timing-type.c: New file.
19953         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19954         (TIMING_PRINT_STATS): Remove.
19955         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19956         name separately.
19958         * benchtests/bench-modf.c: Remove.
19959         * benchtests/modf-inputs: New inputs file.
19961 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19963         [BZ #16362]
19964         * math/s_clog10.c (M_PI_LOG10E): New macro.
19965         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19966         imaginary parts are 0.
19967         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19968         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19969         imaginary parts are 0.
19970         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19971         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19972         imaginary parts are 0.
19973         * math/libm-test.inc (clog10_test_data): Update expected results
19974         for when real and imaginary parts are 0.
19976 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19978         * elf/dl-load.c: Finish conversion of __builtin_expect into
19979         __glibc_{un}likely.
19981 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19983         [BZ #16348]
19984         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19985         1+x for argument with exponent below -67.
19986         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19987         Likewise.
19988         * math/auto-libm-test-in: Add more tests of exp.
19989         * math/auto-libm-test-out: Regenerated.
19991 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19993         [BZ #16759]
19994         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19995         (nscd_getnetgrent): Use it.
19997         [BZ #16760]
19998         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19999         of stpcpy.
20001 2014-03-27  Andi Kleen  <ak@linux.intel.com>
20003         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20004         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20005         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20006         (lll_robust_unlock): Remove out of line section. Use cfi
20007         intrinsics.
20008         (LLL_STUB_UNWIND_INFO*): Remove.
20009         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20010         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20011         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20012         (lll_robust_unlock): Remove out of line section. Use cfi
20013         intrinsics.
20014         (LLL_STUB_UNWIND_INFO*): Remove.
20016 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20018         [BZ #16758]
20019         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20020         blank values.
20022 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20024         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20026 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20028         [BZ #16198]
20029         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20030         fnstenv.
20031         * math/test-fenv-preserve.c: New file.
20032         * math/Makefile (tests): Add test-fenv-preserve.
20034 2014-03-26  Will Newton <will.newton@linaro.org>
20036         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20038 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20040         * scripts/versionlist.awk: Partition the version sets and emit all
20041         GLIBC_* (sorted) before all others (sorted).
20043 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20045         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20046         GLIBC_2.2.5 version.
20048 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20050         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20051         calls.
20053         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20054         previous change.
20056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20058 2014-03-25  Andreas Schwab  <schwab@suse.de>
20060         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20061         label to be used after in6ailist is initialized.
20063 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20065         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20066         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20068 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20070         [BZ #16357]
20071         [BZ #16599]
20072         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20073         min_plus_half.
20074         (fp_formats): Update initializers.
20075         (init_fp_formats): Initialize new field.
20076         (output_for_one_input_case): Allow underflow for results up to
20077         min_plus_half.
20078         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20079         * math/auto-libm-test-in: Don't mark some underflows from asin and
20080         atanh as spurious.
20081         * math/auto-libm-test-out: Regenerated.
20082         * sysdeps/i386/fpu/libm-test-ulps: Update.
20083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20085 2014-03-25  Andreas Schwab  <schwab@suse.de>
20087         * libio/Makefile (tst-ftell-partial-wide-ENV)
20088         (tst-ftell-active-handler-ENV): Define.
20090 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20092         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20094 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20096         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20098 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20100         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20101         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20102         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20104 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20106         [BZ #16634]
20107         * elf/dl-load.c (open_verify): Add mode parameter.
20108         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20109         (open_path): Change from boolean 'secure' to complete flag 'mode'
20110         (_dl_map_object): Adjust.
20111         * elf/Makefile (tests): Add tst-dlopen-aout.
20112         * elf/tst-dlopen-aout.c: New test.
20114 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20116         [BZ #16714]
20117         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20118         (struct stat): Rename member pad0 to __glibc_reserved0.
20120         [BZ #16712]
20121         * sysdeps/s390/s390-32/bits/wordsize.h
20122         (__WORDSIZE32_SIZE_ULONG): New define.
20123         * sysdeps/s390/s390-64/bits/wordsize.h
20124         (__WORDSIZE32_SIZE_ULONG): Likewise.
20125         * sysdeps/generic/stdint.h (SIZE_MAX):
20126         Define as UL if __WORDSIZE32_SIZE_ULONG.
20128         [BZ #16713]
20129         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20130         (__glibc_reserved0): New variable.
20131         (sa_flags): Change type to int.
20133         * posix/Makefile (before-compile): Use += before-compile instead
20134         of a :=.
20136         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20137         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20139 2014-03-20  Andreas Schwab  <schwab@suse.de>
20141         [BZ #16743]
20142         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20143         non-matching result from nscd.
20145 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20147         * scripts/bench.py: Moved to ...
20148         * benchtests/scripts/bench.py: ... here.
20149         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20151 2014-03-24  Andreas Schwab  <schwab@suse.de>
20153         [BZ #16002]
20154         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20155         alloca_account and account alloca use for struct in6ailist.
20157 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20159         [BZ #16284]
20160         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20161         rounding mode to recompute results that overflow to infinity or
20162         underflow to zero.
20163         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20164         bug 16284.
20165         * math/auto-libm-test-out: Regenerated.
20166         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20167         (ccosh_test): Likewise.
20168         (csin_test_data): Use plus_oflow.
20169         (csin_test): Use ALL_RM_TEST.
20170         (csinh_test_data): Use plus_oflow.
20171         (csinh_test): Use ALL_RM_TEST.
20172         * sysdeps/i386/fpu/libm-test-ulps: Update.
20173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20175 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20177         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20178         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20179         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20181         [BZ #16731]
20182         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20183         when x - 1 is zero.
20184         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20185         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20186         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20187         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20188         argument is 1.
20189         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20190         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20191         zero.
20192         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20193         * sysdeps/i386/fpu/libm-test-ulps: Update.
20194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20196 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20198         * scripts/bench.pl: Remove file.
20199         * scripts/bench.py: New benchmark script.
20200         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20201         * benchtests/README: Mention python dependency.
20202         * scripts/pylintrc: New file.
20203         * scripts/pylint: New file.
20205         * bits/mathdef.h: Use #ifdef instead of #if.
20206         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20207         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20208         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20209         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20210         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20211         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20213 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20214             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20216         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20217         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20218         and strpbrk-ppc64 objects.
20219         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20220         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20221         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20222         multiarch strpbrk for POWER7.
20223         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20224         multiarch strpbrk for PPC64.
20225         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20226         ifunc selector.
20227         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20228         strpbrk for POWER7.
20230 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20232         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20233         (atan_test): Likewise.
20234         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20235         (atanh_test): Use ALL_RM_TEST.
20236         (atan2_test_data): Likewise.
20237         (cabs_test): Likewise.
20238         (cacosh_test): Likewise.
20239         (carg_test): Likewise.
20240         (casin_test): Likewise.
20241         (casinh_test): Likewise.
20242         (cbrt_test): Likewise.
20243         (csqrt_test): Likewise.
20244         (erf_test): Likewise.
20245         (erfc_test): Likewise.
20246         (pow10_test): Likewise.
20247         (exp2_test): Likewise.
20248         (hypot_test): Likewise.
20249         (j0_test): Likewise.
20250         (j1_test): Likewise.
20251         (lgamma_test): Likewise.
20252         (gamma_test): Likewise.
20253         (sincos_test): Likewise.
20254         (tanh_test): Likewise.
20255         (y0_test): Likewise.
20256         (y1_test): Likewise.
20257         * sysdeps/i386/fpu/libm-test-ulps: Update.
20258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20260 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20262         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20264         and strcspn-ppc64 objects.
20265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20266         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20267         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20268         multiarch strcspn for POWER7.
20269         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20270         multiarch strcspn for PPC64.
20271         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20272         ifunc selector.
20273         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20274         strcspn for POWER7.
20276 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20278         * math/gen-libm-test.pl (generate_testfile): Expect only function
20279         name as argument to AUTO_TESTS_* and pass results for all rounding
20280         modes to parse_args.
20281         (parse_auto_input): Separate inputs of automatic tests from
20282         outputs before storing in %auto_tests.
20283         * math/libm-test.inc (acos_test_data): Update call to
20284         AUTO_TESTS_f_f.
20285         (acos_test): Use ALL_RM_TEST.
20286         (acos_tonearest_test_data): Remove.
20287         (acos_test_tonearest): Likewise.
20288         (acos_towardzero_test_data): Likewise.
20289         (acos_test_towardzero): Likewise.
20290         (acos_downward_test_data): Likewise.
20291         (acos_test_downward): Likewise.
20292         (acos_upward_test_data): Likewise.
20293         (acos_test_upward): Likewise.
20294         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20295         (asin_test_data): Likewise.
20296         (asin_test): Use ALL_RM_TEST.
20297         (asin_tonearest_test_data): Remove.
20298         (asin_test_tonearest): Likewise.
20299         (asin_towardzero_test_data): Likewise.
20300         (asin_test_towardzero): Likewise.
20301         (asin_downward_test_data): Likewise.
20302         (asin_test_downward): Likewise.
20303         (asin_upward_test_data): Likewise.
20304         (asin_test_upward): Likewise.
20305         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20306         (atan_test_data): Likewise.
20307         (atanh_test_data): Likewise.
20308         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20309         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20310         (carg_test_data): Likewise.
20311         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20312         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20313         (ccosh_test_data): Likewise.
20314         (cexp_test_data): Likewise.
20315         (clog_test_data): Likewise.
20316         (clog10_test_data): Likewise.
20317         (cos_test_data): Update call to AUTO_TESTS_f_f.
20318         (cos_test): Use ALL_RM_TEST.
20319         (cos_tonearest_test_data): Remove.
20320         (cos_test_tonearest): Likewise.
20321         (cos_towardzero_test_data): Likewise.
20322         (cos_test_towardzero): Likewise.
20323         (cos_downward_test_data): Likewise.
20324         (cos_test_downward): Likewise.
20325         (cos_upward_test_data): Likewise.
20326         (cos_test_upward): Likewise.
20327         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20328         (cosh_test): Use ALL_RM_TEST.
20329         (cosh_tonearest_test_data): Remove.
20330         (cosh_test_tonearest): Likewise.
20331         (cosh_towardzero_test_data): Likewise.
20332         (cosh_test_towardzero): Likewise.
20333         (cosh_downward_test_data): Likewise.
20334         (cosh_test_downward): Likewise.
20335         (cosh_upward_test_data): Likewise.
20336         (cosh_test_upward): Likewise.
20337         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20338         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20339         (ctan_test_data): Likewise.
20340         (ctan_test): Use ALL_RM_TEST.
20341         (ctan_tonearest_test_data): Remove.
20342         (ctan_test_tonearest): Likewise.
20343         (ctan_towardzero_test_data): Likewise.
20344         (ctan_test_towardzero): Likewise.
20345         (ctan_downward_test_data): Likewise.
20346         (ctan_test_downward): Likewise.
20347         (ctan_upward_test_data): Likewise.
20348         (ctan_test_upward): Likewise.
20349         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20350         (ctanh_test): Use ALL_RM_TEST.
20351         (ctanh_tonearest_test_data): Remove.
20352         (ctanh_test_tonearest): Likewise.
20353         (ctanh_towardzero_test_data): Likewise.
20354         (ctanh_test_towardzero): Likewise.
20355         (ctanh_downward_test_data): Likewise.
20356         (ctanh_test_downward): Likewise.
20357         (ctanh_upward_test_data): Likewise.
20358         (ctanh_test_upward): Likewise.
20359         (erf_test_data): Update call to AUTO_TESTS_f_f.
20360         (erfc_test_data): Likewise.
20361         (exp_test_data): Likewise.
20362         (exp_test): Use ALL_RM_TEST.
20363         (exp_tonearest_test_data): Remove.
20364         (exp_test_tonearest): Likewise.
20365         (exp_towardzero_test_data): Likewise.
20366         (exp_test_towardzero): Likewise.
20367         (exp_downward_test_data): Likewise.
20368         (exp_test_downward): Likewise.
20369         (exp_upward_test_data): Likewise.
20370         (exp_test_upward): Likewise.
20371         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20372         (exp10_test): Use ALL_RM_TEST.
20373         (exp10_tonearest_test_data): Remove.
20374         (exp10_test_tonearest): Likewise.
20375         (exp10_towardzero_test_data): Likewise.
20376         (exp10_test_towardzero): Likewise.
20377         (exp10_downward_test_data): Likewise.
20378         (exp10_test_downward): Likewise.
20379         (exp10_upward_test_data): Likewise.
20380         (exp10_test_upward): Likewise.
20381         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20382         (expm1_test_data): Likewise.
20383         (expm1_test): Use ALL_RM_TEST.
20384         (expm1_tonearest_test_data): Remove.
20385         (expm1_test_tonearest): Likewise.
20386         (expm1_towardzero_test_data): Likewise.
20387         (expm1_test_towardzero): Likewise.
20388         (expm1_downward_test_data): Likewise.
20389         (expm1_test_downward): Likewise.
20390         (expm1_upward_test_data): Likewise.
20391         (expm1_test_upward): Likewise.
20392         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20393         (fma_test): Use ALL_RM_TEST.
20394         (fma_towardzero_test_data): Remove.
20395         (fma_test_towardzero): Likewise.
20396         (fma_downward_test_data): Likewise.
20397         (fma_test_downward): Likewise.
20398         (fma_upward_test_data): Likewise.
20399         (fma_test_upward): Likewise.
20400         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20401         (j0_test_data): Update call to AUTO_TESTS_f_f.
20402         (j1_test_data): Likewise.
20403         (jn_test_data): Update call to AUTO_TESTS_if_f.
20404         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20405         (log_test_data): Update call to AUTO_TESTS_f_f.
20406         (log10_test_data): Likewise.
20407         (log1p_test_data): Likewise.
20408         (log2_test_data): Likewise.
20409         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20410         (pow_tonearest_test_data): Likewise.
20411         (sin_test_data): Update call to AUTO_TESTS_f_f.
20412         (sin_test): Use ALL_RM_TEST.
20413         (sin_tonearest_test_data): Remove.
20414         (sin_test_tonearest): Likewise.
20415         (sin_towardzero_test_data): Likewise.
20416         (sin_test_towardzero): Likewise.
20417         (sin_downward_test_data): Likewise.
20418         (sin_test_downward): Likewise.
20419         (sin_upward_test_data): Likewise.
20420         (sin_test_upward): Likewise.
20421         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20422         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20423         (sinh_test): Use ALL_RM_TEST.
20424         (sinh_tonearest_test_data): Remove.
20425         (sinh_test_tonearest): Likewise.
20426         (sinh_towardzero_test_data): Likewise.
20427         (sinh_test_towardzero): Likewise.
20428         (sinh_downward_test_data): Likewise.
20429         (sinh_test_downward): Likewise.
20430         (sinh_upward_test_data): Likewise.
20431         (sinh_test_upward): Likewise.
20432         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20433         (sqrt_test): Use ALL_RM_TEST.
20434         (sqrt_tonearest_test_data): Remove.
20435         (sqrt_test_tonearest): Likewise.
20436         (sqrt_towardzero_test_data): Likewise.
20437         (sqrt_test_towardzero): Likewise.
20438         (sqrt_downward_test_data): Likewise.
20439         (sqrt_test_downward): Likewise.
20440         (sqrt_upward_test_data): Likewise.
20441         (sqrt_test_upward): Likewise.
20442         (tan_test_data): Update call to AUTO_TESTS_f_f.
20443         (tan_test): Use ALL_RM_TEST.
20444         (tan_tonearest_test_data): Remove.
20445         (tan_test_tonearest): Likewise.
20446         (tan_towardzero_test_data): Likewise.
20447         (tan_test_towardzero): Likewise.
20448         (tan_downward_test_data): Likewise.
20449         (tan_test_downward): Likewise.
20450         (tan_upward_test_data): Likewise.
20451         (tan_test_upward): Likewise.
20452         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20453         (tgamma_test_data): Likewise.
20454         (y0_test_data): Likewise.
20455         (y1_test_data): Likewise.
20456         (yn_test_data): Update call to AUTO_TESTS_if_f.
20457         (main): Do not call removed functions.
20459 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20461         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20462         (ldexp_test_data): Remove.
20463         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20464         scalbn_test_data.
20465         (scalb_test): Use ALL_RM_TEST.
20467 2014-03-19  Andreas Schwab  <schwab@suse.de>
20469         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20471 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20473         [BZ #16649]
20474         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20475         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20476         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20477         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20478         (__ASSUME_PREADV): Undefine.
20479         (__ASSUME_PWRITEV): Likewise.
20481 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20483         * bits/mman-linux.h: Add comment about non-Linux use.
20484         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20485         bits/mman-linux.h resting place.
20487         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20488         * bits/mman-linux.h: ... here.
20490 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20492         * conform/conformtest.pl: Add standard definition when calling C
20493         preprocessor on data files.
20494         (checknamespace): Remove unused variable.
20496 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20498         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20499         minus_oflow, plus_uflow and minus_uflow in expected results.
20500         * math/libm-test.inc (scalbn_test_data): Add more tests of
20501         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20502         minus_uflow.
20503         (scalbn_test): Use ALL_RM_TEST.
20504         (scalbln_test_data): Add more tests of negative arguments.  Use
20505         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20506         (scalbln_test): Use ALL_RM_TEST.
20508 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20510         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20512 2014-03-18  Will Newton  <will.newton@linaro.org>
20514         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20515         inaccurate comment.
20517 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20519         * Makerules [!subdir] (check-abi): Exit with error status if a
20520         test failed.
20522 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20524         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20525         for rint.  Include results for all rounding modes.
20526         (nearbyint_test): Use ALL_RM_TEST.
20527         (rint_test_data): Include all tests used for nearbyint.
20529 2014-03-17  Will Newton  <will.newton@linaro.org>
20531         * nptl/sysdeps/pthread/pthread.h: Revert previous
20532         change.
20534         * sysdeps/generic/ldsodefs.h: Revert previous
20535         change.
20537         * libio/genops.c: Revert previous change.
20538         * libio/libioP.h: Likewise.
20539         * stdio-common/vfprintf.c: Likewise.
20541         * sysdeps/generic/math_private.h: Revert previous
20542         change.
20544         * sysdeps/generic/math_private.h: Check whether
20545         HAVE_RM_CTX is defined with #ifdef rather
20546         than #if.
20548         * argp/argp-fmtstream.h: Check whether
20549         __STRICT_ANSI__ is defined with #ifdef rather
20550         than #if.
20551         * argp/argp.h: Likewise.
20553         * libio/genops.c: Check whether
20554         _IO_JUMPS_OFFSET is defined with #ifdef rather
20555         than #if.
20556         * libio/libioP.h: Likewise.
20557         * stdio-common/vfprintf.c: Likewise.
20559         * sysdeps/generic/ldsodefs.h: Check whether
20560         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20561         than #if.
20563         * nptl/sysdeps/pthread/pthread.h: Check
20564         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20565         its value.
20567 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20569         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20570         setting O_APPEND.
20571         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20572         test case.
20574         [BZ #16680]
20575         * libio/fileops.c (_IO_file_open): Seek to end of file but
20576         don't cache the offset.
20577         (get_file_offset): Remove function.
20578         (do_ftell): Use cached offset when available.
20579         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20580         don't cache the offset.
20581         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20582         case.
20583         (do_one_test): Call it.
20584         (do_ftell_test): Fix up expected old offset for a+ mode.
20585         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20586         available.
20588         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20589         up test status with function return status.
20590         (do_write_test): Likewise.
20591         (do_append_test): Likewise.
20593         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20594         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20595         Remove.
20597 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20599         * math/gen-libm-test.pl (parse_args): Handle results specified for
20600         each rounding mode separately.
20601         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20602         tests and results from lrint_tonearest_test_data,
20603         lrint_towardzero_test_data, lrint_downward_test_data and
20604         lrint_upward_test_data.
20605         (lrint_test): Use ALL_RM_TEST.
20606         (lrint_tonearest_test_data): Remove.
20607         (lrint_test_tonearest): Likewise.
20608         (lrint_towardzero_test_data): Likewise.
20609         (lrint_test_towardzero): Likewise.
20610         (lrint_downward_test_data): Likewise.
20611         (lrint_test_downward): Likewise.
20612         (lrint_upward_test_data): Likewise.
20613         (lrint_test_upward): Likewise.
20614         (llrint_test_data): Merge in per-rounding-mode tests and results
20615         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20616         llrint_downward_test_data and llrint_upward_test_data.
20617         (llrint_test): Use ALL_RM_TEST.
20618         (llrint_tonearest_test_data): Remove.
20619         (llrint_test_tonearest): Likewise.
20620         (llrint_towardzero_test_data): Likewise.
20621         (llrint_test_towardzero): Likewise.
20622         (llrint_downward_test_data): Likewise.
20623         (llrint_test_downward): Likewise.
20624         (llrint_upward_test_data): Likewise.
20625         (llrint_test_upward): Likewise.
20626         (rint_test_data): Merge in per-rounding-mode tests and results
20627         from rint_tonearest_test_data, rint_towardzero_test_data,
20628         rint_downward_test_data and rint_upward_test_data.  Add
20629         per-rounding-mode results for tests not in those arrays.
20630         (rint_test): Use ALL_RM_TEST.
20631         (rint_tonearest_test_data): Remove.
20632         (rint_test_tonearest): Likewise.
20633         (rint_towardzero_test_data): Likewise.
20634         (rint_test_towardzero): Likewise.
20635         (rint_downward_test_data): Likewise.
20636         (rint_test_downward): Likewise.
20637         (rint_upward_test_data): Likewise.
20638         (rint_test_upward): Likewise.
20639         (main): Don't call removed functions.
20641 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20643         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20644         "Compiled on ..." crapola.  It is anti-useful.
20646 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20648         * scripts/evaluate-test.sh: Handle fourth argument to determine
20649         whether test run should stop on failure.
20650         * Makeconfig (stop-on-test-failure): New variable.
20651         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20652         $(stop-on-test-failure).
20653         * Makefile (tests): Give a summary of results from testing and
20654         exit with failure status if they include an ERROR or FAIL.
20655         (xtests): Likewise.
20656         * manual/install.texi (Configuring and compiling): Mention
20657         stop-on-test-failure=y.
20658         * INSTALL: Regenerated.
20660 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20662         * scripts/versionlist.awk: New file.
20663         * Makerules [$(build-shared) = yes]
20664         (postclean-generated): Add Versions.def, not Versions.def.v and
20665         Versions.def.v.i.
20666         ($(common-objpfx)Versions.def.v.i): Target removed.
20667         ($(common-objpfx)Versions.def): New target.
20668         ($(common-objpfx)Versions.all): Depend on that rather that
20669         $(common-objpfx)Versions.def.v.
20670         * Versions.def: File removed.
20672         * Makeconfig (+gccwarn): Add -Wundef.
20673         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20674         a dl-sysdep.h breaking its contract.
20675         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20676         * include/stackinfo.h: New file.
20677         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20678         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20679         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20680         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20681         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20682         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20683         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20684         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20685         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20686         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20687         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20688         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20689         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20690         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20691         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20693 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20695         [BZ #16707]
20696         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20697         implementation.
20698         * math/libm-test.inc (round_test_data): Add more tests.
20700         [BZ #16706]
20701         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20702         implementation.
20703         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20705         [BZ #16701]
20706         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20707         implementation.
20708         * math/libm-test.inc (ceil_test_data): Add more tests.
20710         * math/libm-test.inc (trunc_test_data): Add more tests related to
20711         BZ#16414.
20713 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20715         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20716         with #if rather than #ifdef.
20717         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20719 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20721         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20722         first.  Disable AVX-512 GCC support if assembler doesn't support
20723         it.
20724         * sysdeps/x86_64/configure: Regenerated.
20726 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20728         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20729         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20730         (__old_pthread_attr_setstack): Likewise.
20731         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20732         [!_STACK_GROWS_DOWN]: Likewise.
20734 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20736         * config.make.in (have-bash2): Delete.
20737         * configure.ac (libc_cv_have_bash2): Delete.
20738         * configure: Regenerate.
20739         * elf/Makefile (common-ldd-rewrite): Rename to ...
20740         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20741         (sh-ldd-rewrite): Delete.
20742         (bash-ldd-rewrite): Delete.
20743         (have-bash2): Delete checks.
20744         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20745         ldd-rewrite.
20747         * config.make.in (have-ksh): Delete.
20748         (KSH): Delete.
20749         * configure.ac (libc_cv_have_ksh): Delete.
20750         * configure: Regenerate.
20752         * elf/Makefile: Delete $(have-ksh) check.
20753         ($(objpfx)sotruss): Change KSH to BASH.
20754         * elf/sotruss.ksh: Rename to ...
20755         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20756         function style to match POSIX.  Drop ksh vim mode setting.
20758         * manual/time.texi (Specifying the Time Zone with TZ): Change
20759         Tuesday to Thursday.
20761         * debug/tst-longjmp_chk2.c: Update header comment.
20762         (stackoverflow_handler): Add comment.  Call assert on pass value.
20764 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20766         [BZ #16194]
20767         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20768         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20769         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20770         (La_x86_64_vector): Add zmm.
20771         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20772         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20773         ($(objpfx)tst-audit10): New target.
20774         ($(objpfx)tst-audit10.out): Likewise.
20775         (tst-audit10-ENV): New.
20776         (AVX512-CFLAGS): Likewise.
20777         (CFLAGS-tst-audit10.c): Likewise.
20778         (CFLAGS-tst-auditmod10a.c): Likewise.
20779         (CFLAGS-tst-auditmod10b.c): Likewise.
20780         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20781         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20782         * sysdeps/x86_64/configure: Regenerated.
20783         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20784         AVX-512 zmm register support.
20785         (_dl_x86_64_save_sse): Likewise.
20786         (_dl_x86_64_restore_sse): Likewise.
20787         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20788         size vector registers.
20789         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20790         (ZMM_SIZE): Likewise.
20791         * sysdeps/x86_64/tst-audit10.c: New file.
20792         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20793         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20795 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20797         * configure.ac (HAVE_EHDR_START): New check.
20798         * configure: Regenerated.
20799         * config.h.in (HAVE_EHDR_START): New #undef.
20800         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20801         assuming the lowest-addressed segment maps the start of the file.
20803 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20805         * INSTALL: Regenerated.
20807 2014-03-13  Will Newton  <will.newton@linaro.org>
20809         * manual/setjmp.texi (System V contexts): Improve
20810         clarity and grammar of documentation.
20812 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20814         [BZ #16381]
20815         * elf/Makefile (tests): Add tst-pie2.
20816         (tests-pie): Add tst-pie2.
20817         * elf/tst-pie2.c: New file.
20818         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20819         for ET_EXEC.
20820         * elf/rtld.c (map_doit): Load executable as lt_executable.
20821         (dl_main): Likewise.
20823 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20825         [BZ #16642]
20826         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20827         (__ASSUME_PSELECT): Undefine.
20829 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20831         [BZ #16689]
20832         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20833         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20834         static build.
20835         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20836         selector for static builds.
20838 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20840         [BZ #16695]
20841         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20842         key in the buffer.
20844 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20846         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20847         IFUNC selector for static builds.
20849 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20851         * sysdeps/mips/math_private.h [__mips_hard_float]
20852         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20853         libc_feresetround_mips_ctx.
20854         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20855         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20856         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20858         [BZ #16677]
20859         * math/s_nextafter.c (__nextafter): Do not return value from
20860         overflowing computation.
20861         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20862         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20863         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20864         Likewise.
20865         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20866         Likewise.
20867         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20868         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20870 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20872         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20873         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20874         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20875         the new mov targetting sp.
20877 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20879         [BZ #16683]
20880         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20881         Define it for static builds as well.
20882         (NO_BZERO_IMPL): Likewise.
20884 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20886         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20887         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20888         multiarch strspn for PPC64.
20889         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20890         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20892         (__libc_ifunc_impl_list): Likewise.
20893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20894         multiarch optimizations
20895         * string/strspn.c (strspn): Using macro to redefine symbol name.
20897 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20898             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20900         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20901         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20902         multiarch strncat for PPC64.
20903         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20904         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20906         (__libc_ifunc_impl_list): Likewise.
20907         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20908         multiarch optimizations
20910 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20912         [BZ #16639]
20913         * nscd/nscd.service: Make service type forking.
20915 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20917         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20918         sign in non default rounding modes.
20919         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20921 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20923         * math/libm-test.inc (ALL_RM_TEST): New macro.
20924         (ceil_test): Use ALL_RM_TEST.
20925         (cimag_test): Likewise.
20926         (conj_test): Likewise.
20927         (copysign_test): Likewise.
20928         (cproj_test): Likewise.
20929         (creal_test): Likewise.
20930         (fabs_test): Likewise.
20931         (floor_test): Likewise.
20932         (fmax_test): Likewise.
20933         (fmin_test): Likewise.
20934         (fmod_test): Likewise.
20935         (fpclassify_test): Likewise.
20936         (frexp_test): Likewise.
20937         (ilogb_test): Likewise.
20938         (isfinite_test): Likewise.
20939         (finite_test): Likewise.
20940         (isgreater_test): Likewise.
20941         (isgreaterequal_test): Likewise.
20942         (isinf_test): Likewise.
20943         (isless_test): Likewise.
20944         (islessequal_test): Likewise.
20945         (islessgreater_test): Likewise.
20946         (isnan_test): Likewise.
20947         (isnormal_test): Likewise.
20948         (issignaling_test): Likewise.
20949         (isunordered_test): Likewise.
20950         (logb_test): Likewise.
20951         (logb_downward_test_data): Remove.
20952         (logb_test_downward): Likewise.
20953         (lround_test): Use ALL_RM_TEST.
20954         (llround_test): Likewise.
20955         (modf_test): Likewise.
20956         (nexttoward_test): Likewise.
20957         (remainder_test): Likewise.
20958         (drem_test): Likewise.
20959         (remainder_tonearest_test_data): Likewise.
20960         (remainder_test_tonearest): Likewise.
20961         (drem_test_tonearest): Likewise.
20962         (remainder_towardzero_test_data): Likewise.
20963         (remainder_test_towardzero): Likewise.
20964         (drem_test_towardzero): Likewise.
20965         (remainder_downward_test_data): Likewise.
20966         (remainder_test_downward): Likewise.
20967         (drem_test_downward): Likewise.
20968         (remainder_upward_test_data): Likewise.
20969         (remainder_test_upward): Likewise.
20970         (drem_test_upward): Likewise.
20971         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20972         (round_test): Use ALL_RM_TEST.
20973         (signbit_test): Likewise.
20974         (trunc_test): Likewise.
20975         (significand_test): Likewise.
20976         (main): Don't call removed functions.
20978 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20980         [BZ #16674]
20981         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20982         || __USE_XOPEN2K8].
20983         (ILL_ILLOPN): Likewise.
20984         (ILL_ILLADR): Likewise.
20985         (ILL_ILLTRP): Likewise.
20986         (ILL_PRVOPC): Likewise.
20987         (ILL_PRVREG): Likewise.
20988         (ILL_COPROC): Likewise.
20989         (ILL_BADSTK): Likewise.
20990         (FPE_INTDIV): Likewise.
20991         (FPE_INTOVF): Likewise.
20992         (FPE_FLTDIV): Likewise.
20993         (FPE_FLTOVF): Likewise.
20994         (FPE_FLTUND): Likewise.
20995         (FPE_FLTRES): Likewise.
20996         (FPE_FLTINV): Likewise.
20997         (FPE_FLTSUB): Likewise.
20998         (SEGV_MAPERR): Likewise.
20999         (SEGV_ACCERR): Likewise.
21000         (BUS_ADRALN): Likewise.
21001         (BUS_ADRERR): Likewise.
21002         (BUS_OBJERR): Likewise.
21003         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21004         (TRAP_TRACE): Likewise.
21005         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21006         __USE_XOPEN2K8].
21007         (CLD_KILLED): Likewise.
21008         (CLD_DUMPED): Likewise.
21009         (CLD_TRAPPED): Likewise.
21010         (CLD_STOPPED): Likewise.
21011         (CLD_CONTINUED): Likewise.
21012         (POLL_IN): Likewise.
21013         (POLL_OUT): Likewise.
21014         (POLL_MSG): Likewise.
21015         (POLL_ERR): Likewise.
21016         (POLL_PRI): Likewise.
21017         (POLL_HUP): Likewise.
21018         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21019         Likewise.
21020         (ILL_ILLOPN): Likewise.
21021         (ILL_ILLADR): Likewise.
21022         (ILL_ILLTRP): Likewise.
21023         (ILL_PRVOPC): Likewise.
21024         (ILL_PRVREG): Likewise.
21025         (ILL_COPROC): Likewise.
21026         (ILL_BADSTK): Likewise.
21027         (FPE_INTDIV): Likewise.
21028         (FPE_INTOVF): Likewise.
21029         (FPE_FLTDIV): Likewise.
21030         (FPE_FLTOVF): Likewise.
21031         (FPE_FLTUND): Likewise.
21032         (FPE_FLTRES): Likewise.
21033         (FPE_FLTINV): Likewise.
21034         (FPE_FLTSUB): Likewise.
21035         (SEGV_MAPERR): Likewise.
21036         (SEGV_ACCERR): Likewise.
21037         (BUS_ADRALN): Likewise.
21038         (BUS_ADRERR): Likewise.
21039         (BUS_OBJERR): Likewise.
21040         (BUS_MCEERR_AR): Likewise.
21041         (BUS_MCEERR_AO): Likewise.
21042         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21043         (TRAP_TRACE): Likewise.
21044         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21045         __USE_XOPEN2K8].
21046         (CLD_KILLED): Likewise.
21047         (CLD_DUMPED): Likewise.
21048         (CLD_TRAPPED): Likewise.
21049         (CLD_STOPPED): Likewise.
21050         (CLD_CONTINUED): Likewise.
21051         (POLL_IN): Likewise.
21052         (POLL_OUT): Likewise.
21053         (POLL_MSG): Likewise.
21054         (POLL_ERR): Likewise.
21055         (POLL_PRI): Likewise.
21056         (POLL_HUP): Likewise.
21057         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21058         (ILL_ILLOPN): Likewise.
21059         (ILL_ILLADR): Likewise.
21060         (ILL_ILLTRP): Likewise.
21061         (ILL_PRVOPC): Likewise.
21062         (ILL_PRVREG): Likewise.
21063         (ILL_COPROC): Likewise.
21064         (ILL_BADSTK): Likewise.
21065         (FPE_INTDIV): Likewise.
21066         (FPE_INTOVF): Likewise.
21067         (FPE_FLTDIV): Likewise.
21068         (FPE_FLTOVF): Likewise.
21069         (FPE_FLTUND): Likewise.
21070         (FPE_FLTRES): Likewise.
21071         (FPE_FLTINV): Likewise.
21072         (FPE_FLTSUB): Likewise.
21073         (SEGV_MAPERR): Likewise.
21074         (SEGV_ACCERR): Likewise.
21075         (BUS_ADRALN): Likewise.
21076         (BUS_ADRERR): Likewise.
21077         (BUS_OBJERR): Likewise.
21078         (BUS_MCEERR_AR): Likewise.
21079         (BUS_MCEERR_AO): Likewise.
21080         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21081         (TRAP_TRACE): Likewise.
21082         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21083         __USE_XOPEN2K8].
21084         (CLD_KILLED): Likewise.
21085         (CLD_DUMPED): Likewise.
21086         (CLD_TRAPPED): Likewise.
21087         (CLD_STOPPED): Likewise.
21088         (CLD_CONTINUED): Likewise.
21089         (POLL_IN): Likewise.
21090         (POLL_OUT): Likewise.
21091         (POLL_MSG): Likewise.
21092         (POLL_ERR): Likewise.
21093         (POLL_PRI): Likewise.
21094         (POLL_HUP): Likewise.
21095         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21096         Likewise.
21097         (ILL_ILLOPN): Likewise.
21098         (ILL_ILLADR): Likewise.
21099         (ILL_ILLTRP): Likewise.
21100         (ILL_PRVOPC): Likewise.
21101         (ILL_PRVREG): Likewise.
21102         (ILL_COPROC): Likewise.
21103         (ILL_BADSTK): Likewise.
21104         (ILL_BADIADDR): Likewise.
21105         (ILL_BREAK): Likewise.
21106         (FPE_INTDIV): Likewise.
21107         (FPE_INTOVF): Likewise.
21108         (FPE_FLTDIV): Likewise.
21109         (FPE_FLTOVF): Likewise.
21110         (FPE_FLTUND): Likewise.
21111         (FPE_FLTRES): Likewise.
21112         (FPE_FLTINV): Likewise.
21113         (FPE_FLTSUB): Likewise.
21114         (FPE_DECOVF): Likewise.
21115         (FPE_DECDIV): Likewise.
21116         (FPE_DECERR): Likewise.
21117         (FPE_INVASC): Likewise.
21118         (FPE_INVDEC): Likewise.
21119         (SEGV_MAPERR): Likewise.
21120         (SEGV_ACCERR): Likewise.
21121         (SEGV_PSTKOVF): Likewise.
21122         (BUS_ADRALN): Likewise.
21123         (BUS_ADRERR): Likewise.
21124         (BUS_OBJERR): Likewise.
21125         (BUS_MCEERR_AR): Likewise.
21126         (BUS_MCEERR_AO): Likewise.
21127         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21128         (TRAP_TRACE): Likewise.
21129         (TRAP_BRANCH): Likewise.
21130         (TRAP_HWBKPT): Likewise.
21131         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21132         __USE_XOPEN2K8].
21133         (CLD_KILLED): Likewise.
21134         (CLD_DUMPED): Likewise.
21135         (CLD_TRAPPED): Likewise.
21136         (CLD_STOPPED): Likewise.
21137         (CLD_CONTINUED): Likewise.
21138         (POLL_IN): Likewise.
21139         (POLL_OUT): Likewise.
21140         (POLL_MSG): Likewise.
21141         (POLL_ERR): Likewise.
21142         (POLL_PRI): Likewise.
21143         (POLL_HUP): Likewise.
21144         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21145         (ILL_ILLOPN): Likewise.
21146         (ILL_ILLADR): Likewise.
21147         (ILL_ILLTRP): Likewise.
21148         (ILL_PRVOPC): Likewise.
21149         (ILL_PRVREG): Likewise.
21150         (ILL_COPROC): Likewise.
21151         (ILL_BADSTK): Likewise.
21152         (FPE_INTDIV): Likewise.
21153         (FPE_INTOVF): Likewise.
21154         (FPE_FLTDIV): Likewise.
21155         (FPE_FLTOVF): Likewise.
21156         (FPE_FLTUND): Likewise.
21157         (FPE_FLTRES): Likewise.
21158         (FPE_FLTINV): Likewise.
21159         (FPE_FLTSUB): Likewise.
21160         (SEGV_MAPERR): Likewise.
21161         (SEGV_ACCERR): Likewise.
21162         (BUS_ADRALN): Likewise.
21163         (BUS_ADRERR): Likewise.
21164         (BUS_OBJERR): Likewise.
21165         (BUS_MCEERR_AR): Likewise.
21166         (BUS_MCEERR_AO): Likewise.
21167         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21168         (TRAP_TRACE): Likewise.
21169         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21170         __USE_XOPEN2K8].
21171         (CLD_KILLED): Likewise.
21172         (CLD_DUMPED): Likewise.
21173         (CLD_TRAPPED): Likewise.
21174         (CLD_STOPPED): Likewise.
21175         (CLD_CONTINUED): Likewise.
21176         (POLL_IN): Likewise.
21177         (POLL_OUT): Likewise.
21178         (POLL_MSG): Likewise.
21179         (POLL_ERR): Likewise.
21180         (POLL_PRI): Likewise.
21181         (POLL_HUP): Likewise.
21182         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21183         (ILL_ILLOPN): Likewise.
21184         (ILL_ILLADR): Likewise.
21185         (ILL_ILLTRP): Likewise.
21186         (ILL_PRVOPC): Likewise.
21187         (ILL_PRVREG): Likewise.
21188         (ILL_COPROC): Likewise.
21189         (ILL_BADSTK): Likewise.
21190         (FPE_INTDIV): Likewise.
21191         (FPE_INTOVF): Likewise.
21192         (FPE_FLTDIV): Likewise.
21193         (FPE_FLTOVF): Likewise.
21194         (FPE_FLTUND): Likewise.
21195         (FPE_FLTRES): Likewise.
21196         (FPE_FLTINV): Likewise.
21197         (FPE_FLTSUB): Likewise.
21198         (SEGV_MAPERR): Likewise.
21199         (SEGV_ACCERR): Likewise.
21200         (BUS_ADRALN): Likewise.
21201         (BUS_ADRERR): Likewise.
21202         (BUS_OBJERR): Likewise.
21203         (BUS_MCEERR_AR): Likewise.
21204         (BUS_MCEERR_AO): Likewise.
21205         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21206         (TRAP_TRACE): Likewise.
21207         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21208         __USE_XOPEN2K8].
21209         (CLD_KILLED): Likewise.
21210         (CLD_DUMPED): Likewise.
21211         (CLD_TRAPPED): Likewise.
21212         (CLD_STOPPED): Likewise.
21213         (CLD_CONTINUED): Likewise.
21214         (POLL_IN): Likewise.
21215         (POLL_OUT): Likewise.
21216         (POLL_MSG): Likewise.
21217         (POLL_ERR): Likewise.
21218         (POLL_PRI): Likewise.
21219         (POLL_HUP): Likewise.
21220         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21221         (ILL_ILLOPN): Likewise.
21222         (ILL_ILLADR): Likewise.
21223         (ILL_ILLTRP): Likewise.
21224         (ILL_PRVOPC): Likewise.
21225         (ILL_PRVREG): Likewise.
21226         (ILL_COPROC): Likewise.
21227         (ILL_BADSTK): Likewise.
21228         (FPE_INTDIV): Likewise.
21229         (FPE_INTOVF): Likewise.
21230         (FPE_FLTDIV): Likewise.
21231         (FPE_FLTOVF): Likewise.
21232         (FPE_FLTUND): Likewise.
21233         (FPE_FLTRES): Likewise.
21234         (FPE_FLTINV): Likewise.
21235         (FPE_FLTSUB): Likewise.
21236         (SEGV_MAPERR): Likewise.
21237         (SEGV_ACCERR): Likewise.
21238         (BUS_ADRALN): Likewise.
21239         (BUS_ADRERR): Likewise.
21240         (BUS_OBJERR): Likewise.
21241         (BUS_MCEERR_AR): Likewise.
21242         (BUS_MCEERR_AO): Likewise.
21243         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21244         (TRAP_TRACE): Likewise.
21245         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21246         __USE_XOPEN2K8].
21247         (CLD_KILLED): Likewise.
21248         (CLD_DUMPED): Likewise.
21249         (CLD_TRAPPED): Likewise.
21250         (CLD_STOPPED): Likewise.
21251         (CLD_CONTINUED): Likewise.
21252         (POLL_IN): Likewise.
21253         (POLL_OUT): Likewise.
21254         (POLL_MSG): Likewise.
21255         (POLL_ERR): Likewise.
21256         (POLL_PRI): Likewise.
21257         (POLL_HUP): Likewise.
21258         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21259         (ILL_ILLOPN): Likewise.
21260         (ILL_ILLADR): Likewise.
21261         (ILL_ILLTRP): Likewise.
21262         (ILL_PRVOPC): Likewise.
21263         (ILL_PRVREG): Likewise.
21264         (ILL_COPROC): Likewise.
21265         (ILL_BADSTK): Likewise.
21266         (ILL_DBLFLT): Likewise.
21267         (ILL_HARDWALL): Likewise.
21268         (FPE_INTDIV): Likewise.
21269         (FPE_INTOVF): Likewise.
21270         (FPE_FLTDIV): Likewise.
21271         (FPE_FLTOVF): Likewise.
21272         (FPE_FLTUND): Likewise.
21273         (FPE_FLTRES): Likewise.
21274         (FPE_FLTINV): Likewise.
21275         (FPE_FLTSUB): Likewise.
21276         (SEGV_MAPERR): Likewise.
21277         (SEGV_ACCERR): Likewise.
21278         (BUS_ADRALN): Likewise.
21279         (BUS_ADRERR): Likewise.
21280         (BUS_OBJERR): Likewise.
21281         (BUS_MCEERR_AR): Likewise.
21282         (BUS_MCEERR_AO): Likewise.
21283         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21284         (TRAP_TRACE): Likewise.
21285         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21286         __USE_XOPEN2K8].
21287         (CLD_KILLED): Likewise.
21288         (CLD_DUMPED): Likewise.
21289         (CLD_TRAPPED): Likewise.
21290         (CLD_STOPPED): Likewise.
21291         (CLD_CONTINUED): Likewise.
21292         (POLL_IN): Likewise.
21293         (POLL_OUT): Likewise.
21294         (POLL_MSG): Likewise.
21295         (POLL_ERR): Likewise.
21296         (POLL_PRI): Likewise.
21297         (POLL_HUP): Likewise.
21298         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21299         (ILL_ILLOPN): Likewise.
21300         (ILL_ILLADR): Likewise.
21301         (ILL_ILLTRP): Likewise.
21302         (ILL_PRVOPC): Likewise.
21303         (ILL_PRVREG): Likewise.
21304         (ILL_COPROC): Likewise.
21305         (ILL_BADSTK): Likewise.
21306         (FPE_INTDIV): Likewise.
21307         (FPE_INTOVF): Likewise.
21308         (FPE_FLTDIV): Likewise.
21309         (FPE_FLTOVF): Likewise.
21310         (FPE_FLTUND): Likewise.
21311         (FPE_FLTRES): Likewise.
21312         (FPE_FLTINV): Likewise.
21313         (FPE_FLTSUB): Likewise.
21314         (SEGV_MAPERR): Likewise.
21315         (SEGV_ACCERR): Likewise.
21316         (BUS_ADRALN): Likewise.
21317         (BUS_ADRERR): Likewise.
21318         (BUS_OBJERR): Likewise.
21319         (BUS_MCEERR_AR): Likewise.
21320         (BUS_MCEERR_AO): Likewise.
21321         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21322         (TRAP_TRACE): Likewise.
21323         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21324         __USE_XOPEN2K8].
21325         (CLD_KILLED): Likewise.
21326         (CLD_DUMPED): Likewise.
21327         (CLD_TRAPPED): Likewise.
21328         (CLD_STOPPED): Likewise.
21329         (CLD_CONTINUED): Likewise.
21330         (POLL_IN): Likewise.
21331         (POLL_OUT): Likewise.
21332         (POLL_MSG): Likewise.
21333         (POLL_ERR): Likewise.
21334         (POLL_PRI): Likewise.
21335         (POLL_HUP): Likewise.
21336         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21337         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21339         [BZ #16670]
21340         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21341         before #include of <time.h>.
21342         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21343         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21344         (test-xfail-UNIX98/sched.h/conform): Likewise.
21346 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21348         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21349         error absence of trapping exception support.
21350         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21352 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21354         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21355         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21356         * timezone/Makefile (testdata): Move definition above include of
21357         Rules.
21358         (test-zones): New variable.
21359         (tests-special): Add zone files.
21360         (build-testdata): Use $(evaluate-test).
21362         * elf/Makefile (tests-special): Rename tests to end with .out.
21363         ($(objpfx)noload-mem): Likewise.
21364         ($(objpfx)tst-leaks1-mem): Likewise.
21365         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21366         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21367         $(objpfx)test-iconvconfig.out.
21368         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21369         set -e inside subshell and redirect output to file.
21370         * iconvdata/Makefile (generated): Rename tests to end with .out.
21371         Correct type.
21372         (tests-special): Rename tests to end with .out.
21373         ($(objpfx)mtrace-tst-loading): Likewise.
21374         * intl/Makefile (generated): Likewise.
21375         (tests-special): Likewise.
21376         ($(objpfx)mtrace-tst-gettext): Likewise.
21377         * misc/Makefile (generated): Likewise.
21378         (tests-special): Likewise.
21379         ($(objpfx)tst-error1-mem): Likewise.
21380         * nptl/Makefile (tests-special): Likewise.
21381         ($(objpfx)tst-stack3-mem): Likewise.
21382         (generated): Likewise.
21383         * posix/Makefile (generated): Likewise.
21384         (tests-special): Likewise.
21385         (xtests-special): Likewise.
21386         ($(objpfx)tst-fnmatch-mem): Likewise.
21387         ($(objpfx)bug-regex2-mem): Likewise.
21388         ($(objpfx)bug-regex14-mem): Likewise.
21389         ($(objpfx)bug-regex21-mem): Likewise.
21390         ($(objpfx)bug-regex31-mem): Likewise.
21391         ($(objpfx)tst-vfork3-mem): Likewise.
21392         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21393         ($(objpfx)tst-pcre-mem): Likewise.
21394         ($(objpfx)tst-boost-mem): Likewise.
21395         ($(objpfx)bug-ga2-mem): Likewise.
21396         ($(objpfx)bug-glob2-mem): Likewise.
21397         * resolv/Makefile (generate): Likewise.
21398         (tests-special): Likewise.
21399         (xtests-special): Likewise.
21400         (generated): Likewise.
21401         ($(objpfx)mtrace-tst-leaks): Likewise.
21402         ($(objpfx)mtrace-tst-leaks2): Likewise.
21404         * scripts/merge-test-results.sh: New file.
21405         * Makefile (tests-special-notdir): New variable.
21406         (tests): Run merge-test-results.sh.
21407         (xtests): Likewise.
21408         * Rules (tests-special-notdir): New variable.
21409         (xtests-special-notdir): Likewise.
21410         (tests): Run merge-test-results.sh
21411         (xtests): Likewise.
21413         * Makeconfig (test-xfail-name): New variable.
21414         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21415         compute variable name for expected failures.
21416         * conform/Makefile (conformtest-headers-data): New variable.
21417         (conformtest-standards): Likewise.
21418         (conformtest-headers-ISO): Likewise.
21419         (conformtest-headers-ISO99): Likewise.
21420         (conformtest-headers-ISO11): Likewise.
21421         (conformtest-headers-POSIX): Likewise.
21422         (conformtest-headers-XPG3): Likewise.
21423         (conformtest-headers-XPG4): Likewise.
21424         (conformtest-headers-UNIX98): Likewise.
21425         (conformtest-headers-XOPEN2K): Likewise.
21426         (conformtest-headers-POSIX2008): Likewise.
21427         (conformtest-headers-XOPEN2K8): Likewise.
21428         (conformtest-header-list-base): Likewise.
21429         (conformtest-header-list-tests): Likewise.
21430         (conformtest-header-base): Likewise.
21431         (conformtest-header-tests): Likewise.
21432         (tests-special): Add $(conformtest-header-list-tests).  If
21433         [$(fast-check) && !$(cross-compiling)], add
21434         $(conformtest-header-tests) instead of
21435         $(objpfx)run-conformtest.out.
21436         (generated): Add $(conformtest-header-list-base).  If
21437         [$(fast-check) && !$(cross-compiling)], add
21438         $(conformtest-header-base).  Remove previous setting.
21439         ($(conformtest-header-list-tests)): New target.
21440         (test-xfail-run-conformtest): Remove variable.
21441         ($(objpfx)run-conformtest.out): Remove target.
21442         (test-xfail-ISO11/complex.h/conform): New variable.
21443         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21444         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21445         (test-xfail-XPG3/varargs.h/conform): Likewise.
21446         (test-xfail-XPG4/varargs.h/conform): Likewise.
21447         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21448         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21449         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21450         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21451         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21452         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21453         (test-xfail-XPG3/ftw.h/conform): Likewise.
21454         (test-xfail-XPG3/grp.h/conform): Likewise.
21455         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21456         (test-xfail-XPG3/limits.h/conform): Likewise.
21457         (test-xfail-XPG3/pwd.h/conform): Likewise.
21458         (test-xfail-XPG3/search.h/conform): Likewise.
21459         (test-xfail-XPG3/signal.h/conform): Likewise.
21460         (test-xfail-XPG3/stdio.h/conform): Likewise.
21461         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21462         (test-xfail-XPG3/string.h/conform): Likewise.
21463         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21464         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21465         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21466         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21467         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21468         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21469         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21470         (test-xfail-XPG3/termios.h/conform): Likewise.
21471         (test-xfail-XPG3/time.h/conform): Likewise.
21472         (test-xfail-XPG3/unistd.h/conform): Likewise.
21473         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21474         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21475         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21476         (test-xfail-XPG4/netdb.h/conform): Likewise.
21477         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21478         (test-xfail-XPG4/signal.h/conform): Likewise.
21479         (test-xfail-XPG4/stdio.h/conform): Likewise.
21480         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21481         (test-xfail-XPG4/stropts.h/conform): Likewise.
21482         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21483         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21484         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21485         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21486         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21487         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21488         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21489         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21490         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21491         (test-xfail-XPG4/termios.h/conform): Likewise.
21492         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21493         (test-xfail-XPG4/unistd.h/conform): Likewise.
21494         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21495         (test-xfail-POSIX/sched.h/conform): Likewise.
21496         (test-xfail-POSIX/signal.h/conform): Likewise.
21497         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21498         (test-xfail-POSIX/tar.h/conform): Likewise.
21499         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21500         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21501         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21502         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21503         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21504         (test-xfail-UNIX98/sched.h/conform): Likewise.
21505         (test-xfail-UNIX98/signal.h/conform): Likewise.
21506         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21507         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21508         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21509         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21510         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21511         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21512         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21513         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21514         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21515         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21516         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21517         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21518         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21519         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21520         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21521         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21522         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21523         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21524         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21525         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21526         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21527         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21528         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21529         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21530         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21531         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21532         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21533         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21534         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21535         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21536         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21537         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21538         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21539         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21540         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21541         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21542         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21543         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21544         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21545         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21546         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21547         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21548         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21549         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21550         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21551         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21552         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21553         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21554         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21555         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21556         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21557         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21558         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21559         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21560         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21561         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21562         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21563         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21564         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21565         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21566         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21567         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21568         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21569         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21570         (conformtest-cc-flags): Likewise.
21571         ($(conformtest-header-tests): New target.
21572         * conform/check-header-lists.sh: New file.
21573         * conform/run-conformtest.sh: Remove.
21575         * conform/conformtest.pl: Allow ' and \ in values given for
21576         constants.
21577         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21578         inclusion.
21579         [POSIX] (sys/types.h): Likewise.
21580         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21581         inclusion.
21582         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21583         inclusion.
21584         * conform/data/signal.h-data (SIGIO): Remove expectation.
21585         [XPG3] (SIGBUS): Do not expect.
21586         [POSIX || XPG3] (SIGPOLL): Likewise.
21587         [POSIX || XPG3] (SIGPROF): Likewise.
21588         [POSIX || XPG3] (SIGSYS): Likewise.
21589         [XPG3] (SIGTRAP): Likewise.
21590         [POSIX || XPG3] (SIGURG): Likewise.
21591         [POSIX || XPG3] (SIGVTALRM): Likewise.
21592         [POSIX || XPG3] (SIGXCPU): Likewise.
21593         [POSIX || XPG3] (SIGXFSZ): Likewise.
21594         [POSIX] (SA_SIGINFO): Expect.
21595         [XPG3] (siginfo_t): Do not expect type or contents.
21596         [POSIX] (si_pid): Do not expect element.
21597         [POSIX] (si_uid): Likewise.
21598         [POSIX] (si_addr): Likewise.
21599         [POSIX] (si_status): Likewise.
21600         [POSIX] (si_band): Likewise.
21601         [XPG4] (si_value): Likewise.
21602         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21603         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21604         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21605         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21606         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21607         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21608         [POSIX || XPG3] (ILL_COPROC): Likewise.
21609         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21610         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21611         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21612         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21613         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21614         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21615         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21616         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21617         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21618         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21619         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21620         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21621         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21622         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21623         [POSIX || XPG3] (CLD_EXITED): Likewise.
21624         [POSIX || XPG3] (CLD_KILLED): Likewise.
21625         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21626         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21627         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21628         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21629         [POSIX || XPG3] (POLL_IN): Likewise.
21630         [POSIX || XPG3] (POLL_OUT): Likewise.
21631         [POSIX || XPG3] (POLL_MSG): Likewise.
21632         [POSIX || XPG3] (POLL_ERR): Likewise.
21633         [POSIX || XPG3] (POLL_PRI): Likewise.
21634         [POSIX || XPG3] (POLL_HUP): Likewise.
21635         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21636         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21637         (SIG*): Do not allow.
21638         [XPG3] (si_*): Likewise.
21639         [XPG3] (SI_*): Likewise.
21640         [XPG3 || XPG4] (sigev_*): Likewise.
21641         [XPG3 || XPG4] (SIGEV_*): Likewise.
21642         [XPG3 || XPG4] (sival_*): Likewise.
21643         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21644         [POSIX || XPG3] (BUS_*): Likewise.
21645         [POSIX || XPG3] (CLD_*): Likewise.
21646         [POSIX || XPG3] (FPE_*): Likewise.
21647         [POSIX || XPG3] (ILL_*): Likewise.
21648         [POSIX || XPG3] (POLL_*): Likewise.
21649         [POSIX || XPG3] (SEGV_*): Likewise.
21650         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21651         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21652         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21653         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21654         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21655         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21656         Specify type and value.
21657         (TVERSLEN): Likewise.
21658         (REGTYPE): Likewise.
21659         (AREGTYPE): Likewise.
21660         (LNKTYPE): Likewise.
21661         (SYMTYPE): Likewise.
21662         (CHRTYPE): Likewise.
21663         (BLKTYPE): Likewise.
21664         (DIRTYPE): Likewise.
21665         (FIFOTYPE): Likewise.
21666         (CONTTYPE): Likewise.
21667         (TSUID): Likewise.
21668         (TSGID): Likewise.
21669         (TSVTX): Likewise.
21670         (TUREAD): Likewise.
21671         (TUWRITE): Likewise.
21672         (TUEXEC): Likewise.
21673         (TGREAD): Likewise.
21674         (TGWRITE): Likewise.
21675         (TGEXEC): Likewise.
21676         (TOREAD): Likewise.
21677         (TOWRITE): Likewise.
21678         (TOEXEC): Likewise.
21679         [POSIX] (TSVTX): Expect constant.
21681 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21683         * Makefile (tests): Change dependencies to ....
21684         (tests-special): ... additions to this variable.
21685         (tests): Depend on $(tests-special).
21686         * Makerules (check-abi-list): New variable.
21687         (check-abi): Depend on $(check-abi-list).
21688         [$(subdir) = elf] (tests-special): Add
21689         $(objpfx)check-abi-libc.out.
21690         [$(build-shared) = yes && subdir] (tests-special): Add
21691         $(check-abi-list).
21692         [$(build-shared) = yes && subdir] (tests): Do not depend on
21693         check-abi.
21694         * Rules (tests): Depend on $(tests-special).
21695         (xtests): Depend on $(xtests-special).
21696         * catgets/Makefile (tests): Change dependencies to ....
21697         (tests-special): ... additions to this variable.
21698         * conform/Makefile (tests): Change dependencies to ....
21699         (tests-special): ... additions to this variable.
21700         * elf/Makefile (tests): Change dependencies to ....
21701         (tests-special): ... additions to this variable.
21702         * grp/Makefile (tests): Change dependencies to ....
21703         (tests-special): ... additions to this variable.
21704         * iconv/Makefile (xtests): Change dependencies to ....
21705         (xtests-special): ... additions to this variable.
21706         * iconvdata/Makefile (tests): Change dependencies to ....
21707         (tests-special): ... additions to this variable.
21708         * intl/Makefile (tests): Change dependencies to ....
21709         (tests-special): ... additions to this variable.  Also add
21710         $(objpfx)tst-gettext.out.
21711         * io/Makefile (tests): Change dependencies to ....
21712         (tests-special): ... additions to this variable.
21713         * libio/Makefile (tests): Change dependencies to ....
21714         (tests-special): ... additions to this variable.
21715         * malloc/Makefile (tests): Change dependencies to ....
21716         (tests-special): ... additions to this variable.
21717         * misc/Makefile (tests): Change dependencies to ....
21718         (tests-special): ... additions to this variable.
21719         * nptl/Makefile (tests): Change dependencies to ....
21720         (tests-special): ... additions to this variable.
21721         * nptl_db/Makefile (tests): Change dependencies to ....
21722         (tests-special): ... additions to this variable.
21723         * posix/Makefile (tests): Change dependencies to ....
21724         (tests-special): ... additions to this variable.
21725         (xtests): Change dependencies to ....
21726         (xtests-special): ... additions to this variable.
21727         * resolv/Makefile (tests): Change dependencies to ....
21728         (tests-special): ... additions to this variable.
21729         (xtests): Change dependencies to ....
21730         (xtests-special): ... additions to this variable.
21731         * stdio-common/Makefile (tests): Change dependencies to ....
21732         (tests-special): ... additions to this variable.
21733         (do-tst-unbputc): Remove target.
21734         (do-tst-printf): Likewise.
21735         * stdlib/Makefile (tests): Change dependencies to ....
21736         (tests-special): ... additions to this variable.
21737         * string/Makefile (tests): Change dependencies to ....
21738         (tests-special): ... additions to this variable.
21739         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21740         (tests-special): ... additions to this variable.
21742         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21743         whole file.
21744         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21745         whole file.
21746         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21747         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21749         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21750         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21751         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21752         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21753         * conform/data/libgen.h-data [XPG3]: Likewise.
21754         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21755         * conform/data/ndbm.h-data [XPG3]: Likewise.
21756         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21757         * conform/data/netdb.h-data [XPG3]: Likewise.
21758         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21759         * conform/data/poll.h-data [XPG3]: Likewise.
21760         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21761         * conform/data/strings.h-data [XPG3]: Likewise.
21762         * conform/data/stropts.h-data [XPG3]: Likewise.
21763         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21764         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21765         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21766         Likewise.
21767         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21768         * conform/data/sys/time.h-data [XPG3]: Likewise.
21769         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21770         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21771         * conform/data/sys/un.h-data [XPG3]: Likewise.
21772         * conform/data/syslog.h-data [XPG3]: Likewise.
21773         * conform/data/ucontext.h-data [XPG3]: Likewise.
21774         * conform/data/utmpx.h-data [XPG3]: Likewise.
21775         * conform/data/varargs.h-data [UNIX98]: Enable file.
21777         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21779         * math/libm-test.inc (struct test_f_f_data): Move expected results
21780         into structure for each rounding mode.
21781         (struct test_ff_f_data): Likewise.
21782         (struct test_ff_f_data_nexttoward): Likewise.
21783         (struct test_fi_f_data): Likewise.
21784         (struct test_fl_f_data): Likewise.
21785         (struct test_if_f_data): Likewise.
21786         (struct test_fff_f_data): Likewise.
21787         (struct test_c_f_data): Likewise.
21788         (struct test_f_f1_data): Likewise.
21789         (struct test_fF_f1_data): Likewise.
21790         (struct test_ffI_f1_data): Likewise.
21791         (struct test_c_c_data): Likewise.
21792         (struct test_cc_c_data): Likewise.
21793         (struct test_f_i_data): Likewise.
21794         (struct test_ff_i_data): Likewise.
21795         (struct test_f_l_data): Likewise.
21796         (struct test_f_L_data): Likewise.
21797         (struct test_fFF_11_data): Likewise.
21798         (RM_): New macro.
21799         (RM_FE_DOWNWARD): Likewise.
21800         (RM_FE_TONEAREST): Likewise.
21801         (RM_FE_TOWARDZERO): Likewise.
21802         (RM_FE_UPWARD): Likewise.
21803         (RUN_TEST_LOOP_f_f): Update references to expected results.
21804         (RUN_TEST_LOOP_2_f): Likewise.
21805         (RUN_TEST_LOOP_fff_f): Likewise.
21806         (RUN_TEST_LOOP_c_f): Likewise.
21807         (RUN_TEST_LOOP_f_f1): Likewise.
21808         (RUN_TEST_LOOP_fF_f1): Likewise.
21809         (RUN_TEST_LOOP_fI_f1): Likewise.
21810         (RUN_TEST_LOOP_ffI_f1): Likewise.
21811         (RUN_TEST_LOOP_c_c): Likewise.
21812         (RUN_TEST_LOOP_cc_c): Likewise.
21813         (RUN_TEST_LOOP_f_i): Likewise.
21814         (RUN_TEST_LOOP_f_i_tg): Likewise.
21815         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21816         (RUN_TEST_LOOP_f_b): Likewise.
21817         (RUN_TEST_LOOP_f_b_tg): Likewise.
21818         (RUN_TEST_LOOP_f_l): Likewise.
21819         (RUN_TEST_LOOP_f_L): Likewise.
21820         (RUN_TEST_LOOP_fFF_11): Likewise.
21821         * math/gen-libm-test.pl (parse_args): Output four copies of
21822         expected results for each test.
21824         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21825         (__ASSUME_UTIMES): Remove.
21826         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21827         (__ASSUME_UTIMES): Likewise.
21829         * math/gen-auto-libm-tests.c: Update comment on output format.
21830         (output_for_one_input_case): Generate before-rounding and
21831         after-rounding information as conditions on output flags not
21832         floating-point format.
21833         * math/auto-libm-test-out: Regenerated.
21834         * math/gen-libm-test.pl (cond_value): New function.
21835         (or_cond_value): Use cond_value.
21836         (generate_testfile): Handle conditional exceptions.
21838 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21840         * math/libm-test.inc (max_valid_error): New variable.
21841         (init_max_error): Take new argument specifying whether function
21842         results are exactly determined.  Set max_valid_error and bound
21843         other variables for errors based on this argument.
21844         (set_max_error): Do not record results above max_valid_error.
21845         (check_float_internal): Only accept errors of up to 0.5ulps if
21846         also at most max_valid_error.
21847         (START): Take new argument EXACT and pass it to init_max_error.
21848         (acos_test): Update call to START.
21849         (acos_test_tonearest): Likewise.
21850         (acos_test_towardzero): Likewise.
21851         (acos_test_downward): Likewise.
21852         (acos_test_upward): Likewise.
21853         (acosh_test): Likewise.
21854         (asin_test): Likewise.
21855         (asin_test_tonearest): Likewise.
21856         (asin_test_towardzero): Likewise.
21857         (asin_test_downward): Likewise.
21858         (asin_test_upward): Likewise.
21859         (asinh_test): Likewise.
21860         (atan_test): Likewise.
21861         (atanh_test): Likewise.
21862         (atan2_test): Likewise.
21863         (cabs_test): Likewise.
21864         (cacos_test): Likewise.
21865         (cacosh_test): Likewise.
21866         (carg_test): Likewise.
21867         (casin_test): Likewise.
21868         (casinh_test): Likewise.
21869         (catan_test): Likewise.
21870         (catanh_test): Likewise.
21871         (cbrt_test): Likewise.
21872         (ccos_test): Likewise.
21873         (ccosh_test): Likewise.
21874         (ceil_test): Likewise.
21875         (cexp_test): Likewise.
21876         (cimag_test): Likewise.
21877         (clog_test): Likewise.
21878         (clog10_test): Likewise.
21879         (conj_test): Likewise.
21880         (copysign_test): Likewise.
21881         (cos_test): Likewise.
21882         (cos_test_tonearest): Likewise.
21883         (cos_test_towardzero): Likewise.
21884         (cos_test_downward): Likewise.
21885         (cos_test_upward): Likewise.
21886         (cosh_test): Likewise.
21887         (cosh_test_tonearest): Likewise.
21888         (cosh_test_towardzero): Likewise.
21889         (cosh_test_downward): Likewise.
21890         (cosh_test_upward): Likewise.
21891         (cpow_test): Likewise.
21892         (cproj_test): Likewise.
21893         (creal_test): Likewise.
21894         (csin_test): Likewise.
21895         (csinh_test): Likewise.
21896         (csqrt_test): Likewise.
21897         (ctan_test): Likewise.
21898         (ctan_test_tonearest): Likewise.
21899         (ctan_test_towardzero): Likewise.
21900         (ctan_test_downward): Likewise.
21901         (ctan_test_upward): Likewise.
21902         (ctanh_test): Likewise.
21903         (ctanh_test_tonearest): Likewise.
21904         (ctanh_test_towardzero): Likewise.
21905         (ctanh_test_downward): Likewise.
21906         (ctanh_test_upward): Likewise.
21907         (erf_test): Likewise.
21908         (erfc_test): Likewise.
21909         (exp_test): Likewise.
21910         (exp_test_tonearest): Likewise.
21911         (exp_test_towardzero): Likewise.
21912         (exp_test_downward): Likewise.
21913         (exp_test_upward): Likewise.
21914         (exp10_test): Likewise.
21915         (exp10_test_tonearest): Likewise.
21916         (exp10_test_towardzero): Likewise.
21917         (exp10_test_downward): Likewise.
21918         (exp10_test_upward): Likewise.
21919         (pow10_test): Likewise.
21920         (exp2_test): Likewise.
21921         (expm1_test): Likewise.
21922         (expm1_test_tonearest): Likewise.
21923         (expm1_test_towardzero): Likewise.
21924         (expm1_test_downward): Likewise.
21925         (expm1_test_upward): Likewise.
21926         (fabs_test): Likewise.
21927         (fdim_test): Likewise.
21928         (floor_test): Likewise.
21929         (fma_test): Likewise.
21930         (fma_test_towardzero): Likewise.
21931         (fma_test_downward): Likewise.
21932         (fma_test_upward): Likewise.
21933         (fmax_test): Likewise.
21934         (fmin_test): Likewise.
21935         (fmod_test): Likewise.
21936         (fpclassify_test): Likewise.
21937         (frexp_test): Likewise.
21938         (hypot_test): Likewise.
21939         (ilogb_test): Likewise.
21940         (isfinite_test): Likewise.
21941         (finite_test): Likewise.
21942         (isgreater_test): Likewise.
21943         (isgreaterequal_test): Likewise.
21944         (isinf_test): Likewise.
21945         (isless_test): Likewise.
21946         (islessequal_test): Likewise.
21947         (islessgreater_test): Likewise.
21948         (isnan_test): Likewise.
21949         (isnormal_test): Likewise.
21950         (issignaling_test): Likewise.
21951         (isunordered_test): Likewise.
21952         (j0_test): Likewise.
21953         (j1_test): Likewise.
21954         (jn_test): Likewise.
21955         (ldexp_test): Likewise.
21956         (lgamma_test): Likewise.
21957         (gamma_test): Likewise.
21958         (lrint_test): Likewise.
21959         (lrint_test_tonearest): Likewise.
21960         (lrint_test_towardzero): Likewise.
21961         (lrint_test_downward): Likewise.
21962         (lrint_test_upward): Likewise.
21963         (llrint_test): Likewise.
21964         (llrint_test_tonearest): Likewise.
21965         (llrint_test_towardzero): Likewise.
21966         (llrint_test_downward): Likewise.
21967         (llrint_test_upward): Likewise.
21968         (log_test): Likewise.
21969         (log10_test): Likewise.
21970         (log1p_test): Likewise.
21971         (log2_test): Likewise.
21972         (logb_test): Likewise.
21973         (logb_test_downward): Likewise.
21974         (lround_test): Likewise.
21975         (llround_test): Likewise.
21976         (modf_test): Likewise.
21977         (nearbyint_test): Likewise.
21978         (nextafter_test): Likewise.
21979         (nexttoward_test): Likewise.
21980         (pow_test): Likewise.
21981         (pow_test_tonearest): Likewise.
21982         (pow_test_towardzero): Likewise.
21983         (pow_test_downward): Likewise.
21984         (pow_test_upward): Likewise.
21985         (remainder_test): Likewise.
21986         (drem_test): Likewise.
21987         (remainder_test_tonearest): Likewise.
21988         (drem_test_tonearest): Likewise.
21989         (remainder_test_towardzero): Likewise.
21990         (drem_test_towardzero): Likewise.
21991         (remainder_test_downward): Likewise.
21992         (drem_test_downward): Likewise.
21993         (remainder_test_upward): Likewise.
21994         (drem_test_upward): Likewise.
21995         (remquo_test): Likewise.
21996         (rint_test): Likewise.
21997         (rint_test_tonearest): Likewise.
21998         (rint_test_towardzero): Likewise.
21999         (rint_test_downward): Likewise.
22000         (rint_test_upward): Likewise.
22001         (round_test): Likewise.
22002         (scalb_test): Likewise.
22003         (scalbn_test): Likewise.
22004         (scalbln_test): Likewise.
22005         (signbit_test): Likewise.
22006         (sin_test): Likewise.
22007         (sin_test_tonearest): Likewise.
22008         (sin_test_towardzero): Likewise.
22009         (sin_test_downward): Likewise.
22010         (sin_test_upward): Likewise.
22011         (sincos_test): Likewise.
22012         (sinh_test): Likewise.
22013         (sinh_test_tonearest): Likewise.
22014         (sinh_test_towardzero): Likewise.
22015         (sinh_test_downward): Likewise.
22016         (sinh_test_upward): Likewise.
22017         (sqrt_test): Likewise.
22018         (sqrt_test_tonearest): Likewise.
22019         (sqrt_test_towardzero): Likewise.
22020         (sqrt_test_downward): Likewise.
22021         (sqrt_test_upward): Likewise.
22022         (tan_test): Likewise.
22023         (tan_test_tonearest): Likewise.
22024         (tan_test_towardzero): Likewise.
22025         (tan_test_downward): Likewise.
22026         (tan_test_upward): Likewise.
22027         (tanh_test): Likewise.
22028         (tgamma_test): Likewise.
22029         (trunc_test): Likewise.
22030         (y0_test): Likewise.
22031         (y1_test): Likewise.
22032         (yn_test): Likewise.
22033         (significand_test): Likewise.
22035         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22036         individual tests in comment.
22037         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22038         (prev_max_error): New variable.
22039         (prev_real_max_error): Likewise.
22040         (prev_imag_max_error): Likewise.
22041         (compare_ulp_data): Don't refer to test names in comment.
22042         (find_test_ulps): Remove function.
22043         (find_function_ulps): Likewise.
22044         (find_complex_function_ulps): Likewise.
22045         (init_max_error): Take function name as argument.  Look up ulps
22046         for that function.
22047         (print_ulps): Remove function.
22048         (print_max_error): Use prev_max_error instead of calling
22049         find_function_ulps.
22050         (print_complex_max_error): Use prev_real_max_error and
22051         prev_imag_max_error instead of calling find_complex_function_ulps.
22052         (check_float_internal): Take max_ulp parameter instead of calling
22053         find_test_ulps.  Don't call print_ulps.
22054         (check_float): Update call to check_float_internal.
22055         (check_complex): Update calls to check_float_internal.
22056         (START): Pass argument to init_max_error.
22057         * math/gen-libm-test.pl (%results): Don't include "kind"
22058         information.
22059         (parse_ulps): Don't handle ulps of individual tests.
22060         (print_ulps_file): Likewise.
22061         (output_ulps): Likewise.
22062         * math/README.libm-test: Update.
22063         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22064         individual tests.
22065         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22066         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22067         * sysdeps/arm/libm-test-ulps: Likewise.
22068         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22069         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22070         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22071         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22072         * sysdeps/microblaze/libm-test-ulps: Likewise.
22073         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22074         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22075         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22076         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22077         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22078         * sysdeps/sh/libm-test-ulps: Likewise.
22079         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22080         * sysdeps/tile/libm-test-ulps: Likewise.
22081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22083 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22085         * math/libm-test.inc (print_complex_max_error): Check separately
22086         whether real and imaginary errors are within allowed range and
22087         pass 0 to print_complex_function_ulps instead of value within
22088         allowed range.
22090 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22092         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22093         formatting.
22094         (get_handles_fopen): Likewise.
22095         (do_write_test): Likewise.
22097         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22099         * libio/fileops.c (do_ftell): Use cached offset when
22100         available.
22101         * libio/iofwide.c (do_ftell_wide): Likewise.
22102         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22103         _IO_file_attach.
22104         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22106         [BZ #16532]
22107         * libio/libioP.h (get_file_offset): New function.
22108         * libio/fileops.c (get_file_offset): Likewise.
22109         (do_ftell): Likewise.
22110         (_IO_new_file_seekoff): Split out ftell logic.
22111         * libio/wfileops.c (do_ftell_wide): Likewise.
22112         (_IO_wfile_seekoff): Split out ftell logic.
22113         * libio/tst-ftell-active-handler.c: New test case.
22114         * libio/Makefile (tests): Add it.
22116 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22118         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22119         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22121 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22123         [BZ #16639]
22124         * nscd/connections.c (nscd_init): Call do_exit.
22125         (start_threads): Call do_exit and notify_parent.
22126         (begin_drop_privileges): Call do_exit.
22127         (finish_drop_privileges): Likewise.
22128         * nscd/selinux.c (preserve_capabilities): Likewise.
22129         (install_real_capabilities): Likewise.
22130         (nscd_selinux_enabled): Likewise.
22131         (avc_create_thread): Likewise.
22132         (avc_alloc_lock): Likewise.
22133         (nscd_avc_init): Likewise.
22134         * nscd/nscd.c (parent_fd): New static variable.
22135         (main): Create a pipe between parent and child processes.
22136         Skip closing parent_fd.
22137         (monitor_child): New function.
22138         (do_exit): Likewise.
22139         (notify_parent): Likewise.
22140         * nscd/nscd.h (notify_parent): Likewise.
22141         (do_exit): Likewise.
22143 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22145         * malloc/malloc.c (__libc_calloc): Revert last change.
22147 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22151 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22153         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22155         implementation.
22156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22157         (__libc_ifunc_impl_list): Likewise.
22158         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22159         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22160         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22161         * string/strrchr.c: Define STRRCHR.
22163 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22165         * benchtest/bench-strtok.c (simple_strtok): Delete.
22166         (strtok_string): Use as benchmark.
22167         * string/strtok (STRTOK): New macro.
22169 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22171         * manual/threads.texi: Add header and standard comments to all
22172         functions.
22174         * elf/dl-lookup.c (check_match): New function.
22175         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22176         (do_lookup_x): Remove nested function check_match. Use non-nested
22177         function check_match.
22179 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22181         * csu/Makefile (generated, before-compile): Use += rather than =.
22182         * catgets/Makefile (generated, generated-dirs): Likewise.
22183         * debug/Makefile (generated): Likewise.
22184         * dlfcn/Makefile (generated): Likewise.
22185         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22186         * iconvdata/Makefile (before-compile, generated): Likewise.
22187         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22188         * libio/Makefile (generated): Likewise.
22189         * malloc/Makefile (generated): Likewise.
22190         * manual/Makefile (generated, generated-dirs): Likewise.
22191         * misc/Makefile (generated): Likewise.
22192         * posix/Makefile (generated): Likewise.
22193         * resolv/Makefile (generated): Likewise.
22194         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22195         * timezone/Makefile (generated, generated-dirs): Likewise.
22197         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22199 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22201         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22202         power8 implementation.
22203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22204         file: POWER8 llround ifunc implementation.
22205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22206         (__lllround): Add POWER8 implementation.
22207         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22208         POWER8 llround implementation.
22210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22211         power8 implementation.
22212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22213         file: POWER8 llrint ifunc implementation.
22214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22215         Add POWER8 implementation.
22216         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22217         POWER8 llrint implementation.
22219         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22220         power8 implementation.
22221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22222         file: POWER8 finite ifunc implementation.
22223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22224         Add POWER8 implementation.
22225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22226         Likewise.
22227         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22228         POWER8 finite implementation.
22229         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22231         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22232         power8 implementation.
22233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22234         file: POWER8 isinf ifunc implementation.
22235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22236         POWER8 implementation.
22237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22238         Likewise.
22239         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22240         isinf implementation.
22241         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22243         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22244         (INIT_ARCH): Add hwcap2 initialization.
22245         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22246         power8 implementation.
22247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22248         file: POWER8 isnan ifunc implementation.
22249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22250         POWER8 implementation.
22251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22252         Likewise.
22253         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22254         isnan implementation.
22255         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22257 2014-02-27  Joey Ye  <joey.ye@arm.com>
22259         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22260         (_FP_NANFRAC_Q): Set to zero.
22262 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22264         [BZ #16623]
22265         * math/auto-libm-test-in: New test inputs.
22266         * math/auto-libm-test-out: Regenerate.
22267         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22268         and DA.
22269         (__cos): Likewise.
22270         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22272 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22274         * scripts/evaluate-test.sh: Take new argument indicating whether
22275         failure is expected.
22276         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22277         indicating whether failure is expected.
22278         * conform/Makefile (test-xfail-run-conformtest): New variable.
22279         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22280         level.
22281         * posix/Makefile (test-xfail-annexc): New variable.
22282         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22284 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22286         * argp/Makefile: Include Makeconfig immediately after defining
22287         subdir.
22288         * assert/Makefile: Likewise.
22289         * benchtests/Makefile: Likewise.
22290         * catgets/Makefile: Likewise.
22291         * conform/Makefile: Likewise.
22292         * crypt/Makefile: Likewise.
22293         * csu/Makefile: Likewise.
22294         (all): Remove target.
22295         * ctype/Makefile: Include Makeconfig immediately after defining
22296         subdir.
22297         * debug/Makefile: Likewise.
22298         * dirent/Makefile: Likewise.
22299         * dlfcn/Makefile: Likewise.
22300         * gmon/Makefile: Likewise.
22301         * gnulib/Makefile: Likewise.
22302         * grp/Makefile: Likewise.
22303         * gshadow/Makefile: Likewise.
22304         * hesiod/Makefile: Likewise.
22305         * hurd/Makefile: Likewise.
22306         (all): Remove target.
22307         * iconvdata/Makefile: Include Makeconfig immediately after
22308         defining subdir.
22309         * inet/Makefile: Likewise.
22310         * intl/Makefile: Likewise.
22311         * io/Makefile: Likewise.
22312         * libio/Makefile: Likewise.
22313         (all): Remove target.
22314         * locale/Makefile: Include Makeconfig immediately after defining
22315         subdir.
22316         * login/Makefile: Likewise.
22317         * mach/Makefile: Likewise.
22318         (all): Remove target.
22319         * malloc/Makefile: Include Makeconfig immediately after defining
22320         subdir.
22321         (all): Remove target.
22322         * manual/Makefile: Include Makeconfig immediately after defining
22323         subdir.
22324         * math/Makefile: Likewise.
22325         * misc/Makefile: Likewise.
22326         * nis/Makefile: Likewise.
22327         * nss/Makefile: Likewise.
22328         * po/Makefile: Likewise.
22329         (all): Remove target.
22330         * posix/Makefile: Include Makeconfig immediately after defining
22331         subdir.
22332         * pwd/Makefile: Likewise.
22333         * resolv/Makefile: Likewise.
22334         * resource/Makefile: Likewise.
22335         * rt/Makefile: Likewise.
22336         * setjmp/Makefile: Likewise.
22337         * shadow/Makefile: Likewise.
22338         * signal/Makefile: Likewise.
22339         * socket/Makefile: Likewise.
22340         * soft-fp/Makefile: Likewise.
22341         * stdio-common/Makefile: Likewise.
22342         * stdlib/Makefile: Likewise.
22343         * streams/Makefile: Likewise.
22344         * string/Makefile: Likewise.
22345         * sunrpc/Makefile: Likewise.
22346         (all): Remove target.
22347         * sysvipc/Makefile: Include Makeconfig immediately after defining
22348         subdir.
22349         * termios/Makefile: Likewise.
22350         * time/Makefile: Likewise.
22351         * timezone/Makefile: Likewise.
22352         (all): Remove target.
22353         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22354         subdir.
22355         * wctype/Makefile: Likewise.
22357 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22359         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22360         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22361         (libc_feholdexcept_setround_mips): Ditto.
22362         (libc_feholdsetround): New.
22363         (libc_feholdsetroundf): New.
22364         (libc_feholdsetroundl): New.
22365         (libc_feupdateenv_test_mips): New.
22366         (libc_feupdateenv_test): New.
22367         (libc_feupdateenv_testf): New.
22368         (libc_feupdateenv_testl): New.
22369         (libc_feresetround): New.
22370         (libc_feresetroundf): New.
22371         (libc_feresetroundl): New.
22372         (libc_fetestexcept_mips): New.
22373         (libc_fetestexcept): New.
22374         (libc_fetestexceptf): New.
22375         (libc_fetestexceptl): New.
22376         (HAVE_RM_CTX): New.
22377         (libc_feholdexcept_setround_mips_ctx): New.
22378         (libc_feholdexcept_setround_ctx): New.
22379         (libc_feholdexcept_setroundf_ctx): New.
22380         (libc_feholdexcept_setroundl_ctx): New.
22381         (libc_fesetenv_mips_ctx): New.
22382         (libc_fesetenv_ctx): New.
22383         (libc_fesetenv_ctxf): New.
22384         (libc_fesetenv_ctxl): New.
22385         (libc_feupdateenv_mips_ctx): New.
22386         (libc_feupdateenv_ctx): New.
22387         (libc_feupdateenvf_ctx): New.
22388         (libc_feupdateenvl_ctx): New.
22389         (libc_feholdsetround_mips_ctx): New.
22390         (libc_feholdsetround_ctx): New.
22391         (libc_feholdsetroundf_ctx): New.
22392         (libc_feholdsetroundl_ctx): New.
22393         (libc_feresetround_mips_ctx): New.
22394         (libc_feresetround_ctx): New.
22395         (libc_feresetroundf_ctx): New.
22396         (libc_feresetroundl_ctx): New.
22398 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22400         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22402         * manual/ipc.texi: New file.
22403         * manual/Makefile (chapters): Add ipc.
22404         * manual/job.texi: Add "Inter-Process Communication" to next.
22405         * manual/process.texi: Add "Inter-Process Communication" to prev.
22407 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22411 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22413         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22415         * manual/arith.texi: Fix spaces after sentences.
22416         * manual/charset.texi: Likewise.
22417         * manual/errno.texi: Likewise.
22418         * manual/install.texi: Likewise.
22419         * manual/llio.texi: Likewise.
22420         * manual/locale.texi: Likewise.
22421         * manual/maint.texi: Likewise.
22422         * manual/math.texi: Likewise.
22423         * manual/memory.texi: Likewise.
22424         * manual/message.texi: Likewise.
22425         * manual/probes.texi: Likewise.
22426         * manual/resource.texi: Likewise.
22427         * manual/signal.texi: Likewise.
22428         * manual/socket.texi: Likewise.
22429         * manual/stdio.texi: Likewise.
22430         * manual/string.texi: Likewise.
22431         * manual/time.texi: Likewise.
22432         * manual/users.texi: Likewise.
22434 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22436         [BZ #16632]
22437         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22438         _DEFAULT_SOURCE is defined.
22440 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22441             Carlos O'Donell  <carlos@redhat.com>
22443         [BZ #16613]
22444         * elf/dl-tls.c (_dl_count_modids): New function.
22445         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22446         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22447         audit library and increment generation counter.
22448         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22449         * elf/tst-audit9.c: New file.
22450         * elf/tst-auditmod9a.c: New file.
22451         * elf/tst-auditmod9b.c: New file.
22452         * elf/Makefile: Add rules to build and run tst-audit9.
22454 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22456         [BZ #15347]
22457         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22459 2014-02-25  Will Newton  <will.newton@linaro.org>
22461         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22462         (__longjmp): Restore sp and lr before restoring callee
22463         saved registers.  Add longjmp and longjmp_target
22464         SystemTap probe point.
22465         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22466         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22467         Define to zero to match jmpbuf layout.
22468         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22469         (__sigsetjmp): Save sp and lr before saving callee
22470         saved registers.  Add setjmp SystemTap probe point.
22472 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22474         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22476 2014-02-24  Andreas Schwab  <schwab@suse.de>
22478         [BZ #15804]
22479         * elf/pldd.c (wait_for_ptrace_stop): New function.
22480         (main): Call it after attaching.
22482 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22484         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22485         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22486         Versions files is now verboten.
22487         * hurd/Versions (libc: GLIBC_2.0):
22488         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22489         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22490         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22491         * mach/Versions: Likewise.
22493         * csu/Versions: Remove unused %include.
22494         * resolv/Versions: Likewise.
22496 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22498         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22499         ($(objpfx)check-local-headers.out): Likewise.
22500         ($(objpfx)begin-end-check.out): Likewise.
22501         * Makerules (check-abi-%.out): Likewise.
22502         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22503         ($(objpfx)test2.cat): Likewise.
22504         ($(objpfx)de/libc.cat): Likewise.
22505         ($(objpfx)test-gencat.out): Likewise.
22506         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22507         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22508         ($(objpfx)noload-mem): Likewise.
22509         ($(objpfx)tst-pathopt.out): Likewise.
22510         ($(objpfx)tst-rtld-load-self.out): Likewise.
22511         ($(objpfx)tst-array1-cmp.out): Likewise.
22512         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22513         ($(objpfx)tst-array2-cmp.out): Likewise.
22514         ($(objpfx)tst-array3-cmp.out): Likewise.
22515         ($(objpfx)tst-array4-cmp.out): Likewise.
22516         ($(objpfx)tst-array5-cmp.out): Likewise.
22517         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22518         ($(objpfx)check-textrel.out): Likewise.
22519         ($(objpfx)check-execstack.out): Likewise.
22520         ($(objpfx)check-localplt.out): Likewise.
22521         ($(objpfx)order2-cmp.out): Likewise.
22522         ($(objpfx)tst-leaks1-mem): Likewise.
22523         ($(objpfx)tst-leaks1-static-mem): Likewise.
22524         ($(objpfx)tst-initorder-cmp.out): Likewise.
22525         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22526         ($(objpfx)tst-unused-dep.out): Likewise.
22527         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22528         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22529         * iconv/Makefile (test-iconvconfig): Likewise.
22530         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22531         ($(objpfx)iconv-test.out): Likewise.
22532         ($(objpfx)tst-tables.out): Likewise.
22533         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22534         ($(objpfx)tst-gettext.out): Likewise.
22535         ($(objpfx)tst-translit.out): Likewise.
22536         ($(objpfx)tst-gettext2.out): Likewise.
22537         ($(objpfx)tst-gettext4.out): Likewise.
22538         ($(objpfx)tst-gettext6.out): Likewise.
22539         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22540         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22541         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22542         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22543         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22544         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22545         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22546         ($(objpfx)wordexp-tst.out): Likewise.
22547         ($(objpfx)annexc.out): Likewise.
22548         ($(objpfx)tst-fnmatch-mem): Likewise.
22549         ($(objpfx)bug-regex2-mem): Likewise.
22550         ($(objpfx)bug-regex14-mem): Likewise.
22551         ($(objpfx)bug-regex21-mem): Likewise.
22552         ($(objpfx)bug-regex31-mem): Likewise.
22553         ($(objpfx)tst-vfork3-mem): Likewise.
22554         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22555         ($(objpfx)tst-pcre-mem): Likewise.
22556         ($(objpfx)tst-boost-mem): Likewise.
22557         ($(objpfx)tst-getconf.out): Likewise.
22558         ($(objpfx)bug-ga2-mem): Likewise.
22559         ($(objpfx)bug-glob2-mem): Likewise.
22560         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22561         ($(objpfx)mtrace-tst-leaks2): Likewise.
22562         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22563         ($(objpfx)tst-printf.out): Likewise.
22564         ($(objpfx)tst-setvbuf1.out): Likewise.
22565         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22566         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22567         ($(objpfx)tst-fmtmsg.out): Likewise.
22568         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22569         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22571         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22572         * bits/sigaction.h [__USE_MISC]: Likewise.
22573         * bits/waitstatus.h: Update #endif comments.
22574         * ctype/ctype.h: Likewise.
22575         * dirent/dirent.h: Likewise.
22576         [__USE_MISC]: Remove redundant conditionals.
22577         * grp/grp.h: Update #endif comments.
22578         [__USE_GNU]: Remove redundant conditionals.
22579         [__USE_MISC]: Likewise.
22580         * inet/netinet/in.h [__USE_GNU]: Likewise.
22581         * io/sys/stat.h [__USE_MISC]: Likewise.
22582         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22583         * libio/bits/stdio.h: Update #endif comments.
22584         [__USE_MISC]: Remove redundant conditionals.
22585         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22586         * libio/stdio.h: Update #endif comments.
22587         [__USE_MISC]: Remove redundant conditionals.
22588         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22589         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22590         * math/math.h: Update #else and #endif comments.
22591         [__USE_MISC]: Remove redundant conditionals.
22592         * misc/sys/uio.h: Update #endif comments.
22593         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22594         * posix/glob.h [__USE_MISC]: Likewise.
22595         * posix/sys/types.h: Update #endif comments.
22596         [__USE_MISC]: Remove redundant conditionals.
22597         * posix/sys/wait.h: Update #endif comments.
22598         [__USE_MISC]: Remove redundant conditionals.
22599         * posix/unistd.h: Update #endif comments.
22600         [__USE_MISC]: Remove redundant conditionals.
22601         * pwd/pwd.h [__USE_GNU]: Likewise.
22602         [__USE_MISC]: Likewise.
22603         * resolv/netdb.h [__USE_GNU]: Likewise.
22604         * signal/signal.h: Update #endif comments.
22605         [__USE_MISC]: Remove redundant conditionals.
22606         * stdlib/stdlib.h: Update #else and #endif comments.
22607         [__USE_MISC]: Remove redundant conditionals.
22608         [__USE_GNU]: Likewise.
22609         * string/bits/string2.h [__USE_MISC]: Likewise.
22610         * string/string.h: Update #endif comments.
22611         [__USE_MISC]: Remove redundant conditionals.
22612         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22613         Likewise.
22614         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22615         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22616         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22617         Likewise.
22618         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22619         Likewise.
22620         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22621         comments.
22622         [__USE_MISC]: Remove redundant conditionals.
22623         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22624         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22625         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22626         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22627         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22628         Likewise.
22629         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22630         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22631         Likewise.
22632         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22633         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22634         Likewise.
22635         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22636         Likewise.
22637         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22638         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22639         Likewise.
22640         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22641         Likewise.
22642         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22643         * sysdeps/x86/bits/string.h: Update #endif comments.
22644         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22645         conditionals.
22646         * time/sys/time.h: Update #endif comments.
22647         * time/time.h: Likewise.
22648         [__USE_MISC]: Remove redundant conditionals.
22650 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22652         [BZ #16600]
22653         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22655 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22657         * Versions.def (librt): Add GLIBC_2.17.
22659 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22661         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22662         synonym for _SYS_AUXV_H to allow direct inclusion.
22663         * sysdeps/sparc/bits/hwcap.h: Likewise.
22664         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22665         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22666         * sysdeps/sparc/sysdep.h: Likewise.
22668 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22670         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22672 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22674         * benchtests/bench-strrchr.c: Print length instead of position.
22676 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22678         [BZ #16611]
22679         * sysdeps/unix/sysv/linux/kernel-features.h
22680         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22681         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22682         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22683         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22684         Likewise.
22685         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22686         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22687         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22688         (__ASSUME_SENDMMSG): Define instead of using previous
22689         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22690         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22691         (__ASSUME_SENDMMSG_SYSCALL): Define.
22692         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22693         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22694         Likewise.
22695         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22696         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22697         Likewise.
22698         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22699         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22700         Likewise.
22701         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22702         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22703         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22704         [__ASSUME_SENDMMSG]: Change conditionals to
22705         [__ASSUME_SENDMMSG_SOCKETCALL].
22706         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22707         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22708         Define.
22709         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22710         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22711         Likewise.
22712         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22713         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22714         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22715         [!__ASSUME_SENDMMSG]: Change conditional to
22716         [!__ASSUME_SENDMMSG_SOCKETCALL].
22717         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22718         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22719         Define.
22721         [BZ #16610]
22722         * sysdeps/unix/sysv/linux/kernel-features.h
22723         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22724         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22725         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22726         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22727         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22728         [__i386__ || __sparc__]
22729         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22730         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22731         (__ASSUME_RECVMMSG): Define instead of using previous
22732         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22733         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22734         (__ASSUME_RECVMMSG_SYSCALL): Define.
22735         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22736         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22737         Likewise.
22738         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22739         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22740         Likewise.
22741         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22742         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22743         Likewise.
22744         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22745         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22746         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22747         [__ASSUME_RECVMMSG]: Change condition to
22748         [__ASSUME_RECVMMSG_SOCKETCALL].
22749         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22750         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22751         Define.
22752         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22753         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22754         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22755         Likewise.
22756         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22757         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22758         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22759         [!__ASSUME_RECVMMSG]: Change condition to
22760         [!__ASSUME_RECVMMSG_SOCKETCALL].
22761         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22762         (__ASSUME_RECVMMSG_SYSCALL): Define.
22764         [BZ #16609]
22765         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22766         __powerpc__ || __s390__ || __sh__ || __sparc__]
22767         (__ASSUME_SOCKETCALL): Define.
22768         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22769         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22770         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22771         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22772         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22773         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22774         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22775         (__ASSUME_ACCEPT4): Define instead of using previous
22776         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22777         __powerpc__ || __sparc__ || __s390__)] condition.
22778         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22779         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22780         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22781         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22782         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22783         [!__ASSUME_ACCEPT4]: Change condition to
22784         [!__ASSUME_ACCEPT4_SOCKETCALL].
22785         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22786         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22787         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22788         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22789         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22790         __ASSUME_ACCEPT4_SYSCALL.
22791         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22792         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22793         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22794         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22795         __ASSUME_ACCEPT4_SYSCALL.
22796         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22797         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22798         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22799         [__ASSUME_ACCEPT4]: Change condition to
22800         [__ASSUME_ACCEPT4_SOCKETCALL].
22801         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22802         (__ASSUME_SOCKETCALL): Define.
22803         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22804         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22805         (__ASSUME_SOCKETCALL): Define.
22806         (__ASSUME_ACCEPT4): Remove.
22807         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22808         Define.
22809         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22810         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22811         Likewise.
22812         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22813         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22815         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22816         macro.
22817         (HWCAP_ARM_LPAE): Likewise.
22818         (HWCAP_ARM_EVTSTRM): Likewise.
22819         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22820         Add vpfd32, lpae and evtstrm.
22821         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22822         Increase to 22.
22824 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22826         * math/auto-libm-test-in: Add tests of clog10.
22827         * math/auto-libm-test-out: Regenerated.
22828         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22829         * sysdeps/i386/fpu/libm-test-ulps: Update.
22830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22832 2014-02-18  Andreas Schwab  <schwab@suse.de>
22834         [BZ #16574]
22835         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22836         Store non-zero if the second buffer was newly allocated.
22837         (send_dg): Likewise.
22838         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22839         to send_vc and send_dg.
22840         (res_nsend): Pass NULL for ansp2_malloced.
22841         * resolv/res_query.c (__libc_res_nquery): Add parameter
22842         answerp2_malloced and pass it down to __libc_res_nsend.
22843         (res_nquery): Pass additional NULL to __libc_res_nquery.
22844         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22845         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22846         second answer buffer if answerp2_malloced was set.
22847         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22848         (__libc_res_nquerydomain): Add parameter
22849         answerp2_malloced and pass it down to __libc_res_nquery.
22850         (res_nquerydomain): Pass additional NULL to
22851         __libc_res_nquerydomain.
22852         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22853         additional NULL to __libc_res_nsend and __libc_res_nquery.
22854         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22855         additional NULL to __libc_res_nsearch.
22856         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22857         parameter of __libc_res_nsearch to check for separately allocated
22858         second buffer.
22859         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22860         __libc_res_nquery.
22861         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22862         additional NULL to __libc_res_nquery.
22863         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22864         __libc_res_nsearch.
22865         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22866         * include/resolv.h: Update prototypes of __libc_res_nquery,
22867         __libc_res_nsearch, __libc_res_nsend.
22869 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22871         * math/auto-libm-test-in: Add tests of fma.
22872         * math/auto-libm-test-out: Regenerated.
22873         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22874         (fma_towardzero_test_data): Likewise.
22875         (fma_downward_test_data): Likewise.
22876         (fma_upward_test_data): Likewise.
22877         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22878         mpc_mode.
22879         (rounding_modes): Add values for new field.
22880         (func_calc_method): Add value mpfr_fff_f.
22881         (func_calc_desc): Add mpfr_fff_f union field.
22882         (test_function): Add field exact_args.
22883         (FUNC): Add macro argument EXACT_ARGS.
22884         (FUNC_mpfr_f_f): Update call to FUNC.
22885         (FUNC_mpfr_f_f): Likewise.
22886         (FUNC_mpfr_ff_f): Likewise.
22887         (FUNC_mpfr_if_f): Likewise.
22888         (FUNC_mpc_c_f): Likewise.
22889         (FUNC_mpc_c_c): Likewise.
22890         (test_functions): Add fma.  Update calls to FUNC.
22891         (handle_input_arg): Add argument exact_args.
22892         (add_test): Update call to handle_input_arg.
22893         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22894         (output_for_one_input_case): Update call to calc_generic_results.
22895         Recalculate exact zero results in each rounding mode.
22897         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22898         non-negative before setting low bit.
22899         * math/auto-libm-test-in: Mark one asin test possibly having
22900         spurious underflow.
22901         * math/auto-libm-test-out: Regenerated.
22902         * sysdeps/i386/fpu/libm-test-ulps: Update.
22903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22905 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22907         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22908         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22909         ports/sysdeps/unix/sysv/linux/microblaze.
22910         * README: Add missing listing for microblaze*-*-linux-gnu.
22912 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22914         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22915         duplicate code
22917 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22919         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22920         * sysdeps/unix/sysv/linux/ia64: Move directory from
22921         ports/sysdeps/unix/sysv/linux/ia64.
22922         * README: Update listing for ia64-*-linux-gnu.
22924 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22925             Joseph Myers  <joseph@codesourcery.com>
22927         * Makeconfig (test-name): New variable.
22928         (evaluate-test): Likewise.
22929         * Makerules (do-test-clean): Remove .test-result files.
22930         (common-mostlyclean): Likewise.
22931         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22932         * scripts/evaluate-test.sh: New file.
22934 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22936         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22937         separate $(objpfx)tst-fopenloc-cmp.out and
22938         $(objpfx)tst-fopenloc-mem.out targets.
22939         (tests): Update dependencies.
22940         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22941         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22942         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22943         (tst-rxspencer-no-utf8-ARGS): New variable.
22944         (tst-rxspencer-no-utf8-ENV): Likewise.
22945         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22946         instead of $(objpfx)tst-rxspencer-mem.
22947         ($(objpfx)tst-rxspencer-mem): Change target to
22948         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22949         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22950         * posix/tst-rxspencer-no-utf8.c: New file.
22952         * elf/Makefile ($(objpfx)order.out): Remove rule.
22953         [$(run-built-tests) = yes] (tests): Depend on
22954         $(objpfx)order-cmp.out.
22955         ($(objpfx)order-cmp.out): New rule.
22956         [$(run-built-tests) = yes] (tests): Depend on
22957         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22958         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22959         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22960         $(objpfx)tst-array5-static-cmp.out.
22961         ($(objpfx)tst-array1.out): Remove rule.
22962         ($(objpfx)tst-array1-cmp.out): New rule.
22963         ($(objpfx)tst-array1-static.out): Remove rule.
22964         ($(objpfx)tst-array1-static-cmp.out): New rule.
22965         ($(objpfx)tst-array2.out): Remove rule.
22966         ($(objpfx)tst-array2-cmp.out): New rule.
22967         ($(objpfx)tst-array3.out): Remove rule.
22968         ($(objpfx)tst-array3-cmp.out): New rule.
22969         ($(objpfx)tst-array4.out): Remove rule.
22970         ($(objpfx)tst-array4-cmp.out): New rule.
22971         ($(objpfx)tst-array5.out): Remove rule.
22972         ($(objpfx)tst-array5-cmp.out): New rule.
22973         ($(objpfx)tst-array5-static.out): Remove rule.
22974         ($(objpfx)tst-array5-static-cmp.out): New rule.
22975         [$(run-built-tests) = yes] (tests): Depend on
22976         $(objpfx)order2-cmp.out.
22977         ($(objpfx)order2.out): Remove rule.
22978         ($(objpfx)order2-cmp.out): New rule.
22979         ($(objpfx)tst-initorder.out): Remove rule.
22980         [$(run-built-tests) = yes] (tests): Depend on
22981         $(objpfx)tst-initorder-cmp.out.
22982         ($(objpfx)tst-initorder-cmp.out): New rule.
22983         ($(objpfx)tst-initorder2.out): Remove rule.
22984         [$(run-built-tests) = yes] (tests): Depend on
22985         $(objpfx)tst-initorder2-cmp.out.
22986         ($(objpfx)tst-initorder2-cmp.out): New rule.
22987         [$(run-built-tests) = yes] (tests): Depend on
22988         $(objpfx)tst-unused-dep-cmp.out.
22989         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22990         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22991         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22992         on $(objpfx)tst-setvbuf1-cmp.out.
22993         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22994         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22995         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22996         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22997         ($(objpfx)tst-svc.out): Remove rule.
22998         ($(objpfx)tst-svc-cmp.out): New rule.
23000 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
23002         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23003         * ctype/ctype.h [__USE_MISC]: Likewise.
23004         * dirent/dirent.h [__USE_MISC]: Likewise.
23005         * grp/grp.h [__USE_MISC]: Likewise.
23006         * io/fcntl.h [__USE_MISC]: Likewise.
23007         * io/sys/stat.h [__USE_MISC]: Likewise.
23008         * libio/stdio.h [__USE_MISC]: Likewise.
23009         * posix/unistd.h [__USE_MISC]: Likewise.
23010         * pwd/pwd.h [__USE_MISC]: Likewise.
23011         * stdlib.h [__USE_MISC]: Likewise.
23012         * string/bits/string2.h [__USE_MISC]: Likewise.
23013         * string/string.h [__USE_MISC]: Likewise.
23014         * time/time.h [__USE_MISC]: Likewise.
23016 2014-02-13  Andreas Schwab  <schwab@suse.de>
23018         [BZ #16574]
23019         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23020         second answer buffer if it was separately allocated.
23022 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23024         * sysdeps/mips/math-tests.h: Include <features.h>.
23025         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23026         (ROUNDING_TESTS_long_double): Do not define.
23027         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23028         (EXCEPTION_TESTS_long_double): Likewise.
23029         * sysdeps/mips/mips64/libm-test-ulps: Update.
23031         * include/features.h (__USE_BSD): Remove macro definitions.
23032         (__USE_SVID): Likewise.
23033         (_BSD_SOURCE): Likewise.
23034         (_SVID_SOURCE): Likewise.
23035         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23036         from definition of _DEFAULT_SOURCE.
23037         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23038         [_DEFAULT_SOURCE].
23039         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23040         * bits/mman.h [__USE_BSD]: Likewise.
23041         * bits/termios.h [__USE_BSD]: Likewise.
23042         * bits/waitstatus.h [__USE_BSD]: Likewise.
23043         * ctype/ctype.h [__USE_SVID]: Likewise.
23044         * dirent/dirent.h [__USE_BSD]: Likewise.
23045         * grp/grp.h [__USE_SVID]: Likewise.
23046         [__USE_BSD]: Likewise.
23047         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23048         * io/fcntl.h [__USE_BSD]: Likewise.
23049         * io/ftw.h [__USE_BSD]: Likewise.
23050         * io/sys/stat.h [__USE_BSD]: Likewise.
23051         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23052         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23053         * libio/stdio.h [__USE_SVID]: Likewise.
23054         [__USE_BSD]: Likewise.
23055         * math/math.h [__USE_SVID]: Likewise.
23056         [__USE_BSD]: Likewise.
23057         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23058         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23059         * misc/search.h [__USE_SVID]: Likewise.
23060         * misc/sys/mman.h [__USE_BSD]: Likewise.
23061         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23062         * misc/sys/uio.h [__USE_BSD]: Likewise.
23063         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23064         * posix/glob.h [__USE_BSD]: Likewise.
23065         * posix/regex.h [__USE_BSD]: Likewise.
23066         * posix/sys/types.h [__USE_BSD]: Likewise.
23067         [__USE_SVID]: Likewise.
23068         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23069         * posix/sys/wait.h [__USE_BSD]: Likewise.
23070         [__USE_SVID]: Likewise.
23071         * posix/unistd.h [__USE_BSD]: Likewise.
23072         [__USE_SVID]: Likewise.
23073         * pwd/pwd.h [__USE_SVID]: Likewise.
23074         * resolv/netdb.h [__USE_BSD]: Likewise.
23075         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23076         * signal/signal.h [__USE_BSD]: Likewise.
23077         [__USE_SVID]: Likewise.
23078         * socket/sys/socket.h [__USE_BSD]: Likewise.
23079         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23080         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23081         [__USE_SVID]: Likewise.
23082         * string/bits/string2.h [__USE_BSD]: Likewise.
23083         [__USE_SVID]: Likewise.
23084         * string/bits/string3.h [__USE_BSD]: Likewise.
23085         * string/endian.h [__USE_BSD]: Likewise.
23086         * string/string.h [__USE_SVID]: Likewise.
23087         [__USE_BSD]: Likewise.
23088         * string/strings.h [__USE_BSD]: Likewise.
23089         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23090         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23091         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23092         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23093         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23094         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23095         Likewise.
23096         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23097         Likewise.
23098         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23099         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23100         Likewise.
23101         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23102         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23103         Likewise.
23104         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23105         Likewise.
23106         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23107         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23108         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23109         Likewise.
23110         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23111         Likewise.
23112         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23113         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23114         * termios/termios.h [__USE_BSD]: Likewise.
23115         * time/sys/time.h [__USE_BSD]: Likewise.
23116         * time/time.h [__USE_BSD]: Likewise.
23117         [__USE_SVID]: Likewise.
23119         * Makefile (subdir_targets): Remove subdir_lint.out.
23121         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23122         (do-tst-printf): Likewise.
23123         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23124         $(objpfx)tst-printf.out.
23126         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23128         * Makerules (check-abi-%): Change target to
23129         $(objpfx)check-abi-%.out.
23130         (check-abi target): Update dependencies.
23131         (check-abi-pattern variable): Redirect output of diff to $@.
23132         (check-abi variable): Likewise.
23133         * elf/Makefile (check-abi): Update dependencies.
23135         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23136         unused.
23137         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23138         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23139         subnormal range.
23140         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23141         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23142         value has largest subnormal exponent.
23143         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23144         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23145         * sysdeps/aarch64/soft-fp/sfp-machine.h
23146         (_FP_TININESS_AFTER_ROUNDING): New macro.
23147         * sysdeps/alpha/soft-fp/sfp-machine.h
23148         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23149         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23150         Likewise.
23151         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23152         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23153         * sysdeps/mips/soft-fp/sfp-machine.h
23154         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23155         * sysdeps/powerpc/soft-fp/sfp-machine.h
23156         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23157         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23158         Likewise.
23159         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23160         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23161         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23162         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23163         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23164         Likewise.
23166 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23168         [BZ #16545]
23169         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23170         model 1.
23172 2014-02-12  Richard Henderson  <rth@redhat.com>
23174         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23175         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23176         * sysdeps/unix/sysv/linux/alpha: Move directory from
23177         ports/sysdeps/unix/sysv/linux/alpha.
23178         * README: Update listing for alpha-*-linux-gnu.
23180 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23182         * include/features.h: Update comment documenting feature test
23183         macros.
23184         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23185         _DEFAULT_SOURCE.
23186         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23187         (_SVID_SOURCE): Likewise.
23188         (_DEFAULT_SOURCE): Update description of default features.
23189         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23190         with _GNU_SOURCE.
23191         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23192         (S_ISVTX): Likewise.
23193         * manual/math.texi (Mathematical Constants): Likewise.
23194         * manual/signal.texi (Interrupted Primitives): Likewise.
23195         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23196         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23197         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23198         Don't refer to _SVID_SOURCE in warning text.
23200         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23202         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23203         already defined.
23204         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23205         * sysdeps/mips/dl-lookup.c: Remove.
23206         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23208 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23210         [BZ #16447]
23211         * math/auto-libm-test-in: Add testcase for expl.
23212         * math/auto-libm-test-out: Regenerate.
23213         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23214         calculation of unsafe.
23215         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23217 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23219         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23220         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23221         ports/sysdeps/unix/sysv/linux/aarch64.
23222         * README: Update listing for aarch64*-*-linux-gnu.
23224 2014-02-11  Will Newton  <will.newton@linaro.org>
23226         * manual/probes.texi (Mathematical Function Probes): Use
23227         "triggered" instead of "hit".
23229         * manual/probes.texi (Internal Probes): Add documentation
23230         of setjmp, longjmp and longjmp_target probes.
23232         * include/stap-probe.h: Add comment about probe argument
23233         format.
23235         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23236         definition.  (tr_where, tr_freehook, tr_mallochook,
23237         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23239 2014-02-11  David S. Miller  <davem@davemloft.net>
23241         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23242         processing int_tests.
23244 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23246         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23247         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23248         * sysdeps/unix/sysv/linux/mips: Move directory from
23249         ports/sysdeps/unix/sysv/linux/mips.
23250         * README: Update listing for mips-*-linux-gnu and
23251         mips64-*-linux-gnu.
23253 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23255         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23256         * sysdeps/unix/sysv/linux/m68k: Move directory from
23257         ports/sysdeps/unix/sysv/linux/m68k.
23258         * README: Update listing for m68k-*-linux-gnu.
23260 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23262         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23263         * sysdeps/unix/sysv/linux/generic: Move directory from
23264         ports/sysdeps/unix/sysv/linux/generic.
23265         * sysdeps/unix/sysv/linux/tile: Move directory from
23266         ports/sysdeps/unix/sysv/linux/tile.
23267         * README: Update listing for tile*-*-linux-gnu.
23269 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23271         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23272         __builtin_expect.
23273         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23274         * catgets/open_catalog.c (__open_catalog): Likewise.
23275         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23276         * debug/confstr_chk.c: Likewise.
23277         * debug/fread_chk.c (__fread_chk): Likewise.
23278         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23279         * debug/getgroups_chk.c: Likewise.
23280         * debug/mbsnrtowcs_chk.c: Likewise.
23281         * debug/mbsrtowcs_chk.c: Likewise.
23282         * debug/mbstowcs_chk.c: Likewise.
23283         * debug/memcpy_chk.c: Likewise.
23284         * debug/memmove_chk.c: Likewise.
23285         * debug/mempcpy_chk.c: Likewise.
23286         * debug/memset_chk.c: Likewise.
23287         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23288         * debug/strcat_chk.c (__strcat_chk): Likewise.
23289         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23290         * debug/strncat_chk.c (__strncat_chk): Likewise.
23291         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23292         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23293         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23294         * debug/wcpncpy_chk.c: Likewise.
23295         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23296         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23297         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23298         * debug/wcsncpy_chk.c: Likewise.
23299         * debug/wcsnrtombs_chk.c: Likewise.
23300         * debug/wcsrtombs_chk.c: Likewise.
23301         * debug/wcstombs_chk.c: Likewise.
23302         * debug/wmemcpy_chk.c: Likewise.
23303         * debug/wmemmove_chk.c: Likewise.
23304         * debug/wmempcpy_chk.c: Likewise.
23305         * debug/wmemset_chk.c: Likewise.
23306         * dirent/scandirat.c (SCANDIRAT): Likewise.
23307         * dlfcn/dladdr1.c (dladdr1): Likewise.
23308         * dlfcn/dladdr.c (dladdr): Likewise.
23309         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23310         * dlfcn/dlerror.c (__dlerror): Likewise.
23311         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23312         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23313         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23314         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23315         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23316         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23317         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23318         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23319         Likewise.
23320         * elf/dl-conflict.c: Likewise.
23321         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23322         * elf/dl-dst.h: Likewise.
23323         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23324         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23325         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23326         * elf/dl-init.c (call_init, _dl_init): Likewise.
23327         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23328         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23329         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23330         Likewise.
23331         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23332         Likewise.
23333         * elf/dl-minimal.c (__libc_memalign): Likewise.
23334         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23335         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23336         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23337         * elf/dl-sym.c (do_sym): Likewise.
23338         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23339         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23340         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23341         * elf/dl-writev.h (_dl_writev): Likewise.
23342         * elf/ldconfig.c (search_dir): Likewise.
23343         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23344         (dl_main): Likewise.
23345         * elf/setup-vdso.h (setup_vdso): Likewise.
23346         * grp/compat-initgroups.c (compat_call): Likewise.
23347         * grp/fgetgrent.c (fgetgrent): Likewise.
23348         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23349         * grp/putgrent.c (putgrent): Likewise.
23350         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23351         Likewise.
23352         * hurd/hurdinit.c: Likewise.
23353         * iconvdata/8bit-gap.c (struct): Likewise.
23354         * iconvdata/ansi_x3.110.c : Likewise.
23355         * iconvdata/big5.c : Likewise.
23356         * iconvdata/big5hkscs.c : Likewise.
23357         * iconvdata/cp1255.c: Likewise.
23358         * iconvdata/cp1258.c : Likewise.
23359         * iconvdata/cp932.c : Likewise.
23360         * iconvdata/euc-cn.c: Likewise.
23361         * iconvdata/euc-jisx0213.c : Likewise.
23362         * iconvdata/euc-jp.c: Likewise.
23363         * iconvdata/euc-jp-ms.c : Likewise.
23364         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23365         * iconvdata/gb18030.c : Likewise.
23366         * iconvdata/gbbig5.c (const): Likewise.
23367         * iconvdata/gbgbk.c: Likewise.
23368         * iconvdata/gbk.c : Likewise.
23369         * iconvdata/ibm1364.c : Likewise.
23370         * iconvdata/ibm930.c : Likewise.
23371         * iconvdata/ibm932.c: Likewise.
23372         * iconvdata/ibm933.c : Likewise.
23373         * iconvdata/ibm935.c : Likewise.
23374         * iconvdata/ibm937.c : Likewise.
23375         * iconvdata/ibm939.c : Likewise.
23376         * iconvdata/ibm943.c: Likewise.
23377         * iconvdata/iso_11548-1.c: Likewise.
23378         * iconvdata/iso-2022-cn.c : Likewise.
23379         * iconvdata/iso-2022-cn-ext.c : Likewise.
23380         * iconvdata/iso-2022-jp-3.c: Likewise.
23381         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23382         * iconvdata/iso-2022-kr.c : Likewise.
23383         * iconvdata/iso646.c (gconv_end): Likewise.
23384         * iconvdata/iso_6937-2.c : Likewise.
23385         * iconvdata/iso_6937.c : Likewise.
23386         * iconvdata/iso8859-1.c: Likewise.
23387         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23388         * iconvdata/shift_jisx0213.c : Likewise.
23389         * iconvdata/sjis.c : Likewise.
23390         * iconvdata/t.61.c : Likewise.
23391         * iconvdata/tcvn5712-1.c : Likewise.
23392         * iconvdata/tscii.c: Likewise.
23393         * iconvdata/uhc.c : Likewise.
23394         * iconvdata/unicode.c (gconv_end): Likewise.
23395         * iconvdata/utf-16.c (gconv_end): Likewise.
23396         * iconvdata/utf-32.c (gconv_end): Likewise.
23397         * iconvdata/utf-7.c (base64): Likewise.
23398         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23399         * iconv/gconv_close.c (__gconv_close): Likewise.
23400         * iconv/gconv_open.c (__gconv_open): Likewise.
23401         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23402         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23403         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23404         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23405         (ucs4le_internal_loop_single): Likewise.
23406         * iconv/iconv.c (iconv): Likewise.
23407         * iconv/iconv_close.c: Likewise.
23408         * iconv/loop.c (SINGLE): Likewise.
23409         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23410         * include/atomic.h: Likewise.
23411         * inet/inet6_option.c (option_alloc): Likewise.
23412         * intl/bindtextdom.c (set_binding_values): Likewise.
23413         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23414         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23415         * intl/localealias.c (read_alias_file): Likewise.
23416         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23417         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23418         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23419         * libio/fmemopen.c (fmemopen): Likewise.
23420         * libio/iofgets.c (_IO_fgets): Likewise.
23421         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23422         * libio/iofgetws.c (fgetws): Likewise.
23423         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23424         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23425         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23426         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23427         * locale/findlocale.c (_nl_find_locale): Likewise.
23428         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23429         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23430         Likewise.
23431         * locale/setlocale.c (setlocale): Likewise.
23432         * login/programs/pt_chown.c (main): Likewise.
23433         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23434         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23435         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23436         (mmap, mmap64, mremap, munmap): Likewise.
23437         * math/e_exp2l.c: Likewise.
23438         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23439         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23440         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23441         * math/s_catan.c (__catan): Likewise.
23442         * math/s_catanf.c (__catanf): Likewise.
23443         * math/s_catanh.c (__catanh): Likewise.
23444         * math/s_catanhf.c (__catanhf): Likewise.
23445         * math/s_catanhl.c (__catanhl): Likewise.
23446         * math/s_catanl.c (__catanl): Likewise.
23447         * math/s_ccosh.c (__ccosh): Likewise.
23448         * math/s_ccoshf.c (__ccoshf): Likewise.
23449         * math/s_ccoshl.c (__ccoshl): Likewise.
23450         * math/s_cexp.c (__cexp): Likewise.
23451         * math/s_cexpf.c (__cexpf): Likewise.
23452         * math/s_cexpl.c (__cexpl): Likewise.
23453         * math/s_clog10.c (__clog10): Likewise.
23454         * math/s_clog10f.c (__clog10f): Likewise.
23455         * math/s_clog10l.c (__clog10l): Likewise.
23456         * math/s_clog.c (__clog): Likewise.
23457         * math/s_clogf.c (__clogf): Likewise.
23458         * math/s_clogl.c (__clogl): Likewise.
23459         * math/s_csin.c (__csin): Likewise.
23460         * math/s_csinf.c (__csinf): Likewise.
23461         * math/s_csinh.c (__csinh): Likewise.
23462         * math/s_csinhf.c (__csinhf): Likewise.
23463         * math/s_csinhl.c (__csinhl): Likewise.
23464         * math/s_csinl.c (__csinl): Likewise.
23465         * math/s_csqrt.c (__csqrt): Likewise.
23466         * math/s_csqrtf.c (__csqrtf): Likewise.
23467         * math/s_csqrtl.c (__csqrtl): Likewise.
23468         * math/s_ctan.c (__ctan): Likewise.
23469         * math/s_ctanf.c (__ctanf): Likewise.
23470         * math/s_ctanh.c (__ctanh): Likewise.
23471         * math/s_ctanhf.c (__ctanhf): Likewise.
23472         * math/s_ctanhl.c (__ctanhl): Likewise.
23473         * math/s_ctanl.c (__ctanl): Likewise.
23474         * math/w_pow.c: Likewise.
23475         * math/w_powf.c: Likewise.
23476         * math/w_powl.c: Likewise.
23477         * math/w_scalb.c (sysv_scalb): Likewise.
23478         * math/w_scalbf.c (sysv_scalbf): Likewise.
23479         * math/w_scalbl.c (sysv_scalbl): Likewise.
23480         * misc/error.c (error_tail): Likewise.
23481         * misc/pselect.c (__pselect): Likewise.
23482         * nis/nis_callback.c (__nis_create_callback): Likewise.
23483         * nis/nis_call.c (__nisfind_server): Likewise.
23484         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23485         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23486         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23487         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23488         * nis/nis_lookup.c (nis_lookup): Likewise.
23489         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23490         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23491         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23492         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23493         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23494         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23495         * nis/nss_compat/compat-initgroups.c (add_group)
23496         (internal_getgrent_r): Likewise.
23497         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23498         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23499         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23500         (internal_getspnam_r): Likewise.
23501         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23502         (_nss_nis_getaliasbyname_r): Likewise.
23503         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23504         (_nss_nis_getntohost_r): Likewise.
23505         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23506         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23507         (_nss_nis_getgrgid_r): Likewise.
23508         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23509         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23510         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23511         (_nss_nis_gethostbyname4_r): Likewise.
23512         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23513         (initgroups_netid): Likewise.
23514         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23515         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23516         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23517         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23518         (_nss_nis_getprotobynumber_r): Likewise.
23519         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23520         (_nss_nis_getsecretkey): Likewise.
23521         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23522         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23523         (_nss_nis_getpwuid_r): Likewise.
23524         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23525         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23526         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23527         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23528         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23529         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23530         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23531         Likewise.
23532         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23533         (_nss_nisplus_getntohost_r): Likewise.
23534         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23535         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23536         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23537         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23538         Likewise.
23539         * nis/nss_nisplus/nisplus-initgroups.c
23540         (_nss_nisplus_initgroups_dyn): Likewise.
23541         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23542         (_nss_nisplus_getnetbyaddr_r): Likewise.
23543         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23544         (_nss_nisplus_getprotobynumber_r): Likewise.
23545         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23546         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23547         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23548         Likewise.
23549         * nis/nss_nisplus/nisplus-service.c
23550         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23551         (_nss_nisplus_getservbyport_r): Likewise.
23552         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23553         (_nss_nisplus_getspnam_r): Likewise.
23554         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23555         Likewise.
23556         * nscd/aicache.c (addhstaiX): Likewise.
23557         * nscd/cache.c (cache_search, prune_cache): Likewise.
23558         * nscd/connections.c (register_traced_file, send_ro_fd)
23559         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23560         (main_loop_epoll): Likewise.
23561         * nscd/grpcache.c (addgrbyX): Likewise.
23562         * nscd/hstcache.c (addhstbyX): Likewise.
23563         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23564         * nscd/mem.c (gc, mempool_alloc): Likewise.
23565         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23566         (addinnetgrX): Likewise.
23567         * nscd/nscd-client.h (__nscd_acquire_maplock)
23568         (__nscd_drop_map_ref): Likewise.
23569         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23570         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23571         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23572         Likewise.
23573         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23574         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23575         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23576         (__nscd_get_map_ref): Likewise.
23577         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23578         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23579         Likewise.
23580         * nscd/pwdcache.c (addpwbyX): Likewise.
23581         * nscd/selinux.c (preserve_capabilities): Likewise.
23582         * nscd/servicescache.c (addservbyX): Likewise.
23583         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23584         * posix/fnmatch.c (fnmatch): Likewise.
23585         * posix/getopt.c (_getopt_internal_r): Likewise.
23586         * posix/glob.c (glob, glob_in_dir): Likewise.
23587         * posix/wordexp.c (exec_comm_child): Likewise.
23588         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23589         (getanswer_r, gaih_getanswer_slice): Likewise.
23590         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23591         * resolv/res_init.c: Likewise.
23592         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23593         * resolv/res_query.c (__libc_res_nquery): Likewise.
23594         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23595         Likewise.
23596         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23597         * stdio-common/perror.c (perror): Likewise.
23598         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23599         * stdio-common/tmpnam.c (tmpnam): Likewise.
23600         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23601         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23602         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23603         Likewise.
23604         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23605         * stdlib/putenv.c (putenv): Likewise.
23606         * stdlib/setenv.c (__add_to_environ): Likewise.
23607         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23608         * stdlib/strtol_l.c (INTERNAL): Likewise.
23609         * string/memmem.c (memmem): Likewise.
23610         * string/strerror.c (strerror): Likewise.
23611         * string/strnlen.c (__strnlen): Likewise.
23612         * string/test-memmem.c (simple_memmem): Likewise.
23613         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23614         * sunrpc/pm_getport.c (__get_socket): Likewise.
23615         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23616         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23617         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23618         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23619         Likewise.
23620         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23621         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23622         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23623         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23624         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23625         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23626         Likewise.
23627         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23628         Likewise.
23629         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23630         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23631         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23632         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23633         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23635         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23636         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23637         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23638         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23639         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23640         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23641         Likewise.
23642         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23643         Likewise.
23644         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23645         Likewise.
23646         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23647         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23648         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23649         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23650         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23651         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23652         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23653         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23654         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23655         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23656         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23657         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23658         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23659         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23660         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23661         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23662         Likewise.
23663         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23664         Likewise.
23665         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23666         Likewise.
23667         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23668         Likewise.
23669         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23670         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23671         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23672         Likewise.
23673         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23674         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23675         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23676         * sysdeps/posix/sleep.c: Likewise.
23677         * sysdeps/posix/tempname.c: Likewise.
23678         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23679         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23680         Likewise.
23681         * sysdeps/powerpc/powerpc32/dl-machine.h
23682         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23683         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23684         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23685         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23686         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23687         Likewise.
23688         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23689         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23690         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23691         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23692         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23693         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23694         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23695         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23696         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23697         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23698         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23699         (elf_machine_lazy_rel): Likewise.
23700         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23701         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23702         (elf_machine_lazy_rel): Likewise.
23703         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23704         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23705         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23706         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23707         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23708         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23709         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23710         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23711         Likewise.
23712         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23713         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23714         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23715         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23716         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23717         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23718         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23719         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23720         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23721         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23722         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23723         Likewise.
23724         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23725         (__posix_fallocate64_l64): Likewise.
23726         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23727         (posix_fallocate): Likewise.
23728         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23729         Likewise.
23730         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23731         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23732         (getifaddrs_internal): Likewise.
23733         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23734         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23735         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23736         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23737         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23738         (__posix_fallocate64_l64): Likewise.
23739         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23740         Likewise.
23741         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23742         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23743         (__get_clockfreq): Likewise.
23744         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23745         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23746         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23747         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23748         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23749         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23750         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23751         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23752         Likewise.
23753         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23754         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23755         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23756         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23757         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23758         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23759         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23760         Likewise.
23761         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23762         (posix_fallocate): Likewise.
23763         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23764         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23765         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23766         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23767         (elf_machine_rela, elf_machine_rela_relative)
23768         (elf_machine_lazy_rel): Likewise.
23769         * time/asctime.c (asctime_internal): Likewise.
23770         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23771         * time/tzset.c (__tzset_parse_tz): Likewise.
23772         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23773         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23774         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23775         * wcsmbs/wcsmbsload.h: Likewise.
23777         [BZ #15894]
23778         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23780         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23781         (arena_get2): Remove THREAD_STATS conditionals.
23782         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23783         (__malloc_stats, int): Likewise.
23785 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23787         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23788         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23790         * manual/setjmp.texi: Fix typos/grammar errors.
23792         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23793         Only return early when n is <= 0.  Delete unused return statement.
23795         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23796         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23797         * debug/tst-longjmp_chk3.c: New file.
23799         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23800         (test_main): Replace code with set_fortify_handler call.
23801         * debug/test-strcpy_chk.c: Likewise.
23802         * debug/tst-chk1.c: Likewise.
23803         * debug/tst-longjmp_chk.c: Likewise.
23804         * test-skeleton.c: Include fcntl.h & paths.h
23805         (set_fortify_handler): Define.
23807         * debug/tst-longjmp_chk.c: Add header comment and include
23808         ../test-skeleton.c.
23809         (do_test): Mark static.
23810         (TEST_FUNCTION): Define.
23812         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23813         (IP_PMTUDISC_INTERFACE): Likewise.
23814         (IP_MULTICAST_IF): Likewise.
23815         (IP_MULTICAST_TTL): Likewise.
23816         (IP_MULTICAST_LOOP): Likewise.
23817         (IP_ADD_MEMBERSHIP): Likewise.
23818         (IP_DROP_MEMBERSHIP): Likewise.
23819         (IP_UNBLOCK_SOURCE): Likewise.
23820         (IP_BLOCK_SOURCE): Likewise.
23821         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23822         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23823         (IP_MSFILTER): Likewise.
23824         (MCAST_JOIN_GROUP): Likewise.
23825         (MCAST_BLOCK_SOURCE): Likewise.
23826         (MCAST_UNBLOCK_SOURCE): Likewise.
23827         (MCAST_LEAVE_GROUP): Likewise.
23828         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23829         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23830         (MCAST_MSFILTER): Likewise.
23831         (IP_MULTICAST_ALL): Likewise.
23832         (IP_UNICAST_IF): Likewise.
23834         * timezone/Makefile: Delete $(have-ksh) check.
23835         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23836         * timezone/tzselect.ksh: Add +x mode bits.
23838         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23839         (ANON_INODE_FS_MAGIC): Likewise.
23840         (BDEVFS_MAGIC): Likewise.
23841         (BINFMTFS_MAGIC): Likewise.
23842         (BTRFS_TEST_MAGIC): Likewise.
23843         (CRAMFS_MAGIC_WEND): Likewise.
23844         (DEBUGFS_MAGIC): Likewise.
23845         (ECRYPTFS_SUPER_MAGIC): Likewise.
23846         (EXT3_SUPER_MAGIC): Likewise.
23847         (EXT4_SUPER_MAGIC): Likewise.
23848         (FUTEXFS_SUPER_MAGIC): Likewise.
23849         (HOSTFS_SUPER_MAGIC): Likewise.
23850         (HUGETLBFS_MAGIC): Likewise.
23851         (MINIX3_SUPER_MAGIC): Likewise.
23852         (MTD_INODE_FS_MAGIC): Likewise.
23853         (NILFS_SUPER_MAGIC): Likewise.
23854         (OPENPROM_SUPER_MAGIC): Likewise.
23855         (PIPEFS_MAGIC): Likewise.
23856         (PSTOREFS_MAGIC): Likewise.
23857         (QNX6_SUPER_MAGIC): Likewise.
23858         (RAMFS_MAGIC): Likewise.
23859         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23860         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23861         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23862         (SECURITYFS_MAGIC): Likewise.
23863         (SELINUX_MAGIC): Likewise.
23864         (SMACK_MAGIC): Likewise.
23865         (SOCKFS_MAGIC): Likewise.
23866         (SQUASHFS_MAGIC): Likewise.
23867         (STACK_END_MAGIC): Likewise.
23868         (TMPFS_MAGIC): Likewise.
23869         (USBDEVICE_SUPER_MAGIC): Likewise.
23870         (V9FS_MAGIC): Likewise.
23871         (XENFS_SUPER_MAGIC): Likewise.
23872         (CRAMFS_MAGIC): Fix typo in comment.
23873         (EXT2_SUPER_MAGIC): Update comment.
23874         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23876 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23878         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23879         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23880         * sysdeps/unix/sysv/linux/arm: Move directory from
23881         ports/sysdeps/unix/sysv/linux/arm.
23882         * README: Update listing for arm-*-linux-gnueabi.
23884         * README: Remove mention of am33.
23886 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23888         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23889         than the comma operator, to avoid "rhs of comma has no effect"
23890         compiler warnings.
23891         (__sigfillset, __sigandset, __sigorset): Likewise.
23892         * include/signal.h (__sigemptyset): Likewise.
23893         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23895 2014-02-07  Allan McRae  <allan@archlinux.org>
23897         * version.h (RELEASE): Set to "development".
23898         (VERSION): Set to "2.19.90"
23899         * NEWS: Add 2.20 section.
23901 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23903         [BZ #16529]
23904         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23906 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23908         * manual/contrib.texi: Update entry for Carlos O'Donell,
23909         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23911 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23913         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23915         * sysdeps/unix/sysv/linux/kernel-features.h
23916         [__LINUX_KERNEL_VERSION >= 0x020621]
23917         (__ASSUME_PROC_PID_TASK_COMM): Define.
23919 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23921         [BZ #16398]
23922         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23923         conversion when destination buffer does not have enough space.
23924         * libio/tst-ftell-partial-wide.c: New test case.
23925         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23927         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23928         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23929         Leonard and Allan McRae.
23931 2014-02-04  David S. Miller  <davem@davemloft.net>
23933         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23934         32-bit.
23936 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23939         New file
23940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23941         New file
23942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23943         New file.
23944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23945         New file.
23946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23947         New file.
23948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23949         New file.
23950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23951         New file.
23952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23953         New file.
23954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23955         New file.
23956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23957         New file.
23958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23959         New file.
23960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23961         New file.
23962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23963         New file.
23965 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23967         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23968         * shlib-versions: Likewise.
23970 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23971             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23973         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23974         (abilist-pattern): New variable, set to %-le.abilist.
23976         * Makerules (abilist-pattern): New variable.
23977         (vpath): Use $(abilist-pattern) in place of %.abilist.
23978         (check-abi-% pattern rule): Likewise.
23979         (check-abi, update-abi): Likewise.
23981 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23983         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23985 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23987         * manual/startup.texi: Add next, previous, and top entries for
23988         the `Program Arguments' and `Environment Variables' nodes.
23990 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23992         * manual/macros.texi: Add comments before MTASC-safety macros.
23994         * manual/users.texi: Document MTASC-safety properties.
23996         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23997         (pthread_getspecific, pthread_setspecific): Format with
23998         @deftypefun, and add @safety note.
23999         * manual/signal.texi: Move comments that analyze the above
24000         functions to their home place.
24002 2014-02-03  Allan McRae  <allan@archlinux.org>
24004         * po/sl.po: Update Slovenian translation from translation project.
24006 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
24008         * manual/time.texi (timegm): Add missing blank after @c.
24009         Reported by Joseph Myers <joseph@codesourcery.com>.
24011 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24013         * manual/check-safety.sh: New.
24014         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24016         * manual/terminal.texi: Document MTASC-safety properties.
24018         * manual/filesys.texi: Document MTASC-safety properties.
24020         * manual/errno.texi: Document MTASC-safety properties.
24022         * manual/intro.texi: Document safety identifiers and
24023         conditionals.
24025         * manual/string.texi (wcstok): Fix prototype.
24026         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24028         * manual/time.texi: Document MTASC-safety properties.
24030         * manual/string.texi: Document MTASC-safety properties.
24032         * manual/threads.texi: Document MTASC-safety properties.
24034         * manual/stdio.texi: Document MTASC-safety properties.
24036         * manual/syslog.texi: Document MTASC-safety properties.
24038         * manual/sysinfo.texi: Document MTASC-safety properties.
24040         * manual/startup.texi: Document MTASC-safety properties.
24042         * manual/socket.texi: Document MTASC-safety properties.
24044         * manual/signal.texi: Document MTASC-safety properties.
24046 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24048         * manual/setjmp.texi: Document MTASC-safety properties.
24050         * manual/search.texi: Document MTASC-safety properties.
24052         * manual/resource.texi: Document MTASC-safety properties.
24054         * manual/process.texi: Document MTASC-safety properties.
24056         * manual/platform.texi: Document MTASC-safety properties.
24058         * manual/pipe.texi: Document MTASC-safety properties.
24060         * manual/pattern.texi: Document MTASC-safety properties.
24062         * manual/message.texi: Document MTASC-safety properties.
24064         [BZ #12751]
24065         * manual/memory.texi: Document MTASC-safety properties.
24067         * manual/math.texi: Document MTASC-safety properties.
24069         * manual/locale.texi: Document MTASC-safety properties.
24071         * manual/llio.texi: Document MTASC-safety properties.
24073         * manual/libdl.texi: New.
24075         * manual/lang.texi: Document MTASC-safety properties.
24077         * manual/job.texi: Document MTASC-safety properties.
24079         * manual/getopt.texi: Document MTASC-safety properties.
24081         * manual/ctype.texi: Document MTASC-safety properties.
24083 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24085         [BZ #16046]
24086         * csu/libc-tls.c (static_map): Remove variable.
24087         (__libc_setup_tls): Use main executable's link map for TLS data.
24088         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24089         casing for LM_ID_BASE and GL(dl_nns).
24090         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24091         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24092         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24093         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24094         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24095         member.
24096         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24097         l_phnum members.
24099 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24101         * manual/debug.texi: Document MTASC-safety properties.
24103 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24105         [BZ #16510]
24106         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24107         of __x86_64__ when disabling x87 inline functions.
24109 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24111         * manual/charset.texi: Document MTASC-safety properties.
24113         * manual/crypt.texi: Document MTASC-safety properties.
24115         * manual/conf.texi: Document MTASC-safety properties.
24117         * manual/arith.texi: Document MTASC-safety properties.
24119         * manual/argp.texi: Document MTASC-safety properties.
24121         * manual/macros.texi: Introduce macros to document multi
24122         thread, asynchronous signal and asynchronous cancellation
24123         safety properties.
24124         * manual/intro.texi: Introduce the properties themselves.
24126 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24128         * sysdeps/sh/sh4/Makefile: New file.
24130 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24132         * math/gen-libm-test.pl ($srcdir): New variable.
24133         ($auto_input): Use it.
24135 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24137         [BZ #16506]
24138         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24139         access beyond array bounds when parsing netgroups file.
24141         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24142         the old buffer before realloc.
24144 2014-01-27  Allan McRae  <allan@archlinux.org>
24146         * po/fr.po: Update French translation from translation project.
24148 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24150         * sysdeps/sh/libm-test-ulps: Regenerate.
24152 2014-01-24  David S. Miller  <davem@davemloft.net>
24154         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24156 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24158         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24159         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24161 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24163         [BZ #16474]
24164         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24165         string pointers after reallocation.
24167 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24169         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24170         __SH4A__ instead of __SH_FPU_ANY__.
24172 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24174         * sysdeps/sh/fpu_control.h: New file.
24175         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24176         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24177         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24178         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24179         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24180         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24181         * sysdeps/sh/sys/ucontext.h: Remove.
24182         * sysdeps/sh/sys: Remove directory.
24184 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24186         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24187         s390/sys/ucontext.h.
24188         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24189         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24191 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24193         [BZ #15605]
24194         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24196 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24198         [BZ#16431]
24199         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24200         Adjust the vDSO correctly for internal calls.
24201         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24203 2014-01-20  Allan McRae  <allan@archlinux.org>
24205         * po/ca.po: Update Catalan translation from translation project.
24207 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24209         * sysdeps/s390/sotruss-lib.c: New file.
24211 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24213         [BZ#16430]
24214         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24215         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24216         local calls issues by not having a PLT stub required for IFUNC calls.
24217         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24219 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24221         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24222         * math/test-fpucw-static.c: Likewise.
24224 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24226         [BZ #16453]
24227         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24229 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24231         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24232         implementation for powerpc.
24234 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24236         [BZ #14782]
24237         * sysdeps/posix/system.c (__libc_system): Do not enable
24238         asynchronous cancellation.
24240 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24242         [BZ #16427]
24243         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24244         handling only for numbers special also in the IEEE case.
24246 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24248         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24250 2014-01-11  Allan McRae  <allan@archlinux.org>
24252         * po/bg.po: Update Bulgarian translation from translation project.
24254         * po/de.po: Update German translation from translation project.
24256 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24258         * sysdeps/generic/gcc-compat.h: New file.
24260 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24262         * benchtests/asin-inputs: Correct slow inputs.
24263         * benchtests/acos-inputs: Likewise.
24265 2014-01-10  Allan McRae  <allan@archlinux.org>
24267         * po:sv.po: Update Swedish translation from translation project.
24269         * po/vi.po: Update Vietnamese translation from translation project.
24271         * po/eo.po: Update Esperanto translation from translation project.
24273         * po/cs.po: Update Czech translation from translation project.
24275         * po/nl.po: Update Dutch translation from translation project.
24277         * po/pl.po: Update Polish translation from translation project.
24279         * po/ru.po: Update Russian translation from translation project.
24281         * po/uk.po: Update Ukrainian translation from translation project.
24283 2014-01-08  Brooks Moses  <bmoses@google.com>
24285         * elf/dl-load.c: Fix comment typo.
24287 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24289         * po/header.pot: Rename to...
24290         * po/pot.header: ... this.
24291         * po/Makefile: Use pot.header.
24293 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24294             Maxim Kuvyrkov  <maxim@kugelworks.com>
24296         [BZ #16394]
24297         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24298         SRC and DEST against LEN.
24300 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24302         [BZ #16414]
24303         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24304         implementation.
24305         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24307 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24309         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24311 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24313         [BZ #16408]
24314         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24315         for large positive arguments.
24317 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24319         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24321         * math/auto-libm-test-in: Mark various tests with
24322         xfail-rounding:ldbl-128ibm.
24323         * math/auto-libm-test-out: Regenerated.
24325         [BZ #16407]
24326         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24327         Increase overflow threshold.
24329 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24331         [BZ #14286]
24332         * stdio-common/vfprintf.c: Check for integer overflow.
24334 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24336         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24337         the first argument and return value of __tls_get_addr_internal.
24339 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24341         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24342         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24344 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24346         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24347         * sysdeps/s390/rtld-global-offsets.sym: New file.
24348         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24349         GLIBC_2.19 symbol.
24350         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24351         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24352         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24353         ... this.
24354         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24355         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24356         ... this.
24357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24358         Regenerate.
24359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24360         Regenerate.
24361         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24362         halfs of GPRs for high_gprs contexts.
24363         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24364         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24365         field.
24366         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24367         uc_flags field.
24368         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24369         64 bit versions:
24370         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24371         for high GPRs (uc_high_gprs) and for future extensions
24372         (__reserved).
24373         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24374         for future extensions (__reserved).
24375         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24376         64 bit versions:
24377         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24378         SC_HIGHGPRS offset definition.
24379         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24380         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24382         * Versions.def: Add GLIBC_2.19 for libpthread.
24383         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24384         siglongjmp for libpthread with GLIBC_2.19 symver.
24385         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24386         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24387         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24388         * sysdeps/s390/__longjmp.c: New file.
24389         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24390         * sysdeps/s390/longjmp.c: New file.
24391         * sysdeps/s390/setjmp.S: New file.
24392         * sysdeps/s390/sigjmp.S: New file.
24393         * sysdeps/s390/v1-longjmp.c: New file.
24394         * sysdeps/s390/v1-setjmp.h: New file.
24395         * sysdeps/s390/v1-sigjmp.c: New file.
24396         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24397         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24398         GLIBC_2.19 version.
24399         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24400         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24401         versioned symbols for ____longjmp_chk.
24402         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24403         Likewise.
24404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24405         Regenerate.
24406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24407         Regenerate.
24408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24409         Regenerate.
24410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24411         Regenerate.
24412         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24413         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24414         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24415         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24416         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24417         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24418         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24419         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24420         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24421         * sysdeps/s390/rtld-__longjmp.c: New file.
24422         * sysdeps/s390/rtld-setjmp.S: New file.
24424 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24426         [BZ #16400]
24427         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24428         Return -__logl (x) for small positive arguments without evaluating
24429         a polynomial.
24431 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24433         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24434         Rename to ...
24435         (__ptrace_peeksiginfo_args): ... this.
24436         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24437         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24438         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24440 2014-01-06  Allan McRae  <allan@archlinux.org>
24442         * inet/netinet/in.h: Fix typo in comment.
24444 2014-01-05  Andreas Jaeger  <aj@suse.de>
24446         * sysdeps/i386/fpu/libm-test-ulps: Update.
24448 2014-01-05  Allan McRae  <allan@archlinux.org>
24450         * po/libc.pot: Regenerated.
24452         * malloc/memusagestat.c: Fix gettext call formatting.
24454 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24456         * nscd/nscd.c: Improve usage() output.
24458 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24460         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24461         * sysdeps/unix/sysv/linux/configure: Regenerated.
24462         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24463         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24465 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24467         [BZ #16390]
24468         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24469         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24471 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24473         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24474         extra tokens at end of #undef directive.
24475         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24476         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24477         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24479 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24481         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24483         * math/auto-libm-test-in: Mark various tests with
24484         xfail-rounding:ldbl-128ibm.
24485         * math/auto-libm-test-out: Regenerated.
24487 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24489         [BZ #16386]
24490         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24491         numbers with subnormal high part when calculating exponent.
24493         [BZ #16385]
24494         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24495         fabs.
24497         [BZ #16384]
24498         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24499         M_LN2l.
24500         (__ieee754_acoshl): Use __log1pl not __log1p.
24502 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24504         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24505         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24506         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24507         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24508         (reused_arena, arena_get2): Convert to GNU style.
24509         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24510         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24511         (memalign_check, __malloc_set_state): Likewise.
24512         * malloc/mallocbug.c (main): Likewise.
24513         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24514         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24515         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24516         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24517         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24518         (__posix_memalign, malloc_info): Likewise.
24519         * malloc/malloc.h: Likewise.
24520         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24521         (mallochook, memalignhook, reallochook, mabort): Likewise.
24522         * malloc/mcheck.h: Likewise.
24523         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24524         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24525         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24526         * malloc/morecore.c (__default_morecore): Likewise.
24527         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24528         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24529         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24530         (print_and_abort): Likewise.
24531         * malloc/obstack.h: Likewise.
24532         * malloc/set-freeres.c (__libc_freeres): Likewise.
24533         * malloc/tst-mallocstate.c (main): Likewise.
24534         * malloc/tst-mtrace.c (main): Likewise.
24535         * malloc/tst-realloc.c (do_test): Likewise.
24537 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24539         [BZ #16366]
24540         * nscd/netgroupcache.c (do_notfound): New function.
24541         (addgetnetgrentX): Use it.
24543         [BZ # 16365]
24544         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24545         NSS_STATUS_NOTFOUND.
24547 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24549         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24552 2014-01-01  Allan McRae  <allan@archlinux.org>
24554         * scripts/update-copyrights: Update configure input file suffix.
24556         * NEWS: Update copyright year.
24557         * catgets/gencat.c: Likewise.
24558         * csu/version.c: Likewise.
24559         * debug/catchsegv.sh: Likewise.
24560         * debug/pcprofiledump.c: Likewise.
24561         * debug/xtrace.sh: Likewise.
24562         * elf/ldconfig.c: Likewise.
24563         * elf/ldd.bash.in: Likewise.
24564         * elf/pldd.c: Likewise.
24565         * elf/sotruss.ksh: Likewise.
24566         * elf/sprof.c: Likewise.
24567         * iconv/iconv_prog.c: Likewise.
24568         * iconv/iconvconfig.c: Likewise.
24569         * locale/programs/locale.c: Likewise.
24570         * locale/programs/localedef.c: Likewise.
24571         * login/programs/pt_chown.c: Likewise.
24572         * malloc/memusage.sh: Likewise.
24573         * malloc/memusagestat.c: Likewise.
24574         * malloc/mtrace.pl: Likewise.
24575         * manual/libc.texinfo: Likewise.
24576         * nscd/nscd.c: Likewise.
24577         * nss/getent.c: Likewise.
24578         * nss/makedb.c: Likewise.
24579         * posix/getconf.c: Likewise.
24580         * scripts/test-installation.pl: Likewise.
24582         * All files with FSF copyright notices: Update copyright dates
24583         using scripts/update-copyrights.
24584         * intl/plural.c: Regenerated.
24585         * locale/programs/charmap-kw.h: Likewise.
24586         * locale/programs/locfile-kw.h: Likewise.
24588 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24590         * sysdeps/unix/sysv/linux/configure: Regenerated.
24591         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24592         the linux/fanotify.h header.
24593         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24594         HAVE_LINUX_FANOTIFY_H is defined.
24596 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24598         * benchtests/cos-inputs: New inputs.
24599         * benchtests/sin-inputs: Likewise.
24601         * benchtests/atan-inputs: New inputs. Fix name of multiple
24602         precision fallback inputs.
24604         * benchtests/atanh-inputs: New inputs.
24605         * benchtests/tanh-inputs: Likewise.
24607         * benchtests/acosh-inputs: New inputs.
24608         * benchtests/asinh-inputs: Likewise.
24610         * benchtests/cosh-inputs: New inputs.
24611         * benchtests/sinh-inputs: Likewise.
24613         * benchtests/acos-inputs: Add more inputs.
24614         * benchtests/asin-inputs: Likewise.
24616 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24618         [BZ #16375]
24619         * manual/arith.texi: Fix spelling.
24620         * manual/charset.texi: Likewise.
24621         * manual/errno.texi: Likewise.
24622         * manual/filesys.texi: Likewise.
24623         * manual/lang.texi: Likewise.
24624         * manual/llio.texi: Likewise.
24625         * manual/locale.texi: Likewise.
24626         * manual/message.texi: Likewise.
24627         * manual/resource.texi: Likewise.
24628         * manual/search.texi: Likewise.
24629         * manual/setjmp.texi: Likewise.
24630         * manual/stdio.texi: Likewise.
24631         * manual/string.texi: Likewise.
24632         * manual/sysinfo.texi: Likewise.
24633         * manual/time.texi: Likewise.
24635 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24637         * po/sl.po: New file.
24639 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24641         * .gitignore: Add core/.gdbinit/.gdb_history.
24643 2013-12-27  Allan McRae  <allan@archlinux.org>
24645         [BZ #16369]
24646         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24647         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24649 2013-12-24  Brooks Moses  <bmoses@google.com>
24651         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24652         all compilers that claim C++98 compliance, not just GCC.
24653         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24654         Likewise.
24656 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24658         * NEWS: Restore accidentally deleted bug-fix entries.
24660 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24661             Ondřej Bílka  <neleai@seznam.cz>
24663         [BZ #15073]
24664         * malloc/malloc.c (_int_free): Perform sanity check only if we
24665         have_lock.
24667 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24669         [BZ #12986]
24670         * manual/stdio.texi (String Input Conversions): Clarify that character
24671         classes are not supported.
24673 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24677 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24679         [BZ #16337]
24680         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24681         Calculate results for small negative arguments directly rather
24682         than using reflection formula with special underflow handling.
24684         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24685         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24686         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24687         (fchflags): Likewise.
24688         (revoke): Likewise.
24689         (setlogin): Likewise.
24690         (sigaltstack): Likewise.
24691         (wait4): Likewise.
24692         (sigblock): Remove.
24693         (sigsetmask): Likewise.
24694         (wait3): Likewise.
24695         (waitpid): Likewise.
24696         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24697         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24698         file.
24699         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24700         * sysdeps/unix/bsd/Makefile: ... here.
24701         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24702         * sysdeps/unix/bsd/Versions: ... here.
24703         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24704         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24705         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24706         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24707         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24708         * sysdeps/unix/bsd/sigblock.c: ... here.
24709         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24710         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24711         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24712         * sysdeps/unix/bsd/sigvec.c: ... here.
24713         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24714         * sysdeps/unix/bsd/tcdrain.c: ... here.
24715         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24716         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24717         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24718         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24719         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24720         * sysdeps/unix/bsd/wait.c: ... here.
24721         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24722         * sysdeps/unix/bsd/wait3.c: ... here.
24723         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24724         * sysdeps/unix/bsd/waitpid.c: ... here.
24726 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24728         [BZ #16356]
24729         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24730         round-to-nearest for [!USE_AS_EXPM1L].
24731         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24732         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24733         more tests of exp and exp10.  Expect some exp10 tests to miss
24734         exceptions or fail in directed rounding modes.
24735         * math/auto-libm-test-out: Regenerated.
24736         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24737         (exp10_test_tonearest): New function.
24738         (exp10_towardzero_test_data): New array.
24739         (exp10_test_towardzero): New function.
24740         (exp10_downward_test_data): New array.
24741         (exp10_test_downward): New function.
24742         (exp10_upward_test_data): New array.
24743         (exp10_test_upward): New function.
24744         (main): Call the new functions.
24745         * sysdeps/i386/fpu/libm-test-ulps: Update.
24746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24748 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24750         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24751         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24752         * math/auto-libm-test-out: Regenerated.
24753         * math/libm-test.inc (acosh_test_data): Add more tests.
24754         (atanh_test_data): Likewise.
24755         (ceil_test_data): Likewise.
24756         (copysign_test_data): Likewise.
24757         * sysdeps/i386/fpu/libm-test-ulps: Update.
24758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24760         * timezone/checktab.awk: Update from tzcode 2013i.
24761         * timezone/private.h: Likewise.
24762         * timezone/scheck.c: Likewise.
24763         * timezone/tzfile.h: Likewise.
24764         * timezone/tzselect.ksh: Likewise.
24765         * timezone/zdump.c: Likewise.
24766         * timezone/zic.c: Likewise.
24768         * math/auto-libm-test-in: Add tests of cpow.
24769         * math/auto-libm-test-out: Regenerated.
24770         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24771         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24772         mpc_cc_c.
24773         (func_calc_desc): Add mpc_cc_c union field.
24774         (test_functions): Add cpow.
24775         (special_fill_2pi): New function.
24776         (special_real_inputs): Add 2pi.
24777         (calc_generic_results): Handle mpc_cc_c.
24778         * sysdeps/i386/fpu/libm-test-ulps: Update.
24779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24781         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24782         csqrt, ctan and ctanh.
24783         * math/auto-libm-test-out: Regenerated.
24784         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24785         (TEST_COND_x86): Likewise.
24786         (ccos_test_data): Use AUTO_TESTS_c_c.
24787         (ccosh_test_data): Likewise.
24788         (cexp_test_data): Likewise.
24789         (clog_test_data): Likewise.
24790         (csqrt_test_data): Likewise.
24791         (ctan_test_data): Likewise.
24792         (ctan_tonearest_test_data): Likewise.
24793         (ctan_towardzero_test_data): Likewise.
24794         (ctan_downward_test_data): Likewise.
24795         (ctan_upward_test_data): Likewise.
24796         (ctanh_test_data): Likewise.
24797         (ctanh_tonearest_test_data): Likewise.
24798         (ctanh_towardzero_test_data): Likewise.
24799         (ctanh_downward_test_data): Likewise.
24800         (ctanh_upward_test_data): Likewise.
24801         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24802         mpc_c_c.
24803         (func_calc_desc): Add mpc_c_c union field.
24804         (FUNC_mpc_c_c): New macro.
24805         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24806         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24807         ctanh.
24808         (special_fill_min_subnorm_p120): New function.
24809         (special_real_inputs): Add min_subnorm_p120.
24810         (calc_generic_results): Handle mpc_c_c.
24811         * sysdeps/i386/fpu/libm-test-ulps: Update.
24812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24814 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24816         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24817         (do_sin_slow): New functions.
24818         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24819         (cslow2, csloww1, csloww2): Use the new functions.
24821         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24822         Use M to change sign of result instead of X.  Assume X is
24823         positive.
24824         (csloww1): Likewise.
24825         (__sin): Adjust.
24826         (__cos): Adjust.
24828         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24829         arguments A and DA.
24830         (__sin): Adjust.
24831         (__cos): Likewise.
24833         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24834         (__cos): Likewise.
24835         (sloww1): Don't adjust sign of DX.
24836         (csloww1): Likewise.
24837         (sloww2): Use X directly and don't adjust sign of DX.
24838         (csloww2): Likewise.
24840 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24842         * math/auto-libm-test-in: Add tests of cabs and carg.
24843         * math/auto-libm-test-out: Regenerated.
24844         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24845         (carg_test_data): Likewise.
24846         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24847         mpc_c_f.
24848         (func_calc_desc): Add mpc_c_f union field.
24849         (test_functions): Add cabs and carg.
24850         (calc_generic_results): Handle mpc_c_f.
24852         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24853         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24854         as a macro and a compat symbol.
24855         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24856         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24857         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24858         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24859         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24860         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24861         not use .hidden.
24862         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24863         Likewise.
24864         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24865         Likewise.
24866         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24867         Likewise.
24868         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24869         Likewise.
24870         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24871         Likewise.
24872         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24873         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24874         from GLIBC_2.3.2.
24876 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24880 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24882         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24883         trailing whitespace removed.
24884         * scripts/config.guess: Update to version 2013-11-29.
24885         * scripts/config.sub: Update to version 2013-10-01.
24887         * math/auto-libm-test-in: Add tests of sincos.
24888         * math/auto-libm-test-out: Regenerated.
24889         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24890         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24891         mpfr_f_11.
24892         (func_calc_desc): Add mpfr_f_11 union field.
24893         (test_functions): Add sincos.
24894         (calc_generic_results): Handle mpfr_f_11.
24895         * sysdeps/i386/fpu/libm-test-ulps: Update.
24896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24898 2013-12-19  Andreas Schwab  <schwab@suse.de>
24900         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24901         CALL_MCOUNT.
24902         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24903         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24904         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24906 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24908         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24909         * sysdeps/i386/fpu/libm-test-ulps: Update.
24910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24912         [BZ #16293]
24913         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24914         round-to-nearest mode when using frndint.
24915         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24916         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24917         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24918         Likewise.
24919         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24920         sinh test to fail.
24921         * math/auto-libm-test-out: Regenerated.
24922         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24923         (TEST_COND_x86): Likewise.
24924         (expm1_tonearest_test_data): New array.
24925         (expm1_test_tonearest): New function.
24926         (expm1_towardzero_test_data): New array.
24927         (expm1_test_towardzero): New function.
24928         (expm1_downward_test_data): New array.
24929         (expm1_test_downward): New function.
24930         (expm1_upward_test_data): New array.
24931         (expm1_test_upward): New function.
24932         (main): Run the new test functions.
24933         * sysdeps/i386/fpu/libm-test-ulps: Update.
24934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24936         * include/features.h: Update comment documenting feature test
24937         macros.  Mention _DEFAULT_SOURCE in comment.
24938         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24939         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24940         _BSD_SOURCE and _SVID_SOURCE.
24941         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24942         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24943         !_SVID_SOURCE]: Likewise.
24944         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24945         (__USE_POSIX_IMPLICITLY): Define.
24946         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24947         (_POSIX_SOURCE): Undefine and redefine.
24948         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24949         (_POSIX_C_SOURCE): Likewise.
24950         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24951         (Feature Test Macros): Update documentation of default features.
24953 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24955         * benchtests/Makefile: Add bench-strtok.
24956         * benchtests/bench-strtok.c: New file: strtok benchtest.
24958 2013-12-19  Allan McRae  <allan@archlinux.org>
24960         * manual/install.texi: Suppress menu for plain text output.
24961         * INSTALL: Regenerated.
24963 2013-12-18  Brooks Moses  <bmoses@google.com>
24965         [BZ #15846]
24966         * misc/getauxval.c: Include errno.h.
24967         (__getauxval): Set errno to ENOENT if the requested type is not
24968         found.
24969         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24970         don't declare with __attribute_const__.
24971         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24972         * manual/startup.texi: Document that getauxval sets errno.
24974 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24976         * math/auto-libm-test-in: Add tests of jn and yn.
24977         * math/auto-libm-test-out: Regenerated.
24978         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24979         (yn_test_data): Likewise.
24980         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24981         mpfr_if_f.
24982         (func_calc_desc): Add mpfr_if_f union field.
24983         (FUNC_mpfr_if_f): New macro.
24984         (test_functions): Add jn and yn.
24985         (calc_generic_results): Assert type of second input for
24986         mpfr_ff_f.  Handle mpfr_if_f.
24987         (output_for_one_input_case): Disable all checking for arguments
24988         fitting floating-point types in case of an integer argument.
24989         * sysdeps/i386/fpu/libm-test-ulps: Update.
24990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24993         Don't expect fegetround reference in libm.so.
24995 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24997         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24998         $(config-cflags-nofma).
25000 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
25002         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25003         * math/auto-libm-test-out: Regenerated.
25005         [BZ #16338]
25006         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25007         to determine exponent and adjust argument to have exponent of -1.
25008         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25009         log2.
25010         * math/auto-libm-test-out: Regenerated.
25011         * sysdeps/i386/fpu/libm-test-ulps: Update.
25012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25014 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25016         * manual/probes.texi: Remove cases when per-thread arenas are
25017         disabled.
25019 2013-12-18  Andreas Schwab  <schwab@suse.de>
25021         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25022         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25023         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25024         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25025         * sysdeps/i386/i686/multiarch/Makefile: Update.
25026         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25028 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25030         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25031         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25033 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25035         [BZ #15968]
25036         Support TZ transition times < 00:00:00.
25037         This is needed for version-3 tz-format files; it supports time
25038         stamps past 2037 for America/Godthab (the only entry in the tz
25039         database for which this change is relevant).
25040         * manual/time.texi (TZ Variable): Document transition times
25041         from -167:59:59 through -00:00:01.
25042         * time/tzset.c (tz_rule): Time of day is now signed.
25043         (__tzset_parse_tz): Parse negative time of day.
25045         Document TZ transition times >= 25:00:00.
25046         * manual/time.texi (TZ Variable): Document transition times from
25047         25:00:00 through 167:59:59.  These are already supported, and this
25048         support will help with version-3 tz-format files.
25050         * manual/time.texi (TZ Variable): Modernize North America example
25051         to reflect current (i.e., 2007-and-later) daylight saving rules.
25053         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25055 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25057         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25058         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25059         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25060         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25061         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25062         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25063         * sysdeps/unix/bsd/clock.c: Likewise.
25064         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25065         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25066         * sysdeps/unix/bsd/init-posix.c: Likewise.
25067         * sysdeps/unix/bsd/poll.c: Likewise.
25068         * sysdeps/unix/bsd/ptsname.c: Likewise.
25069         * sysdeps/unix/bsd/seekdir.c: Likewise.
25070         * sysdeps/unix/bsd/setegid.c: Likewise.
25071         * sysdeps/unix/bsd/seteuid.c: Likewise.
25072         * sysdeps/unix/bsd/setgid.c: Likewise.
25073         * sysdeps/unix/bsd/setrgid.c: Likewise.
25074         * sysdeps/unix/bsd/setruid.c: Likewise.
25075         * sysdeps/unix/bsd/setsid.c: Likewise.
25076         * sysdeps/unix/bsd/setuid.c: Likewise.
25077         * sysdeps/unix/bsd/sigaction.c: Likewise.
25078         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25079         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25080         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25081         * sysdeps/unix/bsd/telldir.c: Likewise.
25082         * sysdeps/unix/bsd/times.c: Likewise.
25083         * sysdeps/unix/bsd/usleep.c: Likewise.
25085         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25086         ($(objpfx)libbsd-compat.a): Remove rule.
25088         * include/features.h (__FAVOR_BSD): Do not define.
25089         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25090         features conflicting with POSIX.
25091         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25092         (_BSD_SOURCE): Remove description of not being a subset of other
25093         feature test macros.
25094         * manual/job.texi (getpgrp): Do not document BSD version.
25095         (getpgid): Do not document by reference to BSD getpgrp.
25096         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25097         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25098         * signal/signal.h [__FAVOR_BSD]: Likewise.
25099         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25100         instead of making contents conditional on [__FAVOR_BSD].
25101         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25103 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25107 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25109         [BZ #16314]
25110         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25111         values below 2**-450, not 2**-500.
25112         * math/auto-libm-test-in: Don't allow spurious underflow from
25113         hypot.
25114         * math/auto-libm-test-out: Regenerated.
25116         [BZ #16316]
25117         [BZ #16330]
25118         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25119         values of ha and hb and sort them after adjusting subnormal
25120         arguments.
25121         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25122         Likewise.
25123         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25124         values of ea and eb and sort them after adjusting subnormal
25125         arguments.
25126         * math/auto-libm-test-in: Do not expect some hypot tests of
25127         subnormals to fail.  Add more hypot tests.
25128         * math/auto-libm-test-out: Regenerated.
25130 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25132         [BZ #13304]
25133         * sysdeps/sh/s_fma.c: New file.
25134         * sysdeps/sh/s_fmaf.c: New file.
25135         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25136         version.
25137         * sysdeps/sh/Implies: Add sh/soft-fp.
25139 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25141         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25142         level of indirection to members `objname', `errstring', `malloced'.
25143         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25144         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25145         it as the __longjmp argument (just pass 1 instead).
25146         (_dl_catch_error): Initialize C with argument pointers and address of
25147         volatile local ERRCODE rather than copying values out of C at return.
25149 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25151         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25152         * math/auto-libm-test-out: Regenerated.
25153         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25154         (hypot_test_data): Likewise.
25155         (pow_test_data): Likewise.
25156         (pow_tonearest_test_data): Likewise.
25157         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25158         mpfr_ff_f.
25159         (func_calc_desc): Add mpfr_ff_f union field.
25160         (FUNC_mpfr_ff_f): New macro.
25161         (test_functions): Add atan2, hypot and pow.
25162         (special_fill_min): New function.
25163         (special_fill_minus_min): Likewise.
25164         (special_fill_min_subnorm): Likewise.
25165         (special_fill_minus_min_subnorm): Likewise.
25166         (special_real_inputs): Add min, -min, min_subnorm and
25167         -min_subnorm.
25168         (calc_generic_results): Handle mpfr_ff_f.
25169         * sysdeps/i386/fpu/libm-test-ulps: Update.
25170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25172 2013-12-16  Will Newton  <will.newton@linaro.org>
25174         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25175         (Aligned Memory Blocks): Add documentation for aligned_alloc
25176         and suggest it as an alternative to posix_memalign.
25177         (Hooks for Malloc): Document __memalign_hook is also called
25178         for aligned_alloc.  (Summary of Malloc): Add summary for
25179         aligned alloc.  Document __memalign_hook is also called
25180         for aligned_alloc.
25182 2013-12-16  Will Newton  <will.newton@linaro.org>
25184         * manual/memory.texi (Malloc Examples): Clarify default
25185         alignment documentation.  Suggest posix_memalign rather
25186         than memalign or valloc.
25187         (Aligned Memory Blocks): Remove suggestion to use memalign
25188         or valloc.  Remove obsolete comment about BSD.
25189         Document memalign errno values and mark the function obsolete.
25190         Document posix_memalign returned error codes.  Mark valloc
25191         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25192         called for posix_memalign and valloc.
25193         (Summary of Malloc): Add posix_memalign to function summary.
25194         __memalign_hook is also called for posix_memalign and valloc.
25196 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25198         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25199         TAYLOR_SIN.
25200         (__sin): Adjust.
25201         (__cos): Likewise.
25202         (sloww): Use mynumber union.  Expand ternary operator into
25203         if-else statements.
25204         (cslow): use mynumber union.
25206 2013-12-16  Allan McRae  <allan@archlinux.org>
25208         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25209         * configure: Regenerated.
25211         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25213         [BZ #14120]
25214         * configure.ac: Added --enable-maintainer-mode. Check for
25215         autoconf when enabled.
25216         * configure: Regenerated.
25218         * nscd/nscd.service: New file.
25219         * nscd/nscd.tmpfiles: New file.
25221 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25223         [BZ #12100]
25224         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25225         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25226         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25227         (strstr): Add __strstr_sse2_unaligned ifunc.
25228         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25229         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25230         (strcasestr): Remove __strcasestr_sse42 ifunc.
25231         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25232         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25235 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25237         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25238         * sysdeps/sh/bits/fenv.h: ... here.
25239         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25241 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25243         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25245         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25246         hypotf multiarch implementations.
25247         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25248         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25249         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25250         multiarch hypot for PPC64.
25251         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25252         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25253         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25254         multiarch hypotf for PPC64.
25256         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25257         modff multiarch implementations.
25258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25261         multiarch modf for PPC64.
25262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25265         multiarch modff for PPC64.
25267         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25268         and logl multiarch implementations.
25269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25272         multiarch logb for PPC64.
25273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25276         multiarch logb for PPC64.
25277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25280         multiarch logb for PPC64.
25282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25283         isinff multiarch implementation.
25284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25285         file.
25286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25288         multiarch isinf for PPC64.
25289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25290         file.
25291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25292         multiarch isinff for PPC64.
25294         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25295         finitef multiarch implementation.
25296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25297         file.
25298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25300         multiarch finite for PPC64.
25301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25302         file.
25303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25304         multiarch finitef for PPC64.
25306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25307         lrint multiarch implementation.
25308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25309         file.
25310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25312         multiarch llrint for PPC64.
25313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25314         multiarch lrint for PPC64.
25316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25317         copysignf multiarch implementation.
25318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25319         file.
25320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25321         file.
25322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25323         multiarch copysign for PPC64.
25324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25325         multiarch copysignf for PPC64.
25327         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25328         multiarch implementation.
25329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25330         file.
25331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25332         file.
25333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25334         file.
25335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25336         file.
25337         multiarch llround for PPC64.
25338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25339         multiarch trunc for PPC64.
25340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25341         multiarch truncf for PPC64.
25343         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25344         multiarch implementation.
25345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25346         file.
25347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25348         file.
25349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25350         file.
25351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25352         file.
25353         multiarch llround for PPC64.
25354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25355         multiarch round for PPC64.
25356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25357         multiarch roundf for PPC64.
25359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25360         multiarch implementation.
25361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25362         file.
25363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25364         file.
25365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25366         file.
25367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25368         file.
25369         multiarch llround for PPC64.
25370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25371         multiarch floor for PPC64.
25372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25373         multiarch floorf for PPC64.
25375         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25376         multiarch implementation.
25377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25378         file.
25379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25380         file.
25381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25382         file.
25383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25384         file.
25385         multiarch llround for PPC64.
25386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25387         multiarch ceil for PPC64.
25388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25389         multiarch ceilf for PPC64.
25391         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25392         multiarch implementation.
25393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25394         file.
25395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25396         file.
25397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25398         file.
25399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25400         multiarch llround for PPC64.
25401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25402         multiarch lround for PPC64.
25404         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25405         multiarch implementation.
25406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25409         file.
25410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25413         multiarch isnan for PPC64.
25414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25415         multiarch isnanf for PPC64.
25417         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25418         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25419         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25420         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25421         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25424         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25425         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25426         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25427         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25430         multiarch implementations.
25431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25432         (__libc_ifunc_impl_list): Likewise.
25433         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25434         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25435         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25436         multiarch stpcpy for PPC64.
25438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25439         multiarch implementations.
25440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25441         (__libc_ifunc_impl_list): Likewise.
25442         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25443         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25444         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25445         multiarch strcpy for PPC64.
25447         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25448         redefine function name.
25449         (_wordcopy_fwd_dest_aligned): Likewise.
25450         (_wordcopy_bwd_aligned): Likewise.
25451         (_wordcopy_bwd_dest_aligned): Likewise.
25452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25453         multiarch implementations.
25454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25455         (__libc_ifunc_impl_list): Likewise.
25456         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25457         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25458         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25459         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25460         multiarch wcscpy for PPC64.
25462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25463         multiarch implementations.
25464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25465         (__libc_ifunc_impl_list): Likewise.
25466         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25467         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25468         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25469         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25470         multiarch wcscpy for PPC64.
25472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25473         multiarch implementations.
25474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25475         (__libc_ifunc_impl_list): Likewise.
25476         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25477         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25478         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25479         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25480         multiarch wcsrchr for PPC64.
25482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25483         multiarch implementations.
25484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25485         (__libc_ifunc_impl_list): Likewise.
25486         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25487         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25488         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25489         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25490         multiarch wcschr for PPC64.
25492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25493         multiarch implementations.
25494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25495         (__libc_ifunc_impl_list): Likewise.
25496         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25497         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25498         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25499         multiarch strchrnul for PPC64.
25501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25502         implementations.
25503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25504         (__libc_ifunc_impl_list): Likewise.
25505         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25506         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25507         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25508         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25509         strchr for PPC64.
25511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25512         implementations.
25513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25514         (__libc_ifunc_impl_list): Likewise.
25515         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25516         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25517         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25518         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25519         strncmp for PPC64.
25521         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25522         multiarch implementations.
25523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25524         (__libc_ifunc_impl_list): Likewise.
25525         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25526         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25527         strncasecmp for PPC64.
25528         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25529         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25530         multiarch strncasecmp_l for PPC64.
25532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25533         multiarch implementations.
25534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25535         (__libc_ifunc_impl_list): Likewise.
25536         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25537         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25538         multiarch strcasecmp for PPC64.
25539         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25540         file.
25541         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25542         multiarch strcasecmp_l for PPC64.
25544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25545         implementations.
25546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25547         (__libc_ifunc_impl_list): Likewise.
25548         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25549         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25550         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25551         strnlen for PPC64.
25553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25554         implementations.
25555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25556         (__libc_ifunc_impl_list): Likewise.
25557         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25558         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25559         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25560         strlen for PPC64.
25562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25563         implementations.
25564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25565         (__libc_ifunc_impl_list): Likewise.
25566         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25567         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25568         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25569         rawmemrchr for PPC64.
25571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25572         implementation.
25573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25574         (__libc_ifunc_impl_list): Likewise.
25575         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25576         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25577         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25578         memrchr for PPC64.
25580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25581         implementation.
25582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25583         (__libc_ifunc_impl_list): Likewise.
25584         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25585         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25586         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25587         memchr for PPC64.
25589         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25590         implementation.
25591         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25592         (__libc_ifunc_impl_list): Likewise.
25593         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25594         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25595         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25596         mempcpy for PPC64.
25598         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25599         avoid cretion of __bzero symbol.
25600         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25601         Likewise.
25602         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25603         Likewise.
25604         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25605         Likewise.
25606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25607         multiarch implementations.
25608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25609         (__libc_ifunc_impl_list): Likewise.
25610         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25611         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25612         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25613         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25614         bzero for PPC32.
25615         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25616         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25617         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25618         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25619         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25620         memset for PPC64.
25621         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25623         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25625         implementations.
25626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25627         (__libc_ifunc_impl_list): Likewise.
25628         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25629         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25630         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25631         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25632         memcmp for PPC64.
25634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25635         multiarch for POWER/PPC64.
25636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25637         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25638         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25639         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25640         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25641         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25642         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25643         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25644         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25645         memcpy for PPC64.
25647         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25648         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25649         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25650         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25651         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25652         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25653         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25654         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25655         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25656         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25657         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25658         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25659         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25660         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25661         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25670 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25672         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25674 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25676         * benchtests/Makefile (bench): Add exp2 and log2.
25677         (LDLIBS-bench-exp2): Add -lm.
25678         (LDLIBS-bench-log2): Likewise.
25679         * benchtests/exp2-inputs: New inputs file.
25680         * benchtests/log2-inputs: New inputs file.
25681         * benchtests/log-inputs: Add new inputs.
25682         * benchtests/tan-inputs: Likewise.
25684 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25686         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25687         definition...
25688         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25689         (csloww2): ... from here.
25691         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25692         instead of structures.
25693         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25694         (POLYNOMIAL): Likewise.
25695         (TAYLOR_SLOW): Likewise.
25696         (__sin): Likewise.
25697         (__cos): Likewise.
25698         (slow1): Likewise.
25699         (slow2): Likewise.
25700         (sloww): Likewise.
25701         (sloww1); Likewise.
25702         (sloww2): Likewise.
25703         (bsloww1): Likewise.
25704         (bsloww2): Likewise.
25705         (cslow2): Likewise.
25706         (csloww): Likewise.
25707         (csloww1): Likewise.
25708         (csloww2): Likewise.
25710 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25712         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25713         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25714         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25715         * malloc/hooks.c (realloc_check): Likewise.
25717         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25718         * malloc/arena.c: Remove PER_THREAD conditional.
25719         [!PER_THREAD]: Remove code.
25720         (ptmalloc_unlock_all2): Likewise.
25721         (ptmalloc_init): Likewise.
25722         (_int_new_arena): Likewise.
25723         (arena_get2): Likewise.
25724         * malloc/hooks.c (__malloc_get_state): Likewise.
25725         (__malloc_set_state): Likewise.
25726         * malloc/malloc.c: Likewise.
25727         (struct malloc_state): Likewise.
25728         (struct malloc_par): Likewise.
25729         (__libc_realloc): Likewise.
25730         (__libc_mallopt): Likewise.
25732 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25734         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25736 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25738         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25739         macro to a function.  Check for zero perturb_byte.
25740         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25742         * malloc/malloc.c: (force_reg): Remove.
25743         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25744         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25745         force_reg by atomic_forced_read.
25746         * malloc/arena.c (ptmalloc_init): Likewise.
25747         * malloc/hooks.c (top_check): Likewise.
25749 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25753 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25757 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25759         * math/auto-libm-test-in: Add tests of lgamma.
25760         * math/auto-libm-test-out: Regenerated.
25761         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25762         (M_LOG_2_SQRT_PIl): Likewise.
25763         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25764         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25765         mpfr_f_f1.
25766         (func_calc_desc): Add mpfr_f_f1 union field.
25767         (ARGS1): New macro.
25768         (ARGS2): Likewise.
25769         (ARGS3): Likewise.
25770         (ARGS4): Likewise.
25771         (RET1): Likewise.
25772         (RET2): Likewise.
25773         (CALC): Likewise.
25774         (FUNC): Likewise.
25775         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25776         (test_functions): Add lgamma.
25777         (calc_generic_results): Handle mpfr_f_f1.
25778         * sysdeps/i386/fpu/libm-test-ulps: Update.
25779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25781 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25783         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25784         __mpn_add_n for PowerPC64/POWER7.
25785         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25786         __mpn_sub_n for PowerPC64/POWER7.
25788         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25789         __mpn_addmul_1 for PowerPC64.
25790         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25791         __mpn_submul_1 for PowerPC64.
25792         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25793         for PowerPC64.
25794         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25795         for PowerPC64.
25797 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25799         [BZ #15089]
25800         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25802 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25804         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25806         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25807         add multiarch folders.
25808         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25809         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25810         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25811         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25812         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25813         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25814         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25815         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25816         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25817         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25818         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25827         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25829         New file.
25830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25831         New file.
25832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25833         multiarch __ieee754_hypot for PowerPC32.
25834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25835         New file.
25836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25837         New file.
25838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25839         multiarch __ieee754_hypotf for PowerPC32.
25841         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25842         long_double_symbol only if __logbl is defined.
25843         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25844         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25845         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25846         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25847         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25848         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25849         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25850         path for implementation.
25851         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25852         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25854         logb, and logbl multiarch implementations for PowerPC32.
25855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25856         file.
25857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25858         file.
25859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25860         multiarch logb for PowerPC32.
25861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25862         file.
25863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25864         file.
25865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25866         multiarch logbf for PowerPC32.
25867         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25869         file.
25870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25871         multiarch logbl implementation for PowerPC32.
25873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25874         and modff multiarch implementations.
25875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25876         New file.
25877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25878         New file.
25879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25880         multiarch modf for PowerPC32.
25881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25882         New file.
25883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25884         New file.
25885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25886         multiarch modff for PowerPC32.
25888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25889         and lrintf multiarch implementations.
25890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25891         New file.
25892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25893         New file.
25894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25895         multiarch lrint for PowerPC32.
25896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25897         file: multiarch lrintf for PowerPC32.
25899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25900         and lroundf multiarch implementations.
25901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25902         New file.
25903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25904         New file.
25905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25906         New file.
25907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25908         multiarch lround for PowerPC32.
25909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25910         file: multiarch lroundf for PowerPC32.
25912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25913         copysign and copysignf multiarch implementations.
25914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25915         New file.
25916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25917         New file.
25918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25919         file: multiarch copysign for PowerPC32.
25920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25921         file: multiarch copysignf for PowerPC32.
25923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25924         and truncf multiarch implementations.
25925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25926         New file.
25927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25928         file.
25929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25930         multiarch trunc for PowerPC32.
25931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25932         New file.
25933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25934         New file.
25935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25936         multiarch truncf for PowerPC32.
25938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25939         and roundf multiarch implementations.
25940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25941         New file.
25942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25943         file.
25944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25945         multiarch round for PowerPC32.
25946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25947         New file.
25948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25949         New file.
25950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25951         multiarch roundf for PowerPC32.
25953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25954         and floorf multiarch implementations.
25955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25956         New file.
25957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25958         file.
25959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25960         multiarch floor for PowerPC32.
25961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25962         New file.
25963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25964         New file.
25965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25966         multiarch floorf for PowerPC32.
25968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25969         and ceilf multiarch implementations.
25970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25971         New file.
25972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25973         file.
25974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25975         multiarch ceil for PowerPC32.
25976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25977         New file.
25978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25979         file.
25980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25981         multiarch ceilf for PowerPC32.
25983         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25984         is defined.
25985         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25986         FINITEF is defined.
25987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25988         and finitef multiarch implementations.
25989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25990         New file.
25991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25992         file.
25993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25994         multiarch finite for PowerPC32.
25995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25996         New file.
25997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25998         file: multiarch finitef for PowerPC32.
26000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26001         and isinff multiarch implementations.
26002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26003         file.
26004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26005         file.
26006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26007         multiarch isinf for PowerPC32.
26008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26009         New file.
26010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26011         multiarch isinff for PowerPC32.
26013         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26014         alias when __isnan is defined.
26015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26016         and isnanf multiarch implementations.
26017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26018         file.
26019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26020         file.
26021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26022         file.
26023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26024         file.
26025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26026         multiarch isnan for PowerPC32.
26027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26028         New file.
26029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26030         New file.
26031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26032         multiarch isnanf for PowerPC32.
26034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26035         and sqrtf multiarch implementations.
26036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26037         file.
26038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26039         file.
26040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26041         multiarch sqrt for PowerPC32.
26042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26043         file.
26044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26045         file.
26046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26047         multiarch sqrtf for PowerPC32.
26049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26050         and llroundf multiarch implementations.
26051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26052         New file.
26053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26054         New file.
26055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26056         New file.
26057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26058         file: multiarch llround for PowerPC32.
26059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26060         file: multiarch llroundf for PowerPC32.
26062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26063         multiarch PowerPC32 fpu implementations.
26064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26065         New file.
26066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26067         New file.
26068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26069         multiarch llrint for PowerPC32.
26070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26071         New file.
26072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26073         New file.
26074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26075         file.
26077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26079         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26080         file.
26081         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26082         file.
26083         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26084         file.
26085         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26086         multiarch wordcopy for PPC32.
26087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26088         wordcopy objects.
26089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26090         (__libc_ifunc_impl_list): Likewise.
26091         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26092         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26093         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26094         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26095         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26096         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26098         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26099         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26100         file.
26101         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26102         file.
26103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26104         file.
26105         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26106         multiarch wcscpy for PPC32.
26107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26108         multiarch objects.
26109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26110         (__libc_ifunc_impl_list): Likewise.
26111         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26112         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26113         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26114         sysdeps/powerpc/power6/wcscpy.c.
26116         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26117         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26118         file.
26119         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26120         file.
26121         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26122         file.
26123         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26124         multiarch wcsrchr for PPC32.
26125         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26126         multiarch objects.
26127         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26128         (__libc_ifunc_impl_list): Likewise.
26129         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26130         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26131         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26132         sysdeps/powerpc/power6/wcsrchr.c.
26134         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26135         file.
26136         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26137         file.
26138         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26140         multiarch wcschr for PPc32.
26141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26142         multiarch objects.
26143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26144         (__libc_ifunc_impl_list): Likewise.
26145         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26146         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26147         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26148         sysdeps/powerpc/power6/wcschr.c.
26150         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26151         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26152         file.
26153         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26154         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26155         file: multiarch strchr for PPC32.
26156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26157         multiarch objects.
26158         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26159         (__libc_ifunc_impl_list): Likewise.
26161         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26162         name.
26163         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26164         file.
26165         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26166         file.
26167         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26168         multiarch strchrnul for PPC32.
26169         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26170         multiarch objects.
26171         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26172         (__libc_ifunc_impl_list): Likewise.
26174         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26175         file.
26176         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26177         multiarch strncasecmp for PPC32.
26178         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26179         file.
26180         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26181         multiarch strncasecmp_l for PPC32.
26182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26183         strncasecmp multiarch objects.
26184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26185         (__libc_ifunc_impl_list): Likewise.
26187         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26188         file.
26189         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26190         multiarch strncasecmp for PPC32.
26191         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26192         New file.
26193         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26194         multiarch strcasecmp_l for PPC32.
26195         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26196         multiarch objects.
26197         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26198         (__libc_ifunc_impl_list): Likewise.
26200         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26201         file.
26202         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26203         file.
26204         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26205         multiarch strncmp for PPC32.
26206         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26207         multiarch objects.
26208         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26209         (__libc_ifunc_impl_list): Likewise.
26211         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26212         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26213         file.
26214         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26215         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26217         multiarch objects.
26218         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26219         (__libc_ifunc_impl_list): Likewise.
26221         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26222         file.
26223         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26224         file.
26225         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26226         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26227         multiarch objects.
26228         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26229         (__libc_ifunc_impl_list): Likewise.
26231         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26232         file.
26233         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26234         file.
26235         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26236         multiarch rawmemchr for PPC32.
26237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26238         multiarch objects.
26239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26240         (__libc_ifunc_impl_list): Likewise.
26242         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26243         file.
26244         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26245         file.
26246         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26247         file: memrchr multiarch for PPC32.
26248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26249         multiarch objects.
26250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26251         (__libc_ifunc_impl_list): Likewise.
26253         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26254         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26255         file.
26256         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26257         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26258         multiarch memchr for PPC32.
26259         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26260         multiarch objects.
26261         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26262         (__libc_ifunc_impl_list): Likewise.
26264         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26265         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26266         file.
26267         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26268         file.
26269         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26270         file: multiarch mempcpy for PPC32.
26271         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26272         multiarch objects.
26273         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26274         (__libc_ifunc_impl_list): Likewise.
26276         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26277         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26278         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26279         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26280         multiarch bzero for PPC32.
26281         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26282         file.
26283         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26284         file.
26285         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26286         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26287         file: multiarch memset for PPC32.
26288         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26290         memset multiarch objects.
26291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26292         (__libc_ifunc_impl_list): Likewise.
26294         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26295         file.
26296         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26298         memcmp for PPC32.
26299         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26300         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26301         multiarch objects.
26302         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26303         (__libc_ifunc_impl_list): Likewise.
26305         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26306         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26307         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26308         file.
26309         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26310         file.
26311         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26312         file.
26313         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26314         multiarch memcpy for PPC32.
26315         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26316         multiarch objects.
26317         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26318         (__libc_ifunc_impl_list): Likewise.
26320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26321         support multiarch for POWER/PPC32.
26322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26323         Likewise.
26324         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26326         Implies file to make multiarch folder appers before the fpu and
26327         default folder for power4 configuration.
26329 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26331         * scripts/bench.pl: Append volatile keyword to type.
26333 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26335         * sysdeps/sh/sotruss-lib.c: New file.
26336         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26338 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26342 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26344         [BZ #6810]
26345         * math/w_tgamma.c: Include <errno.h>.
26346         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26347         * math/w_tgammaf.c: Include <errno.h>.
26348         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26349         * math/w_tgammal.c: Include <errno.h>.
26350         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26351         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26352         underflow.  Add more tgamma tests.
26353         * math/auto-libm-test-out: Regenerated.
26354         * sysdeps/i386/fpu/libm-test-ulps: Update.
26355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26357         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26358         sin, sinh, tan, tanh, tgamma, y0 and y1.
26359         * math/auto-libm-test-out: Regenerated.
26360         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26361         (TEST_COND_x86): Likewise.
26362         (M_E2l): Remove macro.
26363         (M_E3l): Likewise.
26364         (M_2_SQRT_PIl): Likewise.
26365         (M_SQRT_PIl): Likewise.
26366         (M_1_DIV_El): Likewise.
26367         (log_test_data): Use AUTO_TESTS_f_f.
26368         (log10_test_data): Likewise.
26369         (log1p_test_data): Likewise.
26370         (log2_test_data): Likewise.
26371         (sin_test_data): Likewise.
26372         (sin_tonearest_test_data): Likewise.
26373         (sin_towardzero_test_data): Likewise.
26374         (sin_downward_test_data): Likewise.
26375         (sin_upward_test_data): Likewise.
26376         (sinh_test_data): Likewise.
26377         (sinh_tonearest_test_data): Likewise.
26378         (sinh_towardzero_test_data): Likewise.
26379         (sinh_downward_test_data): Likewise.
26380         (sinh_upward_test_data): Likewise.
26381         (tan_test_data): Likewise.
26382         (tan_tonearest_test_data): Likewise.
26383         (tan_towardzero_test_data): Likewise.
26384         (tan_downward_test_data): Likewise.
26385         (tan_upward_test_data): Likewise.
26386         (tanh_test_data): Likewise.
26387         (tgamma_test_data): Likewise.
26388         (y0_test_data): Likewise.
26389         (y1_test_data): Likewise.
26390         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26391         (special_real_inputs): Add pi/4.
26392         * sysdeps/i386/fpu/libm-test-ulps: Update.
26393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26395 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26397         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26398         "longjmp_target" static probes.
26399         (__longjmp): Rename to __longjmp_symbol.
26400         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26401         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26402         on which longjmp to generate.
26403         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26404         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26405         probe.
26406         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26407         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26408         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26409         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26410         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26411         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26413         __longjmp_symbol based on which __longjmp to generate.
26414         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26415         probe.
26416         (setjmp): Rename to setjmp_symbol.
26417         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26418         (_setjmp): Rename to _setjmp_symbol.
26419         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26420         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26421         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26422         which setjmp to generate.
26423         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26424         "longjmp_target" static probes.
26426 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26428         * benchtests/README: Add note about output arguments.
26429         * benchtests/bench-sincos.c: Remove file.
26430         * benchtests/sincos-inputs: New file.
26431         * scripts/bench.pl: Identify output arguments and define
26432         static variables for them.
26434         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26436         [BZ #15941]
26437         * Makefile (INSTALL): Add install-plain.texi as the primary
26438         dependency.
26439         * manual/install-plain.texi: New file.
26440         * manual/install.texi: Include node directive only for
26441         non-plaintext output.
26443 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26445         * stdlib/longlong.h: Update from GCC.
26447         [BZ #6807]
26448         [BZ #15901]
26449         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26450         * math/w_j0f.c (y0f): Likewise.
26451         * math/w_j0l.c (__y0l): Likewise.
26452         * math/w_j1.c (y1): Likewise.
26453         * math/w_j1f.c (y1f): Likewise.
26454         * math/w_j1l.c (__y1l): Likewise
26455         * math/w_jn.c (yn): Likewise.
26456         * math/w_jnf.c (ynf): Likewise.
26457         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26458         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26459         value for Bessel function domain errors outside _SVID_ mode.
26460         Adjust sign of return value for yn (negative integer, 0).
26461         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26462         by zero in return for negative x and set sign appropriately for
26463         negative n.
26464         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26465         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26466         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26467         expectations in error cases.
26468         (y1_test_data): Likewise.
26469         (yn_test_data): Likewise.
26470         * sysdeps/i386/fpu/libm-test-ulps: Update.
26471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26473 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26475         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26476         "64" to "64-v1".  Add "64-v2".
26477         (abi-64-options): Rename to ...
26478         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26479         (abi-64-condition): Rename to ...
26480         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26481         (abi-64-ld-soname): Rename to ...
26482         (abi-64-v1-ld-soname): ... this.
26483         (abi-64-v2-options): Define.
26484         (abi-64-v2-condition): Likewise.
26485         (abi-64-v2-ld-soname): Likewise.
26486         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26487         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26492 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26493             Alan Modra  <amodra@gmail.com>
26495         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26496         New versions for use with the ELFv2 ABI.
26497         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26498         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26499         declaration.
26500         (struct La_ppc64v2_retval): Likewise.
26501         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26502         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26503         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26504         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26505         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26506         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26507         Do not save or restore CR.
26508         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26509         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26510         return values for ELFv2 ABI.  Fix location of FPR return registers.
26511         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26512         updated values for _CALL_ELF == 2.
26513         (La_regs, La_retval, int_retval): Likewise.
26515 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26517         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26518         (FRAME_MIN_SIZE_PARM): Likewise.
26519         (FRAME_BACKCHAIN): Likewise.
26520         (FRAME_CR_SAVE): Likewise.
26521         (FRAME_LR_SAVE): Likewise.
26522         (FRAME_TOC_SAVE): Likewise.
26523         (FRAME_PARM_SAVE): Likewise.
26524         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26525         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26526         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26527         (call_mcount_parm_offset): New macro.
26528         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26529         (PROF): Use symbolic stack frame offsets.
26530         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26531         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26532         Redefine in terms of FRAME_MIN_SIZE.
26533         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26534         (_dl_profile_resolve): Likewise.  Update comment.
26535         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26536         symbols stack frame offsets.
26537         (__sigsetjmp): Likewise.
26538         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26539         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26540         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26541         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26544         (FRAME_BACKCHAIN): Remove.
26545         (FRAME_CR_SAVE): Likewise.
26546         (FRAME_LR_SAVE): Likewise.
26547         (FRAME_COMPILER_DW): Likewise.
26548         (FRAME_LINKER_DW): Likewise.
26549         (FRAME_TOC_SAVE): Likewise.
26550         (FRAME_PARM_SAVE): Likewise.
26551         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26552         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26553         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26555         (CHECK_SP): Use symbolic stack frame offsets.
26556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26557         zone" instead of caller's parameter save area for temp storage.
26558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26559         Likewise.  Also, use symbolic stack frame offsets.
26560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26561         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26562         our own stack frame instead of the caller's.
26563         (__socket): Use symbolic stack frame offsets.
26565 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26566             Alan Modra  <amodra@gmail.com>
26568         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26569         Define.
26570         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26571         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26572         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26573         New function.
26574         (elf_machine_fixup_plt): Call it.
26575         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26576         reloc arguments.
26577         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26578         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26579         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26580         r2 before calling target.
26582 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26583             Alan Modra  <amodra@gmail.com>
26585         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26586         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26587         versions of macros to support ELFv2 ABI.
26588         (LOCALENTRY): New macro.
26589         (ENTRY, EALIGN): Use it.
26590         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26591         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26592         fall through into ENTRY entry point.
26593         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26594         Only define if _CALL_ELF != 2.
26596         (elf_machine_matches_host): Verify ABI version matches.
26597         (RTLD_START): Use LOCALENTRY.
26598         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26599         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26600         (PLT_ENTRY_WORDS): New macro.
26601         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26602         (elf_machine_runtime_setup): Support ELFv2 ABI.
26603         (elf_machine_fixup_plt): Likewise.
26604         (elf_machine_plt_conflict): Likewise.
26605         (resolve_ifunc): Likewise.
26606         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26607         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26608         Likewise.
26609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26610         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26612         (makecontext): Support ELFv2 ABI.
26613         * elf/elf.h (EF_PPC64_ABI): Define.
26615 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26617         * sysdeps/powerpc/powerpc64/sysdep.h
26618         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26619         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26620         (ENTRY) [ASSEMBLER]: ... but instead here ...
26621         (EALIGN) [ASSEMBLER]: ... and here.
26622         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26623         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26624         (ENTRY_2) [!ASSEMBLER]: Use it.
26625         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26626         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26627         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26628         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26629         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26631         Use PPC64_LOAD_FUNCPTR.
26633         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26635 2013-12-04  Alan Modra  <amodra@gmail.com>
26637         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26638         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26639         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26640         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26642         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26643         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26644         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26645         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26646         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26647         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26649 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26652         (__makecontext): Fix incorrect CFI when backtracing out of
26653         context created via makecontext.
26654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26655         (__setcontext): Fix incorrect CFI during switch to new context.
26656         (__novec_setcontext): Likewise.
26658 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26660         [BZ #4772]
26661         * time/strptime_l.c (__strptime_internal): Allow modifiers
26662         in strptime.
26663         * time/tst-strptime.c (day_tests): Add testcase.
26665 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26667         * scripts/bench.pl: Skip over blank lines.
26669 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26671         [BZ #926]
26672         * manual/time.texi (Calendar Time): Clarify what timezone functions
26673         use.
26675 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26679 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26681         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26682         implementation.
26683         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26684         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26685         * debug/memset_chk.c (__memset_chk): Likewise.
26686         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26687         * debug/strncpy_chk.c: Likewise.
26689 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26691         [BZ #15268]
26692         [BZ #15425]
26693         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26694         (__ieee754_exp): For possibly underflowing results, check size of
26695         result and force underflow exception if required.
26696         * math/auto-libm-test-in: Add more tests of exp.
26697         * math/auto-libm-test-out: Regenerated.
26698         * sysdeps/i386/fpu/libm-test-ulps: Update.
26699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26701         [BZ #16283]
26702         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26703         * math/w_exp2f.c (__exp2f): Likewise.
26704         * math/w_exp2l.c (__exp2l): Likewise.
26705         * math/auto-libm-test-in: Do not allow missing errno on exp2
26706         underflow.
26707         * math/auto-libm-test-out: Regenerated.
26709 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26711         [BZ #16274]
26712         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26713         handle filename validation.
26714         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26715         (do_open): Delete.
26717 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26719         [BZ #6786]
26720         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26721         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26722         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26723         <float.h>.
26724         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26725         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26726         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26727         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26728         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26729         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26730         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26731         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26732         Add more erfc tests.
26733         * math/auto-libm-test-out: Regenerated.
26734         * sysdeps/i386/fpu/libm-test-ulps: Update.
26735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26737         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26738         exp2, expm1, j0 and j1.
26739         * math/auto-libm-test-out: Regenerated.
26740         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26741         (erfc_test_data): Likewise.
26742         (exp_test_data): Likewise.
26743         (exp_tonearest_test_data): Likewise.
26744         (exp_towardzero_test_data): Likewise.
26745         (exp_downward_test_data): Likewise.
26746         (exp_upward_test_data): Likewise.
26747         (exp10_test_data): Likewise.
26748         (exp2_test_data): Likewise.
26749         (expm1_test_data): Likewise.
26750         (j0_test_data): Likewise.
26751         (j1_test_data): Likewise.
26752         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26753         (input_flag_type): Add flag_xfail_rounding.
26754         (input_flags): Add xfail-rounding.
26755         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26756         (output_for_one_input_case): Handle flag_xfail_rounding.
26757         * sysdeps/i386/fpu/libm-test-ulps: Update.
26758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26760 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26762         [BZ #16289]
26763         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26764         division by 0.
26766 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26768         [BZ #16195]
26769         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26770         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26771         (STAP_PROBE0): New macro.
26772         (STAP_PROBE1): Likewise.
26773         (STAP_PROBE2): Likewise.
26774         (STAP_PROBE3): Likewise.
26775         (STAP_PROBE4): Likewise.
26777 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26779         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26781 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26783         * benchtests/Makefile (bench): Add sqrt.
26784         (LDLIBS-bench-sqrt): New.
26785         * benchtests/sqrt-input: New.
26787 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26789         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26790         (GAIH_EAI): Likewise.
26791         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26792         (gaih_inet): Likewise.
26793         (getaddrinfo): Don't use GAIH_EAI.
26795         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26796         (struct gaih): Remove definition.
26798 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26800         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26801         Use HERRNOP directly.
26803 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26807 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26809         * math/gen-auto-libm-tests.c (test_functions): Add more
26810         single-argument functions.
26811         (special_fill_pi_2): New function.
26812         (special_fill_minus_pi_2): Likewise.
26813         (special_fill_pi_6): Likewise.
26814         (special_fill_minus_pi_6): Likewise.
26815         (special_fill_pi_3): Likewise.
26816         (special_fill_2pi_3): Likewise.
26817         (special_fill_e): Likewise.
26818         (special_fill_1_e): Likewise.
26819         (special_fill_e_minus_1): Likewise.
26820         (special_real_inputs): Add more special inputs.
26821         (output_for_one_input_case): Do not require ERANGE on underflow to
26822         zero if round-to-nearest result does not underflow to zero, unless
26823         exact results required.
26824         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26825         atan, atanh, cbrt, cos and cosh.
26826         * math/auto-libm-test-out: Regenerated.
26827         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26828         (acos_tonearest_test_data): Likewise.
26829         (acos_towardzero_test_data): Likewise.
26830         (acos_downward_test_data): Likewise.
26831         (acos_upward_test_data): Likewise.
26832         (acosh_test_data): Likewise.
26833         (asin_test_data): Likewise.
26834         (asin_tonearest_test_data): Likewise.
26835         (asin_towardzero_test_data): Likewise.
26836         (asin_upward_test_data): Likewise.
26837         (asinh_test_data): Likewise.
26838         (atan_test_data): Likewise.
26839         (atanh_test_data): Likewise.
26840         (cbrt_test_data): Likewise.
26841         (cos_test_data): Likewise.
26842         (cos_tonearest_test_data): Likewise.
26843         (cos_towardzero_test_data): Likewise.
26844         (cos_downward_test_data): Likewise.
26845         (cos_upward_test_data): Likewise.
26846         (cosh_test_data): Likewise.
26847         (cosh_tonearest_test_data): Likewise.
26848         (cosh_towardzero_test_data): Likewise.
26849         (cosh_downward_test_data): Likewise.
26850         (cosh_upward_test_data): Likewise.
26851         * sysdeps/i386/fpu/libm-test-ulps: Update.
26852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26854 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26856         [BZ #6787]
26857         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26858         * math/w_exp10f.c (__exp10f): Likewise.
26859         * math/w_exp10l.c (__exp10l): Likewise.
26860         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26861         errno settings in existing tests.
26863         [BZ #14032]
26864         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26865         precision control set to double precision.
26866         * sysdeps/i386/fpu/w_sqrt.c: New file.
26867         * math/auto-libm-test-in: Add more tests.
26868         * math/auto-libm-test-out: Update.
26870         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26871         (sqrt_test_tonearest): New function.
26872         (sqrt_towardzero_test_data): New variable.
26873         (sqrt_test_towardzero): New function.
26874         (sqrt_downward_test_data): New variable.
26875         (sqrt_test_downward): New function.
26876         (sqrt_upward_test_data): New variable.
26877         (sqrt_test_upward): New function.
26878         (main): Call the new functions.
26880         * math/gen-auto-libm-tests.c: New file.
26881         * math/auto-libm-test-in: Likewise.
26882         * math/auto-libm-test-out: New generated file.
26883         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26884         variables.
26885         (%beautify): Add generated representations of zero.
26886         (top level): Set $auto_input and call parse_auto_input.
26887         (beautify): Remove trailing "f" from hex float constants.
26888         (parse_args): Handle XFAIL_TEST.
26889         (convert_condition): New function.
26890         (or_value): Likewise.
26891         (or_cond_value): Likewise.
26892         (generate_testfile): Handle AUTO_TESTS_* lines.
26893         (parse_auto_input): New function.
26894         * math/libm-test.inc (XFAIL_TEST): New macro.
26895         (ERRNO_UNCHANGED): Update value.
26896         (ERRNO_EDOM): Likewise.
26897         (ERRNO_ERANGE): Likewise.
26898         (IGNORE_RESULT): Likewise.
26899         (TEST_COND_flt_32): New macro.
26900         (TEST_COND_dbl_64): Likewise.
26901         (TEST_COND_ldbl_96_intel): Likewise.
26902         (TEST_COND_ldbl_96_m68k): Likewise.
26903         (TEST_COND_ldbl_128): Likewise.
26904         (TEST_COND_ldbl_128ibm): Likewise.
26905         (TEST_COND_long32): Likewise.
26906         (TEST_COND_long64): Likewise.
26907         (TEST_COND_before_rounding): Likewise.
26908         (TEST_COND_after_rounding): Likewise.
26909         (enable_test): Handle XFAIL_TEST flag.
26910         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26911         with finite results.
26912         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26913         auto-libm-test-out.
26915 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26916             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26918         [BZ #16214]
26919         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26920         __tls_get_addr_internal instead of __tls_get_offset in order to
26921         avoid GOT pointer dependency.  Make rtld export
26922         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26923         __tls_get_addr since we are a __tls_get_offset platform.
26924         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26925         GOT pointer being set up before.
26926         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26928 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26930         * manual/math.texi (Errors in Math Functions): Document accuracy
26931         goals.
26933         [BZ #15004]
26934         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26935         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26936         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26937         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26938         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26939         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26940         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26941         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26942         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26943         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26944         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26945         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26946         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26947         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26948         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26949         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26951         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26952         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26953         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26954         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26955         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26956         Likewise.
26957         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26958         Likewise.
26959         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26960         Likewise.
26961         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26962         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26963         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26964         atomic-feupdateenv and flt-rounds.
26965         * sysdeps/powerpc/nofpu/Versions (libc): Add
26966         __atomic_feholdexcept, __atomic_feclearexcept,
26967         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26968         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26969         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26970         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26971         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26972         here.
26973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26974         Update.
26976         * manual/arith.texi (FP Exceptions): Document that exceptions may
26977         not be raised when matherr is used.
26978         (Math Error Reporting): Document overflow in directed rounding
26979         modes.  Document that errno may not be set when finite values are
26980         returned on overflow.  Document intent to set errno on underflow
26981         only for underflow to zero.
26983         [BZ #16271]
26984         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26985         round-to-nearest then adjust result for other rounding modes.
26986         * include/fenv.h (fegetround): Use libm_hidden_proto.
26987         * math/fegetround.c (fegetround): Use libm_hidden_def.
26988         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26989         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26990         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26991         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26992         Likewise.
26993         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26994         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26995         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26996         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26998 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27000         [BZ #16077]
27001         * nss/Versions (libnss_files): Add
27002         _nss_files_gethostbyname3_r.
27003         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27004         New function.
27005         (HOST_DB_LOOKUP): Remove macro.
27006         (_nss_files_gethostbyname_r): Implement function without the
27007         HOST_DB_LOOKUP macro.
27008         (_nss_files_gethostbyname2_r): Likewise.
27010 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27012         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27014 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27016         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27017         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27018         warning.
27020 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27022         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27023         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27024         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27025         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27026         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27027         __fe_nomask_env_priv and attribute_hidden.
27028         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27029         (libc_feupdateenv_test_ppc): Likewise.
27030         (libc_feresetround_ppc): Likewise.
27031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27032         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27033         compat_symbol macro.
27034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27035         (__fe_nomask_env): Likewise.
27036         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27038 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27040         * string/Makefile: Remove ifunc tests.
27041         * string/test-string.h: Define TEST_IFUNC.
27042         * string/test-bcopy-ifunc.c: Remove.
27043         * string/test-bzero-ifunc.c: Likewise.
27044         * string/test-memccpy-ifunc.c: Likewise.
27045         * string/test-memchr-ifunc.c: Likewise.
27046         * string/test-memcmp-ifunc.c: Likewise.
27047         * string/test-memcpy-ifunc.c: Likewise.
27048         * string/test-memmem-ifunc.c: Likewise.
27049         * string/test-memmove-ifunc.c: Likewise.
27050         * string/test-mempcpy-ifunc.c: Likewise.
27051         * string/test-memrchr-ifunc.c: Likewise.
27052         * string/test-memset-ifunc.c: Likewise.
27053         * string/test-rawmemchr-ifunc.c: Likewise.
27054         * string/test-stpcpy-ifunc.c: Likewise.
27055         * string/test-stpncpy-ifunc.c: Likewise.
27056         * string/test-strcasecmp-ifunc.c: Likewise.
27057         * string/test-strcasestr-ifunc.c: Likewise.
27058         * string/test-strcat-ifunc.c: Likewise.
27059         * string/test-strchr-ifunc.c: Likewise.
27060         * string/test-strchrnul-ifunc.c: Likewise.
27061         * string/test-strcmp-ifunc.c: Likewise.
27062         * string/test-strcpy-ifunc.c: Likewise.
27063         * string/test-strcspn-ifunc.c: Likewise.
27064         * string/test-strlen-ifunc.c: Likewise.
27065         * string/test-strncasecmp-ifunc.c: Likewise.
27066         * string/test-strncat-ifunc.c: Likewise.
27067         * string/test-strncmp-ifunc.c: Likewise.
27068         * string/test-strncpy-ifunc.c: Likewise.
27069         * string/test-strnlen-ifunc.c: Likewise.
27070         * string/test-strpbrk-ifunc.c: Likewise.
27071         * string/test-strrchr-ifunc.c: Likewise.
27072         * string/test-strspn-ifunc.c: Likewise.
27073         * string/test-strstr-ifunc.c: Likewise.
27075 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27077         * benchtests/Makefile: Remove ifunc tests.
27078         * benchtests/bench-string.h: Define TEST_IFUNC.
27079         * benchtests/bench-bcopy-ifunc.c: Remove.
27080         * benchtests/bench-bzero-ifunc.c: Likewise.
27081         * benchtests/bench-memccpy-ifunc.c: Likewise.
27082         * benchtests/bench-memchr-ifunc.c: Likewise.
27083         * benchtests/bench-memcmp-ifunc.c: Likewise.
27084         * benchtests/bench-memcpy-ifunc.c: Likewise.
27085         * benchtests/bench-memmem-ifunc.c: Likewise.
27086         * benchtests/bench-memmove-ifunc.c: Likewise.
27087         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27088         * benchtests/bench-memrchr-ifunc.c: Likewise.
27089         * benchtests/bench-memset-ifunc.c: Likewise.
27090         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27091         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27092         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27093         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27094         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27095         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27096         * benchtests/bench-strcat-ifunc.c: Likewise.
27097         * benchtests/bench-strchr-ifunc.c: Likewise.
27098         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27099         * benchtests/bench-strcmp-ifunc.c: Likewise.
27100         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27101         * benchtests/bench-strcpy-ifunc.c: Likewise.
27102         * benchtests/bench-strcspn-ifunc.c: Likewise.
27103         * benchtests/bench-strlen-ifunc.c: Likewise.
27104         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27105         * benchtests/bench-strncat-ifunc.c: Likewise.
27106         * benchtests/bench-strncmp-ifunc.c: Likewise.
27107         * benchtests/bench-strncpy-ifunc.c: Likewise.
27108         * benchtests/bench-strnlen-ifunc.c: Likewise.
27109         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27110         * benchtests/bench-strrchr-ifunc.c: Likewise.
27111         * benchtests/bench-strsep-ifunc.c: Likewise.
27112         * benchtests/bench-strspn-ifunc.c: Likewise.
27113         * benchtests/bench-strstr-ifunc.c: Likewise.
27115 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27117         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27119 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27121         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27122         * rt/aio.h: Likewise.
27123         * sysdeps/gnu/bits/utmp.h: Likewise.
27124         * sysdeps/gnu/bits/utmpx.h: Likewise.
27125         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27126         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27127         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27128         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27129         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27130         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27131         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27132         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27133         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27134         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27135         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27136         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27137         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27139         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27140         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27141         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27142         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27143         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27144         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27145         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27146         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27147         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27148         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27149         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27150         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27151         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27152         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27153         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27154         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27155         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27156         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27157         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27158         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27159         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27160         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27161         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27162         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27163         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27164         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27165         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27166         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27168 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27170         [BZ #16245]
27171         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27172         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27174 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27176         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27177         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27178         Likewise.
27180 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27182         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27183         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27184         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27185         (__fesetround): Remove define.
27186         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27187         rounding and exceptions handling.
27188         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27189         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27190         (__fe_nomask_env): Likewise.
27191         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27192         __fegetround instead of fegetround.
27193         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27194         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27196 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27198         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27199         it's there.
27201         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27203 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27205         [BZ #11157]
27206         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27207         (encrypt_r): Likewise.
27208         * malloc/obstack.h (obstack_free): Likewise.
27209         * posix/unistd.h (encrypt): Likewise.
27211 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27213         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27214         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27215         DL_CALL_DT_FINI() that call the functions directly.
27216         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27217         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27218         * elf/dl-fini.c: Likewise.
27220 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27222         * malloc/hooks.c (memalign_check): Add alignment rounding.
27223         * malloc/malloc.c (_mid_memalign): New function.
27224         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27225         Implement by calling _mid_memalign.
27226         * manual/probes.texi (Memory Allocation Probes): Remove
27227         memory_valloc_retry and memory_pvalloc_retry.
27229 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27231         * locale/programs/locarchive.c (open_archive): Add const
27232         qualifier to ARCHIVEFNAME and copy default fname to
27233         DEFAULT_FNAME.
27235         [BZ #15601]
27236         * libio/tst-widetext.input: Rename Oriya to Odia.
27237         * locale/iso-639.def: Likewise.
27239         * manual/probes.texi (Mathematical Function Probes): Add
27240         documentation for sin, cos, asin and acos probes.
27241         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27242         (__sin32): Add slowasin probe.
27243         (__cos32): Add slowacos probe.
27244         (__mpsin): Add slowsin probe.
27245         (__mpcos): Add slowcos probe.
27247 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27249         [BZ #15483]
27250         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27251         thread-local __sim_exceptions_thread and global
27252         __sim_exceptions_global.
27253         (__sim_disabled_exceptions): Change to thread-local
27254         __sim_disabled_exceptions_thread and global
27255         __sim_disabled_exceptions_global.
27256         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27257         and global __sim_round_mode_global.
27258         (__simulate_exceptions): Use thread-local floating-point state and
27259         set global state from it as needed.
27260         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27261         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27262         __sim_round_mode_thread.
27263         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27264         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27265         and global __sim_exceptions_global.
27266         (__sim_disabled_exceptions): Change to thread-local
27267         __sim_disabled_exceptions_thread and global
27268         __sim_disabled_exceptions_global.
27269         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27270         and global __sim_round_mode_global.
27271         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27272         (SIM_SET_GLOBAL): Likewise.
27273         * sysdeps/powerpc/soft-fp/sfp-machine.h
27274         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27275         __sim_round_mode_thread.
27276         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27277         __sim_disabled_exceptions_thread.
27278         (__sim_exceptions): Change to __sim_exceptions_thread.
27279         (__sim_disabled_exceptions): Change to
27280         __sim_disabled_exceptions_thread.
27281         (__sim_round_mode): Change to __sim_round_mode_thread.
27282         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27283         thread-local floating-point state and set global state from it as
27284         needed.
27285         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27286         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27287         (__sim_disabled_exceptions): Remove extern declaration.
27288         (feenableexcept): Use thread-local floating-point state and set
27289         global state from it as needed.
27290         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27291         extern declaration.
27292         (__sim_disabled_exceptions): Likewise.
27293         (__sim_round_mode): Likewise.
27294         (__fegetenv): Use thread-local floating-point state.
27295         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27296         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27297         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27298         floating-point state and set global state from it as needed.
27299         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27300         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27301         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27302         Likewise.
27303         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27304         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27305         Likewise.
27306         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27307         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27308         Use __sim_round_mode_thread.
27309         * math/test-fenv-tls.c: New file.
27310         * math/Makefile (tests): Add test-fenv-tls.
27311         ($(objpfx)test-fenv-tls): Depend on
27312         $(common-objpfx)nptl/libpthread.so.
27314 2013-11-19  Andreas Schwab  <schwab@suse.de>
27316         * locale/programs/locale.c (show_info): Decode wordarray elements.
27317         * locale/categories.def (LC_MONETARY): Add element for
27318         _NL_MONETARY_CRNCYSTR.
27319         * locale/C-monetary.c (conversion_rate): New variable.
27320         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27321         element.
27323 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27325         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27326         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27328 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27330         * elf/Makefile (tst-auxv): New test.
27331         * elf/tst-auxv.c: New
27332         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27334 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27336         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27337         (hidden_proto): Caller changed.
27338         (hidden_tls_proto): New macro.
27339         (libc_hidden_tls_proto): Likewise.
27340         (rtld_hidden_tls_proto): Likewise.
27341         (libm_hidden_tls_proto): Likewise.
27342         (libresolv_hidden_tls_proto): Likewise.
27343         (librt_hidden_tls_proto): Likewise.
27344         (libdl_hidden_tls_proto): Likewise.
27345         (libnss_files_hidden_tls_proto): Likewise.
27346         (libnsl_hidden_tls_proto): Likewise.
27347         (libnss_nisplus_hidden_tls_proto): Likewise.
27348         (libutil_hidden_tls_proto): Likewise.
27350 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27352         [BZ #10253]
27353         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27354         (decompose_rpath): Defer expansion to fillin_rpath.
27355         (_dl_init_paths): Pass linkmap to fillin_rpath.
27357 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27359         * benchtests/Makefile: Add strsep.
27360         * benchtests/bench-strsep.c: New file: strsep benchtest.
27361         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27363 2013-11-18  Andreas Schwab  <schwab@suse.de>
27365         * locale/programs/locale.c (show_info) [case byte]: Check for
27366         '\377' instead of '\177'.
27367         * locale/C-monetary.c (not_available): Always use "\377".
27368         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27369         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27370         detect unavailable sign_posn locale elements.
27371         * locale/localeconv.c (__localeconv): For grouping and
27372         mon_grouping handle "\177" and "\377" like no grouping.
27373         (INT_ELEM): New macro.  Use it to set all numeric members.
27374         * locale/programs/ld-monetary.c (monetary_read)
27375         <tok_mon_grouping>: Normalize single -1 to the empty string.
27376         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27377         Likewise.
27379 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27381         [BZ #16055]
27382         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27383         when we match (nil).
27384         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27386 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27388         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27389         (NO_TEST_INLINE): Update value.
27390         (ERRNO_UNCHANGED): Likewise.
27391         (ERRNO_EDOM): Likewise.
27392         (ERRNO_ERANGE): Likewise.
27393         (IGNORE_RESULT): Likewise.
27394         (check_float_internal): Check signs of NaN results if
27395         TEST_NAN_SIGN used.
27396         (check_complex): Pass TEST_NAN_SIGN flag through to second
27397         check_float_internal call.
27398         (copysign_test_data): Add tests with quiet NaNs as second
27399         argument.  Use TEST_NAN_SIGN.
27400         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27401         TEST_NAN_SIGN.
27402         (signbit_test_data): Add tests of quiet NaN argument.
27403         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27405         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27406         $ignore_result.
27407         (parse_args): Handle function results specified as IGNORE.
27408         * math/libm-test.inc (IGNORE_RESULT): New macro.
27409         (check_float_internal): Do not check numerical result if flag
27410         IGNORE_RESULT set.
27411         (check_complex): Pass through IGNORE_RESULT to second
27412         check_float_internal call.
27413         (check_int): Do not check numerical result if flag IGNORE_RESULT
27414         set.
27415         (check_long): Likewise.
27416         (check_bool): Likewise.
27417         (check_longlong): Likewise.
27418         (lrint_test_data): Add tests of infinite and NaN arguments.
27419         (lrint_tonearest_test_data): Likewise.
27420         (lrint_towardzero_test_data): Likewise.
27421         (lrint_downward_test_data): Likewise.
27422         (lrint_upward_test_data): Likewise.
27423         (llrint_test_data): Likewise.
27424         (llrint_tonearest_test_data): Likewise.
27425         (llrint_towardzero_test_data): Likewise.
27426         (llrint_downward_test_data): Likewise.
27427         (llrint_upward_test_data): Likewise.
27428         (lround_test_data): Likewise.
27429         (llround_test_data): Likewise.
27431         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27432         (ERRNO_UNCHANGED): Update value.
27433         (ERRNO_EDOM): Likewise.
27434         (ERRNO_ERANGE): Likewise.
27435         (NO_TEST_INLINE_FLOAT): New macro.
27436         (NO_TEST_INLINE_DOUBLE): Likewise.
27437         (enable_test): New function.
27438         (RUN_TEST_f_f): Check enable_test before running test.
27439         (RUN_TEST_2_f): Likewise.
27440         (RUN_TEST_fff_f): Likewise.
27441         (RUN_TEST_c_f): Likewise.
27442         (RUN_TEST_f_f1): Likewise.
27443         (RUN_TEST_fF_f1): Likewise.
27444         (RUN_TEST_fI_f1): Likewise.
27445         (RUN_TEST_ffI_f1): Likewise.
27446         (RUN_TEST_c_c): Likewise.
27447         (RUN_TEST_cc_c): Likewise.
27448         (RUN_TEST_f_i): Likewise.
27449         (RUN_TEST_f_i_tg): Likewise.
27450         (RUN_TEST_ff_i_tg): Likewise.
27451         (RUN_TEST_f_b): Likewise.
27452         (RUN_TEST_f_b_tg): Likewise.
27453         (RUN_TEST_f_l): Likewise.
27454         (RUN_TEST_f_L): Likewise.
27455         (RUN_TEST_fFF_11): Likewise.
27456         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27457         conditionals.
27458         (cosh_test_data): Likewise.
27459         (exp_test_data): Likewise.
27460         (expm1_test_data): Likewise.
27461         (hypot_test_data): Likewise.
27462         (pow_test_data): Likewise.
27463         (sinh_test_data): Likewise.
27464         (tanh_test_data): Likewise.
27465         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27466         flags argument.
27468         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27469         tests with quiet NaN input and output.
27470         (acosh_test_data): Likewise.
27471         (asin_test_data): Likewise.
27472         (asinh_test_data): Likewise.
27473         (atan_test_data): Likewise.
27474         (atanh_test_data): Likewise.
27475         (atan2_test_data): Likewise.
27476         (cbrt_test_data): Likewise.
27477         (cos_test_data): Likewise.
27478         (cosh_test_data): Likewise.
27479         (erf_test_data): Likewise.
27480         (erfc_test_data): Likewise.
27481         (exp_test_data): Likewise.
27482         (exp10_test_data): Likewise.
27483         (exp2_test_data): Likewise.
27484         (expm1_test_data): Likewise.
27485         (hypot_test_data): Likewise.
27486         (j0_test_data): Likewise.
27487         (j1_test_data): Likewise.
27488         (jn_test_data): Likewise.
27489         (lgamma_test_data): Likewise.
27490         (log_test_data): Likewise.
27491         (log10_test_data): Likewise.
27492         (log1p_test_data): Likewise.
27493         (log2_test_data): Likewise.
27494         (pow_test_data): Likewise.
27495         (scalb_test_data): Likewise.
27496         (sin_test_data): Likewise.
27497         (sincos_test_data): Likewise.
27498         (sinh_test_data): Likewise.
27499         (tan_test_data): Likewise.
27500         (tanh_test_data): Likewise.
27501         (tgamma_test_data): Likewise.
27502         (y0_test_data): Likewise.
27503         (y1_test_data): Likewise.
27504         (yn_test_data): Likewise.
27506         [BZ #16167]
27507         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27508         argument being NaN and avoid computations with second argument in
27509         that case.
27510         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27511         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27512         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27514 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27516         * locale/iso-639.def: Add Chitwani Tharu (the).
27518 2013-11-14  Andreas Schwab  <schwab@suse.de>
27520         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27521         word instead of empty string.
27523 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27526         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27528         (__fe_nomask_env): Likewise.
27530 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27532         * benchtests/bench-timing.h: Include time.h.
27534 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27536         [BZ #15997]
27537         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27538         to 3.4.0 for x32.
27539         * sysdeps/unix/sysv/linux/configure: Regenerated.
27541 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27543         [BZ #16151]
27544         * stdlib/strtod_l.c (round_and_return): Do not consider
27545         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27546         exponent one less than half the least subnormal exponent.
27547         * stdlib/test-strtod-round-data: Add more tests.
27548         * stdlib/tst-strtod-round.c (tests): Regenerated.
27550 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27552         [BZ #14143]
27553         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27554         (__fe_mask_env): Likewise.
27555         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27556         libm_hidden_proto and add function prototype.
27557         (__fe_mask_env): Add function prototype.
27558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27559         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27561         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27563         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27565 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27567         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27568         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27570 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27572         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27573         of htab_find_slot().
27575 2013-11-11  David S. Miller  <davem@davemloft.net>
27577         [BZ #16150]
27578         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27579         symbol in the non-vis3 case in static builds.
27580         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27581         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27582         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27583         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27585 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27587         [BZ #387]
27588         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27589         it is empty.
27591 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27593         * benchtests/Makefile: Add bench-strtod.
27594         * benchtests/bench-strtod.c: New file: strtod benchtest
27596 2013-11-11  Andreas Schwab  <schwab@suse.de>
27598         [BZ #16153]
27599         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27600         terminating NUL in key length.
27602 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27604         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27605         Add artificial ODP entry for vDSO symbol for PPC64.
27606         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27607         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27609 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27611         [BZ #15374]
27612         * nss/getent.c (services_keys): Recognize services starting with digit.
27614 2013-11-06  David S. Miller  <davem@davemloft.net>
27616         [BZ #15985]
27617         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27618         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27620 2013-11-06  Will Newton  <will.newton@linaro.org>
27622         * manual/memory.texi (Malloc Examples): Remove register
27623         keyword from examples.
27625 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27627         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27629 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27631         [BZ #6981]
27632         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27633         depending on [__GCC_IEC_559 > 0].
27634         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27635         depending on [__GCC_IEC_559_COMPLEX > 0].
27637 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27639         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27640         to iso-639.def.
27642 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27644         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27646 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27648         [BZ #16112]
27649         * malloc/malloc (malloc_info): Do not handle first bin as
27650         special case.
27652 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27654         * locale/iso-639.def: Add Central Nahuatl (nhn).
27656 2013-11-01  Bruno Haible  <bruno@clisp.org>
27658         [BZ #7003]
27659         * manual/math.texi (BSD Random): Specify range upper bound as
27660         in POSIX.
27662 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27664         * locale/iso-639.def: Add Meadow Mari (mhr).
27666 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27668         [BZ #14752], [BZ #15763]
27669         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27670         Validate name.
27671         * rt/tst_shm.c: Add test for escaping directory.
27673 2013-10-31  Andreas Schwab  <schwab@suse.de>
27675         [BZ #15917]
27676         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27677         followed by 'x' as part of digit sequence.
27678         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27680 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27682         [BZ #16037]
27683         * configure.ac: allow GNU Make 4.0 and greater.
27684         * configure: Regenerated.
27686 2013-10-30  Will Newton  <will.newton@linaro.org>
27688         [BZ #16038]
27689         * malloc/hooks.c (memalign_check): Limit alignment to the
27690         maximum representable power of two.
27691         * malloc/malloc.c (__libc_memalign): Likewise.
27692         * malloc/tst-memalign.c (do_test): Add test for very
27693         large alignment values.
27694         * malloc/tst-posix_memalign.c (do_test): Likewise.
27696 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27698         [BZ #11087]
27699         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27700         (munmap_chunk): Likewise.
27701         (mremap_chunk): Likewise.
27703 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27705         [BZ #15799]
27706         * stdlib/div.c (div): Remove obsolete code.
27707         * stdlib/ldiv.c (ldiv): Likewise.
27708         * stdlib/lldiv.c (lldiv): Likewise.
27710 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27712         [BZ #16071]
27713         * nss/nss_files/files-XXX.c (get_contents_ret): New
27714         enumerator.
27715         (get_contents): New function.
27716         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27718 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27720         * configure.in: Moved to ...
27721         * configure.ac: ... here. Change reference to configure.in
27722         to configure.ac.
27723         * sysdeps/arm/preconfigure.ac: ... here.
27724         configure.in to configure.ac.
27725         * sysdeps/gnu/configure.in: Moved to ...
27726         * sysdeps/gnu/configure.ac: ... here.
27727         * sysdeps/i386/configure.in: Moved to ...
27728         * sysdeps/i386/configure.ac: ... here.
27729         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27730         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27731         * sysdeps/mach/configure.in: Moved to ...
27732         * sysdeps/mach/configure.ac: ... here.
27733         * sysdeps/mach/hurd/configure.in: Moved to ...
27734         * sysdeps/mach/hurd/configure.ac: ... here.
27735         * sysdeps/powerpc/configure.in: Moved to ...
27736         * sysdeps/powerpc/configure.ac: ... here.
27737         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27738         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27739         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27740         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27741         * sysdeps/s390/s390-32/configure.in: Moved to ...
27742         * sysdeps/s390/s390-32/configure.ac: ... here.
27743         * sysdeps/s390/s390-64/configure.in: Moved to ...
27744         * sysdeps/s390/s390-64/configure.ac: ... here.
27745         * sysdeps/sh/configure.in: Moved to ...
27746         * sysdeps/sh/configure.ac: ... here.
27747         * sysdeps/sparc/configure.in: Moved to ...
27748         * sysdeps/sparc/configure.ac: ... here.
27749         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27750         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27751         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27752         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27753         * sysdeps/x86_64/configure.in: Moved to ...
27754         * sysdeps/x86_64/configure.ac: ... here.
27755         * sysdeps/x86_64/preconfigure.in: Moved to ...
27756         * sysdeps/x86_64/preconfigure.ac: ... here.
27757         * aclocal.m4: Change reference to configure.in to configure.ac.
27758         * config.h.in: Likewise.
27759         * manual/install.texi: Likewise.
27760         * manual/maint.texi: Likewise.
27761         * Makefile: Likewise.
27762         * malloc/Makefile: Likewise.
27763         * nscd/Makefile: Likewise.
27764         * Makeconfig: Change reference to configure.in and
27765         preconfigure.in to configure.ac and preconfigure.ac
27766         respectively.
27767         * INSTALL: Regenerated.
27768         * configure: Likewise.
27769         * sysdeps/gnu/configure: Likewise.
27770         * sysdeps/i386/configure: Likewise.
27771         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27772         * sysdeps/mach/configure: Likewise.
27773         * sysdeps/mach/hurd/configure: Likewise.
27774         * sysdeps/powerpc/configure: Likewise.
27775         * sysdeps/powerpc/powerpc32/configure: Likewise.
27776         * sysdeps/powerpc/powerpc64/configure: Likewise.
27777         * sysdeps/s390/s390-32/configure: Likewise.
27778         * sysdeps/s390/s390-64/configure: Likewise.
27779         * sysdeps/sh/configure: Likewise.
27780         * sysdeps/sparc/configure: Likewise.
27781         * sysdeps/unix/sysv/linux/configure: Likewise.
27782         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27783         * sysdeps/x86_64/configure: Likewise.
27784         * sysdeps/x86_64/preconfigure: Likewise.
27786 2013-10-29  Andreas Schwab  <schwab@suse.de>
27788         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27790 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27792         * benchtests/pow-inputs: Add new inputs.
27794         * benchtests/exp-inputs: Add new inputs.
27796         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27797         conditional check for return value.
27798         (__cos32): Likewise.
27800 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27802         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27803         to provide a boost for large inputs with word alignment.
27804         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27805         implementation based on optimized PPC64 strcpy.
27806         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27807         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27808         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27809         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27811 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27813         [BZ #2801]
27814         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27816 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27818         [BZ #14876]
27819         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27820         * time/tst-strptime.c (day_tests): Add testcase.
27822 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27824         [BZ #14029]
27825         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27827 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27829         [BZ #16074]
27830         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27831         MAP_FAILED on error.
27833 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27835         [BZ #16072]
27836         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27837         heap for large requests.
27839 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27841         [BZ #9954]
27842         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27843         result if the result has no associated interface.
27844         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27845         interface for all 127.X.Y.Z addresses.
27847 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27849         * locale/iso-639.def: Add Ligurian (lij)
27851 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27853         [BZ #15825]
27854         * sunrpc/rpc_main.c: Document rpcgen -5.
27856 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27858         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27860 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27862         [BZ #10278]
27863         * posix/glob.c: Match only directories when trailing slash is present.
27864         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27865         (main): Add testcase.
27867 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27869         [BZ #15670]
27870         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27872 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27874         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27875         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27876         AUTH_DES and cindex for FIPS 140-2.
27877         (DES Encryption): Add cindex FIPS 46-3.
27879         * locale/locarchive.h (struct locarhandle): Add fname.
27880         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27881         if an optional argument was specified to --list-archive,
27882         otherwise NULL.
27883         * locale/programs/locarchive.c (show_archive_content): Take new
27884         argument fname and pass it via ah.fname to open_archive.
27885         * locale/programs/localedef.h: Update decl.
27886         (open_archive): If AH->fname is non-null, open that file
27887         rather than the default file name, and don't ignore ENOENT.
27888         (create_archive): Set AH.fname to NULL.
27889         (delete_locales_from_archive): Likewise.
27890         (add_locales_to_archive): Likewise.
27891         * locale/programs/locfile.c (write_all_categories): Likewise.
27893 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27894             Aldy Hernandez  <aldyh@redhat.com>
27896         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27897         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27898         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27899         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27900         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27901         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27902         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27903         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27904         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27905         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27906         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27907         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27908         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27909         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27910         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27911         Likewise.
27912         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27913         Likewise.
27914         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27915         Likewise.
27916         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27917         Likewise.
27918         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27919         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27920         Likewise.
27921         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27922         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27923         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27924         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27925         Likewise.
27926         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27927         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27928         * sysdeps/powerpc/preconfigure: Likewise.
27929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27930         Likewise.
27931         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27932         Replace contents of file by #include of <fenv_libc.h>.
27933         * sysdeps/powerpc/soft-fp/sfp-machine.h
27934         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27935         and <sys/prctl.h>.
27936         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27937         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27938         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27939         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27940         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27941         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27942         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27943         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27944         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27945         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27946         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27947         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27949         Allow copysignl PLT reference to be missing.
27951 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27952             Joseph Myers  <joseph@codesourcery.com
27954         [BZ #15948]
27955         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27956         single character.
27957         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27959 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27961         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27962         * elf/tst-tls1.c: Likewise.
27963         * elf/tst-tls10.h: Likewise.
27964         * elf/tst-tls14.c: Likewise.
27965         * elf/tst-tls2.c: Likewise.
27966         * elf/tst-tls3.c: Likewise.
27967         * elf/tst-tls4.c: Likewise.
27968         * elf/tst-tls5.c: Likewise.
27969         * elf/tst-tls6.c: Likewise.
27970         * elf/tst-tls7.c: Likewise.
27971         * elf/tst-tls8.c: Likewise.
27972         * elf/tst-tls9.c: Likewise.
27973         * elf/tst-tlsmod1.c: Likewise.
27974         * elf/tst-tlsmod13.c: Likewise.
27975         * elf/tst-tlsmod13a.c: Likewise.
27976         * elf/tst-tlsmod14a.c: Likewise.
27977         * elf/tst-tlsmod16a.c: Likewise.
27978         * elf/tst-tlsmod16b.c: Likewise.
27979         * elf/tst-tlsmod2.c: Likewise.
27980         * elf/tst-tlsmod3.c: Likewise.
27981         * elf/tst-tlsmod4.c: Likewise.
27982         * elf/tst-tlsmod5.c: Likewise.
27983         * elf/tst-tlsmod6.c: Likewise.
27985 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27987         [BZ #12486]
27988         * malloc/malloc.c: remove checks for statistics.
27990 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27992         [BZ #15277]
27993         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27994         * inet/tst-network.c: Add testcase.
27996 2013-10-17  Andreas Schwab  <schwab@suse.de>
27998         [BZ #15218]
27999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28000         to determine canonical name.
28002 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
28004         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28005         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28006         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28007         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28008         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28009         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28010         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28011         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28012         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28013         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28014         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28015         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28016         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28017         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28018         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28019         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28020         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28021         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28022         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28023         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28024         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28025         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28026         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28027         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28028         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28029         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28030         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28031         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28032         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28033         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28034         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28035         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28036         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28037         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28038         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28039         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28040         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28041         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28042         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28043         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28044         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28045         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28046         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28047         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28048         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28049         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28050         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28051         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28052         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28053         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28054         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28055         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28056         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28057         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28058         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28059         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28060         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28061         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28063 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28065         [BZ #16041]
28066         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28067         make result into a quiet NaN.
28069 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28071         * soft-fp/adddf3.c: Fix horizontal whitespace.
28072         * soft-fp/addsf3.c: Likewise.
28073         * soft-fp/addtf3.c: Likewise.
28074         * soft-fp/divdf3.c: Likewise.
28075         * soft-fp/divsf3.c: Likewise.
28076         * soft-fp/divtf3.c: Likewise.
28077         * soft-fp/double.h: Likewise.
28078         * soft-fp/eqdf2.c: Likewise.
28079         * soft-fp/eqsf2.c: Likewise.
28080         * soft-fp/eqtf2.c: Likewise.
28081         * soft-fp/extenddftf2.c: Likewise.
28082         * soft-fp/extended.h: Likewise.
28083         * soft-fp/extendsfdf2.c: Likewise.
28084         * soft-fp/extendsftf2.c: Likewise.
28085         * soft-fp/extendxftf2.c: Likewise.
28086         * soft-fp/fixdfdi.c: Likewise.
28087         * soft-fp/fixdfsi.c: Likewise.
28088         * soft-fp/fixdfti.c: Likewise.
28089         * soft-fp/fixsfdi.c: Likewise.
28090         * soft-fp/fixsfsi.c: Likewise.
28091         * soft-fp/fixsfti.c: Likewise.
28092         * soft-fp/fixtfdi.c: Likewise.
28093         * soft-fp/fixtfsi.c: Likewise.
28094         * soft-fp/fixtfti.c: Likewise.
28095         * soft-fp/fixunsdfdi.c: Likewise.
28096         * soft-fp/fixunsdfsi.c: Likewise.
28097         * soft-fp/fixunsdfti.c: Likewise.
28098         * soft-fp/fixunssfdi.c: Likewise.
28099         * soft-fp/fixunssfsi.c: Likewise.
28100         * soft-fp/fixunssfti.c: Likewise.
28101         * soft-fp/fixunstfdi.c: Likewise.
28102         * soft-fp/fixunstfsi.c: Likewise.
28103         * soft-fp/fixunstfti.c: Likewise.
28104         * soft-fp/floatdidf.c: Likewise.
28105         * soft-fp/floatdisf.c: Likewise.
28106         * soft-fp/floatditf.c: Likewise.
28107         * soft-fp/floatsidf.c: Likewise.
28108         * soft-fp/floatsisf.c: Likewise.
28109         * soft-fp/floatsitf.c: Likewise.
28110         * soft-fp/floattidf.c: Likewise.
28111         * soft-fp/floattisf.c: Likewise.
28112         * soft-fp/floattitf.c: Likewise.
28113         * soft-fp/floatundidf.c: Likewise.
28114         * soft-fp/floatundisf.c: Likewise.
28115         * soft-fp/floatunditf.c: Likewise.
28116         * soft-fp/floatunsidf.c: Likewise.
28117         * soft-fp/floatunsisf.c: Likewise.
28118         * soft-fp/floatunsitf.c: Likewise.
28119         * soft-fp/floatuntidf.c: Likewise.
28120         * soft-fp/floatuntisf.c: Likewise.
28121         * soft-fp/floatuntitf.c: Likewise.
28122         * soft-fp/fmadf4.c: Likewise.
28123         * soft-fp/fmasf4.c: Likewise.
28124         * soft-fp/fmatf4.c: Likewise.
28125         * soft-fp/gedf2.c: Likewise.
28126         * soft-fp/gesf2.c: Likewise.
28127         * soft-fp/getf2.c: Likewise.
28128         * soft-fp/ledf2.c: Likewise.
28129         * soft-fp/lesf2.c: Likewise.
28130         * soft-fp/letf2.c: Likewise.
28131         * soft-fp/muldf3.c: Likewise.
28132         * soft-fp/mulsf3.c: Likewise.
28133         * soft-fp/multf3.c: Likewise.
28134         * soft-fp/negdf2.c: Likewise.
28135         * soft-fp/negsf2.c: Likewise.
28136         * soft-fp/negtf2.c: Likewise.
28137         * soft-fp/op-1.h: Likewise.
28138         * soft-fp/op-2.h: Likewise.
28139         * soft-fp/op-4.h: Likewise.
28140         * soft-fp/op-8.h: Likewise.
28141         * soft-fp/op-common.h: Likewise.
28142         * soft-fp/quad.h: Likewise.
28143         * soft-fp/single.h: Likewise.
28144         * soft-fp/soft-fp.h: Likewise.
28145         * soft-fp/sqrtdf2.c: Likewise.
28146         * soft-fp/sqrtsf2.c: Likewise.
28147         * soft-fp/sqrttf2.c: Likewise.
28148         * soft-fp/subdf3.c: Likewise.
28149         * soft-fp/subsf3.c: Likewise.
28150         * soft-fp/subtf3.c: Likewise.
28151         * soft-fp/truncdfsf2.c: Likewise.
28152         * soft-fp/trunctfdf2.c: Likewise.
28153         * soft-fp/trunctfsf2.c: Likewise.
28154         * soft-fp/trunctfxf2.c: Likewise.
28155         * soft-fp/unorddf2.c: Likewise.
28156         * soft-fp/unordsf2.c: Likewise.
28157         * soft-fp/unordtf2.c: Likewise.
28159 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28161         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28162         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28164 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28166         * elf/dl-libc.c: Clear initfini list after freeing.
28168 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28170         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28171         * soft-fp/addsf3.c: Likewise.
28172         * soft-fp/addtf3.c: Likewise.
28173         * soft-fp/divdf3.c: Likewise.
28174         * soft-fp/divsf3.c: Likewise.
28175         * soft-fp/divtf3.c: Likewise.
28176         * soft-fp/double.h: Likewise.
28177         * soft-fp/eqdf2.c: Likewise.
28178         * soft-fp/eqsf2.c: Likewise.
28179         * soft-fp/eqtf2.c: Likewise.
28180         * soft-fp/extenddftf2.c: Likewise.
28181         * soft-fp/extended.h: Likewise.
28182         * soft-fp/extendsfdf2.c: Likewise.
28183         * soft-fp/extendsftf2.c: Likewise.
28184         * soft-fp/extendxftf2.c: Likewise.
28185         * soft-fp/fixdfdi.c: Likewise.
28186         * soft-fp/fixdfsi.c: Likewise.
28187         * soft-fp/fixdfti.c: Likewise.
28188         * soft-fp/fixsfdi.c: Likewise.
28189         * soft-fp/fixsfsi.c: Likewise.
28190         * soft-fp/fixsfti.c: Likewise.
28191         * soft-fp/fixtfdi.c: Likewise.
28192         * soft-fp/fixtfsi.c: Likewise.
28193         * soft-fp/fixtfti.c: Likewise.
28194         * soft-fp/fixunsdfdi.c: Likewise.
28195         * soft-fp/fixunsdfsi.c: Likewise.
28196         * soft-fp/fixunsdfti.c: Likewise.
28197         * soft-fp/fixunssfdi.c: Likewise.
28198         * soft-fp/fixunssfsi.c: Likewise.
28199         * soft-fp/fixunssfti.c: Likewise.
28200         * soft-fp/fixunstfdi.c: Likewise.
28201         * soft-fp/fixunstfsi.c: Likewise.
28202         * soft-fp/fixunstfti.c: Likewise.
28203         * soft-fp/floatdidf.c: Likewise.
28204         * soft-fp/floatdisf.c: Likewise.
28205         * soft-fp/floatditf.c: Likewise.
28206         * soft-fp/floatsidf.c: Likewise.
28207         * soft-fp/floatsisf.c: Likewise.
28208         * soft-fp/floatsitf.c: Likewise.
28209         * soft-fp/floattidf.c: Likewise.
28210         * soft-fp/floattisf.c: Likewise.
28211         * soft-fp/floattitf.c: Likewise.
28212         * soft-fp/floatundidf.c: Likewise.
28213         * soft-fp/floatundisf.c: Likewise.
28214         * soft-fp/floatunsidf.c: Likewise.
28215         * soft-fp/floatunsisf.c: Likewise.
28216         * soft-fp/floatuntidf.c: Likewise.
28217         * soft-fp/floatuntisf.c: Likewise.
28218         * soft-fp/floatuntitf.c: Likewise.
28219         * soft-fp/fmadf4.c: Likewise.
28220         * soft-fp/fmasf4.c: Likewise.
28221         * soft-fp/fmatf4.c: Likewise.
28222         * soft-fp/gedf2.c: Likewise.
28223         * soft-fp/gesf2.c: Likewise.
28224         * soft-fp/getf2.c: Likewise.
28225         * soft-fp/ledf2.c: Likewise.
28226         * soft-fp/lesf2.c: Likewise.
28227         * soft-fp/letf2.c: Likewise.
28228         * soft-fp/muldf3.c: Likewise.
28229         * soft-fp/mulsf3.c: Likewise.
28230         * soft-fp/multf3.c: Likewise.
28231         * soft-fp/negdf2.c: Likewise.
28232         * soft-fp/negsf2.c: Likewise.
28233         * soft-fp/negtf2.c: Likewise.
28234         * soft-fp/op-1.h: Likewise.
28235         * soft-fp/op-2.h: Likewise.
28236         * soft-fp/op-4.h: Likewise.
28237         * soft-fp/op-8.h: Likewise.
28238         * soft-fp/op-common.h: Likewise.
28239         * soft-fp/quad.h: Likewise.
28240         * soft-fp/single.h: Likewise.
28241         * soft-fp/soft-fp.h: Likewise.
28242         * soft-fp/sqrtdf2.c: Likewise.
28243         * soft-fp/sqrtsf2.c: Likewise.
28244         * soft-fp/sqrttf2.c: Likewise.
28245         * soft-fp/subdf3.c: Likewise.
28246         * soft-fp/subsf3.c: Likewise.
28247         * soft-fp/subtf3.c: Likewise.
28248         * soft-fp/truncdfsf2.c: Likewise.
28249         * soft-fp/trunctfdf2.c: Likewise.
28250         * soft-fp/trunctfsf2.c: Likewise.
28251         * soft-fp/trunctfxf2.c: Likewise.
28252         * soft-fp/unorddf2.c: Likewise.
28253         * soft-fp/unordsf2.c: Likewise.
28254         * soft-fp/unordtf2.c: Likewise.
28256 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28258         [BZ #15672]
28259         * misc/error.c (error_tail): Fix possible buffer overflow.
28261 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28263         [BZ #13028]
28264         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28265         address.
28267 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28269         [BZ #832]
28270         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28271         testing pipefail option.
28273 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28275         * soft-fp/double.h: Indent preprocessor directives inside #if.
28276         * soft-fp/extended.h: Likewise.
28277         * soft-fp/op-2.h: Likewise.
28278         * soft-fp/op-4.h: Likewise.
28279         * soft-fp/op-common.h: Likewise.
28280         * soft-fp/quad.h: Likewise.
28281         * soft-fp/single.h: Likewise.
28282         * soft-fp/soft-fp.h: Likewise.
28284 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28286         * iconv/iconv_prog.c: Fix typos.
28287         * stdio-common/psiginfo-data.h: Likewise.
28289 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28291         [BZ #15764]
28292         * locale/setlocale.c: Fix typo.
28294 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28296         [BZ #16036]
28297         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28298         signaling NaN arguments.
28299         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28300         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28302         [BZ #14910]
28303         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28304         unordered operands.
28305         * soft-fp/gesf2.c (__gesf2): Likewise.
28306         * soft-fp/getf2.c (__getf2): Likewise.
28307         * soft-fp/ledf2.c (__ledf2): Likewise.
28308         * soft-fp/lesf2.c (__lesf2): Likewise.
28309         * soft-fp/letf2.c (__letf2): Likewise.
28311         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28312         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28313         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28314         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28315         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28316         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28317         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28318         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28319         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28320         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28321         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28322         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28323         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28324         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28325         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28326         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28327         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28328         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28329         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28330         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28331         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28332         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28333         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28334         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28335         * soft-fp/floattidf.c (__floattidf): Likewise.
28336         * soft-fp/floattisf.c (__floattisf): Likewise.
28337         * soft-fp/floattitf.c (__floattitf): Likewise.
28338         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28339         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28340         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28341         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28342         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28343         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28344         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28345         * soft-fp/gesf2.c (__gesf2): Likewise.
28346         * soft-fp/getf2.c (__getf2): Likewise.
28347         * soft-fp/ledf2.c (__ledf2): Likewise.
28348         * soft-fp/lesf2.c (__lesf2): Likewise.
28349         * soft-fp/letf2.c (__letf2): Likewise.
28351         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28352         Undefine and redefine.
28353         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28354         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28355         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28356         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28357         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28358         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28359         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28360         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28361         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28362         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28363         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28364         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28365         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28366         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28367         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28369         [BZ #16032]
28370         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28371         without decrementing exponent if mantissa >= that for the
28372         denominator, not >.
28373         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28374         denominator, not >.  Decrement exponent in < case instead of
28375         incrementing in >= case.
28376         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28377         without decrementing exponent if mantissa >= that for the
28378         denominator, not >.
28380         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28381         computing saturated result for unsigned overflow.
28383 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28384             Jeff Law  <law@redhat.com>
28386         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28387         (atan2Mp): Add systemtap probe marker.
28388         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28389         (__ieee754_log): Add systemtap probe marker.
28390         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28391         (atanMp): Add systemtap probe marker.
28392         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28393         (tanMp): Add systemtap probe marker.
28394         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28395         (__slowexp): Add systemtap probe marker.
28396         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28397         (__slowpow): Add systemtap probe marker.
28398         * manual/probes.texi: Document probes.
28400 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28402         [BZ #15362]
28403         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28404         written.
28405         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28406         written.
28407         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28408         written to buffer but not flushed.
28409         * libio/iofwrite_u.c:  Likewise.
28410         * libio/iopadn.c:  Return bytes returned even if EOF was
28411         encountered.
28412         * libio/iowpadn.c:  Likewise.
28413         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28414         if _IO_padn does not write the whole buffer.
28415         [!COMPILE_WPRINTF] (PAD): Likewise.
28417 2013-10-10  David S. Miller  <davem@davemloft.net>
28419         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28420         directory block.
28422 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28424         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28425         instead of FSF address.
28426         * soft-fp/fixdfti.c: Likewise.
28427         * soft-fp/fixsfti.c: Likewise.
28428         * soft-fp/fixtfti.c: Likewise.
28429         * soft-fp/fixunsdfti.c: Likewise.
28430         * soft-fp/fixunssfti.c: Likewise.
28431         * soft-fp/fixunstfti.c: Likewise.
28432         * soft-fp/floattidf.c: Likewise.
28433         * soft-fp/floattisf.c: Likewise.
28434         * soft-fp/floattitf.c: Likewise.
28435         * soft-fp/floatuntidf.c: Likewise.
28436         * soft-fp/floatuntisf.c: Likewise.
28437         * soft-fp/floatuntitf.c: Likewise.
28438         * soft-fp/trunctfxf2.c: Likewise.
28440         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28441         * soft-fp/fixdfti.c: Likewise.
28442         * soft-fp/fixsfti.c: Likewise.
28443         * soft-fp/fixtfti.c: Likewise.
28444         * soft-fp/fixunsdfti.c: Likewise.
28445         * soft-fp/fixunssfti.c: Likewise.
28446         * soft-fp/fixunstfti.c: Likewise.
28447         * soft-fp/floattidf.c: Likewise.
28448         * soft-fp/floattisf.c: Likewise.
28449         * soft-fp/floattitf.c: Likewise.
28450         * soft-fp/floatuntidf.c: Likewise.
28451         * soft-fp/floatuntisf.c: Likewise.
28452         * soft-fp/floatuntitf.c: Likewise.
28453         * soft-fp/trunctfxf2.c: Likewise.
28455 2013-10-10  David S. Miller  <davem@davemloft.net>
28457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28459 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28461         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28462         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28463         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28464         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28465         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28466         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28467         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28469         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28470         for NaNs before doing comparisons on argument.
28471         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28472         Likewise.
28474 2013-10-10  Will Newton  <will.newton@linaro.org>
28476         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28477         passed to _int_memalign does not overflow.
28479 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28481         * scripts/bench.pl: Add include-sources directive.
28482         * benchtests/README: Update documentation.
28484 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28486         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28487         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28488         instead of FP_INIT_ROUNDMODE.
28489         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28490         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28492         [BZ #16034]
28493         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28494         copy class of input value.
28495         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28496         not handle exceptions.
28497         * soft-fp/negsf2.c (__negsf2): Likewise.
28498         * soft-fp/negtf2.c (__negtf2): Likewise.
28499         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28501 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28503         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28504         semicolon.  From Linux kernel.
28506 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28508         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28510 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28512         [BZ #156]
28513         * manual/socket.texi: Added statement about buffer
28514         for gethostbyname2_r.
28516 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28518         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28519         Use .p2align directive instead, throughout.
28520         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28521         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28522         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28523         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28524         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28525         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28526         * sysdeps/x86_64/strchr.S: Likewise.
28527         * sysdeps/x86_64/strrchr.S: Likewise.
28529 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28531         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28533         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28535         * sysdeps/generic/math_private.h (__mpsin1): Remove
28536         declaration.
28537         (__mpcos1): Likewise.
28538         (__mpsin): New argument __range_reduce.
28539         (__mpcos): Likewise.
28540         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28541         (slow): Use __mpsin and __mpcos.
28542         (slow1): Likewise.
28543         (slow2): Likewise.
28544         (sloww): Likewise.
28545         (sloww1): Likewise.
28546         (sloww2): Likewise.
28547         (bsloww): Likewise.
28548         (bsloww1): Likewise.
28549         (bsloww2): Likewise.
28550         (cslow2): Likewise.
28551         (csloww): Likewise.
28552         (csloww1): Likewise.
28553         (csloww2): Likewise.
28554         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28555         range_reduce.  Merge in __mpsin1.
28556         (__mpcos): Likewise.
28557         (__mpsin1): Remove.
28558         (__mpcos1): Likewise.
28560 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28562         * locale/loadlocale.c (_nl_intern_locale_data): Use
28563         LOCFILE_ALIGNED_P.
28564         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28565         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28566         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28567         obstack data is appropriately aligned.
28568         (obstack_int32_grow_fast): Likewise.
28569         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28570         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28571         (add_locale_uint32_array): Likewise.
28573 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28575         * benchtests/Makefile: Remove ARGLIST and RET variables.
28576         ($(objpfx)bench-%.c): Pass only function name to the script.
28577         * benchtests/README: Update documentation.
28578         * benchtests/acos-inputs: Add new directives.
28579         * benchtests/acosh-inputs: Likewise.
28580         * benchtests/asin-inputs: Likewise.
28581         * benchtests/asinh-inputs: Likewise.
28582         * benchtests/atan-inputs: Likewise.
28583         * benchtests/atanh-inputs: Likewise.
28584         * benchtests/cos-inputs: Likewise.
28585         * benchtests/cosh-inputs: Likewise.
28586         * benchtests/exp-inputs: Likewise.
28587         * benchtests/log-inputs: Likewise.
28588         * benchtests/pow-inputs: Likewise.
28589         * benchtests/rint-inputs: Likewise.
28590         * benchtests/sin-inputs: Likewise.
28591         * benchtests/sinh-inputs: Likewise.
28592         * benchtests/tan-inputs: Likewise.
28593         * benchtests/tanh-inputs: Likewise.
28594         * scripts/bench.pl: Add support for new directives.
28596 2013-10-07  Alan Modra  <amodra@gmail.com>
28598         * README: Fix careless merge.
28600 2013-10-05  Alan Modra  <amodra@gmail.com>
28602         * NEWS: Mention powerpc64le support and bugs fixed.
28603         * README: Both big-endian and little-endian powerpc64 supported.
28605 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28607         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28608         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28609         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28610         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28612 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28614         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28615         match prototype.
28617 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28619         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28620         Move -mhard-float appending from
28621         ports/sysdeps/powerpc/powerpc32/Makefile.
28622         [$(with-fp) = yes] (ASFLAGS): Likewise.
28623         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28624         * sysdeps/powerpc/nofpu: Move directory from
28625         ports/sysdeps/powerpc/nofpu.
28626         * sysdeps/powerpc/soft-fp: Move directory from
28627         ports/sysdeps/powerpc/soft-fp.
28628         * sysdeps/powerpc/powerpc32/405: Move directory from
28629         ports/sysdeps/powerpc/powerpc32/405.
28630         * sysdeps/powerpc/powerpc32/440: Move directory from
28631         ports/sysdeps/powerpc/powerpc32/440.
28632         * sysdeps/powerpc/powerpc32/464: Move directory from
28633         ports/sysdeps/powerpc/powerpc32/464.
28634         * sysdeps/powerpc/powerpc32/476: Move directory from
28635         ports/sysdeps/powerpc/powerpc32/476.
28636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28637         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28639         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28641         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28643         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28645         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28646         * README: Update for powerpc-*-linux-gnu software floating point
28647         support in libc.
28649         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28650         case to powerpc/powerpc32*.
28651         * sysdeps/unix/sysv/linux/configure: Regenerated.
28653         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28654         (_FPU_MASK_OM): Define as 0x04.
28655         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28656         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28657         0x00c10080.
28658         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28659         0x0000003c.
28660         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28663         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28664         getcontext_e500.
28665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28666         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28667         setcontext_e500.
28668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28669         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28670         and setcontext_e500.
28672 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28674         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28676 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28678         * manual/threads.texi (Default Thread Attributes): Fix typo.
28680 2013-10-04  Will Newton  <will.newton@linaro.org>
28682         * malloc/Makefile: Add tst-memalign.
28683         * malloc/tst-memalign.c: New file.
28685         * malloc/tst-posix_memalign.c: Add comments.
28686         (do_test): Add comments and call free on all potentially
28687         allocated pointers. Add space after cast.
28689         * malloc/tst-pvalloc.c: Add comments.
28690         (do_test): Add comments and call free on all potentially
28691         allocated pointers. Remove duplicate check for NULL pointer.
28692         Add space after cast.
28694         * malloc/tst-valloc.c: Add comments.
28695         (do_test): Add comments and call free on all potentially
28696         allocated pointers. Remove duplicate check for NULL pointer.
28697         Add space after cast.
28699 2013-10-04  Alan Modra  <amodra@gmail.com>
28701         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28702         Use stdint types in rather than __attribute__((mode())).
28703         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28705 2013-10-04  Alan Modra  <amodra@gmail.com>
28707         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28708         Correct handling of unaligned relocs for little-endian.
28709         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28711 2013-10-04  Alan Modra  <amodra@gmail.com>
28713         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28714         * configure: Regenerate.
28715         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28716         * shlib-versions: Likewise.
28718 2013-10-04  Alan Modra  <amodra@gmail.com>
28720         * string/tester.c (test_memrchr): Increment reported test cycle.
28722 2013-10-04  Alan Modra  <amodra@gmail.com>
28724         * string/test-memcpy.c (do_one_test): When reporting errors, print
28725         string address and don't overrun end of string.
28727 2013-10-04  Alan Modra  <amodra@gmail.com>
28729         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28730         insrdi.  Make better use of reg selection to speed exit slightly.
28731         Schedule entry path a little better.  Remove useless "are we done"
28732         checks on entry to main loop.  Handle wrapping around zero address.
28733         Correct main loop count.  Handle single left-over word from main
28734         loop inline rather than by using loop_small.  Remove extra word
28735         case in loop_small caused by wrong loop count.  Add little-endian
28736         support.
28737         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28738         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28739         cache hint.
28740         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28741         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28742         support.  Avoid rlwimi.
28743         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28745 2013-10-04  Alan Modra  <amodra@gmail.com>
28747         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28748         insrdi.  Formatting.
28749         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28750         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28751         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28752         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28753         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28754         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28756 2013-10-04  Alan Modra  <amodra@gmail.com>
28758         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28759         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28760         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28761         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28762         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28763         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28764         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28765         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28766         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28767         use of regs.  Use power7 mtocrf.  Tidy function tails.
28769 2013-10-04  Alan Modra  <amodra@gmail.com>
28771         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28772         Formatting.  Consistently use rXXX register defines or rN defines.
28773         Use early exit labels that avoid restoring unused non-volatile regs.
28774         Make cr field use more consistent with rWORDn compares.  Rename
28775         regs used as shift registers for unaligned loop, using rN defines
28776         for short lifetime/multiple use regs.
28777         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28778         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28779         addi 1,1,64 to pop stack frame.  Simplify return value code.
28780         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28782 2013-10-04  Alan Modra  <amodra@gmail.com>
28784         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28785         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28786         rather than rlwimi.
28787         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28788         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28789         little-endian support.  Correct typos.
28790         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28791         rather than rlwimi.
28792         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28793         in loop and entry code to keep "and." results.
28794         (strchr): Add little-endian support.  Comment.  Move cntlzd
28795         earlier in tail.
28796         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28798 2013-10-04  Alan Modra  <amodra@gmail.com>
28800         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28801         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28802         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28803         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28805 2013-10-04  Alan Modra  <amodra@gmail.com>
28807         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28808         (rTMP): Define as r11.
28809         (strcmp): Add little-endian support.  Optimise tail.
28810         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28811         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28812         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28813         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28814         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28815         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28816         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28818 2013-10-04  Alan Modra  <amodra@gmail.com>
28820         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28821         little-endian support.  Remove unnecessary "are we done" tests.
28822         Handle "s" wrapping around zero and extremely large "size".
28823         Correct main loop count.  Handle single left-over word from main
28824         loop inline rather than by using small_loop.  Correct comments.
28825         Delete "zero" tail, use "end_max" instead.
28826         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28828 2013-10-04  Alan Modra  <amodra@gmail.com>
28830         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28831         support.  Don't branch over align.
28832         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28833         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28834         support.  Rearrange tmp reg use to suit.  Comment.
28835         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28837 2013-10-04  Alan Modra  <amodra@gmail.com>
28839         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28841 2013-10-04  Alan Modra  <amodra@gmail.com>
28843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28844         conditional form of branch and link when obtaining pc.
28845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28847 2013-10-04  Alan Modra  <amodra@gmail.com>
28849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28850         HIWORD/LOWORD.
28851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28854 2013-10-04  Alan Modra  <amodra@gmail.com>
28856         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28857         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28858         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28859         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28860         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28861         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28862         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28863         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28864         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28865         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28867 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28868             Alistair Popple <alistair@ozlabs.au.ibm.com>
28869             Alan Modra <amodra@gmail.com>
28871         [BZ #15723]
28872         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28873         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28874         _dl_hwcap access for little-endian.
28875         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28876         destroy vmx regs when saving unaligned.
28877         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28878         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28879         destroy vmx regs when saving unaligned.
28881 2013-10-04  Alan Modra  <amodra@gmail.com>
28883         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28884         Don't use a union to pack hi/low value.
28886 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28888         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28889         for little-endian.
28890         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28891         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28892         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28893         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28894         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28896 2013-10-04  Alan Modra  <amodra@gmail.com>
28898         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28899         constants to usual value for .cst8 section, and remove redundant
28900         high address load.
28901         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28902         constant for 0x1p52.  Load little-endian words of double from
28903         correct stack offsets.
28905 2013-10-04  Alan Modra  <amodra@gmail.com>
28907         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28908         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28909         words of double from correct stack offsets.
28910         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28911         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28912         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28913         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28914         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28915         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28916         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28917         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28918         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28919         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28920         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28921         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28922         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28923         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28924         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28925         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28926         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28928 2013-10-04  Alan Modra  <amodra@gmail.com>
28930         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28931         64-bit int/double union.
28932         (_FPU_SETCW): Likewise.
28933         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28934         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28936 2013-10-04  Alan Modra  <amodra@gmail.com>
28938         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28939         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28941 2013-10-04  Alan Modra  <amodra@gmail.com>
28943         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28944         use vector int constants.
28945         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28947 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28949         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28950         array with long long.
28951         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28952         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28953         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28954         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28955         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28956         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28957         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28958         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28959         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28960         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28961         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28962         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28963         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28965 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28967         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28968         (__signbit): Likewise.  Correct for little-endian.
28969         (__signbitl): Call __signbit.
28970         (lrint): Correct for little-endian.
28971         (lrintf): Call lrint.
28973 2013-10-04  Alan Modra  <amodra@gmail.com>
28975         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28976         union 32-bit int array member with 64-bit int array.
28977         (t515, tm256): Double rather than long double.
28978         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28980 2013-10-04  Alan Modra  <amodra@gmail.com>
28982         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28983         Delete.
28984         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28985         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28986         version of math_ldbl.h.
28988 2013-10-04  Alan Modra  <amodra@gmail.com>
28990         [BZ #15734], [BZ #15735]
28991         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28992         all uses of ieee875 long double macros and unions.  Simplify test
28993         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28994         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28995         normalize after ldbl_extract_mantissa, and don't add hidden bit
28996         already handled.  Don't treat low word of ieee854 mantissa like
28997         low word of IBM long double and mask off bit when testing for
28998         zero.
28999         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29000         all uses of ieee875 long double macros and unions.  Simplify tests
29001         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
29002         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
29003         two1022, instead use their values.  Recognise that tests for large
29004         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
29005         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29006         Rewrite all uses of ieee875 long double macros and unions.  Simplify
29007         test for 0.0L and nan.  Correct negation.
29008         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29009         ieee875 long double macros and unions.  Correct output for large
29010         magnitude x.  Correct absolute value calculation.
29011         (__erfcl): Likewise.
29012         * math/libm-test.inc: Add tests for errors discovered in IBM long
29013         double versions of fmodl, remainderl, erfl and erfcl.
29015 2013-10-04  Alan Modra  <amodra@gmail.com>
29017         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29018         all uses of ieee854 long double macros and unions.  Simplify tests
29019         for long doubles that are fully specified by the high double.
29020         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29021         Likewise.
29022         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29023         Remove dead code too.
29024         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29025         (__ieee754_ynl): Likewise.
29026         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29027         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29028         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29029         Remove dead code too.
29030         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29031         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29032         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29033         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29034         Simplify.
29035         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29036         Simplify.
29037         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29038         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29039         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29040         Comment on variable precision.
29041         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29042         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29043         Likewise.
29044         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29045         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29046         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29047         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29048         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29050 2013-10-04  Alan Modra  <amodra@gmail.com>
29052         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29053         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29054         all uses of ieee854 long double macros and unions.
29055         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29056         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29057         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29058         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29059         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29060         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29061         Likewise.
29062         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29063         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29064         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29065         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29066         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29067         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29068         Simplify sign and nan test too.
29069         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29070         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29071         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29072         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29073         Likewise.
29074         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29075         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29076         Likewise.
29077         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29078         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29079         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29080         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29081         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29082         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29084 2013-10-04  Alan Modra  <amodra@gmail.com>
29086         * stdio-common/printf_size.c (__printf_size): Don't use
29087         union ieee854_long_double in fpnum union.
29088         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29089         signbit macro to retrieve sign from long double.
29090         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29091         retrieve sign from long double.
29092         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29093         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29094         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29095         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29096         * math/test-misc.c (main): Don't use union ieee854_long_double.
29098 2013-10-04  Alan Modra  <amodra@gmail.com>
29100         [BZ #15680]
29101         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29102         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29103         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29104         calculation.  Remove unnecessary test for denormal exponent.
29105         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29106         Correct handling of denormals.  Avoid undefined shift behaviour.
29107         Correct normalisation of low mantissa when low double is denormal.
29108         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29109         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29110         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29111         Correct normalisation of low mantissa.  Test for overflow of high
29112         mantissa and normalise.
29113         (ldbl_nearbyint): Use more readable constant for two52.
29114         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29115         (__mpn_construct_long_double): Fix test for overflow of high
29116         mantissa and correct normalisation.  Avoid undefined shift.
29118 2013-10-04  Alan Modra  <amodra@gmail.com>
29120         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29121         (union ibm_extended_long_double): Define as an array of ieee754_double.
29122         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29123         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29124         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29125         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29126         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29127         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29128         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29129         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29130         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29131         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29132         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29134 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29136         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29137         page size instead of calling getpagesize.
29139         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29140         (LOCFILE_ALIGN_MASK): Likewise.
29141         (LOCFILE_ALIGN_UP): Likewise.
29142         (LOCFILE_ALIGNED_P): Likewise.
29143         * locale/programs/ld-collate.c (collate_output): Use the new
29144         macros instead of __alignof__ (int32_t).
29145         * locale/weight.h (findidx): Likewise.
29147 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29149         [BZ #431]
29150         * manual/string.texi: Fix strncat and wcsncat.
29152 2013-10-03  Brooks Moses  <bmoses@google.com>
29154         [BZ #15915]
29155         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29156         * Makerules: ...here, and adjust associated comments.
29158 2013-10-02  Will Newton  <will.newton@linaro.org>
29160         * malloc/Makefile: Add tst-pvalloc.
29161         * malloc/tst-pvalloc.c: New file.
29163 2013-10-02  Will Newton  <will.newton@linaro.org>
29165         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29166         improve test coverage.
29168 2013-10-02  Will Newton  <will.newton@linaro.org>
29170         * malloc/Makefile: Add tst-posix_memalign.
29171         * malloc/tst-posix_memalign.c: New file.
29173 2013-10-01  Eric Blake  <eblake@redhat.com>
29175         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29176         Use __THROWNL rather than __THROW on static functions.
29178 2013-09-30  Petr Machata  <pmachata@redhat.com>
29180         * elf/elf.h (R_AARCH64_ABS16): New macro.
29181         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29182         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29183         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29184         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29185         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29186         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29187         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29188         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29189         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29190         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29191         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29192         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29193         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29194         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29195         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29196         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29197         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29198         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29199         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29200         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29201         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29202         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29203         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29204         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29205         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29206         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29207         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29208         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29209         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29210         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29211         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29212         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29213         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29214         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29215         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29216         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29217         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29218         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29219         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29220         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29221         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29222         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29223         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29224         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29225         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29226         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29227         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29228         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29229         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29230         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29231         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29232         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29233         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29234         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29235         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29236         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29237         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29238         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29239         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29240         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29241         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29242         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29243         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29244         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29245         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29246         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29247         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29248         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29249         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29250         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29251         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29252         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29253         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29254         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29255         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29256         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29257         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29258         (R_AARCH64_TLSDESC_LDR): Likewise.
29259         (R_AARCH64_TLSDESC_ADD): Likewise.
29260         (R_AARCH64_TLSDESC_CALL): Likewise.
29262 2013-09-30  Andreas Schwab  <schwab@suse.de>
29264         [BZ #15048]
29265         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29266         the nss database lookup.
29267         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29268         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29270 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29272         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29274 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29276         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29277         ${Bash-specific parameter/pattern/string} parameter expansion.
29278         * sysdeps/unix/make-syscalls.sh: Likewise.
29280 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29282         * sysdeps/sh/stackguard-macros.h: New file.
29284 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29286         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29288         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29289         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29290         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29291         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29293 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29295         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29296         Fix thread ID register.
29298 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29300         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29301         [POSIX || UNIX98]: Require rather than permitting all symbols from
29302         <time.h>.
29303         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29304         element of struct sched_param.
29305         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29306         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29307         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29308         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29309         constant.
29311 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29313         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29314         argument calculation.
29316 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29318         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29319         Expect macro.
29320         [POSIX] (pthread_attr_t): Do not require type.
29321         [POSIX] (pthread_cond_t): Likewise.
29322         [POSIX] (pthread_condattr_t): Likewise.
29323         [POSIX] (pthread_key_t): Likewise.
29324         [POSIX] (pthread_mutex_t): Likewise.
29325         [POSIX] (pthread_mutexattr_t): Likewise.
29326         [POSIX] (pthread_once_t): Likewise.
29327         [POSIX] (pthread_t): Likewise.
29328         [POSIX-based standards] (pthread_atfork): Expect function.
29330 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29331             Richard Sandiford  <richard@codesourcery.com>
29333         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29334         (swap_endianness_p): New extern variable.
29335         (set_big_endian): New inline function.
29336         (maybe_swap_uint32): Likewise.
29337         (maybe_swap_uint32_array): Likewise.
29338         (maybe_swap_uint32_obstack): Likewise.
29339         * locale/programs/locfile.c: Include <stdbool.h>.
29340         (swap_endianness_p): New variable.
29341         (add_locale_uint32): Call maybe_swap_uint32.
29342         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29343         (write_locale_data): Call maybe_swap_uint32_array.
29344         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29345         maybe_swap_uint32.
29346         (obstack_int32_grow_fast): Likewise.
29347         (output_weightwc): Call maybe_swap_uint32_obstack.
29348         (collate_output): Likewise.
29349         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29350         (OPT_LITTLE_ENDIAN): Likewise.
29351         (options): Add --little-endian and --big-endian options.
29352         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29353         * locale/programs/locarchive.c: Include "locfile.h".
29354         (GET): New macro.
29355         (SET): Likewise.
29356         (INC): Likewise.
29357         (create_archive): Use the new macros to access fields of
29358         structures directly mapped from or written to locale archives.
29359         (oldlocrecentcmp): Likewise.
29360         (enlarge_archive): Likewise.
29361         (insert_name): Likewise.
29362         (add_alias): Likewise.
29363         (add_locale): Likewise.
29364         (delete_locales_from_archive): Likewise.
29365         (show_archive_content): Likewise.
29366         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29367         locale data.
29369 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29371         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29372         http://www.gnu.org/doc/freemanuals.texi.
29373         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29375 2013-09-24  Will Newton  <will.newton@linaro.org>
29377         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29378         macro.
29380 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29382         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29383         unsigned char.
29385 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29387         * manual/threads.texi (POSIX Threads): Fix a typo.
29389 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29391         [BZ #14547]
29392         * string/tst-strcoll-overflow.c: New test case.
29393         * string/Makefile (xtests): Add tst-strcoll-overflow.
29394         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29395         cache if string sizes may cause integer overflow.
29397         [BZ #14547]
29398         * string/strcoll_l.c (coll_seq): New members rule, idx,
29399         save_idx and back_us.
29400         (get_next_seq_nocache): New function.
29401         (do_compare_nocache): New function.
29402         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29403         when malloc fails.
29405 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29407         [BZ #15754]
29408         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29409         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29410         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29412         [BZ #15754]
29413         * elf/Makefile (tests): Add tst-ptrguard1.
29414         (tests-static): Add tst-ptrguard1-static.
29415         (tst-ptrguard1-ARGS): Define.
29416         (tst-ptrguard1-static-ARGS): Define.
29417         * elf/tst-ptrguard1.c: New file.
29418         * elf/tst-ptrguard1-static.c: New file.
29419         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29420         * sysdeps/i386/stackguard-macros.h: Likewise.
29421         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29422         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29423         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29424         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29425         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29426         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29428 2013-09-23  Hector Marco  <hecmargi@upv.es>
29429             Ismael Ripoll  <iripoll@disca.upv.es>
29430             Carlos O'Donell  <carlos@redhat.com>
29432         [BZ #15754]
29433         * sysdeps/generic/stackguard-macros.h: Define
29434         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29435         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29436         Define __pointer_chk_guard_local.
29437         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29438         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29440 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29442         [BZ #15859]
29443         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29445 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29447         * include/string.h (__ffs): Declare as hidden.
29448         * string/ffs.c (__ffs): Define as hidden.
29449         * sysdeps/i386/ffs.c (__ffs): Likewise.
29450         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29451         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29452         * sysdeps/s390/ffs.c (__ffs): Likewise.
29453         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29455 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29457         * NEWS: Mention malloc probes.
29459         * malloc/arena.c (new_heap): New memory_heap_new probe.
29460         (grow_heap): New memory_heap_more probe.
29461         (shrink_heap): New memory_heap_less probe.
29462         (heap_trim): New memory_heap_free probe.
29463         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29464         (systrim): New memory_sbrk_less probe.
29465         * manual/probes.texi: Document them.
29467         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29468         * manual/probes.texi: Document it.
29470         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29471         (__libc_realloc): Add memory_realloc_retry probe.
29472         (__libc_memalign): Add memory_memalign_retry probe.
29473         (__libc_valloc): Add memory_valloc_retry probe.
29474         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29475         (__libc_calloc): Add memory_calloc_retry probe.
29476         * manual/probes.texi: Document them.
29478         * malloc/arena.c (get_free_list): Add probe
29479         memory_arena_reuse_free_list.
29480         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29481         and memory_arena_reuse.
29482         (arena_get2) [!PER_THREAD]: Likewise.
29483         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29484         memory_arena_reuse_realloc.
29485         * manual/probes.texi: Document them.
29487         * malloc/malloc.c (__libc_free): Add
29488         memory_mallopt_free_dyn_thresholds probe.
29489         (__libc_mallopt): Add multiple memory_mallopt probes.
29490         * manual/probes.texi: Document them.
29492         * malloc/malloc.c: Include stap-probe.h.
29493         (__libc_mallopt): Add memory_mallopt probe.
29494         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29495         * manual/probes.texi: New.
29496         * manual/Makefile (chapters): Add probes.
29497         * manual/threads.texi: Set next node.
29499 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29501         [BZ #15963, #13985]
29502         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29503         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29504         Add `Chinese' to `nan' entry name.
29506 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29508         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29509         (POLYNOMIAL): Likewise.
29510         (TAYLOR_SINCOS): Likewise.
29511         (TAYLOR_SLOW): Likewise.
29512         (__sin): Use TAYLOR_SINCOS.
29513         (__cos): Likewise.
29514         (slow): Use TAYLOR_SLOW.
29515         (sloww): Likewise.
29516         (bsloww): Likewise.
29517         (csloww): Likewise.
29519 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29521         * stdlib/strtod_l.c: Fix buffer overrun.
29523 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29525         * benchtests/Makefile (bench): Add sincos.
29526         * benchtests/bench-sincos.c: New file.
29528         * math/libm-test.inc (cos_test_data): New test inputs.
29529         (sin_test_data): Likewise.
29531         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29532         macro.
29533         (__sin): Use it.
29534         (__cos): Likewise.
29535         (slow1): Likewise.
29536         (slow2): Likewise.
29537         (sloww1): Likewise.
29538         (sloww2): Likewise.
29539         (bsloww1): Likewise.
29540         (bsloww2): Likewise.
29541         (cslow2): Likewise.
29542         (csloww1): Likewise.
29543         (csloww2): Likewise.
29545         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29546         function.
29547         (__sin): Use it.
29548         (__cos): Likewise.
29550         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29551         gotos.
29552         (__cos): Likewise.
29554 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29556         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29557         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29558         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29559         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29560         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29561         * elf/cache.c (print_entry): Handle the new cache flags.
29563 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29564             Aldy Hernandez  <aldyh@redhat.com>
29566         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29567         Change condition to [_SOFT_FLOAT].
29568         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29569         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29570         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29571         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29572         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29573         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29574         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29575         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29580         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29581         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29583         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29584         declaration.
29586 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29588         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29589         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29590         (__longjmp): Use LOAD_GP to load saved GPRs.
29591         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29592         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29593         (__sigsetjmp): Use SAVE_GP to save GPRs.
29595         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29596         Do not append -msoft-float.
29597         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29599 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29601         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29603 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29605         [BZ #15966]
29606         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29607         (_FPU_GETCW): Use initial "__" on variable and field names but not
29608         on macro parameter name.
29609         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29610         parentheses around reference to macro parameter.
29612 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29614         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29615         prototype.
29616         (ctype_startup): Use uint32_t in cast and sizeof for
29617         ctype->charnames.
29619 2013-09-11  Jia Liu  <proljc@gmail.com>
29621         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29622         __daddr_t_defined.
29623         [__FreeBSD__]: Likewise.
29625 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29627         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29628         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29629         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29630         (strchr): Remove __strchr_sse42 ifunc selection.
29631         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29632         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29634 2013-09-11  Will Newton  <will.newton@linaro.org>
29636         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29637         parameter to RES. Remove hardcoded 1000 value.
29638         * benchtests/bench-skeleton.c (main): Pass RES parameter
29639         to TIMING_INIT and multiply result by 1000.
29641 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29645 2013-09-11  Andreas Schwab  <schwab@suse.de>
29647         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29648         if not defined.
29649         (O_TMPFILE) [__USE_GNU]: Define.
29650         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29651         Define.
29653 2013-09-11  Will Newton  <will.newton@linaro.org>
29655         [BZ #15857]
29656         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29657         does not overflow.
29659 2013-09-11  Will Newton  <will.newton@linaro.org>
29661         [BZ #15856]
29662         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29663         does not overflow.
29665 2013-09-11  Will Newton  <will.newton@linaro.org>
29667         [BZ #15855]
29668         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29669         does not overflow.
29671 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29673         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29674         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29675         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29676         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29677         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29679 2013-09-10  Allan McRae  <allan@archlinux.org>
29681         [BZ #15748]
29682         * manual/arith.texi (Parsing of Floats): Clarify
29683         cross-reference.
29685         [BZ #15849]
29686         * manual/install.texi (Running make install): Mention
29687         --enable-pt-chown.
29688         * INSTALL: Regenerated.
29690 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29692         * csu/init-first.c (_init): Remove the !SHARED condition around
29693         FPU control word initialization.
29694         * elf/dl-support.c (_dl_fpu_control): New variable.
29695         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29696         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29697         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29698         * math/test-fpucw-static.c: New file.
29699         * math/test-fpucw-ieee.c: New file.
29700         * math/test-fpucw-ieee-static.c: New file.
29701         * math/Makefile (tests): Add `test-fpucw-ieee' and
29702         `$(tests-static)'.
29703         (tests-static): New variable.
29704         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29705         dependency to...
29706         [($(build-shared),yes)]
29707         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29708         ... this.
29709         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29710         New dependency.
29712 2013-09-09  Allan McRae  <allan@archlinux.org>
29714         [BZ #15939]
29715         * manual/string.texi (Collation Functions): Fix typo in
29716         strcoll example.
29717         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29719         [BZ #15893]
29720         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29722         [BZ #15892]
29723         * libio/memstream.c (open_memstream): Fix memory leak.
29724         * libio/wmemstream.c (open_wmemstream): Likewise.
29726         [BZ #15895]
29727         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29729 2013-09-09  Will Newton  <will.newton@linaro.org>
29731         * malloc/Makefile: Add tst-realloc to tests.
29732         * malloc/tst-realloc.c: New file.
29734 2013-09-09  Allan McRae  <allan@archlinux.org>
29736         [BZ #15844]
29737         * COPYING: Update from GNU website to fix FSF address.
29738         * COPYING.LIB: Likewise.
29740 2013-09-06  David S. Miller  <davem@davemloft.net>
29742         * po/zh_TW.po: Update Chinese (traditional) translation from
29743         translation project.
29745 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29746             Joseph Myers  <joseph@codesourcery.com>
29748         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29749         "localeinfo.h".
29750         (obstack_chunk_alloc): New macro.
29751         (obstack_chunk_free): Likewise.
29752         (record_offset): New function.
29753         (init_locale_data): Likewise.
29754         (align_locale_data): Likewise.
29755         (add_locale_empty): Likewise.
29756         (add_locale_raw_data): Likewise.
29757         (add_locale_raw_obstack): Likewise.
29758         (add_locale_string): Likewise.
29759         (add_locale_wstring): Likewise.
29760         (add_locale_uint32): Likewise.
29761         (add_locale_uint32_array): Likewise.
29762         (add_locale_char): Likewise.
29763         (start_locale_structure): Likewise.
29764         (end_locale_structure): Likewise.
29765         (start_locale_prelude): Likewise.
29766         (end_locale_prelude): Likewise.
29767         (write_locale_data): Take locale_file structure rather than an
29768         iovec.
29769         * locale/programs/locfile.h: Include "obstack.h".
29770         (struct locale_file): Change to store locale file contents instead
29771         of header.
29772         (init_locale_data): New prototype.
29773         (align_locale_data): Likewise.
29774         (add_locale_empty): Likewise.
29775         (add_locale_raw_data): Likewise.
29776         (add_locale_raw_obstack): Likewise.
29777         (add_locale_string): Likewise.
29778         (add_locale_wstring): Likewise.
29779         (add_locale_uint32): Likewise.
29780         (add_locale_uint32_array): Likewise.
29781         (add_locale_char): Likewise.
29782         (start_locale_structure): Likewise.
29783         (end_locale_structure): Likewise.
29784         (start_locale_prelude): Likewise.
29785         (end_locale_prelude): Likewise.
29786         (write_locale_data): Update prototype.
29787         * locale/programs/3level.h (struct TABLE): Remove result field.
29788         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29789         Use new locale_file interface.
29790         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29791         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29792         * locale/programs/ld-address.c (address_output): Use new
29793         locale_file interface.
29794         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29795         NO_ADD_LOCALE.
29796         (collate_finish): Don't call collseq_table_finalize.
29797         (collate_output): Use new locale_file interface.
29798         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29799         in file.
29800         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29801         (TABLE): Move defines earlier in file.
29802         (ELEMENT): Likewise.
29803         (DEFAULT): Likewise.
29804         (wctrans_table_add): Move macro and inline function earlier in
29805         file.
29806         (struct wctype_table): Move type earlier in file.
29807         (add_locale_wctype_table): New static prototype.
29808         (struct locale_ctype_t): Use logical types instead of struct iovec
29809         pointers for members.
29810         (ctype_output): Use new locale_file interface.
29811         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29812         new locale_file interface.
29813         (allocate_arrays): Update for use of new locale_file interface.
29814         * locale/programs/ld-identification.c (identification_output): Use
29815         new locale_file interface.
29816         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29817         * locale/programs/ld-messages.c (messages_output): Likewise.
29818         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29819         * locale/programs/ld-name.c (name_output): Likewise.
29820         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29821         * locale/programs/ld-paper.c (paper_output): Likewise.
29822         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29823         * locale/programs/ld-time.c (time_output): Likewise.
29825 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29827         * benchtests/Makefile: Add memrchr benchmark.
29828         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29829         benchmark as memrchr.
29830         * benchtests/bench-memrchr-ifunc.c: New file.
29831         * benchtests/bench-memrchr.c: New file.
29833 2013-09-06   Will Newton  <will.newton@linaro.org>
29835         * benchtests/Makefile (string-bench): Add memcpy.
29837 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29838             Cong Wang  <amwang@redhat.com>
29840         [BZ #15850]
29841         * sysdeps/unix/sysv/linux/bits/in.h
29842         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29843         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29844         before __USE_KERNEL_IPV6_DEFS uses.
29845         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29846         IPPROTO_BEETPH.
29847         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29848         sockaddr_in6, or ipv6_mreq.
29850 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29852         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29853         memory access for final bytes in some large inputs.
29854         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29856 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29858         * string/test-memrchr.c: New file.
29859         * string/test-memrchr-ifunc.c: New file.
29860         * string/Makefile: Add new memrchr testcase.
29862 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29864         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29865         fanotify_init returns EPERM.
29867 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29869         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29870         errors.
29871         (top level): Treat second token from macro or constant entries for
29872         allowed headers as allowed.
29873         * include/complex.h: Condition internal declarations on
29874         [!_ISOMAC].
29875         * include/fenv.h: Condition include of <stdbool.h> and internal
29876         declarations on [!_ISOMAC].
29878 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29880         [BZ #15923]
29881         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29883 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29885         * configure.in (--enable-versioning): Remove configure option.
29886         (libc_cv_asm_symver_directive): Remove configure test.
29887         (libc_cv_ld_version_script_option): Likewise.
29888         (VERSIONING): Remove variable and AC_SUBST.
29889         (DO_VERSIONING): Remove AC_DEFINE.
29890         * configure: Regenerated.
29891         * config.h.in (DO_VERSIONING): Remove macro.
29892         * Makerules [$(versioning) = yes]: Change conditionals to
29893         [$(build-shared) = yes].
29894         * config.make.in (versioning): Remove variable.
29895         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29896         [$(build-shared) = yes].
29897         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29898         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29899         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29900         [$(build-shared) = yes].
29901         * extra-lib.mk [$(versioning) = yes]: Likewise.
29902         * hurd/Makefile [$(versioning) = yes]: Likewise.
29903         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29904         [SHARED].
29905         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29906         [SHARED].
29907         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29908         [SHARED && !NO_HIDDEN].
29909         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29910         [SHARED].
29911         [SHARED && DO_VERSIONING]: Likewise..
29912         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29913         [$(build-shared) = yes].
29914         * manual/install.texi (--disable-versioning): Remove
29915         documentation.
29916         * INSTALL: Regenerated.
29917         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29918         to [SHARED].
29919         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29920         [$(build-shared) = yes].
29921         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29922         * sysdeps/i386/i686/multiarch/strstr-c.c
29923         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29924         [SHARED && !NO_HIDDEN].
29925         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29926         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29927         * sysdeps/powerpc/powerpc32/dl-machine.c
29928         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29929         * sysdeps/powerpc/powerpc32/sysdep.h
29930         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29931         to [SHARED && PIC && !NO_HIDDEN].
29932         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29933         conditional to [SHARED].
29935 2013-09-04   Will Newton  <will.newton@linaro.org>
29937         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29938         * benchtests/bench-string.h: Include bench-timing.h instead
29939         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29940         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29941         call to HP_TIMING_DIFF_INIT.
29942         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29943         instead of hp-timing.h macros.
29944         * benchtests/bench-memchr.c: Likewise.
29945         * benchtests/bench-memcmp.c: Likewise.
29946         * benchtests/bench-memcpy.c: Likewise.
29947         * benchtests/bench-memmem.c: Likewise.
29948         * benchtests/bench-memmove.c: Likewise.
29949         * benchtests/bench-memset.c: Likewise.
29950         * benchtests/bench-rawmemchr.c: Likewise.
29951         * benchtests/bench-strcasecmp.c: Likewise.
29952         * benchtests/bench-strcasestr.c: Likewise.
29953         * benchtests/bench-strcat.c: Likewise.
29954         * benchtests/bench-strchr.c: Likewise.
29955         * benchtests/bench-strcmp.c: Likewise.
29956         * benchtests/bench-strcpy.c: Likewise.
29957         * benchtests/bench-strcpy_chk.c: Likewise.
29958         * benchtests/bench-strlen.c: Likewise.
29959         * benchtests/bench-strncasecmp.c: Likewise.
29960         * benchtests/bench-strncat.c: Likewise.
29961         * benchtests/bench-strncmp.c: Likewise.
29962         * benchtests/bench-strncpy.c: Likewise.
29963         * benchtests/bench-strnlen.c: Likewise.
29964         * benchtests/bench-strpbrk.c: Likewise.
29965         * benchtests/bench-strrchr.c: Likewise.
29966         * benchtests/bench-strspn.c: Likewise.
29967         * benchtests/bench-strstr.c: Likewise.
29969 2013-09-04  Will Newton  <will.newton@linaro.org>
29971         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29973 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29975         [BZ #15427]
29976         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29977         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29978         * math/libm-test.inc (lgamma_test_data): Add more tests.
29979         * sysdeps/i386/fpu/libm-test-ulps: Update.
29980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29982 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29984         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29985         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29986         Add ifunc.
29987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29988         Add strcmp-sse2-unaligned
29989         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29991 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29993         * Versions.def (libc): Add GLIBC_2.19.
29995 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29997         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29998         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30000 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
30002         [BZ #14155]
30003         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30004         intermediate calculations in recurrence.
30005         (__ieee754_ynf): Likewise.
30006         * math/libm-test.inc (jn_test_data): Do not allow spurious
30007         underflow exception.  Add more tests.
30008         (yn_test_data): Add more tests.
30009         * sysdeps/i386/fpu/libm-test-ulps: Update.
30010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30012 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30014         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30016 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30018         * csu/init-first.c: Fix then/than typos.
30019         * locale/programs/ld-collate.c: Likewise.
30020         * locale/programs/linereader.h: Likewise.
30021         * manual/charset.texi: Likewise.
30022         * manual/filesys.texi: Likewise.
30023         * manual/stdio.texi: Likewise.
30024         * manual/string.texi: Likewise.
30025         * stdlib/fmtmsg.c: Likewise.
30026         * sysdeps/i386/stpncpy.S: Likewise.
30027         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30028         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30029         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30030         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30032 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30034         * elf/dl-open.c: Fix typos.
30035         * iconvdata/gbbig5.c: Likewise.
30036         * iconvdata/iso-2022-jp.c: Likewise.
30037         * iconv/gconv_int.h: Likewise.
30038         * iconv/loop.c: Likewise.
30039         * nis/rpcsvc/nis.h: Likewise.
30040         * resolv/ns_name.c: Likewise.
30041         * stdio-common/vfscanf.c: Likewise.
30042         * streams/stropts.h: Likewise.
30043         * sunrpc/rpc_thread.c: Likewise.
30044         * sysdeps/i386/strpbrk.S: Likewise.
30045         * sysdeps/ieee754/k_standard.c: Likewise.
30046         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30047         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30048         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30049         * sysdeps/mach/hurd/profil.c: Likewise.
30050         * sysdeps/s390/dl-procinfo.h: Likewise.
30051         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30052         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30053         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30054         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30055         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30057 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30059         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30060         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30062 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30064         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30065         aix specific files.
30066         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30067         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30068         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30069         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30070         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30071         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30072         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30073         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30075 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30076             Roland McGrath  <roland@hack.frob.com>
30078         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30079         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30081 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30083         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30084         __executable_start symbol instead of _start.
30086 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30088         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30089         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30090         Move macros to...
30091         * sysdeps/gnu/ldsodefs.h: ... this new file.
30093         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30094         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30095         instead of ELFOSABI_LINUX.
30097         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30098         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30099         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30100         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30101         Likewise.
30102         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30103         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30104         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30105         Likewise.
30106         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30107         (ibm_extended_long_double): Add ieee_nan member.
30108         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30109         (do_test): New function.
30111         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30112         TEST_TRUNC.
30113         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30114         functions, renamed from truncdfsf_test, trunctfsf_test,
30115         trunctfdf_test.
30116         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30117         functions.
30118         (do_test): Run all these.
30120 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30122         * argp/argp-help.c: Fix typos.
30123         * argp/argp-parse.c: Likewise.
30124         * debug/backtracesyms.c: Likewise.
30125         * elf/elf.h: Likewise.
30126         * malloc/malloc.c: Likewise.
30127         * nis/nis_print.c: Likewise.
30128         * resolv/res_comp.c: Likewise.
30129         * stdlib/stdlib.h: Likewise.
30130         * sunrpc/clnt_tcp.c: Likewise.
30131         * sunrpc/clnt_udp.c: Likewise.
30132         * sunrpc/clnt_unix.c: Likewise.
30133         * sysdeps/unix/bsd/ptsname.c: Likewise.
30134         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30135         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30137         Likewise.
30138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30139         Likewise.
30140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30141         Likewise.
30142         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30144 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30146         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30147         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30149 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30151         [BZ #15897]
30152         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30153         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30154         ($(objpfx)bug-dl-leaf): New rule.
30155         ($(objpfx)bug-dl-leaf.so): Likewise.
30156         ($(objpfx)bug-dl-leaf.out): Likewise.
30157         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30158         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30159         * dlfcn/bug-dl-leaf.c: New test.
30160         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30161         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30162         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30163         (dlclose): Likewise.
30164         (dlmopen): Likewise.
30166 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30168         * include/netdb.h [!_ISOMAC]:
30169         Don't include <tls.h>.
30170         (h_errno, __libc_h_errno): Move declaration and macros out of
30171         [_LIBC_REENTRANT].
30173         * include/resolv.h [_RESOLV_H_]:
30174         Don't include <tls.h>.
30175         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30176         * resolv/res_libc.c: Don't include <tls.h>.
30177         (_res): Use __attribute__ ((nocommon)) in place of
30178         __attribute__ ((section (".bss"))).
30180         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30181         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30183         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30185         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30186         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30188         * resolv/res_mkquery.c: Include <sys/time.h>.
30190         * inet/ifreq.c: Moved to ...
30191         * sysdeps/unix/ifreq.c: ... here.
30192         * inet/ifreq.c: New file, true stub version.
30194         * socket/sa_len.c: New file.
30195         * socket/Makefile (aux): Add it.
30196         * sysdeps/unix/sysv/linux/Makefile
30197         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30198         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30199         and #include <socket/sa_len.c>.
30200         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30201         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30203         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30204         * bits/socket.h: ... here.
30206         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30207         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30208         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30210 2013-08-27  Andreas Schwab  <schwab@suse.de>
30212         [BZ #15736]
30213         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30214         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30215         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30216         * string/test-strcasecmp.c (test_main): Run tests in several
30217         locales.
30218         * string/test-strncasecmp.c (test_main): Likewise.
30220         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30221         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30222         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30223         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30224         (__strncasecmp_ssse3) [PIC]: Likewise.
30226 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30228         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30230         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30231         instead of explicitly declaring xdecrypt.
30232         * nis/nss_nis/nis-publickey.c: Likewise.
30234 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30236         [BZ #15890]
30237         * nscd/aicache.c: Include res_hconf.h.
30238         (addhstaiX): Initialize res_hconf.
30240 2013-08-26  Andreas Schwab  <schwab@suse.de>
30242         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30243         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30245 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30247         * nscd/aicache.c (addhstaiX): Fix indentation.
30249 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30251         * configure.ac: Quote $build_pt_chown test.
30252         * configure: Regenerated.
30254 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30256         [BZ #15532]
30257         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30258         * math/s_cexpf.c (__cexpf): Likewise.
30259         * math/s_cexpl.c (__cexpl): Likewise.
30260         * math/libm-test.inc (cexp_test_data): Correct expected return
30261         value for NaN + i0.  Add another test.
30263 2013-08-22  David S. Miller  <davem@davemloft.net>
30265         * po/ca.po: Update Catalan translation from translation project.
30266         * po/uk.po: Add Ukrainian translations from translation project.
30268 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30270         [BZ #15797]
30271         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30272         is infinite, not alongside NaN test.
30273         * math/s_fdimf.c (__fdimf): Likewise.
30274         * math/s_fdiml.c (__fdiml): Likewise.
30275         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30276         errno is unchanged.
30278 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30280         * argp/argp-help.c: Fix typos.
30281         * crypt/speeds.c: Likewise.
30282         * csu/check_fds.c: Likewise.
30283         * elf/dl-load.c: Likewise.
30284         * elf/dl-open.c: Likewise.
30285         * elf/reldep3.c: Likewise.
30286         * elf/reldep.c: Likewise.
30287         * elf/sprof.c: Likewise.
30288         * iconv/iconv_charmap.c: Likewise.
30289         * iconv/skeleton.c: Likewise.
30290         * iconv/strtab.c: Likewise.
30291         * io/lockf64.c: Likewise.
30292         * libio/libioP.h: Likewise.
30293         * resolv/gai_notify.c: Likewise.
30294         * resolv/ns_name.c: Likewise.
30295         * resolv/ns_samedomain.c: Likewise.
30296         * resolv/res_send.c: Likewise.
30297         * stdlib/random.c: Likewise.
30298         * sunrpc/rpc/xdr.h: Likewise.
30299         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30300         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30301         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30302         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30303         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30304         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30305         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30306         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30307         * sysdeps/mach/hurd/check_fds.c: Likewise.
30308         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30309         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30310         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30311         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30312         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30313         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30314         * sysdeps/pthread/aio_notify.c: Likewise.
30315         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30316         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30317         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30318         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30319         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30321 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30323         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30324         version if bit_Slow_SSE4_2 is set.
30325         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30326         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30328 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30330         [BZ #15867]
30331         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30332         trampoline stack frame information.
30333         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30334         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30335         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30336         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30337         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30338         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30339         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30340         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30341         sa_flags value.
30342         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30343         interrupting a syscall and set with option SA_SIGINFO.
30345 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30347         [BZ #15531]
30348         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30349         argument is infinite.
30350         * math/s_cprojf.c (__cprojf): Likewise.
30351         * math/s_cprojl.c (__cprojl): Likewise.
30352         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30353         * math/libm-test.inc (cproj_test_data): Add more tests.
30355         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30357         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30358         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30359         size.  Use __ffs to determine corresponding shift.
30361 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30362             Roland McGrath  <roland@hack.frob.com>
30364         * Makefile (INSTALL): Remove trailing blank lines from output of
30365         makeinfo.
30367 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30369         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30370         Align 32 bit compat elf_greg to 8 bytes.
30372 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30374         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30376 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30378         * string/strcoll_l.c (coll_seq): New structure.
30379         (get_next_seq_cached): New function.
30380         (get_next_seq): New function.
30381         (do_compare): New function.
30382         (STRCOLL): Use GNU style definition.  Simplify implementation
30383         by using get_next_seq, get_next_seq_cached and do_compare.
30385 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30387         [BZ #14699]
30388         CVE-2013-4237
30389         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30390         member.
30391         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30392         member.
30393         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30394         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30395         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30396         conditional.
30397         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30398         GETDENTS_64BIT_ALIGNED.
30399         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30400         * manual/filesys.texi (Reading/Closing Directory): Document
30401         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30402         strongly.
30403         * manual/conf.texi (Limits for Files): Add portability note to
30404         NAME_MAX, PATH_MAX.
30405         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30407 2013-08-13  Andreas Schwab  <schwab@suse.de>
30409         [BZ #15749]
30410         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30411         of fabs.
30412         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30413         LDBL_MAX_EXP >= 16384]: Add tests for it.
30415 2013-08-12  David S. Miller  <davem@davemloft.net>
30417         * version.h (RELEASE): Set to "development".
30418         (VERSION): Set to "2.18.90".
30419         * NEWS: Add 2.19 section.
30421 2013-08-03  David S. Miller  <davem@davemloft.net>
30423         * po/ko.po: Update Korean translation from translation project.
30425 2013-08-01  David S. Miller  <davem@davemloft.net>
30427         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30428         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30429         Bilka.
30431 2013-07-30  David S. Miller  <davem@davemloft.net>
30433         * po/fr.po: Update French translation from translation project.
30435 2013-07-28  David S. Miller  <davem@davemloft.net>
30437         * po/cs.po: Update Czech translation from translation project.
30439         * po/sv.po: Update Swedish translation from translation project.
30441 2013-07-27  David S. Miller  <davem@davemloft.net>
30443         * po/eo.po: Update Esperanto translation from translation project.
30445         * po/vi.po: Update Vietnamese translation from translation project.
30447         * po/de.po: Update German translation from translation project.
30449 2013-07-26  David S. Miller  <davem@davemloft.net>
30451         * po/bg.po: Update Bulgarian translation from translation project.
30453         * po/nl.po: Update Dutch translation from translation project.
30454         * po/pl.po: Update Polish translation from translation project.
30455         * po/ru.po: Update Russian translation from translation project.
30457 2013-07-24  David S. Miller  <davem@davemloft.net>
30459         * po/libc.pot: Update.
30461 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30463         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30464         variable page size.
30465         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30466         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30467         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30469 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30471         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30473 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30474             Andreas Schwab  <schwab@suse.de>
30475             Roland McGrath  <roland@hack.frob.com>
30476             Joseph Myers  <joseph@codesourcery.com>
30477             Carlos O'Donell  <carlos@redhat.com>
30479         [BZ #15755]
30480         * config.h.in: Define HAVE_PT_CHOWN.
30481         * config.make.in (build-pt-chown): New variable.
30482         * configure.in (--enable-pt_chown): New configure option.
30483         * configure: Regenerate.
30484         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30485         build-pt-chown is enabled.
30486         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30487         pt_chown to fix pty ownership.
30488         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30489         CLOSE_ALL_FDS.
30490         * manual/install.texi (Configuring and compiling): Mention
30491         --enable-pt_chown. Add @findex for grantpt.
30492         * INSTALL: Regenerate.
30494 2013-07-20  David S. Miller  <davem@davemloft.net>
30496         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30497         difference between 32-bit and 64-bit.
30499 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30501         [BZ #15711]
30502         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30503         Avoid system header dependency with -ffreestanding.
30504         ($(objpfx)bits/syscall%d): Likewise.
30506 2013-07-13  David S. Miller  <davem@davemloft.net>
30508         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30509         underflows from atanl/atan2l due to bug 15319.
30510         (casinh_test_data): Likewise.
30512 2013-07-07  David S. Miller  <davem@davemloft.net>
30514         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30516 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30518         * sysdeps/i386/fpu/libm-test-ulps: Update.
30519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30521 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30523         * configure.in (--enable-lock-elision): Fix message text.
30524         * INSTALL: Regenerate.
30525         * configure: Regenerate.
30527 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30531 2013-07-03  Andreas Jaeger  <aj@suse.de>
30533         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30534         define.
30535         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30536         (ptrace_peeksiginfo_args): Add.
30537         (__ptrace_peeksiginfo_flags): Add.
30538         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30539         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30540         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30542 2013-07-03  Allan McRae  <allan@archlinux.org>
30544         * sysdeps/i386/fpu/libm-test-ulps: Update.
30546 2013-07-02  David S. Miller  <davem@davemloft.net>
30548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30550 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30552         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30554 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30556         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30559 2013-07-02  Andi Kleen <ak@linux.intel.com>
30561         * config.h.in (ENABLE_LOCK_ELISION): Add.
30562         * configure.in (--enable-lock-elision): Add option.
30563         * manual/install.texi: Document --enable lock elision.
30564         * configure: Regenerate
30565         * INSTALL: Regenerate.
30567 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30569         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30570         SSE4.2 strcasecmp for libc.a.
30571         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30573 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30575         [BZ #13304]
30576         * soft-fp/op-common.h (_FP_FMA): New macro.
30577         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30578         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30579         (_FP_MUL_MEAT_1_imm): ... here.
30580         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30581         (_FP_MUL_MEAT_1_wide): ... here.
30582         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30583         (_FP_MUL_MEAT_1_hard): ... here.
30584         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30585         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30586         (_FP_MUL_MEAT_2_wide): ... here.
30587         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30588         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30589         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30590         (_FP_MUL_MEAT_2_gmp): ... here.
30591         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30592         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30593         (_FP_MUL_MEAT_4_wide): ... here.
30594         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30595         (_FP_MUL_MEAT_4_gmp): ... here.
30596         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30597         (_FP_WFRACBITS_DW_S): Likewise.
30598         (_FP_WFRACXBITS_DW_S): Likewise.
30599         (_FP_HIGHBIT_DW_S): Likewise.
30600         (FP_FMA_S): Likewise.
30601         (_FP_FRAC_HIGH_DW_S): Likewise.
30602         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30603         (_FP_WFRACBITS_DW_D): Likewise.
30604         (_FP_WFRACXBITS_DW_D): Likewise.
30605         (_FP_HIGHBIT_DW_D): Likewise.
30606         (FP_FMA_D): Likewise.
30607         (_FP_FRAC_HIGH_DW_D): Likewise.
30608         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30609         (_FP_WFRACBITS_DW_E): Likewise.
30610         (_FP_WFRACXBITS_DW_E): Likewise.
30611         (_FP_HIGHBIT_DW_E): Likewise.
30612         (FP_FMA_E): Likewise.
30613         (_FP_FRAC_HIGH_DW_E): Likewise.
30614         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30615         (_FP_WFRACBITS_DW_Q): Likewise.
30616         (_FP_WFRACXBITS_DW_Q): Likewise.
30617         (_FP_HIGHBIT_DW_Q): Likewise.
30618         (FP_FMA_Q): Likewise.
30619         (_FP_FRAC_HIGH_DW_Q): Likewise.
30620         * soft-fp/fmasf4.c: New file.
30621         * soft-fp/fmadf4.c: Likewise.
30622         * soft-fp/fmatf4.c: Likewise.
30624 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30626         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30627         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30628         Silvermont.
30629         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30630         macro.
30631         (index_Slow_SSE4_2): Likewise.
30632         (index_Prefer_PMINUB_for_stringop): Likewise.
30633         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30634         bit_Slow_SSE4_2 is set.
30635         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30636         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30638 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30640         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30641         rtld_global._dl_hwcap2.
30642         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30643         POWER8.
30644         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30645         POWER8 feature descriptions defined in _dl_hwcap2.
30646         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30647         string handling for POWER8 feature bits.
30648         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30649         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30650         _dl_powerpc_cap_flags.
30651         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30652         * sysdeps/powerpc/rtld-global-offsets.sym
30653         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30654         _dl_hwcap2 in the rtld_global_ro structure.
30656 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30658         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30659         hardware capabilities in support of AT_HWCAP2.
30660         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30661         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30662         GLRO(dl_hwcap2).
30663         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30664         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30665         explicitly the unknown a_type display mechanism is used.
30666         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30667         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30668         struct member.
30669         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30670         to macro prototype for AT_HWCAP2 support.
30671         * sysdeps/i386/dl-procinfo.h: Likewise.
30672         * sysdeps/s390/dl-procinfo.h: Likewise.
30673         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30674         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30675         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30676         return -1 for unknown a_type display fallback.
30677         * sysdeps/sparc/dl-procinfo.h: Likewise.
30678         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30679         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30681 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30683         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30684         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30686 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30688         [BZ #12492]
30689         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30690         mprotect making __stack_prot writable.
30692 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30693             Joseph Myers  <joseph@codesourcery.com>
30695         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30696         as being properly aligned.
30698 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30700         * dlfcn/modstatic5.c: New file.
30701         * dlfcn/tststatic5.c: New file.
30702         * dlfcn/Makefile (tests): Add tststatic5.
30703         (tests-static): Likewise.
30704         (modules-names): Add modstatic5.
30705         (tststatic5-ENV): New variable.
30706         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30708         [BZ #15022]
30709         * elf/dl-support.c (_dl_main_map): New variable.
30710         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30711         (_dl_nns, _dl_load_adds): Set to 1.
30712         (_dl_initial_searchlist): Refer to _dl_main_map.
30713         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30714         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30715         call to _dl_get_origin.
30716         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30717         around call_map.
30718         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30719         * dlfcn/modstatic3.c: New file.
30720         * dlfcn/tststatic3.c: New file.
30721         * dlfcn/tststatic4.c: New file.
30722         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30723         (tests-static): Likewise.
30724         (modules-names): Add modstatic3.
30725         (tststatic3-ENV, tststatic4-ENV): New variables.
30726         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30727         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30729 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30731         * configure.in (CC): Require GCC version 4.4 or later.
30732         * configure: Regenerated.
30733         * manual/install.texi (Tools for Compilation): Update GCC version
30734         requirement.
30735         * INSTALL: Regenerated.
30737 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30739         [BZ #15674]
30740         * string/test-memcmp.c (check2): New.
30741         (main): Call check2.
30743         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30745 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30747         [BZ #15022]
30748         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30749         over to...
30750         (dl_open_worker) [!SHARED]: ... here.
30752 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30754         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30756 2013-06-25  Richard Henderson  <rth@redhat.com>
30758         * locale/programs/locarchive.c: Include <libc-internal.h>
30760 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30762         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30763         trailing whitespace removed.
30765 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30767         [BZ #10283]
30768         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30769         * locale/programs/locarchive.c: Include libc-mmap.h.
30770         (prepare_address_space): Take two new outputs (the mmap base and len).
30771         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30772         values.
30773         (create_archive): Declare new mmap base and len values for
30774         prepare_address_space, and store the result in ah.
30775         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30776         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30777         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30778         Declare new mmap base and len values for
30779         prepare_address_space, and store the result in new_ah.
30780         (open_archive): Declare new mmap base and len values for
30781         prepare_address_space, and store the result in ah.
30782         (close_archive): If ah->mmap_base is not NULL, use that and
30783         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30784         * sysdeps/generic/libc-mmap.h: New file.
30786 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30788         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30789         (ALIGN_UP): Likewise.
30790         (PTR_ALIGN_DOWN): Likewise.
30791         (PTR_ALIGN_UP): Likewise.
30793 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30795         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30796         entry mapped to PPC_PLATFORM_POWER8.
30797         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30798         POWER8.
30799         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30800         (_dl_string_platform): Add case for exporting platform position for
30801         POWER8.
30802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30803         search path to sysdeps/powerpc/powerpc32/power8 directory.
30804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30805         search path to sysdeps/powerpc/powerpc64/power8 directory.
30806         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30807         power7 directories.
30808         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30809         power7 directories.
30811 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30813         * INSTALL: Regenerate.
30815         * nscd/connections.c (nscd_init): Fix comment.
30817 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30819         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30821         [BZ #15667]
30822         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30823         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30825 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30827         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30828         DL_DST_REQ_STATIC.
30829         (DL_DST_REQ_STATIC): Remove macro.
30831 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30833         [BZ #7006]
30834         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30835         with a shift of 0 bits.
30837 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30839         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30840         $(tststatic-ENV).
30842 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30844         [BZ #15655]
30845         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30847 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30849         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30850         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30851         accepts -fno-tree-loop-distribute-patterns.
30852         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30853         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30854         recursive call.
30855         * string/memset.c (memset): Likewise.
30856         * string/test-memmove.c (simple_memmove): Disable loop transformation
30857         to library calls.
30858         * string/test-memset.c (simple_memset): Likewise.
30859         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30860         * benchtests/bench-memset.c (simple_memset): Likewise.
30861         * configure: Regenerated.
30863 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30865         * math/test-misc.c (main): Ignore fesetround failure when failures
30866         of subsequent rounding tests would be ignored.
30868         [BZ #15654]
30869         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30870         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30871         * math/fegetenv.c (__fegetenv): Return 0.
30872         * math/fegetexcept.c (fegetexcept): Return 0.
30873         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30874         FE_TONEAREST.
30875         * math/feholdexcpt.c (feholdexcept): Return 0.
30876         * math/fesetenv.c (__fesetenv): Return 0.
30877         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30878         argument FE_TONEAREST.
30879         * math/feupdateenv.c (__feupdateenv): Return 0.
30880         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30882 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30884         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30885         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30886         ($(objpfx)rtld-%.os rules): Use them.
30888 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30890         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30891         fields.
30893 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30895         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30896         length of target pattern, then descending length of dependency pattern.
30897         * configure.in (AWK): Require gawk 3.1.2 or newer.
30898         * manual/install.texi (Tools for Compilation): Say that we do.
30899         * configure: Regenerated.
30901         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30902         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30903         * scripts/sysd-rules.awk: ... this new script.
30904         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30905         than a glob-style pattern.
30907 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30909         * math/test-misc.c (main): Do not treat incorrectly rounded
30910         conversions as failure unless ROUNDING_TESTS passes.
30912 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30914         [BZ #15631]
30915         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30916         restore exception state around main square root computation, then
30917         check for inexactness explicitly.
30919         * math/libm-test.inc (fma_test_data): Add another test.
30921 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30923         * manual/threads.texi (Non-POSIX Extensions): New document
30924         node.  Document pthread_getattr_default_np and
30925         pthread_setattr_default_np.
30927         * Versions.def (libpthread): Add GLIBC_2.18.
30928         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30930         Likewise.
30931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30932         Likewise.
30933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30934         Likewise.
30935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30936         Likewise.
30937         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30938         Likewise.
30939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30940         Likewise.
30941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30942         Likewise.
30943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30944         Likewise.
30945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30946         Likewise.
30948 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30951         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30953 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30954             H.J. Lu  <hjl.tools@gmail.com>
30956         [BZ #15627]
30957         * sysdeps/x86_64/rtld-memset.c: Remove file.
30958         * sysdeps/x86_64/rtld-memset.S: New file.
30960 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30962         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30963         (test_in_one_mode): Take arguments for whether the rounding mode
30964         is supported for each floating-point type.
30965         (do_test): Pass new arguments to test_in_one_mode using
30966         ROUNDING_TESTS.
30968 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30970         * posix/tst-waitid.c (do_test): Distinguish different instances of
30971         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30972         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30973         before entering the kernel for waitpid.
30975 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30977         * NEWS: Fix note on clock function precision.  Text by Roland
30978         McGrath.
30980 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30982         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30983         it into place only when and if the sanity check passes.
30985 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30987         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30988         output for whether conversion result is exact.  Take argument
30989         indicating whether type is IBM long double.
30990         (round_for_all): Change need_exact field to ibm_ld.
30991         * stdlib/tst-strtod-round.c (struct exactness): New type.
30992         (struct test): Change bool ld_ok field to struct exactness exact.
30993         (TEST): Update all definitions for change to field.
30994         (tests): Regenerate array contents.
30995         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30996         field value.  Check for IBM long double here.
30997         (do_test): Update calls to test_in_one_mode.
30999 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31001         [BZ #12515]
31002         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31003         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31005 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31007         [BZ #15605]
31008         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31009         generated by the compiler on loop optimizations.
31010         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31011         general definitions.
31013 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31015         * math/bug-nextafter.c: Include <math-tests.h>.
31016         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31017         the relevant type.
31018         * math/bug-nexttoward.c: Include <math-tests.h>.
31019         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31020         the relevant type.
31021         * math/test-misc.c: Include <math-tests.h>.
31022         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31023         the relevant type.
31025 2013-06-12  Andreas Jaeger  <aj@suse.de>
31027         * po/ia.po: Update Interlingua translation from translation
31028         project.
31030 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31032         * include/fenv.h: Include stdbool.h.
31033         (struct rm_ctx): New structure.
31034         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31035         Define macro.
31036         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31037         (SET_RESTORE_ROUNDF): Likewise.
31038         (SET_RESTORE_ROUNDL): Likewise.
31039         (SET_RESTORE_ROUND_NOEX): Likewise.
31040         (SET_RESTORE_ROUND_NOEXF): Likewise.
31041         (SET_RESTORE_ROUND_NOEXL): Likewise.
31042         (SET_RESTORE_ROUND_53BIT): Likewise.
31043         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31044         (libc_feresetround_noexf_ctx): Likewise.
31045         (libc_feresetround_noexl_ctx): Likewise.
31046         (libc_feholdsetround_53bit_ctx): Likewise.
31047         (libc_feresetround_53bit_ctx): Likewise.
31048         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31049         (libc_feholdexcept_setround_sse_ctx): New function.
31050         (libc_fesetenv_sse_ctx): Likewise.
31051         (libc_feupdateenv_sse_ctx): Likewise.
31052         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31053         (libc_feholdexcept_setround_387_ctx): Likewise.
31054         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31055         (libc_feholdsetround_387_prec_ctx): Likewise.
31056         (libc_feholdsetround_387_ctx): Likewise.
31057         (libc_feholdsetround_387_53bit_ctx): Likewise.
31058         (libc_feholdsetround_sse_ctx): Likewise.
31059         (libc_feresetround_sse_ctx): Likewise.
31060         (libc_feresetround_387_ctx): Likewise.
31061         (libc_feupdateenv_387_ctx): Likewise.
31062         (libc_feholdexcept_setroundf_ctx): Define macro.
31063         (libc_fesetenvf_ctx): Likewise.
31064         (libc_feupdateenvf_ctx): Likewise.
31065         (libc_feholdsetroundf_ctx): Likewise.
31066         (libc_feresetroundf_ctx): Likewise.
31067         (libc_feholdexcept_setround_ctx): Likewise.
31068         (libc_fesetenv_ctx): Likewise.
31069         (libc_feupdateenv_ctx): Likewise.
31070         (libc_feholdsetround_ctx): Likewise.
31071         (libc_feresetround_ctx): Likewise.
31072         (libc_feholdexcept_setroundl_ctx): Likewise.
31073         (libc_feupdateenvl_ctx): Likewise.
31074         (libc_feholdsetroundl_ctx): Likewise.
31075         (libc_feresetroundl_ctx): Likewise.
31076         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31077         (libc_feresetround_53bit_ctx): Likewise.
31079 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31081         * locale/iso-639.def: Convert to UTF-8.
31083 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31085         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31086         (EXCEPTION_TESTS_double): Likewise.
31087         (EXCEPTION_TESTS_long_double): Likewise.
31088         (EXCEPTION_TESTS): Likewise.
31089         * math/libm-test.inc (test_exceptions): Only test exceptions if
31090         EXCEPTION_TESTS (FLOAT).
31092 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31094         * benchtests/Makefile (string-bench): Add strcpy_chk and
31095         stpcpy_chk.
31096         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31097         * benchtests/bench-stpcpy_chk.c: New file.
31098         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31099         * benchtests/bench-strcpy_chk.c: New file.
31100         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31101         code.
31102         (do_test): Likewise.
31104 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31106         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31107         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31108         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31109         with tabs where appropriate.
31110         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31111         dl-procinfo.h.
31112         [PPC_PLATFORM_PPC440]: Likewise.
31113         [PPC_PLATFORM_PPC464]: Likewise.
31114         [PPC_PLATFORM_PPC476]: Likewise.
31115         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31116         ppc464, and ppc476 platform strings merging from ports/
31117         dl-procinfo.h.
31119 2013-06-11  Andreas Schwab  <schwab@suse.de>
31121         [BZ #14991]
31122         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31123         (from_ucs4_idx): Regenerate.
31124         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31125         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31126         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31127         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31128         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31129         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31130         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31131         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31132         from FROM_LOOP and TO_LOOP specific macros.
31133         (BODY): Handle combining characters.
31134         * iconvdata/BIG5HKSCS.irreversible: Update.
31135         * iconvdata/BIG5HKSCS.precomposed: New file.
31136         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31137         characters.
31138         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31140 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31142         * include/sys/time.h: Fix indentation and add copyright header.
31144         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31145         (do_test): Likewise.
31146         * string/test-memchr.c (do_one_test): Likewise.
31147         (do_test): Likewise.
31148         * string/test-memcmp.c (do_one_test): Likewise.
31149         (do_test): Likewise.
31150         * string/test-memcpy.c (do_one_test): Likewise.
31151         (do_test): Likewise.
31152         * string/test-memmem.c (do_one_test): Likewise.
31153         (do_test): Likewise.
31154         (do_random_tests): Likewise.
31155         * string/test-memmove.c (do_one_test): Likewise.
31156         (do_test): Likewise.
31157         * string/test-memset.c (do_one_test): Likewise.
31158         (do_test): Likewise.
31159         * string/test-rawmemchr.c (do_one_test): Likewise.
31160         (do_test): Likewise.
31161         * string/test-strcasecmp.c (do_one_test): Likewise.
31162         (do_test): Likewise.
31163         * string/test-strcasestr.c (do_one_test): Likewise.
31164         (do_test): Likewise.
31165         * string/test-strcat.c (do_one_test): Likewise.
31166         (do_test): Likewise.
31167         * string/test-strchr.c (do_one_test): Likewise.
31168         (do_test): Likewise.
31169         * string/test-strcmp.c (do_one_test): Likewise.
31170         (do_test): Likewise.
31171         * string/test-strcpy.c (do_one_test): Likewise.
31172         (do_test): Likewise.
31173         * string/test-string.h: Likewise.
31174         (test_init): Likewise.
31175         * string/test-strlen.c (do_one_test): Likewise.
31176         (do_test): Likewise.
31177         * string/test-strncasecmp.c (do_one_test): Likewise.
31178         (do_test): Likewise.
31179         * string/test-strncat.c (do_one_test): Likewise.
31180         (do_test): Likewise.
31181         * string/test-strncmp.c (do_one_test): Likewise.
31182         (do_test_limit): Likewise.
31183         (do_test): Likewise.
31184         * string/test-strncpy.c (do_one_test): Likewise.
31185         (do_test): Likewise.
31186         * string/test-strnlen.c (do_one_test): Likewise.
31187         (do_test): Likewise.
31188         * string/test-strpbrk.c (do_one_test): Likewise.
31189         (do_test): Likewise.
31190         * string/test-strrchr.c (do_one_test): Likewise.
31191         (do_test): Likewise.
31192         * string/test-strspn.c (do_one_test): Likewise.
31193         (do_test): Likewise.
31194         * string/test-strstr.c (do_one_test): Likewise.
31195         (do_test): Likewise.
31197         * benchtests/Makefile (string-bench): Add string benchmarks.
31198         * benchtests/bench-bcopy-ifunc.c: New file.
31199         * benchtests/bench-bcopy.c: New file.
31200         * benchtests/bench-bzero-ifunc.c: New file.
31201         * benchtests/bench-bzero.c: New file.
31202         * benchtests/bench-memccpy-ifunc.c: New file.
31203         * benchtests/bench-memccpy.c: New file.
31204         * benchtests/bench-memchr-ifunc.c: New file.
31205         * benchtests/bench-memchr.c: New file.
31206         * benchtests/bench-memcmp-ifunc.c: New file.
31207         * benchtests/bench-memcmp.c: New file.
31208         * benchtests/bench-memmem-ifunc.c: New file.
31209         * benchtests/bench-memmem.c: New file.
31210         * benchtests/bench-memmove-ifunc.c: New file.
31211         * benchtests/bench-memmove.c: New file.
31212         * benchtests/bench-mempcpy-ifunc.c: New file.
31213         * benchtests/bench-mempcpy.c: New file.
31214         * benchtests/bench-memset-ifunc.c: New file.
31215         * benchtests/bench-memset.c: New file.
31216         * benchtests/bench-rawmemchr-ifunc.c: New file.
31217         * benchtests/bench-rawmemchr.c: New file.
31218         * benchtests/bench-stpcpy-ifunc.c: New file.
31219         * benchtests/bench-stpcpy.c: New file.
31220         * benchtests/bench-stpncpy-ifunc.c: New file.
31221         * benchtests/bench-stpncpy.c: New file.
31222         * benchtests/bench-strcasecmp-ifunc.c: New file.
31223         * benchtests/bench-strcasecmp.c: New file.
31224         * benchtests/bench-strcasestr-ifunc.c: New file.
31225         * benchtests/bench-strcasestr.c: New file.
31226         * benchtests/bench-strcat-ifunc.c: New file.
31227         * benchtests/bench-strcat.c: New file.
31228         * benchtests/bench-strchr-ifunc.c: New file.
31229         * benchtests/bench-strchr.c: New file.
31230         * benchtests/bench-strchrnul-ifunc.c: New file.
31231         * benchtests/bench-strchrnul.c: New file.
31232         * benchtests/bench-strcmp-ifunc.c: New file.
31233         * benchtests/bench-strcmp.c: New file.
31234         * benchtests/bench-strcpy-ifunc.c: New file.
31235         * benchtests/bench-strcpy.c: New file.
31236         * benchtests/bench-strcspn-ifunc.c: New file.
31237         * benchtests/bench-strcspn.c: New file.
31238         * benchtests/bench-strlen-ifunc.c: New file.
31239         * benchtests/bench-strlen.c: New file.
31240         * benchtests/bench-strncasecmp-ifunc.c: New file.
31241         * benchtests/bench-strncasecmp.c: New file.
31242         * benchtests/bench-strncat-ifunc.c: New file.
31243         * benchtests/bench-strncat.c: New file.
31244         * benchtests/bench-strncmp-ifunc.c: New file.
31245         * benchtests/bench-strncmp.c: New file.
31246         * benchtests/bench-strncpy-ifunc.c: New file.
31247         * benchtests/bench-strncpy.c: New file.
31248         * benchtests/bench-strnlen-ifunc.c: New file.
31249         * benchtests/bench-strnlen.c: New file.
31250         * benchtests/bench-strpbrk-ifunc.c: New file.
31251         * benchtests/bench-strpbrk.c: New file.
31252         * benchtests/bench-strrchr-ifunc.c: New file.
31253         * benchtests/bench-strrchr.c: New file.
31254         * benchtests/bench-strspn-ifunc.c: New file.
31255         * benchtests/bench-strspn.c: New file.
31256         * benchtests/bench-strstr-ifunc.c: New file.
31257         * benchtests/bench-strstr.c: New file.
31259         * benchtests/Makefile: Disable parallel execution of targets.
31260         (string-bench): Add memcpy.
31261         (benchset): New variable to store a list of benchmark sets.
31262         (bench-func): Renamed from bench.
31263         (bench-set): New target.
31264         (bench): Depend on bench-func and bench-set.
31265         * benchtests/README: Add section on benchmark sets.
31266         * benchtests/bench-memcpy-ifunc.c: New file.
31267         * benchtests/bench-memcpy.c: New file.
31268         * benchtests/bench-string.h: New file.
31270 2013-06-11  Andreas Schwab  <schwab@suse.de>
31272         [BZ #15577]
31273         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31274         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31275         values in the triple.
31276         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31277         terminator in the group key.
31279 2013-06-11  Andreas Jaeger  <aj@suse.de>
31281         * po/zh_TW.po: Update Chinese (traditional) translation from
31282         translation project.
31284 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31286         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31287         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31288         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31289         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31290         (clock_getcpuclockid): Likewise.
31291         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31292         Add weak_alias and libc_hidden_def.
31293         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31294         * rt/clock_gettime.c (clock_gettime): Rename to
31295         __clock_gettime.  Add weak_alias and libc_hidden_def.
31296         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31297         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31298         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31299         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31300         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31301         Likewise.
31302         * rt/clock_settime.c (clock_settime): Rename to
31303         __clock_settime.  Add weak_alias and libc_hidden_def.
31304         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31306 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31308         * mach/err_boot.sub: Remove trailing whitespace.
31309         * mach/err_ipc.sub: Likewise.
31310         * mach/err_mach.sub: Likewise.
31312         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31313         (ROUNDING_TESTS_double): Likewise.
31314         (ROUNDING_TESTS_long_double): Likewise.
31315         (ROUNDING_TESTS): Likewise.
31316         * math/libm-test.inc: Include <math-tests.h>.
31317         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31318         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31319         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31320         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31322 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31324         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31325         of assigning.
31327 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31329         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31330         otherwise empty TRANS lines.
31331         * sysdeps/gnu/errlist.c: Regenerated.
31333         * catgets/gencat.c (error_print): Use (void) in function
31334         definition.
31335         * crypt/crypt_util.c (__init_des): Likewise.
31336         * crypt/speeds.c (Stop): Likewise.
31337         (main): Likewise.
31338         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31339         * inet/ruserpass.c (token): Likewise.
31340         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31341         * intl/localealias.c (extend_alias_table): Likewise.
31342         * intl/plural-exp.c (init_germanic_plural): Likewise.
31343         * libio/fcloseall.c (__fcloseall): Likewise.
31344         * libio/genops.c (_IO_flush_all): Likewise.
31345         (_IO_flush_all_linebuffered): Likewise.
31346         (_IO_cleanup): Likewise.
31347         (_IO_iter_begin): Likewise.
31348         (_IO_iter_end): Likewise.
31349         (_IO_list_lock): Likewise.
31350         (_IO_list_unlock): Likewise.
31351         (_IO_list_resetlock): Likewise.
31352         * libio/getchar.c (getchar): Likewise.
31353         * libio/getchar_u.c (getchar_unlocked): Likewise.
31354         * libio/getwchar.c (getwchar): Likewise.
31355         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31356         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31357         * login/getpt.c (__getpt): Likewise.
31358         * login/tst-utmp.c (main): Likewise.
31359         * malloc/hooks.c (__malloc_check_init): Likewise.
31360         * malloc/malloc.c (__malloc_stats): Likewise.
31361         * malloc/mtrace.c (tr_break): Likewise.
31362         (mtrace): Likewise.
31363         (muntrace): Likewise.
31364         * misc/fstab.c (endfsent): Likewise.
31365         * misc/getclktck.c (__getclktck): Likewise.
31366         * misc/getdtsz.c (__getdtablesize): Likewise.
31367         * misc/gethostid.c (gethostid): Likewise.
31368         * misc/getpagesize.c (__getpagesize): Likewise.
31369         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31370         (__get_nprocs): Likewise.
31371         (__get_phys_pages): Likewise.
31372         (__get_avphys_pages): Likewise.
31373         * misc/getttyent.c (getttyent): Likewise.
31374         (setttyent): Likewise.
31375         (endttyent): Likewise.
31376         * misc/getusershell.c (getusershell): Likewise.
31377         (endusershell): Likewise.
31378         (setusershell): Likewise.
31379         (initshells): Likewise.
31380         * misc/hsearch.c (__hdestroy): Likewise.
31381         * misc/sync.c (sync): Likewise.
31382         * misc/syslog.c (closelog_internal): Likewise.
31383         (closelog): Likewise.
31384         * misc/ttyslot.c (ttyslot): Likewise.
31385         * misc/vhangup.c (vhangup): Likewise.
31386         * posix/fork.c (__fork): Likewise.
31387         * posix/getegid.c (__getegid): Likewise.
31388         * posix/geteuid.c (__geteuid): Likewise.
31389         * posix/getgid.c (__getgid): Likewise.
31390         * posix/getpid.c (__getpid): Likewise.
31391         * posix/getppid.c (__getppid): Likewise.
31392         * posix/getuid.c (__getuid): Likewise.
31393         * posix/pause.c (pause): Likewise.
31394         * posix/setpgrp.c (setpgrp): Likewise.
31395         * posix/setsid.c (__setsid): Likewise.
31396         * posix/test-vfork.c (noop): Likewise.
31397         * resolv/gethnamaddr.c (_endhtent): Likewise.
31398         (_gethtent): Likewise.
31399         (ht_endhostent): Likewise.
31400         (gethostent): Likewise.
31401         (dns_service): Likewise.
31402         * stdlib/drand48.c (drand48): Likewise.
31403         * stdlib/lrand48.c (lrand48): Likewise.
31404         * stdlib/mrand48.c (mrand48): Likewise.
31405         * stdlib/rand.c (rand): Likewise.
31406         * stdlib/random.c (__random): Likewise.
31407         * stdlib/setenv.c (clearenv): Likewise.
31408         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31409         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31410         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31411         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31412         (__get_nprocs): Likewise.
31413         (__get_phys_pages): Likewise.
31414         (__get_avphys_pages): Likewise.
31415         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31416         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31417         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31418         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31419         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31420         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31421         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31422         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31423         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31424         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31425         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31426         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31427         * sysdeps/posix/clock.c (clock): Likewise.
31428         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31429         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31430         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31431         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31432         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31433         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31434         (__get_nprocs_conf): Likewise.
31435         (__get_phys_pages): Likewise.
31436         (__get_avphys_pages): Likewise.
31437         * time/clock.c (clock): Likewise.
31438         * time/tzset.c (__tzname_max): Likewise.
31440 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31442         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31443         (__bswap_32): Do not use "register".
31444         * crypt/crypt.c (_ufc_doit_r): Likewise.
31445         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31446         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31447         * gmon/gmon.c (__monstartup): Likewise.
31448         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31449         * hurd/hurdmalloc.c (more_memory): Likewise.
31450         (malloc): Likewise.
31451         (free): Likewise.
31452         (realloc): Likewise.
31453         (malloc_fork_prepare): Likewise.
31454         (malloc_fork_parent): Likewise.
31455         (malloc_fork_child): Likewise.
31456         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31457         (_svcauth_des): Likewise.
31458         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31459         * inet/inet_net.c (inet_network): Likewise.
31460         * inet/inet_netof.c (inet_netof): Likewise.
31461         * inet/rcmd.c (__validuser2_sa): Likewise.
31462         * io/fts.c (fts_open): Likewise.
31463         (fts_load): Likewise.
31464         (fts_close): Likewise.
31465         (fts_read): Likewise.
31466         (fts_children): Likewise.
31467         (fts_build): Likewise.
31468         (fts_stat): Likewise.
31469         (fts_sort): Likewise.
31470         (fts_alloc): Likewise.
31471         (fts_lfree): Likewise.
31472         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31473         (_IO_file_xsgetn): Likewise.
31474         (_IO_file_xsgetn_mmap): Likewise.
31475         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31476         (_IO_cookie_write): Likewise.
31477         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31478         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31479         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31480         * malloc/obstack.c (_obstack_begin): Likewise.
31481         (_obstack_begin_1): Likewise.
31482         (_obstack_newchunk): Likewise.
31483         (_obstack_allocated_p): Likewise.
31484         (obstack_free): Likewise.
31485         (_obstack_memory_used): Likewise.
31486         * misc/getttyent.c (getttynam): Likewise.
31487         (getttyent): Likewise.
31488         (skip): Likewise.
31489         (value): Likewise.
31490         * misc/getusershell.c (initshells): Likewise.
31491         * misc/syslog.c (__vsyslog_chk): Likewise.
31492         * misc/ttyslot.c (ttyslot): Likewise.
31493         * nis/nis_hash.c (__nis_hash): Likewise.
31494         * posix/fnmatch_loop.c (FCT): Likewise.
31495         * posix/getconf.c (print_all): Likewise.
31496         (main): Likewise.
31497         * posix/getopt.c (exchange): Likewise.
31498         * posix/glob.c (globfree): Likewise.
31499         (prefix_array): Likewise.
31500         (__glob_pattern_type): Likewise.
31501         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31502         (NS_GET32): Likewise.
31503         (NS_PUT16): Likewise.
31504         (NS_PUT32): Likewise.
31505         * resolv/gethnamaddr.c (getanswer): Likewise.
31506         (gethostbyname2): Likewise.
31507         (gethostbyaddr): Likewise.
31508         (_gethtent): Likewise.
31509         (_gethtbyname2): Likewise.
31510         (_gethtbyaddr): Likewise.
31511         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31512         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31513         * resolv/res_init.c (__res_vinit): Likewise.
31514         (net_mask): Likewise.
31515         * resolv/res_mkquery.c (outchar): Likewise.
31516         (PRINT): Likewise.
31517         * stdio-common/printf_fp.c (outchar): Likewise.
31518         (PRINT): Likewise.
31519         * stdio-common/printf_fphex.c (outchar): Likewise.
31520         (PRINT): Likewise.
31521         * stdio-common/printf_size.c (outchar): Likewise.
31522         (PRINT): Likewise.
31523         * stdio-common/test_rdwr.c (main): Likewise.
31524         * stdio-common/tfformat.c (matches): Likewise.
31525         * stdio-common/vfprintf.c (outchar): Likewise.
31526         (printf_unknown): Likewise.
31527         (buffered_vfprintf): Likewise.
31528         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31529         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31530         (ReadFile): Likewise.
31531         * stdlib/qsort.c (SWAP): Likewise.
31532         (_quicksort): Likewise.
31533         * stdlib/setenv.c (__add_to_environ): Likewise.
31534         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31535         * stdlib/strtol_l.c (__strtol_l): Likewise.
31536         * stdlib/tst-strtod.c (main): Likewise.
31537         * stdlib/tst-strtol.c (main): Likewise.
31538         * stdlib/tst-strtoll.c (main): Likewise.
31539         * string/bits/string2.h (__strcmp_cc): Likewise.
31540         (__strcmp_cg): Likewise.
31541         (__strcspn_c1): Likewise.
31542         (__strcspn_c2): Likewise.
31543         (__strcspn_c3): Likewise.
31544         (__strspn_c1): Likewise.
31545         (__strspn_c2): Likewise.
31546         (__strspn_c3): Likewise.
31547         (__strsep_1c): Likewise.
31548         (__strsep_2c): Likewise.
31549         (__strsep_3c): Likewise.
31550         * string/memccpy.c (__memccpy): Likewise.
31551         * string/stpcpy.c (__stpcpy): Likewise.
31552         * string/strcmp.c (strcmp): Likewise.
31553         * string/strrchr.c (strrchr): Likewise.
31554         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31555         Likewise.
31556         * sysdeps/mach/hurd/getcwd.c
31557         (_hurd_canonicalize_directory_name_internal): Likewise.
31558         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31559         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31560         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31561         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31562         Likewise, in both definitions.
31563         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31564         definitions.
31565         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31566         64] (__bswap_64): Likewise.
31567         * time/test_time.c (main): Likewise.
31568         * time/tzfile.c (__tzfile_read): Likewise.
31569         (__tzfile_compute): Likewise.
31570         * time/tzset.c (__tzset_parse_tz): Likewise.
31571         (tzset_internal): Likewise.
31572         (compute_change): Likewise.
31573         * wcsmbs/wcscat.c (__wcscat): Likewise.
31574         * wcsmbs/wcschr.c (wcschr): Likewise.
31575         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31576         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31577         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31578         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31579         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31580         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31581         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31582         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31583         * wcsmbs/wmemset.c (wmemset): Likewise.
31585 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31587         * scripts/config.guess: Update to version 2013-05-16.
31588         * scripts/config.sub: Update to version 2013-04-24.
31589         * scripts/install-sh: Update to version 2011-11-20.07.
31590         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31591         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31593 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31595         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31596         * elf/sln.c: Likewise.
31597         * hurd/hurd/ioctl.h: Likewise.
31598         * hurd/hurdmalloc.c: Likewise.
31599         * hurd/xattr.c: Likewise.
31600         * include/shlib-compat.h: Likewise.
31601         * inet/ruserpass.c: Likewise.
31602         * libio/iofgets_u.c: Likewise.
31603         * libio/iofgetws_u.c: Likewise.
31604         * locale/programs/ld-identification.c: Likewise.
31605         * locale/programs/ld-time.c: Likewise.
31606         * mach/msg-destroy.c: Likewise.
31607         * nss/nss_files/files-netgrp.c: Likewise.
31608         * resolv/res_data.c: Likewise.
31609         * soft-fp/op-1.h: Likewise.
31610         * soft-fp/op-2.h: Likewise.
31611         * soft-fp/op-4.h: Likewise.
31612         * soft-fp/op-common.h: Likewise.
31613         * stdio-common/printf_fphex.c: Likewise.
31614         * stdlib/strtod_l.c: Likewise.
31615         * sunrpc/rpc/clnt.h: Likewise.
31616         * sysdeps/generic/framestate.c: Likewise.
31617         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31618         * sysdeps/i386/bsd-setjmp.S: Likewise.
31619         * sysdeps/i386/__longjmp.S: Likewise.
31620         * sysdeps/i386/setjmp.S: Likewise.
31621         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31622         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31623         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31624         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31625         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31626         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31627         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31628         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31629         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31630         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31631         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31632         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31633         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31634         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31635         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31636         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31637         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31638         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31639         * sysdeps/ieee754/support.c: Likewise.
31640         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31641         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31642         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31643         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31644         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31645         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31646         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31647         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31648         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31649         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31650         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31651         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31652         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31653         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31654         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31655         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31656         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31659 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31661         * posix/transbug.c: Remove executable mode.
31663 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31665         * crypt/speeds.c: Remove trailing whitespace.
31666         * dlfcn/default.c: Likewise.
31667         * elf/ifuncdep2.c: Likewise.
31668         * elf/ifuncmain1.c: Likewise.
31669         * elf/ifuncmain1vis.c: Likewise.
31670         * elf/testobj.h: Likewise.
31671         * elf/tst-stackguard1.c: Likewise.
31672         * gmon/sys/gmon.h: Likewise.
31673         * hurd/hurdmsg.c: Likewise.
31674         * hurd/new-fd.c: Likewise.
31675         * hurd/ports-get.c: Likewise.
31676         * iconvdata/ibm1008_420.c: Likewise.
31677         * inet/tst-getni1.c: Likewise.
31678         * inet/tst-getni2.c: Likewise.
31679         * libio/ioungetc.c: Likewise.
31680         * libio/wfiledoalloc.c: Likewise.
31681         * manual/libm-err-tab.pl: Likewise.
31682         * math/w_dremf.c: Likewise.
31683         * misc/ftruncate.c: Likewise.
31684         * posix/bug-glob2.c: Likewise.
31685         * posix/tst-pcre.c: Likewise.
31686         * posix/wait4.c: Likewise.
31687         * resolv/README: Likewise.
31688         * resolv/res_debug.h: Likewise.
31689         * resolv/tst-inet_ntop.c: Likewise.
31690         * setjmp/bug269-setjmp.c: Likewise.
31691         * soft-fp/extended.h: Likewise.
31692         * soft-fp/op-1.h: Likewise.
31693         * soft-fp/op-2.h: Likewise.
31694         * soft-fp/op-4.h: Likewise.
31695         * soft-fp/op-8.h: Likewise.
31696         * soft-fp/testit.c: Likewise.
31697         * stdio-common/bug16.c: Likewise.
31698         * stdlib/random.c: Likewise.
31699         * sunrpc/rpcsvc/rquota.x: Likewise.
31700         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31701         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31702         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31703         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31704         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31705         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31706         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31707         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31708         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31709         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31710         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31711         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31712         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31713         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31714         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31715         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31716         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31717         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31718         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31719         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31720         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31721         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31722         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31723         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31724         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31725         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31726         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31727         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31728         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31729         * sysdeps/ieee754/s_lib_version.c: Likewise.
31730         * sysdeps/mach/hurd/check_fds.c: Likewise.
31731         * sysdeps/mach/hurd/getsockname.c: Likewise.
31732         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31733         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31734         * sysdeps/powerpc/bits/link.h: Likewise.
31735         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31736         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31737         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31738         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31739         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31740         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31741         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31742         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31743         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31744         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31745         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31746         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31747         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31748         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31749         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31750         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31751         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31752         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31753         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31754         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31755         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31756         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31757         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31758         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31759         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31760         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31761         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31762         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31763         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31764         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31765         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31766         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31767         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31768         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31769         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31770         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31771         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31772         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31773         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31774         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31775         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31776         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31777         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31778         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31779         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31780         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31781         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31782         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31783         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31784         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31785         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31786         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31787         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31788         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31789         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31790         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31791         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31792         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31793         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31794         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31795         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31796         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31797         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31798         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31799         * sysdeps/powerpc/sysdep.h: Likewise.
31800         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31801         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31802         * sysdeps/sh/dl-trampoline.S: Likewise.
31803         * sysdeps/sh/memset.S: Likewise.
31804         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31805         * sysdeps/sh/strlen.S: Likewise.
31806         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31807         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31808         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31809         * sysdeps/sparc/sparc32/rem.S: Likewise.
31810         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31811         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31812         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31813         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31814         * sysdeps/sparc/sparc32/urem.S: Likewise.
31815         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31816         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31817         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31818         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31819         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31820         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31821         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31822         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31823         * sysdeps/unix/bsd/times.c: Likewise.
31824         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31825         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31829         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31830         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31831         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31832         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31833         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31834         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31835         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31836         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31837         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31838         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31839         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31840         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31841         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31842         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31843         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31844         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31845         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31846         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31847         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31848         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31849         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31850         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31851         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31852         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31853         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31854         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31855         * sysdeps/x86_64/strcspn.S: Likewise.
31857 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31859         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31860         generated file.  Regenerate properly from gen-translit.pl.
31861         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31862         locale/C-translit.h.
31864 2013-06-05  Andreas Schwab  <schwab@suse.de>
31866         [BZ #15100]
31867         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31868         week as 6 instead of -1.
31869         * time/tst-strptime.c (day_tests): Add test case.
31871 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31873         * sysdeps/generic/math_private.h
31874         (libc_feholdexcept_setround_53bit): Replace with
31875         libc_feholdsetround_53bit.
31876         (libc_feupdateenv_53bit): Replace with
31877         libc_feresetround_53bit.
31878         (SET_RESTORE_ROUND_53BIT): Adjust.
31880 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31882         * string/test-strchrnul.c: Add copyright header.
31884         * posix/tst-getaddrinfo4.c: Increase test timeout.
31886 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31888         [BZ #15536]
31889         * math/libm-test.inc (MAX_EXP): Remove
31890         (MIN_EXP): Define.
31891         (ulp): Use MIN_EXP - MANT_DIG.
31892         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31894 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31896         * po/be.po: Revert last change.
31897         * po/zh_CN.po: Likewise.
31898         * po/header.pot: Likewise.
31900 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31902         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31903         link-libc-deps to empty as target-specific variable.
31904         * Makerules (link-libc-args): New variable.
31905         (libc-for-link): Likewise.
31906         (link-libc-deps): Likewise.
31907         (lib%.so): Depend on $(link-libc-deps).  Link with
31908         $(link-libc-args).
31909         (build-module): Link with $(link-libc-args).
31910         (build-module-asneeded): Likewise.
31911         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31912         list of objects.
31913         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31914         target-specific variable.
31915         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31916         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31917         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31918         libc.
31919         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31920         libc and ld.so.
31921         ($(objpfx)libpcprofile.so): Likewise.
31922         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31923         libc_nonshared.a.
31924         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31925         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31926         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31927         $(link-libc-deps).
31928         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31929         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31930         * login/Makefile ($(objpfx)libutil.so): Likewise.
31931         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31932         * math/Makefile ($(objpfx)libm.so): Likewise.
31933         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31934         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31935         variable instead of depending directly on libc.
31936         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31937         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31938         $(link-libc-deps).
31939         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31940         libc.
31941         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31942         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31943         ($(objpfx)libanl.so): Likewise.
31944         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31945         ld.so.
31946         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31947         $(link-libc-deps).
31948         * sysdeps/i386/fpu/Makefile: Remove file.
31949         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31950         ($(objpfx)libm.so): Remove dependency on ld.so.
31952 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31954         [BZ # 15553]
31955         * nis/yp_xdr.c (XDRMAXNAME): Define.
31956         (XDRMAXRECORD): Define.
31957         (xdr_domainname): Use XDRMAXNAME.
31958         (xdr_mapname): Likewise.
31959         (xdr_peername): Likewise.
31960         (xdr_keydat): Use XDRMAXRECORD.
31961         (xdr_valdat): Likewise.
31963 2013-05-30  Jeff Law  <law@redhat.com>
31965         [BZ #14256]
31966         * manual/errno.texi (ESTALE): Update to account for more than
31967         just NFS file systems.
31968         * sysdeps/gnu/errlist.c: Regenerated.
31970 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31972         [BZ #15465]
31973         * elf/Makefile (tests): Add tst-null-argv.
31974         (modules-names):  Add tst-null-argv-lib.
31975         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31976         (tst-null-argv-ENV): Set environment for tst-null-argv.
31977         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31978         (RTLD_PROGNAME): New macro.
31979         * elf/tst-null-argv.c: New test case.
31980         * elf/tst-null-argv-lib.c: Library for test case.
31981         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31982         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31983         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31984         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31985         * elf/dl-init.c (call_init): Likewise.
31986         (_dl_init): Likewise.
31987         * elf/dl-load.c (print_search_path): Likewise.
31988         (_dl_map_object): Likewise.
31989         * elf/dl-lookup.c (do_lookup_x): Likewise.
31990         (add_dependency): Likewise.
31991         (_dl_lookup_symbol_x): Likewise.
31992         (_dl_debug_bindings): Likewise.
31993         * elf/dl-open.c (_dl_show_scope): Likewise.
31994         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31995         * elf/dl-version.c (match_symbol): Likewise.
31996         (_dl_check_map_versions): Likewise.
31997         * elf/rtld.c (dl_main): Likewise.
31998         (print_unresolved): Use RTLD_PROGNAME.
31999         (print_missing_version): Likewise.
32000         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32001         (elf_machine_rela): Likewise.
32002         * sysdeps/powerpc/powerpc32/dl-machine.c
32003         (__process_machine_rela): Likewise.
32004         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32005         Likewise.
32006         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32007         Likewise.
32008         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32009         Likewise.
32010         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32011         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32012         Likewise.
32013         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32014         Likewise.
32015         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32017 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32019         * po/be.po: Add descriptive title.
32020         * po/zh_CN.po: Likewise.
32021         * po/header.pot: Likewise.
32023 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32025         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32026         error message.
32027         (enlarge_archive): Likewise.
32029 2013-05-28  Ben North  <ben@redfrontdoor.org>
32031         * manual/arith.texi (frexp): It is the magnitude of the return
32032         value which lies in [0.5, 1), not the return value itself.
32034 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32038 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32040         * stdio-common/bug26.c (main): Correct fscanf template.
32042         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32043         declare _dl_skip_args.
32045         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32046         Don't declare.
32048         * manual/platform.texi: Add missing @end deftypefun.
32050 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32052         [BZ #15529]
32053         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32054         bit of mantissa of 2^16382.
32055         * math/libm-test.inc (hypot_test_data): Add more tests.
32057         * math/libm-test.inc: Add drem and pow10 to list of tested
32058         functions.
32059         (pow10_test): New function.
32060         (drem_test): Likewise.
32061         (drem_test_tonearest): Likewise.
32062         (drem_test_towardzero): Likewise.
32063         (drem_test_downward): Likewise.
32064         (drem_test_upward): Likewise.
32065         (main): Call the new functions.
32067         * math/libm-test.inc (finite_test_data): Remove.
32068         (finite_test): Run tests from isfinite_test_data.
32069         (gamma_test_data): Remove.
32070         (gamma_test): Run tests from lgamma_test_data.
32071         * sysdeps/i386/fpu/libm-test-ulps: Update.
32072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32074 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32076         * manual/platform.texi: Add PowerPC PPR function set documentation.
32077         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32078         implementation.
32080 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32082         * math/libm-test.inc (MAX_EXP): Define.
32083         (ULPDIFF): Define.
32084         (ulp): New function.
32085         (check_float_internal): Use ULPDIFF.
32086         (cpow_test): Disable failing test.
32087         (check_ulp): Test ulp() implemetnation.
32088         (main): Call check_ulp before starting tests.
32090 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32092         * math/gen-libm-test.pl (generate_testfile): Do not handle
32093         START_DATA and END_DATA.
32094         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32095         END_DATA.
32096         (acos_tonearest_test_data): Likewise.
32097         (acos_towardzero_test_data): Likewise.
32098         (acos_downward_test_data): Likewise.
32099         (acos_upward_test_data): Likewise.
32100         (acosh_test_data): Likewise.
32101         (asin_test_data): Likewise.
32102         (asin_tonearest_test_data): Likewise.
32103         (asin_towardzero_test_data): Likewise.
32104         (asin_downward_test_data): Likewise.
32105         (asin_upward_test_data): Likewise.
32106         (asinh_test_data): Likewise.
32107         (atan_test_data): Likewise.
32108         (atanh_test_data): Likewise.
32109         (atan2_test_data): Likewise.
32110         (cabs_test_data): Likewise.
32111         (cacos_test_data): Likewise.
32112         (cacosh_test_data): Likewise.
32113         (carg_test_data): Likewise.
32114         (casin_test_data): Likewise.
32115         (casinh_test_data): Likewise.
32116         (catan_test_data): Likewise.
32117         (catanh_test_data): Likewise.
32118         (cbrt_test_data): Likewise.
32119         (ccos_test_data): Likewise.
32120         (ccosh_test_data): Likewise.
32121         (ceil_test_data): Likewise.
32122         (cexp_test_data): Likewise.
32123         (cimag_test_data): Likewise.
32124         (clog_test_data): Likewise.
32125         (clog10_test_data): Likewise.
32126         (conj_test_data): Likewise.
32127         (copysign_test_data): Likewise.
32128         (cos_test_data): Likewise.
32129         (cos_tonearest_test_data): Likewise.
32130         (cos_towardzero_test_data): Likewise.
32131         (cos_downward_test_data): Likewise.
32132         (cos_upward_test_data): Likewise.
32133         (cosh_test_data): Likewise.
32134         (cosh_tonearest_test_data): Likewise.
32135         (cosh_towardzero_test_data): Likewise.
32136         (cosh_downward_test_data): Likewise.
32137         (cosh_upward_test_data): Likewise.
32138         (cpow_test_data): Likewise.
32139         (cproj_test_data): Likewise.
32140         (creal_test_data): Likewise.
32141         (csin_test_data): Likewise.
32142         (csinh_test_data): Likewise.
32143         (csqrt_test_data): Likewise.
32144         (ctan_test_data): Likewise.
32145         (ctan_tonearest_test_data): Likewise.
32146         (ctan_towardzero_test_data): Likewise.
32147         (ctan_downward_test_data): Likewise.
32148         (ctan_upward_test_data): Likewise.
32149         (ctanh_test_data): Likewise.
32150         (ctanh_tonearest_test_data): Likewise.
32151         (ctanh_towardzero_test_data): Likewise.
32152         (ctanh_downward_test_data): Likewise.
32153         (ctanh_upward_test_data): Likewise.
32154         (erf_test_data): Likewise.
32155         (erfc_test_data): Likewise.
32156         (exp_test_data): Likewise.
32157         (exp_tonearest_test_data): Likewise.
32158         (exp_towardzero_test_data): Likewise.
32159         (exp_downward_test_data): Likewise.
32160         (exp_upward_test_data): Likewise.
32161         (exp10_test_data): Likewise.
32162         (exp2_test_data): Likewise.
32163         (expm1_test_data): Likewise.
32164         (fabs_test_data): Likewise.
32165         (fdim_test_data): Likewise.
32166         (finite_test_data): Likewise.
32167         (floor_test_data): Likewise.
32168         (fma_test_data): Likewise.
32169         (fma_towardzero_test_data): Likewise.
32170         (fma_downward_test_data): Likewise.
32171         (fma_upward_test_data): Likewise.
32172         (fmax_test_data): Likewise.
32173         (fmin_test_data): Likewise.
32174         (fmod_test_data): Likewise.
32175         (fpclassify_test_data): Likewise.
32176         (frexp_test_data): Likewise.
32177         (gamma_test_data): Likewise.
32178         (hypot_test_data): Likewise.
32179         (ilogb_test_data): Likewise.
32180         (isfinite_test_data): Likewise.
32181         (isgreater_test_data): Likewise.
32182         (isgreaterequal_test_data): Likewise.
32183         (isinf_test_data): Likewise.
32184         (isless_test_data): Likewise.
32185         (islessequal_test_data): Likewise.
32186         (islessgreater_test_data): Likewise.
32187         (isnan_test_data): Likewise.
32188         (isnormal_test_data): Likewise.
32189         (issignaling_test_data): Likewise.
32190         (isunordered_test_data): Likewise.
32191         (j0_test_data): Likewise.
32192         (j1_test_data): Likewise.
32193         (jn_test_data): Likewise.
32194         (ldexp_test_data): Likewise.
32195         (lgamma_test_data): Likewise.
32196         (lrint_test_data): Likewise.
32197         (lrint_tonearest_test_data): Likewise.
32198         (lrint_towardzero_test_data): Likewise.
32199         (lrint_downward_test_data): Likewise.
32200         (lrint_upward_test_data): Likewise.
32201         (llrint_test_data): Likewise.
32202         (llrint_tonearest_test_data): Likewise.
32203         (llrint_towardzero_test_data): Likewise.
32204         (llrint_downward_test_data): Likewise.
32205         (llrint_upward_test_data): Likewise.
32206         (log_test_data): Likewise.
32207         (log10_test_data): Likewise.
32208         (log1p_test_data): Likewise.
32209         (log2_test_data): Likewise.
32210         (logb_test_data): Likewise.
32211         (logb_downward_test_data): Likewise.
32212         (lround_test_data): Likewise.
32213         (llround_test_data): Likewise.
32214         (modf_test_data): Likewise.
32215         (nearbyint_test_data): Likewise.
32216         (nextafter_test_data): Likewise.
32217         (nexttoward_test_data): Likewise.
32218         (pow_test_data): Likewise.
32219         (pow_tonearest_test_data): Likewise.
32220         (pow_towardzero_test_data): Likewise.
32221         (pow_downward_test_data): Likewise.
32222         (pow_upward_test_data): Likewise.
32223         (remainder_test_data): Likewise.
32224         (remainder_tonearest_test_data): Likewise.
32225         (remainder_towardzero_test_data): Likewise.
32226         (remainder_downward_test_data): Likewise.
32227         (remainder_upward_test_data): Likewise.
32228         (remquo_test_data): Likewise.
32229         (rint_test_data): Likewise.
32230         (rint_tonearest_test_data): Likewise.
32231         (rint_towardzero_test_data): Likewise.
32232         (rint_downward_test_data): Likewise.
32233         (rint_upward_test_data): Likewise.
32234         (round_test_data): Likewise.
32235         (scalb_test_data): Likewise.
32236         (scalbn_test_data): Likewise.
32237         (scalbln_test_data): Likewise.
32238         (signbit_test_data): Likewise.
32239         (sin_test_data): Likewise.
32240         (sin_tonearest_test_data): Likewise.
32241         (sin_towardzero_test_data): Likewise.
32242         (sin_downward_test_data): Likewise.
32243         (sin_upward_test_data): Likewise.
32244         (sincos_test_data): Likewise.
32245         (sinh_test_data): Likewise.
32246         (sinh_tonearest_test_data): Likewise.
32247         (sinh_towardzero_test_data): Likewise.
32248         (sinh_downward_test_data): Likewise.
32249         (sinh_upward_test_data): Likewise.
32250         (sqrt_test_data): Likewise.
32251         (tan_test_data): Likewise.
32252         (tan_tonearest_test_data): Likewise.
32253         (tan_towardzero_test_data): Likewise.
32254         (tan_downward_test_data): Likewise.
32255         (tan_upward_test_data): Likewise.
32256         (tanh_test_data): Likewise.
32257         (tgamma_test_data): Likewise.
32258         (trunc_test_data): Likewise.
32259         (y0_test_data): Likewise.
32260         (y1_test_data): Likewise.
32261         (yn_test_data): Likewise.
32262         (significand_test_data): Likewise.
32264         * math/gen-libm-test.pl (@functions): Remove variable.
32265         (generate_testfile): Don't handle START and END lines.
32266         * math/libm-test.inc (START): New macro.
32267         (END): Likewise.
32268         (END_COMPLEX): Likewise.
32269         (acos_test): Use END macro without arguments.
32270         (acos_test_tonearest): Likewise.
32271         (acos_test_towardzero): Likewise.
32272         (acos_test_downward): Likewise.
32273         (acos_test_upward): Likewise.
32274         (acosh_test): Likewise.
32275         (asin_test): Likewise.
32276         (asin_test_tonearest): Likewise.
32277         (asin_test_towardzero): Likewise.
32278         (asin_test_downward): Likewise.
32279         (asin_test_upward): Likewise.
32280         (asinh_test): Likewise.
32281         (atan_test): Likewise.
32282         (atanh_test): Likewise.
32283         (atan2_test): Likewise.
32284         (cabs_test): Likewise.
32285         (cacos_test): Use END_COMPLEX macro without arguments.
32286         (cacosh_test): Likewise.
32287         (carg_test): Use END macro without arguments.
32288         (casin_test): Use END_COMPLEX macro without arguments.
32289         (casinh_test): Likewise.
32290         (catan_test): Likewise.
32291         (catanh_test): Likewise.
32292         (cbrt_test): Use END macro without arguments.
32293         (ccos_test): Use END_COMPLEX macro without arguments.
32294         (ccosh_test): Likewise.
32295         (ceil_test): Use END macro without arguments.
32296         (cexp_test): Use END_COMPLEX macro without arguments.
32297         (cimag_test): Use END macro without arguments.
32298         (clog_test): Use END_COMPLEX macro without arguments.
32299         (clog10_test): Likewise.
32300         (conj_test): Likewise.
32301         (copysign_test): Use END macro without arguments.
32302         (cos_test): Likewise.
32303         (cos_test_tonearest): Likewise.
32304         (cos_test_towardzero): Likewise.
32305         (cos_test_downward): Likewise.
32306         (cos_test_upward): Likewise.
32307         (cosh_test): Likewise.
32308         (cosh_test_tonearest): Likewise.
32309         (cosh_test_towardzero): Likewise.
32310         (cosh_test_downward): Likewise.
32311         (cosh_test_upward): Likewise.
32312         (cpow_test): Use END_COMPLEX macro without arguments.
32313         (cproj_test): Likewise.
32314         (creal_test): Use END macro without arguments.
32315         (csin_test): Use END_COMPLEX macro without arguments.
32316         (csinh_test): Likewise.
32317         (csqrt_test): Likewise.
32318         (ctan_test): Likewise.
32319         (ctan_test_tonearest): Likewise.
32320         (ctan_test_towardzero): Likewise.
32321         (ctan_test_downward): Likewise.
32322         (ctan_test_upward): Likewise.
32323         (ctanh_test): Likewise.
32324         (ctanh_test_tonearest): Likewise.
32325         (ctanh_test_towardzero): Likewise.
32326         (ctanh_test_downward): Likewise.
32327         (ctanh_test_upward): Likewise.
32328         (erf_test): Use END macro without arguments.
32329         (erfc_test): Likewise.
32330         (exp_test): Likewise.
32331         (exp_test_tonearest): Likewise.
32332         (exp_test_towardzero): Likewise.
32333         (exp_test_downward): Likewise.
32334         (exp_test_upward): Likewise.
32335         (exp10_test): Likewise.
32336         (exp2_test): Likewise.
32337         (expm1_test): Likewise.
32338         (fabs_test): Likewise.
32339         (fdim_test): Likewise.
32340         (finite_test): Likewise.
32341         (floor_test): Likewise.
32342         (fma_test): Likewise.
32343         (fma_test_towardzero): Likewise.
32344         (fma_test_downward): Likewise.
32345         (fma_test_upward): Likewise.
32346         (fmax_test): Likewise.
32347         (fmin_test): Likewise.
32348         (fmod_test): Likewise.
32349         (fpclassify_test): Likewise.
32350         (frexp_test): Likewise.
32351         (gamma_test): Likewise.
32352         (hypot_test): Likewise.
32353         (ilogb_test): Likewise.
32354         (isfinite_test): Likewise.
32355         (isgreater_test): Likewise.
32356         (isgreaterequal_test): Likewise.
32357         (isinf_test): Likewise.
32358         (isless_test): Likewise.
32359         (islessequal_test): Likewise.
32360         (islessgreater_test): Likewise.
32361         (isnan_test): Likewise.
32362         (isnormal_test): Likewise.
32363         (issignaling_test): Likewise.
32364         (isunordered_test): Likewise.
32365         (j0_test): Likewise.
32366         (j1_test): Likewise.
32367         (jn_test): Likewise.
32368         (ldexp_test): Likewise.
32369         (lgamma_test): Likewise.
32370         (lrint_test): Likewise.
32371         (lrint_test_tonearest): Likewise.
32372         (lrint_test_towardzero): Likewise.
32373         (lrint_test_downward): Likewise.
32374         (lrint_test_upward): Likewise.
32375         (llrint_test): Likewise.
32376         (llrint_test_tonearest): Likewise.
32377         (llrint_test_towardzero): Likewise.
32378         (llrint_test_downward): Likewise.
32379         (llrint_test_upward): Likewise.
32380         (log_test): Likewise.
32381         (log10_test): Likewise.
32382         (log1p_test): Likewise.
32383         (log2_test): Likewise.
32384         (logb_test): Likewise.
32385         (logb_test_downward): Likewise.
32386         (lround_test): Likewise.
32387         (llround_test): Likewise.
32388         (modf_test): Likewise.
32389         (nearbyint_test): Likewise.
32390         (nextafter_test): Likewise.
32391         (nexttoward_test): Likewise.
32392         (pow_test): Likewise.
32393         (pow_test_tonearest): Likewise.
32394         (pow_test_towardzero): Likewise.
32395         (pow_test_downward): Likewise.
32396         (pow_test_upward): Likewise.
32397         (remainder_test): Likewise.
32398         (remainder_test_tonearest): Likewise.
32399         (remainder_test_towardzero): Likewise.
32400         (remainder_test_downward): Likewise.
32401         (remainder_test_upward): Likewise.
32402         (remquo_test): Likewise.
32403         (rint_test): Likewise.
32404         (rint_test_tonearest): Likewise.
32405         (rint_test_towardzero): Likewise.
32406         (rint_test_downward): Likewise.
32407         (rint_test_upward): Likewise.
32408         (round_test): Likewise.
32409         (scalb_test): Likewise.
32410         (scalbn_test): Likewise.
32411         (scalbln_test): Likewise.
32412         (signbit_test): Likewise.
32413         (sin_test): Likewise.
32414         (sin_test_tonearest): Likewise.
32415         (sin_test_towardzero): Likewise.
32416         (sin_test_downward): Likewise.
32417         (sin_test_upward): Likewise.
32418         (sincos_test): Likewise.
32419         (sinh_test): Likewise.
32420         (sinh_test_tonearest): Likewise.
32421         (sinh_test_towardzero): Likewise.
32422         (sinh_test_downward): Likewise.
32423         (sinh_test_upward): Likewise.
32424         (sqrt_test): Likewise.
32425         (tan_test): Likewise.
32426         (tan_test_tonearest): Likewise.
32427         (tan_test_towardzero): Likewise.
32428         (tan_test_downward): Likewise.
32429         (tan_test_upward): Likewise.
32430         (tanh_test): Likewise.
32431         (tgamma_test): Likewise.
32432         (trunc_test): Likewise.
32433         (y0_test): Likewise.
32434         (y1_test): Likewise.
32435         (yn_test): Likewise.
32436         (significand_test): Likewise.
32438 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32440         [BZ #15381]
32441         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32443 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32445         [BZ #14894]
32446         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32447         __ppc_mdoio and __ppc_mdoom.
32448         * manual/platform.texi: Document new functions __ppc_yield,
32449         __ppc_mdoio and __ppc_mdoom.
32451 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32453         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32454         (main): Mention "tls" pseudo-hwcap is legacy.
32455         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32457 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32459         * math/gen-libm-test.pl (parse_args): Output only string of
32460         arguments as text for test name, not full call or descriptions of
32461         tests for extra outputs.
32462         (generate_testfile): Do not pass function name to parse_args.
32463         Generate this_func variable from START.
32464         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32465         field to arg_str.
32466         (struct test_ff_f_data): Likewise.
32467         (test_ff_f_data_nexttoward): Likewise.
32468         (struct test_fi_f_data): Likewise.
32469         (struct test_fl_f_data): Likewise.
32470         (struct test_if_f_data): Likewise.
32471         (struct test_fff_f_data): Likewise.
32472         (struct test_c_f_data): Likewise.
32473         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32474         (struct test_fF_f1_data): Likewise.
32475         (struct test_ffI_f1_data): Likewise.
32476         (struct test_c_c_data): Rename test_name field to arg_str.
32477         (struct test_cc_c_data): Likewise.
32478         (struct test_f_i_data): Likewise.
32479         (struct test_ff_i_data): Likewise.
32480         (struct test_f_l_data): Likewise.
32481         (struct test_f_L_data): Likewise.
32482         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32483         and extra2_name.
32484         (COMMON_TEST_SETUP): New macro.
32485         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32486         (COMMON_TEST_CLEANUP): Likewise.
32487         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32488         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32489         macros.
32490         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32491         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32492         macros.
32493         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32494         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32495         cleanup macros.
32496         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32497         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32498         macros.
32499         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32500         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32501         macros.
32502         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32503         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32504         cleanup macros.
32505         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32506         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32507         cleanup macros.
32508         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32509         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32510         cleanup macros.
32511         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32512         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32513         macros.
32514         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32515         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32516         macros.
32517         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32518         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32519         macros.
32520         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32521         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32522         cleanup macros.
32523         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32524         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32525         cleanup macros.
32526         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32527         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32528         macros.
32529         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32530         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32531         cleanup macros.
32532         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32533         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32534         macros.
32535         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32536         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32537         macros.
32538         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32539         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32540         cleanup macros.
32541         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32543 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32545         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32546         to _sifields.sigfault.
32547         (si_addr_lsb): Define new macro.
32548         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32549         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32550         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32552 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32554         [BZ #15441]
32555         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32556         returns -1.
32557         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32558         null return -1.
32559         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32560         loading the domain.
32562 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32564         * math/gen-libm-test.pl (parse_args): Do not include expected
32565         result in test name.
32566         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32567         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32568         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32569         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32570         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32573 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32575         * benchtests/Makefile: Sort function entries.
32577         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32578         tanh, asinh, acosh, atanh.
32579         * benchtests/acos-inputs: New file.
32580         * benchtests/acosh-inputs: New file.
32581         * benchtests/asin-inputs: New file.
32582         * benchtests/asinh-inputs: New file.
32583         * benchtests/atanh-inputs: New file.
32584         * benchtests/cosh-inputs: New file.
32585         * benchtests/log-inputs: New file.
32586         * benchtests/sinh-inputs: New file.
32587         * benchtests/tanh-inputs: New file.
32589 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32591         [BZ #15339]
32592         * posix/tst-getaddrinfo4.c: New test.
32593         * posix/Makefile (tests): Add it.
32595 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32597         [BZ #15339]
32598         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32599         when no services were used.
32600         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32601         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32603 2013-05-21  Andreas Schwab  <schwab@suse.de>
32605         [BZ #15014]
32606         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32607         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32608         successful.
32609         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32610         redundant variable declarations and reallocation of buffer when
32611         parsing as IPv6 address.  Always set NSS status when called from
32612         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32613         buffer too small.  Correct computation of needed size.
32614         * nss/Makefile (tests): Add test-digits-dots.
32615         * nss/test-digits-dots.c: New test.
32617 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32619         * benchtests/Makefile: Remove instructions for adding
32620         benchmark tests.
32621         * benchtests/README: New file to explain how to execute and
32622         enhance the benchmark tests.
32624 2013-05-21  Andreas Schwab  <schwab@suse.de>
32626         [BZ #15493]
32627         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32628         * setjmp/tst-sigsetjmp.c: New test.
32630 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32632         * sysdeps/x86_64/memset.S (memset): New implementation.
32633         (__bzero): Likewise.
32634         (__memset_tail): New function.
32636 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32638         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32639         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32640         __memcpy_sse2_unaligned ifunc selection.
32641         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32642         Add memcpy-sse2-unaligned.S.
32643         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32644         Add: __memcpy_sse2_unaligned.
32646 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32648         [BZ #15490]
32649         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32650         math_force_eval before restoring floating-point envrionment.
32651         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32652         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32653         Likewise.
32654         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32655         <math_private.h>.
32656         (__nearbyintl): Use math_force_eval before restoring
32657         floating-point environment.
32658         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32660         * math/gen-libm-test.pl (special_functions): Remove.
32661         (parse_args): Don't handle TEST_extra.  Handle functions with no
32662         return value.
32663         * math/libm-test.inc (struct test_sincos_data): Replace with
32664         struct test_fFF_11_data.
32665         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32666         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32667         (sincos_test_data): Change element type to struct
32668         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32669         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32670         RUN_TEST_LOOP_sincos.
32671         * math/README.libm-test: Don't mention special handling of
32672         individual functions.
32673         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32674         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32675         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32676         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32677         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32680         * math/gen-libm-test.pl (get_variable): Remove function.
32681         (parse_args): Don't show pointer parameters to call in test
32682         names.  Use "extra output N" in test names for extra outputs
32683         rather than naming variables.
32685 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32687         [BZ #15488]
32688         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32689         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32690         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32691         double tests.
32692         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32693         disable.
32694         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32695         check_long_double.
32697         * math/gen-libm-test.pl (@tests): Remove variable.
32698         ($count): Likewise.
32699         (new_test): Remove function.
32700         (show_exceptions): New function.
32701         (special_functions): Use show_exceptions instead of new_test.
32702         (parse_args): Likewise.
32703         (generate_testfile): Pass only function name in generated call to
32704         print_max_error or print_complex_max_error.
32705         (get_ulps): Do not handle complex tests specially.
32706         (output_test): Rename to ...
32707         (get_all_ulps_for_test): ... this.  Return a string rather than
32708         printing to a file.  Require ulps to be present.
32709         (output_ulps): Generate arrays rather than #defines.
32710         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32711         (struct ulp_data): New type.
32712         (BUILD_COMPLEX_ULP): Remove macro.
32713         (compare_ulp_data): New function.
32714         (find_ulps): Likewise.
32715         (find_test_ulps): Likewise.
32716         (find_function_ulps): Likewise.
32717         (find_complex_function_ulps): Likewise.
32718         (print_max_error): Determine allowed ulps using
32719         find_function_ulps.
32720         (print_complex_max_error): Determine allowed ulps using
32721         find_complex_function_ulps.
32722         (check_float_internal): Determine max ulps using find_test_ulps.
32723         (check_float): Do not take max_ulp parameter.  Update call to
32724         check_float_internal.
32725         (check_complex): Likewise.
32726         (check_int): Do not take max_ulp parameter.
32727         (check_long): Likewise.
32728         (check_bool): Likewise.
32729         (check_longlong): Likewise.
32730         (struct test_f_f_data): Remove max_ulp field.
32731         (struct test_ff_f_data): Likewise.
32732         (struct test_ff_f_data_nexttoward): Likewise.
32733         (struct test_fi_f_data): Likewise.
32734         (struct test_fl_f_data): Likewise.
32735         (struct test_if_f_data): Likewise.
32736         (struct test_fff_f_data): Likewise.
32737         (struct test_c_f_data): Likewise.
32738         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32739         (struct test_fF_f1_data): Likewise.
32740         (struct test_ffI_f1_data): Likewise.
32741         (struct test_c_c_data): Remove max_ulp field.
32742         (struct test_cc_c_data): Likewise.
32743         (struct test_f_i_data): Likewise.
32744         (struct test_ff_i_data): Likewise.
32745         (struct test_f_l_data): Likewise.
32746         (struct test_f_L_data): Likewise.
32747         (struct test_sincos_data): Likewise.
32748         (RUN_TEST_f_f): Do not handle ulps.
32749         (RUN_TEST_LOOP_f_f): Likewise.
32750         (RUN_TEST_2_f): Likewise.
32751         (RUN_TEST_LOOP_2_f): Likewise.
32752         (RUN_TEST_fff_f): Likewise.
32753         (RUN_TEST_LOOP_fff_f): Likewise.
32754         (RUN_TEST_c_f): Likewise.
32755         (RUN_TEST_LOOP_c_f): Likewise.
32756         (RUN_TEST_f_f1): Likewise.
32757         (RUN_TEST_LOOP_f_f1): Likewise.
32758         (RUN_TEST_fF_f1): Likewise.
32759         (RUN_TEST_LOOP_fF_f1): Likewise.
32760         (RUN_TEST_fI_f1): Likewise.
32761         (RUN_TEST_LOOP_fI_f1): Likewise.
32762         (RUN_TEST_ffI_f1): Likewise.
32763         (RUN_TEST_LOOP_ffI_f1): Likewise.
32764         (RUN_TEST_c_c): Likewise.
32765         (RUN_TEST_LOOP_c_c): Likewise.
32766         (RUN_TEST_cc_c): Likewise.
32767         (RUN_TEST_LOOP_cc_c): Likewise.
32768         (RUN_TEST_f_i): Likewise.
32769         (RUN_TEST_LOOP_f_i): Likewise.
32770         (RUN_TEST_f_i_tg): Likewise.
32771         (RUN_TEST_LOOP_f_i_tg): Likewise.
32772         (RUN_TEST_ff_i_tg): Likewise.
32773         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32774         (RUN_TEST_f_b): Likewise.
32775         (RUN_TEST_LOOP_f_b): Likewise.
32776         (RUN_TEST_f_b_tg): Likewise.
32777         (RUN_TEST_LOOP_f_b_tg): Likewise.
32778         (RUN_TEST_f_l): Likewise.
32779         (RUN_TEST_LOOP_f_l): Likewise.
32780         (RUN_TEST_f_L): Likewise.
32781         (RUN_TEST_LOOP_f_L): Likewise.
32782         (RUN_TEST_sincos): Likewise.
32783         (RUN_TEST_LOOP_sincos): Likewise.
32785 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32787         [BZ #15480]
32788         [BZ #15485]
32789         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32790         main case of finite arguments, set rounding mode to FE_TONEAREST
32791         and discard exceptions.
32792         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32793         exceptions.
32794         (remainder_tonearest_test_data): New variable.
32795         (remainder_test_tonearest): New function.
32796         (remainder_towardzero_test_data): New variable.
32797         (remainder_test_towardzero): New function.
32798         (remainder_downward_test_data): New variable.
32799         (remainder_test_downward): New function.
32800         (remainder_upward_test_data): New variable.
32801         (remainder_test_upward): New function.
32802         (main): Call the new test functions.
32804         * math/libm-test.inc (struct test_f_f1_data): Remove field
32805         extra_init.
32806         (struct test_fF_f1_data): Likewise.
32807         (struct test_ffI_f1_data): Likewise.
32808         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32809         based on value of EXTRA_EXPECTED.
32810         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32811         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32812         EXTRA_VAR based on value of EXTRA_EXPECTED.
32813         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32814         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32815         EXTRA_VAR based on value of EXTRA_EXPECTED.
32816         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32817         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32818         EXTRA_VAR based on value of EXTRA_EXPECTED.
32819         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32820         * math/gen-libm-test.pl (parse_args): Don't output initializers
32821         for extra output values.
32823         * math/libm-test.inc (check_int): Expect result to be exactly
32824         equal to expected value and do not handle ulps.
32825         (check_long): Likewise.
32826         (check_longlong): Likewise.
32828         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32829         exceptions.
32830         (cimag_test_data): Likewise.
32831         (conj_test_data): Likewise.
32832         (copysign_test_data): Likewise.
32833         (cproj_test_data): Likewise.
32834         (creal_test_data): Likewise.
32835         (fabs_test_data): Likewise.
32836         (fdim_test_data): Likewise.
32837         (finite_test_data): Likewise.
32838         (floor_test_data): Likewise.
32839         (fmax_test_data): Likewise.
32840         (fmin_test_data): Likewise.
32841         (fmod_test_data): Likewise.
32842         (fpclassify_test_data): Likewise.
32843         (frexp_test_data): Likewise.
32844         (ilogb_test_data): Likewise.
32845         (isfinite_test_data): Likewise.
32846         (isgreater_test_data): Likewise.
32847         (isgreaterequal_test_data): Likewise.
32848         (isinf_test_data): Likewise.
32849         (isless_test_data): Likewise.
32850         (islessequal_test_data): Likewise.
32851         (islessgreater_test_data): Likewise.
32852         (isnan_test_data): Likewise.
32853         (isnormal_test_data): Likewise.
32854         (issignaling_test_data): Likewise.
32855         (isunordered_test_data): Likewise.
32856         (ldexp_test_data): Likewise.
32857         (lrint_test_data): Likewise.
32858         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32859         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32860         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32861         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32862         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32863         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32864         test input.
32865         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32866         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32867         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32868         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32869         that test input.
32870         (lrint_downward_test_data): Test for "inexact" exceptions.
32871         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32872         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32873         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32874         test input.
32875         (lrint_upward_test_data): Test for "inexact" exceptions.
32876         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32877         test input.
32878         (llrint_test_data): Test for "inexact" exceptions.
32879         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32880         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32881         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32882         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32883         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32884         (llrint_downward_test_data): Test for "inexact" exceptions.
32885         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32886         (llrint_upward_test_data): Test for "inexact" exceptions.
32887         (logb_test_data): Likewise.
32888         (logb_downward_test_data): Likewise.
32889         (nextafter_test_data): Likewise.
32890         (nexttoward_test_data): Likewise.
32891         (remainder_test_data): Likewise.
32892         (remquo_test_data): Likewise.
32893         (scalbn_test_data): Likewise.
32894         (scalbln_test_data): Likewise.
32895         (signbit_test_data): Likewise.
32896         (sqrt_test_data): Likewise.
32897         (significand_test_data): Likewise.
32899 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32901         [BZ #15424]
32902         * benchtests/bench-modf.c (struct args): Mark arg0 as
32903         volatile.
32904         * scripts/bench.pl: Mark members of struct args as volatile.
32906 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32908         [BZ # 15497]
32909         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32910         negative infinity on POWER6 or lower.
32911         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32913 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32915         [BZ #15442]
32916         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32917         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32918         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32919         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32920         (_FP_SETQNAN): New macro.
32921         (_FP_SETQNAN_SEMIRAW): Likewise.
32922         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32923         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32924         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32925         (FP_EXTEND): Use _FP_FRAC_SNANP.
32926         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32927         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32928         into account.
32929         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32930         New macro.
32931         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32932         Likewise.
32934 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32936         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32937         with DIVIDE_BY_ZERO_EXCEPTION.
32938         (gamma_test_data): Likewise.
32939         (lgamma_test_data): Likewise.
32940         (log_test_data): Likewise.
32941         (log10_test_data): Likewise.
32942         (log2_test_data): Likewise.
32943         (tgamma_test_data): Likewise.
32945         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32946         (acos_test_tonearest): Likewise.
32947         (acos_test_towardzero): Likewise.
32948         (acos_test_downward): Likewise.
32949         (acos_test_upward): Likewise.
32950         (acosh_test): Likewise.
32951         (asin_test): Likewise.
32952         (asin_test_tonearest): Likewise.
32953         (asin_test_towardzero): Likewise.
32954         (asin_test_downward): Likewise.
32955         (asin_test_upward): Likewise.
32956         (asinh_test): Likewise.
32957         (atan_test): Likewise.
32958         (atanh_test): Likewise.
32959         (atan2_test): Likewise.
32960         (cabs_test): Likewise.
32961         (cacos_test): Likewise.
32962         (cacosh_test): Likewise.
32963         (casin_test): Likewise.
32964         (casinh_test): Likewise.
32965         (catan_test): Likewise.
32966         (catanh_test): Likewise.
32967         (cbrt_test): Likewise.
32968         (ccos_test): Likewise.
32969         (ccosh_test): Likewise.
32970         (cexp_test): Likewise.
32971         (clog_test): Likewise.
32972         (clog10_test): Likewise.
32973         (cos_test): Likewise.
32974         (cos_test_tonearest): Likewise.
32975         (cos_test_towardzero): Likewise.
32976         (cos_test_downward): Likewise.
32977         (cos_test_upward): Likewise.
32978         (cosh_test): Likewise.
32979         (cosh_test_tonearest): Likewise.
32980         (cosh_test_towardzero): Likewise.
32981         (cosh_test_downward): Likewise.
32982         (cosh_test_upward): Likewise.
32983         (cpow_test): Likewise.
32984         (csin_test): Likewise.
32985         (csinh_test): Likewise.
32986         (csqrt_test): Likewise.
32987         (ctan_test): Likewise.
32988         (ctan_test_tonearest): Likewise.
32989         (ctan_test_towardzero): Likewise.
32990         (ctan_test_downward): Likewise.
32991         (ctan_test_upward): Likewise.
32992         (ctanh_test): Likewise.
32993         (ctanh_test_tonearest): Likewise.
32994         (ctanh_test_towardzero): Likewise.
32995         (ctanh_test_downward): Likewise.
32996         (ctanh_test_upward): Likewise.
32997         (erf_test): Likewise.
32998         (erfc_test): Likewise.
32999         (exp_test): Likewise.
33000         (exp_test_tonearest): Likewise.
33001         (exp_test_towardzero): Likewise.
33002         (exp_test_downward): Likewise.
33003         (exp_test_upward): Likewise.
33004         (exp10_test): Likewise.
33005         (exp2_test): Likewise.
33006         (expm1_test): Likewise.
33007         (fmod_test): Likewise.
33008         (gamma_test): Likewise.
33009         (hypot_test): Likewise.
33010         (j0_test): Likewise.
33011         (j1_test): Likewise.
33012         (jn_test): Likewise.
33013         (lgamma_test): Likewise.
33014         (log_test): Likewise.
33015         (log10_test): Likewise.
33016         (log1p_test): Likewise.
33017         (log2_test): Likewise.
33018         (logb_test_downward): Likewise.
33019         (pow_test): Likewise.
33020         (pow_test_tonearest): Likewise.
33021         (pow_test_towardzero): Likewise.
33022         (pow_test_downward): Likewise.
33023         (pow_test_upward): Likewise.
33024         (remainder_test): Likewise.
33025         (remquo_test): Likewise.
33026         (sin_test): Likewise.
33027         (sin_test_tonearest): Likewise.
33028         (sin_test_towardzero): Likewise.
33029         (sin_test_downward): Likewise.
33030         (sin_test_upward): Likewise.
33031         (sincos_test): Likewise.
33032         (sinh_test): Likewise.
33033         (sinh_test_tonearest): Likewise.
33034         (sinh_test_towardzero): Likewise.
33035         (sinh_test_downward): Likewise.
33036         (sinh_test_upward): Likewise.
33037         (sqrt_test): Likewise.
33038         (tan_test): Likewise.
33039         (tan_test_tonearest): Likewise.
33040         (tan_test_towardzero): Likewise.
33041         (tan_test_downward): Likewise.
33042         (tan_test_upward): Likewise.
33043         (tanh_test): Likewise.
33044         (tgamma_test): Likewise.
33045         (y0_test): Likewise.
33046         (y1_test): Likewise.
33047         (yn_test): Likewise.
33049         * math/gen-libm-test.pl (adjust_arg): Remove function.
33050         (special_function): Remove argument $in_func.  Only handle
33051         generating output for tables of tests, not inside functions.
33052         (parse_args): Likewise.
33053         (generate_testfile): Remove variable $in_func.  Update call to
33054         parse_args.
33055         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33056         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33057         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33058         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33059         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33060         (MAX_VALUE_INIT): Rename macro to max_value.
33061         (MIN_VALUE_INIT): Rename macro to min_value.
33062         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33063         (plus_zero): Remove variable.
33064         (minus_zero): Likewise.
33065         (plus_infty): Likewise.
33066         (minus_infty): Likewise.
33067         (qnan_value): Likewise.
33068         (max_value): Likewise.
33069         (min_value): Likewise.
33070         (min_subnorm_value): Likewise.
33072 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33074         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33075         uint64_t or uint32_t usage.
33076         * crypt/sha256-block.c: Likewise.
33077         * crypt/sha256-crypt.c: Likewise.
33078         * crypt/sha256.c: Likewise.
33079         * crypt/sha512-block.c: Likewise.
33080         * crypt/sha512-crypt.c: Likewise.
33081         * crypt/sha512.c: Likewise.
33082         * debug/backtrace-tst.c: Likewise.
33083         * debug/pcprofiledump.c: Likewise.
33084         * elf/cache.c: Likewise.
33085         * elf/dl-cache.c: Likewise.
33086         * elf/dl-misc.c: Likewise.
33087         * elf/dl-profile.c: Likewise.
33088         * elf/dl-support.c: Likewise.
33089         * elf/ldconfig.c: Likewise.
33090         * elf/sprof.c: Likewise.
33091         * iconv/dummy-repertoire.c: Likewise.
33092         * iconv/iconv_charmap.c: Likewise.
33093         * iconv/skeleton.c: Likewise.
33094         * iconvdata/8bit-generic.c: Likewise.
33095         * iconvdata/cp737.h: Likewise.
33096         * iconvdata/cp775.h: Likewise.
33097         * iconvdata/ibm1008.h: Likewise.
33098         * iconvdata/ibm1025.h: Likewise.
33099         * iconvdata/ibm1046.h: Likewise.
33100         * iconvdata/ibm1097.h: Likewise.
33101         * iconvdata/ibm1112.h: Likewise.
33102         * iconvdata/ibm1122.h: Likewise.
33103         * iconvdata/ibm1123.h: Likewise.
33104         * iconvdata/ibm1124.h: Likewise.
33105         * iconvdata/ibm1129.h: Likewise.
33106         * iconvdata/ibm1130.h: Likewise.
33107         * iconvdata/ibm1132.h: Likewise.
33108         * iconvdata/ibm1133.h: Likewise.
33109         * iconvdata/ibm1137.h: Likewise.
33110         * iconvdata/ibm1140.h: Likewise.
33111         * iconvdata/ibm1141.h: Likewise.
33112         * iconvdata/ibm1142.h: Likewise.
33113         * iconvdata/ibm1143.h: Likewise.
33114         * iconvdata/ibm1144.h: Likewise.
33115         * iconvdata/ibm1145.h: Likewise.
33116         * iconvdata/ibm1146.h: Likewise.
33117         * iconvdata/ibm1147.h: Likewise.
33118         * iconvdata/ibm1148.h: Likewise.
33119         * iconvdata/ibm1149.h: Likewise.
33120         * iconvdata/ibm1153.h: Likewise.
33121         * iconvdata/ibm1154.h: Likewise.
33122         * iconvdata/ibm1155.h: Likewise.
33123         * iconvdata/ibm1156.h: Likewise.
33124         * iconvdata/ibm1157.h: Likewise.
33125         * iconvdata/ibm1158.h: Likewise.
33126         * iconvdata/ibm1160.h: Likewise.
33127         * iconvdata/ibm1161.h: Likewise.
33128         * iconvdata/ibm1162.h: Likewise.
33129         * iconvdata/ibm1163.h: Likewise.
33130         * iconvdata/ibm1164.h: Likewise.
33131         * iconvdata/ibm1166.h: Likewise.
33132         * iconvdata/ibm1167.h: Likewise.
33133         * iconvdata/ibm12712.h: Likewise.
33134         * iconvdata/ibm1390.h: Likewise.
33135         * iconvdata/ibm1399.h: Likewise.
33136         * iconvdata/ibm16804.h: Likewise.
33137         * iconvdata/ibm4517.h: Likewise.
33138         * iconvdata/ibm4899.h: Likewise.
33139         * iconvdata/ibm4909.h: Likewise.
33140         * iconvdata/ibm4971.h: Likewise.
33141         * iconvdata/ibm5347.h: Likewise.
33142         * iconvdata/ibm803.h: Likewise.
33143         * iconvdata/ibm856.h: Likewise.
33144         * iconvdata/ibm901.h: Likewise.
33145         * iconvdata/ibm902.h: Likewise.
33146         * iconvdata/ibm9030.h: Likewise.
33147         * iconvdata/ibm9066.h: Likewise.
33148         * iconvdata/ibm921.h: Likewise.
33149         * iconvdata/ibm922.h: Likewise.
33150         * iconvdata/ibm9448.h: Likewise.
33151         * iconvdata/isiri-3342.h: Likewise.
33152         * iconvdata/jis0201.h: Likewise.
33153         * include/link.h: Likewise.
33154         * include/netdb.h: Likewise.
33155         * inet/check_native.c: Likewise.
33156         * inet/check_pf.c: Likewise.
33157         * inet/getipv4sourcefilter.c: Likewise.
33158         * inet/getnameinfo.c: Likewise.
33159         * inet/getsourcefilter.c: Likewise.
33160         * inet/htonl.c: Likewise.
33161         * inet/setipv4sourcefilter.c: Likewise.
33162         * inet/setsourcefilter.c: Likewise.
33163         * inet/test-inet6_opt.c: Likewise.
33164         * inet/tst-network.c: Likewise.
33165         * locale/C-collate.c: Likewise.
33166         * locale/C-ctype.c: Likewise.
33167         * locale/C-time.c: Likewise.
33168         * locale/C-translit.h: Likewise.
33169         * locale/loadarchive.c: Likewise.
33170         * locale/programs/3level.h: Likewise.
33171         * locale/programs/charmap.c: Likewise.
33172         * locale/programs/charmap.h: Likewise.
33173         * locale/programs/ld-address.c: Likewise.
33174         * locale/programs/ld-collate.c: Likewise.
33175         * locale/programs/ld-ctype.c: Likewise.
33176         * locale/programs/ld-identification.c: Likewise.
33177         * locale/programs/ld-measurement.c: Likewise.
33178         * locale/programs/ld-messages.c: Likewise.
33179         * locale/programs/ld-monetary.c: Likewise.
33180         * locale/programs/ld-name.c: Likewise.
33181         * locale/programs/ld-numeric.c: Likewise.
33182         * locale/programs/ld-paper.c: Likewise.
33183         * locale/programs/ld-telephone.c: Likewise.
33184         * locale/programs/ld-time.c: Likewise.
33185         * locale/programs/linereader.c: Likewise.
33186         * locale/programs/locale.c: Likewise.
33187         * locale/programs/locarchive.c: Likewise.
33188         * locale/programs/locfile.h: Likewise.
33189         * locale/programs/repertoire.c: Likewise.
33190         * locale/programs/simple-hash.c: Likewise.
33191         * locale/programs/simple-hash.h: Likewise.
33192         * malloc/memusage.c: Likewise.
33193         * malloc/memusagestat.c: Likewise.
33194         * nis/nis_defaults.c: Likewise.
33195         * nis/nis_hash.c: Likewise.
33196         * nis/nis_print.c: Likewise.
33197         * nis/nis_xdr.c: Likewise.
33198         * nscd/connections.c: Likewise.
33199         * nscd/hstcache.c: Likewise.
33200         * nscd/nscd_gethst_r.c: Likewise.
33201         * nscd/nscd_getserv_r.c: Likewise.
33202         * nscd/nscd_helper.c: Likewise.
33203         * nscd/servicescache.c: Likewise.
33204         * nss/makedb.c: Likewise.
33205         * nss/nss_db/db-XXX.c: Likewise.
33206         * nss/nss_db/db-initgroups.c: Likewise.
33207         * nss/nss_db/db-netgrp.c: Likewise.
33208         * nss/nss_files/files-network.c: Likewise.
33209         * nss/nss_files/files-parse.c: Likewise.
33210         * posix/bug-regex5.c: Likewise.
33211         * posix/fnmatch_loop.c: Likewise.
33212         * posix/regcomp.c: Likewise.
33213         * posix/regexec.c: Likewise.
33214         * posix/tst-rfc3484-2.c: Likewise.
33215         * posix/tst-rfc3484-3.c: Likewise.
33216         * posix/tst-rfc3484.c: Likewise.
33217         * resolv/nss_dns/dns-canon.c: Likewise.
33218         * resolv/nss_dns/dns-network.c: Likewise.
33219         * resolv/res_init.c: Likewise.
33220         * resolv/res_mkquery.c: Likewise.
33221         * resolv/tst-aton.c: Likewise.
33222         * stdlib/cxa_atexit.c: Likewise.
33223         * stdlib/cxa_finalize.c: Likewise.
33224         * stdlib/gen-fpioconst.c: Likewise.
33225         * stdlib/strtol_l.c: Likewise.
33226         * string/tst-endian.c: Likewise.
33227         * sunrpc/auth_des.c: Likewise.
33228         * sunrpc/clnt_udp.c: Likewise.
33229         * sunrpc/rtime.c: Likewise.
33230         * sunrpc/svcauth_des.c: Likewise.
33231         * sunrpc/xdr.c: Likewise.
33232         * sunrpc/xdr_intXX_t.c: Likewise.
33233         * sunrpc/xdr_rec.c: Likewise.
33234         * sysdeps/generic/ldconfig.h: Likewise.
33235         * sysdeps/generic/ldsodefs.h: Likewise.
33236         * sysdeps/generic/memusage.h: Likewise.
33237         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33238         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33239         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33240         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33241         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33242         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33243         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33244         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33245         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33246         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33247         * sysdeps/posix/getaddrinfo.c: Likewise.
33248         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33249         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33250         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33251         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33252         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33253         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33254         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33255         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33256         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33257         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33258         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33259         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33260         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33261         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33262         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33263         * sysdeps/x86_64/dl-tls.h: Likewise.
33264         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33265         * time/alt_digit.c: Likewise.
33266         * time/era.c: Likewise.
33267         * wcsmbs/tst-c16c32-1.c: Likewise.
33269 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33271         * math/libm-test.inc (struct test_sincos_data): New type.
33272         (RUN_TEST_LOOP_sincos): New macro.
33273         (sincos_test_data): New variable.
33274         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33276 2013-05-16  Richard Henderson  <rth@redhat.com>
33278         * math/atest-exp2.c (LIMB64): New macro.
33279         (CONSTSZ): New macro.
33280         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33281         (hexdig): Move ...
33282         (print_mpn_fp): ... to function scope.
33283         (read_mpn_hex): Remove.
33284         (get_log2): Remove.
33285         (exp2_mpn): Use mp_log2.
33286         (main): Use mp_exp1.
33288 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33290         * math/libm-test.inc: Remove comment about not testing "inexact"
33291         exceptions.
33292         (INEXACT_EXCEPTION): New macro.
33293         (NO_INEXACT_EXCEPTION): Likewise.
33294         (INVALID_EXCEPTION_OK): Update value.
33295         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33296         (OVERFLOW_EXCEPTION_OK): Likewise.
33297         (UNDERFLOW_EXCEPTION_OK): Likewise.
33298         (IGNORE_ZERO_INF_SIGN): Likewise.
33299         (ERRNO_UNCHANGED): Likewise.
33300         (ERRNO_EDOM): Likewise.
33301         (ERRNO_ERANGE): Likewise.
33302         (test_exceptions): Handle testing "inexact" exceptions.
33303         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33304         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33305         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33306         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33307         INEXACT_EXCEPTION.
33308         (rint_towardzero_test_data): Likewise.
33309         (rint_downward_test_data): Likewise.
33310         (rint_upward_test_data): Likewise.
33312         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33313         with OVERFLOW_EXCEPTION.
33314         (exp10_test_data): Likewise.
33315         (exp2_test_data): Likewise.
33316         (expm1_test_data): Likewise.
33317         (lgamma_test_data): Likewise.
33318         (pow_test_data): Likewise.
33319         (tgamma_test_data): Likewise.
33320         (yn_test_data): Remove duplicate test of overflow.
33322         * math/libm-test.inc (struct test_cc_c_data): New type.
33323         (RUN_TEST_LOOP_cc_c): New macro.
33324         (cpow_test_data): New variable.
33325         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33327         * math/libm-test.inc (struct test_f_L_data): New type.
33328         (RUN_TEST_LOOP_f_L): New macro.
33329         (llrint_test_data): New variable.
33330         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33331         (llrint_tonearest_test_data): New variable.
33332         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33333         (llrint_towardzero_test_data): New variable.
33334         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33335         (llrint_downward_test_data): New variable.
33336         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33337         (llrint_upward_test_data): New variable.
33338         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33339         (llround_test_data): New variable.
33340         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33342 2013-05-13  Peter Collingbourne  <pcc@google.com>
33344         * math/atest-exp2.c (get_log2): Remove const attribute.
33346 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33348         * math/libm-test.inc (struct test_f_l_data): New type.
33349         (RUN_TEST_LOOP_f_l): New macro.
33350         (lrint_test_data): New variable.
33351         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33352         (lrint_tonearest_test_data): New variable.
33353         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33354         (lrint_towardzero_test_data): New variable.
33355         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33356         (lrint_downward_test_data): New variable.
33357         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33358         (lrint_upward_test_data): New variable.
33359         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33360         (lround_test_data): New variable.
33361         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33363 2013-05-15  Peter Collingbourne  <pcc@google.com>
33365         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33366         (EXTRACT_WORDS64) Use where appropriate.
33367         (INSERT_WORDS64) Likewise.
33369         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33370         constraints with x constraints.
33371         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33373         * malloc/obstack.c (_obstack_compat): Add initializer.
33375 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33377         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33378         si_trapno and add si_addr_lsb to _sifields.sigfault.
33379         (si_trapno): Remove macro.
33380         (si_addr_lsb): Define new macro.
33381         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33383 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33385         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33386         instead of TEST_f_l.
33387         (llrint_test_tonearest): Likewise.
33388         (llrint_test_towardzero): Likewise.
33389         (llrint_test_downward): Likewise.
33390         (llrint_test_upward): Likewise.
33391         (llround_test): Likewise.
33393         * math/libm-test.inc (struct test_f_i_data): Add comment.
33394         (RUN_TEST_LOOP_f_b): New macro.
33395         (RUN_TEST_LOOP_f_b_tg): Likewise.
33396         (finite_test_data): New variable.
33397         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33398         (isfinite_test_data): New variable.
33399         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33400         (isinf_test_data): New variable.
33401         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33402         (isnan_test_data): New variable.
33403         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33404         (isnormal_test_data): New variable.
33405         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33406         (issignaling_test_data): New variable.
33407         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33408         (signbit_test_data): New variable.
33409         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33411         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33412         with INVALID_EXCEPTION.
33413         (acosh_test_data): Likewise.
33414         (asin_test_data): Likewise.
33415         (atanh_test_data): Likewise.
33416         (fmod_test_data): Likewise.
33417         (log_test_data): Likewise.
33418         (log10_test_data): Likewise.
33419         (log2_test_data): Likewise.
33420         (pow_test_data): Likewise.
33421         (sqrt_test_data): Likewise.
33422         (y0_test_data): Likewise.
33423         (y1_test_data): Likewise.
33424         (yn_test_data): Likewise.
33426         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33427         function contents.
33429         * math/libm-test.inc (struct test_ff_i_data): New type.
33430         (RUN_TEST_LOOP_ff_i_tg): New macro.
33431         (isgreater_test_data): New variable.
33432         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33433         (isgreaterequal_test_data): New variable.
33434         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33435         (isless_test_data): New variable.
33436         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33437         (islessequal_test_data): New variable.
33438         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33439         (islessgreater_test_data): New variable.
33440         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33441         (isunordered_test_data): New variable.
33442         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33444 2013-05-14  David S. Miller  <davem@davemloft.net>
33446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33448 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33450         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33452         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33453         extra_test to int.
33454         (struct test_f_i_data): Change type of max_ulp to int.
33456         * math/libm-test.inc (test_ffI_f1_data): New type.
33457         (RUN_TEST_LOOP_ffI_f1): New macro.
33458         (remquo_test_data): New variable.
33459         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33461         * setjmp/tst-setjmp-fp.c: New file.
33462         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33463         (link-libm): New variable.
33464         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33466         * math/libm-test.inc (struct test_f_i_data): New type.
33467         (RUN_TEST_LOOP_f_i): New macro.
33468         (RUN_TEST_LOOP_f_i_tg): Likewise.
33469         (fpclassify_test_data): New variable.
33470         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33471         (ilogb_test_data): New variable.
33472         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33474         * math/libm-test.inc (scalbln_test): Correct function name in END
33475         call.
33477         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33478         (RUN_TEST_LOOP_fI_f1): New macro.
33479         (frexp_test_data): New variable.
33480         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33482         * math/libm-test.inc (struct test_fF_f1_data): New type.
33483         (RUN_TEST_LOOP_fF_f1): New macro.
33484         (modf_test_data): New variable.
33485         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33487         * math/libm-test.inc (struct test_f_f1_data): New type.
33488         (RUN_TEST_LOOP_f_f1): New macro.
33489         (gamma_test_data): New variable.
33490         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33491         (lgamma_test_data): New variable.
33492         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33494 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33496         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33497         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33498         (main): Comment "tls" pseudo-hwcap.
33500 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33502         * math/libm-test.inc (struct test_fl_f_data): New type.
33503         (RUN_TEST_LOOP_fl_f): New variable.
33504         (scalbln_test_data): New variable.
33505         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33507         * math/libm-test.inc (struct test_fi_f_data): New type.
33508         (RUN_TEST_LOOP_fi_f): New macro.
33509         (ldexp_test_data): New variable.
33510         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33511         (scalbn_test_data): New variable.
33512         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33514         * math/libm-test.inc (struct test_c_f_data): New type.
33515         (RUN_TEST_LOOP_c_f): New macro.
33516         (cabs_test_data): New variable.
33517         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33518         (carg_test_data): New variable.
33519         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33520         (cimag_test_data): New variable.
33521         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33522         (creal_test_data): New variable.
33523         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33525         * math/libm-test.inc (struct test_if_f_data): New type.
33526         (RUN_TEST_LOOP_if_f): New macro.
33527         (jn_test_data): New variable.
33528         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33529         (yn_test_data): New variable.
33530         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33532         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33534 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33536         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33537         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33539 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33541         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33542         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33543         (bench-deps): Add bench-timing.h.
33544         * benchtests-bench-skeleton.c: Include bench-timing.h.
33545         (main): Use TIMING_* macros instead of clock_gettime.
33546         * benchtests/bench-timing.h: New file.
33548         [BZ #14582]
33549         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33550         Renamed from _LIB_VERSION.
33551         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33553 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33555         * math/libm-test.inc (struct test_fff_f_data): New type.
33556         (RUN_TEST_LOOP_fff_f): New macro.
33557         (fma_test_data): New variable.
33558         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33559         (fma_towardzero_test_data): New variable.
33560         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33561         (fma_downward_test_data): New variable.
33562         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33563         (fma_upward_test_data): New variable.
33564         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33566         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33567         (struct test_c_c_data): New type.
33568         (RUN_TEST_LOOP_c_c): New macro.
33569         (cacos_test_data): New variable.
33570         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33571         (cacosh_test_data): New variable.
33572         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33573         (casin_test_data): New variable.
33574         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33575         (casinh_test_data): New variable.
33576         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33577         (catan_test_data): New variable.
33578         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33579         (catanh_test_data): New variable.
33580         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33581         (ccos_test_data): New variable.
33582         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33583         (ccosh_test_data): New variable.
33584         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33585         (cexp_test_data): New variable.
33586         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33587         (clog_test_data): New variable.
33588         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33589         (clog10_test_data): New variable.
33590         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33591         (conj_test_data): New variable.
33592         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33593         (cproj_test_data): New variable.
33594         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33595         (csin_test_data): New variable.
33596         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33597         (csinh_test_data): New variable.
33598         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33599         (csqrt_test_data): New variable.
33600         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33601         (ctan_test_data): New variable.
33602         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33603         (ctan_tonearest_test_data): New variable.
33604         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33605         (ctan_towardzero_test_data): New variable.
33606         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33607         (ctan_downward_test_data): New variable.
33608         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33609         (ctan_upward_test_data): New variable.
33610         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33611         (ctanh_test_data): New variable.
33612         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33613         (ctanh_tonearest_test_data): New variable.
33614         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33615         (ctanh_towardzero_test_data): New variable.
33616         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33617         (ctanh_downward_test_data): New variable.
33618         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33619         (ctanh_upward_test_data): New variable.
33620         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33621         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33622         of BUILD_COMPLEX.
33624         * math/libm-test.inc (struct test_ff_f_data): New type.
33625         (struct test_ff_f_data_nexttoward): Likewise.
33626         (RUN_TEST_LOOP_2_f): New macro.
33627         (RUN_TEST_LOOP_ff_f): Likewise.
33628         (atan2_test_data): New variable.
33629         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33630         (copysign_test_data): New variable.
33631         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33632         (fdim_test_data): New variable.
33633         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33634         (fmax_test_data): New variable.
33635         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33636         (fmin_test_data): New variable.
33637         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33638         (fmod_test_data): New variable.
33639         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33640         (hypot_test_data): New variable.
33641         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33642         (nextafter_test_data): New variable.
33643         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33644         (nexttoward_test_data): New variable.
33645         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33646         (pow_test_data): New variable.
33647         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33648         (pow_tonearest_test_data): New variable.
33649         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33650         (pow_towardzero_test_data): New variable.
33651         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33652         (pow_downward_test_data): New variable.
33653         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33654         (pow_upward_test_data): New variable.
33655         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33656         (remainder_test_data): New variable.
33657         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33658         (scalb_test_data): New variable.
33659         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33660         * sysdeps/i386/fpu/libm-test-ulps: Update.
33662 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33664         * math/libm-test.inc (fma_test): Use max_value instead of local
33665         variable fltmax.
33666         (nextafter_test): Likewise.
33668         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33669         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33670         (acos_downward_test_data): New variable.
33671         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33672         (acos_upward_test_data): New variable.
33673         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33674         (acosh_test_data): New variable.
33675         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33676         (asin_test_data): New variable.
33677         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33678         (asin_tonearest_test_data): New variable.
33679         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33680         (asin_towardzero_test_data): New variable.
33681         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33682         (asin_downward_test_data): New variable.
33683         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33684         (asin_upward_test_data): New variable.
33685         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33686         (asinh_test_data): New variable.
33687         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33688         (atan_test_data): New variable.
33689         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33690         (atanh_test_data): New variable.
33691         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33692         (cbrt_test_data): New variable.
33693         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33694         (ceil_test_data): New variable.
33695         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33696         (cos_test_data): New variable.
33697         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33698         (cos_tonearest_test_data): New variable.
33699         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33700         (cos_towardzero_test_data): New variable.
33701         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33702         (cos_downward_test_data): New variable.
33703         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33704         (cos_upward_test_data): New variable.
33705         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33706         (cosh_test_data): New variable.
33707         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33708         (cosh_tonearest_test_data): New variable.
33709         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33710         (cosh_towardzero_test_data): New variable.
33711         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33712         (cosh_downward_test_data): New variable.
33713         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33714         (cosh_upward_test_data): New variable.
33715         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33716         (erf_test_data): New variable.
33717         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33718         (erfc_test_data): New variable.
33719         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33720         (exp_test_data): New variable.
33721         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33722         (exp_tonearest_test_data): New variable.
33723         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33724         (exp_towardzero_test_data): New variable.
33725         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33726         (exp_downward_test_data): New variable.
33727         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33728         (exp_upward_test_data): New variable.
33729         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33730         (exp10_test_data): New variable.
33731         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33732         (exp2_test_data): New variable.
33733         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33734         (expm1_test_data): New variable.
33735         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33736         (fabs_test_data): New variable.
33737         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33738         (floor_test_data): New variable.
33739         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33740         (j0_test_data): New variable.
33741         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33742         (j1_test_data): New variable.
33743         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33744         (log_test_data): New variable.
33745         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33746         (log10_test_data): New variable.
33747         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33748         (log1p_test_data): New variable.
33749         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33750         (log2_test_data): New variable.
33751         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33752         (logb_test_data): New variable.
33753         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33754         (logb_downward_test_data): New variable.
33755         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33756         (nearbyint_test_data): New variable.
33757         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33758         (rint_test_data): New variable.
33759         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33760         (rint_tonearest_test_data): New variable.
33761         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33762         (rint_towardzero_test_data): New variable.
33763         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33764         (rint_downward_test_data): New variable.
33765         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33766         (rint_upward_test_data): New variable.
33767         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33768         (round_test_data): New variable.
33769         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33770         (sin_test_data): New variable.
33771         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33772         (sin_tonearest_test_data): New variable.
33773         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33774         (sin_towardzero_test_data): New variable.
33775         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33776         (sin_downward_test_data): New variable.
33777         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33778         (sin_upward_test_data): New variable.
33779         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33780         (sinh_test_data): New variable.
33781         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33782         (sinh_tonearest_test_data): New variable.
33783         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33784         (sinh_towardzero_test_data): New variable.
33785         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33786         (sinh_downward_test_data): New variable.
33787         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33788         (sinh_upward_test_data): New variable.
33789         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33790         (sqrt_test_data): New variable.
33791         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33792         (tan_test_data): New variable.
33793         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33794         (tan_tonearest_test_data): New variable.
33795         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33796         (tan_towardzero_test_data): New variable.
33797         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33798         (tan_downward_test_data): New variable.
33799         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33800         (tan_upward_test_data): New variable.
33801         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33802         (tanh_test_data): New variable.
33803         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33804         (tgamma_test_data): New variable.
33805         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33806         (trunc_test_data): New variable.
33807         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33808         (y0_test_data): New variable.
33809         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33810         (y1_test_data): New variable.
33811         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33812         (significand_test_data): New variable.
33813         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33815 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33817         [BZ #12387]
33818         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33820 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33822         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33824 2013-05-10  Andreas Jaeger  <aj@suse.de>
33826         [BZ #15448]
33827         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33828         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33830 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33832         * math/gen-libm-test.pl (adjust_arg): New function.
33833         (special_functions): Handle generating output in both functions
33834         and arrays.
33835         (parse_args): Likewise.
33836         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33837         $in_func argument to parse_args.
33838         * math/libm-test.inc (struct test_f_f_data): New type.
33839         (IF_ROUND_INIT_): New macro.
33840         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33841         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33842         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33843         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33844         (ROUND_RESTORE_): Likewise.
33845         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33846         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33847         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33848         (ROUND_RESTORE_FE_UPWARD): Likewise.
33849         (RUN_TEST_LOOP_f_f): New macro.
33850         (acos_test_data): New variable.
33851         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33852         (acos_tonearest_test_data): New variable.
33853         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33855 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33857         * benchtests/bench-skeleton.c (startup): Fix coding style.
33859 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33861         [BZ #6809]
33862         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33863         negative infinity argument.
33864         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33865         negative infinity argument.
33866         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33867         negative infinity argument.
33868         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33869         domain errors.
33871 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33873         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33874         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33875         * iconv/iconv_prog.c (main): Likewise.
33876         * locale/programs/charmap-dir.c (charmap_readdir)
33877         (fopen_uncompressed): Likewise.
33878         * locale/programs/locfile.c (siblings_uncached)
33879         (write_locale_data): Use lstat64 instead of lstat.
33880         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33881         stat.
33883 2013-05-10  Andreas Jaeger  <aj@suse.de>
33885         [BZ #15395]
33886         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33887         localization.
33888         Include <locale.h>.
33890 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33892         * elf/dl-close.c (_dl_close_worker): Add comments.
33894 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33896         [BZ #15359]
33897         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33898         high part of pi/2.
33899         (__ieee754_rem_pio2l): Update comments.
33901         [BZ #15429]
33902         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33903         high part of pi/2.
33904         (__ieee754_rem_pio2l): Update comments.
33906         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33907         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33909         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33910         M_PI_4l.
33912         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33913         (M_PI_34_LOG10El): Likewise.
33914         (M_PI2_LOG10El): Likewise.
33915         (M_PI4_LOG10El): Likewise.
33916         (M_PI_LOG10El): Likewise.
33918 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33922 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33924         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33925         (MINUS_ZERO_INIT): Likewise.
33926         (PLUS_INFTY_INIT): Likewise.
33927         (MINUS_INFTY_INIT): Likewise.
33928         (QNAN_VALUE_INIT): Likewise.
33929         (MAX_VALUE_INIT): Likewise.
33930         (MIN_VALUE_INIT): Likewise.
33931         (MIN_SUBNORM_VALUE_INIT): Likewise.
33932         (plus_zero): Initialize with PLUS_ZERO_INIT.
33933         (minus_zero): Initialize with MINUS_ZERO_INIT.
33934         (plus_infty): Initialize with PLUS_INFTY_INIT.
33935         (minus_infty): Initialize with MINUS_INFTY_INIT.
33936         (qnan_value): Initialize with QNAN_VALUE_INIT.
33937         (max_value): Initialize with MAX_VALUE_INIT.
33938         (min_value): Initialize with MIN_VALUE_INIT.
33939         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33941         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33942         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33943         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33944         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33946         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33947         (RUN_TEST_2_f): Likewise.
33948         (RUN_TEST_ff_f): Likewise.
33949         (RUN_TEST_fi_f): Likewise.
33950         (RUN_TEST_fl_f): Likewise.
33951         (RUN_TEST_fff_f): Likewise.
33952         (RUN_TEST_c_f): Likewise.
33953         (RUN_TEST_f_f1): Likewise.
33954         (RUN_TEST_fF_f1): Likewise.
33955         (RUN_TEST_fI_f1): Likewise.
33956         (RUN_TEST_ffI_f1): Likewise.
33957         (RUN_TEST_c_c): Likewise.
33958         (RUN_TEST_cc_c): Likewise.
33959         (RUN_TEST_f_i): Likewise.
33960         (RUN_TEST_f_i_tg): Likewise.
33961         (RUN_TEST_ff_i_tg): Likewise.
33962         (RUN_TEST_f_b): Likewise.
33963         (RUN_TEST_f_b_tg): Likewise.
33964         (RUN_TEST_f_l): Likewise.
33965         (RUN_TEST_f_L): Likewise.
33966         (RUN_TEST_sincos): Likewise.
33967         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33968         whether to show exceptions.  Do not include ");\n" in return
33969         value.
33970         (special_functions): Output call to RUN_TEST_sincos instead of
33971         check_float calls.  Update calls to new_test.
33972         (parse_args): Output call to single RUN_TEST_* macro instead of
33973         check_* calls and other assignments.  Update calls to new_test.
33975         [BZ #2546]
33976         [BZ #2560]
33977         [BZ #5159]
33978         [BZ #15426]
33979         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33980         input to result for tgamma overflow.
33981         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33982         (gamma_coeff): New variable.
33983         (NCOEFF): New macro.
33984         (gamma_positive): New function.
33985         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33986         underflow here.  Use gamma_positive instead of exp (lgamma) for
33987         other arguments.
33988         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33989         (gamma_coeff): New variable.
33990         (NCOEFF): New macro.
33991         (gammaf_positive): New function.
33992         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33993         underflow here.  Use gamma_positive instead of exp (lgamma) for
33994         other arguments.
33995         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33996         (gamma_coeff): New variable.
33997         (NCOEFF): New macro.
33998         (gammal_positive): New function.
33999         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34000         underflow here.  Use gamma_positive instead of exp (lgamma) for
34001         other arguments.
34002         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34003         (gamma_coeff): New variable.
34004         (NCOEFF): New macro.
34005         (gammal_positive): New function.
34006         (__ieee754_gammal_r): Handle positive infinity, overflow and
34007         underflow here.  Handle NaN the same as positive infinity.  Remove
34008         check x < 0xffffffff for negative integers.  Use gamma_positive
34009         instead of exp (lgamma) for other arguments.
34010         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34011         (gamma_coeff): New variable.
34012         (NCOEFF): New macro.
34013         (gammal_positive): New function.
34014         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34015         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34016         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34017         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34018         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34019         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34020         * sysdeps/generic/math_private.h (__gamma_productf): New
34021         prototype.
34022         (__gamma_product): Likewise.
34023         (__gamma_productl): Likewise.
34024         * math/Makefile (libm-calls): Add gamma_product.
34025         * math/libm-test.inc (tgamma_test): Add more tests.
34026         * sysdeps/i386/fpu/libm-test-ulps: Update.
34027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34029 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34031         * benchtests/bench-skeleton.c (main): Preheat CPU.
34033 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34035         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34037 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34039         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34040         and _dl_skip_args_internal.
34042 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34044         * manual/message.texi (Message Translation): Talk about users.
34045         Message to key mapping impacts design.
34047 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34049         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34051         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34053         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34054         * sysdeps/wordsize-64/glob64.c: ... here.
34056         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34057         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34058         New macros.
34060         * debug/getlogin_r_chk.c: Moved to ...
34061         * login/getlogin_r_chk.c: ... here.
34062         * debug/Makefile (routines): Move getlogin_r_chk to ...
34063         * login/Makefile (routines): ... here.
34064         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34065         * login/Versions (libc: GLIBC_2.4): ... here.
34067         * io/poll.c (__poll): Renamed from poll.
34068         Add libc_hidden_def.
34069         (poll): Define as weak alias.
34071         * debug/ptsname_r_chk.c: Moved to ...
34072         * login/ptsname_r_chk.c: ... here.
34073         * debug/Makefile (routines): Move ptsname_r_chk to ...
34074         * login/Makefile (routines): ... here.
34075         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34076         * login/Versions (libc: GLIBC_2.4): ... here.
34078         * posix/getlogin.c: Moved to ...
34079         * login/getlogin.c: ... here.
34080         * posix/getlogin_r.c: Moved to ...
34081         * login/getlogin_r.c: ... here.
34082         * posix/getlogin_r.c: Moved to ...
34083         * login/getlogin_r.c: ... here.
34084         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34085         * login/Makefile (routines): ... here.
34086         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34087         * login/Versions (libc: GLIBC_2.0): ... here.
34089         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34090         (setrlimit): Define as weak alias.
34092         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34093         Call __ names for open, ftruncate, and close.
34094         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34095         (truncate): Define as weak alias.
34097 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34099         * math/gen-libm-test.pl (parse_args): Initialize x before each
34100         test of frexp, modf and remquo.
34102         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34103         test signgam value.
34105 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34107         [BZ #15418]
34108         [BZ #15419]
34109         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34110         internal tests.
34111         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34113 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34115         * elf/dl-writev.h: New file.
34116         * elf/dl-misc.c: Include it.
34117         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34118         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34120 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34122         * math/libm-test.inc (noXFails): Remove variable.
34123         (noXPasses): Likewise.
34124         (BUILD_COMPLEX_INT): Remove macro.
34125         (print_screen): Remove xfail argument.
34126         (print_screen_max_error): Likewise.
34127         (update_stats): Likewise.
34128         (print_max_error): Likewise.  Update calls to other affected
34129         functions.
34130         (print_complex_max_error): Likewise.
34131         (test_single_exception): Update calls to print_screen.
34132         (test_single_errno): Likewise.
34133         (check_float_internal): Remove xfail argument.  Update calls to
34134         other affected functions.
34135         (check_float): Likewise.
34136         (check_complex): Likewise.
34137         (check_int): Likewise.
34138         (check_long): Likewise.
34139         (check_bool): Likewise.
34140         (check_longlong): Likewise.
34141         (main): Don't print noXFails and noXPasses.
34142         * math/gen-libm-test.pl (top level): Don't mention expected
34143         failure handling in comment.
34144         (new_test): Don't handle expected failures.
34145         (parse_args): Don't mention expected failure handling in comment.
34146         (generate_testfile): Don't handle expected failures.
34147         (parse_ulps): Likewise.
34148         (print_ulps_file): Likewise.
34149         (get_failure): Remove function.
34150         (output_test): Don't handle expected failures.
34151         * make/README.libm-test: Don't mention expected failure handling.
34153         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34154         (minus_zero): Likewise.
34155         (plus_infty): Likewise.
34156         (minus_infty): Likewise.
34157         (qnan_value): Likewise.
34158         (max_value): Likewise.
34159         (min_value): Likewise.
34160         (min_subnorm_value): Likewise.
34161         (initialize): Do not initialize those variables dynamically.
34163 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34165         * io/open.c (__open_2): Moved to ...
34166         * io/open_2.c: ... this new file.
34167         * io/open64.c (__open64_2): Moved to ...
34168         * io/open64_2.c: ... this new file.
34169         * io/openat.c (__openat_2): Moved to ...
34170         * io/openat_2.c: ... this new file.
34171         * io/openat64.c (__openat64_2): Moved to ...
34172         * io/openat64_2.c: ... this new file.
34173         * io/Makefile (routines): Add them.
34174         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34175         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34176         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34177         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34178         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34179         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34180         (__openat64): Add hidden_ver.
34181         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34182         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34184         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34185         Separately conditionalize setting of GLRO(dl_sysinfo) so
34186         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34187         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34189 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34191         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34192         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34193         definition.
34194         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34195         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34196         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34197         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34198         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34200 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34202         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34203         test signgam value.
34205         * math/libm-test.inc (hypot_test): Do not use
34206         IGNORE_ZERO_INF_SIGN.
34208 2013-05-03  Andreas Jaeger  <aj@suse.de>
34210         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34211         Linux 3.9.
34212         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34213         (PF_MAX): Adjust for VSOCK change.
34215 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34219 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34221         [BZ #15264]
34222         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34223         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34224         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34226 2013-05-02  David S. Miller  <davem@davemloft.net>
34228         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34230 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34232         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34234 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34236         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34238 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34240         [BZ #14952]
34241         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34242         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34243         Use __attribute__ ((__gnu_inline__)).
34244         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34245         Don't use __attribute__ ((__gnu_inline__)).
34247 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34249         [BZ #15423]
34250         * math/s_catan.c (__catan): Handle small real or imaginary part of
34251         input specially to avoid spurious underflow.
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 (__catanhl): Likewise.
34256         * math/s_catanl.c (__catanl): Likewise.
34257         * math/libm-test.inc (catan_test): Add more tests.
34258         (catanh_test): Likewise.
34259         * sysdeps/i386/fpu/libm-test-ulps: Update.
34260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34262 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34266 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34268         [BZ #15416]
34269         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34270         accurately for denominator in atan2.
34271         * math/s_catanf.c (__catanf): Likewise.
34272         * math/s_catanh.c (__catanh): Likewise.
34273         * math/s_catanhf.c (__catanhf): Likewise.
34274         * math/s_catanhl.c (__catanhl): Likewise.
34275         * math/s_catanl.c (__catanl): Likewise.
34276         * math/libm-test.inc (catan_test): Add more tests.
34277         (catanh_test): Likewise.
34278         * sysdeps/i386/fpu/libm-test-ulps: Update.
34279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34281 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34283         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34285         * benchtests/Makefile (bench): Remove slow benchmarks.
34286         * benchtests/atan-inputs: Add slow benchmark inputs.
34287         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34288         (BENCH_FUNC): Accept variant offset.
34289         (VARIANT): Define.
34290         * benchtests/bench-skeleton.c (main): Run benchmark for each
34291         variant.
34292         * benchtests/cos-inputs: Add slow benchmark inputs.
34293         * benchtests/exp-inputs: Likewise.
34294         * benchtests/pow-inputs: Likewise.
34295         * benchtests/sin-inputs: Likewise.
34296         * benchtests/slowatan-inputs: Remove.
34297         * benchtests/slowatan.c: Remove.
34298         * benchtests/slowcos-inputs: Remove.
34299         * benchtests/slowcos.c: Remove.
34300         * benchtests/slowexp-inputs: Remove.
34301         * benchtests/slowexp.c: Remove.
34302         * benchtests/slowpow-inputs: Remove.
34303         * benchtests/slowpow.c: Remove.
34304         * benchtests/slowsin-inputs: Remove.
34305         * benchtests/slowsin.c: Remove.
34306         * benchtests/slowtan-inputs: Remove.
34307         * benchtests/slowtan.c: Remove.
34308         * benchtests/tan-inputs: Add slow benchmark inputs.
34309         * scripts/bench.pl: Parse comments and directives.
34311         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34312         in CPPFLAGS.
34313         ($(objpfx)bench-%.c): Remove *-ITER.
34314         * benchtests/bench-modf.c: Remove definition of ITER.
34315         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34316         (main): Loop for DURATION seconds instead of fixed number of
34317         iterations.
34318         * scripts/bench.pl: Don't expect iterations in parameters.
34320 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34322         * io/fchdir.c (__fchdir): Renamed from fchdir.
34323         (fchdir): Define as weak alias.
34325 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34327         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34328         (ERRNO_EDOM): Likewise.
34329         (ERRNO_ERANGE): Likewise.
34330         (noErrnoTests): New variable.
34331         (init_max_error): Set errno to 0.
34332         (test_single_errno): New function.
34333         (test_errno): Likewise.
34334         (check_float_internal): Call test_errno.  Set errno to 0.
34335         (check_complex): Refer to errno tests in comment.
34336         (check_int): Call test_errno.  Set errno to 0.
34337         (check_long): Likewise.
34338         (check_bool): Likewise.
34339         (check_longlong): Likewise.
34340         (cos_test): Use ERRNO_* flags for errno tests instead of
34341         check_int.
34342         (expm1_test): Likewise.
34343         (fmod_test): Likewise.
34344         (ilogb_test): Likewise.
34345         (lgamma_test): Likewise.
34346         (pow_test): Likewise.
34347         (remainder_test): Likewise.
34348         (sin_test): Likewise.
34349         (tan_test): Likewise.
34350         (yn_test): Likewise.
34351         (initialize): Set errno to 0.
34352         (main): Print number of errno tests.
34353         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34355 2013-04-29  Andreas Jaeger  <aj@suse.de>
34357         [BZ #15084]
34358         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34359         and RES_USEVC.
34361         [BZ #15085]
34362         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34363         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34364         unimplemented.
34366         [BZ #15380]
34367         * stdlib/random.c (__initstate): Return NULL if
34368         __initstate fails.
34370         [BZ #15086]
34371         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34372         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34373         RES_SNGLKUPREOP.
34375 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34379 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34381         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34382         of individual tests.
34383         (casin_test): Likewise.
34384         (casinh_test): Likewise.
34386 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34388         [BZ #15409]
34389         * math/s_catan.c (__catan): Handle arguments with large real or
34390         imaginary part separately without squaring.
34391         * math/s_catanf.c (__catanf): Likewise.
34392         * math/s_catanh.c (__catanh): Likewise.
34393         * math/s_catanhf.c (__catanhf): Likewise.
34394         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34395         and redefine.
34396         (__catanhl): Handle arguments with large real or imaginary part
34397         separately without squaring.
34398         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34399         and redefine.
34400         (__catanl): Handle arguments with large real or imaginary part
34401         separately without squaring.
34402         * math/libm-test.inc (catan_test): Add more tests.
34403         (catanh_test): Likewise.
34404         * sysdeps/i386/fpu/libm-test-ulps: Update.
34405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34407 2013-04-27  Andreas Jaeger  <aj@suse.de>
34409         [BZ #15007]
34410         * stdlib/stdlib.h: Update guards for qecvt.
34411         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34412         <stdlib.h>.
34414 2013-04-27  Allan McRae  <allan@archlinux.org>
34416         * sysdeps/i386/fpu/libm-test-ulps: Update.
34418 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34420         [BZ #15406]
34421         * math/s_catan.c: Include <float.h>.
34422         (__catan): Ensure underflow exception occurs for underflowed
34423         result.
34424         * math/s_catanf.c: Include <float.h>.
34425         (__catanf): Ensure underflow exception occurs for underflowed
34426         result.
34427         * math/s_catanh.c: Include <float.h>.
34428         (__catanh): Ensure underflow exception occurs for underflowed
34429         result.
34430         * math/s_catanhf.c: Include <float.h>.
34431         (__catanhf): Ensure underflow exception occurs for underflowed
34432         result.
34433         * math/s_catanhl.c: Include <float.h>.
34434         (__catanhl): Ensure underflow exception occurs for underflowed
34435         result.
34436         * math/s_catanl.c: Include <float.h>.
34437         (__catanl): Ensure underflow exception occurs for underflowed
34438         result.
34439         * math/libm-test.inc (catan_test): Add more tests.
34440         (catanh_test): Likewise.
34442         [BZ #15405]
34443         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34444         underflowed result.
34445         * math/s_ccoshf.c (__ccoshf): Likewise.
34446         * math/s_ccoshl.c (__ccoshl): Likewise.
34447         * math/s_csin.c (__csin): Likewise.
34448         * math/s_csinf.c (__csinf): Likewise.
34449         * math/s_csinh.c (__csinh): Likewise.
34450         * math/s_csinhf.c (__csinhf): Likewise.
34451         * math/s_csinhl.c (__csinhl): Likewise.
34452         * math/s_csinl.c (__csinl): Likewise.
34453         * math/libm-test.inc (ccos_test): Add more tests.
34454         (ccosh_test): Likewise.
34455         (csin_test): Likewise.
34456         (csinh_test): Likewise.
34458 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34460         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34461         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34462         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34463         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34464         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34465         powerpc/power5+/fpu folders.
34466         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34469 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34471         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34473 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34475         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34476         additions to variable.
34477         [$(config-machine) = x86_64] (modules-names): Likewise.
34478         ($(objpfx)tst-audit3): Remove dependency.
34479         ($(objpfx)tst-audit3.out): Likewise.
34480         ($(objpfx)tst-audit4): Likewise.
34481         ($(objpfx)tst-audit4.out): Likewise.
34482         ($(objpfx)tst-audit5): Likewise.
34483         ($(objpfx)tst-audit5.out): Likewise.
34484         ($(objpfx)tst-audit6): Likewise.
34485         ($(objpfx)tst-audit6.out): Likewise.
34486         ($(objpfx)tst-audit7): Likewise.
34487         ($(objpfx)tst-audit7.out): Likewise.
34488         (tst-audit3-ENV): Remove variable.
34489         (tst-audit4-ENV): Likewise.
34490         (tst-audit5-ENV): Likewise.
34491         (tst-audit6-ENV): Likewise.
34492         (tst-audit7-ENV): Likewise.
34493         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34494         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34495         addition to variable.
34496         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34497         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34498         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34499         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34500         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34501         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34502         tst-audit3, tst-audit4 and tst-audit5.
34503         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34504         tst-audit6 and tst-audit7.
34505         [$(subdir) = elf] (modules-names): Add audit modules for those
34506         tests.
34507         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34508         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34509         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34510         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34511         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34512         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34513         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34514         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34515         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34516         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34517         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34518         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34519         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34520         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34521         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34522         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34523         Likewise.
34524         [$(subdir) = elf && $(config-cflags-avx) = yes]
34525         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34526         [$(subdir) = elf && $(config-cflags-avx) = yes]
34527         (CFLAGS-tst-auditmod4a.c): Likewise.
34528         [$(subdir) = elf && $(config-cflags-avx) = yes]
34529         (CFLAGS-tst-auditmod4b.c): Likewise.
34530         [$(subdir) = elf && $(config-cflags-avx) = yes]
34531         (CFLAGS-tst-auditmod6b.c): Likewise.
34532         [$(subdir) = elf && $(config-cflags-avx) = yes]
34533         (CFLAGS-tst-auditmod6c.c): Likewise.
34534         [$(subdir) = elf && $(config-cflags-avx) = yes]
34535         (CFLAGS-tst-auditmod7b.c): Likewise.
34536         * elf/tst-audit3.c: Move to ...
34537         * sysdeps/x86_64/tst-audit3.c: ... here.
34538         * elf/tst-audit4.c: Move to ...
34539         * sysdeps/x86_64/tst-audit4.c: ... here.
34540         * elf/tst-audit5.c: Move to ...
34541         * sysdeps/x86_64/tst-audit5.c: ... here.
34542         * elf/tst-audit6.c: Move to ...
34543         * sysdeps/x86_64/tst-audit6.c: ... here.
34544         * elf/tst-audit7.c: Move to ...
34545         * sysdeps/x86_64/tst-audit7.c: ... here.
34546         * elf/tst-auditmod3a.c: Move to ...
34547         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34548         * elf/tst-auditmod3b.c: Move to ...
34549         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34550         * elf/tst-auditmod4a.c: Move to ...
34551         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34552         * elf/tst-auditmod4b.c: Move to ...
34553         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34554         * elf/tst-auditmod5a.c: Move to ...
34555         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34556         * elf/tst-auditmod5b.c: Move to ...
34557         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34558         * elf/tst-auditmod6a.c: Move to ...
34559         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34560         * elf/tst-auditmod6b.c: Move to ...
34561         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34562         * elf/tst-auditmod6c.c: Move to ...
34563         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34564         * elf/tst-auditmod7a.c: Move to ...
34565         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34566         * elf/tst-auditmod7b.c: Move to ...
34567         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34569 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34571         [BZ #15366]
34572         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34573         define unconditionally.
34574         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34575         define unconditionally.
34576         (INT8_C, INT16_C, etc.): Likewise.
34578 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34580         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34581         __ehdr_start with hidden visibility.
34583         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34585 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34587         * math/libm-test.inc (cos_test): Use accurate hex constants.
34588         (sincost_test): Likewise.
34590 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34592         * math/libm-test.inc (catan_test): Add more tests.
34593         (catanh_test): Likewise.
34595         * math/s_catanf.c (__catanf): Use suffixed floating-point
34596         constants.
34597         * math/s_catanhf.c (__catanhf): Likewise.
34598         * math/s_catanhl.c (__catanhl): Likewise.
34599         * math/s_catanl.c (__catanl): Likewise.
34601         [BZ #15394]
34602         * math/s_catan.c (__catan): Calculate imaginary part of result
34603         with log1p not log unless computing log of number close to 0.
34604         * math/s_catanf.c (__catanf): Likewise.
34605         * math/s_catanl.c (__catanl): Likewise.
34606         * math/s_catanh.c (__catanh): Calculate real part of result with
34607         log1p not log unless computing log of number close to 0.
34608         * math/s_catanhf.c (__catanhf): Likewise.
34609         * math/s_catanhl.c (__catanhl): Likewise.
34610         * math/libm-test.inc (catan_test): Add more tests.
34611         (catanh_test): Likewise.
34612         * sysdeps/i386/fpu/libm-test-ulps: Update.
34613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34615 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34617         * benchtests/Makefile: Mention files in which fast and slow
34618         paths of math functions are implemented.
34620 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34622         * sysdeps/posix/timespec_get.c: New file.
34624 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34626         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34627         POWER.
34628         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34629         for POWER.
34630         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34631         powerpc/power5/fpu folders.
34632         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34633         * benchtests/Makefile: Add modf testcase.
34634         * benchtests/bench-modf.c: New file: Benchmark test for mo
34636 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34638         [BZ #14888]
34639         * time/Makefile (tests): Add tst-strptime-whitespace.
34640         * time/strptime_l.c (get_number): Use ISSPACE.
34641         (__strptime_internal): Likewise.
34642         * time/tst-strptime-whitespace.c: New test case.
34644 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34646         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34647         member.
34648         (_nss_files_init): Set it here.
34650 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34652         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34653         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34654         unsigned.
34656 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34658         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34660 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34662         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34663         size just once.
34665 2013-04-21  David S. Miller  <davem@davemloft.net>
34667         * po/ru.po: Update Russion translation from translation project.
34669 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34671         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34672         and setfsgid.
34674 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34676         * configure.in: Remove i386 configure warning. Remove i386 case.
34677         * configure: Regenerate.
34678         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34679         Add example to error message.
34680         * sysdeps/i386/configure: Regenerate.
34682 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34684         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34685         slowtan.
34686         * benchtests/cos-inputs: New file.
34687         * benchtests/slowcos-inputs: New file.
34688         * benchtests/slowcos.c: New file.
34689         * benchtests/slowtan-inputs: New file.
34690         * benchtests/slowtan.c: New file.
34691         * benchtests/tan-inputs: New file.
34693 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34695         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34696         considered kosher.
34698 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34700         * benchtests/Makefile: Include cppflags-iterator.mk to add
34701         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34703         * Makefile.in (bench-clean): New target.
34704         * benchtests/Makefile (bench-clean): Likewise.
34706 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34708         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34710 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34712         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34714 2013-04-15  Andreas Schwab  <schwab@suse.de>
34716         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34717         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34718         * nscd/pwdcache.c (cache_addpw): Likewise.
34719         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34720         more than recsize.
34722 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34724         * benchtests/Makefile (bench): Write all output to
34725         bench-out.tmp together.
34727 2013-04-15  Andreas Schwab  <schwab@suse.de>
34729         * nscd/nscd.c (main): Don't fork again after closing files.
34731 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34733         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34735         * benchtests/Rules (bench-deps): Collect dependencies into a
34736         single variable.  Add Makefile to dependencies.
34737         ($(objpfx)bench-%.c): Depend on bench-deps.
34739 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34740             Xavier Roche  <roche+kml2@exalead.com>
34742         [BZ #15361]
34743         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34744         just that it's a file descriptor.
34745         * manual/llio.texi (Synchronizing AIO Operations): Update description
34746         for EBADF error from aio_fsync.
34748 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34750         * Rules (bench): Move target definition...
34751         * benchtests/Makefile: ... here.
34753 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34755         * math/libm-test.inc (cos_test): Fix PI/2 test.
34756         (sincos_test): Likewise.
34757         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34758         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34760 2013-04-11  Andreas Schwab  <schwab@suse.de>
34762         [BZ #13988]
34763         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34764         accept exponent character only when digits were seen.
34765         * stdio-common/Makefile (tests): Add bug26.
34766         * stdio-common/bug26.c: New file.
34768         [BZ #14293]
34769         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34770         non-freeable.
34772 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34774         * Makeconfig (rtld-prefix): Define built linker prefix.
34775         * Rules (run-bench): Use it.
34776         * math/Makefile (run-regen-ulps): Likewise.
34778         * Rules (bench): Remove eval.
34780 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34781             Roland McGrath  <roland@hack.frob.com>
34782             Ondrej Bilka  <neleai@seznam.cz>
34784         [BZ #15346]
34785         * time/getdate.c: Include ctype.h and alloca.h.
34786         (__getdate_r): Trim leading and trailing spaces of input.
34787         * time/tst-getdate.c (tests): Add tests with leading and
34788         trailing spaces.
34790 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34792         [BZ #14280]
34793         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34794         when computing value.
34796 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34798         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34799         Use testrun.sh to run libm tests.
34801         [BZ #15309]
34802         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34804 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34806         [BZ #15264]
34807         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34809 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34811         * Makefile.in (regen-ulps): New target.
34812         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34813         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34814         [ifneq (no,$(PERL)] (regen-ulps): New target.
34815         [ifeq (no,$(PERL)] (regen-ulps): New target.
34816         * math/libm-test.inc (ulps_file_name): Define.
34817         (output_dir): New variable.
34818         (options): Add "output-dir" option.
34819         (parse_opt): Handle 'o' case.
34820         (main): If output_dir is non-NULL use it as a prefix
34821         otherwise use "".
34822         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34824 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34826         [BZ #10060, #10062]
34827         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34828         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34829         fail configure if __sync_val_compare_and_swap is not inlined.
34830         * sysdeps/i386/configure: Regenerate.
34831         * configure.in: Build for i686 when configured for i386.
34832         * configure: Regenerate.
34833         * README: Remove i386 reference.
34835 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34837         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34838         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34840 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34842         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34843         (lmsnanval): New variables.
34844         (F): Add conversion tests.
34845         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34846         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34848         * stdio-common/tstdiomisc.c (F): Properly collect individual
34849         tests' results.
34851         [BZ #14686, #15336]
34852         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34853         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34854         Instead, use input NaN values or generate a qNaN by arithmetic
34855         operation.  Also fix bugs to comply with the standard.
34856         * math/libm-test.inc (remainder_test): Add more tests.
34858         [BZ #15335, #15342]
34859         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34860         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34861         input NaN values or generate a qNaN by arithmetic operation.
34863         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34864         unreachable code.
34866         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34867         definitions.
34869 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34871         [BZ #14478]
34872         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34873         underflowed result.
34874         * math/s_cexpf.c (__cexpf): Likewise.
34875         * math/s_cexpl.c (__cexpl): Likewise.
34876         * math/libm-test.inc (cexp_test): Add more tests.
34878 2013-04-03  Andreas Schwab  <schwab@suse.de>
34880         [BZ #15330]
34881         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34882         order arrays from heap if bigger than alloca cutoff.
34884 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34886         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34887         (SNAN_TESTS_double): Refer to GCC PR56831.
34888         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34889         GCC PR56828.
34891 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34893         * Rules (bench): Move bench.out after the run is complete.
34895         * Rules (bench): Echo currently running benchmark.
34897         * benchtests/Makefile (bench): Add atan and slowatan.
34898         * benchtests/atan-inputs: New file.
34899         * benchtests/slowatan-inputs: New file.
34900         * benchtests/slowatan.c: New file.
34902         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34903         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34904         its value.
34906         [BZ #15305]
34907         * sysdeps/unix/sysv/linux/kernel-features.h
34908         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34909         __ASSUME_XFS_RESTRICTED_CHOWN.
34910         * sysdeps/unix/sysv/linux/pathconf.c
34911         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34912         Save and restore errno.
34914 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34916         [BZ #15327]
34917         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34918         arguments using __kernel_casinh.
34919         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34920         arguments using __kernel_casinhf.
34921         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34922         arguments using __kernel_casinhl.
34923         * math/libm-test.inc (cacosh_test): Add more tests.
34924         * sysdeps/i386/fpu/libm-test-ulps: Update.
34925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34927 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34929         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34930         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34932         * bench/Makefile (bench): Add sin and slowsin.
34933         * benchtests/sin-inputs: New file.
34934         * benchtests/slowsin-inputs: New file.
34935         * benchtests/slowsin.c: New file.
34937         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34938         (bench): Add slowexp and slowpow.
34939         (exp-ITER): Increase iterations.
34940         (pow-ITER): Likewise.
34941         * benchtests/exp-inputs: Change input.
34942         * benchtests/pow-inputs: Likewise.
34943         * benchtests/slowexp-inputs: New file.
34944         * benchtests/slowexp.c: New file.
34945         * benchtests/slowpow-inputs: New file.
34946         * benchtests/slowpow.c: New file.
34948 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34950         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34951         instructions.
34952         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34953         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34954         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34955         * benchtests/Makefile: Add rint benchtest.
34956         * benchtests/rint-inputs: Input for rint benchtest.
34958 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34960         * Versions.def (libm): Add GLIBC_2.18.
34961         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34962         hidden libm prototypes.
34963         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34964         * math/Makefile (libm-calls): Add s_issignaling.
34965         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34966         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34967         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34968         declaration.
34969         * math/math.h [__USE_GNU] (issignaling): New macro.
34970         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34971         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34972         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34973         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34974         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34975         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34976         * manual/arith.texi (issignaling): New section.
34977         * manual/libm-err-tab.pl (@all_functions): Update comment.
34978         * math/gen-libm-test.pl (parse_args): Apply special handling for
34979         issignaling.
34980         * math/libm-test.inc (print_float, issignaling_test): New
34981         functions.
34982         (check_float_internal): Add issignaling checks.
34983         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34984         default definition.
34985         * sysdeps/powerpc/math-tests.h: New file.
34986         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34987         tests.
34988         * math/test-snan.c (TEST_FUNC): Likewise.
34990 2013-03-30  David S. Miller  <davem@davemloft.net>
34992         * po/de.po: Update from translation team.
34994 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34996         [BZ #10357]
34997         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34998         imaginary part less than 1.0 and real part less than 0.5
34999         specially.
35000         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35001         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35002         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35003         (cacos_test): Add more tests.
35004         (casin_test): Likewise.
35005         (casinh_test): Likewise.
35006         * sysdeps/i386/fpu/libm-test-ulps: Update.
35007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35009 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35011         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35012         ONE with its value.
35014         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35015         (__pow_mp): Replace ONE and MONE with their values.
35016         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35017         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35018         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35019         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35020         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35021         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35023         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35025         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35026         (__pow_mp): Replace ZERO and MZERO with their values.
35027         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35028         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35029         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35030         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35031         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35032         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35033         (__sqr): Likewise.
35035         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35037         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35039 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35041         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35042         Declare with __attribute__ ((weak)).
35043         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35044         Call __call_tls_dtors only if it's not NULL.
35046 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35048         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35049         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35050         magic __ehdr_start linker symbol if it's defined.
35051         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35052         them up here if it was already done.
35054         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35055         (_dl_aux_init): Use const in cast when setting it.
35056         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35057         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35058         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35060         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35061         Declare them here.
35062         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35063         * csu/libc-tls.c: Nor here.
35064         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35066         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35067         (__libc_message): Never call vsyslog.
35069 2013-03-28  Alan Modra  <amodra@gmail.com>
35071         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35072         Define as empty.
35073         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35074         Likewise.
35076 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35078         [BZ #15214]
35079         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35080         underflow.
35081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35083 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35085         [BZ #15304]
35086         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35087         Don't add gid passed as argument.
35089         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35091 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35093         [BZ #15307]
35094         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35095         imaginary part between 1.0 and 1.5 and real part less than 0.5
35096         specially.
35097         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35098         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35099         * math/libm-test.inc (cacos_test): Add more tests.
35100         (casin_test): Likewise.
35101         (casinh_test): Likewise.
35102         * sysdeps/i386/fpu/libm-test-ulps: Update.
35103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35105 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35107         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35108         constants.
35109         (norm): Likewise.
35110         (denorm): Likewise.
35111         (__dbl_mp): Likewise.
35112         (add_magnitudes): Likewise.
35113         (sub_magnitudes): Likewise.
35114         (__add): Likewise.
35115         (__sub): Likewise.
35116         (__mul): Likewise.
35117         (__sqr): Likewise.
35118         (__inv): Likewise.
35119         (__dvd): Likewise.
35121         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35122         commented code.
35123         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35124         (__dubcos): Likewise.
35125         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35126         (__ieee754_acos): Likewise.
35127         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35128         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35129         (__exp1): Likewise.
35130         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35131         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35132         (log1): Likewise.
35133         (my_log2): Likewise.
35134         (checkint): Likewise.
35135         * sysdeps/ieee754/dbl-64/e_remainder.c
35136         (__ieee754_remainder): Likewise.
35137         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35138         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35139         (bsloww): Likewise.
35140         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35142         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35143         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35144         MANTISSA_STORE_T to store computations on mantissa.  Use
35145         macros for rounding and division.
35146         (denorm): Likewise.
35147         (__dbl_mp): Likewise.
35148         (add_magnitudes): Likewise.
35149         (sub_magnitudes): Likewise.
35150         (__mul): Likewise.
35151         (__sqr): Likewise.
35152         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35153         powers of two in terms of TWOPOW macro.
35154         (mp_no): Make type of mantissa as MANTISSA_T.
35155         [!RADIXI]: Define RADIXI.
35156         [!TWO52]: Define TWO52.
35157         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35159 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35161         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35162         llroundl symbol when building for PPC32.
35164 2013-03-24  Mark H Weaver  <mhw@netris.org>
35166         * manual/arith.texi (Normalization Functions): Fix prototypes for
35167         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35169 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35171         [BZ #13889]
35172         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35173         high value to check if expl overflow.
35174         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35175         to check for underflow and overflow.
35176         * math/libm-test.inc: Add exp test.
35178 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35180         [BZ #11120]
35181         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35182         with NOT_IN_libc.
35184 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35186         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35187         symbol.
35189 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35191         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35192         wrap blocks consisting of several statements.
35194         * sysdeps/generic/math-tests.h: New file.
35195         * sysdeps/i386/fpu/math-tests.h: Likewise.
35196         * math/test-snan.c: Include it.
35197         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35199 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35201         [BZ #15285]
35202         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35203         (__ieee754_j0l): Do not improve calculations using cos of twice
35204         input for inputs above LDBL_MAX / 2.0L.
35205         (__ieee754_y0l): Likewise.
35206         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35207         (__ieee754_j1l): Do not improve calculations using cos of twice
35208         input for inputs above LDBL_MAX / 2.0L.
35209         (__ieee754_y1l): Likewise.
35210         * math/libm-test.inc (j0_test): Add another test.
35211         (j1_test): Likewise.
35212         (y0_test): Likewise.
35213         (y1_test): Likewise.
35214         * sysdeps/i386/fpu/libm-test-ulps: Update.
35216 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35218         * Rules ($(objpfx)bench-%.c): Include code from a C source
35219         file.
35221 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35223         [BZ #15287]
35224         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35225         imaginary part 1.0 and real part less than 0.5 specially.
35226         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35227         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35228         * math/libm-test.inc (cacos_test): Add more tests.
35229         (casin_test): Likewise.
35230         (casinh_test): Likewise.
35231         * sysdeps/i386/fpu/libm-test-ulps: Update.
35232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35234 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35236         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35237         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35239 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35241         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35242         * config.make.in (config-cflags-sse4): Remove variable.
35243         (config-cflags-avx): Likewise.
35244         (config-cflags-sse2avx): Likewise.
35245         (config-cflags-novzeroupper): Likewise.
35246         (config-asflags-i686): Likewise.
35247         (have-mfma4): Likewise.
35248         (have-as-vis3): Likewise.
35249         (MIG): Likewise.
35250         * configure.in (MIG): Do not AC_SUBST.
35251         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35252         (libc_cv_cc_sse4): Do not AC_SUBST.
35253         (libc_cv_cc_avx): Likewise.
35254         (libc_cv_cc_sse2avx): Likewise.
35255         (libc_cv_cc_novzeroupper): Likewise.
35256         (libc_cv_cc_fma4): Likewise.
35257         (libc_cv_as_i686): Likewise.
35258         (libc_cv_sparc_as_vis3): Likewise.
35259         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35260         LIBC_CONFIG_VAR.
35261         (config-asflags-i686): Likewise.
35262         (config-cflags-avx): Likewise.
35263         (config-cflags-sse2avx): Likewise.
35264         (have-mfma4): Likewise.
35265         (config-cflags-novzeroupper): Likewise.
35266         * sysdeps/mach/configure.in (MIG): Likewise.
35267         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35268         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35269         LIBC_CONFIG_VAR.
35270         (config-cflags-avx): Likewise.
35271         (config-cflags-sse2avx): Likewise.
35272         (have-mfma4): Likewise.
35273         (config-cflags-novzeroupper): Likewise.
35274         * configure: Regenerated.
35275         * sysdeps/i386/configure: Likewise.
35276         * sysdeps/mach/configure: Likewise.
35277         * sysdeps/sparc/configure: Likewise.
35278         * sysdeps/x86_64/configure: Likewise.
35280 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35282         [BZ #14812]
35283         * locale/programs/localedef.c (options): Put N_ translation marker
35284         on argument names, not just descriptions.
35286 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35288         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35290 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35292         [BZ #14176]
35293         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35295 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35297         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35298         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35299         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35300         [!BEFORE_ABORT] (before_abort): New function.
35301         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35302         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35303         (writev_for_fatal): New function.
35304         (WRITEV_FOR_FATAL): New macro; call that.
35305         (backtrace_and_maps): New function.
35306         (BEFORE_ABORT): New macro; call that.
35307         (struct str_list): Type removed.
35308         (__libc_message, __libc_fatal): Functions removed.
35309         Include <sysdeps/posix/libc_fatal.c> instead.
35311 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35313         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35314         constants.
35315         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35316         double constants.
35318 2013-03-19  Andreas Schwab  <schwab@suse.de>
35320         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35321         * sysdeps/gnu/configure: Regenerate.
35323         * configure.in: Substitute libc_cv_rtlddir.
35324         * configure: Regenerate.
35325         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35326         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35327         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35328         * elf/Makefile (install-others, CFLAGS-interp.c)
35329         (ldso_install, common-ldd-rewrite): Likewise.
35330         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35331         $(inst_slibdir)/$(rtld-installed-name).
35332         * scripts/rellns-sh: Add -p option.
35333         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35334         for source.
35336 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35338         * manual/nptl.texi: Renamed to ...
35339         * manual/threads.texi: ... this.
35340         * manual/Makefile (chapters): Update.
35342 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35344         [BZ #14812]
35345         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35346         on argument names, not just descriptions.
35347         * malloc/memusagestat.c (options): Likewise.
35348         * nss/getent.c (options): Likewise.
35350 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35352         [BZ #14812]
35353         * iconv/iconv_prog.c (options): Put N_ translation marker
35354         on argument names, not just descriptions.
35355         * iconv/iconvconfig.c (options): Likewise.
35357 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35359         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35360         implementation which is faster on all x86_64 architectures.
35361         Tested on AMD, Intel Nehalem, SNB, IVB.
35362         * sysdeps/x86_64/strnlen.S: Likewise.
35364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35365         Remove all multiarch strlen and strnlen versions.
35366         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35367         Remove strlen and strnlen related parts.
35369         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35370         Inline strlen part.
35371         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35373         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35374         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35375         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35376         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35377         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35378         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35380 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35382         * manual/memory.texi (Malloc Tunable Parameters):
35383         Sort parameters alphabetically. Add comments for missing entries.
35385 2013-03-17  David S. Miller  <davem@davemloft.net>
35387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35389 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35391         [BZ #15283]
35392         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35393         for arguments at most half maximum finite value.
35394         * math/libm-test.inc (j0_test): Add more tests.
35395         (j1_test): Likewise.
35396         (y0_test): Likewise.
35397         (y1_test): Likewise.
35398         * sysdeps/i386/fpu/libm-test-ulps: Update.
35399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35401         [BZ #14155]
35402         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35403         1 / x and functions P and Q for arguments above 0x1p256L.
35404         (__ieee754_y0l): Likewise.
35405         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35406         (__ieee754_y1l): Likewise.
35407         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35408         (j1_test): Likewise.
35409         (y0_test): Likewise.
35410         (y1_test): Likewise.
35412 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35414         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35415         variable.
35417 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35419         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35420         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35421         zero since it's initialized to EXEC_PAGESIZE.
35423         * sysdeps/unix/sysv/linux/ldsodefs.h
35424         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35425         * sysdeps/generic/ldsodefs.h: ... here.
35427 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35429         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35431         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35432         math/test-snan.c.
35433         * math/test-snan.c: Renamed from
35434         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35435         * math/Makefile (tests): Add test-snan.
35436         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35437         test-powerpc-snan.
35439         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35440         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35441         functions.
35442         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35443         __builtin_nan family of functions.
35444         * math/libm-test.inc (initialize): Initialize qnan_value with
35445         __builtin_nan family of functions.
35446         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35447         Remove variables.
35448         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35449         Remove functions.
35450         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35451         storage class.  Initialize qNaN_var and sNaN_var with
35452         __builtin_nan and __builtin_nans families of functions,
35453         respectively.
35455         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35456         (sqrt_test): Remove duplicate test with qNaN input.
35457         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35458         (round_test, signbit_test, significand_test): Note missing +/-Inf
35459         as well as qNaN tests.
35461         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35462         qNaN_var.  Fix a few strings, too.
35463         * math/libm-test.inc (nan_value): Rename to qnan_value.
35464         * math/gen-libm-test.pl (%beautify): Adjust to that.
35465         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35466         * math/test-misc.c (main): Likewise.
35467         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35468         to __qnan_bytes, and __qnan_union, respectively.
35469         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35470         Likewise.
35471         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35472         and lqnanval, respectively.
35473         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35474         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35475         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35476         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35478         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35479         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35480         doubles.
35482         * math/test-misc.c (main): Fix copy'n'pastos.
35483         * misc/tst-efgcvt.c (special): Likewise.
35485         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35486         Remove declarations.
35488 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35490         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35491         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35492         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35493         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35495 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35497         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35498         macro to return vdso values correctly in IFUNC implementations.
35499         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35500         Optimization by using IFUNC.
35502 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35503             Richard Henderson  <rth@redhat.com>
35504             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35506         * Makefile.in (bench): New target.
35507         * NEWS: Mention the benchmark framework.
35508         * Rules (bench): Likewise.
35509         (binaries-bench): Generate binaries for functions to
35510         benchmark.
35511         * benchtests/Makefile: New makefile for benchmark tests.
35512         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35513         programs.
35514         * benchtests/exp-inputs: New input file for EXP function.
35515         * benchtests/pow-inputs: New input file for POW function.
35516         * scripts/bench.pl: New script to generate source files for
35517         benchmark programs.
35519 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35521         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35522         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35523         computations on mantissa.  Use macros for rounding and
35524         division.
35525         (denorm): Likewise.
35526         (__dbl_mp): Likewise.
35527         (add_magnitudes): Likewise.
35528         (sub_magnitudes): Likewise.
35529         (__mul): Likewise.
35530         (__sqr): Likewise.
35531         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35532         powers of two in terms of TWOPOW macro.
35533         (mp_no): Make type of mantissa as MANTISSA_T.
35534         [!RADIXI]: Define RADIXI.
35535         [!TWO52]: Define TWO52.
35536         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35538         * manual/nptl.texi (cindex): Modify threads to pthreads.
35540 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35542         * sysdeps/x86_64/preconfigure: Regenerated.
35544 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35546         [BZ #14155]
35547         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35548         0x1p28 and above.
35549         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35550         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35551         0x1p28 and above.
35552         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35553         * math/libm-test.inc (j0_test): Do not allow one spurious
35554         underflow exception.
35555         (y1_test): Likewise.
35557 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35559         * manual/Makefile (chapters): Add nptl.
35560         * manual/debug.texi (Debugging Support): Add link to Threads
35561         chapter.
35562         * manual/nptl.texi: New file.
35564         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35566 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35568         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35569         for non-NULL pointer before the memory validity test. Pointed
35570         out by Holger Brunck <holger.brunck@keymile.com>.
35572 2013-03-13  Andreas Schwab  <schwab@suse.de>
35574         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35575         instead of .os.
35577 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35579         * timezone/zic.c: Update from tzcode 2013b.
35581 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35583         * manual/install.texi (Configuring and compiling):
35584         Mention i686 and i586.
35585         * INSTALL: Regenerate.
35587 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35589         * sysdeps/init_array/elf-init.c: New file.
35590         * csu/elf-init.c
35591         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35592         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35594         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35595         __gmon_start__ as global, but as static with a .preinit_array pointer.
35596         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35597         * sysdeps/init_array/crti.S: New file, empty except for comments.
35598         * sysdeps/init_array/crtn.S: Likewise.
35600 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35602         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35603         definining bcopy.
35604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35605         Remove Prefer_SSE_for_memop.
35606         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35607         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35608         HAS_PREFER_SSE_FOR_MEMOP.
35609         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35610         memset-x86-64.
35611         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35612         Remove bzero, memset ifunc support.
35613         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35614         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35615         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35616         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35618 2013-03-11  Andreas Schwab  <schwab@suse.de>
35620         [BZ #15234]
35621         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35622         by SHLIB_COMPAT.
35623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35624         (GLIBC_2.16): Remove pthread_atfork.
35626 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35628         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35629         (ptestcases.h): Likewise.
35631 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35633         * Makeconfig ($(common-objpfx)config.status): Depend on
35634         sysdeps/*/preconfigure{,.in} too.
35636 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35638         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35639         (__free_hook): Use void * instead of __malloc_ptr_t.
35640         (__malloc_hook): Likewise.
35641         (__realloc_hook): Likewise.
35642         (__memalign_hook): Likewise.
35643         (__after_morecore_hook): Likewise.
35644         * malloc/arena.c (save_malloc_hook): Likewise.
35645         (save_free_hook): Likewise.
35646         * malloc/hooks.c (malloc_hook_ini): Likewise.
35647         (realloc_hook_ini): Likewise.
35648         (memalign_hook_ini): Likewise.
35649         * malloc/malloc.c (malloc_hook_ini): Likewise.
35650         (realloc_hook_ini): Likewise.
35651         (memalign_hook_ini): Likewise.
35652         (__free_hook): Likewise.
35653         (__malloc_hook): Likewise.
35654         (__realloc_hook): Likewise.
35655         (__memalign_hook): Likewise.
35656         (__libc_malloc): Likewise.
35657         (__libc_free): Likewise.
35658         (__libc_realloc): Likewise.
35659         (__libc_memalign): Likewise.
35660         (__libc_valloc): Likewise.
35661         (__libc_pvalloc): Likewise.
35662         (__libc_calloc): Likewise.
35663         (__posix_memalign): Likewise.
35664         * malloc/morecore.c (__sbrk): Likewise.
35665         (__default_morecore): Likewise.
35667         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35669         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35670         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35671         __malloc_ptrdiff_t.
35673         * malloc/malloc.h (__malloc_size_t): Remove macro.
35674         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35675         __malloc_size_t.
35676         (old_memalign_hook): Likewise.
35677         (old_realloc_hook): Likewise.
35678         (struct hdr): Likewise.
35679         (flood): Likewise.
35680         (mallochook): Likewise.
35681         (memalignhook): Likewise.
35682         (reallochook): Likewise.
35683         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35684         (tr_old_realloc_hook): Likewise.
35685         (tr_old_memalign_hook): Likewise.
35686         (tr_mallochook): Likewise.
35687         (tr_reallochook): Likewise.
35688         (tr_memalignhook): Likewise.
35690 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35692         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35693         default_ldbl_pack and using as default implementation.
35694         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35695         implementation.
35696         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35697         redundant definition.
35698         (ldbl_insert_mantissa): Likewise.
35699         (ldbl_canonicalize): Likewise.
35700         (ldbl_nearbyint): Likewise.
35701         (ldbl_pack): Rename to ldbl_pack_ppc.
35702         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35703         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35704         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35706 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35709         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35710         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35711         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35712         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35713         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35714         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35715         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35717 2013-03-07  Andreas Jaeger  <aj@suse.de>
35719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35720         bits/mman-linux.h.
35722 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35724         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35725         Include mpa.h and declare __MPEXP.
35726         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35727         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35728         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35729         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35730         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35731         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35732         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35734         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35735         (__slowpow): Use long double EXPL and LOGL functions to
35736         compute POW.
35737         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35738         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35739         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35740         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35741         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35742         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35745         intermediate variable to calculate exponent.
35746         (__sqr): Likewise.
35747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35748         Likewise.
35749         (__sqr): Likewise.
35751         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35752         [!NO__SQR]: Define __sqr.
35753         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35754         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35755         sysdeps/ieee754/dbl-64/mpa.c.
35756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35758         [BZ #12723]
35759         * posix/Makefile (tests): Add tst-pathconf.
35760         * posix/tst-pathconf.c: New test case.
35761         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35762         _PC_PIPE_BUF.
35763         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35765 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35767         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35769 2013-03-06  Andreas Jaeger  <aj@suse.de>
35771         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35772         definition via __MAP_ANONYMOUS.
35774         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35775         it's not part of Linux headers.
35777         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35778         (MAP_HUGE_MASK): Define.
35780         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35781         Define.
35782         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35783         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35784         Define.
35785         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35786         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35787         Define.
35788         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35789         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35790         Define.
35791         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35793         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35794         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35795         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35796         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35797         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35798         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35800         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35801         Handle f2fs.
35803         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35804         Handle f2fs and efivarfs.
35806         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35807         f2fs.
35809         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35810         (EFIVARFS_MAGIC): Add.
35811         (F2FS_LINK_MAX): Add.
35813 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35815         * stdio-common/vfprintf.c: Replace __builtin_expect with
35816         __glibc_unlikely.
35818 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35820         [BZ #13550]
35821         * sysdeps/generic/bp-sym.h: Remove file.
35822         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35823         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35824         <bp-sym.h> and <bp-asm.h>.
35825         (__longjmp): Don't use BP_SYM.
35826         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35827         and <bp-asm.h>.
35828         (memcpy): Don't use BP_SYM.
35829         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35830         <bp-sym.h> and <bp-asm.h>.
35831         (memcpy): Don't use BP_SYM.
35832         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35833         <bp-asm.h>.
35834         (memcpy): Don't use BP_SYM.
35835         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35836         <bp-asm.h>.
35837         (memset): Don't use BP_SYM.
35838         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35839         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35840         (__bzero): Don't use BP_SYM.
35841         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35842         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35843         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35844         <bp-sym.h> and <bp-asm.h>.
35845         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35846         pointers.
35847         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35848         <bp-sym.h> and <bp-asm.h>.
35849         (memcpy): Don't use BP_SYM.
35850         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35851         <bp-sym.h> and <bp-asm.h>.
35852         (memset): Don't use BP_SYM.
35853         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35854         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35855         (__bzero): Don't use BP_SYM.
35856         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35857         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35858         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35859         <bp-sym.h> and <bp-asm.h>.
35860         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35861         pointers.
35862         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35863         <bp-sym.h> and <bp-asm.h>.
35864         (memcpy): Don't use BP_SYM.
35865         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35866         <bp-sym.h> and <bp-asm.h>.
35867         (memset): Don't use BP_SYM.
35868         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35869         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35870         (__bzero): Don't use BP_SYM.
35871         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35872         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35873         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35874         <bp-sym.h> and <bp-asm.h>.
35875         (__memchr): Don't use BP_SYM.
35876         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35877         <bp-sym.h> and <bp-asm.h>.
35878         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35879         pointers.
35880         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35881         <bp-sym.h> and <bp-asm.h>.
35882         (memcpy): Don't use BP_SYM.
35883         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35884         <bp-sym.h> and <bp-asm.h>.
35885         (__mempcpy): Don't use BP_SYM.
35886         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35887         <bp-sym.h> and <bp-asm.h>.
35888         (__memrchr): Don't use BP_SYM.
35889         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35890         <bp-sym.h> and <bp-asm.h>.
35891         (memset): Don't use BP_SYM.
35892         (__bzero): Likewise.
35893         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35894         <bp-sym.h> and <bp-asm.h>.
35895         (__rawmemchr): Don't use BP_SYM.
35896         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35897         <bp-sym.h> and <bp-asm.h>.
35898         (__STRCMP): Don't use BP_SYM.
35899         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35900         <bp-sym.h> and <bp-asm.h>.
35901         (strchr): Don't use BP_SYM.
35902         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35903         <bp-sym.h> and <bp-asm.h>.
35904         (__strchrnul): Don't use BP_SYM.
35905         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35906         <bp-sym.h> and <bp-asm.h>.
35907         (strlen): Don't use BP_SYM.
35908         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35909         <bp-sym.h> and <bp-asm.h>.
35910         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35911         pointers.
35912         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35913         <bp-sym.h> and <bp-asm.h>.
35914         (__strnlen): Don't use BP_SYM.
35915         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35916         <bp-sym.h> and <bp-asm.h>.
35917         (__GI__setjmp): Don't use BP_SYM.
35918         (_setjmp): Likewise.
35919         (__sigsetjmp): Likewise.
35920         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35921         (L(start_addresses)): Don't use BP_SYM.
35922         (_start): Likewise.
35923         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35924         <bp-asm.h>.
35925         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35926         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35927         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35928         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35929         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35930         <bp-asm.h>.
35931         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35932         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35933         about bounded pointers.
35934         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35935         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35936         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35937         <bp-asm.h>.
35938         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35939         about bounded pointers.  Remove GKM FIXME comments.
35940         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35941         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35942         <bp-asm.h>.
35943         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35944         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35945         Remove GKM FIXME comments.
35946         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35947         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35948         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35949         <bp-asm.h>.
35950         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35951         about bounded pointers.  Remove GKM FIXME comment.
35952         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35953         and <bp-asm.h>.
35954         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35955         pointers.
35956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35957         <bp-sym.h> and <bp-asm.h>.
35958         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35960         <bp-sym.h> and <bp-asm.h>.
35961         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35962         comment.
35964 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35966         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35967         call free(NULL).
35969 2013-03-05  David S. Miller  <davem@davemloft.net>
35971         * po/es.po: Update from translation team.
35973 2013-03-05  Andreas Jaeger  <aj@suse.de>
35975         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35976         <bits/mman-linux.h>.
35977         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35978         is fine.
35979         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35980         <bits/mman-linux.h> to end of file.
35981         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35982         is fine.
35983         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35984         <bits/mman-linux.h> to end of file.
35985         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35986         is fine.
35987         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35988         <bits/mman-linux.h> to end of file.
35990         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35991         (MCL_CURRENT, MCL_FUTURE): Define here.
35993 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35995         [BZ #15232]
35996         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35997         attribute_hidden.
35998         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36000 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36002         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36003         fourth parameter needed for rt_sigprocmask syscall.
36004         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36005         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36006         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36007         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36008         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36009         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36011 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36013         [BZ #13550]
36014         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36015         comment about bounded pointers.
36016         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36017         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36019 2013-03-04  Andreas Jaeger  <aj@suse.de>
36021         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36022         common definitions.
36024         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36025         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36026         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36027         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36028         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36029         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36031 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36033         [BZ #15055]
36034         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36035         __ieee754_sqrl instead of __sqrl.
36037 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36039         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36040         * sysdeps/powerpc/fpu_control.h: ... here.
36041         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36042         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36043         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36044         * sysdeps/powerpc/bits/mathinline.h: ... here.
36046 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36048         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36049         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36050         to just [NEED_DL_SYSINFO_DSO].
36051         * elf/dl-support.c: Likewise.
36052         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36053         * elf/rtld.c (dl_main): Likewise.
36054         * elf/setup-vdso.h (setup_vdso): Likewise.
36055         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36056         * sysdeps/unix/sysv/linux/dl-sysdep.c
36057         (_dl_discover_osversion): Likewise.
36059 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36061         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36062         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36064 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36066         * NEWS: Mention libm performance improvements and non-x86 PI
36067         futex support.
36069         * csu/libc-start.c (__pthread_initialize_minimal): Change
36070         function arguments.
36071         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36073 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36075         [BZ #13550]
36076         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36077         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36078         <bp-sym.h> and <bp-asm.h>.
36079         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36080         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36081         and <bp-asm.h>.
36082         (memcpy): Don't use BP_SYM.
36083         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36084         <bp-asm.h>.
36085         (__mpn_add_n): Don't use BP_SYM.
36086         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36087         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36088         and <bp-asm.h>.
36089         (__mpn_addmul_1): Don't use BP_SYM.
36090         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36091         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36092         <bp-sym.h>.
36093         (_setjmp): Don't use BP_SYM.
36094         (__novmx_setjmp): Likewise.
36095         (__GI__setjmp): Likewise.
36096         (__vmx_setjmp): Likewise.
36097         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36098         <bp-sym.h>.
36099         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36100         (__bzero): Don't use BP_SYM.
36101         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36102         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36103         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36104         <bp-sym.h> and <bp-asm.h>.
36105         (memcpy): Don't use BP_SYM.
36106         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36107         <bp-sym.h> and <bp-asm.h>.
36108         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36109         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36110         <bp-sym.h> and <bp-asm.h>.
36111         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36112         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36113         <bp-asm.h>.
36114         (__mpn_lshift): Don't use BP_SYM.
36115         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36116         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36117         <bp-asm.h>.
36118         (memset): Don't use BP_SYM.
36119         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36120         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36121         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36122         <bp-asm.h>.
36123         (__mpn_mul_1): Don't use BP_SYM.
36124         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36125         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36126         <bp-sym.h> and <bp-asm.h>.
36127         (memcmp): Don't use BP_SYM.
36128         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36129         <bp-sym.h> and <bp-asm.h>.
36130         (memcpy): Don't use BP_SYM.
36131         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36132         <bp-sym.h> and <bp-asm.h>.
36133         (memset): Don't use BP_SYM.
36134         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36135         <bp-sym.h> and <bp-asm.h>.
36136         (strncmp): Don't use BP_SYM.
36137         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36138         <bp-sym.h> and <bp-asm.h>.
36139         (memcpy): Don't use BP_SYM.
36140         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36141         <bp-sym.h> and <bp-asm.h>.
36142         (memset): Don't use BP_SYM.
36143         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36144         <bp-sym.h> and <bp-asm.h>.
36145         (__memchr): Don't use BP_SYM.
36146         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36147         <bp-sym.h> and <bp-asm.h>.
36148         (memcmp): Don't use BP_SYM.
36149         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36150         <bp-sym.h> and <bp-asm.h>.
36151         (memcpy): Don't use BP_SYM.
36152         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36153         <bp-sym.h> and <bp-asm.h>.
36154         (__mempcpy): Don't use BP_SYM.
36155         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36156         <bp-sym.h> and <bp-asm.h>.
36157         (__memrchr): Don't use BP_SYM.
36158         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36159         <bp-sym.h> and <bp-asm.h>.
36160         (memset): Don't use BP_SYM.
36161         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36162         <bp-sym.h> and <bp-asm.h>.
36163         (__rawmemchr): Don't use BP_SYM.
36164         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36165         <bp-sym.h> and <bp-asm.h>.
36166         (__STRCMP): Don't use BP_SYM.
36167         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36168         <bp-sym.h> and <bp-asm.h>.
36169         (strchr): Don't use BP_SYM.
36170         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36171         <bp-sym.h> and <bp-asm.h>.
36172         (__strchrnul): Don't use BP_SYM.
36173         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36174         <bp-sym.h> and <bp-asm.h>.
36175         (strlen): Don't use BP_SYM.
36176         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36177         <bp-sym.h> and <bp-asm.h>.
36178         (strncmp): Don't use BP_SYM.
36179         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36180         <bp-sym.h> and <bp-asm.h>.
36181         (__strnlen): Don't use BP_SYM.
36182         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36183         <bp-asm.h>.
36184         (__mpn_rshift): Don't use BP_SYM.
36185         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36186         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36187         <bp-sym.h> and <bp-asm.h>.
36188         (__sigsetjmp): Don't use BP_SYM.
36189         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36190         (L(start_addresses)): Don't use BP_SYM.
36191         (_start): Likewise.
36192         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36193         <bp-asm.h>.
36194         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36195         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36196         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36197         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36198         <bp-asm.h>.
36199         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36200         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36201         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36202         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36203         <bp-asm.h>.
36204         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36205         comments.
36206         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36207         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36208         <bp-asm.h>.
36209         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36210         FIXME comments.
36211         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36212         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36213         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36214         <bp-asm.h>.
36215         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36216         comment.
36217         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36218         and <bp-asm.h>.
36219         (strncmp): Don't use BP_SYM,
36220         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36221         <bp-asm.h>.
36222         (__mpn_sub_n): Don't use BP_SYM.
36223         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36224         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36225         and <bp-asm.h>.
36226         (__mpn_submul_1): Don't use BP_SYM.
36227         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36229         <bp-sym.h> and <bp-asm.h>.
36230         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36232         <bp-sym.h> and <bp-asm.h>.
36233         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36234         comment.
36236 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36239         Use ZK to minimize writes to Z.
36240         (sub_magnitudes): Simplify code a bit.
36241         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36242         Use ZK to minimize writes to Z.
36243         (sub_magnitudes): Simplify code a bit.
36245 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36247         * csu/gmon-start.c: Add special exception to license text.
36249 2013-02-27  Richard Henderson  <rth@redhat.com>
36251         * scripts/config.guess: Update from config.git.
36252         * scripts/config.sub: Likewise.
36254 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36256         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36258         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36260         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36262         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36264         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36266 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36268         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36269         [$(build-shared = yes].
36271 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36273         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36274         (__mul): Reduce iterations for calculating mantissa.
36276         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36277         MPTWO.
36278         (__mpranred): Likewise.
36280         [BZ #15160]
36281         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36282         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36284 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36286         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36287         Define __attribute__.
36289 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36291         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36292         unused.
36293         * posix/regex_internal.h (__attribute): Remove.
36294         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36295         (re_string_context_at): Likewise.
36296         (bitset_not): Use __attribute__ and mark function as possibly
36297         unused.
36298         (bitset_merge): Likewise.
36299         (bitset_mask): Likewise.
36300         (re_string_char_size_at): Likewise.
36301         (re_string_wchar_at): Likewise.
36302         (re_string_elem_size_at): Likewise.
36304 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36306         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36307         code.
36308         (cc32): Likewise.
36310         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36311         (__acr): Likewise.
36312         (__cpy): Likewise.
36313         (norm): Likewise.
36314         (denorm): Likewise.
36315         (__dbl_mp): Likewise.
36316         (add_magnitudes): Likewise.
36317         (sub_magnitudes): Likewise.
36318         (__mul): Likewise.
36319         (__inv): Likewise.
36321         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36322         style.
36324         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36325         style.
36327         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36328         code.
36330         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36331         up changes with default code.
36332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36333         Likewise.
36335 2013-02-24  Allan McRae  <allan@archlinux.org>
36337         * manual/socket.texi (The Internet Namespace): Order menu items
36338         to match that in the file.
36340         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36341         node listing of the info page menu.
36343 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36345         [BZ #13550]
36346         * sysdeps/i386/bp-asm.h: Remove file.
36347         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36348         (PARMS): Do not use macros from bp-asm.h.
36349         (S1): Likewise.
36350         (S2): Likewise.
36351         (SIZE): Likewise.
36352         (__mpn_add_n): Do not use BP_SYM
36353         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36354         "bp-asm.h".
36355         (PARMS): Do not use macros from bp-asm.h.
36356         (S1): Likewise.
36357         (SIZE): Likewise.
36358         (__mpn_addmul_1): Do not use BP_SYM
36359         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36360         "bp-asm.h".
36361         (PARMS): Do not use macros from bp-asm.h.
36362         (SIGMSK): Likewise.
36363         (_setjmp): Likewise.  Do not use BP_SYM.
36364         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36365         "bp-asm.h".
36366         (PARMS): Do not use macros from bp-asm.h.
36367         (SIGMSK): Likewise.
36368         (setjmp): Likewise.  Do not use BP_SYM.
36369         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36370         "bp-asm.h".
36371         (PARMS): Do not use macros from bp-asm.h.
36372         (__frexp): Do not use BP_SYM.
36373         (frexp): Likewise.
36374         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36375         "bp-asm.h".
36376         (PARMS): Do not use macros from bp-asm.h.
36377         (__frexpf): Do not use BP_SYM.
36378         (frexpf): Likewise.
36379         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36380         "bp-asm.h".
36381         (PARMS): Do not use macros from bp-asm.h.
36382         (__frexpl): Do not use BP_SYM.
36383         (frexpl): Likewise.
36384         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36385         "bp-asm.h".
36386         (PARMS): Do not use macros from bp-asm.h.
36387         (__remquo): Do not use BP_SYM.
36388         (remquo): Likewise.
36389         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36390         "bp-asm.h".
36391         (PARMS): Do not use macros from bp-asm.h.
36392         (__remquof): Do not use BP_SYM.
36393         (remquof): Likewise.
36394         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36395         "bp-asm.h".
36396         (PARMS): Do not use macros from bp-asm.h.
36397         (__remquol): Do not use BP_SYM.
36398         (remquol): Likewise.
36399         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36400         "bp-asm.h".
36401         (PARMS): Do not use macros from bp-asm.h.
36402         (DEST): Likewise.
36403         (SRC): Likewise.
36404         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36405         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36406         "bp-asm.h".
36407         (PARMS): Do not use macros from bp-asm.h.
36408         (strlen): Do not use BP_SYM.
36409         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36410         "bp-asm.h".
36411         (PARMS): Do not use macros from bp-asm.h.
36412         (S1): Likewise.
36413         (S2): Likewise.
36414         (SIZE): Likewise.
36415         (__mpn_add_n): Do not use BP_SYM.
36416         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36417         "bp-asm.h".
36418         (PARMS): Do not use macros from bp-asm.h.
36419         (S1): Likewise.
36420         (SIZE): Likewise.
36421         (__mpn_addmul_1): Do not use BP_SYM.
36422         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36423         weak_alias.
36424         (bzero): Likewise.
36425         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36426         "bp-asm.h".
36427         (PARMS): Do not use macros from bp-asm.h.
36428         (S): Likewise.
36429         (SIZE): Likewise.
36430         (__mpn_lshift): Do not use BP_SYM.
36431         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36432         "bp-asm.h".
36433         (PARMS): Do not use macros from bp-asm.h.
36434         (DEST): Likewise.
36435         (SRC): Likewise.
36436         (LEN): Likewise.
36437         (memcpy): Likewise.  Do not use BP_SYM.
36438         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36439         libc_hidden_def and weak_alias.
36440         (mempcpy): Do not use BP_SYM in weak_alias.
36441         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36442         "bp-asm.h".
36443         (PARMS): Do not use macros from bp-asm.h.
36444         (DEST): Likewise.
36445         (LEN): Likewise.
36446         [!BZERO_P] (CHR): Likewise.
36447         (memset): Likewise.  Do not use BP_SYM.
36448         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36449         "bp-asm.h".
36450         (PARMS): Do not use macros from bp-asm.h.
36451         (S1): Likewise.
36452         (SIZE): Likewise.
36453         (__mpn_mul_1): Do not use BP_SYM.
36454         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36455         "bp-asm.h".
36456         (PARMS): Do not use macros from bp-asm.h.
36457         (S): Likewise.
36458         (SIZE): Likewise.
36459         (__mpn_rshift): Do not use BP_SYM.
36460         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36461         "bp-asm.h".
36462         (PARMS): Do not use macros from bp-asm.h.
36463         (STR): Likewise.
36464         (CHR): Likewise.
36465         (strchr): Likewise.  Do not use BP_SYM.
36466         (index): Do not use BP_SYM in weak_alias.
36467         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36468         "bp-asm.h".
36469         (PARMS): Do not use macros from bp-asm.h.
36470         (DEST): Likewise.
36471         (SRC): Likewise.
36472         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36473         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36474         "bp-asm.h".
36475         (PARMS): Do not use macros from bp-asm.h.
36476         (strlen): Do not use BP_SYM.
36477         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36478         "bp-asm.h".
36479         (PARMS): Do not use macros from bp-asm.h.
36480         (S1): Likewise.
36481         (S2): Likewise.
36482         (SIZE): Likewise.
36483         (__mpn_sub_n): Do not use BP_SYM.
36484         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36485         "bp-asm.h".
36486         (PARMS): Do not use macros from bp-asm.h.
36487         (S1): Likewise.
36488         (SIZE): Likewise.
36489         (__mpn_submul_1): Do not use BP_SYM.
36490         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36491         "bp-asm.h".
36492         (PARMS): Do not use macros from bp-asm.h.
36493         (S1): Likewise.
36494         (S2): Likewise.
36495         (SIZE): Likewise.
36496         (__mpn_add_n): Do not use BP_SYM.
36497         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36498         weak_alias.
36499         (bzero): Likewise.
36500         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36501         "bp-asm.h".
36502         (PARMS): Do not use macros from bp-asm.h.
36503         (BLK2): Likewise.
36504         (LEN): Likewise.
36505         (memcmp): Do not use BP_SYM.
36506         (bcmp): Do not use BP_SYM in weak_alias.
36507         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36508         "bp-asm.h".
36509         (PARMS): Do not use macros from bp-asm.h.
36510         (DEST): Likewise.
36511         (SRC): Likewise.
36512         (LEN): Likewise.
36513         (memcpy): Likewise.  Do not use BP_SYM.
36514         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36515         "bp-asm.h".
36516         (PARMS): Do not use macros from bp-asm.h.
36517         (DEST): Likewise.
36518         (SRC): Likewise.
36519         (LEN): Likewise.
36520         (memmove): Likewise.  Do not use BP_SYM.
36521         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36522         "bp-asm.h".
36523         (PARMS): Do not use macros from bp-asm.h.
36524         (DEST): Likewise.
36525         (SRC): Likewise.
36526         (LEN): Likewise.
36527         (__mempcpy): Likewise.  Do not use BP_SYM.
36528         (mempcpy): Do not use BP_SYM in weak_alias.
36529         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36530         "bp-asm.h".
36531         (PARMS): Do not use macros from bp-asm.h.
36532         (DEST): Likewise.
36533         (LEN): Likewise.
36534         [!BZERO_P] (CHR): Likewise.
36535         (memset): Likewise.  Do not use BP_SYM.
36536         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36537         "bp-asm.h".
36538         (PARMS): Do not use macros from bp-asm.h.
36539         (STR2): Likewise.
36540         (strcmp): Do not use BP_SYM.
36541         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36542         "bp-asm.h".
36543         (PARMS): Do not use macros from bp-asm.h.
36544         (STR): Likewise.
36545         (DELIM): Likewise.
36546         [USE_AS_STRTOK_R] (SAVE): Likewise.
36547         (FUNCTION): Likewise.  Do not use BP_SYM.
36548         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36549         aliases.
36550         (strtok_r): Likewise.
36551         (__GI___strtok_r): Likewise.
36552         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36553         (PARMS): Do not use macros from bp-asm.h.
36554         (S): Likewise.
36555         (SIZE): Likewise.
36556         (__mpn_lshift): Do not use BP_SYM.
36557         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36558         (PARMS): Do not use macros from bp-asm.h.
36559         (STR): Likewise.
36560         (CHR): Likewise.
36561         (__memchr): Do not use BP_SYM.
36562         (memchr): Do not use BP_SYM in weak_alias.
36563         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36564         (PARMS): Do not use macros from bp-asm.h.
36565         (BLK2): Likewise.
36566         (LEN): Likewise.
36567         (memcmp): Do not use BP_SYM.
36568         (bcmp): Do not use BP_SYM in weak_alias.
36569         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36570         (PARMS): Do not use macros from bp-asm.h.
36571         (S1): Likewise.
36572         (SIZE): Likewise.
36573         (__mpn_mul_1): Do not use BP_SYM.
36574         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36575         "bp-asm.h".
36576         (PARMS): Do not use macros from bp-asm.h.
36577         (STR): Likewise.
36578         (CHR): Likewise.
36579         (__rawmemchr): Do not use BP_SYM.
36580         (rawmemchr): Do not use BP_SYM in weak_alias.
36581         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36582         (PARMS): Do not use macros from bp-asm.h.
36583         (S): Likewise.
36584         (SIZE): Likewise.
36585         (__mpn_rshift): Do not use BP_SYM.
36586         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36587         (PARMS): Do not use macros from bp-asm.h.
36588         (SIGMSK): Likewise.
36589         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36590         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36591         (_start): Do not use BP_SYM.
36592         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36593         (PARMS): Do not use macros from bp-asm.h.
36594         (DEST): Likewise.
36595         (SRC): Likewise.
36596         (__stpcpy): Likewise.  Do not use BP_SYM.
36597         (stpcpy): Do not use BP_SYM in weak_alias.
36598         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36599         "bp-asm.h".
36600         (PARMS): Do not use macros from bp-asm.h.
36601         (DEST): Likewise.
36602         (SRC): Likewise.
36603         (LEN): Likewise.
36604         (__stpncpy): Likewise.  Do not use BP_SYM.
36605         (stpncpy): Do not use BP_SYM in weak_alias.
36606         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36607         (PARMS): Do not use macros from bp-asm.h.
36608         (STR): Likewise.
36609         (CHR): Likewise.
36610         (strchr): Likewise.  Do not use BP_SYM.
36611         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36612         "bp-asm.h".
36613         (PARMS): Do not use macros from bp-asm.h.
36614         (STR): Likewise.
36615         (CHR): Likewise.
36616         (__strchrnul): Likewise.  Do not use BP_SYM.
36617         (strchrnul): Do not use BP_SYM in weak_alias.
36618         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36619         "bp-asm.h".
36620         (PARMS): Do not use macros from bp-asm.h.
36621         (STOP): Likewise.
36622         (strcspn): Do not use BP_SYM.
36623         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36624         "bp-asm.h".
36625         (PARMS): Do not use macros from bp-asm.h.
36626         (STR): Likewise.
36627         (STOP): Likewise.
36628         (strpbrk): Likewise.  Do not use BP_SYM.
36629         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36630         "bp-asm.h".
36631         (PARMS): Do not use macros from bp-asm.h.
36632         (STR): Likewise.
36633         (CHR): Likewise.
36634         (strrchr): Likewise.  Do not use BP_SYM.
36635         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36636         (PARMS): Do not use macros from bp-asm.h.
36637         (SKIP): Likewise.
36638         (strspn): Do not use BP_SYM.
36639         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36640         (PARMS): Do not use macros from bp-asm.h.
36641         (STR): Likewise.
36642         (DELIM): Likewise.
36643         (SAVE): Likewise.
36644         (FUNCTION): Likewise.  Do not use BP_SYM.
36645         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36646         aliases.
36647         (strtok_r): Likewise.
36648         (__GI___strtok_r): Likewise.
36649         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36650         (PARMS): Do not use macros from bp-asm.h.
36651         (S1): Likewise.
36652         (S2): Likewise.
36653         (SIZE): Likewise.
36654         (__mpn_sub_n): Do not use BP_SYM.
36655         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36656         "bp-asm.h".
36657         (PARMS): Do not use macros from bp-asm.h.
36658         (S1): Likewise.
36659         (SIZE): Likewise.
36660         (__mpn_submul_1): Do not use BP_SYM.
36661         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36662         <bp-sym.h>.
36663         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36664         and <bp-asm.h>.
36665         (PARMS): Do not use macros from bp-asm.h.
36666         (FLAGS): Likewise.
36667         (PTID): Likewise.
36668         (TLS): Likewise.
36669         (CTID): Likewise.
36670         (__clone): Do not use BP_SYM.
36671         (clone): Do not use BP_SYM in weak_alias.
36672         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36673         and <bp-asm.h>.
36674         (PARMS): Do not use macros from bp-asm.h.
36675         (LEN): Likewise.
36676         (__mmap64): Do not use BP_SYM.
36677         (mmap64): Do not use BP_SYM in weak_alias.
36678         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36679         <bp-sym.h> and <bp-asm.h>.
36680         (PARMS): Do not use macros from bp-asm.h.
36681         (__posix_fadvise64_l64): Do not use BP_SYM.
36682         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36683         (PARMS): Do not use macros from bp-asm.h.
36684         (NSOPS): Likewise.
36685         (semtimedop): Do not use BP_SYM.
36686         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36687         and <bp-asm.h>.
36689 2013-02-21  Allan McRae  <allan@archlinux.org>
36691         * manual/message.texi (Charset conversion in gettext):
36692         Move @end statement to beginning of line.
36694 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36696         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36697         static.
36698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36699         Likewise.
36701         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36702         (denorm): Likewise.
36703         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36704         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36706 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36708         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36709         tail-call to the resolved function if pltexit isn't needed.
36711 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36713         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36714         or Y being zero as being unlikely.
36715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36716         Likewise.
36718 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36720         * manual/nss.texi (System Databases and Name Service Switch):
36721         Remove frobnicate @pxref.
36723 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36725         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36726         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36728 2013-02-20  Petr Machata  <pmachata@redhat.com>
36730         * elf/elf.h (R_ARM_TARGET1): New macro.
36731         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36732         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36733         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36734         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36735         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36736         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36737         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36738         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36739         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36740         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36741         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36742         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36743         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36744         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36745         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36746         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36747         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36748         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36749         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36750         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36751         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36752         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36753         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36754         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36755         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36756         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36757         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36758         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36759         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36760         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36761         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36762         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36763         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36764         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36765         (R_ARM_THM_GOT_BREL12): Likewise.
36766         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36767         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36768         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36769         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36770         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36771         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36772         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36773         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36774         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36776 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36778         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36779         __attribute_used__ to __attribute__ ((unused)).
36781 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36783         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36784         powerpc mpa.c.
36785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36786         comment formatting.
36787         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36789 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36791         [BZ #13550]
36792         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36793         Remove macro.
36794         (ENTER): Remove both macro definitions.
36795         (LEAVE): Likewise.
36796         (CHECK_BOUNDS_LOW): Likewise.
36797         (CHECK_BOUNDS_HIGH): Likewise.
36798         (CHECK_BOUNDS_BOTH): Likewise.
36799         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36800         (RETURN_BOUNDED_POINTER): Likewise.
36801         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36802         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36803         (POP_ERRNO_LOCATION_RETURN): Likewise.
36804         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36805         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36806         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36807         macros.
36808         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36809         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36810         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36811         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36812         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36813         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36814         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36815         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36816         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36817         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36818         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36819         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36820         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36821         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36822         removed macros.
36823         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36824         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36825         macros.
36826         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36827         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36828         * sysdeps/i386/i586/memset.S (memset): Likewise.
36829         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36830         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36831         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36832         macros.
36833         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36834         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36835         Change uses of L(2) to L(out).
36836         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36837         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36838         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36839         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36840         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36841         removed macros.
36842         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36843         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36844         macros.
36845         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36846         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36847         (RETURN): Do not use macro LEAVE.
36848         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36849         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36850         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36851         * sysdeps/i386/i686/memset.S (memset): Likewise.
36852         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36853         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36854         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36855         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36856         Likewise.
36857         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36858         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36859         L(1_2) and L(1_3) into L(1).
36860         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36861         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36862         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36863         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36864         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36865         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36866         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36867         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36868         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36869         macros.
36870         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36871         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36872         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36873         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36874         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36875         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36876         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36877         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36878         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36879         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36880         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36881         * sysdeps/i386/strspn.S (strspn): Likewise.
36882         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36883         conditional code.
36884         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36885         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36886         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36887         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36888         L(1_3) into L(1_1).
36889         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36890         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36891         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36892         macros.
36893         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36895 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36897         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36898         macro.
36900 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36902         * math/atest-exp.c (exp_mpn): Remove ROUND.
36903         * math/atest-exp2.c (exp_mpn): Likewise.
36904         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36906         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36907         * stdlib/tst-tls-atexit-lib.c: Likewise.
36908         * stdlib/tst-tls-atexit.c: Likewise.
36910 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36912         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36913         and __attribute_alloc_size__.
36915 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36917         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36918         __attribute_alloc_size__.
36919         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36920         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36922 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36924         * include/programs/xmalloc.h: New file.
36925         * catgets/gencat.c: Include it.
36926         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36927         * elf/pldd.c: Likewise.
36928         * iconv/iconv_charmap.c: Likewise.
36929         * iconv/iconvconfig.c: Likewise.
36930         * iconv/strtab.c: Likewise.
36931         * locale/programs/locale.c: Likewise.
36932         * locale/programs/localedef.h: Likewise.
36933         * locale/programs/simple-hash.c: Likewise.
36934         * nscd/nscd.h: Likewise.
36935         * nss/makedb.c: Likewise.
36936         * sysdeps/generic/ldconfig.h: Likewise.
36938 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36940         * Versions.def: Add GLIBC_2.18.
36941         * include/link.h (struct link_map): New member l_tls_dtor_count.
36942         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36943         (__call_tls_dtors): Likewise.
36944         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36945         __cxa_thread_atexit_impl.
36946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36947         Likewise.
36948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36949         Likewise.
36950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36951         Likewise.
36952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36953         Likewise.
36954         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36956         Likewise.
36957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36958         Likewise.
36959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36961         Likewise.
36962         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36963         (tests): Add test case tst-tls-atexit.
36964         (modules-names): Add shared library for tst-tls-atexit.
36965         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36966         (GLIBC_PRIVATE): Add __call_tls_dtors.
36967         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36968         for libstdc++.
36969         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36970         * stdlib/tst-tls-atexit.c: New test case.
36971         * stdlib/tst-tls-atexit-lib.c: New test case.
36973         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36975         * elf/Versions (ld): Add _dl_find_dso_for_object.
36976         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36977         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36978         (dl_open_worker): Use _dl_find_dso_for_object.
36979         * elf/dl-sym.c (do_sym): Likewise.
36980         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36982 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36984         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36985         Syntactic changes only.
36986         (_dl_runtime_profile): Do a tail-call to the resolved function.
36988 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36990         [BZ #13550]
36991         * sysdeps/x86_64/bp-asm.h: Remove file.
36992         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36993         <bp-sym.h> and <bp-asm.h>.
36994         (__clone): Do not use BP_SYM.
36995         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36996         <bp-sym.h> and <bp-asm.h>.
36997         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36998         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36999         "bp-asm.h".
37000         (_setjmp): Do not use BP_SYM.
37001         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37002         "bp-asm.h".
37003         (setjmp): Do not use BP_SYM.
37004         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37005         libc_hidden_def.
37006         (mempcpy): Do not use BP_SYM in weak_alias.
37007         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37008         "bp-asm.h".
37009         (strchr): Do not use BP_SYM.
37010         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37011         "bp-asm.h".
37012         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37013         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37014         (_start): Do not use BP_SYM.
37015         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37016         "bp-asm.h".
37017         (strcat): Do not use BP_SYM.
37018         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37019         "bp-asm.h".
37020         (STRCMP): Do not use BP_SYM.
37021         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37022         "bp-asm.h".
37023         (STRCPY): Do not use BP_SYM.
37024         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37025         "bp-asm.h".
37026         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37027         "bp-asm.h".
37028         (FUNCTION): Do not use BP_SYM.
37029         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37030         weak_alias.
37031         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37033 2013-02-17  Andreas Jaeger  <aj@suse.de>
37035         * time/Versions: Sort entries.
37036         * string/Versions: Likewise.
37037         * resolv/Versions: Likewise.
37038         * posix/Versions: Likewise.
37039         * iconv/Versions: Likewise.
37040         * elf/Versions: Likewise.
37041         * wcsmbs/Versions: Likewise.
37043 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37045         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37046         loop termination condition.
37048         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37049         variable to calculate EZ.
37050         (__sqr): Likewise.
37052         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37053         the lower precision input.
37055 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37057         [BZ #13550]
37058         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37059         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37060         (run-via-rtld-prefix): Do not handle %-bp tests.
37061         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37062         (all-object-suffixes): Remove .ob.
37063         (bppfx): Remove variable.
37064         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37065         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37066         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37067         [$(build-bounded) = yes] (libtype.ob): Likewise.
37068         * Makerules (elide-routines.ob): Remove variable.
37069         (do-tests-clean): Do not handle *-bp.out.
37070         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37071         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37072         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37073         (tests): Do not include $(tests-bp.out).
37074         (xtests): Do not include $(xtests-bp.out).
37075         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37076         [$(build-bounded) = yes] ($(addprefix
37077         $(objpfx),$(binaries-bounded))): Remove rule.
37078         ($(objpfx)%-bp.out): Remove rule.
37079         * config.make.in (build-bounded): Remove variable.
37080         * crypt/Makefile [$(build-bounded) = yes]
37081         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37082         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37083         append to variable.
37084         [$(build-bounded) = yes] (install-lib): Likewise.
37085         [$(build-bounded) = yes] (generated): Likewise.
37086         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37087         Remove rule.
37088         * intl/Makefile [$(build-bounded) = yes]
37089         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37090         * math/Makefile [$(build-bounded) = yes]
37091         ($(tests:%=$(objpfx)%-bp): Likewise.
37092         * misc/Makefile [$(build-bounded) = yes]
37093         ($(objpfx)tst-tsearch-bp): Likewise.
37094         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37095         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37096         Remove dependency.
37097         * string/Makefile (o-objects.ob): Remove variable.
37098         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37099         (CFLAGS-.ob): Remove variable.
37100         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37101         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37102         both definitions of variable.
37103         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37104         (ASFLAGS-.ob): Remove variable.
37106 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37108         [BZ #13550]
37109         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37110         Remove __BOUNDED_POINTERS__ from condition.
37111         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37112         * string/bits/string2.h [!__NO_STRING_INLINES &&
37113         !__BOUNDED_POINTERS__]: Likewise.
37114         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37115         Likewise.
37116         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37117         Remove conditional code.
37118         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37119         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37120         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37121         condition.
37123         [BZ #13550]
37124         * csu/libc-start.c: Do not include <bp-sym.h>.
37125         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37126         * elf/dl-open.c: Do not include <bp-sym.h>.
37127         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37128         * math/fegetenv.c: Do not include <bp-sym.h>.
37129         (fegetenv): Do not use BP_SYM in versioned symbols.
37130         * nptl/sysdeps/pthread/bits/libc-lockP.h
37131         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37132         <bp-sym.h>.
37133         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37134         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37135         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37136         (__pthread_mutex_destroy): Likewise.
37137         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37138         (__pthread_mutex_lock): Likewise.
37139         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37140         (__pthread_mutex_trylock): Likewise.
37141         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37142         (__pthread_mutex_unlock): Likewise.
37143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37144         (__pthread_mutexattr_init): Likewise.
37145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37146         (__pthread_mutexattr_destroy): Likewise.
37147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37148         (__pthread_mutexattr_settype): Likewise.
37149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37150         (__pthread_rwlock_init): Likewise.
37151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37152         (__pthread_rwlock_destroy): Likewise.
37153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37154         (__pthread_rwlock_rdlock): Likewise.
37155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37156         (__pthread_rwlock_tryrdlock): Likewise.
37157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37158         (__pthread_rwlock_wrlock): Likewise.
37159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37160         (__pthread_rwlock_trywrlock): Likewise.
37161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37162         (__pthread_rwlock_unlock): Likewise.
37163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37164         (__pthread_key_create): Likewise.
37165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37166         (__pthread_setspecific): Likewise.
37167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37168         (__pthread_getspecific): Likewise.
37169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37170         Likewise.
37171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37172         (_pthread_cleanup_push_defer): Likewise.
37173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37174         (_pthread_cleanup_pop_restore): Likewise.
37175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37176         (pthread_setcancelstate): Likewise.
37177         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37178         <bp-sym.h>.
37179         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37180         (memchr): Do not use BP_SYM in weak_alias.
37181         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37182         (fegetenv): Do not use BP_SYM in versioned symbols.
37183         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37184         (fesetenv): Do not use BP_SYM in versioned symbols.
37185         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37186         (feupdateenv): Do not use BP_SYM in versioned symbols.
37187         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37188         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37189         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37190         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37191         (open64): Do not use BP_SYM in weak_alias.
37192         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37193         (fegetenv): Do not use BP_SYM in versioned symbols.
37194         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37195         (fesetenv): Do not use BP_SYM in versioned symbols.
37196         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37197         (feupdateenv): Do not use BP_SYM in versioned symbols.
37198         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37199         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37200         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37201         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37202         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37203         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37204         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37205         <bp-sym.h>.
37206         (__libc_start_main): Do not use BP_SYM.
37208 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37211         redundant return line.
37212         (norm): Likewise.
37213         (denorm): Likewise.
37214         (dbl_mp): Likewise.
37215         (sub_magnitudes): Likewise.
37216         (__add): Likewise.
37217         (__sub): Likewise.
37218         (__mul): Likewise.
37219         (__inv): Likewise.
37220         (__dvd): Likewise.
37221         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37222         (norm): Likewise.
37223         (denorm): Likewise.
37224         (dbl_mp): Likewise.
37225         (sub_magnitudes): Likewise.
37226         (__add): Likewise.
37227         (__sub): Likewise.
37228         (__mul): Likewise.
37229         (__inv): Likewise.
37230         (__dvd): Likewise.
37232         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37233         instead of __mul.
37234         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37235         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37236         (cc32): Likewise.
37238         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37239         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37240         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37241         of __mul for squares.
37242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37243         function
37244         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37245         Likewise.
37246         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37247         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37249 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37251         [BZ #13550]
37252         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37253         code.
37254         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37255         prototype or function definition.  Rename ubp_* variables and
37256         parameters.  Remove argv definitions conditional on
37257         [__BOUNDED_POINTERS__].
37258         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37259         * elf/dl-runtime.c (_dl_fixup): Likewise.
37260         * include/set-hooks.h (RUN_HOOK): Likewise.
37261         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37262         definition.
37263         * string/strcpy.c (strcpy): Do not use __unbounded.
37264         * sysdeps/generic/frame.h (struct layout): Likewise.
37265         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37266         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37267         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37268         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37269         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37270         (__backtrace): Likewise.
37271         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37272         use __ptrvalue.
37273         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37274         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37275         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37276         Likewise.
37277         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37278         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37279         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37280         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37281         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37282         Do not use __unbounded.
37283         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37284         Rename __unboundedrlimits parameter to rlimits in prototype.
37285         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37286         Do not use __unbounded.
37287         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37288         not use __ptrvalue.
37289         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37290         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37291         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37292         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37293         __ptrvalue or __unbounded.
37294         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37295         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37296         use __unbounded.
37297         (__new_msgctl): Do not use __ptrvalue.
37298         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37299         __unbounded.
37300         (__libc_msgrcv): Do not use __ptrvalue.
37301         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37302         startup_info): Do not use __unbounded.
37303         (__libc_start_main): Likewise.  Rename ubp_* variables and
37304         parameters.  Remove argv definitions conditional on
37305         [__BOUNDED_POINTERS__].
37306         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37307         __ptrvalue.
37308         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37309         use __unbounded.
37310         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37311         or __ptrvalue.
37312         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37313         use __unbounded.
37314         (__new_shmctl): Do not use __ptrvalue.
37315         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37316         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37317         Likewise.
37318         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37319         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37320         (__libc_sigaction): Likewise.
37321         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37322         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37323         Likewise.
37324         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37326 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37328         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37330         * string/mempcpy.c: Implement by calling memcpy.
37332 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37334         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37336         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37337         evaluation.
37339         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37340         values in the mantissa.
37342         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37343         minimize writes to Z.
37344         (sub_magnitudes): Simplify code a bit.
37346 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37348         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37349         from the message.  The linker prefixes all warnings with that already.
37351 2013-02-12  Andreas Schwab  <schwab@suse.de>
37353         [BZ #15078]
37354         * posix/regexec.c (extend_buffers): Add parameter min_len.
37355         (check_matching): Pass minimum needed length.
37356         (clean_state_log_if_needed): Likewise.
37357         (get_subexp): Likewise.
37358         * posix/Makefile (tests): Add bug-regex34.
37359         (bug-regex34-ENV): Define.
37360         * posix/bug-regex34.c: New file.
37362         [BZ #11561]
37363         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37364         elements compare against the byte sequence of it, not its name.
37365         * posix/Makefile (tests): Add bug-regex35.
37366         (bug-regex35-ENV): Define.
37367         * posix/bug-regex35.c: New file.
37369 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37371         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37372         comment.
37373         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37374         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37375         (CHECK_EOL): Add undef.
37377 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37379         * bits/stdlib-bsearch.h: New file.
37380         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37381         * stdlib/stdlib.h: Likewise.
37383 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37385         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37386         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37387         declaration.
37388         * manual/search.texi (Array Search Function): Add missing const in
37389         lfind prototype.
37390         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37391         declaration to use rlim_t.
37392         (Basic Scheduling Functions): Remove erroneous const from
37393         sched_getparam prototype.  Remove erroneous * from
37394         sched_get_priority_max and sched_get_priority_min prototypes.
37395         (Resource Usage): Fix summary @comment on vtimes to refer to
37396         sys/vtimes.h rather than vtimes.h.
37397         Add missing *s in vtimes prototype.
37398         (Limits on Resources): Fix ulimit prototype to return long int.
37399         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37400         prototypes to use long int rather than double.
37401         (BSD Random): Fix initstate and setstate to use char *, not void *.
37402         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37403         prototype to make second argument 'struct aiocb64 *const[]'.
37404         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37405         (Status of AIO Operations): Remove erroneous const in aio_return and
37406         aio_return64 prototypes.
37407         (Synchronizing I/O): Fix sync prototype to return void.
37408         * manual/startup.texi (Suboptions): Remove an erroneous const in
37409         getsubopt prototype.
37410         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37411         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37412         use size_t rather than int.
37413         (Scanning All Users): Likewise for getpwent_r.
37414         (Setting Groups): Add missing const to setgroups prototype.
37415         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37416         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37417         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37418         'const void *' rather than 'const char *'.
37419         (Host Address Functions): Likewise for inet_ntop.
37420         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37421         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37422         ssize_t for return value.
37423         (Sending Data): Likewise for send, sendto, sendmsg.
37424         (Socket Option Functions): Add a missing const in setsockopt prototype.
37425         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37426         use wchar_t for the argument.
37427         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37428         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37429         take no arguments.
37430         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37431         double/float/long double for second argument.
37432         Fix return types of significand, significandf, significandl.
37433         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37434         argument in fchmod prototype.
37435         (File Owner): Use uid_t and gid_t in fchown prototype.
37436         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37437         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37438         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37439         use 'const struct dirent **' as argument types to CMP function pointer
37440         argument.
37441         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37442         (File Times): Fix summary magic @comment for struct utimbuf and utime
37443         to refer to utime.h, not time.h.
37444         * manual/string.texi (Argz Functions): Add missing const in
37445         argz_extract and argz_next prototypes.
37446         (Finding Tokens in a String): Likewise for basename.
37447         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37448         (Copying and Concatenation): Fix typo in wmemmove prototype.
37449         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37450         (Signal Stack): Remove erroneous const in sigstack prototype.
37451         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37452         prototype.
37453         (Simple Calendar Time): Likewise for stime.
37454         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37455         prototype.
37456         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37457         say sys/sysctl.h instead.
37458         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37459         and vsyslog prototypes.
37461 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37463         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37464         Remove.
37466 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37468         * misc/sys/mman.h: Fix typo in mremap comment.
37470 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37472         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37473         the '\0' terminator.
37475 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37477         [BZ #13550]
37478         * debug/segfault.c: Don't include <bp-checks.h>.
37479         * sysdeps/generic/bp-checks.h: Remove file.
37480         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37481         (__GETDENTS): Don't use CHECK_N.
37482         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37483         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37484         (__getgroups): Don't use CHECK_N.
37485         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37486         (setgroups): Don't use CHECK_N.
37487         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37488         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37489         (__libc_msgrcv): Don't use CHECK_N.
37490         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37491         (__libc_msgsnd): Don't use CHECK_N.
37492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37493         <bp-checks.h>.
37494         (__libc_pread): Don't use CHECK_N.
37495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37496         include <bp-checks.h>.
37497         (__libc_pread64): Don't use CHECK_N.
37498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37499         include <bp-checks.h>.
37500         (__libc_pwrite): Don't use CHECK_N.
37501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37502         include <bp-checks.h>.
37503         (__libc_pwrite64): Don't use CHECK_N.
37504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37505         <bp-checks.h>.
37506         (__libc_pread): Don't use CHECK_N.
37507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37508         include <bp-checks.h>.
37509         (__libc_pread64): Don't use CHECK_N.
37510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37511         include <bp-checks.h>.
37512         (__libc_pwrite): Don't use CHECK_N.
37513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37514         include <bp-checks.h>.
37515         (__libc_pwrite64): Don't use CHECK_N.
37516         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37517         (do_pread): Don't use CHECK_N.
37518         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37519         (do_pread64): Don't use CHECK_N.
37520         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37521         (do_pwrite): Don't use CHECK_N.
37522         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37523         (do_pwrite64): Don't use CHECK_N.
37524         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37525         (__libc_readv): Don't use CHECK_N.
37526         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37527         (semop): Don't use CHECK_N.
37528         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37529         <bp-checks.h>.
37530         (semtimedop): Don't use CHECK_N.
37531         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37532         (__libc_pread): Don't use CHECK_N.
37533         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37534         <bp-checks.h>.
37535         (__libc_pread64): Don't use CHECK_N.
37536         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37537         <bp-checks.h>.
37538         (__libc_pwrite): Don't use CHECK_N.
37539         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37540         <bp-checks.h>.
37541         (__libc_pwrite64): Don't use CHECK_N.
37542         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37543         <bp-checks.h>.
37544         (__libc_msgrcv): Don't use CHECK_N.
37545         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37546         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37547         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37548         (__libc_writev): Don't use CHECK_N.
37550 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37552         * string/strcpy.c: Removed unused variable.
37554         * Makeconfig (+sysdep-includes): Define with := rather than =.
37555         Use an existing include/ subdir of each sysdeps dir before it.
37557 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37559         * nscd/connection.c (register_traced_file): Comment function.
37560         [HAVE_INOTIFY] (union __inev): Define.
37561         [HAVE_INOTIFY] (inotify_check_files): New function.
37562         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37563         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37564         clear_db_cache.
37565         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37567 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37569         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37570         loaded if not already and that a failure is permanent.
37572 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37574         [BZ #15006]
37575         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37576         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37578 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37580         [BZ #13550]
37581         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37582         (CHECK_1_NULL_OK): Likewise.
37583         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37584         (__fxstat): Do not use CHECK_1.
37585         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37586         <bp-checks.h>.
37587         (___fxstat64): Do not use CHECK_1.
37588         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37589         <bp-checks.h>.
37590         (__fxstatat): Do not use CHECK_1.
37591         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37592         <bp-checks.h>.
37593         (__fxstatat64): Do not use CHECK_1.
37594         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37595         <bp-checks.h>.
37596         (__fxstat): Do not use CHECK_1.
37597         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37598         <bp-checks.h>.
37599         (__fxstatat): Do not use CHECK_1.
37600         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37601         <bp-checks.h>.
37602         (__getresgid): Do not use CHECK_1.
37603         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37604         <bp-checks.h>.
37605         (__getresuid): Do not use CHECK_1.
37606         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37607         <bp-checks.h>.
37608         (__lxstat): Do not use CHECK_1.
37609         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37610         <bp-checks.h>.
37611         (__old_msgctl): Do not use CHECK_1.
37612         (__new_msgctl): Likewise.
37613         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37614         <bp-checks.h>.
37615         (__new_setrlimit): Do not use CHECK_1.
37616         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37617         <bp-checks.h>.
37618         (__old_shmctl): Do not use CHECK_1.
37619         (__new_shmctl): Likewise.
37620         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37621         <bp-checks.h>.
37622         (__xstat): Do not use CHECK_1.
37623         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37624         (__lxstat): Do not use CHECK_1.
37625         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37626         <bp-checks.h>.
37627         (___lxstat64): Do not use CHECK_1.
37628         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37629         (__old_msgctl): Do not use CHECK_1.
37630         (__new_msgctl): Likewise.
37631         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37632         <bp-checks.h>.
37633         (__gettimeofday): Do not use CHECK_1.
37634         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37635         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37636         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37637         <bp-checks.h>.
37638         (__gettimeofday): Do not use CHECK_1.
37639         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37640         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37641         (__new_shmctl): Do not use CHECK_1.
37642         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37643         <bp-checks.h>.
37644         (do_sigtimedwait): Do not use CHECK_1.
37645         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37646         <bp-checks.h>.
37647         (do_sigwaitinfo): Do not use CHECK_1.
37648         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37649         <bp-checks.h>.
37650         (msgctl): Do not use CHECK_1.
37651         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37652         <bp-checks.h>.
37653         (shmctl): Do not use CHECK_1.
37654         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37655         (ustat): Do not use CHECK_1.
37656         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37657         <bp-checks.h>.
37658         (__fxstat): Do not use CHECK_1.
37659         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37660         <bp-checks.h>.
37661         (__fxstatat): Do not use CHECK_1.
37662         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37663         <bp-checks.h>.
37664         (__lxstat): Do not use CHECK_1.
37665         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37666         <bp-checks.h>.
37667         (__xstat): Do not use CHECK_1.
37668         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37669         (__xstat): Do not use CHECK_1.
37670         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37671         (___xstat64): Do not use CHECK_1.
37673         [BZ #13550]
37674         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37675         definitions.
37676         (CHECK_BOUNDS_HIGH): Likewise.
37677         * string/strcpy.c: Do not include <bp-checks.h>.
37678         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37680 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37682         * nscd/nscd-client.h (__nscd_drop_map_ref):
37683         Add __attribute__ ((unused)).
37684         * nis/nss-nisplus.h (niserr2nss): Likewise.
37686         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37687         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37689         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37690         Remove inline keyword.
37691         * include/rounding-mode.h (round_away): Likewise.
37692         * libio/wfileops.c (adjust_wide_data): Likewise.
37693         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37694         (__m128i_strloadu_tolower): Likewise.
37695         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37696         (__m128i_strloadu_tolower): Likewise.
37697         * time/mktime.c (ydhms_diff): Likewise.
37698         * locale/elem-hash.h (elem_hash): Likewise.
37699         * locale/setlocale.c (setdata): Likewise.
37700         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37701         (re_string_wchar_at): Likewise.
37702         (bitset_not, bitset_merge, bitset_mask): Likewise.
37703         [!(__GNUC__ > 3)] (inline): Remove macro.
37704         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37705         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37706         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37707         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37708         * string/memcmp.c (memcmp_bytes): Likewise.
37709         * locale/programs/locarchive.c (compute_hashval): Likewise.
37710         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37711         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37712         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37713         * nss/getent.c (print_rpc, print_protocols): Likewise.
37714         (print_passwd, print_group, print_aliases): Likewise.
37715         * nis/nss-nisplus.h (niserr2nss): Likewise.
37716         * nscd/connections.c (restart_p): Likewise.
37717         Change return type to bool.
37719 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37721         * Makeconfig (all-Depend-files): Add existing
37722         $(sorted-subdirs:=/Depend) files.
37723         (all-subdirs): Remove nss.
37724         * sysdeps/unix/inet/Subdirs: Add it here instead.
37725         * hesiod/Depend: New file.
37727         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37728         instead of calling alloca.
37730         * io/lseek.c (__lseek): Rename to __libc_lseek.
37731         Define __lseek as an alias.
37733         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37735 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37737         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37738         else clause and remove check for non-standard endianness.
37740 2013-02-04  David S. Miller  <davem@davemloft.net>
37742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37744 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37746         [BZ #13550]
37747         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37748         (__ubp_memchr): Remove prototype.
37749         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37750         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37751         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37752         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37753         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37754         Remove alias.
37755         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37756         (__ubp_memchr): Likewise.
37757         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37758         (__ubp_memchr): Likewise.
37759         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37760         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37761         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37762         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37763         CHECK_STRING.
37764         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37765         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37766         (__getcwd): Do not use CHECK_STRING.
37767         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37768         <bp-checks.h>.
37769         (__real_chown): Do not use CHECK_STRING.
37770         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37771         <bp-checks.h>.
37772         (fchownat): Do not use CHECK_STRING.
37773         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37774         CHECK_STRING.
37775         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37776         <bp-checks.h>.
37777         (__lchown): Do not use CHECK_STRING.
37778         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37779         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37780         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37781         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37783         include <bp-checks.h>.
37784         (truncate64): Do not use CHECK_STRING.
37785         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37786         <bp-checks.h>.
37787         (__real_chown): Do not use CHECK_STRING.
37788         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37789         <bp-checks.h>.
37790         (__lchown): Do not use CHECK_STRING.
37791         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37792         <bp-checks.h>.
37793         (__chown): Do not use CHECK_STRING.
37794         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37795         <bp-checks.h>.
37796         (truncate64): Do not use CHECK_STRING.
37797         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37798         Likewise.
37799         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37800         (__xmknod): Do not use CHECK_STRING.
37801         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37802         <bp-checks.h>.
37803         (__xmknodat): Do not use CHECK_STRING.
37804         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37805         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37807 2013-02-04  Andreas Schwab  <schwab@suse.de>
37809         [BZ #14142]
37810         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37811         * include/netdb.h: Likewise for h_errno.
37812         * elf/tst-stackguard1.c: Include <tls.h>.
37814 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37816         * elf/link.h (struct link_map): Extend the l_addr comment.
37817         * include/link.h (struct link_map): Likewise.
37819 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37821         [BZ #13550]
37822         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37823         (BOUNDED_1): Remove macro.
37824         * debug/backtrace.c: Don't include <bp-checks.h>.
37825         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37826         (__backtrace): Likewise.
37827         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37828         <bp-checks.h>.
37829         (__backtrace): Don't use BOUNDED_1.
37830         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37831         <bp-checks.h>.
37832         (__backtrace): Don't use BOUNDED_1.
37833         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37834         (__backtrace): Don't use BOUNDED_1.
37835         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37836         (shmat): Don't use BOUNDED_N.
37838 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37840         [BZ #13550]
37841         * sysdeps/generic/bp-start.h: Remove file.
37842         * csu/libc-start.c: Don't include <bp-start.h>.
37843         (LIBC_START_MAIN): Set up __environ directly instead of using
37844         INIT_ARGV_and_ENVIRON.
37845         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37846         <bp-start.h>.
37848         [BZ #13550]
37849         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37850         definitions.
37851         (CHECK_FCNTL): Likewise.
37852         (CHECK_N_PAGES): Likewise.
37854         [BZ #13550]
37855         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37856         definitions.
37857         (CHECK_SIGSET_NULL_OK): Likewise.
37858         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37859         <bp-checks.h>.
37860         (sigpending): Don't use CHECK_SIGSET.
37861         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37862         <bp-checks.h>.
37863         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37864         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37865         <bp-checks.h>.
37866         (do_sigsuspend): Don't use CHECK_SIGSET.
37867         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37868         use CHECK_SIGSET.
37869         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37870         (do_sigwait): Don't use CHECK_SIGSET.
37871         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37872         use CHECK_SIGSET.
37873         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37874         include <bp-checks.h>.
37875         (sigpending): Don't use CHECK_SIGSET.
37876         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37877         include <bp-checks.h>.
37878         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37879         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37880         <bp-checks.h>.
37881         (sigpending): Don't use CHECK_SIGSET.
37882         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37883         <bp-checks.h>.
37884         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37886         [BZ #13550]
37887         * sysdeps/generic/bp-semctl.h: Remove file.
37888         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37889         <bp-checks.h> and <bp-semctl.h>.
37890         (__old_semctl): Don't use CHECK_SEMCTL.
37891         (__new_semctl): Likewise.
37892         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37893         and <bp-semctl.h>.
37894         (__old_semctl): Don't use CHECK_SEMCTL.
37895         (__new_semctl): Likewise.
37896         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37897         <bp-checks.h> and <bp-semctl.h>.
37898         (__old_semctl): Don't use CHECK_SEMCTL.
37899         (__new_semctl): Likewise.
37900         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37901         <bp-checks.h> and <bp-semctl.h>.
37902         (semctl): Don't use CHECK_SEMCTL.
37904         [BZ #13550]
37905         * Makerules (elide-bp-thunks): Remove variable.
37906         (elide-routines.oS): Don't use $(elide-bp-thunks).
37907         (elide-routines.os): Likewise.
37908         (elide-routines.o): Likewise.
37909         (elide-routines.op): Likewise.
37910         (elide-routines.og): Likewise.
37911         (objects): Don't use $(bp-thunks).
37912         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37913         include.
37914         (common-generated): Do not add s-proto-bp.d.
37915         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37916         (int): Likewise.
37917         (typ): Likewise.
37918         Do not generate makefile rules for bounded-pointer thunks.
37919         * sysdeps/generic/bp-thunks.h: Remove file.
37920         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37921         * sysdeps/unix/s-proto-bp.S: Likewise.
37923         [BZ #15062]
37924         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37925         parts of result separately when argument is not close to line from
37926         -i to i and one part of argument is small.
37927         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37928         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37929         * math/libm-test.inc (cacos_test): Add more tests.
37930         (casin_test): Likewise.
37931         (casinh_test): Likewise.
37932         * sysdeps/i386/fpu/libm-test-ulps: Update.
37933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37935 2013-01-31  David S. Miller  <davem@davemloft.net>
37937         * po/de.po: Update from translation team.
37939 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37941         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37943 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37945         * configure.in (_AC_PROG_CC_C89): New definition.
37946         * configure: Regenerate.
37948         * configure.in (AC_PROG_CPP): New definition.
37949         * configure: Regenerate.
37951 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37953         * debug/tst-backtrace.h: New file.
37954         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37955         (ret): Remove variable.
37956         (x): Likewise.
37957         (FAIL): Remove macro.
37958         (NO_INLINE): Likewise.
37959         (fn1): Use match function instead of strstr.
37960         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37961         (ret): Remove variable.
37962         (x): Likewise.
37963         (FAIL): Remove macro.
37964         (NO_INLINE): Likewise.
37965         (fn): Use match function instead of strstr.
37966         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37967         (ret): Remove variable.
37968         (x): Likewise.
37969         (FAIL): Remove macro.
37970         (NO_INLINE): Likewise.
37971         (handle_signal): Use match function instead of strstr.
37972         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37973         (ret): Remove variable.
37974         (x): Likewise.
37975         (FAIL): Remove macro.
37976         (NO_INLINE): Likewise.
37977         (handle_signal): Use match function instead of strstr.
37979 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37981         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37983 2013-01-23  David S. Miller  <davem@davemloft.net>
37985         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37986         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37987         argument of CAS if possible.
37988         * sysdeps/sparc/sparc64/bits/atomic.h
37989         (__arch_compare_and_exchange_val_32_acq): Likewise.
37990         (__arch_compare_and_exchange_val_64_acq): Likewise.
37992 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37994         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37995         * sysdeps/posix/ulimit.c: ... this.
37996         Include <limits.h>.
37997         * sysdeps/unix/bsd/ulimit.c: Remove file.
37999 2013-01-23  Adam Conrad  <adconrad@0c3.net>
38001         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38002         (LDFLAGS-tst-array5): Likewise.
38004 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
38006         [BZ #15036]
38007         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38008         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38009         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38010         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38012 2013-01-21  David S. Miller  <davem@davemloft.net>
38014         * sysdeps/sparc/backtrace.c: New file.
38015         * sysdeps/sparc/sparc32/backtrace.h: New file.
38016         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38017         * sysdeps/sparc/sparc64/backtrace.h: New file.
38018         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38019         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38020         -funwind-tables.
38022 2013-01-21  Andreas Schwab  <schwab@suse.de>
38024         [BZ #15020]
38025         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38026         closed its stdout.
38028 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38031         "mpa2.h".
38032         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38034 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38035             Mark Mitchell  <mark@codesourcery.com>
38036             Tom de Vries  <tom@codesourcery.com>
38037             Paul Pluzhnikov  <ppluzhnikov@google.com>
38039         * debug/tst-backtrace2.c: New file.
38040         * debug/tst-backtrace3.c: Likewise.
38041         * debug/tst-backtrace4.c: Likewise.
38042         * debug/tst-backtrace5.c: Likewise.
38043         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38044         (CFLAGS-tst-backtrace3.c): Likewise.
38045         (CFLAGS-tst-backtrace4.c): Likewise.
38046         (CFLAGS-tst-backtrace5.c): Likewise.
38047         (LDFLAGS-tst-backtrace2): Likewise.
38048         (LDFLAGS-tst-backtrace3): Likewise.
38049         (LDFLAGS-tst-backtrace4): Likewise.
38050         (LDFLAGS-tst-backtrace5): Likewise.
38051         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38052         tst-backtrace4 and tst-backtrace5.
38054 2013-01-18  Anton Blanchard  <anton@samba.org>
38055             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38057         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38058         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38059         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38060         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38062         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38063         "+r" and remove output regs list as redundant.  Add explicit inline
38064         asm to specify register of return val to work around compiler codegen
38065         bug.  Remove (int) cast on return value.  Add return type parameter to
38066         use in macro so that this macro does not truncate return value for
38067         64-bit values.
38068         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38069         pass to INTERNAL_VSYSCALL_NCS.
38070         (INLINE_VSYSCALL): Add 'long int' as return type to
38071         INTERNAL_VSYSCALL_NCS macro invocation.
38072         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38073         INTERNAL_VSYSCALL_NCS macro invocation.
38074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38076 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38078         [BZ #14496]
38079         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38080         Fix application of SIMD FP exception mask.
38082         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38083         mp_no from a power of two.
38084         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38085         __mpexp_twomm1.  Use __pow_mp.
38087         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38088         multiplication.
38090 2013-01-17  David S. Miller  <davem@davemloft.net>
38092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38094 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38096         [BZ #15023]
38097         * include/complex.h: Condition contents on [!_COMPLEX_H].
38098         (__kernel_casinhf): New prototype.
38099         (__kernel_casinh): Likewise.
38100         (__kernel_casinhl): Likewise.
38101         * math/Makefile (libm_calls): Add k_casinh.
38102         * math/k_casinh.c: New file.
38103         * math/k_casinhf.c: Likewise.
38104         * math/k_casinhl.c: Likewise.
38105         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38106         finite nonzero arguments.
38107         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38108         finite nonzero arguments.
38109         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38110         finite nonzero arguments.
38111         * math/s_casinh.c: Do not include <float.h>.
38112         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38113         * math/s_casinhf.c: Do not include <float.h>.
38114         (__casinhf): Move code for finite nonzero arguments to
38115         k_casinhf.c.
38116         * math/s_casinhl.c: Do not include <float.h>.
38117         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38118         redefine.
38119         (__casinhl): Move code for finite nonzero arguments to
38120         k_casinhl.c.
38121         * math/libm-test.inc (cacos_test): Add more tests.
38122         * sysdeps/i386/fpu/libm-test-ulps: Update.
38123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38125 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38127         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38128         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38129         [!HAVE_MREMAP]: Remove [defined linux] case.
38130         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38132 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38134         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38136 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38138         * elf/elf.h (R_386_SIZE32): New relocation.
38139         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38140         R_386_SIZE32.
38141         (elf_machine_rela): Likewise.
38142         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38143         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38145 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38147         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38148         (FP_FAST_FMA): Do not define.
38149         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38150         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38151         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38152         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38153         !_SOFT_FLOAT]: Likewise.
38154         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38155         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38156         value.
38157         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38158         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38159         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38160         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38161         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38162         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38163         file.
38165 2013-01-16  Andreas Schwab  <schwab@suse.de>
38167         [BZ #14327]
38168         * include/stdlib.h (__mktemp): Add declaration.
38169         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38170         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38172 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38174         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38175         definitions.
38176         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38177         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38178         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38179         definitions here.
38180         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38181         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38182         definitions.
38183         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38184         and ONE.
38185         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38186         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38187         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38188         definitions.
38189         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38190         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38191         definitions.
38192         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38194         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38196 2013-01-15  David S. Miller  <davem@davemloft.net>
38198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38199         trunc{,f} to libm-sysdep_routes.
38200         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38202         file.
38203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38205         file.
38206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38207         file.
38208         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38210         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38211         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38212         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38213         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38214         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38215         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38218         nearbyint{,f} to libm-sysdep_routes.
38219         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38221         New file.
38222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38223         file.
38224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38225         New file.
38226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38227         file.
38228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38229         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38230         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38231         file.
38232         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38233         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38234         file.
38235         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38236         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38237         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38239         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38240         libc_feholdexcept and libc_fesetenv.
38242 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38244         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38246 2013-01-14  David S. Miller  <davem@davemloft.net>
38248         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38249         (SPARC_ASM_VIS2_IFUNC): Likewise.
38250         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38252         use of 'siam' instruction.
38253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38254         Likewise.
38255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38256         Likewise.
38257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38258         Likewise.
38259         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38260         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38261         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38264         file.
38265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38266         file.
38267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38268         file.
38269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38270         file.
38271         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38273         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38276         new VIS2 routines.
38277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38280         Likewise.
38281         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38282         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38286         routines to libm-sysdep_routines.
38287         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38290         fdim/fdimf to libm-sysdep_routines.
38291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38292         file.
38293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38295         file.
38296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38299         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38300         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38301         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38302         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38304 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38306         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38307         to optimize copies.
38309         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38310         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38311         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38313         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38314         local variable MPTWO.
38315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38316         Likewise.
38318 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38320         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38321         GLOB_NOESCAPE.
38323 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38325         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38327 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38329         * manual/pattern.texi (glob_t): Document gl_flags.
38330         (glob64_t): Likewise.
38332 2013-01-11  David S. Miller  <davem@davemloft.net>
38334         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38335         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38336         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38337         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38338         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38339         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38340         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38341         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38342         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38343         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38344         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38345         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38346         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38348         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38349         sparc V9 rather than using V8 code.
38350         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38351         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38353         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38354         Move to...
38355         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38356         Here.
38358 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38360         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38361         not in the main loop.
38362         * configure: Regenerated.
38364 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38366         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38367         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38368         to just #else.
38369         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38370         [!__GLIBC_HAVE_LONG_LONG] case.
38371         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38372         condition to just #else.
38373         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38374         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38375         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38376         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38377         unconditional.
38378         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38379         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38380         #elif condition to just #else.
38381         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38382         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38383         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38384         #elif condition to just #else.
38386 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38388         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38389         (EF_MIPS_ARCH_64): Fix value.
38390         (EF_MIPS_ARCH_32R2): New.
38391         (EF_MIPS_ARCH_64R2): New.
38393 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38395         * Makeconfig (+link-pie-before-libc): New.
38396         (+link-pie-after-libc): Likewise.
38397         (+link-pie-tests): Likewise.
38398         (+link-pie): Rewritten.
38399         (link-before-libc): Remove $(config-LDFLAGS).
38400         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38401         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38402         (config-LDFLAGS): Renamed to ...
38403         (rtld-LDFLAGS): This.
38404         (rtld-tests-LDFLAGS): New macro.
38405         (link-libc-rpath-link): Likewise.
38406         (link-libc-tests-rpath-link): Likewise.
38407         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38408         (link-libc): Prepand $(link-libc-rpath-link).
38409         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38410         (test-program-prefix): New macro.
38411         (test-via-rtld-prefix): Likewise.
38412         (test-program-cmd): Likewise.
38413         (host-test-program-cmd): Likewise.
38414         * Makefile ($(common-objpfx)testrun.sh): Replace
38415         $(run-program-prefix) with $(test-program-prefix).
38416         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38417         $(rtld-LDFLAGS).
38418         ($(common-objpfx)shlib.lds): Likewise.
38419         (build-module-helper): Likewise.
38420         ($(common-objpfx)format.lds): Likewise.
38421         * Rules (binaries-pie-tests): New.
38422         (binaries-pie-notests): Likewise.
38423         (binaries-pie): Rewritten.
38424         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38425         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38426         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38427         (make-test-out): Replace $(host-built-program-cmd) with
38428         $(host-test-program-cmd).
38429         * config.make.in (build-hardcoded-path-in-tests): New variable.
38430         * configure.in (--enable-hardcoded-path-in-tests): New configure
38431         option.
38432         (hardcoded_path_in_tests): New AC_SUBST.
38433         * configure: Regenerated.
38434         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38435         $(built-program-cmd) with $(test-program-cmd).
38436         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38437         (test_program_cmd): This.
38438         * elf/Makefile ($(objpfx)order.out): Run test with
38439         $(test-program-prefix).
38440         ($(objpfx)order2.out): Likewise.
38441         ($(objpfx)tst-initorder.out): Likewise.
38442         ($(objpfx)tst-initorder2.out): Likewise.
38443         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38444         $(test-program-cmd).
38445         ($(objpfx)tst-array1-static.out): Likewise.
38446         ($(objpfx)tst-array2.out): Likewise.
38447         ($(objpfx)tst-array3.out): Likewise.
38448         ($(objpfx)tst-array4.out): Likewise.
38449         ($(objpfx)tst-array5.out): Likewise.
38450         ($(objpfx)tst-array5-static.out): Likewise.
38451         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38452         $(test-program-cmd).
38453         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38454         $(run-program-prefix) with $(test-program-prefix).
38455         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38456         (test_program_prefix): This.
38457         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38458         $(run-program-prefix) with $(test-program-prefix).
38459         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38460         (test_program_prefix): This.
38461         * iconvdata/tst-tables.sh: Likewise.
38462         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38463         $(run-program-prefix) with $(test-program-prefix).
38464         ($(objpfx)tst-translit.out): Likewise.
38465         ($(objpfx)tst-gettext2.out): Likewise.
38466         ($(objpfx)tst-gettext4.out): Likewise.
38467         ($(objpfx)tst-gettext6.out): Likewise.
38468         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38469         (test_program_prefix): This.
38470         * intl/tst-gettext2.sh: Likewise.
38471         * intl/tst-gettext4.sh  Likewise.
38472         * intl/tst-gettext6.sh: Likewise.
38473         * intl/tst-translit.sh: Likewise.
38474         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38475         with $(test-program-cmd).
38476         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38477         $(run-program-prefix) with $(test-program-prefix).
38478         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38479         (test_program_prefix): This.
38480         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38481         $(run-program-prefix) with $(test-program-prefix).
38482         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38483         (test_program_prefix): This.
38484         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38485         * posix/Makefile ($(objpfx)globtest.out): Replace
38486         $(run-via-rtld-prefix) and $(test-wrapper) with
38487         $(test-program-prefix) and $(test-via-rtld-prefix).
38488         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38489         $(test-program-prefix).
38490         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38491         $(host-test-program-cmd).
38492         (tst-spawn-ARGS): Likewise.
38493         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38494         $(test-program-prefix).
38495         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38496         (test_via_rtld_prefix): This.
38497         (test_wrapper): Renamed to ...
38498         (test_program_prefix): This.
38499         (run_program_prefix): Replaced by test_program_prefix.
38500         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38501         (test_program_prefix): This.
38502         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38503         with $(host-test-program-cmd).
38504         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38505         $(run-program-prefix) with $(test-program-prefix).
38506         ($(objpfx)tst-printf.out): Likewise.
38507         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38508         $(test-program-cmd).
38509         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38510         (test_program_prefix): This.
38511         * stdio-common/tst-unbputc.sh: Likewise.
38512         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38513         $(run-program-prefix) with $(test-program-prefix).
38514         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38515         (test_program_prefix): This.
38516         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38517         $(built-program-cmd) with $(test-program-cmd).
38519 2013-01-11  Andreas Jaeger  <aj@suse.de>
38521         [BZ #15003]
38522         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38523         value. Sync with Linux 3.7.
38525 2013-01-10  David S. Miller  <davem@davemloft.net>
38527         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38528         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38529         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38531 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38533         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38534         never set.
38535         * configure: Regenerated.
38537 2013-01-10  David S. Miller  <davem@davemloft.net>
38539         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38540         sparc V9 rather than using V8 code.
38541         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38542         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38544 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38546         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38547         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38548         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38549         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38550         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38551         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38552         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38553         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38554         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38555         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38556         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38557         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38558         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38559         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38560         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38561         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38562         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38563         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38564         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38565         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38566         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38567         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38568         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38569         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38570         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38571         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38572         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38574 2013-01-10  David S. Miller  <davem@davemloft.net>
38576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38578 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38580         * posix/Makefile (tests-static): New variable.
38581         (tests): Add $(tests-static).
38582         (tst-exec-static-ARGS): New variable.
38583         (tst-spawn-static-ARGS): Likewise.
38584         * posix/tst-exec-static.c: New file.
38585         * posix/tst-spawn-static.c: Likewise.
38586         * posix/tst-exec.c: Support run directly.
38587         * posix/tst-spawn.c: Likewise.
38589 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38591         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38592         long.
38593         * math/bits/mathcalls.h (llrint): Likewise.
38594         (llround): Likewise.
38595         * stdlib/stdlib.h (struct drand48_data): Likewise.
38596         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38597         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38598         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38599         Likewise.
38600         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38601         Likewise.
38602         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38603         (elf_greg_t): Likewise.
38604         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38605         (__jmp_buf): Likewise.
38606         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38607         definitions.
38608         (llrint): Likewise, for all definitions.
38609         (llrintl): Likewise.
38611         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38612         Remove [__GNUC__] condition.
38613         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38614         condition to just [__USE_ISOC99].
38615         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38617 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38619         [BZ #14200]
38620         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38621         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38622         defined.
38623         (_POSIX_V6_ILP32_OFF32): Likewise.
38624         (_XBS5_ILP32_OFF32): Likewise.
38625         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38626         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38628 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38630         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38632         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38633         doubles __mpexp_twomm1.  Adjust usage.
38634         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38635         Remove.
38637 2013-01-10  Andreas Schwab  <schwab@suse.de>
38639         [BZ #14964]
38640         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38641         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38643 2013-01-09  David S. Miller  <davem@davemloft.net>
38645         [BZ #15003]
38646         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38647         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38648         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38649         (TCP_FASTOPEN): Define.
38650         (tcp_repair_opt): New structure.
38651         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38652         enum values.
38653         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38654         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38655         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38656         (tcp_cookie_transactions): New structure.
38658 2013-01-09  Anton Blanchard  <anton@samba.org>
38660         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38661         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38662         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38663         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38665 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38667         * include/features.h (__USE_ANSI): Remove.
38669 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38671         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38673         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38675 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38677         * sysdeps/s390/fpu/libm-test-ulps: Update.
38679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38681         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38682         (__acr): Likewise.
38683         (__cpy): Likewise.
38684         (norm): Likewise.
38685         (denorm): Likewise.
38686         (__mp_dbl): Likewise.
38687         (__dbl_mp): Likewise.
38688         (add_magnitudes): Likewise.
38689         (sub_magnitudes): Likewise.
38690         (__add): Likewise.
38691         (__sub): Likewise.
38692         (__mul): Likewise.
38693         (__inv): Likewise.
38694         (__dvd): Likewise.
38695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38696         (__acr): Likewise.
38697         (__cpy): Likewise.
38698         (norm): Likewise.
38699         (denorm): Likewise.
38700         (__mp_dbl): Likewise.
38701         (__dbl_mp): Likewise.
38702         (add_magnitudes): Likewise.
38703         (sub_magnitudes): Likewise.
38704         (__add): Likewise.
38705         (__sub): Likewise.
38706         (__mul): Likewise.
38707         (__inv): Likewise.
38708         (__dvd): Likewise.
38709         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38710         (__acr): Likewise.
38711         (__cpy): Likewise.
38712         (norm): Likewise.
38713         (denorm): Likewise.
38714         (__mp_dbl): Likewise.
38715         (__dbl_mp): Likewise.
38716         (add_magnitudes): Likewise.
38717         (sub_magnitudes): Likewise.
38718         (__add): Likewise.
38719         (__sub): Likewise.
38720         (__mul): Likewise.
38721         (__inv): Likewise.
38722         (__dvd): Likewise.
38724 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38726         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38727         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38728         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38729         2 && __USE_EXTERN_INLINES]: Likewise.
38731 2013-01-08  Andreas Jaeger  <aj@suse.de>
38733         [BZ# 14985]
38734         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38735         Remove.
38736         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38737         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38739 2013-01-07  Anton Blanchard  <anton@samba.org>
38741         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38742         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38743         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38744         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38745         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38746         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38747         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38748         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38750         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38751         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38752         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38753         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38754         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38755         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38756         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38757         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38758         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38759         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38760         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38761         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38762         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38763         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38764         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38765         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38766         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38767         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38768         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38769         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38770         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38771         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38772         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38773         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38774         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38775         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38776         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38777         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38778         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38779         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38780         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38781         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38782         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38783         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38785 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38787         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38788         (__MALLOC_PMT): Likewise.
38789         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38790         [__GNUC__], only on [_LIBC].
38791         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38792         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38793         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38794         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38795         forward declaration.
38796         (realloc_hook_ini): Likewise.
38797         (memalign_hook_ini): Likewise.
38798         (__libc_memalign): Do not use __MALLOC_PMT in variable
38799         declaration.
38800         (__libc_valloc): Likewise.
38801         (__libc_pvalloc): Likewise.
38802         (__libc_calloc): Likewise.
38803         (__posix_memalign): Likewise.
38805         [BZ #14996]
38806         * math/s_casinh.c: Include <float.h>.
38807         (__casinh): Do not do computation with squaring and square root
38808         for large arguments.
38809         * math/s_casinhf.c: Include <float.h>.
38810         (__casinhf): Do not do computation with squaring and square root
38811         for large arguments.
38812         * math/s_casinhl.c: Include <float.h>.
38813         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38814         (__casinhl): Do not do computation with squaring and square root
38815         for large arguments.
38816         * math/libm-test.inc (casin_test): Add more tests.
38817         (casinh_test): Likewise.
38818         * sysdeps/i386/fpu/libm-test-ulps: Update.
38819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38821 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38823         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38824         (__x86_64_raw_data_cache_size): Likewise.
38825         (__x86_64_data_cache_size_half): Likewise.
38826         (__x86_64_raw_data_cache_size_half): Likewise.
38827         (__x86_64_shared_cache_size): Likewise.
38828         (__x86_64_raw_shared_cache_size): Likewise.
38829         (__x86_64_shared_cache_size_half): Likewise.
38830         (__x86_64_raw_shared_cache_size_half): Likewise.
38831         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38832         to ...
38833         (__x86_data_cache_size): This.
38834         (__x86_64_raw_data_cache_size): Renamed to ...
38835         (__x86_raw_data_cache_size): This.
38836         (__x86_64_data_cache_size_half): Renamed to ...
38837         (__x86_data_cache_size_half): This.
38838         (__x86_64_raw_data_cache_size_half): Renamed to ...
38839         (__x86_raw_data_cache_size_half): This.
38840         (__x86_64_shared_cache_size): Renamed to ...
38841         (__x86_shared_cache_size): This.
38842         (__x86_64_raw_shared_cache_size): Renamed to ...
38843         (__x86_raw_shared_cache_size): This.
38844         (__x86_64_shared_cache_size_half): Renamed to ...
38845         (__x86_shared_cache_size_half): This.
38846         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38847         (__x86_raw_shared_cache_size_half): This.
38848         * sysdeps/x86_64/memcpy.S: Updated.
38849         * sysdeps/x86_64/memset.S: Likewise.
38850         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38851         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38852         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38854 2013-01-04  David S. Miller  <davem@davemloft.net>
38856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38858 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38860         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38861         1 to avoid redefinition warning.
38862         (__USE_GNU): Don't define.
38863         (init_signaling_nan): Protoize.
38865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38867 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38869         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38871         (__cpymn): Likewise.
38872         (norm): Remove commented code.
38873         (denorm): Likewise.
38874         (__mp_dbl): Likewise.
38875         (__inv): Likewise.
38876         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38877         (__cpymn): Likewise.
38878         (norm): Remove commented code.
38879         (denorm): Likewise.
38880         (__mp_dbl): Likewise.
38881         (__inv): Likewise.
38883         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38884         mp_no value for 1.0 and 2.0.
38885         (norm): Use RADIXI instead of radixi.d.
38886         (denorm): Likewise.
38887         (__mul): Use 0.0 instead of zero.d.
38888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38889         mp_no value for 1.0 and 2.0.
38890         (norm): Use RADIXI instead of radixi.d.
38891         (denorm): Likewise.
38892         (__mul): Use 0.0 instead of zero.d.
38894 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38896         [BZ #14994]
38897         * math/s_casinh.c (__casinh): Reduce finite argument to first
38898         quadrant then set signs of results at the end.
38899         * math/s_casinhf.c (__casinhf): Likewise.
38900         * math/s_casinhl.c (__casinhl): Likewise.
38901         * math/libm-test.inc (casin_test): Add more tests.
38902         (casinh_test): Likewise.
38903         * sysdeps/i386/fpu/libm-test-ulps: Update.
38904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38906 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38908         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38910         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38912         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38913         declarations.
38914         (denorm): Likewise.
38915         (__mp_dbl): Likewise.
38916         (__inv): Likewise.
38918         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38919         and adjust the header comment.
38921         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38922         variable name from declaration.
38924 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38927         Initialize COMMON_CPUID_INDEX_7 element.
38928         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38929         (CPUID_RTM): Likewise.
38930         (HAS_RTM): Likewise.
38931         (COMMON_CPUID_INDEX_7): New enum.
38933 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38935         [BZ #14981]
38936         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38937         size is zero, record memory as freed.
38939 2013-01-03  Andreas Jaeger  <aj@suse.de>
38941         * po/ia.po: Add new Interlingua translation.
38943 2012-01-03  Allan McRae  <allan@archlinux.org>
38945         * locale/programs/localedef.c: Fix description of '--posix' flag.
38947 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38949         * NEWS: Update dates in second copyright notice.
38950         * README: Update copyright dates in example.
38951         * manual/libc.texinfo: Update copyright dates.
38952         * scripts/test-installation.pl: Update copyright date in --version
38953         output.
38955         * hurd/ctty-input.c: Fix copyright notice formatting.
38956         * hurd/ctty-output.c: Likewise.
38957         * hurd/dtable.c: Likewise.
38958         * hurd/hurd-raise.c: Likewise.
38959         * hurd/hurdprio.c: Likewise.
38960         * hurd/msgportdemux.c: Likewise.
38961         * misc/sys/file.h: Likewise.
38962         * misc/sys/ioctl.h: Likewise.
38963         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38964         * sysdeps/mach/hurd/chdir.c: Likewise.
38965         * sysdeps/mach/hurd/fchdir.c: Likewise.
38966         * sysdeps/mach/hurd/rename.c: Likewise.
38967         * sysdeps/mach/hurd/rmdir.c: Likewise.
38968         * sysdeps/mach/hurd/seekdir.c: Likewise.
38969         * sysdeps/mach/hurd/setsid.c: Likewise.
38970         * sysdeps/posix/wait3.c: Likewise.
38972         * All files with FSF copyright notices: Update copyright dates
38973         using scripts/update-copyrights.
38974         * intl/plural.c: Regenerated.
38975         * locale/programs/charmap-kw.h: Likewise.
38976         * locale/programs/locfile-kw.h: Likewise.
38978 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38980         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38981         four values.
38983         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38984         calculation loop and add branch prediction.
38986         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38987         check access beyond bounds of m1np.
38989         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38990         MPTWO.
38991         (__inv): Remove local variable MPTWO to use the global
38992         constant.
38993         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38994         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38995         variable MPTWO.
38996         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38997         MP3HALFS static const.
38999 2013-01-01  David S. Miller  <davem@davemloft.net>
39001         * po/ca.po: Update from translation team.
39003 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
39005         * scripts/update-copyrights: New file.
39006         * Makeconfig: Reformat copyright notice.
39007         * ctype/ctype.h: Likewise.
39008         * debug/swprintf_chk.c: Likewise.
39009         * elf/dl-cache.c: Likewise.
39010         * elf/dl-debug.c: Likewise.
39011         * elf/dl-object.c: Likewise.
39012         * grp/initgroups.c: Likewise.
39013         * hurd/Makefile: Likewise.
39014         * hurd/hurd/signal.h: Likewise.
39015         * hurd/hurdfault.c: Likewise.
39016         * hurd/hurdioctl.c: Likewise.
39017         * hurd/hurdlookup.c: Likewise.
39018         * hurd/intr-msg.c: Likewise.
39019         * iconv/gconv_open.c: Likewise.
39020         * libio/swprintf.c: Likewise.
39021         * locale/lc-ctype.c: Likewise.
39022         * locale/nl_langinfo.c: Likewise.
39023         * mach/Machrules: Likewise.
39024         * mach/Makefile: Likewise.
39025         * malloc/obstack.h: Likewise.
39026         * manual/Makefile: Likewise.
39027         * manual/tsort.awk: Likewise.
39028         * misc/bits/stab.def: Likewise.
39029         * nis/nis_print_group_entry.c: Likewise.
39030         * nis/nis_table.c: Likewise.
39031         * nis/nss_compat/compat-pwd.c: Likewise.
39032         * nis/nss_compat/compat-spwd.c: Likewise.
39033         * po/Makefile: Likewise.
39034         * posix/fnmatch.c: Likewise.
39035         * posix/regex.h: Likewise.
39036         * resolv/Makefile: Likewise.
39037         * resolv/nss_dns/dns-network.c: Likewise.
39038         * resolv/res_hconf.c: Likewise.
39039         * scripts/gen-sorted.awk: Likewise.
39040         * soft-fp/soft-fp.h: Likewise.
39041         * stdio-common/printf.h: Likewise.
39042         * stdlib/monetary.h: Likewise.
39043         * stdlib/random.c: Likewise.
39044         * stdlib/random_r.c: Likewise.
39045         * sysdeps/generic/Makefile: Likewise.
39046         * sysdeps/gnu/Makefile: Likewise.
39047         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39048         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39049         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39050         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39051         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39052         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39053         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39054         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39055         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39056         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39057         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39058         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39059         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39060         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39061         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39062         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39063         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39064         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39065         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39066         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39067         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39068         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39069         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39070         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39071         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39072         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39073         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39074         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39075         * sysdeps/mach/hurd/errnos.awk: Likewise.
39076         * sysdeps/mach/hurd/fork.c: Likewise.
39077         * sysdeps/mach/hurd/getcwd.c: Likewise.
39078         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39079         * sysdeps/mach/hurd/mmap.c: Likewise.
39080         * sysdeps/mach/hurd/utimes.c: Likewise.
39081         * sysdeps/mach/hurd/xmknod.c: Likewise.
39082         * sysdeps/posix/profil.c: Likewise.
39083         * sysdeps/posix/readdir_r.c: Likewise.
39084         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39085         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39086         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39087         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39088         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39089         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39090         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39091         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39092         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39093         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39094         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39095         * sysdeps/pthread/lio_listio.c: Likewise.
39096         * sysdeps/sparc/dl-procinfo.h: Likewise.
39097         * sysdeps/unix/i386/sysdep.S: Likewise.
39098         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39099         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39100         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39101         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39103         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39104         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39105         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39106         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39107         * sysdeps/wordsize-32/divdi3.c: Likewise.
39108         * time/sys/time.h: Likewise.
39109         * wcsmbs/Makefile: Likewise.
39111 2013-01-01  David S. Miller  <davem@davemloft.net>
39113         * po/fr.po: Update from translation team.
39115         * catgets/gencat.c: Update copyright year.
39116         * csu/version.c: Likewise.
39117         * debug/catchsegv.sh: Likewise.
39118         * debug/pcprofiledump.c: Likewise.
39119         * debug/xtrace.sh: Likewise.
39120         * elf/ldconfig.c: Likewise.
39121         * elf/ldd.bash.in: Likewise.
39122         * elf/pldd.c: Likewise.
39123         * elf/sotruss.ksh: Likewise.
39124         * elf/sprof.c: Likewise.
39125         * iconv/iconv_prog.c: Likewise.
39126         * iconv/iconvconfig.c: Likewise.
39127         * locale/programs/locale.c: Likewise.
39128         * locale/programs/localedef.c: Likewise.
39129         * login/programs/pt_chown.c: Likewise.
39130         * malloc/memusage.sh: Likewise.
39131         * malloc/memusagestat.c: Likewise.
39132         * malloc/mtrace.pl: Likewise.
39133         * nscd/nscd.c: Likewise.
39134         * nss/getent.c: Likewise.
39135         * nss/makedb.c: Likewise.
39136         * posix/getconf.c: Likewise.
39138 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39140         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39141         numbers.
39143 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39145         * math/bits/mathcalls.h (modf): Use __nonnull.
39147 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39149         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39150         (split): Use macro CN instead of the bare value.
39151         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39152         could be used.
39153         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39154         instead of the bare value.
39155         (power1): Likewise.
39157 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39159         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39160         __ATAN_TWOM.
39161         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39163         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39164         their values.
39165         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39166         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39167         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39168         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39170 2012-12-28  Andreas Jaeger  <aj@suse.de>
39172         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39173         values are from Linux 3.7.
39175         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39176         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39178 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39180         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39181         TRUE case.
39183         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39184         (norm): Likewise.
39185         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39186         variables with preprocessor constants.
39187         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39188         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39189         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39191 2012-12-27  Bruno Haible  <bruno@clisp.org>
39193         [BZ #14317]
39194         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39195         only if needed.
39197 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39199         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39200         and use variable directly.
39201         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39203         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39204         MPONE.
39205         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39206         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39207         variable MPONE.
39208         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39209         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39210         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39211         include directive.  Remove local variable MPONE.
39212         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39213         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39214         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39216 2012-12-25  David S. Miller  <davem@davemloft.net>
39218         * version.h (RELEASE): Set to "development".
39219         (VERSION): Set to "2.17.90".
39220         * NEWS: Add 2.18 section.
39222 2012-12-21  David S. Miller  <davem@davemloft.net>
39224         * po/hr.po: Update from translation team.
39226 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39228         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39230 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39232         * NEWS:  Mention new memcpy for MIPS.
39234 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39236         * manual/contrib.texi (Contributors): Spelling correction.
39238 2012-12-15  David S. Miller  <davem@davemloft.net>
39240         * po/ru.po: Update from translation team.
39242 2012-12-13  David S. Miller  <davem@davemloft.net>
39244         * NEWS: Mention IFUNC testsuite enhancements.
39246         * po/pl.po: Update from translation team.
39247         * po/bg.po: Likewise.
39249         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39250         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39252 2012-12-11  David S. Miller  <davem@davemloft.net>
39254         * po/sv.po: Update from translation team.
39256         * po/vi.po: Update from translation team.
39258         * po/cs.po: Update from translation team.
39260         * po/de.po: Update from translation team.
39261         * po/eo.po: Likewise.
39262         * po/nl.po: Likewise.
39264 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39266         [BZ #14246]
39267         * manual/argp.texi (Argp Helper Functions): Move node to follow
39268         Argp Parsing State.
39270         [BZ #14872]
39271         * manual/conf.texi (Limits on File System Capacity): Mention if
39272         terminating null is included in the max size.
39274 2012-12-10  Andreas Jaeger  <aj@suse.de>
39276         * po/cs.po: Update from translation team.
39278 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39280         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39281         void pointer and cast to uintptr_t.
39282         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39283         path.
39284         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39285         * sysdeps/s390/s390-64/memset.S: Likewise.
39287 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39289         [BZ #14833]
39290         * menual/message.texi (Message Translation): Fix typos.
39291         (Helper programs for gettext): Likewise.
39293 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39295         [BZ #14898]
39296         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39297         Change to -1.
39299 2012-12-07  David S. Miller  <davem@davemloft.net>
39301         * po/libc.pot: Update.
39303 2012-12-07  Richard Henderson  <rth@redhat.com>
39305         [BZ #10114]
39306         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39307         normal/normal case to before the switch.
39308         (_FP_DIV): Likewise.
39310 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39311             Mike Frysinger  <vapier@gentoo.org>
39313         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39314         check for __NR_fadvise64_64.
39316 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39318         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39319         0, not just to plain "0" as a statement.
39320         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39321         with cw.
39323 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39325         * NEWS: Use sourceware.org in Bugzilla URL.
39327 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39330         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39332         * stdio-common/tst-put-error.c (do_test): Add newline to the
39333         padded test to ensure flush.
39335 2012-12-05  Jeff Law  <law@redhat.com>
39337         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39339 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39341         * README: Don't refer to ports add-on as distributed separately.
39342         Mention AArch64 in list of systems supported in the ports add-on.
39344         * LICENSES: Add more non-FSF copyright and license notices.
39346         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39347         ((unused)).
39349         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39351         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39352         10000 as width of padded output.
39354 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39356         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39358         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39359         variable LX with __attribute__ ((unused)).
39360         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39361         Likewise.
39362         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39363         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39364         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39365         with __attribute__ ((unused)).
39367 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39369         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39371 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39373         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39374         (CFLAGS-nldbl-acos.c): New variable.
39375         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39376         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39377         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39378         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39379         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39380         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39381         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39382         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39383         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39384         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39385         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39386         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39387         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39388         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39389         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39390         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39391         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39392         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39393         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39394         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39395         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39396         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39397         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39398         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39399         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39400         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39401         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39402         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39403         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39404         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39405         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39406         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39407         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39408         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39409         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39410         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39411         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39412         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39413         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39414         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39415         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39416         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39417         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39418         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39419         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39420         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39421         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39422         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39423         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39424         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39425         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39426         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39427         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39428         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39429         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39430         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39431         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39432         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39433         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39434         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39435         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39436         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39437         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39438         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39439         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39440         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39441         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39442         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39443         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39444         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39445         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39446         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39447         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39448         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39449         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39450         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39451         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39452         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39453         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39454         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39455         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39456         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39457         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39458         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39459         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39460         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39461         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39462         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39463         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39464         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39465         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39466         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39467         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39468         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39469         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39470         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39471         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39474         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39476         [BZ #14914]
39477         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39478         whole low double instead of just low 47 bits when splitting values
39479         into two parts.
39481 2012-12-03  Allan McRae  <allan@archlinux.org>
39483         * manual/stdio.texi (Predefined Printf Handlers): Remove
39484         @hsep and @vsep usage.
39486 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39488         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39489         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39491 2012-12-03  Jeff Law  <law@redhat.com>
39493         * time/sys/time.h (settimeofday): Do not mark TV argument
39494         as __nonnull.
39496 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39498         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39499         when currently writing and seek to current position when not.
39500         * libio/Makefile (tests): Remove bug-fclose1.
39501         * libio/bug-fclose1.c: Delete.
39503 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39505         * manual/arith.texi (feenableexcept): Fix typo.
39506         (fedisableexcept): Likewise.
39508 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39510         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39511         second, differently-typed declaration, rather than a cast.
39513 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39515         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39516         * include/rpc/svc.h: ... here.
39518 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39520         [BZ #13013]
39521         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39522         depending n and resplen2 to catch cases where answer
39523         equals answerp2.
39525 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39527         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39528         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39530 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39532         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39534 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39536         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39538 2012-11-28  Jeff Law  <law@redhat.com>
39540         [BZ #13761]
39541         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39542         dataset_temporary.  Track alloca usage into alloca_used.
39543         If dataset is large allocate and release it via malloc/free.
39545 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39547         [BZ #14197]
39548         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39550 2012-11-28  David S. Miller  <davem@davemloft.net>
39552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39554 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39556         [BZ #14803]
39557         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39558         of pi/2 rounded to nearest to 64 bits.
39559         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39560         nearest to 64 bits.
39561         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39562         bits.
39564 2012-11-28  Jeff Law <law@redhat.com>
39565             Martin Osvald <mosvald@redhat.com>
39567         [BZ #14889]
39568         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39569         * sunrpc/svc.c: Include time.h.
39570         (__svc_accept_failed): New function.
39571         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39572         any reason other than EINTR, call __svc_accept_failed.
39573         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39574         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39576 2012-11-28  Andreas Schwab  <schwab@suse.de>
39578         * scripts/abilist.awk: Also handle indirect functions in .opd
39579         section.
39581 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39583         [BZ #13881]
39584         * sysdeps/x86/fpu/powl_helper.c: New file.
39585         * sysdeps/x86/fpu/Makefile: Likewise.
39586         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39587         (p3): New object.
39588         (__ieee754_powl): Use __powl_helper for finite arguments except
39589         integer exponents below 8.
39590         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39591         (p3): New object.
39592         (__ieee754_powl): Use __powl_helper for finite arguments except
39593         integer exponents below 8.
39594         * math/libm-test.inc (pow_test): Add more tests and enable some
39595         previously disabled tests.
39596         * sysdeps/i386/fpu/libm-test-ulps: Update.
39597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39599 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39600             Carlos O'Donell  <carlos_odonell@mentor.com>
39602         * nss/makedb.c (is_prime): Assert that input is odd and greater
39603         than 4.  Note that fact in a comment too.
39604         (next_prime): Add 4 to input.
39606 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39608         [BZ #11741]
39609         * libio/Makefile (tests): Add test case tst-fwrite-error.
39610         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39611         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39612         * libio/tst-fwrite-error.c: New test case.
39614 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39616         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39617         before casting to void *.
39618         * include/libc-internal.h (__pointer_type): New macro.
39619         (__integer_if_pointer_type_sub): Likewise.
39620         (__integer_if_pointer_type): Likewise.
39621         (cast_to_integer): Likewise.
39622         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39623         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39624         before casting to atomic64_t.
39625         (atomic_exchange_acq): Likewise.
39626         (__arch_exchange_and_add_body): Likewise.
39627         (__arch_add_body): Likewise.
39628         (atomic_add_negative): Likewise.
39629         (atomic_add_zero): Likewise.
39631 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39633         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39634         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39635         (add_fdes): Likewise.
39636         (linear_search_fdes): Likewise.
39637         (binary_search_unencoded_fdes): Likewise.
39639 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39641         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39643 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39645         * configure.in: Autodetect C++ header directories.
39646         * configure: Regenerated.
39648 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39650         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39652 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39656 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39658         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39659         LDBL_MANT_DIG == 106]: Disable some tests.
39660         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39661         Likewise.
39662         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39663         Likewise.
39665         [BZ #14871]
39666         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39667         input for small inputs.  Return +/- pi/2 for large inputs.
39668         * math/libm-test.inc (atan_test): Add more tests.
39670         * sysdeps/generic/unwind-dw2-fde-glibc.c
39671         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39672         __attribute__ ((unused)).
39674         [BZ #14645]
39675         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39676         x * y if x and y are nonzero and z is zero.
39678         [BZ #14811]
39679         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39680         nonzero exponents with absolute value below 0x1p-117 to +/-
39681         0x1p-117.
39683         [BZ #14869]
39684         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39685         up arguments below 2**-450, not just those below 2**-500.
39686         * math/libm-test.inc (hypot_test): Add another test.
39688         [BZ #14868]
39689         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39690         Return a+b for ratio over 2**120, not 2**60.
39691         * math/libm-test.inc (hypot_test): Add another test.
39693         * math/libm-test.inc (clog_test): Use
39694         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39695         (clog10_test): Likewise.
39697         [BZ #6778]
39698         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39700 2012-11-22  Andreas Schwab  <schwab@suse.de>
39702         * sysdeps/i386/fpu/libm-test-ulps: Update.
39704 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39706         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39707         printf output with newline.
39709 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39711         [BZ #14865]
39712         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39713         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39714         -z nodlopen, -z initfirst and -z execstack support.
39715         * configure: Regenerated.
39717         * elf/elf.h (DF_1_NODIRECT): New macro.
39718         (DF_1_IGNMULDEF): Likewise.
39719         (DF_1_NOKSYMS): Likewise.
39720         (DF_1_NOHDR): Likewise.
39721         (DF_1_EDITED): Likewise.
39722         (DF_1_NORELOC): Likewise.
39723         (DF_1_SYMINTPOSE): Likewise.
39724         (DF_1_GLOBAUDIT): Likewise.
39725         (DF_1_SINGLETON): Likewise.
39726         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39727         DT_1_SUPPORTED_MASK bits.
39728         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39730 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39732         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39734 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39736         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39737         macro.
39739         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39740         (sendmmsg): Move declarations...
39741         * socket/sys/socket.h: ... here.
39742         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39743         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39744         include it from...
39745         * socket/recvmmsg.c: ... this new file.
39746         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39747         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39748         definition of __sendmmsg hidden.
39749         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39750         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39751         Move ENOSYS stub into and include it from...
39752         * socket/sendmmsg.c: ... this new file.
39753         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39754         (sysdep_routines): Move recvmmsg and sendmmsg...
39755         * socket/Makefile (routines): ... here.
39756         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39757         (GLIBC_PRIVATE): Add __sendmmsg.
39758         * include/sys/socket.h (__sendmmsg): Add declarations.
39759         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39760         sendmmsg.
39762 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39764         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39765         variable I1 with __attribute__ ((unused)).
39766         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39768 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39770         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39771         DUMMY variables with __attribute__ ((unused)).
39773         * bits/byteswap.h: Include <bits/types.h>.
39774         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39776 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39778         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39779         string_t.  Do not manually set errno.
39780         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39781         length with __strnlen.  Make sure to both set errno and return it on
39782         failure.
39784 2012-11-19  David S. Miller  <davem@davemloft.net>
39786         With help from Joseph Myers.
39787         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39788         very large arguments properly.
39789         * math/libm-test.inc (atan_test): New tests.
39790         (atan2_test): New tests.
39791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39792         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39794 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39796         [BZ #14856]
39797         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39798         Define to 3.
39800         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39801         [POSIX] (EADDRNOTAVAIL): Likewise.
39802         [POSIX] (EAFNOSUPPORT): Likewise.
39803         [POSIX] (EALREADY): Likewise.
39804         [POSIX] (ECONNABORTED): Likewise.
39805         [POSIX] (ECONNREFUSED): Likewise.
39806         [POSIX] (ECONNRESET): Likewise.
39807         [POSIX] (EDESTADDRREQ): Likewise.
39808         [POSIX] (EDQUOT): Likewise.
39809         [POSIX] (EHOSTUNREACH): Likewise.
39810         [POSIX] (EIDRM): Likewise.
39811         [POSIX] (EISCONN): Likewise.
39812         [POSIX] (ELOOP): Likewise.
39813         [POSIX] (EMULTIHOP): Likewise.
39814         [POSIX] (ENETDOWN): Likewise.
39815         [POSIX] (ENETUNREACH): Likewise.
39816         [POSIX] (ENOBUFS): Likewise.
39817         [POSIX] (ENODATA): Likewise.
39818         [POSIX] (ENOLINK): Likewise.
39819         [POSIX] (ENOMSG): Likewise.
39820         [POSIX] (ENOPROTOOPT): Likewise.
39821         [POSIX] (ENOSR): Likewise.
39822         [POSIX] (ENOSTR): Likewise.
39823         [POSIX] (ENOTCONN): Likewise.
39824         [POSIX] (ENOTSOCK): Likewise.
39825         [POSIX] (EOPNOTSUPP): Likewise.
39826         [POSIX] (EOVERFLOW): Likewise.
39827         [POSIX] (EPROTO): Likewise.
39828         [POSIX] (EPROTONOSUPPORT): Likewise.
39829         [POSIX] (EPROTOTYPE): Likewise.
39830         [POSIX] (ESTALE): Likewise.
39831         [POSIX] (ETIME): Likewise.
39832         [POSIX] (ETXTBSY): Likewise.
39833         [POSIX] (EWOULDBLOCK): Likewise.
39834         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39835         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39836         [POSIX] (SEEK_CUR): Likewise.
39837         [POSIX] (SEEK_END): Likewise.
39838         [POSIX || UNIX98] (mode_t): Do not require.
39839         [POSIX] (off_t): Likewise.
39840         [POSIX] (pid_t): Likewise.
39841         [POSIX] (sys/stat.h): Do not allow header.
39842         [POSIX] (unistd.h): Likewise.
39843         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39844         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39845         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39846         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39847         require.
39848         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39849         sigevent): Specify elements.
39850         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39851         entry.
39852         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39853         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39855         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39856         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39857         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39858         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39859         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39860         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39861         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39862         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39863         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39864         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39865         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39866         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39867         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39868         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39869         Likewise.
39870         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39871         Likewise.
39872         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39873         Likewise.
39874         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39875         Likewise.
39876         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39877         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39878         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39879         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39880         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39881         Specify lower bound on value.
39882         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39883         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39884         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39885         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39886         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39887         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39888         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39889         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39890         value.
39891         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39892         as optional.
39893         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39894         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39895         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39896         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39897         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39898         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39899         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39900         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39901         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39902         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39903         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39904         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39905         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39906         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39907         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39908         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39909         entry.
39910         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39911         optional.
39912         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39913         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39914         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39915         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39916         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39917         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39918         Likewise.
39919         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39920         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39921         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39922         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39923         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39924         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39925         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39926         as optional.
39927         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39928         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39929         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39930         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39931         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39932         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39933         specify as optional.
39934         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39935         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39936         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39937         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39938         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39939         [XPG3] (NL_LANGMAX): Likewise.
39940         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39941         [POSIX || XPG3] (NL_NMAX): Likewise.
39942         [POSIX || XPG3] (NL_SETMAX): Likewise.
39943         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39944         [XPG3] (NZERO): Likewise.
39945         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39946         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39947         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39948         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39949         (REG_ERANGE): Expect.
39950         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39951         optional-constant.
39952         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39953         Use (void) in prototype.
39954         [POSIX] (*_t): Allow.
39955         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39956         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39957         (WRDE_BADVAL): Expect.
39959         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39960         expect.
39961         [XPG3 || XPG4] (O_RSYNC): Likewise.
39962         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39963         Likewise.
39964         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39965         [XPG3 || XPG4] (sigqueue): Likewise.
39966         [XPG3 || XPG4] (sigtimedwait): Likewise.
39967         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39968         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39969         [XPG3 || XPG4] (vsnprintf): Likewise.
39970         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39971         Likewise.
39972         [XPG3 || XPG4] (blksize_t): Likewise.
39973         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39974         Likewise.
39975         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39976         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39977         [XPG3 || XPG4] (struct itimerspec): Likewise.
39978         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39979         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39980         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39981         [XPG3 || XPG4] (clockid_t): Likewise.
39982         [XPG3 || XPG4] (timer_t): Likewise.
39983         [XPG3 || XPG4] (clock_getres): Likewise.
39984         [XPG3 || XPG4] (clock_gettime): Likewise.
39985         [XPG3 || XPG4] (clock_settime): Likewise.
39986         [XPG3 || XPG4] (nanosleep): Likewise.
39987         [XPG3 || XPG4] (timer_create): Likewise.
39988         [XPG3 || XPG4] (timer_delete): Likewise.
39989         [XPG3 || XPG4] (timer_gettime): Likewise.
39990         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39991         [XPG3 || XPG4] (timer_settime): Likewise.
39992         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39993         [XPG3 || XPG4] (getlogin_r): Likewise.
39994         [XPG3 || XPG4] (pread): Likewise.
39995         [XPG3 || XPG4] (pthread_atfork): Likewise.
39996         [XPG3 || XPG4] (pwrite): Likewise.
39998         [BZ #14835]
39999         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40000         <bits/siginfo.h>.
40002 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
40004         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40005         finalizing MALLSTREAM.
40007         * sysdeps/mach/hurd/syncfs.c: New file.
40009 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40011         [BZ #14719]
40012         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40013         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40014         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40015         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40016         (_nss_dns_gethostbyname4_r): Likewise.
40017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40018         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40020 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40022         [BZ #13763]
40023         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40025 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40027         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40028         * elf/cache.c (print_entry): Print ",AArch64" for
40029         FLAG_AARCH64_LIB64
40031         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40032         * elf/cache.c (print_entry): Print ",hard-float" for
40033         FLAG_ARM_LIBHF.
40035 2012-11-18  David S. Miller  <davem@davemloft.net>
40037         With help from Joseph Myers.
40038         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40039         cutoff to 2**-13.
40040         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40041         cutoff to 2**-25.
40042         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40043         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40044         small.
40045         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40046         * math/libm-test.inc (y0_test): New tests.
40047         (y1_test): New tests.
40048         * sysdeps/i386/fpu/libm-test-ulps: Update.
40049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40052 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40054         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40055         64-bit targets.
40056         * configure: Regenerated.
40058 2012-11-17  David S. Miller  <davem@davemloft.net>
40060         [BZ #14811]
40061         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40062         nonzero exponents with absolute value below 0x1p-128 to +/-
40063         0x1p-128.
40065 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40067         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40069         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40071         * posix/getconf-speclist.c: New file.
40072         * posix/posix-envs.def: Likewise.
40073         * posix/confstr.c (START_ENV_GROUP): New macro.
40074         (END_ENV_GROUP): Likewise.
40075         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40076         (KNOWN_PRESENT_ENV_STRING): Likewise.
40077         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40078         (UNKNOWN_ENVIRONMENT): Likewise.
40079         (confstr): Include posix-envs.def instead of handling
40080         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40081         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40082         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40083         (END_ENV_GROUP): Likewise.
40084         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40085         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40086         (UNKNOWN_ENVIRONMENT): Likewise.
40087         (__sysconf): Include posix-envs.def instead of handling associated
40088         cases directly here.
40089         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40090         preprocessing getconf-speclist.c rather than running getconf or
40091         generating empty file.
40093 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40095         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40097 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40099         [BZ #14672]
40100         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40102 2012-11-16  David S. Miller  <davem@davemloft.net>
40104         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40105         smaller than LDBL_EPSILON/2.0L, just return xm1.
40107 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40109         * elf/tst-array1.c (init): Set constructor priority to 1000.
40110         (fini): Set destructor priority to 1000.
40111         * elf/tst-array2dep.c: Likewise.
40113 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40115         [BZ #11741]
40116         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40117         (_IO_new_file_xsputn): Also return EOF if none of the input
40118         data was written when overflow failed.
40119         * libio/iopadn.c (_IO_padn): Likewise.
40120         * libio/iowpadn.c (_IO_wpadn): Likewise.
40121         * stdio-common/tst-put-error.c: Add copyright notice.
40122         (do_test): Add case for printing padded string.
40123         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40124         _IO_padn returned error.
40125         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40126         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40127         return EOF.
40129 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40131         * libio/libioP.h: Add comment note that the references to C++
40132         bits are now obsolete.
40134 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40136         * math/libm-test.inc (check_complex): Use asprintf.
40138 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40140         * debug/pcprofiledump.c (print_version): Update copyright year.
40141         * malloc/memusagestat.c (print_version): Likewise.
40143 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40145         [BZ #14831]
40146         * elf/Makefile (tests): Add tst-audit8.
40147         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40148         ($(objpfx)tst-audit8.out): New target.
40149         (tst-audit8-ENV): New variable.
40150         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40151         audit if l_reloc_result is NULL.
40152         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40153         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40154         * elf/tst-audit8.c: New file.
40156 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40158         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40159         * misc/Makefile (CFLAGS-select.c): Define.
40160         * posix/Makefile (CFLAGS-pause.c): Define.
40162 2012-11-13  David S. Miller  <davem@davemloft.net>
40164         * crypt/Makefile: Move test targets after toplevel Rules
40165         inclusion.  Grab any necessary sysdep routines when linking.
40166         * crypt/md5.c (md5_process_block): Remove define, we will always
40167         name it __md5_process_block.
40168         (md5_finish_ctx): Update md5_process_block call.
40169         (md5_stream): Likewise.
40170         (md5_process_bytes): Likewise.
40171         (md5_process_block): Rename to __md5_process_block and move to ...
40172         * crypt/md5-block.c: ... here.
40173         * crypt/sha256.c (sha256_process_block): Move to ...
40174         * crypt/sha256-block.c: ... here.
40175         * crypt/sha512.c (sha512_process_block): Move to ...
40176         * crypt/sha512-block.c: ... here.
40177         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40178         path.
40179         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40180         * sysdeps/sparc/sparc64/multiarch/Makefile
40181         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40182         crypt subdir.
40183         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40184         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40185         multiarch changes.
40186         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40187         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40188         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40189         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40190         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40191         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40192         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40193         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40194         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40195         file.
40196         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40197         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40198         file.
40199         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40201 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40203         * timezone/tzselect.ksh: Update from tzcode git revision
40204         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40205         * timezone/zdump.c: Likewise.
40206         * timezone/zic.c: Likewise.
40207         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40208         in TZVERSION setting, not $(PKGVERSION).
40209         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40210         REPORT_BUGS_TO settings.
40212         [BZ #14838]
40213         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40214         macro.
40216 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40218         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40219         detection to immediately after _FP_ROUND().
40220         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40221         bits are 0.
40223 2012-11-11  David S. Miller  <davem@davemloft.net>
40225         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40226         inttypes.h
40227         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40228         __close rather than their public counterparts.
40230 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40232         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40233         file.
40234         [UNIX98] (sem_timedwait): Do not expect.
40235         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40236         [XPG4 || UNIX98] (sockatmark): Do not expect.
40237         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40238         (clock_getcpuclockid): Do not expect.
40239         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40240         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40241         Do not expect.
40242         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40243         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40244         [UNIX98] (vwscanf): Likewise.
40245         [UNIX98] (vswscanf): Likewise.
40247 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40249         * timezone/version.h: Remove file.
40250         * timezone/README: Do not refer to version.h.
40251         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40252         $(objpfx)version.h.
40253         ($(objpfx)zdump.o): Likewise.
40254         ($(objpfx)version.h): New target.
40256         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40257         2012i.
40258         * timezone/README: Don't mention modification to tzselect.ksh.
40259         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40260         work on unmodified tzselect.ksh.  Substitute version numbers in
40261         tzselect.ksh.
40263         * Makefile (format-me): Remove.
40264         (INSTALL): Adjust indentation.  Use commands directly instead of
40265         using $(format-me).
40267         * aclocal.m4 (ACX_PKGVERSION): New macro.
40268         (ACX_BUGURL): Likewise.
40269         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40270         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40271         (REPORT_BUGS_TO): Likewise.
40272         * configure: Regenerated.
40273         * config.h.in (PKGVERSION): New macro.
40274         (REPORT_BUGS_TO): Likewise.
40275         * config.make.in (PKGVERSION): New variable.
40276         (PKGVERSION_TEXI): Likewise.
40277         (REPORT_BUGS_TO): Likewise.
40278         (REPORT_BUGS_TEXI): Likewise.
40279         * Makefile (format-me): Use -I$(common-objpfx)manual.
40280         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40281         ($(common-objpfx)manual/%): New target.
40282         (manual/%): Remove target.
40283         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40284         (print_version): Use PKGVERSION.
40285         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40286         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40287         and REPORT_BUGS_TO.
40288         ($(objpfx)xtrace): Likewise.
40289         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40290         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40291         (print_version): Use PKGVERSION.
40292         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40293         (do_version): Use PKGVERSION.
40294         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40295         REPORT_BUGS_TO.
40296         (common-ldd-rewrite): Likewise.
40297         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40298         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40299         (print_version): Use PKGVERSION.
40300         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40301         * elf/pldd.c (argp_program_bug_address): Remove variable.
40302         (more_help): New function.
40303         (argp): Use more_help.
40304         (print_version): Use PKGVERSION.
40305         * elf/sln.c (main): Use PKGVERSION.
40306         (usage): Use REPORT_BUGS_TO.
40307         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40308         (top level): Use PKGVERSION.
40309         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40310         (print_version): Use PKGVERSION.
40311         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40312         (print_version): Use PKGVERSION.
40313         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40314         (print_version): Use PKGVERSION.
40315         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40316         (print_version): Use PKGVERSION.
40317         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40318         (print_version): Use PKGVERSION.
40319         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40320         (print_version): Use PKGVERSION.
40321         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40322         and BUGURL.
40323         ($(objpfx)memusage): Likewise.
40324         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40325         (do_version): Use PKGVERSION.
40326         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40327         (print_version): Use PKGVERSION.
40328         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40329         ($PKGVERSION): New variable.
40330         ($REPORT_BUGS_TO): Likewise.
40331         (usage): Use $REPORT_BUGS_TO.
40332         (top level): Use $PKGVERSION.
40333         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40334         ($(objpfx)pkgvers.texi): New rule.
40335         ($(objpfx)stamp-pkgvers): Likewise.
40336         * manual/install.texi: Include pkgvers.texi.
40337         (--with-pkgversion): Document new configure option.
40338         (--with-bugurl): Likewise.
40339         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40340         than necessarily for this particular distribution.  Use
40341         REPORT_BUGS_TO for where to report bugs.
40342         * INSTALL: Regenerated.
40343         * manual/libc.texinfo: Include pkgvers.texi.
40344         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40345         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40346         (print_version): Use PKGVERSION.
40347         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40348         (print_version): Use PKGVERSION.
40349         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40350         (print_version): Use PKGVERSION.
40351         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40352         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40353         macro.
40354         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40355         (print_version): Use PKGVERSION.
40356         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40357         (print_version): Use PKGVERSION.
40358         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40359         and PKGVERSION.
40361         * timezone/checktab.awk: Update from tzcode 2012i.
40362         * timezone/ialloc.c: Likewise.
40363         * timezone/private.h: Likewise.
40364         * timezone/scheck.c: Likewise.
40365         * timezone/tzfile.h: Likewise.
40366         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40367         (TZVERSION): Hardcode tzcode version number.
40368         * timezone/zdump.c: Update from tzcode 2012i.
40369         * timezone/zic.c: Likewise.
40370         * timezone/version.h: New file.
40371         * timezone/README: Describe version.h.  Update upstream location.
40373         [BZ #14824]
40374         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40375         (mktemp): Enable declaration.
40376         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40377         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40378         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40379         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40380         Likewise.
40381         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40382         Likewise.
40383         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40384         Likewise.
40385         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40386         Likewise.
40387         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40388         Likewise.
40389         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40390         Likewise.
40392         [BZ #14821]
40393         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40394         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40395         for copies of such integer values.
40396         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40397         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40399 2012-11-09  Andreas Jaeger  <aj@suse.de>
40401         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40402         definitions and declarations that are provided by
40403         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40405 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40407         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40408         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40409         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40410         definition.
40412 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40414         * elf/elf.h: Update comment before AArch64 relocations.
40416 2012-11-07  David S. Miller  <davem@davemloft.net>
40418         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40419         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40420         (__start_context): Declare.
40421         (__makecontext_ret): Delete.
40422         (__makecontext): Hook up __start_context instead of
40423         __makecontext_ret.
40424         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40425         (sysdep_routines): Add __start_context when in stdlib.
40427 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40429         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40430         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40431         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40432         hardcoded "nm".
40433         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40434         (READELF): New variable.  Use it instead of hardcoded "readelf".
40436 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40438         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40439         * sysdeps/x86/Makefile: Here.
40440         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40441         * sysdeps/x86/tst-xmmymm.sh: This.
40443 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40445         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40446         expectations.
40447         [UNIX98] (pthread_barrier_t): Do not expect.
40448         [UNIX98] (pthread_barrierattr_t): Likewise.
40449         [UNIX98] (pthread_spinlock_t): Likewise.
40450         [UNIX98] (pthread_barrier_destroy): Likewise.
40451         [UNIX98] (pthread_barrier_init): Likewise.
40452         [UNIX98] (pthread_barrier_wait): Likewise.
40453         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40454         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40455         [UNIX98] (pthread_barrierattr_init): Likewise.
40456         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40457         [UNIX98] (pthread_getcpuclockid): Likewise.
40458         [UNIX98] (pthread_mutex_timedlock): Likewise.
40459         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40460         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40461         [UNIX98] (pthread_sigmask): Likewise.
40462         [UNIX98] (pthread_spin_destroy): Likewise.
40463         [UNIX98] (pthread_spin_init): Likewise.
40464         [UNIX98] (pthread_spin_lock): Likewise.
40465         [UNIX98] (pthread_spin_trylock): Likewise.
40466         [UNIX98] (pthread_spin_unlock): Likewise.
40467         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40468         Do not expect.
40469         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40470         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40471         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40472         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40473         [XPG3 || XPG4] (pthread_key_t): Likewise.
40474         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40475         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40476         [XPG3 || XPG4] (pthread_once_t): Likewise.
40477         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40478         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40479         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40480         [XPG3 || XPG4] (pthread_t): Likewise.
40482         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40483         not expect.
40484         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40486         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40487         Change function return type to int.
40489         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40490         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40491         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40492         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40493         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40494         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40495         [!POSIX] (posix_madvise): Likewise.
40496         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40497         && !UNIX98].
40498         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40499         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40500         (mode_t): Likewise.
40501         (posix_mem_offset): Likewise.
40502         (posix_typed_mem_get_info): Likewise.
40503         (posix_typed_mem_open): Likewise.
40505         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40506         Change condition to [XOPEN2K8].
40508         * conform/conformtest.pl: Preprocess allow-header data with -x c
40509         instead of from stdin.
40510         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40511         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40512         [C99-based standards] (cerfc): Likewise.
40513         [C99-based standards] (cexp2): Likewise.
40514         [C99-based standards] (cexpm1): Likewise.
40515         [C99-based standards] (clog10): Likewise.
40516         [C99-based standards] (clog1p): Likewise.
40517         [C99-based standards] (clog2): Likewise.
40518         [C99-based standards] (clgamma): Likewise.
40519         [C99-based standards] (ctgamma): Likewise.
40520         [C99-based standards] (cerff): Likewise.
40521         [C99-based standards] (cerfcf): Likewise.
40522         [C99-based standards] (cexp2f): Likewise.
40523         [C99-based standards] (cexpm1f): Likewise.
40524         [C99-based standards] (clog10f): Likewise.
40525         [C99-based standards] (clog1pf): Likewise.
40526         [C99-based standards] (clog2f): Likewise.
40527         [C99-based standards] (clgammaf): Likewise.
40528         [C99-based standards] (ctgammaf): Likewise.
40529         [C99-based standards] (cerfl): Likewise.
40530         [C99-based standards] (cerfcl): Likewise.
40531         [C99-based standards] (cexp2l): Likewise.
40532         [C99-based standards] (cexpm1l): Likewise.
40533         [C99-based standards] (clog10l): Likewise.
40534         [C99-based standards] (clog1pl): Likewise.
40535         [C99-based standards] (clog2l): Likewise.
40536         [C99-based standards] (clgammal): Likewise.
40537         [C99-based standards] (ctgammal): Likewise.
40538         * conform/data/inttypes.h-data [C99-based standards]: Include
40539         stdint.h-data.  Remove all expectations for stdint.h contents.
40540         [C99-based standards] (PRI*): Do not allow.
40541         [C99-based standards] (SCN*): Likewise.
40542         [C99-based standards] (*_t): Likewise.
40543         [C99-based-standards] (PRId8): Expect macro.
40544         [C99-based-standards] (PRIi8): Likewise.
40545         [C99-based-standards] (PRIo8): Likewise.
40546         [C99-based-standards] (PRIu8): Likewise.
40547         [C99-based-standards] (PRIx8): Likewise.
40548         [C99-based-standards] (PRIX8): Likewise.
40549         [C99-based-standards] (SCNd8): Likewise.
40550         [C99-based-standards] (SCNi8): Likewise.
40551         [C99-based-standards] (SCNo8): Likewise.
40552         [C99-based-standards] (SCNu8): Likewise.
40553         [C99-based-standards] (SCNx8): Likewise.
40554         [C99-based-standards] (PRIdLEAST8): Likewise.
40555         [C99-based-standards] (PRIiLEAST8): Likewise.
40556         [C99-based-standards] (PRIoLEAST8): Likewise.
40557         [C99-based-standards] (PRIuLEAST8): Likewise.
40558         [C99-based-standards] (PRIxLEAST8): Likewise.
40559         [C99-based-standards] (PRIXLEAST8): Likewise.
40560         [C99-based-standards] (SCNdLEAST8): Likewise.
40561         [C99-based-standards] (SCNiLEAST8): Likewise.
40562         [C99-based-standards] (SCNoLEAST8): Likewise.
40563         [C99-based-standards] (SCNuLEAST8): Likewise.
40564         [C99-based-standards] (SCNxLEAST8): Likewise.
40565         [C99-based-standards] (PRIdFAST8): Likewise.
40566         [C99-based-standards] (PRIiFAST8): Likewise.
40567         [C99-based-standards] (PRIoFAST8): Likewise.
40568         [C99-based-standards] (PRIuFAST8): Likewise.
40569         [C99-based-standards] (PRIxFAST8): Likewise.
40570         [C99-based-standards] (PRIXFAST8): Likewise.
40571         [C99-based-standards] (SCNdFAST8): Likewise.
40572         [C99-based-standards] (SCNiFAST8): Likewise.
40573         [C99-based-standards] (SCNoFAST8): Likewise.
40574         [C99-based-standards] (SCNuFAST8): Likewise.
40575         [C99-based-standards] (SCNxFAST8): Likewise.
40576         [C99-based-standards] (PRId16): Likewise.
40577         [C99-based-standards] (PRIi16): Likewise.
40578         [C99-based-standards] (PRIo16): Likewise.
40579         [C99-based-standards] (PRIu16): Likewise.
40580         [C99-based-standards] (PRIx16): Likewise.
40581         [C99-based-standards] (PRIX16): Likewise.
40582         [C99-based-standards] (SCNd16): Likewise.
40583         [C99-based-standards] (SCNi16): Likewise.
40584         [C99-based-standards] (SCNo16): Likewise.
40585         [C99-based-standards] (SCNu16): Likewise.
40586         [C99-based-standards] (SCNx16): Likewise.
40587         [C99-based-standards] (PRIdLEAST16): Likewise.
40588         [C99-based-standards] (PRIiLEAST16): Likewise.
40589         [C99-based-standards] (PRIoLEAST16): Likewise.
40590         [C99-based-standards] (PRIuLEAST16): Likewise.
40591         [C99-based-standards] (PRIxLEAST16): Likewise.
40592         [C99-based-standards] (PRIXLEAST16): Likewise.
40593         [C99-based-standards] (SCNdLEAST16): Likewise.
40594         [C99-based-standards] (SCNiLEAST16): Likewise.
40595         [C99-based-standards] (SCNoLEAST16): Likewise.
40596         [C99-based-standards] (SCNuLEAST16): Likewise.
40597         [C99-based-standards] (SCNxLEAST16): Likewise.
40598         [C99-based-standards] (PRIdFAST16): Likewise.
40599         [C99-based-standards] (PRIiFAST16): Likewise.
40600         [C99-based-standards] (PRIoFAST16): Likewise.
40601         [C99-based-standards] (PRIuFAST16): Likewise.
40602         [C99-based-standards] (PRIxFAST16): Likewise.
40603         [C99-based-standards] (PRIXFAST16): Likewise.
40604         [C99-based-standards] (SCNdFAST16): Likewise.
40605         [C99-based-standards] (SCNiFAST16): Likewise.
40606         [C99-based-standards] (SCNoFAST16): Likewise.
40607         [C99-based-standards] (SCNuFAST16): Likewise.
40608         [C99-based-standards] (SCNxFAST16): Likewise.
40609         [C99-based-standards] (PRId32): Likewise.
40610         [C99-based-standards] (PRIi32): Likewise.
40611         [C99-based-standards] (PRIo32): Likewise.
40612         [C99-based-standards] (PRIu32): Likewise.
40613         [C99-based-standards] (PRIx32): Likewise.
40614         [C99-based-standards] (PRIX32): Likewise.
40615         [C99-based-standards] (SCNd32): Likewise.
40616         [C99-based-standards] (SCNi32): Likewise.
40617         [C99-based-standards] (SCNo32): Likewise.
40618         [C99-based-standards] (SCNu32): Likewise.
40619         [C99-based-standards] (SCNx32): Likewise.
40620         [C99-based-standards] (PRIdLEAST32): Likewise.
40621         [C99-based-standards] (PRIiLEAST32): Likewise.
40622         [C99-based-standards] (PRIoLEAST32): Likewise.
40623         [C99-based-standards] (PRIuLEAST32): Likewise.
40624         [C99-based-standards] (PRIxLEAST32): Likewise.
40625         [C99-based-standards] (PRIXLEAST32): Likewise.
40626         [C99-based-standards] (SCNdLEAST32): Likewise.
40627         [C99-based-standards] (SCNiLEAST32): Likewise.
40628         [C99-based-standards] (SCNoLEAST32): Likewise.
40629         [C99-based-standards] (SCNuLEAST32): Likewise.
40630         [C99-based-standards] (SCNxLEAST32): Likewise.
40631         [C99-based-standards] (PRIdFAST32): Likewise.
40632         [C99-based-standards] (PRIiFAST32): Likewise.
40633         [C99-based-standards] (PRIoFAST32): Likewise.
40634         [C99-based-standards] (PRIuFAST32): Likewise.
40635         [C99-based-standards] (PRIxFAST32): Likewise.
40636         [C99-based-standards] (PRIXFAST32): Likewise.
40637         [C99-based-standards] (SCNdFAST32): Likewise.
40638         [C99-based-standards] (SCNiFAST32): Likewise.
40639         [C99-based-standards] (SCNoFAST32): Likewise.
40640         [C99-based-standards] (SCNuFAST32): Likewise.
40641         [C99-based-standards] (SCNxFAST32): Likewise.
40642         [C99-based-standards] (PRId64): Likewise.
40643         [C99-based-standards] (PRIi64): Likewise.
40644         [C99-based-standards] (PRIo64): Likewise.
40645         [C99-based-standards] (PRIu64): Likewise.
40646         [C99-based-standards] (PRIx64): Likewise.
40647         [C99-based-standards] (PRIX64): Likewise.
40648         [C99-based-standards] (SCNd64): Likewise.
40649         [C99-based-standards] (SCNi64): Likewise.
40650         [C99-based-standards] (SCNo64): Likewise.
40651         [C99-based-standards] (SCNu64): Likewise.
40652         [C99-based-standards] (SCNx64): Likewise.
40653         [C99-based-standards] (PRIdLEAST64): Likewise.
40654         [C99-based-standards] (PRIiLEAST64): Likewise.
40655         [C99-based-standards] (PRIoLEAST64): Likewise.
40656         [C99-based-standards] (PRIuLEAST64): Likewise.
40657         [C99-based-standards] (PRIxLEAST64): Likewise.
40658         [C99-based-standards] (PRIXLEAST64): Likewise.
40659         [C99-based-standards] (SCNdLEAST64): Likewise.
40660         [C99-based-standards] (SCNiLEAST64): Likewise.
40661         [C99-based-standards] (SCNoLEAST64): Likewise.
40662         [C99-based-standards] (SCNuLEAST64): Likewise.
40663         [C99-based-standards] (SCNxLEAST64): Likewise.
40664         [C99-based-standards] (PRIdFAST64): Likewise.
40665         [C99-based-standards] (PRIiFAST64): Likewise.
40666         [C99-based-standards] (PRIoFAST64): Likewise.
40667         [C99-based-standards] (PRIuFAST64): Likewise.
40668         [C99-based-standards] (PRIxFAST64): Likewise.
40669         [C99-based-standards] (PRIXFAST64): Likewise.
40670         [C99-based-standards] (SCNdFAST64): Likewise.
40671         [C99-based-standards] (SCNiFAST64): Likewise.
40672         [C99-based-standards] (SCNoFAST64): Likewise.
40673         [C99-based-standards] (SCNuFAST64): Likewise.
40674         [C99-based-standards] (SCNxFAST64): Likewise.
40675         [C99-based-standards] (PRIdMAX): Likewise.
40676         [C99-based-standards] (PRIiMAX): Likewise.
40677         [C99-based-standards] (PRIoMAX): Likewise.
40678         [C99-based-standards] (PRIuMAX): Likewise.
40679         [C99-based-standards] (PRIxMAX): Likewise.
40680         [C99-based-standards] (PRIXMAX): Likewise.
40681         [C99-based-standards] (SCNdMAX): Likewise.
40682         [C99-based-standards] (SCNiMAX): Likewise.
40683         [C99-based-standards] (SCNoMAX): Likewise.
40684         [C99-based-standards] (SCNuMAX): Likewise.
40685         [C99-based-standards] (SCNxMAX): Likewise.
40686         [C99-based-standards] (PRIdPTR): Likewise.
40687         [C99-based-standards] (PRIiPTR): Likewise.
40688         [C99-based-standards] (PRIoPTR): Likewise.
40689         [C99-based-standards] (PRIuPTR): Likewise.
40690         [C99-based-standards] (PRIxPTR): Likewise.
40691         [C99-based-standards] (PRIXPTR): Likewise.
40692         [C99-based-standards] (SCNdPTR): Likewise.
40693         [C99-based-standards] (SCNiPTR): Likewise.
40694         [C99-based-standards] (SCNoPTR): Likewise.
40695         [C99-based-standards] (SCNuPTR): Likewise.
40696         [C99-based-standards] (SCNxPTR): Likewise.
40697         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40698         allow.
40699         * conform/data/stdint.h-data: Update comments to clarify
40700         requirements.
40701         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40702         type.
40703         [C99-based standards] (INT8_MAX): Likewise.
40704         [C99-based standards] (INT16_MIN): Likewise.
40705         [C99-based standards] (INT16_MAX): Likewise.
40706         [C99-based standards] (INT32_MIN): Likewise.
40707         [C99-based standards] (INT32_MAX): Likewise.
40708         [C99-based standards] (INT64_MIN): Likewise.
40709         [C99-based standards] (INT64_MAX): Likewise.
40710         [C99-based standards] (UINT8_MAX): Likewise.
40711         [C99-based standards] (UINT16_MAX): Likewise.
40712         [C99-based standards] (UINT32_MAX): Likewise.
40713         [C99-based standards] (UINT64_MAX): Likewise.
40714         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40715         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40716         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40717         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40718         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40719         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40720         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40721         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40722         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40723         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40724         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40725         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40726         [C99-based standards] (INT_FAST8_MIN): Likewise.
40727         [C99-based standards] (INT_FAST8_MAX): Likewise.
40728         [C99-based standards] (INT_FAST16_MIN): Likewise.
40729         [C99-based standards] (INT_FAST16_MAX): Likewise.
40730         [C99-based standards] (INT_FAST32_MIN): Likewise.
40731         [C99-based standards] (INT_FAST32_MAX): Likewise.
40732         [C99-based standards] (INT_FAST64_MIN): Likewise.
40733         [C99-based standards] (INT_FAST64_MAX): Likewise.
40734         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40735         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40736         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40737         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40738         [C99-based standards] (INTPTR_MIN): Likewise.
40739         [C99-based standards] (INTPTR_MAX): Likewise.
40740         [C99-based standards] (UINTPTR_MAX): Likewise.
40741         [C99-based standards] (INTMAX_MIN): Likewise.
40742         [C99-based standards] (INTMAX_MAX): Likewise.
40743         [C99-based standards] (UINTMAX_MAX): Likewise.
40744         [C99-based standards] (PTRDIFF_MIN): Likewise.
40745         [C99-based standards] (PTRDIFF_MAX): Likewise.
40746         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40747         [C99-based standards] (SIZE_MAX): Likewise.
40748         [C99-based standards] (WCHAR_MAX): Likewise.
40749         [C99-based standards] (WINT_MAX): Likewise.
40750         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40751         constraint on value.
40752         [C99-based standards] (WCHAR_MIN): Likewise.
40753         [C99-based standards] (WINT_MIN): Likewise.
40754         [C99-based standards] (*_t): Allow.
40755         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40756         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40757         Include math.h-data and complex.h-data.  Remove all expectations
40758         of math.h and complex.h contents.
40759         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40760         at end of line.
40761         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40762         (struct tm): Expect tag.
40763         [C99-based-standards] (wcstof): Expect function.
40764         [C99-based-standards] (wcstold): Likewise.
40765         [C99-based-standards] (wcstoll): Likewise.
40766         [C99-based-standards] (wcstoull): Likewise.
40767         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40768         macro-int-constant.  Specify type.
40769         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40770         constraint on value.
40771         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40772         Specify type.
40773         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40774         Specify value.
40775         [ISO C standards]: Do not allow headers.
40776         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40777         wcs[abcdefghijklmnopqrstuvwxyz]*.
40778         [ISO C standards] (*_t): Do not allow.
40779         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40780         Expect function.
40781         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40782         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40783         Specify type.
40784         [ISO C standards]: Do not allow headers.
40785         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40786         is[abcdefghijklmnopqrstuvwxyz]*.
40787         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40788         to[abcdefghijklmnopqrstuvwxyz]*.
40789         [ISO C standards] (*_t): Do not allow.
40790         * conform/data/stdalign.h-data: New file.
40791         * conform/data/stdbool.h-data: Likewise.
40792         * conform/data/stdnoreturn.h-data: Likewise.
40794 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40796         [BZ #14815]
40797         * manual/filesys.texi (Directory Entries): Typo fix.
40798         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40800 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40802         * elf/elf.h (EM_AARCH64): New macro.
40803         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40804         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40805         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40806         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40807         (R_AARCH64_TLSDESC): Likewise.
40808         (NT_ARM_TLS): Likewise.
40809         (NT_ARM_HW_BREAK): Likewise.
40810         (NT_ARM_HW_WATCH): Likewise.
40812 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40814         [BZ #14811]
40815         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40816         (__ieee754_powl): Saturate nonzero exponents with absolute value
40817         below 0x1p-79 to +/- 0x1p-79.
40818         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40819         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40820         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40821         nonzero exponents with absolute value below 0x1p-32 to +/-
40822         0x1p-32.
40823         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40824         (__ieee754_powl): Saturate nonzero exponents with absolute value
40825         below 0x1p-79 to +/- 0x1p-79.
40826         * math/libm-test.inc (pow_test): Add more tests.
40828 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40830         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40831         _dl_s390_cap_flags with kernel. Increase string length.
40832         (_dl_s390_platforms): Add z196 and zEC12.
40834 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40836         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40837         Change XOPEN21K to XOPEN2K.
40839 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40841         * string/memmove.c: Use memcpy when possible.
40843 2012-11-06  Andreas Jaeger  <aj@suse.de>
40845         * po/eo.po: Update from translation team.
40847 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40849         [BZ #14793]
40850         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40851         exponent and small x and y exponents, scale x or y up.  Increase
40852         by 2 the exponent used in scaling up.
40853         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40854         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40855         * math/libm-test.inc (fma_test): Add more tests.
40856         (fma_test_towardzero): Likewise.
40857         (fma_test_downward): Likewise.
40858         (fma_test_upward): Likewise.
40860 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40862         [BZ #14805]
40863         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40864         fenv_t *.
40866         [BZ #14801]
40867         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40868         namespace for names of struct fields.
40869         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40870         fenv_t fields.
40871         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40872         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40874 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40876         [BZ #3665]
40877         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40879 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40881         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40882         PTR_DEMANGLE.
40884         [BZ #5246]
40885         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40886         PTR_DEMANGLE.
40888 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40890         [BZ #14797]
40891         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40892         definitely overflow as x * y not x * y + z.
40893         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40894         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40895         * math/libm-test.inc (fma_test): Add more tests.
40896         (fma_test_towardzero): Likewise.
40897         (fma_test_downward): Likewise.
40898         (fma_test_upward): Likewise.
40900 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40902         [BZ #157]
40904         * include/stub-tag.h: Remove file.
40905         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40906         '#include' of it.
40907         * manual/maint.texi (Porting): Don't reference it.
40908         * Makerules ($(objpfx)stubs): Likewise.
40909         * dirent/closedir.c: Don't include <stub-tag.h>.
40910         * dirent/dirfd.c: Likewise.
40911         * dirent/fdopendir.c: Likewise.
40912         * dirent/getdents.c: Likewise.
40913         * dirent/getdents64.c: Likewise.
40914         * dirent/opendir.c: Likewise.
40915         * dirent/readdir.c: Likewise.
40916         * dirent/readdir64.c: Likewise.
40917         * dirent/readdir64_r.c: Likewise.
40918         * dirent/readdir_r.c: Likewise.
40919         * dirent/rewinddir.c: Likewise.
40920         * dirent/seekdir.c: Likewise.
40921         * dirent/telldir.c: Likewise.
40922         * gmon/profil.c: Likewise.
40923         * grp/setgroups.c: Likewise.
40924         * inet/if_index.c: Likewise.
40925         * io/access.c: Likewise.
40926         * io/chdir.c: Likewise.
40927         * io/chmod.c: Likewise.
40928         * io/chown.c: Likewise.
40929         * io/close.c: Likewise.
40930         * io/dup.c: Likewise.
40931         * io/dup2.c: Likewise.
40932         * io/dup3.c: Likewise.
40933         * io/euidaccess.c: Likewise.
40934         * io/faccessat.c: Likewise.
40935         * io/fchdir.c: Likewise.
40936         * io/fchmod.c: Likewise.
40937         * io/fchmodat.c: Likewise.
40938         * io/fchown.c: Likewise.
40939         * io/fchownat.c: Likewise.
40940         * io/fcntl.c: Likewise.
40941         * io/flock.c: Likewise.
40942         * io/fstatfs.c: Likewise.
40943         * io/fstatfs64.c: Likewise.
40944         * io/fstatvfs.c: Likewise.
40945         * io/fstatvfs64.c: Likewise.
40946         * io/futimens.c: Likewise.
40947         * io/fxstat.c: Likewise.
40948         * io/fxstat64.c: Likewise.
40949         * io/fxstatat.c: Likewise.
40950         * io/fxstatat64.c: Likewise.
40951         * io/getcwd.c: Likewise.
40952         * io/isatty.c: Likewise.
40953         * io/lchmod.c: Likewise.
40954         * io/lchown.c: Likewise.
40955         * io/link.c: Likewise.
40956         * io/linkat.c: Likewise.
40957         * io/lseek.c: Likewise.
40958         * io/lseek64.c: Likewise.
40959         * io/lxstat64.c: Likewise.
40960         * io/mkdir.c: Likewise.
40961         * io/mkdirat.c: Likewise.
40962         * io/mkfifo.c: Likewise.
40963         * io/mkfifoat.c: Likewise.
40964         * io/open.c: Likewise.
40965         * io/open64.c: Likewise.
40966         * io/openat.c: Likewise.
40967         * io/openat64.c: Likewise.
40968         * io/pipe.c: Likewise.
40969         * io/pipe2.c: Likewise.
40970         * io/poll.c: Likewise.
40971         * io/posix_fadvise.c: Likewise.
40972         * io/posix_fadvise64.c: Likewise.
40973         * io/posix_fallocate.c: Likewise.
40974         * io/posix_fallocate64.c: Likewise.
40975         * io/read.c: Likewise.
40976         * io/readlink.c: Likewise.
40977         * io/readlinkat.c: Likewise.
40978         * io/rmdir.c: Likewise.
40979         * io/sendfile.c: Likewise.
40980         * io/sendfile64.c: Likewise.
40981         * io/statfs.c: Likewise.
40982         * io/statfs64.c: Likewise.
40983         * io/statvfs.c: Likewise.
40984         * io/statvfs64.c: Likewise.
40985         * io/symlink.c: Likewise.
40986         * io/symlinkat.c: Likewise.
40987         * io/ttyname.c: Likewise.
40988         * io/ttyname_r.c: Likewise.
40989         * io/umask.c: Likewise.
40990         * io/unlink.c: Likewise.
40991         * io/unlinkat.c: Likewise.
40992         * io/utime.c: Likewise.
40993         * io/utimensat.c: Likewise.
40994         * io/write.c: Likewise.
40995         * io/xmknod.c: Likewise.
40996         * io/xmknodat.c: Likewise.
40997         * io/xstat.c: Likewise.
40998         * io/xstat64.c: Likewise.
40999         * login/getpt.c: Likewise.
41000         * login/grantpt.c: Likewise.
41001         * login/unlockpt.c: Likewise.
41002         * math/e_acoshl.c: Likewise.
41003         * math/e_acosl.c: Likewise.
41004         * math/e_asinl.c: Likewise.
41005         * math/e_atan2l.c: Likewise.
41006         * math/e_atanhl.c: Likewise.
41007         * math/e_coshl.c: Likewise.
41008         * math/e_expl.c: Likewise.
41009         * math/e_fmodl.c: Likewise.
41010         * math/e_gammal_r.c: Likewise.
41011         * math/e_hypotl.c: Likewise.
41012         * math/e_j0l.c: Likewise.
41013         * math/e_j1l.c: Likewise.
41014         * math/e_jnl.c: Likewise.
41015         * math/e_lgammal_r.c: Likewise.
41016         * math/e_log10l.c: Likewise.
41017         * math/e_log2l.c: Likewise.
41018         * math/e_logl.c: Likewise.
41019         * math/e_powl.c: Likewise.
41020         * math/e_rem_pio2l.c: Likewise.
41021         * math/e_sinhl.c: Likewise.
41022         * math/e_sqrtl.c: Likewise.
41023         * math/fclrexcpt.c: Likewise.
41024         * math/fedisblxcpt.c: Likewise.
41025         * math/feenablxcpt.c: Likewise.
41026         * math/fegetenv.c: Likewise.
41027         * math/fegetexcept.c: Likewise.
41028         * math/fegetround.c: Likewise.
41029         * math/feholdexcpt.c: Likewise.
41030         * math/fesetenv.c: Likewise.
41031         * math/fesetround.c: Likewise.
41032         * math/feupdateenv.c: Likewise.
41033         * math/fgetexcptflg.c: Likewise.
41034         * math/fraiseexcpt.c: Likewise.
41035         * math/fsetexcptflg.c: Likewise.
41036         * math/ftestexcept.c: Likewise.
41037         * math/k_cosl.c: Likewise.
41038         * math/k_rem_pio2l.c: Likewise.
41039         * math/k_sinl.c: Likewise.
41040         * math/k_tanl.c: Likewise.
41041         * math/s_asinhl.c: Likewise.
41042         * math/s_atanl.c: Likewise.
41043         * math/s_cbrtl.c: Likewise.
41044         * math/s_erfl.c: Likewise.
41045         * math/s_expm1l.c: Likewise.
41046         * math/s_log1pl.c: Likewise.
41047         * math/s_tanhl.c: Likewise.
41048         * misc/acct.c: Likewise.
41049         * misc/brk.c: Likewise.
41050         * misc/chflags.c: Likewise.
41051         * misc/chroot.c: Likewise.
41052         * misc/fchflags.c: Likewise.
41053         * misc/fgetxattr.c: Likewise.
41054         * misc/flistxattr.c: Likewise.
41055         * misc/fremovexattr.c: Likewise.
41056         * misc/fsetxattr.c: Likewise.
41057         * misc/fsync.c: Likewise.
41058         * misc/ftruncate.c: Likewise.
41059         * misc/futimes.c: Likewise.
41060         * misc/futimesat.c: Likewise.
41061         * misc/getdomain.c: Likewise.
41062         * misc/getdtsz.c: Likewise.
41063         * misc/gethostid.c: Likewise.
41064         * misc/gethostname.c: Likewise.
41065         * misc/getloadavg.c: Likewise.
41066         * misc/getpagesize.c: Likewise.
41067         * misc/getsysstats.c: Likewise.
41068         * misc/getxattr.c: Likewise.
41069         * misc/gtty.c: Likewise.
41070         * misc/ioctl.c: Likewise.
41071         * misc/lgetxattr.c: Likewise.
41072         * misc/listxattr.c: Likewise.
41073         * misc/llistxattr.c: Likewise.
41074         * misc/lremovexattr.c: Likewise.
41075         * misc/lsetxattr.c: Likewise.
41076         * misc/lutimes.c: Likewise.
41077         * misc/madvise.c: Likewise.
41078         * misc/mincore.c: Likewise.
41079         * misc/mlock.c: Likewise.
41080         * misc/mlockall.c: Likewise.
41081         * misc/mmap.c: Likewise.
41082         * misc/mprotect.c: Likewise.
41083         * misc/msync.c: Likewise.
41084         * misc/munlock.c: Likewise.
41085         * misc/munlockall.c: Likewise.
41086         * misc/munmap.c: Likewise.
41087         * misc/preadv.c: Likewise.
41088         * misc/preadv64.c: Likewise.
41089         * misc/ptrace.c: Likewise.
41090         * misc/pwritev.c: Likewise.
41091         * misc/pwritev64.c: Likewise.
41092         * misc/readv.c: Likewise.
41093         * misc/reboot.c: Likewise.
41094         * misc/remap_file_pages.c: Likewise.
41095         * misc/removexattr.c: Likewise.
41096         * misc/revoke.c: Likewise.
41097         * misc/select.c: Likewise.
41098         * misc/setdomain.c: Likewise.
41099         * misc/setegid.c: Likewise.
41100         * misc/seteuid.c: Likewise.
41101         * misc/sethostid.c: Likewise.
41102         * misc/sethostname.c: Likewise.
41103         * misc/setregid.c: Likewise.
41104         * misc/setreuid.c: Likewise.
41105         * misc/setxattr.c: Likewise.
41106         * misc/sstk.c: Likewise.
41107         * misc/stty.c: Likewise.
41108         * misc/swapoff.c: Likewise.
41109         * misc/swapon.c: Likewise.
41110         * misc/sync.c: Likewise.
41111         * misc/syncfs.c: Likewise.
41112         * misc/syscall.c: Likewise.
41113         * misc/truncate.c: Likewise.
41114         * misc/ualarm.c: Likewise.
41115         * misc/usleep.c: Likewise.
41116         * misc/ustat.c: Likewise.
41117         * misc/utimes.c: Likewise.
41118         * misc/vhangup.c: Likewise.
41119         * misc/writev.c: Likewise.
41120         * posix/_exit.c: Likewise.
41121         * posix/alarm.c: Likewise.
41122         * posix/execve.c: Likewise.
41123         * posix/fexecve.c: Likewise.
41124         * posix/fork.c: Likewise.
41125         * posix/fpathconf.c: Likewise.
41126         * posix/getaddrinfo.c: Likewise.
41127         * posix/getegid.c: Likewise.
41128         * posix/geteuid.c: Likewise.
41129         * posix/getgid.c: Likewise.
41130         * posix/getgroups.c: Likewise.
41131         * posix/getlogin.c: Likewise.
41132         * posix/getlogin_r.c: Likewise.
41133         * posix/getpgid.c: Likewise.
41134         * posix/getpid.c: Likewise.
41135         * posix/getppid.c: Likewise.
41136         * posix/getresgid.c: Likewise.
41137         * posix/getresuid.c: Likewise.
41138         * posix/getsid.c: Likewise.
41139         * posix/getuid.c: Likewise.
41140         * posix/glob64.c: Likewise.
41141         * posix/nanosleep.c: Likewise.
41142         * posix/pathconf.c: Likewise.
41143         * posix/pause.c: Likewise.
41144         * posix/posix_madvise.c: Likewise.
41145         * posix/pread.c: Likewise.
41146         * posix/pread64.c: Likewise.
41147         * posix/pwrite.c: Likewise.
41148         * posix/pwrite64.c: Likewise.
41149         * posix/sched_getaffinity.c: Likewise.
41150         * posix/sched_getp.c: Likewise.
41151         * posix/sched_gets.c: Likewise.
41152         * posix/sched_primax.c: Likewise.
41153         * posix/sched_primin.c: Likewise.
41154         * posix/sched_rr_gi.c: Likewise.
41155         * posix/sched_setaffinity.c: Likewise.
41156         * posix/sched_setp.c: Likewise.
41157         * posix/sched_sets.c: Likewise.
41158         * posix/sched_yield.c: Likewise.
41159         * posix/setgid.c: Likewise.
41160         * posix/setlogin.c: Likewise.
41161         * posix/setpgid.c: Likewise.
41162         * posix/setresgid.c: Likewise.
41163         * posix/setresuid.c: Likewise.
41164         * posix/setsid.c: Likewise.
41165         * posix/setuid.c: Likewise.
41166         * posix/sleep.c: Likewise.
41167         * posix/spawni.c: Likewise.
41168         * posix/sysconf.c: Likewise.
41169         * posix/times.c: Likewise.
41170         * posix/wait.c: Likewise.
41171         * posix/wait3.c: Likewise.
41172         * posix/wait4.c: Likewise.
41173         * posix/waitpid.c: Likewise.
41174         * resolv/gai_sigqueue.c: Likewise.
41175         * resource/getpriority.c: Likewise.
41176         * resource/getrlimit.c: Likewise.
41177         * resource/getrusage.c: Likewise.
41178         * resource/nice.c: Likewise.
41179         * resource/setpriority.c: Likewise.
41180         * resource/setrlimit.c: Likewise.
41181         * resource/ulimit.c: Likewise.
41182         * rt/aio_cancel.c: Likewise.
41183         * rt/aio_fsync.c: Likewise.
41184         * rt/aio_read.c: Likewise.
41185         * rt/aio_sigqueue.c: Likewise.
41186         * rt/aio_suspend.c: Likewise.
41187         * rt/aio_write.c: Likewise.
41188         * rt/clock_getres.c: Likewise.
41189         * rt/clock_gettime.c: Likewise.
41190         * rt/clock_nanosleep.c: Likewise.
41191         * rt/clock_settime.c: Likewise.
41192         * rt/lio_listio.c: Likewise.
41193         * rt/mq_close.c: Likewise.
41194         * rt/mq_getattr.c: Likewise.
41195         * rt/mq_notify.c: Likewise.
41196         * rt/mq_open.c: Likewise.
41197         * rt/mq_receive.c: Likewise.
41198         * rt/mq_send.c: Likewise.
41199         * rt/mq_setattr.c: Likewise.
41200         * rt/mq_timedreceive.c: Likewise.
41201         * rt/mq_timedsend.c: Likewise.
41202         * rt/mq_unlink.c: Likewise.
41203         * rt/shm_open.c: Likewise.
41204         * rt/shm_unlink.c: Likewise.
41205         * rt/timer_create.c: Likewise.
41206         * rt/timer_delete.c: Likewise.
41207         * rt/timer_getoverr.c: Likewise.
41208         * rt/timer_gettime.c: Likewise.
41209         * rt/timer_settime.c: Likewise.
41210         * setjmp/__longjmp.c: Likewise.
41211         * setjmp/setjmp.c: Likewise.
41212         * signal/kill.c: Likewise.
41213         * signal/killpg.c: Likewise.
41214         * signal/raise.c: Likewise.
41215         * signal/sigaction.c: Likewise.
41216         * signal/sigaltstack.c: Likewise.
41217         * signal/sigblock.c: Likewise.
41218         * signal/sigignore.c: Likewise.
41219         * signal/sigintr.c: Likewise.
41220         * signal/signal.c: Likewise.
41221         * signal/sigpause.c: Likewise.
41222         * signal/sigpending.c: Likewise.
41223         * signal/sigqueue.c: Likewise.
41224         * signal/sigreturn.c: Likewise.
41225         * signal/sigset.c: Likewise.
41226         * signal/sigsetmask.c: Likewise.
41227         * signal/sigstack.c: Likewise.
41228         * signal/sigsuspend.c: Likewise.
41229         * signal/sigtimedwait.c: Likewise.
41230         * signal/sigvec.c: Likewise.
41231         * signal/sigwait.c: Likewise.
41232         * signal/sigwaitinfo.c: Likewise.
41233         * signal/sysv_signal.c: Likewise.
41234         * socket/accept.c: Likewise.
41235         * socket/accept4.c: Likewise.
41236         * socket/bind.c: Likewise.
41237         * socket/connect.c: Likewise.
41238         * socket/getpeername.c: Likewise.
41239         * socket/getsockname.c: Likewise.
41240         * socket/getsockopt.c: Likewise.
41241         * socket/isfdtype.c: Likewise.
41242         * socket/listen.c: Likewise.
41243         * socket/recv.c: Likewise.
41244         * socket/recvfrom.c: Likewise.
41245         * socket/recvmsg.c: Likewise.
41246         * socket/send.c: Likewise.
41247         * socket/sendmsg.c: Likewise.
41248         * socket/sendto.c: Likewise.
41249         * socket/setsockopt.c: Likewise.
41250         * socket/shutdown.c: Likewise.
41251         * socket/sockatmark.c: Likewise.
41252         * socket/socket.c: Likewise.
41253         * socket/socketpair.c: Likewise.
41254         * stdio-common/ctermid.c: Likewise.
41255         * stdio-common/cuserid.c: Likewise.
41256         * stdio-common/remove.c: Likewise.
41257         * stdio-common/rename.c: Likewise.
41258         * stdio-common/renameat.c: Likewise.
41259         * stdio-common/tempname.c: Likewise.
41260         * stdlib/getcontext.c: Likewise.
41261         * stdlib/makecontext.c: Likewise.
41262         * stdlib/setcontext.c: Likewise.
41263         * stdlib/swapcontext.c: Likewise.
41264         * stdlib/system.c: Likewise.
41265         * streams/fattach.c: Likewise.
41266         * streams/fdetach.c: Likewise.
41267         * streams/getmsg.c: Likewise.
41268         * streams/getpmsg.c: Likewise.
41269         * streams/putmsg.c: Likewise.
41270         * streams/putpmsg.c: Likewise.
41271         * sysdeps/unix/bsd/getpt.c: Likewise.
41272         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41273         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41274         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41276         Likewise.
41277         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41278         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41279         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41280         * sysvipc/msgctl.c: Likewise.
41281         * sysvipc/msgget.c: Likewise.
41282         * sysvipc/msgrcv.c: Likewise.
41283         * sysvipc/msgsnd.c: Likewise.
41284         * sysvipc/semctl.c: Likewise.
41285         * sysvipc/semget.c: Likewise.
41286         * sysvipc/semop.c: Likewise.
41287         * sysvipc/semtimedop.c: Likewise.
41288         * sysvipc/shmat.c: Likewise.
41289         * sysvipc/shmctl.c: Likewise.
41290         * sysvipc/shmdt.c: Likewise.
41291         * sysvipc/shmget.c: Likewise.
41292         * termios/tcdrain.c: Likewise.
41293         * termios/tcflow.c: Likewise.
41294         * termios/tcflush.c: Likewise.
41295         * termios/tcgetattr.c: Likewise.
41296         * termios/tcgetpgrp.c: Likewise.
41297         * termios/tcsendbrk.c: Likewise.
41298         * termios/tcsetattr.c: Likewise.
41299         * termios/tcsetpgrp.c: Likewise.
41300         * time/adjtime.c: Likewise.
41301         * time/clock.c: Likewise.
41302         * time/getitimer.c: Likewise.
41303         * time/gettimeofday.c: Likewise.
41304         * time/setitimer.c: Likewise.
41305         * time/settimeofday.c: Likewise.
41306         * time/stime.c: Likewise.
41307         * time/time.c: Likewise.
41309 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41311         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41312         /usr/old/bin.
41314         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41315         instead of spaces.
41316         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41318 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41320         [BZ #14796]
41321         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41322         FE_TONEAREST before applying Dekker multiplication and Knuth
41323         addition.  Clear inexact exceptions and check for exact zero
41324         results afterwards.
41325         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41326         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41327         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41328         * math/libm-test.inc (fma_test): Add more tests.
41329         (fma_test_towardzero): Likewise.
41330         (fma_test_downward): Likewise.
41331         (fma_test_upward): Likewise.
41332         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41333         function.
41334         (libc_fesetround): New macro.
41335         (libc_fesetroundf): Likewise.
41336         (libc_fesetroundl): Likewise.
41337         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41338         function.
41339         (libc_fesetround_387): Likewise.
41340         (libc_fesetroundf): New macro.
41341         (libc_fesetround): Likewise.
41342         (libc_fesetroundl): Likewise.
41343         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41344         function.
41345         (libc_fesetroundf): New macro.
41346         (libc_fesetround): Likewise.
41347         (libc_fesetroundl): Likewise.
41348         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41349         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41350         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41351         libm_hidden_ver.
41352         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41353         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41354         libm_hidden_def.
41355         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41356         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41357         libm_hidden_ver.
41358         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41359         libm_hidden_def.
41361         [BZ #3439]
41362         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41363         integer constant usable in #if and use that to give value to enum
41364         constant.
41365         (FE_DIVBYZERO): Likewise.
41366         (FE_UNDERFLOW): Likewise.
41367         (FE_OVERFLOW): Likewise.
41368         (FE_INVALID): Likewise.
41369         (FE_INVALID_SNAN): Likewise.
41370         (FE_INVALID_ISI): Likewise.
41371         (FE_INVALID_IDI): Likewise.
41372         (FE_INVALID_ZDZ): Likewise.
41373         (FE_INVALID_IMZ): Likewise.
41374         (FE_INVALID_COMPARE): Likewise.
41375         (FE_INVALID_SOFTWARE): Likewise.
41376         (FE_INVALID_SQRT): Likewise.
41377         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41378         (FE_TONEAREST): Likewise.
41379         (FE_TOWARDZERO): Likewise.
41380         (FE_UPWARD): Likewise.
41381         (FE_DOWNWARD): Likewise.
41382         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41383         (FE_DIVBYZERO): Likewise.
41384         (FE_OVERFLOW): Likewise.
41385         (FE_UNDERFLOW): Likewise.
41386         (FE_INEXACT): Likewise.
41387         (FE_TONEAREST): Likewise.
41388         (FE_DOWNWARD): Likewise.
41389         (FE_UPWARD): Likewise.
41390         (FE_TOWARDZERO): Likewise.
41391         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41392         (FE_UNDERFLOW): Likewise.
41393         (FE_OVERFLOW): Likewise.
41394         (FE_DIVBYZERO): Likewise.
41395         (FE_INVALID): Likewise.
41396         (FE_TONEAREST): Likewise.
41397         (FE_TOWARDZERO): Likewise.
41398         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41399         (FE_OVERFLOW): Likewise.
41400         (FE_UNDERFLOW): Likewise.
41401         (FE_DIVBYZERO): Likewise.
41402         (FE_INEXACT): Likewise.
41403         (FE_TONEAREST): Likewise.
41404         (FE_TOWARDZERO): Likewise.
41405         (FE_UPWARD): Likewise.
41406         (FE_DOWNWARD): Likewise.
41407         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41408         (FE_DIVBYZERO): Likewise.
41409         (FE_OVERFLOW): Likewise.
41410         (FE_UNDERFLOW): Likewise.
41411         (FE_INEXACT): Likewise.
41412         (FE_TONEAREST): Likewise.
41413         (FE_DOWNWARD): Likewise.
41414         (FE_UPWARD): Likewise.
41415         (FE_TOWARDZERO): Likewise.
41417 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41419         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41421 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41423         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41424         commands.  Quote $PWD.
41425         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41426         -x" by "export".
41427         (remove_newlines): Remove.
41429 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41431         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41432         * stdlib/stdlib.h (atof): Moved to ...
41433         * include/bits/stdlib-float.h: Here.  New file.
41434         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41435         * stdlib/bits/stdlib-float.h: New file.
41436         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41437         -mno-sse -mno-mmx.
41438         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41439         <xmmintrin.h>.
41441 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41443         * conform/conformtest.pl (@headers): Add fenv.h.
41444         * conform/data/fenv.h-data: New file.
41445         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41446         include of <math/fenv.h>.
41448         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41449         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41450         && !UNIX98].  Enables tests for XOPEN2K8.
41451         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41452         POSIX2008]: Likewise.
41454         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41455         (struct rusage): Do not expect type or its members.
41457         [BZ #3439]
41458         * math/math.h (FP_NAN): Define macro to integer constant usable in
41459         #if and use that to give value to enum constant.
41460         (FP_INFINITE): Likewise.
41461         (FP_ZERO): Likewise.
41462         (FP_SUBNORMAL): Likewise.
41463         (FP_NORMAL): Likewise.
41465 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41467         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41468         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41469         arguments.
41471 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41473         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41474         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41475         autoconf-time if not.
41476         * configure.in: Remove AC_PREREQ.
41478 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41480         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41481         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41482         of the internal implementation.
41484 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41486         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41487         except include of <misc/sys/syslog.h>.
41489 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41492         function returns with a NULL context exit with zero.
41494 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41496         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41498 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41500         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41501         (run_program_cmd): This.
41502         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41503         (tst_langinfo): New variable.  Use it.
41505 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41507         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41508         floating point opcodes.
41510 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41512         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41513         variable.
41515         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41517         * sysdeps/mach/hurd/powerpc: Remove directory.
41518         * sysdeps/mach/powerpc: Likewise.
41520 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41522         * scripts/check-local-headers.sh: Ignore c++ headers.
41524 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41526         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41527         __libc_cleanup_region_start argument.
41529 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41531         [BZ #14784]
41532         [BZ #14785]
41533         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41534         x * y using scaling, not as x * y + z.
41535         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41536         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41537         * math/libm-test.inc (fma_test): Add more tests.
41538         (fma_test_towardzero): Likewise.
41539         (fma_test_downward): Likewise.
41540         (fma_test_upward): Likewise.
41542 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41544         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41546 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41548         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41549         New variable.
41551 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41553         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41555 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41558         Fix sort order.
41559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41560         Likewise.
41562 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41565         Fix the order of the list for glibc 2.17.
41566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41567         Likewise.
41569 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41573 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41575         [BZ #14610]
41576         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41577         for low part of x being zero before using __atanl (y).
41578         * math/libm-test.inc (atan2_test): Add another test.
41580         * manual/install.texi (Configuring and compiling): Document
41581         general use of test-wrapper and test-wrapper-env.
41582         * INSTALL: Regenerated.
41584         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41585         (__fma): Do not extract and scale down low bits on after-rounding
41586         systems when result rounded to normal precision would have normal
41587         exponent.
41588         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41589         (__fmal): Do not extract and scale down low bits on after-rounding
41590         systems when result rounded to normal precision would have normal
41591         exponent.
41592         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41593         (__fmal): Do not extract and scale down low bits on after-rounding
41594         systems when result rounded to normal precision would have normal
41595         exponent.
41596         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41597         macro.
41598         (fma_test): Add more tests.
41599         (fma_test_towardzero): Likewise.
41600         (fma_test_downward): Likewise.
41601         (fma_test_upward): Likewise.
41603 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41605         * sysdeps/i386/tininess.h: Renamed to ...
41606         * sysdeps/x86/tininess.h: This.
41607         * sysdeps/x86_64/tininess.h: Removed.
41609 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41611         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41612         input.  Use $(build-program-cmd).
41613         ($(objpfx)tst-array1-static.out): Likewise.
41614         ($(objpfx)tst-array2.out): Likewise.
41615         ($(objpfx)tst-array3.out): Likewise.
41616         ($(objpfx)tst-array4.out): Likewise.
41617         ($(objpfx)tst-array5.out): Likewise.
41618         ($(objpfx)tst-array5-static.out): Likewise.
41620 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41622         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41623         if defined.
41625         * nss/nsswitch.h (nss_interface_function): Provide new
41626         macro for use with NSS functions.
41627         * grp/initgroups.c: Use new macro.
41628         * nss/getXXbyYY.c: Likewise.
41629         * nss/getXXbyYY_r.c: Likewise.
41630         * nss/getXXent.c: Likewise.
41631         * nss/getXXent_r.c: Likewise.
41632         * sysdeps/posix/getaddrinfo.c: Likewise.
41634 2012-10-30  Andreas Jaeger  <aj@suse.de>
41636         * po/ru.po: Update Russion translation from translation project.
41638 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41640         [BZ #14152]
41641         [BZ #14783]
41642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41643         result and shift together with sticky bit instead of replicating
41644         round-to-nearest rounding.
41645         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41646         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41647         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41648         missing underflow exceptions.
41649         (fma_test_towardzero): Add more tests.
41650         (fma_test_downward): Likewise.
41651         (fma_test_upward): Likewise.
41653         [BZ #14047]
41654         * sysdeps/generic/tininess.h: New file.
41655         * sysdeps/i386/tininess.h: Likewise.
41656         * sysdeps/sh/tininess.h: Likewise.
41657         * sysdeps/x86_64/tininess.h: Likewise.
41658         * stdlib/tst-strtod-underflow.c: Likewise.
41659         * stdlib/tst-tininess.c: Likewise.
41660         * stdlib/strtod_l.c: Include <tininess.h>.
41661         (round_and_return): Do not set errno for exact underflow cases.
41662         Force an underflow exception when setting errno for underflow.
41663         Determine underflow based on rounding to normal precision if
41664         TININESS_AFTER_ROUNDING.
41665         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41666         ERANGE for exact underflow cases.
41667         * stdlib/Makefile (tests): Add tst-tininess and
41668         tst-strtod-underflow.
41669         ($(objpfx)tst-tininess): Use $(link-libm).
41670         ($(objpfx)tst-strtod-underflow): Likewise.
41672 2012-10-30  Andreas Jaeger  <aj@suse.de>
41674         [BZ#14767]
41675         * elf/Makefile (tests): Remove conditional for have-initfini-array
41676         since this is now always required and the variable does not exist
41677         anymore.
41678         (tests-static): Likewise.
41679         (modules-names): Likewise.
41681         * po/eo.po: Add Esperanto translation from translation project.
41683         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41684         merged with constructor/destructor.
41685         (init_array): Likewise.
41686         * elf/tst-array2dep.c (fini_array): Likewise.
41687         (init_array): Likewise.
41689 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41691         * manual/message.texi: Delete @cartouche tags.
41693 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41695         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41696         EOPNOTSUPP.
41697         * sysdeps/mach/hurd/fsync.c: Likewise.
41699         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41700         [_POSIX_REALTIME_SIGNALS]: Change condition to
41701         [_POSIX_REALTIME_SIGNALS > 0].
41703 2012-10-27  Andreas Jaeger  <aj@suse.de>
41705         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41706         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41707         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41708         [__WORDSIZE != 64]: Likewise.
41710 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41712         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41713         *  iconvdata/tst-tables.sh: Likewise.
41715 2012-10-25  David S. Miller  <davem@davemloft.net>
41717         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41718         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41719         of strtoull.
41721         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41722         ifunc-impl-list.c
41723         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41724         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41725         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41726         file.
41728 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41730         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41731         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41732         __getdirentries.
41734 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41735             Jim Blandy  <jimb@codesourcery.com>
41737         * scripts/cross-test-ssh.sh: New file.
41738         * manual/install.texi (Configuring and compiling): Document use of
41739         cross-test-ssh.sh.
41740         * INSTALL: Regenerated.
41742 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41744         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41745         EOPNOTSUPP.
41747 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41749         * Makeconfig (run-program-prefix): Fix comment.
41751 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41752             Jim Blandy  <jimb@codesourcery.com>
41754         * Makeconfig (test-wrapper): New variable,
41755         (test-wrapper-env): Likewise.
41756         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41757         (run-built-tests): Define to yes.
41758         (run-program-prefix): Use $(test-wrapper).
41759         (built-program-cmd): Likewise.
41760         * Rules (make-test-out): Use $(test-wrapper-env) and
41761         $(host-built-program-cmd).
41762         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41763         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41764         tst-pathopt.sh.
41765         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41766         $(test-wrapper-env) to tst-rtld-load-self.sh.
41767         ($(objpfx)order2.out): Use $(test-wrapper).
41768         ($(objpfx)tst-initorder.out): Likewise.
41769         ($(objpfx)tst-initorder2.out): Likewise.
41770         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41771         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41772         (test_wrapper_env): New variable.  Use it to run ld.so.
41773         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41774         Use it to run ld.so.
41775         (test_wrapper_env): Likewise.
41776         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41777         $(test-wrapper) to run-iconv-test.sh.
41778         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41779         (ICONV): Use $test_wrapper.
41780         * posix/Makefile ($(objpfx)globtest.out): Pass
41781         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41782         globtest.sh, not $(run-program-prefix).
41783         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41784         (test_wrapper): Likewise.
41785         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41786         set together with run_via_rtld_prefix.
41787         (run_program_prefix): Define in terms of test_wrapper and
41788         run_via_rtld_prefix.
41790 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41792         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41793         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41794         Targets removed.
41796         [BZ #14743]
41797         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41798         Declare __clock_getres, __clock_gettime, __clock_settime,
41799         __clock_nanosleep, and __clock_getcpuclockid.
41800         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41801         Remove librt_hidden_def (clock_gettime).
41802         * sysdeps/unix/clock_gettime.c: Likewise.
41803         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41804         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41805         * rt/clock_getres.c: Define __clock_getres as an alias.
41806         * sysdeps/posix/clock_getres.c: Likewise.
41807         * rt/clock_settime.c: Define __clock_settime as an alias.
41808         * sysdeps/unix/clock_settime.c: Likewise.
41809         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41810         * sysdeps/unix/clock_nanosleep.c: Likewise.
41811         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41812         * rt/clock-compat.c: New file.
41813         * rt/Makefile (librt-routines): Add clock-compat and move
41814         $(clock-routines) to ...
41815         (routines): ... here, new variable.
41816         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41817         Don't add get_clockfreq here.
41818         * rt/Versions (libc: GLIBC_2.17): New version set.
41819         Add clock_* symbols here.
41820         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41821         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41822         (GLIBC_2.17): Add clock_* symbols.
41823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41825         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41827         Likewise.
41828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41829         Likewise.
41830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41834         * NEWS: Mention the move.
41836         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41837         Use __open, __read, __close rather than their public counterparts.
41838         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41839         (__get_clockfreq_via_cpuinfo): Likewise.
41840         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41841         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41843         * config.h.in (HAVE_IFUNC): New #undef.
41844         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41845         was successful.
41846         * configure: Regenerated.
41848 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41850         * configure.in: Move READELF check to start of file.
41851         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41852         libc_cv_asm_gnu_indirect_function in the process.
41853         * configure: Regenerated.
41855 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41857         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41858         send the output to /dev/null.
41859         (libc_cv_cc_with_libunwind): Likewise.
41860         (libc_cv_as_noexecstack): Likewise.
41861         * configure: Regenerate.
41863 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41865         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41867         * posix/globtest.sh (TMPDIR): Do not set.
41868         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41869         (testout): Likewise.
41871 2012-10-24  Andreas Jaeger  <aj@suse.de>
41873         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41874         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41875         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41876         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41877         posix_fadvise64, posix_fallocate64.
41879         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41880         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41881         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41882         Likewise.
41883         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41884         Likewise.
41885         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41887         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41888         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41889         <bits/fcntl-linux.h>.
41890         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41892         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41893         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41894         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41895         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41896         [__WORDSIZE != 64]: Likewise.
41898 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41900         * Makeconfig (run-built-tests): New variable.
41901         * Rules [$(cross-compiling) = yes]: Change condition to
41902         [$(run-built-tests) = no].
41903         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41904         to [$(run-built-tests) = yes].
41905         * elf/Makefile [$(cross-compiling) = no]: Likewise
41906         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41907         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41908         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41909         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41910         * io/Makefile [$(cross-compiling) = no]: Likewise.
41911         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41912         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41913         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41914         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41915         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41916         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41917         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41918         * string/Makefile [$(cross-compiling) = no]: Likewise.
41920         * posix/Makefile ($(objpfx)globtest.out): Pass
41921         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41922         $(rtld-installed-name).
41923         * posix/globtest.sh (elf_objpfx): Remove variable.
41924         (rtld_installed_name): Likewise.
41925         (library_path): Likewise.
41926         (run_program_prefix): New variable.  Use for running globtest
41927         binary.
41929 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41930             Joseph Myers  <joseph@codesourcery.com>
41932         * Makeconfig (host-built-program-cmd): New variable.
41933         * elf/Makefile (tst-stackguard1-ARGS): Use
41934         $(host-built-program-cmd).
41935         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41936         (tst-spawn-ARGS): Likewise.
41937         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41939 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41940             Jim Blandy  <jimb@codesourcery.com>
41942         * Makeconfig (run-via-rtld-prefix): New variable.
41943         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41944         (built-program-cmd): Likewise.
41946 2012-10-22  Andreas Jaeger  <aj@suse.de>
41948         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41949         __O_RSYNC if it exists, otherwise to O_SYNC.
41951 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41952             Joseph Myers  <joseph@codesourcery.com>
41954         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41955         /dev/null.
41956         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41957         from /dev/null
41958         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41959         /dev/null.
41961 2012-10-22  Andreas Jaeger  <aj@suse.de>
41963         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41964         Define always.
41965         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41967         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41968         bits/fcntl-linux.h.
41970         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41971         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41973         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41974         to __O_LARGEFILE.
41975         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41976         to __O_LARGEFILE.
41978 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41979             Joseph Myers  <joseph@codesourcery.com>
41981         * config.make.in (NM): New variable.
41983 2012-10-21  Andreas Jaeger  <aj@suse.de>
41985         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41986         definitions and declarations that are provided by
41987         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41989 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41991         [BZ #14683]
41992         * elf/Makefile (tests-static): Add tst-leaks1-static.
41993         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41994         ($(objpfx)tst-leaks1-static): New rule.
41995         ($(objpfx)tst-leaks1-static-mem): Likewise.
41996         (tst-leaks1-static-ENV): New macro.
41997         * elf/dl-open.c (dl_open_worker): Check the main application
41998         only if SHARED is defined.
41999         * elf/tst-leaks1-static.c: New file.
42001 2012-10-20  Andreas Jaeger  <aj@suse.de>
42003         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42004         generic values for Linux.
42005         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42006         and declarations that are provided by <bits/fcntl-linux.h> and
42007         include <bits/fcntl-linux.h>.
42008         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42009         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42011 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42013         * io/fcntl.h: Move include of <bits/types.h> to the top and
42014         include it unconditionally.
42016 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42018         * wcsmbs/Makefile (tests-ifunc): New variable.
42019         (tests): Add $(tests-ifunc).
42020         * wcsmbs/test-wcschr-ifunc.c: New file.
42021         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42022         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42023         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42024         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42025         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42027         * string/Makefile (tests-ifunc): New variable.
42028         (tests): Add $(tests-ifunc).
42029         * string/test-memccpy.c (TEST_NAME): New macro.
42030         * string/test-memchr.c (TEST_NAME): Likewise.
42031         * string/test-memcmp.c (TEST_NAME): Likewise.
42032         * string/test-memcpy.c (TEST_NAME): Likewise.
42033         * string/test-memmem.c (TEST_NAME): Likewise.
42034         * string/test-memmove.c (TEST_NAME): Likewise.
42035         * string/test-memset.c (TEST_NAME): Likewise.
42036         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42037         * string/test-stpcpy.c (TEST_NAME): Likewise.
42038         * string/test-stpncpy.c (TEST_NAME): Likewise.
42039         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42040         * string/test-strcasestr.c (TEST_NAME): Likewise.
42041         * string/test-strcat.c (TEST_NAME): Likewise.
42042         * string/test-strchr.c (TEST_NAME): Likewise.
42043         * string/test-strcmp.c(TEST_NAME): Likewise.
42044         * string/test-strcpy.c (TEST_NAME): Likewise.
42045         * string/test-strcspn.c (TEST_NAME): Likewise.
42046         * string/test-strlen.c (TEST_NAME): Likewise.
42047         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42048         * string/test-strncmp.c (TEST_NAME): Likewise.
42049         * string/test-strncpy.c (TEST_NAME): Likewise.
42050         * string/test-strnlen.c (TEST_NAME): Likewise.
42051         * string/test-strpbrk.c (TEST_NAME): Likewise.
42052         * string/test-strrchr.c (TEST_NAME): Likewise.
42053         * string/test-strspn.c (TEST_NAME): Likewise.
42054         * string/test-strstr.c (TEST_NAME): Likewise.
42055         * string/test-bcopy-ifunc.c: New file.
42056         * string/test-bzero-ifunc.c: Likewise.
42057         * string/test-memccpy-ifunc.c: Likewise.
42058         * string/test-memchr-ifunc.c: Likewise.
42059         * string/test-memcmp-ifunc.c: Likewise.
42060         * string/test-memcpy-ifunc.c: Likewise.
42061         * string/test-memmem-ifunc.c: Likewise.
42062         * string/test-memmove-ifunc.c: Likewise.
42063         * string/test-mempcpy-ifunc.c: Likewise.
42064         * string/test-memset-ifunc.c: Likewise.
42065         * string/test-rawmemchr-ifunc.c: Likewise.
42066         * string/test-stpcpy-ifunc.c: Likewise.
42067         * string/test-stpncpy-ifunc.c: Likewise.
42068         * string/test-strcasecmp-ifunc.c: Likewise.
42069         * string/test-strcasestr-ifunc.c: Likewise.
42070         * string/test-strcat-ifunc.c: Likewise.
42071         * string/test-strchr-ifunc.c: Likewise.
42072         * string/test-strchrnul-ifunc.c: Likewise.
42073         * string/test-strcmp-ifunc.c: Likewise.
42074         * string/test-strcpy-ifunc.c: Likewise.
42075         * string/test-strcspn-ifunc.c: Likewise.
42076         * string/test-strlen-ifunc.c: Likewise.
42077         * string/test-strncasecmp-ifunc.c: Likewise.
42078         * string/test-strncat-ifunc.c: Likewise.
42079         * string/test-strncmp-ifunc.c: Likewise.
42080         * string/test-strncpy-ifunc.c: Likewise.
42081         * string/test-strnlen-ifunc.c: Likewise.
42082         * string/test-strpbrk-ifunc.c: Likewise.
42083         * string/test-strrchr-ifunc.c: Likewise.
42084         * string/test-strspn-ifunc.c: Likewise.
42085         * string/test-strstr-ifunc.c: Likewise.
42087         * debug/Makefile (tests-ifunc): New variable.
42088         (tests): Add $(tests-ifunc).
42089         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42090         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42091         * debug/test-stpcpy_chk-ifunc.c: New file.
42092         * debug/test-strcpy_chk-ifunc.c: Likewise.
42094 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42096         [BZ #13601]
42097         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42098         header is not read in.
42100 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42102         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42103         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42104         directly.  Pass built executable to script as
42105         $(built-program-cmd).
42106         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42107         $testprogram without using LD_LIBRARY_PATH and $ldso.
42109         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42110         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42111         $(rtld-installed-name).
42112         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42113         (rtld_installed_name): Likewise.
42114         (library_path): Likewise.
42115         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42116         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42117         $(run-program-prefix) to tst-tables.sh.
42118         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42119         it to run tst-table-from and tst-table-to.
42120         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42121         Pass it to tst-table.sh.
42122         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42123         $(run-program-prefix) to tst-gettext.sh.
42124         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42125         tst-translit.sh.
42126         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42127         tst-gettext2.sh.
42128         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42129         to run tst-gettext.
42130         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42131         to run tst-gettext2.
42132         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42133         to run tst-translit.
42134         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42135         $(run-program-prefix) to tst-mtrace.sh.
42136         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42137         to run tst-mtrace.
42138         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42139         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42140         $(rtld-installed-name).
42141         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42142         (rtld_installed_name): Likewise.
42143         (run_program_prefix): New variable.  Use it to run wordexp-test.
42145         * Makeconfig (ARCH): Remove all definitions.
42146         (machine): Likewise.
42147         [ARCH]: Remove conditional code.
42148         [!objdir]: Give error.
42149         [!objdir] (objpfx): Remove.
42150         [!objdir] (common-objpfx): Likewise.
42151         [!objdir] (common-objdir): Likewise.
42152         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42153         AC_CONFIG_FILES call.
42154         * configure: Regenerated.
42156         [BZ #13888]
42157         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42158         or TMPDIR.
42159         (testout): Likewise.
42161         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42162         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42163         $(rtld-installed-name).
42164         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42165         (rtld_installed_name): Likwise.
42166         (runit): Remove function.
42167         (run_getconf): New variable,  Use it for running getconf binary.
42169 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42171         [BZ #14716]
42172         * string/test-memmem.c (check_result): New function.
42173         (do_one_test): Use it.
42174         (check1): New function.
42175         (test_main): Use it.
42177 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42179         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42181 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42183         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42184         (_G_LSEEK64): Likewise.
42185         (_G_MMAP64): Likewise.
42186         (_G_FSTAT64): Likewise.
42187         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42188         (_G_LSEEK64): Likewise.
42189         (_G_MMAP64): Likewise.
42190         (_G_FSTAT64): Likewise.
42191         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42192         unconditional.  Call __mmap64 directly.
42193         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42194         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42195         __lseek64 directly.
42196         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42197         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42198         __mmap64 directly.
42199         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42200         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42201         __lseek64 directly.
42202         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42203         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42204         __lseek64 directly.
42205         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42206         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42207         __lseek64 directly.
42208         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42209         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42210         __fxstat64 directly.
42211         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42212         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42213         unconditional.
42214         (freopen64) [!_G_OPEN64]: Remove conditional code.
42215         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42216         unconditional.
42217         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42218         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42219         unconditional.
42220         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42221         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42222         unconditional.
42223         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42224         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42225         unconditional.
42226         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42227         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42228         unconditional.
42229         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42230         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42231         unconditional.
42232         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42233         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42234         unconditional.
42235         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42237 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42239         [BZ #12140]
42240         * manual/memory.texi (Malloc Tunable Parameters): Add note
42241         about free list pointers overwriting some perturb bytes.
42242         Wording suggested by Roland McGrath.
42244 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42246         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42247         (lgamma_test): Likewise.
42248         (tgamma_test): Likewise.
42250 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42252         [BZ #14700]
42253         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42254         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42256 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42258         * NEWS: Mention BZ #14716.
42259         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42260         when removing AVAILABLE1_USES_J macro.
42262 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42264         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42265         (__bswap_64): __uint64_t for unsigned 64-bit int.
42267 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42269         * include/string.h (memmem): Declare libc hidden alias.
42270         * string/memmem.c (memmem): Define libc hidden alias.
42271         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42272         __read, __close instead of open, read, close.
42274 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42276         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42277         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42278         global and hidden.
42279         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42280         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42281         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42282         Likewise.
42283         (__rawmemchr_sse2): Likewise.
42284         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42285         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42286         (__strchr_sse2): Likewise.
42287         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42288         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42289         (__strcasecmp_sse2): Likewise.
42290         (__strncasecmp_sse2): Likewise.
42291         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42292         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42293         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42294         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42295         (__strrchr_sse2): Likewise.
42296         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42297         ifunc-impl-list.c.
42298         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42299         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42300         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42301         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42302         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42303         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42304         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42305         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42306         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42307         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42308         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42309         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42310         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42311         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42312         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42313         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42314         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42315         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42316         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42317         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42318         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42319         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42320         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42321         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42322         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42323         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42324         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42325         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42326         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42327         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42329         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42330         global and hidden.
42331         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42332         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42333         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42334         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42335         Likewise.
42336         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42337         Likewise.
42338         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42339         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42340         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42341         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42342         ifunc-impl-list.c.
42343         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42344         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42345         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42346         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42347         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42348         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42349         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42350         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42351         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42352         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42353         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42354         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42355         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42356         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42357         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42358         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42359         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42360         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42361         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42362         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42363         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42364         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42365         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42366         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42367         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42368         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42369         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42370         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42371         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42372         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42373         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42374         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42375         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42376         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42377         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42378         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42379         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42380         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42381         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42382         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42383         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42385         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42386         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42387         * include/ifunc-impl-list.h: New file.
42388         * misc/ifunc-impl-list.c: Likewise.
42389         * misc/Makefile (routines): Add ifunc-impl-list.
42390         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42391         * string/test-string.h: Include <ifunc-impl-list.h>.
42392         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42393         TEST_NAME]: New variables.
42394         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42395         are defined.
42396         (test_init): Call __libc_ifunc_impl_list to initialize
42397         func_list if TEST_IFUNC and TEST_NAME are defined.
42399         * string/Makefile (strop-tests): Add bcopy and bzero.
42400         * string/test-bcopy.c: New file.
42401         * string/test-bzero.c: Likewise.
42402         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42403         defined.
42404         * string/test-memset.c: Support bzero test if TEST_BZERO is
42405         defined.
42406         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42407         __libc_memmove.
42408         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42409         __libc_memset.
42410         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42411         of memset.
42413 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42415         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42416         * configure: Regenerated.
42418         * Makeconfig (+link-static-before-libc): Don't include
42419         $(link-static-libc).
42421         * libio/libio.h (_IO_pos_t): Remove.
42423 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42425         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42426         McGrath.
42428 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42430         * crypt/crypt-entry.c: Include fips-private.h.
42431         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42432         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42433         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42434         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42436 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42438         * crypt/crypt-private.h: Include stdbool.h.
42439         (_ufc_setup_salt_r): Return bool.
42440         * crypt/crypt-entry.c: Include errno.h.
42441         (__crypt_r): Return NULL with EINVAL for bad salt.
42442         * crypt/crypt_util.c (bad_for_salt): New.
42443         (_ufc_setup_salt_r): Check that salt is long enough and within
42444         the specified alphabet.
42445         * crypt/badsalttest.c: New file.
42446         * crypt/Makefile (tests): Add it.
42447         ($(objpfx)badsalttest): New.
42449 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42451         * NEWS: Add entry for BZ #14602.
42453 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42455         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42456         type-generic.
42457         * math/libm-test.inc: Update comment listing what functions and
42458         macros are tested.
42459         (isgreater_test): New function.
42460         (isgreaterequal_test): Likewise.
42461         (isless_test): Likewise.
42462         (islessequal_test): Likewise.
42463         (islessgreater_test): Likewise.
42464         (isunordered_test): Likewise.
42465         (main): Call the new functions.
42467 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42469         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42470         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42471         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42472         * sysdeps/i386/configure: Regenerated.
42473         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42474         * sysdeps/mach/configure: Regenerated.
42475         * sysdeps/mach/hurd/configure: Regenerated.
42476         * sysdeps/powerpc/configure: Regenerated.
42477         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42478         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42479         * sysdeps/s390/s390-32/configure: Regenerated.
42480         * sysdeps/s390/s390-64/configure: Regenerated.
42481         * sysdeps/sh/configure: Regenerated.
42482         * sysdeps/sparc/configure: Regenerated.
42483         * sysdeps/unix/sysv/linux/configure: Regenerated.
42484         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42485         * sysdeps/x86_64/configure: Regenerated.
42487         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42488         defined.  Don't check if MAP is NULL.
42490 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42492         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42493         (_G_stat64): Likewise.
42494         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42495         (_G_stat64): Likewise.
42496         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42497         instead of struct _G_stat64.
42498         * libio/fileops.c (mmap_remap_check): Likewise.
42499         (decide_maybe_mmap): Likewise.
42500         (_IO_new_file_seekoff): Likewise.
42501         (_IO_file_stat): Likewise.
42502         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42503         _G_off64_t.
42504         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42505         instead of struct _G_stat64.
42506         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42508 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42510         [BZ #14602]
42511         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42512         Replace with ...
42513         (CHECK_EOL): New macro.
42514         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42515         CHECK_EOL.
42516         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42517         Replace with CHECK_EOL.
42518         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42519         Replace with CHECK_EOL.
42521 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42523         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42524         type-generic.
42525         * math/libm-test.inc: Update comment listing what functions and
42526         macros are tested.
42527         (finite_test): New function.
42528         (isinf_test): Likewise.
42529         (isnan_test): Likewise.
42530         (fpclassify_test): Test subnormal input.
42531         (isfinite_test): Likewise.
42532         (isnormal_test): Likewise.
42533         (main): Call the new functions.
42535 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42537         [BZ #14660]
42538         * Makerules (%.dynsym): Force C locale when running
42539         $(OBJDUMP) --dynamic-syms.
42541 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42543         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42544         <stdint.h>.
42546 2012-10-06  David S. Miller  <davem@davemloft.net>
42548         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42549         upper 32-bits of the length value in %o2 since we use branch-on-register
42550         tests which consider the entire 64-bit register.
42552 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42554         * string/test-strstr.c (check2): Add a test for page boundary.
42556 2012-10-05  David S. Miller  <davem@davemloft.net>
42558         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42559         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42560         file.
42561         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42562         sysdep_routines.
42563         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42564         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42565         and bzero when HWCAP_SPARC_CRYPTO is present.
42567 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42569         [BZ #14602]
42570         * string/test-strstr.c (check2): New function.
42571         (test_main): Call check2.
42573         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42574         and bug-strchr1.
42575         * string/bug-strcasestr1.c (do_test): Moved to ...
42576         * string/test-strcasestr.c (check1): Here.  New function.
42577         (do_one_test): Break out result checking code into ...
42578         (check_result): This.  New function.
42579         (do_one_test): Call check_result.
42580         (test_main): Call check1.
42581         * string/bug-strchr1.c (do_test): Moved to ...
42582         * string/test-strchr.c (check1): Here.  New function.
42583         (do_one_test): Break out result checking code into ...
42584         (check_result): This.  New function.
42585         (do_one_test): Call check_result.
42586         (test_main): Call check1.
42587         * string/bug-strstr1.c (main): Moved to ...
42588         * string/test-strstr.c (check1): Here.  New function.
42589         (do_one_test): Break out result checking code into ...
42590         (check_result): This.  New function.
42591         (do_one_test): Call check_result.
42592         (test_main): Call check1.
42593         * string/bug-strcasestr1.c: Removed.
42594         * string/bug-strchr1.c: Likewise.
42595         * string/bug-strstr1.c: Likewise.
42597         * elf/Makefile (dl-routines): Add hwcaps.
42598         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42599         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42600         (_dl_important_hwcaps): Moved to ...
42601         * elf/dl-hwcaps.c: Here.  New file.
42602         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42604         [BZ #14557]
42605         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42606         if IS_IN_rtld isn't defined.
42608         * elf/dl-support.c (_dl_sysinfo_map): New.
42609         Include "get-dynamic-info.h" and "setup-vdso.h".
42610         (_dl_non_dynamic_init): Call setup_vdso.
42611         * elf/dynamic-link.h: Don't include <assert.h>.
42612         (elf_get_dynamic_info): Moved to ...
42613         * elf/get-dynamic-info.h: Here.  New file.
42614         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42615         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42616         * elf/setup-vdso.h: Here.  New file.
42617         * elf/rtld.c: Include "setup-vdso.h".
42618         (dl_main): Call setup_vdso.
42620 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42622         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42623         creal in comment listing functions tested.  List finite, isinf,
42624         isnan, isless, islessequal, isgreater, isgreaterequal,
42625         islessgreater, isunordered, lgamma_r and pow10 as functions and
42626         macros not tested.  Mention which functions not tested are aliases
42627         for other functions.  Fix typo.  Note that signs of NaNs are not
42628         tested.
42630         * scripts/config.guess: Update from config.git.
42631         * scripts/config.sub: Likewise.
42633 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42635         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42636         * misc/madvise.c (madvise): Renamed to __madvise.
42637         Make madvise a weak alias.
42638         * include/sys/mman.h: Declare __madvise.
42639         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42640         * sysdeps/unix/syscalls.list
42641         (madvise): Make __madvise the strong name, and madvise a weak alias.
42642         * sysdeps/unix/sysv/linux/syscalls.list
42643         (madvise, mmap): Remove redundant entries.
42644         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42645         * malloc/malloc.c (mtrim): Likewise.
42646         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42648 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42650         * sysdeps/mach/hurd/dl-cache.c: File removed.
42651         * config.h.in (USE_LDCONFIG): New #undef.
42652         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42653         * configure: Regenerated.
42654         * elf/Makefile (dl-routines): Add dl-cache only under
42655         [$(use-ldconfig) = yes].
42656         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42657         cache on [USE_LDCONFIG].
42658         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42659         [USE_LDCONFIG].
42660         * elf/rtld.c (dl_main): Likewise.
42662 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42664         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42665         _SC_LEVEL4_CACHE_LINESIZE.
42667 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42669         * sysdeps/unix/bsd/confstr.h: File removed.
42671 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42673         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42674         sys/sdt-config.h.
42676 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42678         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42679         Make 'mapoff' field ElfW(Off) rather than off_t.
42681 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42683         * nscd/Makefile: Remove nscd-cflags and all its users.
42684         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42685         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42687         [BZ #10631]
42688         * malloc.c (malloc_printerr): Clarify error message.
42690 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42692         [BZ #14648]
42693         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42694         Set bit_FMA_Usable if FMA is supported.
42695         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42696         macro.
42697         (bit_FMA4_Usable): Updated.
42698         (index_FMA_Usable): New macro.
42699         (CPUID_FMA): Likewise
42700         (HAS_FMA): Defined with bit_FMA_Usable.
42702 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42704         * bits/types.h (__swblk_t): Type removed.
42705         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42706         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42707         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42708         (__SWBLK_T_TYPE): Likewise.
42709         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42710         (__SWBLK_T_TYPE): Likewise.
42711         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42712         (__SWBLK_T_TYPE): Likewise.
42713         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42714         (__SWBLK_T_TYPE): Likewise.
42716 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42717             Honza Horak <hhorak@redhat.com>
42719         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42720         (xdr_mapname): Use YPMAXMAP as maxsize.
42721         (xdr_peername): Use YPMAXPEER as maxsize.
42722         (xdr_keydat): Use YPAXRECORD as maxsize.
42723         (xdr_valdat): Use YPMAXRECORD as maxsize.
42725 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42727         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42729         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42730         * csu/init-first.c: ... here.
42731         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42732         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42733         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42734         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42735         * sysdeps/i386/init-first.c: File removed.
42736         * sysdeps/sh/init-first.c: File removed.
42738 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42740         [BZ #14645]
42741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42742         if x * y might underflow to zero and z is zero.
42743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42744         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42745         * math/libm-test.inc (min_subnorm_value): New variable.
42746         (fma_test): Add more tests.
42747         (fma_test_towardzero): Likewise.
42748         (fma_test_downward): Likewise
42749         (fma_test_upward): Likewise.
42750         (initialize): Set min_subnorm_value.
42752 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42754         [BZ #14638]
42755         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42756         0 + 0.
42757         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42758         mode for addition resulting in exact zero.
42759         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42760         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42761         exact 0 + 0.
42762         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42763         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42764         * math/libm-test.inc (fma_test): Add more tests.
42765         (fma_test_towardzero): New function.
42766         (fma_test_downward): Likewise.
42767         (fma_test_upward): Likewise.
42768         (main): Call the new functions.
42770 2012-09-28  David S. Miller  <davem@davemloft.net>
42772         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42774 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42776         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42777         instead of SIGALRM.
42779         * sysdeps/gnu/_G_config.h: Moved to ...
42780         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42781         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42782         * sysdeps/generic/_G_config.h: ... here.
42784         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42786         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42788         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42789         Conditionalize target on [libnss_test1.so-version].
42791         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42793         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42794         (elfobjdir): Move out of conditionals.
42796         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42797         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42798         (__nss_lookup_function): Conditionalize label remove_from_tree on
42799         [!DO_STATIC_NSS || SHARED], matching its only use.
42801 2012-09-28  David S. Miller  <davem@davemloft.net>
42803         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42804         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42805         file.
42806         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42807         sysdep_routines.
42808         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42809         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42810         when HWCAP_SPARC_CRYPTO is present.
42812 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42814         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42816 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42818         [BZ #6530]
42819         * stdio-common/vfprintf.c (process_string_arg): Revert
42820         2000-07-22 change.
42822 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42824         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42825         for testcase.
42826         * stdio-common/tst-sprintf.c: Include <locale.h>
42827         (main): Test sprintf's handling of incomplete multibyte
42828         characters.
42830 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42832         * elf/dl-runtime.c (VERSYMIDX): Removed.
42833         * elf/dl-version.c (VERSYMIDX): Likewise.
42834         * elf/do-rel.h (VERSYMIDX): Likewise.
42835         (VALIDX): Likewise.
42836         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42837         * elf/rtld.c (VALIDX): Likewise.
42838         (ADDRIDX): Likewise.
42839         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42840         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42841         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42842         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42843         (VALIDX): Likewise.
42844         (ADDRIDX): Likewise.
42846 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42848         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42850 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42852         [BZ #11438]
42853         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42854         to global scope.
42855         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42856         addresses are in the same scope as 192.0.2/24.
42857         * posix/gai.conf: Document new scope table defaults.
42859 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42861         [BZ #5298]
42862         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42863         for ftell.  Compute offsets from write pointers instead.
42864         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42866 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42868         [BZ #14543]
42869         * libio/Makefile (tests): New test case tst-fseek.
42870         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42871         combination works in wide mode.
42872         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42873         state when the external buffer state changes.
42875 2012-09-27  David S. Miller  <davem@davemloft.net>
42877         [BZ #14376]
42878         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42879         pass reloc->r_addend in as the 'high' argument to
42880         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42884 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42886         * rt/tst-aio2.c: Include <pthread.h>.
42887         * rt/tst-aio3.c: Likewise.
42889 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42891         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42893 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42895         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42896         contents on [SHARED].
42898 2012-09-26  Marek Polacek  <polacek@redhat.com>
42900         [BZ #14530]
42901         [BZ #13741]
42902         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42903         for C++ and GCC <4.3 as well as for non GCC compilers.
42905 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42907         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42909 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42911         * Makefile.in (all, install): Declare with .PHONY.
42912         Reported by Michael Hope <michael.hope@linaro.org>.
42914 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42916         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42917         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42918         system header.
42919         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42920         Likewise.
42921         (sydep_routines): Add the new and the internal functions.
42922         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42923         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42925         (GLIBC_2.17): Add the new function.
42926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42927         (GLIBC_2.17): Likewise.
42928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42929         (GLIBC_2.17): Likewise.
42930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42931         (GLIBC_2.17): Likewise.
42932         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42934 2012-09-25  Alan Modra  <amodra@gmail.com>
42936         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42937         Add release barrier before setting once_control to say
42938         initialisation is done.  Add hints on lwarx.  Use macro in
42939         place of isync.
42940         (clear_once_control): Add release barrier.
42942 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42944         [BZ #13629]
42945         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42946         specially.
42947         * math/s_clog10.c (__clog10): Likewise.
42948         * math/s_clog10f.c (__clog10f): Likewise.
42949         * math/s_clog10l.c (__clog10l): Likewise.
42950         * math/s_clogf.c (__clogf): Likewise.
42951         * math/s_clogl.c (__clogl): Likewise.
42952         * math/Makefile (libm-calls): Add x2y2m1.
42953         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42954         (__x2y2m1): Likewise.
42955         (__x2y2m1l): Likewise.
42956         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42957         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42958         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42959         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42960         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42961         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42962         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42963         * sysdeps/i386/fpu/libm-test-ulps: Update.
42964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42966         [BZ #14621]
42967         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42968         int as type of variable DEPTH.
42969         (glob): Use size_t instead of int as type of variables NEWCOUNT
42970         and OLD_PATHC.
42972 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42974         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42975         Add s_sincosf-sse2.
42976         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42977         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42978         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42979         macros for using routine as __sincosf_ia32.
42980         Use macro for function declaration and weak_alias.
42981         * sysdeps/i386/fpu/libm-test-ulps: Update.
42983         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42986         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42987         subnormal argument.
42988         * math/s_cexpf.c (__cexpf): Likewise.
42989         * math/s_csinf.c (__csinf): Likewise.
42990         * math/s_csinhf.c (__csinhf): Likewise.
42991         * math/s_ctanf.c (__ctanf): Likewise.
42992         * math/s_ctanhf.c (__ctanhf): Likewise.
42993         * math/s_ccosh.c (__ccoshf): Likewise.
42994         * math/s_cexp.c (__cexpl): Likewise.
42995         * math/s_csin.c (__csin): Likewise.
42996         * math/s_csinh.c (__csinh): Likewise.
42997         * math/s_ctan.c (__ctan): Likewise.
42998         * math/s_ctanh.c (ctanh): Likewise.
42999         * math/s_ccoshl.c (__ccoshl): Likewise.
43000         * math/s_cexpl.c (__cexpl): Likewise.
43001         * math/s_csinl.c (__csinl): Likewise.
43002         * math/s_csinhl.c (__csinhl): Likewise.
43003         * math/s_ctanl.c (__ctanl): Likewise.
43004         * math/s_ctanhl.c (__ctanhl): Likewise.
43006 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
43008         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43009         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43010         (_IO_off_t): Define to __off_t, not _G_off_t.
43011         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43012         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43013         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43014         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43015         type of __dummy and __dummy2 fields.
43016         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43017         (_G_ssize_t): Likewise.
43018         (_G_off_t): Likewise.
43019         (_G_pid_t): Likewise.
43020         (_G_uid_t): Likewise.
43021         (_G_wchar_t): Likewise.
43022         (_G_wint_t): Likewise.
43023         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43024         (_G_ssize_t): Likewise.
43025         (_G_off_t): Likewise.
43026         (_G_pid_t): Likewise.
43027         (_G_uid_t): Likewise.
43028         (_G_wchar_t): Likewise.
43029         (_G_wint_t): Likewise.
43030         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43031         (_G_ssize_t): Likewise.
43032         (_G_off_t): Likewise.
43033         (_G_pid_t): Likewise.
43034         (_G_uid_t): Likewise.
43035         (_G_wchar_t): Likewise.
43036         (_G_wint_t): Likewise.
43038 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43040         * malloc/arena.c: Include malloc-sysdep.h.
43041         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43042         is sufficient to shrink the heap or an unmap is needed.
43043         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43044         new function check_may_shrink_heap.
43045         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43046         new function check_may_shrink_heap.
43048 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43050         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43051         comments.
43053 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43055         * catgets/test-gencat.sh: Add "set -e".
43056         * elf/tst-pathopt.sh: Likewise.
43057         * grp/tst_fgetgrent.sh: Likewise.
43058         * iconvdata/run-iconv-test.sh: Likewise.
43059         * intl/tst-gettext.sh: Likewise.
43060         * intl/tst-gettext2.sh: Likewise.
43061         * intl/tst-gettext4.sh: Likewise.
43062         * intl/tst-gettext6.sh: Likewise.
43063         * intl/tst-translit.sh: Likewise.
43064         * io/ftwtest-sh: Likewise.
43065         * libio/test-freopen.sh: Likewise.
43066         * malloc/tst-mtrace.sh: Likewise.
43067         * posix/globtest.sh: Likewise.
43068         * posix/tst-getconf.sh: Likewise.
43069         * posix/wordexp-tst.sh: Likewise.
43070         * stdio-common/tst-printf.sh: Likewise.
43071         * stdio-common/tst-unbputc.sh: Likewise.
43072         * stdlib/tst-fmtmsg.sh: Likewise.
43073         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43074         * catgets/Makefile: Do not specify -e option when running
43075         testsuite shell scripts.
43076         * elf/Makefile: Likewise.
43077         * grp/Makefile: Likewise.
43078         * iconvdata/Makefile: Likewise.
43079         * intl/Makefile: Likewise.
43080         * io/Makefile: Likewise.
43081         * libio/Makefile: Likewise.
43082         * malloc/Makefile: Likewise.
43083         * posix/Makefile: Likewise.
43084         * stdio-common/Makefile: Likewise.
43085         * stdlib/Makefile: Likewise.
43086         * sysdeps/x86_64/Makefile: Likewise.
43088         * io/ftwtest-sh: Add copyright header.
43089         * posix/globtest.sh: Likewise.
43090         * posix/tst-getconf.sh: Likewise.
43091         * posix/wordexp-tst.sh: Likewise.
43092         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43094 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43096         [BZ #13679]
43097         * Makeconfig (+link): Defined as $(+link-static) if
43098         $(build-shared) isn't yes.
43099         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43100         isn't yes.
43101         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43103         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43105         [BZ #14562]
43106         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43107         new chunk size with MALLOC_ALIGN_MASK.
43109 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43111         [BZ #5044]
43112         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43113         <rounding-mode.h>.
43114         (__printf_fphex): Determine rounding using get_rounding_mode and
43115         round_away.
43116         * stdio-common/tst-printf-round.c (struct hex_test): New
43117         structure.
43118         (hex_tests): New variable.
43119         (test_hex_in_one_mode): New function.
43120         (do_test): Also run tests for hex float output.
43122 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43124         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43125         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43126         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43127         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43128         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43129         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43130         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43131         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43133 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43135         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43136         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43137         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43138         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43140 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43142         [BZ #14579]
43143         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43144         mode only.
43145         * elf/tst-rtld-load-self.sh: New test.
43146         * elf/Makefile: Run it.
43148 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43150         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43151         (tst-writev-ENV): Remove.
43152         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43154 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43156         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43158 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43160         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43161         unconditional.
43162         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43163         Likewise.
43164         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43165         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43166         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43167         Likewise.
43169 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43171         [BZ #14587]
43172         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43173         * config.make.in (have-cpp-asm-debuginfo): Removed.
43174         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43175         * configure: Regenerated.
43177 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43179         [BZ #5044]
43180         * stdio-common/printf_fp.c: Include <stdbool.h> and
43181         <rounding-mode.h>.
43182         (___printf_fp): Determine rounding using get_rounding_mode and
43183         round_away.
43184         * stdio-common/tst-printf-round.c: New file.
43185         * stdio-common/Makefile (tests): Add tst-printf-round.
43186         (link-libm): New variable.
43187         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43189 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43191         [BZ #14576]
43192         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43193         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43194         Likewise.
43195         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43196         Likewise.
43198 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43200         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43201         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43202         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43203         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43205 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43207         [BZ #14518]
43208         * include/rounding-mode.h: New file.
43209         * sysdeps/generic/get-rounding-mode.h: Likewise.
43210         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43211         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43212         (MAX_VALUE): New macro.
43213         (MIN_VALUE): Likewise.
43214         (overflow_value): New function.
43215         (underflow_value): Likewise.
43216         (round_and_return): Use overflow_value and underflow_value to
43217         determine return values in overflow and underflow cases.  Use
43218         round_away to determine rounding depending on rounding mode.
43219         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43220         determine return values in overflow and underflow cases.
43221         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43222         (struct test_results): New structure.
43223         (struct test): Use struct test_results to store expected results
43224         for all rounding modes.
43225         (TEST): Include expected results for all rounding modes.
43226         (test_in_one_mode): New function.
43227         (do_test): Use test_in_one_mode to compute and check results.
43228         Check results for all rounding modes.
43229         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43230         $(link-libm).
43232 2012-12-09  Allan McRae  <allan@archlinux.org>
43234         * sysdeps/i386/fpu/libm-test-ulps: Update
43236 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43238         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43239         (_G_int32_t): Likewise.
43240         (_G_uint16_t): Likewise.
43241         (_G_uint32_t): Likewise.
43242         (_G_HAVE_BOOL): Likewise.
43243         (_G_HAVE_ATEXIT): Likewise.
43244         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43245         (_G_HAVE_IO_FILE_OPEN): Likewise.
43246         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43247         (_G_int32_t): Likewise.
43248         (_G_uint16_t): Likewise.
43249         (_G_uint32_t): Likewise.
43250         (_G_HAVE_BOOL): Likewise.
43251         (_G_HAVE_ATEXIT): Likewise.
43252         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43253         (_G_HAVE_IO_FILE_OPEN): Likewise.
43254         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43255         (_G_int32_t): Likewise.
43256         (_G_uint16_t): Likewise.
43257         (_G_uint32_t): Likewise.
43258         (_G_HAVE_BOOL): Likewise.
43259         (_G_HAVE_ATEXIT): Likewise.
43260         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43261         (_G_HAVE_IO_FILE_OPEN): Likewise.
43263 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43265         * csu/libc-tls.c: Update copyright years.
43267 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43269         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43270         [!_G_USING_THUNKS]: Remove conditional code.
43271         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43272         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43274         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43275         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43276         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43277         (_G_VTABLE_LABEL_PREFIX): Likewise.
43278         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43279         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43280         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43281         (_G_VTABLE_LABEL_PREFIX): Likewise.
43282         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43283         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43284         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43285         (_G_VTABLE_LABEL_PREFIX): Likewise.
43286         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43288 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43290         * libio/Makefile: Include ../Makeconfig before tests.
43291         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43292         only if $(build-shared) is yes.
43294         * iconv/gconv_db.c: Update copyright years.
43296 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43298         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43299         unwind info if defined PIC. Fix special cases description.
43300         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43302         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43303         DP_HI_MASK entry.
43304         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43306 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43308         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43310         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43311         is NULL.
43313         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43314         (LDLIBS-tst-chk4): This.
43315         (LDFLAGS-tst-chk5): Renamed to ...
43316         (LDLIBS-tst-chk5): This.
43317         (LDFLAGS-tst-chk6): Renamed to ...
43318         (LDLIBS-tst-chk6): This.
43319         (LDFLAGS-tst-lfschk4): Renamed to ...
43320         (LDLIBS-tst-lfschk4): This.
43321         (LDFLAGS-tst-lfschk5): Renamed to ...
43322         (LDLIBS-tst-lfschk5): This.
43323         (LDFLAGS-tst-lfschk6): Renamed to ...
43324         (LDLIBS-tst-lfschk6): This.
43326         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43327         on $(common-objpfx)soversions.mk.
43329 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43331         [BZ #10014]
43332         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43333         example host name.
43335 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43337         * malloc/arena.c (arena_get_retry): New function that gets
43338         another arena for the caller to try its request on.
43339         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43340         current arena cannot fulfill the request.
43341         (__libc_memalign): Likewise.
43342         (__libc_memalign): Likewise.
43343         (__libc_pvalloc): Likewise.
43344         (__libc_calloc): Likewise.
43346 2012-09-05  John Tobey  <john.tobey@gmail.com>
43348         [BZ #13542]
43349         * manual/arith.texi (Operations on Complex): Fix description
43350         of carg branch cut.
43352 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43354         [BZ #10014]
43355         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43356         host name.
43358         [BZ #10038]
43359         * manual/memory.texi (Memory): Make order of menu items match
43360         order of sections.
43362 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43364         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43365         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43366         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43368 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43370         * csu/libc-tls.c (static_dtv): Renamed to ...
43371         (_dl_static_dtv): This.  Make it global.
43372         (_dl_initial_dtv): Removed.
43373         (__libc_setup_tls): Updated.
43374         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43375         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43376         DL_INITIAL_DTV.
43378 2012-09-06  Petr Machata  <pmachata@redhat.com>
43380         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43381         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43382         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43383         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43385 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43387         [BZ #14545]
43388         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43389         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43390         freeing dtv[-1].
43392 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43394         [BZ #14544]
43395         * Makeconfig (link-static-before-libc): Replace $(+prector)
43396         with $(+prectorT).
43397         (link-static-after-libc): Replace $(+postctor) with
43398         $(+postctorT).
43399         (link-bounded): Replace $(+prector)/$(+postctor) with
43400         $(+prectorT)/$(+postctorT).
43401         (+prectorT): New macro.
43402         (+postctorT): Likewise.
43404 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43406         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43407         (round_str): Handle values above the maximum for IBM long double
43408         as inexact.
43409         * stdlib/tst-strtod-round.c (tests): Regenerated.
43411 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43413         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43414         assembler flag.
43415         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43416         zarch_nohighgprs around the zarch optimized routines.
43417         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43418         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43419         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43420         for zarch.
43422 2012-09-05  David S. Miller  <davem@davemloft.net>
43424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43426         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43427         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43428         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43429         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43430         entries.
43432 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43434         * malloc/arena.c: Fold copyright years.
43435         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43437 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43439         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43441 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43443         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43445 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43447         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43448         change internal state upon failure.
43450 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43452         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43453         * malloc/memusage.c (mmap): Likewise.
43454         (mmap64, mremap): Likewise.  Adjust name in comment.
43456 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43458         * libio/fileops.c: Fix typos in comments.
43459         * libio/oldfileops.c: Likewise.
43460         * libio/wfileops.c: Likewise.
43462 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43464         [BZ #1349]
43465         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43466         (tst-malloc-usable-ENV): Set environment for test case.
43467         * malloc/hooks.c (malloc_check_get_size): New function to get
43468         requested size.
43469         * malloc/malloc.c (musable): Use malloc_check_get_size.
43470         * malloc/tst-malloc-usable.c: New test case.
43472 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43474         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43476 2012-09-05  Allan McRae  <allan@archlinux.org>
43478         [BZ #13966]
43479         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43480         determine header location.
43481         * configure: Regenerated.
43483 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43485         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43486         float format.
43487         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43488         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43489         format.
43490         (test): Regenerate.
43492 2012-09-04  David S. Miller  <davem@davemloft.net>
43494         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43495         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43496         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43498 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43500         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43501         failures.
43503         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43505 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43507         [BZ #9914]
43508         * libio/iogetdelim.c: Include <limits.h>.
43509         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43510         + len + 1 would overflow.
43512 2012-09-03  Andreas Jaeger  <aj@suse.de>
43514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43515         * sysdeps/i386/fpu/libm-test-ulps: Update.
43517 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43519         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43520         Add s_sinf-sse2, s_conf-sse2.
43522         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43523         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43524         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43525         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43527         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43528         for using routine as __sinf_ia32.
43529         Use macro for function declaration and weak_alias.
43530         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43531         for using routine as __cosf_ia32.
43532         Use macro for function declaration and weak_alias.
43534         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43535         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43537         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43538         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43539         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43541         * math/libm-test.inc (cos_test): Add more test cases.
43542         (sin_test): Likewise.
43543         (sincos_test): Likewise.
43545 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43547         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43548         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43549         hidden.
43550         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43552 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43554         [BZ #14538]
43555         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43556         first element of the GOT.
43557         (elf_machine_load_address): Return the difference between
43558         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43560 2012-09-01  Allan McRae  <allan@archlinux.org>
43562         [BZ #13412]
43563         * configure.in (AWK): Require gawk version 3.0 or later.
43564         * configure: Regenerated.
43566 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43568         * sysdeps/unix/sysv/linux/kernel-features.h
43569         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43570         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43571         [__NR_clock_getres]: Make code unconditional.
43572         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43573         (clock_getcpuclockid): Remove code left unreachable by removal of
43574         conditionals.
43575         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43576         code unconditional.
43577         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43578         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43579         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43580         Make code unconditional.
43581         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43582         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43583         * sysdeps/unix/sysv/linux/clock_settime.c
43584         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43585         conditional code.
43586         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43587         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43589 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43591         [BZ #14476]
43592         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43593         scripts/test-installation.pl.
43595         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43596         and $ld_so_version if it is set.
43598 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43600         [BZ #14516]
43601         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43602         failure if reading from procfs failed.
43603         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43605 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43607         * sysdeps/unix/sysv/linux/kernel-features.h
43608         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43609         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43610         Remove conditional code.
43611         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43612         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43613         Remove conditional code.
43614         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43615         * sysdeps/unix/sysv/linux/i386/fxstat.c
43616         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43617         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43618         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43619         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43620         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43621         * sysdeps/unix/sysv/linux/i386/lxstat.c
43622         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43623         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43624         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43625         Remove conditional code.
43626         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43627         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43628         Remove conditional code.
43629         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43630         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43631         <kernel-features.h>.
43632         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43633         Remove.
43634         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43635         Remove conditional code.
43636         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43637         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43638         Remove conditional.
43640 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43642         [BZ #5400]
43643         * NEWS: Add fixed bug number.
43645 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43647         [BZ #14519]
43648         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43649         underflowing exponent in case of negative sign.
43650         * stdlib/tst-strtod-round-data: Add more tests.
43651         * stdlib/tst-strtod-round.c (tests): Regenerated.
43653         [BZ #3479]
43654         * stdlib/strtod_l.c (NDIG): Remove.
43655         (HEXNDIG): Likewise.
43656         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43657         smallest representable value.
43658         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43659         lie within an exact representation of 1/2 ulp of the result.
43660         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43661         unconditionally.
43662         (TENS_P9_IDX): Define unconditionally.
43663         (TENS_P9_SIZE): Likewise.
43664         (TENS_P10_IDX): Likewise.
43665         (TENS_P10_SIZE): Likewise.
43666         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43667         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43668         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43669         entries for 10^2^13 and 10^2^14.
43670         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43671         (TENS_P13_IDX): Define.
43672         (TENS_P13_SIZE): Likewise.
43673         (TENS_P14_IDX): Likewise.
43674         (TENS_P14_SIZE): Likewise.
43675         (_fpioconst_pow10): Change array size to
43676         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43677         unconditional.
43678         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43679         1024]: Add entries for 10^2^13 and 10^2^14.
43680         [LAST_POW10 > _LAST_POW10]: Remove #error.
43681         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43682         (_fpioconst_pow10): Change array size to
43683         FPIOCONST_POW10_ARRAY_SIZE.
43684         * stdlib/gen-fpioconst.c: New file.
43685         * stdlib/gen-tst-strtod-round.c: Likewise.
43686         * stdlib/tst-strtod-round-data: Likewise.
43687         * stdlib/tst-strtod-round.c: Likewise.
43688         * stdlib/Makefile (tests): Add tst-strtod-round.
43690         [BZ #14459]
43691         * stdlib/strtod_l.c: Include <stdint.h>.
43692         (NDEBUG): Do not define.
43693         (round_and_return): Change EXPONENT parameter to type intmax_t.
43694         Rearrange calculations to avoid internal overflow possibilities.
43695         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43696         Rearrange calculations to avoid internal overflow possibilities.
43697         Assert that number fits inside MPNSIZE limbs.
43698         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43699         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43700         calculations and add assertions to avoid internal overflow
43701         possibilities.  Add casts to avoid signed/unsigned operations.
43702         * stdlib/tst-strtod-overflow.c: New file.
43703         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43705 2012-08-25  Marek Polacek  <polacek@redhat.com>
43707         * time/time.h: Fix some typos in comments.
43709 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43711         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43712         * posix/tst-rfc3484-2.c: Likewise.
43713         * posix/tst-rfc3484-3.c: Likewise.
43715 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43717         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43718         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43720 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43722         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43723         #include of fxstatat64.c.
43725 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43727         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43728         * shadow/getspent_r.c: Likewise.
43729         * shadow/getspnam.c: Likewise.
43730         * shadow/getspnam_r.c: Likewise.
43731         * gshadow/getsgent.c: Likewise.
43732         * gshadow/getsgent_r.c: Likewise.
43733         * gshadow/getsgnam.c: Likewise.
43734         * gshadow/getsgnam_r.c: Likewise.
43735         * inet/getnetbyad.c: Likewise.
43736         * inet/getnetbyad_r.c: Likewise.
43737         * inet/getnetbynm.c: Likewise.
43738         * inet/getnetbynm_r.c: Likewise.
43739         * inet/getnetent.c: Likewise.
43740         * inet/getnetent_r.c: Likewise.
43741         * inet/getproto.c: Likewise.
43742         * inet/getproto_r.c: Likewise.
43743         * inet/getprtent.c: Likewise.
43744         * inet/getprtent_r.c: Likewise.
43745         * inet/getprtname.c: Likewise.
43746         * inet/getprtname_r.c: Likewise.
43747         * inet/getrpcbyname.c: Likewise.
43748         * inet/getrpcbyname_r.c: Likewise.
43749         * inet/getrpcbynumber.c: Likewise.
43750         * inet/getrpcbynumber_r.c: Likewise.
43751         * inet/getrpcent.c: Likewise.
43752         * inet/getrpcent_r.c: Likewise.
43753         * inet/getaliasent.c: Likewise.
43754         * inet/getaliasent_r.c: Likewise.
43755         * inet/getaliasname.c: Likewise.
43756         * inet/getaliasname_r.c: Likewise.
43757         * nscd/getgrgid_r.c: Likewise.
43758         * nscd/getgrnam_r.c: Likewise.
43759         * nscd/gethstbyad_r.c: Likewise.
43760         * nscd/gethstbynm3_r.c: Likewise.
43761         * nscd/getpwnam_r.c: Likewise.
43762         * nscd/getpwuid_r.c: Likewise.
43763         * nscd/getsrvbynm_r.c: Likewise.
43764         * nscd/getsrvbypt_r.c: Likewise.
43765         * nscd/gai.c: Likewise.
43767         * configure.in (build_nscd): New substituted variable, set
43768         by --disable-build-nscd and defaults to $use_nscd.
43769         * configure: Regenerated.
43770         * config.make.in (build-nscd): New substituted variable.
43771         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43772         Change conditional to require [$(build-nscd) = yes] as well.
43773         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43775         [BZ# 13696]
43776         * configure.in (use_nscd): New substituted variable, set by
43777         --disable-nscd.  If enabled, define USE_NSCD.
43778         * configure: Regenerated.
43779         * config.h.in: Add USE_NSCD.
43780         * config.make.in (use-nscd): New substituted variable.
43781         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43782         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43783         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43784         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43785         (CFLAGS-getgrnam_r.c): Likewise.
43786         (CFLAGS-initgroups.c): Likewise.
43787         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43788         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43789         Variables removed.
43790         * inet/getnetgrent_r.c
43791         (nscd_setnetgrent): New function, broken out of ...
43792         (setnetgrent): ... here.  Call it.
43793         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43794         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43795         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43796         * nscd/Makefile (routines, aux): Move definitions after include of
43797         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43798         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43799         Conditionalize on [USE_NSCD].
43800         (is_nscd, nscd_init_cb): Likewise.
43801         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43802         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43803         * nss/nss_db/db-init.c: Likewise.
43804         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43805         [USE_NSCD].
43806         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43807         (make_request): Use it.
43808         (cache_valid_p): New function.
43809         (__check_pf): Use it.
43810         * NEWS: Add item for --disable-nscd.
43812 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43814         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43815         to support sed >= 4.2.1-20-ga9bf076.
43816         * configure: Regenerated.
43818 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43820         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43821         Conditionalize whole body on [IREL].
43823 2012-08-22  Jeff Law <law@redhat.com>
43825         [BZ #14505]
43826         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43827         if the family is PF_UNSPEC.
43829 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43831         * Makerules (lib-version): Rename from V.
43832         (install-lib-nosubdir): Change V to lib-version.
43834 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43836         [BZ #14252]
43837         * powerpc32/power6/wcschr.c: New file.
43838         * powerpc32/power6/wcscpy.c: New file.
43839         * powerpc32/power6/wcsrchr.c: New file.
43840         * powerpc64/power6/wcschr.c: New file.
43841         * powerpc64/power6/wcscpy.c: New file.
43842         * powerpc64/power6/wcsrchr.c: New file.
43844 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43846         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43847         (two_way_short_needle): Use it.
43848         * string/strstr.c (AVAILABLE1_USES_J): Define.
43849         * string/strcasestr.c: Likewise.
43851         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43852         array references.
43853         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43855         [BZ #11607]
43856         * NEWS: Add an entry.
43857         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43858         define their defaults.
43859         (two_way_short_needle): Detect end-of-string on-the-fly.
43860         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43861         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43862         * string/bug-strcasestr1.c: New test.
43863         * string/Makefile: Run it.
43865 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43867         [BZ #11607]
43868         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43869         the first character.
43871 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43873         * csu/elf-init.c (__libc_csu_irel): Function removed.
43874         * csu/libc-start.c (apply_irel): New function.
43875         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43877 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43879         * sysdeps/unix/sysv/linux/kernel-features.h
43880         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43881         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43882         <kernel-features.h>.
43883         [__NR_fadvise64_64]: Make code unconditional.
43884         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43885         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43886         !__NR_fadvise64_64)]: Likewise.
43887         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43888         !__NR_fadvise64_64))]: Likewise.
43889         [__NR_fadvise64]: Make code unconditional.
43890         [!__NR_fadvise64]: Remove conditional code.
43891         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43892         <kernel-features.h>.
43893         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43894         unconditional.
43895         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43896         conditional code.
43897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43898         not include <kernel-features.h>.
43899         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43900         unconditional.
43901         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43902         conditional code.
43903         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43904         include <kernel-features.h>.
43905         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43906         unconditional.
43907         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43908         conditional code.
43910 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43912         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43913         slight instruction rearrangements per scrollpipe analysis.
43914         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43916 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43918         * manual/syslog.texi (syslog; vsyslog, closelog):
43919         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43920         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43922         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43923         DSOCAPS to match condition on defining it.
43925 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43927         * sysdeps/unix/sysv/linux/kernel-features.h
43928         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43930         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43931         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43933         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43934         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43936         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43937         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43939         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43940         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43942         * sysdeps/unix/sysv/linux/kernel-features.h
43943         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43944         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43945         unconditional.
43946         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43947         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43948         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43949         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43950         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43951         Make code unconditional.
43952         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43953         (__mmap64) [!__NR_mmap2]: Likewise.
43954         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43955         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43956         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43957         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43958         [__NR_mmap2]: Make code unconditional.
43959         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43960         (__mmap64) [!__NR_mmap2]: Likewise.
43962 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43964         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43966 2012-08-18  Andreas Jaeger  <aj@suse.de>
43968         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43970 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43972         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43973         * include/unistd.h (__have_sock_cloexec): Likewise.
43974         (__have_pipe2): Likewise.
43975         (__have_dup3): Likewise.
43977 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43979         [BZ #9685]
43980         * include/unistd.h (__have_pipe2): Change define into an extern int.
43981         (__have_dup3): Likewise.
43982         * socket/have_sock_cloexec.c: Include fcntl.h.
43983         (__have_pipe2): New variable.
43984         (__have_dup3): Likewise.
43986 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43988         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43990 2012-08-17  Marek Polacek  <polacek@redhat.com>
43992         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43993         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43995 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43997         * configure.in: Add AC_SUBST for sysheaders.
43998         * configure: Regenerated.
43999         * config.make.in (sysheaders): New substituted variable.
44001         * sysdeps/unix/mkfifo.c: Moved ...
44002         * sysdeps/posix/mkfifo.c: ... here.
44003         * sysdeps/unix/mkfifoat.c: Moved ...
44004         * sysdeps/posix/mkfifoat.c: ... here.
44006         * sysdeps/unix/utime.c: Moved ...
44007         * sysdeps/posix/utime.c: ... here.
44009         * sysdeps/unix/time.c: Moved ...
44010         * sysdeps/posix/time.c: ... here.
44011         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44012         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44014         * sysdeps/unix/nice.c: Moved ...
44015         * sysdeps/posix/nice.c: ... here.
44017         * sysdeps/unix/alarm.c: Moved ...
44018         * sysdeps/posix/alarm.c: ... here.
44020         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44022 2012-08-17  Jeff Law <law@redhat.com>
44024         * intl/Makefile (codeset_mo): New variable.
44025         ($(codeset_mo)): New target.
44026         (tst-codeset.out): Depend on that.  Remove explicit rule.
44027         (tst-gettext3.out, tst-gettext5.out): Likewise.
44028         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44029         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44030         * intl/tst-codeset.sh: Remove.
44031         * intl/tst-gettext3.sh: Likewise.
44032         * intl/tst-gettext5.sh: Likewise.
44034 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44036         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44037         * sysdeps/unix/syscalls.list: ... here.
44039         * sysdeps/posix/getaddrinfo.c
44040         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44041         (gaiconf_init, gaiconf_reload): Use them.
44042         [!_STATBUF_ST_NSEC]
44043         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44044         Define using time_t rather than struct timespec.
44046         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44047         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44048         Macros removed.
44049         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44050         [!NO_THREADS].
44051         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44052         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44053         Likewise.
44055         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44056         __libc_cleanup_push argument.
44058         * bits/param.h: New file.
44059         * misc/sys/param.h: New file.
44060         * include/sys/param.h: New file.
44061         * misc/Makefile (headers): Add bits/param.h.
44062         * sysdeps/generic/sys/param.h: File removed.
44063         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44064         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44065         * sysdeps/mach/hurd/bits/param.h: New file.
44066         * sysdeps/mach/hurd/sys/param.h: File removed.
44068         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44069         last change.
44071         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44072         [_IO_MTSAFE_IO].
44073         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44074         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44075         New macros.
44077         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44078         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44079         rather than -D_IO_MTSAFE_IO conditionally.
44080         * stdio-common/Makefile (CPPFLAGS): Likewise.
44081         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44082         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44083         Use $(libio-mtsafe).
44084         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44085         of -D_IO_MTSAFE_IO.
44086         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44087         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44088         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44089         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44090         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44091         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44092         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44093         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44094         (CFLAGS-fread_u_chk.c): Likewise.
44095         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44096         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44097         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44098         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44099         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44100         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44101         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44102         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44103         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44105         * libio/Makefile: Test [$(libc-reentrant) = yes]
44106         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44108         * Makeconfig
44109         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44110         * sysdeps/pthread/configure: File removed.
44111         * sysdeps/pthread/Makeconfig: New file.
44112         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44113         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44115 2012-08-16  Gary Benson  <gbenson@redhat.com>
44117         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44118         unmapping the first object in a namespace.
44120 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44122         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44123         (__internal_setnetgrent): ... this.  Add internal_function to
44124         definition.  Add libc_hidden_def.
44125         (setnetgrent): Update caller.
44126         (internal_endnetgrent): Renamed to ...
44127         (__internal_endnetgrent): ... this.  Add internal_function to
44128         definition.  Add libc_hidden_def.
44129         (endnetgrent): Update caller.
44130         (internal_getnetgrent_r): Renamed to ...
44131         (__internal_getnetgrent_r): ... this.  Add internal_function to
44132         definition.  Add libc_hidden_def.
44133         (__getnetgrent_r): Update caller.
44134         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44136 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44138         * stdlib/longlong.h: Update from GCC.
44140 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44142         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44143         on _QL, which is set by umul_ppmm but never used.
44144         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44145         variables, which are set by GMP macros but never used.
44146         * stdio-common/_itowa.c (_itowa): Likewise.
44147         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44148         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44150 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44152         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44153         struct La_sh_regs is not constant.
44154         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44155         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44156         and struct La_sparc64_regs are not constant.
44158 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44160         * sysdeps/unix/sysv/linux/kernel-features.h
44161         (__ASSUME_POSIX_TIMERS): Remove.
44162         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44163         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44164         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44165         Make code unconditional.
44166         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44167         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44168         Make code unconditional.
44169         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44170         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44171         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44172         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44173         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44174         Make code unconditional.
44175         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44176         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44177         (__libc_missing_posix_timers): Remove.
44179 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44181         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44182         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44184         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44186         * elf/dl-sym.c: Include <stdlib.h>.
44188         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44189         constants, which avoids warnings in 32-bit builds.
44191         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44192         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44194         * misc/lseek.c: File moved to ...
44195         * io/lseek.c: ... here.
44197         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44199         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44200         shifting LEN more than 31 bits at once.
44202 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44204         [BZ #14195]
44205         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44206         segmentation fault for a case of two empty input strings.
44207         * string/test-strncasecmp.c (check1): Renamed to...
44208         (bz12205): ...this.
44209         (bz14195): Add new testcase for two empty input strings and N > 0.
44210         (test_main): Call new testcase, adapt for renamed function.
44212 2012-08-15  Andreas Jaeger  <aj@suse.de>
44214         [BZ #14090]
44215         * crypt/md5test2.c: New test, based on test supplied by Serge
44216         Belyshev <belyshev@depni.sinp.msu.ru>.
44217         * crypt/Makefile (xtests): Add md5test-giant..
44218         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44220 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44222         [BZ #14090]
44223         * crypt/md5.c (md5_process_block): Don't assume the buffer
44224         length is less than 2**32.
44225         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44226         length is less than 2**64.
44228 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44230         * string/str-two-way.h: Include <sys/param.h>.
44231         (MAX): Macro removed.
44233         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44234         Move #define and #undef of memmove to just before and after
44235         including <string.h>.
44237         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44238         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44239         and after including <string.h>.  Move declarations of
44240         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44241         to before #include "string/memmove.c".
44243         * include/dirent.h: Declare __getdirentries.
44245         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44246         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44248 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44250         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44251         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44252         * sysdeps/i386/configure: Regenerated.
44253         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44254         STABS_CURRENT_FILE, and STABS_FUN.
44255         (END): Remove call to STABS_FUN_END.
44256         (STABS_CURRENT_FILE1): Delete.
44257         (STABS_CURRENT_FILE): Likewise.
44258         (STABS_FUN): Likewise.
44259         (STABS_FUN_END): Likewise.
44260         (STABS_FUN2): Likewise.
44261         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44262         * sysdeps/x86_64/configure: Regenerated.
44264 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44266         * elf/dl-open.c: Include <atomic.h>.
44267         * elf/dl-lookup.c: Likewise.
44269 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44271         * sysdeps/unix/sysv/linux/kernel-features.h
44272         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44273         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44274         unconditionally.
44275         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44276         unconditionally.
44277         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44278         condition on __ASSUME_CLONE_THREAD_FLAGS.
44280 2012-08-14  Andreas Jaeger  <aj@suse.de>
44282         * sysdeps/i386/fpu/libm-test-ulps: Update.
44284 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44286         * include/atomic.h (atomic_exchange_and_add): Split into ...
44287         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44288         New atomic macros.
44290 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44292         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44294 2012-08-13  Jeff Law <law@redhat.com>
44296         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44297         null byte in the output string.
44299 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44301         * sysdeps/unix/sysv/linux/kernel-features.h
44302         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44303         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44304         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44305         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44306         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44307         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44308         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44310 2012-08-09  Jeff Law <law@redhat.com>
44312         [BZ #13939]
44313         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44314         When avoid_arena is set, don't retry in the that arena.  Pick the
44315         next one, whatever it might be.
44316         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44317         (arena_lock): Pass in new parameter to arena_get2.
44318         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44319         arena_get2.
44320         (__libc_malloc): Unify retrying after main arena failure with
44321         __libc_memalign version.
44322         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44324 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44326         [BZ #14166]
44327         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44328         to __redirect_strstr.
44329         (__strstr_sse42): Use typeof __redirect_strstr.
44330         (__strstr_ia32): Likewise.
44331         (__libc_strstr): New prototype.
44332         (strstr): Renamed to ...
44333         (__libc_strstr): This.
44334         (strstr): New strong alias of __libc_strstr.
44335         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44336         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44337         __redirect_time.
44338         Include <time.h>.
44339         (__libc_time): New prototype.
44340         (time_ifunc): Replace time with __libc_time.
44341         (time): New strong alias and hidden definition of __libc_time.
44342         (__GI_time): Remove strong alias.
44343         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44344         Include <stddef.h>.
44345         (memmove): Redefined to __redirect_memmove.
44346         (__memmove_sse2): Use typeof __redirect_memmove.
44347         (__memmove_ssse3): Likewise.
44348         (__memmove_ssse3_back): Likewise.
44349         (__libc_memmove): New prototype.
44350         (memmove): Renamed to ...
44351         (__libc_memmove): This.
44352         (memmove): New strong alias of __libc_memmove.
44354 2012-08-08  Mark Salter  <msalter@redhat.com>
44356         * elf/elf.h
44357         (R_MN10300_TLS_GD): Define.
44358         (R_MN10300_TLS_LD): Likewise.
44359         (R_MN10300_TLS_LDO): Likewise.
44360         (R_MN10300_TLS_GOTIE): Likewise.
44361         (R_MN10300_TLS_IE): Likewise.
44362         (R_MN10300_TLS_LE): Likewise.
44363         (R_MN10300_TLS_DTPMOD): Likewise.
44364         (R_MN10300_TLS_DTPOFF): Likewise.
44365         (R_MN10300_TLS_TPOFF): Likewise.
44366         (R_MN10300_SYM_DIFF): Likewise.
44367         (R_MN10300_ALIGN): Likewise.
44368         (R_MN10300_NUM): Update.
44370 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44372         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44373         Remove.
44375 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44377         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44379         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44380         sysdeps/unix -> sysdeps/posix move.
44381         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44383 2012-08-07      Allan McRae     <allan@archlinux.org>
44385         [BZ #14303]
44386         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44387         (SUNOS_CPP): Likewise.
44388         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44389         not found.
44390         (open_input): Call CPP using execvp.
44392 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44394         * sysdeps/unix/sysv/linux/kernel-features.h
44395         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44396         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44397         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44398         (__ASSUME_WAITID_SYSCALL): Likewise.
44399         * sysdeps/unix/sysv/linux/dl-execstack.c
44400         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44401         code unconditional.
44402         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44403         conditional code.
44404         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44405         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44406         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44407         code.
44408         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44409         unconditional.
44410         [__ASSUME_WAITID_SYSCALL]: Likewise.
44411         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44413 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44415         * sysdeps/unix/closedir.c: Renamed to ...
44416         * sysdeps/posix/closedir.c: ... here.
44417         * sysdeps/unix/dirfd.c: Renamed to ...
44418         * sysdeps/posix/dirfd.c: ... here.
44419         * sysdeps/unix/dirstream.h: Renamed to ...
44420         * sysdeps/posix/dirstream.h: ... here.
44421         * sysdeps/unix/fdopendir.c: Renamed to ...
44422         * sysdeps/posix/fdopendir.c: ... here.
44423         * sysdeps/unix/opendir.c: Renamed to ...
44424         * sysdeps/posix/opendir.c: ... here.
44425         * sysdeps/unix/readdir.c: Renamed to ...
44426         * sysdeps/posix/readdir.c: ... here.
44427         * sysdeps/unix/readdir_r.c: Renamed to ...
44428         * sysdeps/posix/readdir_r.c: ... here.
44429         * sysdeps/unix/rewinddir.c: Renamed to ...
44430         * sysdeps/posix/rewinddir.c: ... here.
44431         * sysdeps/unix/seekdir.c: Renamed to ...
44432         * sysdeps/posix/seekdir.c: ... here.
44433         * sysdeps/unix/telldir.c: Renamed to ...
44434         * sysdeps/posix/telldir.c: ... here.
44435         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44436         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44437         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44438         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44440         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44441         * bits/fcntl.h: ... here.
44443         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44444         not 0.
44445         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44446         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44447         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44448         (struct flock): Move l_start, l_len to the beginning.
44449         Use __pid_t for l_pid.
44450         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44451         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44452         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44453         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44454         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44455         [__USE_LARGEFILE64] (struct flock64): New type.
44456         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44458         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44459         * bits/dirent.h: ... here.
44461         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44462         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44464 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44466         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44467         Change from 2.6.0 to 2.6.16.
44468         * sysdeps/unix/sysv/linux/configure: Regenerated.
44469         * sysdeps/unix/sysv/linux/kernel-features.h
44470         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44471         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44472         version.
44473         (__ASSUME_UTIMES): Likewise.
44474         (__ASSUME_CLONE_STOPPED): Remove.
44475         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44476         architectures, not kernel version.
44477         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44478         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44479         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44480         (__ASSUME_WAITID_SYSCALL): Likewise.
44481         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44482         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44483         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44484         refer to older versions.
44486 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44488         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44489         Define alphasort64 as an alias.
44490         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44491         Define versionsort64 as an alias.
44492         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44493         Define scandir64 as an alias.
44494         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44495         Define scandirat64 as an alias.
44496         * dirent/alphasort64.c (alphasort64):
44497         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44498         * dirent/versionsort64.c: Likewise.
44499         * dirent/scandir64.c: Likewise.
44500         * dirent/scandirat64.c: Likewise.
44501         * sysdeps/wordsize-64/alphasort.c: File removed.
44502         * sysdeps/wordsize-64/alphasort64.c: File removed.
44503         * sysdeps/wordsize-64/scandir.c: File removed.
44504         * sysdeps/wordsize-64/scandir64.c: File removed.
44505         * sysdeps/wordsize-64/scandirat.c: File removed.
44506         * sysdeps/wordsize-64/scandirat64.c: File removed.
44507         * sysdeps/wordsize-64/versionsort.c: File removed.
44508         * sysdeps/wordsize-64/versionsort64.c: File removed.
44509         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44510         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44511         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44512         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44513         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44514         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44515         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44516         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44518         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44519         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44520         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44521         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44522         [defined __arch64__ || defined __sparcv9]
44523         (__INO_T_MATCHES_INO64_T): New macro.
44524         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44525         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44526         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44527         * sysdeps/unix/sysv/linux/bits/dirent.h
44528         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44529         (_DIRENT_MATCHES_DIRENT64): New macro.
44531         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44532         Define lockf64 as an alias.
44533         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44534         Define fseeko64 as an alias.
44535         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44536         Define ftello64 as an alias.
44537         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44538         Define _IO_fgetpos64 and fgetpos64 as aliases.
44539         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44540         Define _IO_fsetpos64 and fsetpos64 as aliases.
44541         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44542         Conditionalize body on this.
44543         * libio/fseeko64.c: Likewise.
44544         * libio/ftello64.c: Likewise.
44545         * libio/iofgetpos64.c: Likewise.
44546         * libio/iofsetpos64.c: Likewise.
44547         * sysdeps/wordsize-64/lockf.c: File removed.
44548         * sysdeps/wordsize-64/lockf64.c: File removed.
44549         * sysdeps/wordsize-64/fseeko.c: File removed.
44550         * sysdeps/wordsize-64/fseeko64.c: File removed.
44551         * sysdeps/wordsize-64/ftello.c: File removed.
44552         * sysdeps/wordsize-64/ftello64.c: File removed.
44553         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44554         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44555         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44556         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44557         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44558         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44559         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44560         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44561         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44562         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44563         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44564         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44565         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44566         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44568         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44569         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44570         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44571         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44572         [defined __arch64__ || defined __sparcv9]
44573         (__OFF_T_MATCHES_OFF64_T): New macro.
44574         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44575         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44576         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44577         (__OFF_T_MATCHES_OFF64_T): New macro.
44579 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44581         * stdlib/secure-getenv.c (__secure_getenv): Replace
44582         GLIBC_2_16 with GLIBC_2_17.
44584 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44586         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44587         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44589 2012-08-03  David S. Miller  <davem@davemloft.net>
44591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44593 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44595         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44596         Remove.
44597         (__ASSUME_CORRECT_SI_PID): Likewise.
44598         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44599         (__ASSUME_TMPFS_NAME): Likewise.
44600         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44601         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44602         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44603         (HAVE_AUX_SECURE): Make definition unconditional.
44604         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44605         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44607 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44609         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44610         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44611         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44612         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44613         __eloop_threshold instead of SYMLOOP_MAX.
44615         * sysdeps/generic/eloop-threshold.h: New file.
44616         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44617         of MAXSYMLINKS.
44618         * elf/chroot_canon.c (chroot_canon): Likewise.
44620 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44622         [BZ #13717]
44623         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44624         Change to 2.6.0 everywhere.
44625         * sysdeps/unix/sysv/linux/configure: Regenerated.
44626         * sysdeps/unix/sysv/linux/kernel-features.h
44627         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44628         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44629         kernel versions.
44630         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44631         (__ASSUME_FUTEX_REQUEUE): Remove.
44632         (__ASSUME_STATFS64): Define unconditionally.
44633         (__ASSUME_AT_SECURE): Likewise.
44634         (__ASSUME_CORRECT_SI_PID): Likewise.
44635         (__ASSUME_TGKILL): Define without depending on kernel version for
44636         i386.
44637         (__ASSUME_UTIMES): Likewise.
44638         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44639         kernel version.
44640         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44641         (__ASSUME_TMPFS_NAME): Likewise.
44642         * README: Update reference to Linux kernel versions.
44644 2012-08-02  Marek Polacek  <polacek@redhat.com>
44646         [BZ# 14150]
44647         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44648         libc_cv_asm_type_prefix with %.
44649         * configure: Regenerated.
44650         * include/libc-symbols.h: Remove comment about
44651         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44652         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44653         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44654         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44655         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44656         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44657         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44658         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44659         * elf/tst-unique2mod1.c: Likewise.
44660         * elf/tst-unique1mod2.c: Likewise.
44661         * elf/tst-unique1mod1.c: Likewise.
44662         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44663         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44664         Replace ASM_TYPE_DIRECTIVE with .type.
44665         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44666         * sysdeps/i386/sysdep.h: Likewise.
44667         * sysdeps/x86_64/sysdep.h: Likewise.
44668         * sysdeps/sh/sysdep.h: Likewise.
44669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44670         Do not define ASM_TYPE_DIRECTIVE.
44671         * sysdeps/powerpc/sysdep.h: Likewise.
44672         * sysdeps/powerpc/powerpc32/sysdep.h:
44673         Replace ASM_TYPE_DIRECTIVE with .type.
44674         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44675         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44676         * sysdeps/i386/fpu/e_powf.S: Likewise.
44677         * sysdeps/i386/fpu/e_expl.S: Likewise.
44678         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44679         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44680         * sysdeps/i386/fpu/e_pow.S: Likewise.
44681         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44682         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44683         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44684         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44685         * sysdeps/i386/fpu/e_log2.S: Likewise.
44686         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44687         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44688         * sysdeps/i386/fpu/e_powl.S: Likewise.
44689         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44690         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44691         * sysdeps/i386/fpu/e_logl.S: Likewise.
44692         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44693         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44694         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44695         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44696         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44697         * sysdeps/i386/fpu/e_log.S: Likewise.
44698         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44699         * sysdeps/i386/fpu/e_logf.S: Likewise.
44700         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44701         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44702         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44703         * sysdeps/i386/fpu/e_log10.S: Likewise.
44704         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44705         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44706         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44707         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44708         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44709         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44710         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44711         * sysdeps/i386/i686/strtok.S: Likewise.
44712         * sysdeps/i386/i386-mcount.S: Likewise.
44713         * sysdeps/i386/strtok.S: Likewise.
44714         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44715         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44716         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44717         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44718         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44719         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44720         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44721         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44722         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44723         * sysdeps/x86_64/_mcount.S: Likewise.
44724         * sysdeps/x86_64/strtok.S: Likewise.
44725         * sysdeps/sh/_mcount.S: Likewise.
44727 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44729         * libio/iofopen.c: Include <fcntl.h>.
44730         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44731         (_IO_fopen64, fopen64): Define as aliases.
44732         * libio/iofopen64.c: Include <fcntl.h>.
44733         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44734         Conditionalize body on this.
44735         * sysdeps/wordsize-64/iofopen.c: File removed.
44736         * sysdeps/wordsize-64/iofopen64.c: File removed.
44738 2012-08-01  Marek Polacek  <polacek@redhat.com>
44740         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44741         Use dlfcn directly instead of a variable.
44742         (binfmt-subdir): Do not define.
44743         (dlfcn): Likewise.
44745 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44747         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44748         Remove all definitions.
44749         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44750         <kernel-features.h>.
44751         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44752         (miss_F_GETOWN_EX): Remove all definitions.
44753         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44754         macro definition.
44755         [!__ASSUME_FCNTL64]: Remove conditional code.
44756         [__ASSUME_FCNTL64]: Make code unconditional.
44757         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44758         <kernel-features.h>.
44759         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44760         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44761         (lockf64) [__NR_fcntl64]: Make code unconditional.
44762         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44764         * sysdeps/unix/sysv/linux/kernel-features.h
44765         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44766         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44767         Make code unconditional.
44768         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44769         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44771         [__NR_vfork]: Make code unconditional.
44772         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44773         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44775         [__NR_vfork]: Make code unconditional.
44776         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44777         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44779 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44781         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44782         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44784         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44785         Define mkstemp64 as an alias.
44786         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44787         Define mkstemps64 as an alias.
44788         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44789         Define mkostemp64 as an alias.
44790         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44791         Define mkostemps64 as an alias.
44792         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44793         Conditionalize body on this.
44794         * misc/mkostemp64.c: Likewise.
44795         * misc/mkostemps64.c: Likewise.
44796         * misc/mkstemps64.c: Likewise.
44797         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44798         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44799         * sysdeps/wordsize-64/mkostemp.c: File removed.
44800         * sysdeps/wordsize-64/mkstemp.c: File removed.
44801         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44802         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44803         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44804         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44806         [BZ #14138]
44807         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44808         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44809         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44810         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44812         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44813         compat_symbol macros from <shlib-compat.h> rather than the underlying
44814         default_symbol_version and symbol_version macros, so that DEFAULT
44815         lines in shlib-versions are respected.
44816         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44818 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44820         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44821         Declare with warn_unused_result.
44822         (setgid, setregid, setegid, setresgid): Likewise.
44823         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44824         Likewise.
44825         * WUR-REPORT: Remove set*id functions.
44827 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44829         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44831 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44833         [BZ #10191]
44834         * include/sys/socket.h (__libc_accept, __libc_accept4):
44835         Add attribute_hidden.
44836         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44838         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44839         use of PTR_MANGLE.
44840         * inet/getnetgrent_r.c (setup): Likewise.
44842         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44844 2012-07-31  David S. Miller  <davem@davemloft.net>
44846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44848 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44850         [BZ #13629]
44851         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44852         value between 1.0 and 2.0 and smaller part has absolute value less
44853         than 1.0.
44854         * math/s_clog10.c (__clog10): Likewise.
44855         * math/s_clog10f.c (__clog10f): Likewise.
44856         * math/s_clog10l.c (__clog10l): Likewise.
44857         * math/s_clogf.c (__clogf): Likewise.
44858         * math/s_clogl.c (__clogl): Likewise.
44859         * math/libm-test.inc (clog_test): Add more tests.
44860         (clog10_test): Likewise.
44861         * sysdeps/i386/fpu/libm-test-ulps: Update.
44862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44864 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44866         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44867         Exit with zero in case no suitable GID is found, and write a
44868         message to standard error.
44870 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44872         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44873         rather than to 1.
44874         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44875         (MAXPATHLEN): Removed.
44876         (NOGROUP, NODEV): New macros.
44877         (setbit, clrbit, isset, isclr): New macros.
44878         (howmany, roundup, powerof2): New macros.
44879         (DEV_BSIZE): New macro.
44881         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44882         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44884         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44885         definition on [!__NO_LONG_DOUBLE_MATH].
44887         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44888         PTR_MANGLE and PTR_DEMANGLE.
44890         * socket/accept4.c (accept4): Rename to __libc_accept4.
44891         Define accept4 as a weak alias.
44893         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44894         on [_DIRENT_HAVE_D_TYPE].
44895         * io/ftw.c (ftw_dir): Likewise.
44897         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44899         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44901         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44902         Use the BSD numbers rather than the arbitrary ones we had.
44903         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44904         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44905         (SIGXCPU, SIGXFSZ): New macros.
44906         (_NSIG): Now 32.
44908         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44909         initializer on [_LIBC_REENTRANT].
44911         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44912         definitions inside [_POSIX_MAPPED_FILES].
44914         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44916         * dirent/opendir.c: Include <fcntl.h>.
44918         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44919         (__libc_getspecific): Likewise.
44920         (__libc_key_create): Likewise.
44922         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44923         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44924         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44925         (tmpfile64): Define as alias.
44926         * sysdeps/wordsize-64/tmpfile.c: File removed.
44927         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44928         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44929         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44931         * stdio-common/vfscanf.c: Include <stdbool.h>.
44932         * nss/makedb.c: Likewise.
44933         * stdio-common/_i18n_number.h: Likewise.
44934         * argp/argp-help.c: Likewise.
44935         * posix/wordexp.c: Likewise.
44936         * sysdeps/posix/spawni.c: Likewise.
44937         * nss/nss_files/files-initgroups.c: Likewise.
44938         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44939         * nss/nss_files/files-initgroups.c: Likewise.
44940         * nss/nss_db/db-netgrp.c: Likewise.
44941         * nss/nss_db/db-initgroups.c: Likewise.
44942         * io/fchmodat.c: Include <sys/stat.h>.
44944         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44945         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44947         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44948         [HAVE_MMAP].
44950         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44951         Add multiple inclusion protection.
44953 2012-07-27  David S. Miller  <davem@davemloft.net>
44955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44957 2012-07-27  Gary Benson  <gbenson@redhat.com>
44959         [BZ #14298]
44960         * elf/rtld.c: Include <stap-probe.h>.
44961         (dl_main): Added static probes "init_start" and "init_complete".
44962         * elf/dl-load.c: Include <stap-probe.h>.
44963         (lose): Take new parameter "nsid".
44964         Added static probe "map_failed".
44965         (_dl_map_object_from_fd): Pass namespace id to lose.
44966         Added static probe "map_start".
44967         (open_verify): Pass namespace id to lose.
44968         * elf/dl-open.c: Include <stap-probe.h>.
44969         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44970         and "reloc_complete".
44971         * elf/dl-close.c: Include <stap-probe.h>.
44972         (_dl_close_worker): Added static probes "unmap_start" and
44973         "unmap_complete".
44974         * elf/rtld-debugger-interface.txt: New file documenting the above.
44976 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44978         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44979         rather than a string variable.
44980         * sunrpc/rpc_main.c (h_output): Likewise.
44981         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44983 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44985         * inet/check_native.c: New file.
44987 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44989         [BZ #13629]
44990         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44991         if larger part has absolute value 1.0.
44992         * math/s_clog10.c (__clog10): Likewise.
44993         * math/s_clog10f.c (__clog10f): Likewise.
44994         * math/s_clog10l.c (__clog10l): Likewise.
44995         * math/s_clogf.c (__clogf): Likewise.
44996         * math/s_clogl.c (__clogl): Likewise.
44997         * math/libm-test.inc (clog_test): Add more tests.
44998         (clog10_test): Likewise.
44999         * sysdeps/i386/fpu/libm-test-ulps: Update.
45000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45002         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45003         (pltexit): Likewise.
45004         (La_regs): Likewise.
45005         (La_retval): Likewise.
45006         (int_retval): Likewise.
45007         Update #error for removed macros to refer only to definitions in
45008         tst-audit.h.
45009         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45010         macro.
45011         (pltexit): Likewise.
45012         (La_regs): Likewise.
45013         (La_retval): Likewise.
45014         (int_retval): Likewise.
45015         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45016         macro.
45017         (pltexit): Likewise.
45018         (La_regs): Likewise.
45019         (La_retval): Likewise.
45020         (int_retval): Likewise.
45021         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45022         macro.
45023         (pltexit): Likewise.
45024         (La_regs): Likewise.
45025         (La_retval): Likewise.
45026         (int_retval): Likewise.
45027         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45028         macro.
45029         (pltexit): Likewise.
45030         (La_regs): Likewise.
45031         (La_retval): Likewise.
45032         (int_retval): Likewise.
45033         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45034         macro.
45035         (pltexit): Likewise.
45036         (La_regs): Likewise.
45037         (La_retval): Likewise.
45038         (int_retval): Likewise.
45039         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45040         macro.
45041         (pltexit): Likewise.
45042         (La_regs): Likewise.
45043         (La_retval): Likewise.
45044         (int_retval): Likewise.
45045         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45046         macro definitions in tst-audit.h.
45047         * sysdeps/i386/tst-audit.h: New file.
45048         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45049         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45050         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45051         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45052         * sysdeps/sh/tst-audit.h: Likewise.
45053         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45054         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45055         * sysdeps/x86_64/tst-audit.h: Likewise.
45057 2012-07-26  Andreas Jaeger  <aj@suse.de>
45059         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45060         ptrace.
45062         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45063         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45064         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45065         PTRACE_O_MASK.
45066         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45067         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45068         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45070         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45071         value.
45073         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45074         _sigsys.
45075         (si_call_addr, si_syscall, si_arch): Define new macro.
45076         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45077         _sigsys.
45078         (si_call_addr, si_syscall, si_arch): Define new marcro.
45079         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45080         _sigsys.
45081         (si_call_addr, si_syscall, si_arch): Define new macro.
45082         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45083         _sigsys.
45084         (si_call_addr, si_syscall, si_arch): Define new macro.
45086 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45088         [BZ #13717]
45089         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45090         Change to 2.4.21 where previously 2.4.1.
45091         * sysdeps/unix/sysv/linux/configure: Regenerated.
45092         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45093         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45094         Linux kernel version.
45095         (__ASSUME_STD_AUXV): Remove.
45096         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45097         kernel version.
45098         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45099         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45100         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45101         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45102         (__ASSUME_NETLINK_SUPPORT): Likewise.
45103         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45104         (__no_netlink_support): Remove conditional definition.
45105         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45106         Remove.
45107         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45108         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45109         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45110         (if_nameindex_ioctl): Remove.
45111         (if_nameindex_netlink): Do not handle __no_netlink_support.
45112         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45113         code.
45114         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45115         Remove conditional code.
45116         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45117         code.
45118         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45119         unconditional.
45120         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45121         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45122         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45123         Remove.
45124         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45125         [!__ASSUME_STD_AUXV]: Remove conditional code.
45126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45127         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45128         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45130         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45131         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45132         code.
45133         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45135         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45136         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45137         conditional code.
45138         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45140         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45141         code.
45142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45143         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45144         conditional code.
45145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45146         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45147         code unconditional.
45148         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45149         conditional code.
45150         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45151         unconditional.
45152         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45153         conditional code.
45154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45155         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45156         unconditional.
45157         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45158         conditional code.
45159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45160         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45161         code unconditional.
45162         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45163         conditional code.
45164         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45165         unconditional.
45166         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45167         conditional code.
45168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45169         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45170         code unconditional.
45171         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45172         conditional code.
45173         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45174         unconditional.
45175         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45176         conditional code.
45178 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45180         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45181         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45182         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45183         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45184         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45185         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45186         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45187         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45188         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45189         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45190         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45191         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45192         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45193         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45194         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45195         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45196         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45197         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45198         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45199         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45200         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45201         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45202         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45204 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45206         * Versions.def: Add GLIBC_2.17.
45207         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45208         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45209         Introduce __libc_secure_getenv.
45210         * stdlib/Versions (2.17): Add secure_getenv
45211         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45212         * stdlib/secure-getenv.c: Rename __secure_getenv to
45213         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45214         symbol __secure_getenv for GLIBC_2.0.
45215         * stdlib/tst-secure-getenv.c: New.
45216         * stdlib/Makefile (tests): Add testcase.
45217         * manual/startup.texi (Environment Access): Document
45218         secure_getenv.
45219         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45220         __libc_secure_getenv.
45221         * inet/ruserpass.c (ruserpass): Likewise.
45222         * malloc/mtrace.c (mtrace): Likewise.
45223         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45224         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45225         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45226         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45227         HAVE_SECURE_GETENV.
45228         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45229         __secure_getenv to __libc_secure_getenv.
45230         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45232         Likewise.
45233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45234         Likewise.
45235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45237         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45243 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45245         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45246         (struct La_i86_retval): Likewise.
45247         (struct La_x86_64_regs): Likewise.
45248         (struct La_x86_64_retval): Likewise.
45249         (struct La_x32_regs): Likewise.
45250         (struct La_x32_retval): Likewise.
45251         (struct La_ppc32_regs): Likewise.
45252         (struct La_ppc32_retval): Likewise.
45253         (struct La_ppc64_regs): Likewise.
45254         (struct La_ppc64_retval): Likewise.
45255         (struct La_sh_regs): Likewise.
45256         (struct La_sh_retval): Likewise.
45257         (struct La_s390_32_regs): Likewise.
45258         (struct La_s390_32_retval): Likewise.
45259         (struct La_s390_64_regs): Likewise.
45260         (struct La_s390_64_retval): Likewise.
45261         (struct La_sparc32_regs): Likewise.
45262         (struct La_sparc32_retval): Likewise.
45263         (struct La_sparc64_regs): Likewise.
45264         (struct La_sparc64_retval): Likewise.
45265         (struct audit_ifaces): Remove architecture-specific pltenter and
45266         pltexit members.
45267         * sysdeps/i386/ldsodefs.h: New file.
45268         * sysdeps/powerpc/ldsodefs.h: Likewise.
45269         * sysdeps/s390/ldsodefs.h: Likewise.
45270         * sysdeps/sh/ldsodefs.h: Likewise.
45271         * sysdeps/sparc/ldsodefs.h: Likewise.
45272         * sysdeps/x86_64/ldsodefs.h: Likewise.
45274 2012-07-25  Marek Polacek  <polacek@redhat.com>
45276         [BZ #6808]
45277         * math/libm-test.inc (yn_test): Add another test.
45278         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45279         to ERANGE when the result is +-Inf.
45280         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45281         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45282         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45283         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45285 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45287         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45288         equal to 0.
45289         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45290         clock_t.
45291         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45293 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45295         * configure.in <sysdeps resolving>: Correct printing
45296         Implies_before.
45297         * configure: Regenerate.
45299 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45301         * math/w_ilogb.c: Include <limits.h>.
45302         * math/w_ilogbl.c: Likewise.
45304 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45306         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45307         va_copy.  Document allowing for unavailable va_copy only as
45308         pre-C99 compatibility.
45309         * manual/string.texi (Copying and Concatenation): Use va_copy
45310         instead of __va_copy in concat example.
45312 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45314         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45315         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45316         it if not null.
45318         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45319         with O_NOLINK passed to __file_name_lookup.
45321         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45322         with O_NOLINK passed to __file_name_lookup.
45324         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45325         negative N or less than NGIDS.
45327         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45328         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45329         enough.  Use memcpy instead of strncpy.
45331 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45333         * elf/Makefile (check-data): Remove.
45334         (localplt.data): New vpath directive.
45335         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45336         instead of $(check-data).
45337         * scripts/data/localplt-generic.data: Move to ...
45338         * sysdeps/generic/localplt.data: ... here.
45339         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45340         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45341         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45343         ... here.
45344         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45346         ... here.
45347         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45349         ... here.
45350         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45352         ... here.
45353         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45355         ... here.
45356         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45358         ... here.
45360 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45362         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45363         PPC32 and PPC64 files.
45364         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45365         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45367 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45369         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45370         __makecontext_ret to ...
45371         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45372         ... here and call exit if uc_link is NULL.  New file.
45373         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45374         __makecontext_ret.S.
45375         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45376         __makecontext_ret to ...
45377         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45378         ... here and call exit if uc_link is NULL.  New file.
45379         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45380         __makecontext_ret.S.
45382 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45384         * elf/elf.h (R_390_IRELATIVE): New definition.
45385         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45386         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45387         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45388         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45389         (elf_machine_lazy_rel): Likewise.
45390         * sysdeps/s390/dl-irel.h: New file.
45391         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45392         * sysdeps/s390/s390-64/memset.S: New asm code.
45393         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45394         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45395         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45396         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45397         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45398         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45399         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45400         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45401         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45402         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45403         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45404         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45405         * sysdeps/s390/s390-32/memset.S: New asm code.
45406         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45408 2012-07-17  Marek Polacek  <polacek@redhat.com>
45410         [BZ #14349]
45411         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45412         * sysdeps/s390/s390-64/configure.in: Likewise.
45413         * sysdeps/sparc/configure.in: Likewise.
45414         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45415         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45416         * sysdeps/i386/configure.in: Likewise.
45417         * sysdeps/x86_64/configure.in: Likewise.
45418         * sysdeps/sh/configure.in: Likewise.
45419         * sysdeps/s390/s390-32/configure: Regenerated.
45420         * sysdeps/s390/s390-64/configure: Likewise.
45421         * sysdeps/x86_64/configure: Likewise.
45422         * sysdeps/sh/configure: Likewise.
45423         * sysdeps/powerpc/powerpc64/configure: Likewise.
45424         * sysdeps/powerpc/powerpc32/configure: Likewise.
45425         * sysdeps/sparc/configure: Likwise.
45426         * sysdeps/i386/configure: Likewise.
45428         * elf/dl-open.c: Comment fixes.
45430 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45432         * Makefile [CXX] (check-data): Remove.
45433         [CXX] (c++-types.data): New vpath directive.
45434         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45435         vpath.  Do not allow for C++ type data being missing.
45436         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45437         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45438         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45439         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45440         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45441         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45442         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45444         ... here.
45445         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45447         ... here.
45448         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45450         ... here.
45451         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45453         ... here.
45454         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45456         ... here.
45457         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45459         ... here.
45460         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45462         ... here.
45463         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45466         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45467         definitions to architecture-specific files.
45468         (TLS_IE): Likewise.
45469         (TLS_LD): Likewise.
45470         (TLS_GD): Likewise.
45471         * sysdeps/i386/tls-macros.h: New file.
45472         * sysdeps/powerpc/tls-macros.h: Likewise.
45473         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45474         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45475         * sysdeps/sh/tls-macros.h: Likewise.
45476         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45477         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45478         * sysdeps/x86_64/tls-macros.h: Likewise.
45480 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45482         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45483         zero value for regular exit case.
45485         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45486         (__start_context): Preserve zero value for regular exit case.
45488 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45489             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45491         * manual/setjmp.texi (setcontext): Clarify normal process
45492         termination when uc_link is the null pointer.
45493         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45494         exit call.
45496 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45498         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45499         preprocessor.  Test for each exception mask separately.
45501 2012-07-16  Andreas Jaeger  <aj@suse.de>
45503         * po/ru.po: Update from translation team.
45505 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45507         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45508         equal to 0.
45509         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45510         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45511         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45512         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45513         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45515 2012-07-13  Andreas Jaeger  <aj@suse.de>
45517         * po/fr.po: Update from translation team.
45519 2012-07-12  Marek Polacek  <polacek@redhat.com>
45521         [BZ #14173]
45522         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45523         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45524         loop condition.
45526 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45528         [BZ #13717]
45529         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45530         Change to 2.4.1 where previously 2.4.0.
45531         * sysdeps/unix/sysv/linux/configure: Regenerated.
45532         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45533         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45534         version.
45535         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45536         (__ASSUME_AT_CLKTCK): Remove.
45537         (__ASSUME_AT_PAGESIZE): Likewise.
45538         (__ASSUME_AT_XID): Likewise.
45539         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45540         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45541         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45542         unconditionally.
45543         (HAVE_AUX_PAGESIZE): Likewise.
45544         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45545         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45546         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45548 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45550         [BZ #14307]
45551         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45552         the temporary buffer used to invoke __gethostbyname2_r,
45553         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45554         host_data / struct gaih_addrtuple.
45555         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45556         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45557         header file nss/nsswitch.h.
45558         * nss/nsswitch.h (global scope): Add definition of implementation
45559         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45560         resolv/nss_dns/dns-host.c).
45562 2012-07-11  Andreas Jaeger  <aj@suse.de>
45564         * po/fr.po: Update from translation team.
45566         * po/sv.po: Update from translation team
45567         * po/fr.po: Another update from translation team.
45569 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45571         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45572         for subnormals or multiply small sinh result by itself.
45573         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45576 2012-07-11  David S. Miller  <davem@davemloft.net>
45578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45580 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45582         [BZ #14347]
45583         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45584         (INTERNAL_MARK): Shift it here.
45586 2012-07-10  Marek Polacek  <polacek@redhat.com>
45588         [BZ #14151]
45589         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45590         libc_cv_asm_global_directive with .globl.
45591         * configure: Regenerated.
45592         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45593         with .globl.
45594         * sysdeps/i386/configure: Regenerated.
45595         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45596         with .globl.
45597         * sysdeps/x86_64/configure: Regenerated.
45598         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45599         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45600         * elf/tst-unique2mod2.c: Likewise.
45601         * elf/tst-unique2mod1.c: Likewise.
45602         * elf/tst-unique1mod2.c: Likewise.
45603         * elf/tst-unique1mod1.c: Likewise.
45604         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45605         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45606         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45607         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45608         * sysdeps/mach/sysdep.h: Likewise.
45609         * sysdeps/i386/sysdep.h: Likewise.
45610         * sysdeps/i386/i386-mcount.S: Likewise.
45611         * sysdeps/x86_64/_mcount.S: Likewise.
45612         * sysdeps/x86_64/sysdep.h: Likewise.
45613         * sysdeps/sh/_mcount.S: Likewise.
45614         * sysdeps/sh/sysdep.h: Likewise.
45615         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45616         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45617         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45618         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45619         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45620         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45621         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45622         * locale/localeinfo.h: Likewise.
45623         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45624         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45626 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45628         [BZ #14336]
45629         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45630         system".
45631         * manual/message.texi (The Uniforum approach): Likewise.
45632         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45633         (glibc iconv Implementation): Likewise.
45635 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45637         [BZ #14337]
45638         * math/s_clog.c (__clog): Avoid scaling a value down where that
45639         could result in underflow.
45640         * math/s_clog10.c (__clog10): Likewise.
45641         * math/s_clog10f.c (__clog10f): Likewise.
45642         * math/s_clog10l.c (__clog10l): Likewise.
45643         * math/s_clogf.c (__clogf): Likewise.
45644         * math/s_clogl.c (__clogl): Likewise.
45645         * math/libm-test.inc (clog_test): Add more tests.
45646         (clog10_test): Likewise.
45647         * sysdeps/i386/fpu/libm-test-ulps: Update.
45648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45650 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45652         [BZ #14283]
45653         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45654         by 7 not 8 to examine high bit of fractional part.
45656         [BZ #14042]
45657         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45658         for call to __mcount_internal.
45659         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45660         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45661         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45663 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45665         [BZ #14154]
45666         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45667         approximation for values within 0x1p-13f of an odd multiple of
45668         pi/4.
45669         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45670         exception.  Add more tests.
45671         * sysdeps/i386/fpu/libm-test-ulps: Update.
45673         [BZ #6778]
45674         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45675         inputs and return -1 for them.  Do not check for +Inf in case not
45676         reachable for +Inf.
45677         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45678         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45679         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45680         and return -1 for them.  Do not check for +Inf in case not
45681         reachable for +Inf.
45682         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45683         define.
45684         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45685         and return -1 for them.  Do not check for +Inf in case not
45686         reachable for +Inf.
45687         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45688         spurious underflow.
45689         * sysdeps/i386/fpu/libm-test-ulps: Update.
45690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45692 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45694         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45696 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45698         [BZ #14157]
45699         [BZ #14331]
45700         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45701         could result in spurious underflow.  Scale down values above
45702         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45703         * math/s_csqrtf.c (__csqrtf): Likewise.
45704         * math/s_csqrtl.c (__csqrtl): Likewise.
45705         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45706         spurious underflow.
45707         * sysdeps/i386/fpu/libm-test-ulps: Update.
45708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45710 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45712         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45713         xopen-msg.sed.
45714         * catgets/xopen-msg.awk: New file.
45715         * catgets/xopen-msg.sed: Removed.
45717         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45718         po2text.sed.
45719         * intl/po2test.awk: New file.
45720         * intl/po2test.sed: Removed.
45722 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45724         [BZ #14328]
45725         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45726         or multiply small sinh result by itself.
45727         * math/s_ctanf.c (__ctanf): Likewise.
45728         * math/s_ctanh.c (__ctanh): Likewise.
45729         * math/s_ctanhf.c (__ctanhf): Likewise.
45730         * math/s_ctanhl.c (__ctanhl): Likewise.
45731         * math/s_ctanl.c (__ctanl): Likewise.
45732         * math/libm-test.inc (ctan_test_tonearest): New function.
45733         (ctan_test_towardzero): Likewise.
45734         (ctan_test_downward): Likewise.
45735         (ctan_test_upward): Likewise.
45736         (ctanh_test_tonearest): Likewise.
45737         (ctanh_test_towardzero): Likewise.
45738         (ctanh_test_downward): Likewise.
45739         (ctanh_test_upward): Likewise.
45740         (main): Call these new functions.
45741         * sysdeps/i386/fpu/libm-test-ulps: Update.
45742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45744 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45746         * .gitignore: Delete /ports entry.
45748 2012-07-03  Andreas Jaeger  <aj@suse.de>
45750         * po/bg.po: Update from translation team.
45751         * po/cs.po: Likewise.
45752         * po/de.po: Likewise.
45753         * po/hr.po: Likewise.
45754         * po/nl.pl: Likewise.
45755         * po/pl.po: Likewise.
45756         * po/vi.po: Likewise.
45758 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45760         * Makeconfig [!+link] (+link-before-libc): New variable.
45761         [!+link] (+link-after-libc): Likewise.
45762         [!+link] (+link-tests): Likewise.
45763         [!+link] (+link): Define in terms of $(+link-before-libc) and
45764         $(+link-after-libc).
45765         [!+link-static] (+link-static-before-libc): New variable.
45766         [!+link-static] (+link-static-after-libc): Likewise.
45767         [!+link-static] (+link-static-tests): Likewise.
45768         [!+link-static] (+link-static): Define in terms of
45769         $(+link-static-before-libc) and $(+link-static-after-libc).
45770         [build-shared] (link-libc-before-gnulib): New variable.
45771         [build-shared] (link-libc-tests): Likewise.
45772         [build-shared] (link-libc): Define in terms of
45773         $(link-libc-before-gnulib).
45774         [!build-shared] (link-libc-tests): New variable.
45775         (link-libc-static-tests): New variable.
45776         [!gnulib] (gnulib-arch): New variable.
45777         [!gnulib] (gnulib-tests): Likewise.
45778         [!gnulib] (static-gnulib-arch): Likewise.
45779         [!gnulib] (static-gnulib-tests): Likewise.
45780         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45781         Define with "=" instead of ":=".
45782         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45783         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45784         * Rules (binaries-all-notests): New variable.
45785         (binaries-all-tests): Likewise.
45786         (binaries-static-notests): Likewise.
45787         (binaries-static-tests): Likewise.
45788         (binaries-all): Define using $(binaries-all-notests) and
45789         $(binaries-all-tests).
45790         (binaries-static): Define using $(binaries-static-notests) and
45791         $(binaries-static-tests).
45792         (binaries-shared-tests): New variable.
45793         (binaries-shared-notests): Likewise.
45794         (binaries-shared): Remove variable.
45795         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45796         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45797         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45798         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45799         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45800         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45801         * elf/Makefile (sln-modules): New variable.
45802         (extra-objs): Add $(sln-modules:=.o).
45803         (ldconfig-modules): Add static-stubs.
45804         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45805         * elf/static-stubs.c: New file.
45807         [BZ #14283]
45808         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45809         by 7 not 8 to examine high bit of fractional part.  Use volatile
45810         variables when splitting into final array of floats if
45811         __FLT_EVAL_METHOD__ != 0.
45812         * math/libm-test.inc (cos_test): Add another test.
45813         (sin_test): Likewise.
45814         * sysdeps/i386/fpu/libm-test-ulps: Update.
45816         [BZ #14273]
45817         * math/libm-test.inc (cosh_test): Add more tests.
45819         * version.h (RELEASE): Set to "development".
45820         (VERSION): Set to "2.16.90".
45822 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45824         * NEWS: Update copyright. Remove last-updated date.
45825         Mention math library bug fixes and timezone data changes.
45826         * README: Mention GNU/Hurd, x32, and HPPA support status.
45828 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45830         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45832 2012-06-27  Andreas Jaeger  <aj@suse.de>
45834         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45836 2012-06-25  Andreas Jaeger  <aj@suse.de>
45838         * sysdeps/s390/fpu/libm-test-ulps: Update.
45840 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45841             Thomas Schwinge  <thomas@codesourcery.com>
45843         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45844         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45845         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45846         fanotify_mark.
45848 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45850         * sysdeps/mach/start.c: Remove file.
45851         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45852         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45853         * sysdeps/sh/init-first.c: Likewise.
45855         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45856         registers for frame unwinding purposes, add CFI directives.
45857         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45858         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45859         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45860         Likewise.
45862         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45863         __fortify_fail returning.
45864         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45866         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45867         sysdeps/sh/____longjmp_chk.S.
45868         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45869         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45870         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45871         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45873         * sysdeps/sh/abort-instr.h: New file.
45874         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45875         process in case exit returns.
45877         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45878         initialize the GOT register before use.
45880         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45881         calculation of ARGC > 4.
45883         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45884         meaningful names to some local labels.
45886 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45887             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45889         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45890         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45891         (__arch_compare_and_exchange_val_16_acq): Likewise.
45892         (__arch_compare_and_exchange_val_32_acq): Likewise.
45893         (atomic_exchange_and_add): Fix gUSA sequence.
45894         (atomic_add): Likewise.
45895         (atomic_add_negative): Likewise.
45896         (atomic_add_zero): Likewise.
45897         (atomic_bit_test_set): Likewise.
45899 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45901         [BZ #13579]
45902         * include/link.h (struct link_map): Add l_free_initfini.
45903         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45904         l_initfini.
45905         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45906         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45907         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45908         set.
45910 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45912         * configure.in: Use AC_LANG_SOURCE.
45913         * configure: Regenerate.
45915 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45917         * configure.in (libc_cv_localstatedir): New substituted variable.
45918         * configure: Regenerated.
45919         * config.make.in (localstatedir): New variable, substituted from
45920         libc_cv_localstatedir.
45921         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45922         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45923         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45924         * sysdeps/gnu/configure: Regenerated.
45926 2012-06-21  Jeff Law  <law@redhat.com>
45928         [BZ #14277]
45929         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45930         free.  Simplify list management for _LIBC case.
45932 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45934         [BZ #14273]
45935         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45936         Clear sign bit of 64-bit integer value before comparing against
45937         overflow value.
45939         * sysdeps/mach/configure: Regenerated.
45941 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45943         [BZ #14278]
45944         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45946 2012-06-21  Jeff Law  <law@redhat.com>
45948         [BZ #13882]
45949         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45950         uint16_t for elements in the "seen" array to avoid char overflows.
45951         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45952         * elf/dl-open.c (dl_open_worker): Likewise.
45954 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45956         * scripts/list-sources.sh: Scan PORTS for translations.
45957         * po/libc.pot: Regenerated.
45959 2012-06-21  Andreas Jaeger  <aj@suse.de>
45961         [BZ #12194]
45962         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45963         warning.
45964         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45965         * bits/byteswap-16.h (__bswap_16): Likewise.
45966         * bits/byteswap.h (__bswap_constant_16): Likewise.
45968 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45970         [BZ #14117]
45971         * sysdeps/i386/fpu_control.h: Removed.
45972         * sysdeps/x86_64/fpu_control.h: Moved to ...
45973         * sysdeps/x86/fpu_control.h: Here.
45975         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45976         (_FPU_SETCW): Likewise.
45978 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45980         [BZ #14117]
45981         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45982         * sysdeps/x86/fpu/bits/mathinline.h: This.
45983         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45985         [BZ #14050]
45986         [BZ #14117]
45987         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45988         functions if __x86_64__ is defined.
45990 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45992         * string/endian.h: Add !__ASSEMBLER__ condition for including
45993         conversion interfaces.
45995 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45997         [BZ #14241]
45998         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45999         of ABS(x) in calculating zero to negative powers other than odd
46000         integers.
46001         * math/libm-test.inc (pow_test): Add more tests.
46003 2012-06-15  Andreas Jaeger  <aj@suse.de>
46005         * manual/contrib.texi (Contributors): Update entry of Liubov
46006         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46007         Machado Filho.
46009 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46011         * string/string.h: Add __wur to GNU version of strerror_r.
46013 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46015         [BZ #14229]
46016         * string/Makefile (tests): Add tst-strtok_r.
46017         * string/tst-strtok_r.c: New file.
46018         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46019         RAX_LP/RDX_LP on SAVE_PTR.
46021 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46023         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46025 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46027         * libm_test.inc (csqrt_test): Allow more spurious underflow
46028         exceptions.
46029         (j0_test): Likewise.
46030         (j1_test): Likewise.
46031         (y0_test): Likewise.
46032         (y1_test): Likewise.
46034 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46036         * po/Makefile (libc.pot): Use UTF-8 charset.
46038 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46040         [BZ #14210]
46041         Suppress sign-conversion warning from FD_SET.
46042         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46043         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46044         not unsigned long int.
46045         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46047 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46049         [BZ #14050]
46050         [BZ #14117]
46051         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46052         __extern_always_inline instead of __extern_inline.
46053         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46054         (__signbit): Likewise.
46055         (__signbitl): Support C++ namespace.
46056         (lrintf): New inline function.
46057         (lrint): Likewise.
46058         (llrintf): Likewise.
46059         (llrint): Likewise.
46060         (fmaxf): Likewise.
46061         (fmax): Likewise.
46062         (fminf): Likewise.
46063         (fmin): Likewise.
46064         (rint): Likewise.
46065         (rintf): Likewise.
46066         (ceil): Likewise.
46067         (ceilf): Likewise.
46068         (floor): Likewise.
46069         (floorf): Likewise.
46070         (nearbyint): Likewise.
46071         (nearbyintf): Likewise.
46073 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46075         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46076         non-default versions.
46078 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46080         [BZ #14218]
46081         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46083 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46085         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46086         (FE_UPWARD, FE_DOWNWARD): Don't define.
46087         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46088         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46090         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46091         reading it.
46092         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46093         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46095 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46097         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46098         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46099         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46100         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46102 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46104         [BZ #14117]
46105         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46106         * sysdeps/i386/fpu/Implies: New file.
46107         * sysdeps/x86_64/fpu/Implies: Likewise.
46108         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46109         * sysdeps/x86/fpu/bits/fenv.h: This.
46111         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46112         __SSE_MATH__.
46114 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46116         [BZ #14134]
46117         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46118         character 0xffff that matches the last element of the
46119         conversion table.
46121 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46123         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46124         fmodl commit.
46126 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46128         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46129         values higher than 25.6283.
46131 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46133         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46134         subnormal exponent extraction and add some __builtin_expect.
46135         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46136         Fix for subnormal mantissa calculation.
46138 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46140         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46141         cpu2 is -1 and errno is not ENOSYS.
46143 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46145         [BZ #14117]
46146         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46147         * sysdeps/x86/bits/string.h: This.
46148         * sysdeps/x86_64/bits/string.h: Removed.
46150         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46151         if not compiling for x86-64, but compiling for >= i486.
46153         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46154         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46156         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46157         New macro from Linux kernel 3.4.0.
46158         (FP_XSTATE_MAGIC2): Likewise.
46159         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46160         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46161         (struct _fpx_sw_bytes): New struct.
46162         (struct _xsave_hdr): Likewise.
46163         (struct _ymmh_state): Likewise.
46164         (struct _xstate): Likewise.
46166         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46167         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46168         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46169         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46170         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46171         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46173         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46174         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46175         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46176         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46177         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46178         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46180 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46182         [BZ #13743]
46183         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46184         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46185         (sysdep_headers): Include sys/platform/ppc.h.
46186         * sysdeps/powerpc/test-gettimebase.c: Test for
46187         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46188         * manual/Makefile (appendices): Include platform.texi.
46189         * manual/contrib.texi (Contributors): Update @node pointers.
46190         * manual/maint.texi (Maintenance): Likewise.
46191         (Platform): New node.
46192         * manual/platform.texi: New file.  Document the new features.
46194 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46195             Jakub Jelinek  <jakub@redhat.com>
46197         [BZ #14188]
46198         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46199         where __builtin_expect is unavailable.
46201 2012-06-03  David S. Miller  <davem@davemloft.net>
46203         * stdlib/longlong.h: Updated from GCC.
46205 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46207         [BZ #14042]
46208         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46209         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46210         __mcount_internal.
46211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46212         (GLIBC_2.16): Likewise.
46214 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46216         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46218 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46221         (default-abi): New variable.
46222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46223         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46224         variable.
46225         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46226         Likewise.
46227         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46228         Likewise.
46229         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46230         Likewise.
46232         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46233         definition.  Document in comment.
46235 2012-06-01  David S. Miller  <davem@davemloft.net>
46237         * stdlib/longlong.h: Updated from GCC.
46239 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46241         [BZ #14117]
46242         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46243         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46244         sys/debugreg.h sys/io.h here.
46245         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46246         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46247         sys/io.h.
46248         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46249         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46250         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46251         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46252         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46253         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46255         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46256         Define only if __x86_64__ is defined.
46258 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46260         [BZ #14048]
46261         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46262         Use int64_t for variable i.
46263         * math/libm-test.inc (fmod_test): Add more tests.
46265         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46266         z computation is not scheduled after fetestexcept.
46267         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46268         Use math_force_eval instead of asm to ensure calculation scheduled
46269         before exception test.
46270         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46271         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46273 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46275         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46276         computation is not scheduled after fetestexcept.
46278 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46280         [BZ #14117]
46281         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46282         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46284 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46286         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46287         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46289 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46291         [BZ #14117]
46292         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46293         <bits/wordsize.h>.
46294         (__WCHAR_MIN): Support __WORDSIZE == 64.
46295         (__WCHAR_MAX): Likewise.
46297         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46298         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46300         [BZ #14183]
46301         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46302         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46304         [BZ #14117]
46305         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46306         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46308         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46309         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46311         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46312         Defined to 1 if __x86_64__ isn't defined.
46313         (_STAT_VER_LINUX_OLD): New.
46314         (st_atime): Remove duplicate.
46315         (st_mtime): Likewise.
46316         (st_ctime): Likewise.
46318 2012-05-31  David S. Miller  <davem@davemloft.net>
46320         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46321         entries.
46323 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46325         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46326         gen-libm-test.pl.
46328         [BZ #14132]
46329         * elf/dl-reloc.c: Include <_itoa.h>.
46330         (_dl_reloc_bad_type): Remove use of INTUSE.
46331         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46332         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46333         * stdio-common/psiginfo.c (psiginfo): Likewise.
46334         * stdio-common/psignal.c (psignal): Likewise.
46335         * string/strsignal.c (strsignal): Likewise.
46336         * include/signal.h (_sys_siglist): Declare hidden proto.
46337         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46338         INTVARDEF with libc_hidden_data_def.
46339         * stdio-common/itoa-udigits.c: Likewise.
46340         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46341         (_itoa_lower_digits_internal): Remove declaration.
46342         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46343         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46344         (_sys_sigabbrev_internal): Remove aliases.
46345         (_sys_siglist): Define hidden alias.
46347 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46349         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46350         bits/sysctl.h.
46352 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46354         [BZ #14117]
46355         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46356         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46358         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46359         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46360         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46361         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46362         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46363         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46365         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46366         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46367         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46369         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46370         with __addr.
46371         (insw): Likewise.
46372         (insl): Likewise.
46373         (outsb): Likewise.
46374         (outsw): Likewise.
46375         (outsl): Likewise.
46377         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46378         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46379         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46381         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46382         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46383         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46384         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46385         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46386         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46388         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46389         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46391         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46392         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46394         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46395         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46396         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46398         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46399         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46400         to ...
46401         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46403         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46404         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46405         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46407         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46408         for x86-64.
46409         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46411 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46413         * math/math.h (M_El): Use two more decimal places.
46414         (M_LOG2El): Likewise.
46415         (M_LOG10El): Likewise.
46416         (M_LN2l): Likewise.
46417         (M_LN10l): Likewise.
46418         (M_PIl): Likewise.
46419         (M_PI_2l): Likewise.
46420         (M_PI_4l): Likewise.
46421         (M_1_PIl): Likewise.
46422         (M_2_PIl): Likewise.
46423         (M_2_SQRTPIl): Likewise.
46424         (M_SQRT2l): Likewise.
46425         (M_SQRT1_2l): Likewise.
46427 2012-05-31  David S. Miller  <davem@davemloft.net>
46429         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46430         values between float registers.
46431         * sysdeps/sparc/sparc64/memset.S: Likewise.
46432         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46434 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46436         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46437         -D_FORTIFY_SOURCE=1.
46438         (CPPFLAGS-tst-longjmp_chk.c): Define.
46439         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46440         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46441         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46442         CFLAGS-tst-wchar-h.c.
46444 2012-05-31  Marek Polacek  <polacek@redhat.com>
46446         [BZ #14132]
46447         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46448         __endmntent_internal): Remove declaration.
46449         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46450         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46451         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46453 2012-05-30  David S. Miller  <davem@davemloft.net>
46455         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46456         (___Q_simulate_exceptions): Use real FP ops rather than writing
46457         into the %fsr.
46458         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46459         Likewise.
46461 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46463         [BZ #14117]
46464         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46465         * sysdeps/x86/bits/xtitypes.h: This.
46467         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46468         * sysdeps/x86/bits/wordsize.h: This.
46470         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46471         * sysdeps/x86/bits/huge_vall.h: This.
46473         * sysdeps/i386/bits/select.h: Removed.
46474         * sysdeps/x86_64/bits/select.h: Renamed to ...
46475         * sysdeps/x86/bits/select.h: This.
46477         * sysdeps/i386/bits/setjmp.h: Removed.
46478         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46479         * sysdeps/x86/bits/setjmp.h: This.
46481         * sysdeps/i386/bits/mathdef.h: Removed.
46482         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46483         * sysdeps/x86/bits/mathdef.h: This.
46485 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46487         [BZ #14132]
46488         * include/sys/socket.h (__connect_internal)
46489         (__libc_sa_len_internal): Remove declaration.
46490         (__connect, __libc_sa_len): Declare hidden_proto.
46491         (SA_LEN): Remove use of INTUSE.
46492         * socket/connect.c: Add libc_hidden_def.
46493         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46494         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46495         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46496         alias.
46497         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46498         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46499         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46500         of adding _internal alias.
46502 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46504         [BZ #14117]
46505         * sysdeps/i386/bits/link.h: Removed.
46506         * sysdeps/i386/bits/linkmap.h: Likewise.
46507         * sysdeps/x86_64/bits/link.h: Renamed to ...
46508         * sysdeps/x86/bits/link.h: This.
46509         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46510         * sysdeps/x86/bits/linkmap.h: This.
46512         * sysdeps/i386/bits/endian.h: Removed.
46513         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46514         * sysdeps/x86/bits/endian.h: This.
46516         * sysdeps/i386/bits/byteswap.h: Removed.
46517         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46518         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46519         * sysdeps/x86/bits/byteswap.h: This.
46520         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46521         * sysdeps/x86/bits/byteswap-16.h: This.
46522         * sysdeps/i386/Implies: Add x86.
46523         * sysdeps/x86_64/Implies: Likewise.
46525 2012-05-30  David S. Miller  <davem@davemloft.net>
46527         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46528         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46529         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46530         (FP_TRAPPING_EXCEPTIONS): Define.
46531         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46532         (FP_TRAPPING_EXCEPTIONS): Define.
46533         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46534         subnormals only when inexact has been signalled or underflow
46535         exceptions are enabled.
46536         (_FP_PACK_CANONICAL): Likewise.
46538 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46540         [BZ #14183]
46541         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46542         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46544 2012-05-30  Richard Henderson  <rth@twiddle.net>
46546         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46547         with #ifndef NOT_IN_libc.
46549         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46550         marked to avoid plt entry.
46552 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46554         [BZ #14112]
46555         * Makeconfig (default-abi): New macro.
46556         (abi-includes): Likewise.
46557         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46558         $(abi-$(default-abi)-lib-soname) for soname if defined.
46559         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46560         abi-variants.
46561         * Makefile (installed-stubs): Likewise.
46562         * include/stubs-biarch.h: Removed.
46563         * scripts/lib-names.awk: Only handle one library at a time.
46564         * scripts/soversions.awk: Remove WORDSIZE support.
46565         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46566         entries.
46567         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46568         Removed.
46569         (syscall-list-default-condition): Likewise.
46570         (syscall-list-default-condition): Likewise.
46571         (syscall-list-includes): Likewise.
46572         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46573         syscall-list-* with abi-*.  Handle undefined abi-variants.
46574         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46575         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46576         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46577         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46578         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46579         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46580         Removed.
46581         (syscall-list-32-options): Likewise.
46582         (syscall-list-32-condition): Likewise.
46583         (syscall-list-64-options): Likewise.
46584         (syscall-list-64-condition): Likewise.
46585         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46586         macro.
46587         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46588         Renamed to ...
46589         (abi-*): This.
46590         (abi-64-ld-soname): New macro.
46591         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46592         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46593         Renamed to ...
46594         (abi-*): This.
46595         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46596         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46598 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46600         * sysdeps/unix/sysv/linux/kernel-features.h
46601         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46602         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46603         include <kernel-features.h>.
46604         [!__NR_ftruncate64]: Remove conditional code.
46605         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46606         [__NR_ftruncate64]: Make code unconditional.
46607         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46608         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46609         include <kernel-features.h>.
46610         [!__NR_ftruncate64]: Remove conditional code.
46611         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46612         [__NR_ftruncate64]: Make code unconditional.
46613         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46615         include <kernel-features.h>.
46616         [!__NR_ftruncate64]: Remove conditional code.
46617         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46618         [__NR_ftruncate64]: Make code unconditional.
46619         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46621         include <kernel-features.h>.
46622         [!__NR_ftruncate64]: Remove conditional code.
46623         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46624         [__NR_ftruncate64]: Make code unconditional.
46625         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46627         * configure.in (libc_cv_fpie): Weaken to a compile test using
46628         LIBC_TRY_CC_OPTION.
46629         * configure: Regenerated.
46631 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46637         Refreshed.
46638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46644         Refreshed.
46646 2012-05-27  David S. Miller  <davem@davemloft.net>
46648         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46649         (___Q_zero): New.
46650         (__Q_simulate_exceptions): Return void.  Change to simulate
46651         exceptions by writing into the %fsr.
46652         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46653         (__Qp_handle_exceptions): Likewise.
46654         (numbers): Delete.
46655         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46656         __Qp_handle_exceptions.
46657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46658         __Qp_handle_exceptions.
46659         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46660         as unused and give dummy FP_RND_NEAREST initializer.
46661         (FP_INHIBIT_RESULTS): Define.
46662         (___Q_simulate_exceptions): Update declaration.
46663         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46664         formatting.
46665         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46666         as unused and give dummy FP_RND_NEAREST initializer.
46667         (__Qp_handle_exceptions): Update declaration.
46668         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46669         formatting.
46671 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46673         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46674         the temporary FPU control word.
46675         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46676         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46677         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46678         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46679         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46680         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46681         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46682         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46683         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46684         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46685         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46687 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46689         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46690         fields.
46692 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46694         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46695         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46696         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46697         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46698         Likewise.
46699         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46700         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46701         Likewise.
46703 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46705         * po/h.po: Update from translation team.
46707 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46709         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46711         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46712         handling of denormals.
46713         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46714         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46715         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46716         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46717         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46718         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46719         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46720         Likewise.
46722 2012-05-26  Marek Polacek  <polacek@redhat.com>
46724         [BZ #14152]
46725         * math/libm-test.inc (fma_test): Don't always expect underflow
46726         exception.
46728 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46730         [BZ #12416]
46731         * elf/tst-execstack.c: Include stackinfo.h.
46732         (do_test): Adjust test case to ensure that pthread_getattr_np
46733         behaviour remains the same after marking stack executable.
46735 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46737         * sysdeps/unix/sysv/linux/kernel-features.h
46738         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46739         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46740         kernel-features.h.
46741         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46742         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46743         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46744         kernel-features.h.
46745         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46746         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46748 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46750         * configure.in: Define the default includes to being none.
46751         * configure: Regenerated.
46753 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46755         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46756         * sysdeps/x86_64/setjmp.S: Likewise.
46757         * sysdeps/i386/bsd-setjmp.S: Likewise.
46758         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46759         * sysdeps/i386/setjmp.S: Likewise.
46760         * sysdeps/i386/__longjmp.S: Likewise.
46761         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46762         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46764         * include/stap-probe.h: New file.
46765         * configure.in: Handle --enable-systemtap.
46766         * configure: Regenerated.
46767         * config.h.in (USE_STAP_PROBE): New #undef.
46768         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46769         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46770         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46772 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46774         [BZ #13717]
46775         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46776         to 2.4.0 where earlier.
46777         * sysdeps/unix/sysv/linux/configure: Regenerated.
46778         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46779         <kernel-features.h>.
46780         [__ASSUME_32BITUIDS]: Make code unconditional.
46781         [!__ASSUME_32BITUIDS]: Remove conditional code.
46782         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46783         <kernel-features.h>.
46784         [__ASSUME_32BITUIDS]: Make code unconditional.
46785         [!__ASSUME_32BITUIDS]: Remove conditional code.
46786         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46787         [__ASSUME_32BITUIDS]: Make code unconditional.
46788         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46789         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46790         <kernel-features.h>.
46791         [__ASSUME_32BITUIDS]: Make code unconditional.
46792         [!__ASSUME_32BITUIDS]: Remove conditional code.
46793         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46794         <kernel-features.h>.
46795         [__ASSUME_32BITUIDS]: Make code unconditional.
46796         [!__ASSUME_32BITUIDS]: Remove conditional code.
46797         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46798         <kernel-features.h>.
46799         [__ASSUME_32BITUIDS]: Make code unconditional.
46800         [!__ASSUME_32BITUIDS]: Remove conditional code.
46801         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46802         <kernel-features.h>.
46803         [__ASSUME_32BITUIDS]: Make code unconditional.
46804         [!__ASSUME_32BITUIDS]: Remove conditional code.
46805         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46806         <kernel-features.h>.
46807         [__ASSUME_32BITUIDS]: Make code unconditional.
46808         [!__ASSUME_32BITUIDS]: Remove conditional code.
46809         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46810         <kernel-features.h>.
46811         [__ASSUME_32BITUIDS]: Make code unconditional.
46812         [!__ASSUME_32BITUIDS]: Remove conditional code.
46813         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46814         <kernel-features.h>.
46815         [__ASSUME_32BITUIDS]: Make code unconditional.
46816         [!__ASSUME_32BITUIDS]: Remove conditional code.
46817         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46818         <kernel-features.h>.
46819         [__ASSUME_32BITUIDS]: Make code unconditional.
46820         [!__ASSUME_32BITUIDS]: Remove conditional code.
46821         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46822         <kernel-features.h>.
46823         [__ASSUME_32BITUIDS]: Make code unconditional.
46824         [!__ASSUME_32BITUIDS]: Remove conditional code.
46825         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46826         <kernel-features.h>.
46827         [__ASSUME_32BITUIDS]: Make code unconditional.
46828         [!__ASSUME_32BITUIDS]: Remove conditional code.
46829         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46830         <kernel-features.h>.
46831         [__NR_setresgid] (__setresgid): Do not declare.
46832         [__ASSUME_32BITUIDS]: Make code unconditional.
46833         [!__ASSUME_32BITUIDS]: Remove conditional code.
46834         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46835         <kernel-features.h>.
46836         [__NR_setresuid] (__setresuid): Do not declare.
46837         [__ASSUME_32BITUIDS]: Make code unconditional.
46838         [!__ASSUME_32BITUIDS]: Remove conditional code.
46839         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46840         <kernel-features.h>.
46841         [__ASSUME_32BITUIDS]: Make code unconditional.
46842         [!__ASSUME_32BITUIDS]: Remove conditional code.
46843         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46844         <kernel-features.h>.
46845         [__ASSUME_32BITUIDS]: Make code unconditional.
46846         [!__ASSUME_32BITUIDS]: Remove conditional code.
46847         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46848         <kernel-features.h>.
46849         [__ASSUME_32BITUIDS]: Make code unconditional.
46850         [!__ASSUME_32BITUIDS]: Remove conditional code.
46851         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46852         <kernel-features.h>.
46853         [__ASSUME_32BITUIDS]: Make code unconditional.
46854         [!__ASSUME_32BITUIDS]: Remove conditional code.
46855         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46856         <kernel-features.h>.
46857         [__ASSUME_32BITUIDS]: Make code unconditional.
46858         [!__ASSUME_32BITUIDS]: Remove conditional code.
46859         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46860         <kernel-features.h>.
46861         [__ASSUME_32BITUIDS]: Make code unconditional.
46862         [!__ASSUME_32BITUIDS]: Remove conditional code.
46863         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46864         <kernel-features.h>.
46865         [__ASSUME_32BITUIDS]: Make code unconditional.
46866         [!__ASSUME_32BITUIDS]: Remove conditional code.
46867         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46868         <kernel-features.h>.
46869         [__ASSUME_32BITUIDS]: Make code unconditional.
46870         [!__ASSUME_32BITUIDS]: Remove conditional code.
46871         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46872         <kernel-features.h>.
46873         [__ASSUME_32BITUIDS]: Make code unconditional.
46874         [!__ASSUME_32BITUIDS]: Remove conditional code.
46875         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46876         <kernel-features.h>.
46877         [__ASSUME_32BITUIDS]: Make code unconditional.
46878         [!__ASSUME_32BITUIDS]: Remove conditional code.
46879         * sysdeps/unix/sysv/linux/kernel-features.h
46880         (__ASSUME_SETRESUID_SYSCALL): Remove.
46881         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46882         (__ASSUME_32BITUIDS): Likewise.
46883         (__ASSUME_LDT_WORKS): Likewise.
46884         (__ASSUME_O_DIRECTORY): Likewise.
46885         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46886         architecture but not kernel version.
46887         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46888         (__ASSUME_MMAP2_SYSCALL): Likewise.
46889         (__ASSUME_STAT64_SYSCALL): Likewise.
46890         (__ASSUME_IPC64): Likewise.
46891         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46892         <kernel-features.h>.
46893         [__ASSUME_32BITUIDS]: Make code unconditional.
46894         [!__ASSUME_32BITUIDS]: Remove conditional code.
46895         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46896         <kernel-features.h>.
46897         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46898         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46899         132096]: Remove conditional code.
46900         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46901         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46902         <kernel-features.h>.
46903         [__ASSUME_32BITUIDS]: Make code unconditional.
46904         [!__ASSUME_32BITUIDS]: Remove conditional code.
46905         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46906         <kernel-features.h>.
46907         [__ASSUME_32BITUIDS]: Make code unconditional.
46908         [!__ASSUME_32BITUIDS]: Remove conditional code.
46909         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46910         <kernel-features.h>.
46911         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46912         unconditional.
46913         (__setresgid): Do not declare.
46914         [__ASSUME_32BITUIDS]: Make code unconditional.
46915         [!__ASSUME_32BITUIDS]: Remove conditional code.
46916         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46917         <kernel-features.h>.
46918         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46919         unconditional.
46920         (__setresuid): Do not declare.
46921         [__ASSUME_32BITUIDS]: Make code unconditional.
46922         [!__ASSUME_32BITUIDS]: Remove conditional code.
46923         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46924         <kernel-features.h>.
46925         [__ASSUME_32BITUIDS]: Make code unconditional.
46926         [!__ASSUME_32BITUIDS]: Remove conditional code.
46927         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46928         <kernel-features.h>.
46929         [__ASSUME_32BITUIDS]: Make code unconditional.
46930         [!__ASSUME_32BITUIDS]: Remove conditional code.
46932 2012-05-25  Richard Henderson  <rth@twiddle.net>
46934         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46935         dl_hwcap to ifunc resolver.
46936         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46937         elf_ifunc_invoke.
46938         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46939         dl_hwcap to ifunc resolver.
46940         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46942 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46944         [BZ #14153]
46945         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46946         for |x| <= 2**-26, not 2**-57.
46947         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46948         exception.
46950 2012-05-24  Jeff Law  <law@redhat.com>
46952         * stdio-common/Makefile (tests): Add bug25.
46953         * stdio-common/bug25.c: New test.
46955 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46957         [BZ #13576]
46958         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46959         multiple of MALLOC_ALIGNMENT in size.
46960         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46962 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46964         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46965         Require >= 256.
46966         (FILENAME_MAX): Use macro-int-constant.
46967         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46968         (_IOFBF): Use macro-int-constant.
46969         (_IOLBF): Likewise.
46970         (_IONBF): Likewise.
46971         (SEEK_CUR): Likewise.
46972         (SEEK_END): Likewise.
46973         (SEEK_SET): Likewise.
46974         (TMP_MAX): Likewise.
46975         (EOF): Use macro-int-constant.  Require < 0.
46976         (NULL): Use macro-constant.  Require == 0.
46977         (stdin): Require type to be FILE *.
46978         (stdout): Likewise.
46979         (stderr): Likewise.
46980         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46981         macro-int-constant.
46982         (EXIT_SUCCESS): Likewise.
46983         (NULL): Use macro-constant.  Require == 0.
46984         (RAND_MAX): Use macro-int-constant.
46985         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46986         [C99-based standards] (strtof): Require function.
46987         [C99-based standards] (strtold): Likewise.
46988         [C99-based standards] (strtoll): Likewise.
46989         [C99-based standards] (strtoull): Likewise.
46990         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46991         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46992         [ISO || ISO99 || ISO11] (math.h): Likewise.
46993         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46994         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46995         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46997 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46999         [BZ #14132]
47000         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47001         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47002         * intl/dgettext.c (DCGETTEXT): Likewise.
47003         * intl/gettext.c (DCGETTEXT): Likewise.
47004         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47005         * posix/regex_internal.h (gettext): Likewise.
47006         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47007         Remove declaration.
47008         * include/argz.h (__argz_count_internal)
47009         (__argz_stringify_internal): Remove declaration.
47010         (__argz_count, __argz_stringify): Declare hidden proto.
47011         * intl/dcgettext.c: Remove use of INTDEF.
47012         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47013         * string/argz-stringify.c: Likewise.
47014         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47015         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47016         Declare hidden proto.
47017         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47018         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47019         Declare hidden proto.
47020         * include/stdio.h (__asprintf_internal): Don't declare.
47021         (__asprintf): Don't define as macro.  Declare hidden proto.
47022         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47023         (__fsetlocking): Declare hidden proto.
47024         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47025         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47026         hidden proto.
47027         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47028         (_IO_setlinebuf): Remove use of INTUSE.
47029         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47030         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47031         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47032         Remove declaration.
47033         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47034         (_IO_do_flush): Remove use of INTUSE.
47035         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47036         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47037         (_IO_adjust_column, _IO_least_wmarker)
47038         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47039         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47040         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47041         (_IO_default_doallocate, _IO_wdefault_doallocate)
47042         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47043         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47044         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47045         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47046         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47047         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47048         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47049         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47050         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47051         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47052         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47053         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47054         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47055         proto.
47056         (_IO_flush_all_internal, _IO_adjust_column_internal)
47057         (_IO_default_uflow_internal, _IO_default_finish_internal)
47058         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47059         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47060         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47061         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47062         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47063         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47064         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47065         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47066         (_IO_file_close_internal, _IO_file_close_it_internal)
47067         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47068         (_IO_file_init_internal, _IO_file_attach_internal)
47069         (_IO_file_fopen_internal, _IO_file_read_internal)
47070         (_IO_file_sync_internal, _IO_file_seek_internal)
47071         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47072         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47073         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47074         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47075         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47076         (_IO_list_all_internal, _IO_link_in_internal)
47077         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47078         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47079         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47080         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47081         (_IO_do_write_internal, _IO_padn_internal)
47082         (_IO_getline_info_internal, _IO_getline_internal)
47083         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47084         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47085         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47086         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47087         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47088         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47089         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47090         with libc_hidden_ver, remove use of INTUSE.
47091         * libio/genops.c: Likewise.
47092         * libio/freopen.c: Likewise.
47093         * libio/freopen64.c: Likewise.
47094         * libio/iofclose.c: Likewise.
47095         * libio/iofdopen.c: Likewise.
47096         * libio/iofflush.c: Likewise.
47097         * libio/iofflush_u.c: Likewise.
47098         * libio/iofgets.c: Likewise.
47099         * libio/iofgets_u.c: Likewise.
47100         * libio/iofopen.c: Likewise.
47101         * libio/iofopncook.c: Likewise.
47102         * libio/iofread.c: Likewise.
47103         * libio/iofread_u.c: Likewise.
47104         * libio/ioftell.c: Likewise.
47105         * libio/iofwrite.c: Likewise.
47106         * libio/iogetline.c: Likewise.
47107         * libio/iogets.c: Likewise.
47108         * libio/iogetwline.c: Likewise.
47109         * libio/iopadn.c: Likewise.
47110         * libio/iopopen.c: Likewise.
47111         * libio/ioseekoff.c: Likewise.
47112         * libio/ioseekpos.c: Likewise.
47113         * libio/iosetbuffer.c: Likewise.
47114         * libio/iosetvbuf.c: Likewise.
47115         * libio/ioungetc.c: Likewise.
47116         * libio/ioungetwc.c: Likewise.
47117         * libio/iovdprintf.c: Likewise.
47118         * libio/iovsprintf.c: Likewise.
47119         * libio/iovsscanf.c: Likewise.
47120         * libio/memstream.c: Likewise.
47121         * libio/obprintf.c: Likewise.
47122         * libio/oldfileops.c: Likewise.
47123         * libio/oldiofclose.c: Likewise.
47124         * libio/oldiofdopen.c: Likewise.
47125         * libio/oldiofopen.c: Likewise.
47126         * libio/oldiopopen.c: Likewise.
47127         * libio/oldstdfiles.c: Likewise.
47128         * libio/putc.c: Likewise.
47129         * libio/setbuf.c: Likewise.
47130         * libio/setlinebuf.c: Likewise.
47131         * libio/stdfiles.c: Likewise.
47132         * libio/strops.c: Likewise.
47133         * libio/vasprintf.c: Likewise.
47134         * libio/vscanf.c: Likewise.
47135         * libio/vsnprintf.c: Likewise.
47136         * libio/vswprintf.c: Likewise.
47137         * libio/wfiledoalloc.c: Likewise.
47138         * libio/wfileops.c: Likewise.
47139         * libio/wgenops.c: Likewise.
47140         * libio/wmemstream.c: Likewise.
47141         * libio/wstrops.c: Likewise.
47142         * libio/__fpurge.c: Likewise.
47143         * libio/__fsetlocking.c: Likewise.
47144         * assert/assert.c: Likewise.
47145         * debug/fgets_chk.c: Likewise.
47146         * debug/fgets_u_chk.c: Likewise.
47147         * debug/fread_chk.c: Likewise.
47148         * debug/fread_u_chk.c: Likewise.
47149         * debug/gets_chk.c: Likewise.
47150         * debug/obprintf_chk.c: Likewise.
47151         * debug/vasprintf_chk.c: Likewise.
47152         * debug/vdprintf_chk.c: Likewise.
47153         * debug/vsnprintf_chk.c: Likewise.
47154         * debug/vsprintf_chk.c: Likewise.
47155         * malloc/mtrace.c: Likewise.
47156         * misc/error.c: Likewise.
47157         * misc/syslog.c: Likewise.
47158         * stdio-common/asprintf.c: Likewise.
47159         * stdio-common/fxprintf.c: Likewise.
47160         * stdio-common/getw.c: Likewise.
47161         * stdio-common/isoc99_fscanf.c: Likewise.
47162         * stdio-common/isoc99_scanf.c: Likewise.
47163         * stdio-common/isoc99_vfscanf.c: Likewise.
47164         * stdio-common/isoc99_vscanf.c: Likewise.
47165         * stdio-common/isoc99_vsscanf.c: Likewise.
47166         * stdio-common/printf-prs.c: Likewise.
47167         * stdio-common/printf_fp.c: Likewise.
47168         * stdio-common/printf_fphex.c: Likewise.
47169         * stdio-common/printf_size.c: Likewise.
47170         * stdio-common/putw.c: Likewise.
47171         * stdio-common/scanf.c: Likewise.
47172         * stdio-common/sprintf.c: Likewise.
47173         * stdio-common/tmpfile.c: Likewise.
47174         * stdio-common/vfprintf.c: Likewise.
47175         * stdio-common/vfscanf.c: Likewise.
47176         * stdlib/strfmon_l.c: Likewise.
47177         * sunrpc/openchild.c: Likewise.
47178         * sunrpc/xdr_stdio.c: Likewise.
47179         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47180         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47182 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47184         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47186         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47187         in the third column, to generate for the shared library an IFUNC
47188         that uses _dl_vdso_vsym.
47189         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47190         * Makeconfig (object-suffixes-noshared): New variable.
47192         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47193         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47194         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47195         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47197         [BZ #14132]
47198         * include/sys/time.h (__gettimeofday): Remove macro.
47199         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47200         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47201         Remove INTDEF.
47202         (__gettimeofday): Add libc_hidden_def.
47203         (gettimeofday): Add libc_hidden_weak.
47204         * sysdeps/mach/gettimeofday.c: Likewise.
47205         * sysdeps/posix/gettimeofday.c: Likewise.
47206         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47207         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47208         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47209         (__gettimeofday_internal): Remove strong_alias.
47210         (__gettimeofday): Add libc_hidden_def.
47211         (gettimeofday): Add libc_hidden_weak.
47212         * sysdeps/unix/syscalls.list (gettimeofday):
47213         Remove __gettimeofday_internal alias.
47215 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47216             H.J. Lu  <hongjiu.lu@intel.com>
47218         [BZ #12495]
47219         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47220         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47221         (largebin_index_32_big): New.
47222         (largebin_index): Use it for 16-byte alignment.
47223         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47224         correction with front_misalign.
47226 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47230         Likewise.
47231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47232         Likewise.
47233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47234         Likewise.
47235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47236         Likewise.
47237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47238         Likewise.
47239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47240         Likewise.
47241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47242         Likewise.
47243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47244         Likewise.
47245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47246         Likewise.
47247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47248         Likewise.
47249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47250         Likewise.
47251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47252         Likewise.
47254         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47255         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47257 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47259         [BZ #10846]
47260         [BZ #14036]
47261         * math/libm-test.inc (exp_test): Add test from bug 14036.
47262         (pow_test): Add test from bug 10846.
47264         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47265         and other flags.
47266         (special_function): Do not include flags in test name.
47267         (parse_args): Likewise.
47268         * sysdeps/i386/fpu/libm-test-ulps: Update.
47269         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47270         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47271         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47274         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47275         exceptions.
47276         * math/libm-test.inc ("Philosophy"): Update comment about
47277         exception testing.
47278         (UNDERFLOW_EXCEPTION): New macro.
47279         (UNDERFLOW_EXCEPTION_OK): Likewise.
47280         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47281         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47282         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47283         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47284         (INVALID_EXCEPTION_OK): Update value.
47285         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47286         (OVERFLOW_EXCEPTION_OK): Likewise.
47287         (IGNORE_ZERO_INF_SIGN): Likewise.
47288         (test_exceptions): Handle underflow exceptions.
47289         (acos_test): Update for underflow exception expectations.
47290         (cexp_test): Likewise.
47291         (clog_test): Likewise.
47292         (clog10_test): Likewise.
47293         (csqrt_test): Likewise.
47294         (ctan_test): Likewise.
47295         (ctanh_test): Likewise.
47296         (exp_test): Likewise.
47297         (exp10_test): Likewise.
47298         (exp2_test): Likewise.
47299         (expm1_test): Likewise.
47300         (fma_test): Likewise.
47301         (j0_test): Likewise.
47302         (jn_test): Likewise.
47303         (nexttoward_test): Likewise.
47304         (pow_test): Likewise.
47305         (scalbn_test): Likewise.
47306         (scalbln_test): Likewise.
47307         (tan_test): Likewise.
47308         (y1_test): Likewise.
47309         * sysdeps/i386/fpu/libm-test-ulps: Update.
47310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47312 2012-05-23  David S. Miller  <davem@davemloft.net>
47314         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47315         (__libc_sigaction): Remove unused local variables.
47317 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47319         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47321 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47323         mktime: avoid signed integer overflow
47324         * time/mktime.c (__mktime_internal): Do not mishandle the case
47325         where diff == INT_MIN.
47327         mktime: simplify computation of average
47328         * time/mktime.c (ranged_convert): Use new time_t_avg function
47329         instead of rolling our own (probably-slower) code.
47331         mktime: do not assume signed right shift propagates sign bit
47332         * time/mktime.c (isdst_differ): New static function.
47333         (__mktime_internal): No need to normalize tm_isdst now.
47334         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47335         tm_isdst values.
47337         mktime: merge another wrapv change from gnulib
47338         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47339         from some compilers.
47341         mktime: remove incorrect attempt at unusual arithmetics
47342         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47343         The code didn't really work on such machines anyway.
47344         (TYPE_MINIMUM): Assume two's complement.
47345         (twos_complement_arithmetic): Verify that long_int and time_t
47346         are two's complement (or unsigned, in the latter case).
47348         mktime: check signed shifts on long_int and time_t, too
47349         * time/mktime.c (SHR): Check that shifts work as desired
47350         on the types long_int and time_t too, as SHR is used on
47351         such types.
47353         mktime: do not assume 'long' is wide enough
47354         * time/mktime.c (verify): Move decl up.
47355         (long_int): New type.
47356         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47357         to remove assumption in the code that 'long' is wide enough to
47358         store year values.  This assumption is not true on x32 and on
47359         some non-glibc platforms.
47361         mktime: merge wrapv change from gnulib
47362         * time/mktime.c (WRAPV): New macro.
47363         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47364         (guess_time_tm, __mktime_internal): Do not assume that signed
47365         integer overflow wraps around; modern compilers generate code
47366         where this assumption is no longer valid.
47368 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47370         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47371         Replace "jmp L(pseudo_end)" with "ret".
47372         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47373         Likewise.
47375 2012-05-23  Andreas Jaeger  <aj@suse.de>
47377         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47378         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47380 2012-05-23  Andreas Jaeger  <aj@suse.de>
47381             Maximilian Attems  <max@stro.at>
47383         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47384         New macros.
47386 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47388         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47389         code so that pseudo_end is just ret and the stack pointer is
47390         correct also for static library in error case.
47392 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47394         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47395         move to syscalls.list.
47396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47401         * manual/install.texi (Running make install): Do not mention Linux
47402         kernel version for which pt_chown is not needed.
47403         (Linux): Do not mention problems with nscd with 2.0 kernels.
47404         * INSTALL: Regenerated.
47406 2012-05-23  Andreas Jaeger  <aj@suse.de>
47408         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47409         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47410         macro.
47411         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47412         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47413         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47414         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47415         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47416         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47417         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47418         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47419         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47420         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47421         * sysdeps/unix/sysv/linux/bits/in.h
47422         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47424 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47426         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47427         (PREPARE_VERSION): Just use assert instead, it will be elided
47428         under [NDEBUG] anyway.
47430 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47432         * sysdeps/unix/sysv/linux/Makefile: Include
47433         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47434         (sysdep_routines): Remove sysctl.
47435         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47436         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47437         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47438         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47439         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47441 2012-05-22  Andreas Jaeger  <aj@suse.de>
47443         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47444         that pseudo_end is just ret and the stack pointer is correct also
47445         for static library in error case.
47447 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47449         [BZ #14122]
47450         * nss/nsswitch.c (defconfig_entries): New variable.
47451         (__nss_database_lookup): Don't leak defconfig entries.
47452         (nss_parse_service_list): Don't leak on error paths.
47453         (free_database_entries): New function.
47454         (free_defconfig): New function.
47455         (free_mem): Move common code to free_database_entries.
47457 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47459         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47460         Add arch_prctl.
47461         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47463         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47464         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47466         New macro.
47467         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47468         (INTERNAL_SYSCALL_TYPES): Likewise.
47469         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47470         (LOAD_REGS_TYPES_[1-6]): Likewise.
47471         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47472         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47474 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47476         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47477         copysignl for GLIBC_2_0.
47478         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47479         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47480         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47481         logbl for GLIBC_2_0.
47482         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47483         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47485 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47487         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47488         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47490         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47491         Use "neg %eax".
47493         * time/mktime.c: Update copyright years.
47495 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47497         mktime: merge comment-quoting-style change from gnulib
47498         * time/mktime.c: Quote 'like this' in comments.
47499         The GNU coding standards suggest that we no longer quote `like this',
47500         as "`" and "'" are typically rendered asymmetrically nowadays.
47501         The typical gnulib style is to quote 'like this' when quoting
47502         code, and "like this" when quoting English.
47504         * time/mktime.c (compile-command): Add "-I.".
47506         mktime: merge mktime-internal.h change from gnulib
47507         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47509         mktime: merge time_r change from gnulib
47510         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47512         mktime: merge DEBUG change from gnulib
47513         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47514         case system <time.h> has a #define.
47516         mktime: merge <sys/types.h> change from gnulib
47517         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47518         since <time.t> is now guaranteed to define time_t.
47520         mktime: merge HAVE_CONFIG_H change from gnulib
47521         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47523 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47525         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47526         Use "neg %eax".
47528         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47529         __rlim_t cast.
47530         (struct rusage): Use anonymous union to pad each field to
47531         __syscall_slong_t.
47533 2012-05-21  David S. Miller  <davem@davemloft.net>
47535         * Makefules (o-iterator): Remove .s cases.
47536         (compile-command.s): Delete.
47537         (COMPILE.s): Delete.
47538         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47540 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47542         * configure.in (libc_cv_predef_stack_protector): Only consider
47543         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47544         * configure: Regenerated.
47546 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47548         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47549         New macro.  Use R*LP on int and pointer.
47550         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47551         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47552         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47553         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47555         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47556         [__WORDSIZE_TIME64_COMPAT32] instead of
47557         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47558         (struct utmp): Likewise.
47559         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47560         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47561         Renamed to ...
47562         (__WORDSIZE_TIME64_COMPAT32): This.
47563         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47564         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47565         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47566         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47567         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47568         (__WORDSIZE_TIME64_COMPAT32): New macro.
47570 2012-05-21  Andreas Jaeger  <aj@suse.de>
47572         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47573         only if [SHARED]. Add prototype for __wcschr_ia32.
47575 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47577         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47578         of %rbp unmolested in the jmp_buf while mangling the low bits.
47579         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47580         unmolested high bits of %rbp while demangling the low bits.
47581         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47583 2012-05-21  Andreas Jaeger  <aj@suse.de>
47585         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47586         * sunrpc/svc_simple.c: Use it for registerrpc.
47587         * sunrpc/xcrypt.c: Use it for passwd2des.
47589         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47591 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47593         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47594         Don't define if [__SYSCALL_WORDSIZE != 32].
47595         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47596         New macro.
47598 2012-05-21  Bruno Haible  <bruno@clisp.org>
47599             Andreas Jaeger  <aj@suse.de>
47601         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47602         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47603         inptr and inend for must_buffer_ch.
47604         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47605         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47606         * stdio-common/Makefile (tests): Remove bug15.
47607         (bug15-ENV): Remove macro.
47608         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47609         anymore.
47611 2012-05-19  Andreas Jaeger  <aj@suse.de>
47612             Roland McGrath  <roland@hack.frob.com>
47614         * manual/contrib.texi: Completely rewritten. It contains now an
47615         alphabetical list of contributors and their contributions.
47617 2012-05-21  Richard Henderson  <rth@twiddle.net>
47619         * misc/getauxval.c (__getauxval): Use unsigned long int.
47620         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47621         (getauxval): Use unsigned long int.
47623 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47625         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47627 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47629         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47630         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47631         __alignof__ (long double).
47633 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47637 2012-05-20  Richard Henderson  <rth@twiddle.net>
47639         * misc/getauxval.c: New file.
47640         * misc/sys/auxv.h: New file.
47641         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47642         (routines): Add getauxval.
47643         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47644         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47645         * elf/dl-sysdep.c (_dl_auxv): Remove.
47646         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47647         * elf/dl-support.c (_dl_auxv): New variable.
47648         (_dl_aux_init): Initialize it.
47649         * manual/startup.texi (Auxiliary Vector): New node.
47650         * sysdeps/generic/bits/hwcap.h: New file.
47651         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47652         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47653         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47654         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47655         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47656         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47658         Update.
47659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47662         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47668 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47672 2012-05-19  David S. Miller  <davem@davemloft.net>
47674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47676 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47678         [BZ #14123]
47679         * math/s_ccosh.c: Include <float.h>
47680         (__ccosh): Avoid internal overflow calculating sinh and cosh
47681         values before multiplying by sin and cos values.
47682         * math/s_ccoshf.c: Likewise.
47683         * math/s_ccoshl.c: Likewise.
47684         * math/s_csin.c: Likewise.
47685         * math/s_csinf.c: Likewise.
47686         * math/s_csinl.c: Likewise.
47687         * math/s_csinh.c: Likewise.
47688         * math/s_csinhf.c: Likewise.
47689         * math/s_csinhl.c: Likewise.
47690         * math/libm-test.inc (ccos_test): Add more tests.
47691         (ccosh_test): Likewise.
47692         (csin_test): Likewise.
47693         (csinh_test): Likewise.
47694         * sysdeps/i386/fpu/libm-test-ulps: Update.
47695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47697 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47699         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47700         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47702         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47704 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47706         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47707         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47708         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47709         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47710         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47711         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47712         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47713         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47714         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47715         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47716         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47717         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47718         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47719         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47720         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47721         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47722         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47723         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47724         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47725         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47726         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47727         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47728         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47729         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47730         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47731         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47732         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47733         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47734         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47735         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47736         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47738 2012-05-18  Andreas Jaeger  <aj@suse.de>
47740         * csu/.gitignore: Delete.
47742 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47744         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47745         (timex): Use __syscall_slong_t.
47747 2012-05-18  Andreas Jaeger  <aj@suse.de>
47748             Carlos O'Donell  <carlos_odonell@mentor.com>
47750         * manual/install.texi (Configuring and compiling): Update
47751         description about files modified in the source directory.
47752         * INSTALL: Regenerated.
47754 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47756         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47757         value.  Use "or" to set return value to -1.
47758         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47759         negate return value.
47761 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47763         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47764         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47765         failure if the compiler has Graphite support disabled.
47766         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47767         Likewise.
47768         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47769         (CFLAGS-memmove.c): Likewise.
47770         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47771         Likewise.
47773 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47775         * sysdeps/x86_64/x32/_itoa.h: New file.
47777         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47778         getdents system call only if kernel and user dirents have the
47779         same d_ino and d_off.
47781         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47782         LLONG_MAX != LONG_MAX.
47783         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47784         (_fitoa_word): Likewise.
47786         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47787         years.
47788         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47789         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47790         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47792         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47793         include <bits/wordsize.h>.  Check __x86_64__ instead of
47794         __WORDSIZE.
47795         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47796         if __x86_64__ is defined.  Use anonymous union on fpstate.
47798         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47799         anonymous union.
47801 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47803         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47804         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47805         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47806         Refer to _rtld_local_ro instead of _rtld_global_ro.
47807         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47808         Likewise.
47809         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47810         Likewise.
47811         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47812         Likewise.
47813         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47814         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47815         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47817         * sysdeps/powerpc/powerpc32/dl-machine.c
47818         (__elf_machine_runtime_setup) [PROF]: Don't reference
47819         _dl_prof_resolve.
47821 2012-05-18  Andreas Jaeger  <aj@suse.de>
47823         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47824         function only available for GCCs before 3.4 since GCC 3.4
47825         introduced a builtin.
47826         (lrint): Likewise.
47827         (llrintf): Likewise.
47828         (llrint): Likewise.
47829         (fmaxf): Likewise.
47830         (fmax): Likewise.
47831         (fminf): Likewise.
47832         (fmin): Likewise.
47833         (rint): Likewise.
47834         (rintf): Likewise.
47835         (nearbyint): Likewise.
47836         (nearbyintf): Likewise.
47837         (ceil): Likewise.
47838         (ceilf): Likewise.
47839         (floor): Likewise.
47840         (floorf): Likewise.
47842 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47844         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47845         on both fields and cast pointer to __syscall_ulong_t.
47847         * bits/types.h (__fsword_t): New type.
47848         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47849         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47850         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47851         (__FSWORD_T_TYPE): Likewise.
47852         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47853         (__FSWORD_T_TYPE): Likewise.
47854         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47855         (__FSWORD_T_TYPE): Likewise.
47856         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47857         (__FSWORD_T_TYPE): Likewise.
47858         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47859         __SWORD_TYPE with __fsword_t.
47860         (statfs64): Likewise.
47862 2012-05-17  David S. Miller  <davem@davemloft.net>
47864         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47866 2012-05-17  Andreas Jaeger  <aj@suse.de>
47868         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47869         warning.
47871 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47873         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47875 2012-05-17  Andreas Jaeger  <aj@suse.de>
47877         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47878         when it is used.
47880 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47882         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47884 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47886         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47887         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47889 2012-05-17  Andreas Jaeger  <aj@suse.de>
47890             Carlos O'Donell  <carlos_odonell@mentor.com>
47892         [BZ #14059]
47893         * sysdeps/x86_64/multiarch/init-arch.h
47894         (bit_YMM_Usable): Rename to...
47895         (bit_AVX_Usable): ... this.
47896         (bit_FMA4_Usable): New macro.
47897         (bit_XMM_state): New macro.
47898         (bit_YMM_state): New macro.
47899         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47900         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47901         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47902         (CPUID_OSXSAVE): New macro.
47903         (CPUID_AVX): New macro.
47904         (CPUID_FMA4): New macro.
47905         (index_YMM_Usable): Rename to...
47906         (index_AVX_Usable): ... this.
47907         (HAS_AVX): Use HAS_ARCH_FEATURE.
47908         (HAS_FMA4): Likewise.
47909         (HAS_YMM_USABLE): Remove.
47910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47911         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47912         are present.
47913         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47914         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47915         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47916         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47917         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47919 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47921         * math/libm-test.c: Support platforms without multiple rounding modes.
47922         * math/bug-nextafter.c: Support platforms without FP exceptions.
47923         * math/bug-nexttoward.c: Likewise.
47924         * math/test-fenv.c: Likewise.
47925         * math/test-misc.c: Likewise.
47926         * stdlib/bug-getcontext.c: Likewise.
47928 2012-05-17  Andreas Jaeger  <aj@suse.de>
47930         * manual/examples/search.c (critter_cmp): Change signature to
47931         avoid warnings.
47932         * manual/string.texi (Collation Functions): Likewise.
47934 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47936         * bits/types.h: Fold copyright years.
47937         * bits/typesizes.h: Likewise.
47938         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47939         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47940         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47941         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47942         * time/time.h: Likewise.
47944 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47946         [BZ #208]
47947         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47948         in instead of returning them.  Return void.
47949         (__libc_mallinfo): Accumulate over all arenas.
47950         (__malloc_stats): Adjust for change in int_mallinfo interface.
47952 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47954         [BZ #10375]
47955         * configure.in (NM): Add AC_CHECK_TOOL for it.
47956         (libc_extra_cflags): New substituted variable.
47957         Check for -fstack-protector being used implicitly.
47958         * configure: Regenerated.
47959         * config.make.in (config-extra-cflags): New variable,
47960         gets @libc_extra_cflags@.
47961         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47963         [BZ #10375]
47964         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47965         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47966         * configure: Regenerated.
47967         * config.make.in (CPPUNDEFS): New substituted variable.
47968         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47969         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47970         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47972 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47974         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47975         (mq_attr): Use __syscall_slong_t.
47977 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47979         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47980         Check __x86_64__ instead of __WORDSIZE.
47981         (_STAT_VER_LINUX): Likewise.
47982         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47983         __syscall_ulong_t and __syscall_slong_t.
47984         (stat64): Likewise.
47986 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47988         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47990 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47992         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47994 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47996         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47997         __syscall_ulong_t.
47999         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48000         include <bits/wordsize.h>.  Check __x86_64__ instead of
48001         __WORDSIZE.
48002         (greg_t): Use "__extension__ long long int" if __x86_64__ is
48003         defined.
48004         (mcontext_t): Replace "unsigned long" with "unsigned long long".
48006         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48007         include <bits/wordsize.h>.  Check __x86_64__ instead of
48008         __WORDSIZE.
48009         (user_regs_struct): Use "__extension__ unsigned long long"
48010         instead of "unsigned long" if __x86_64__ is defined.
48011         (user): Likewise.  Pad after pointer field if __ILP32__ is
48012         defined.
48014 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48016         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48017         versions 5 to 9.
48018         * configure: Regenerated.
48019         * manual/install.texi (texinfo): Increase version requirement to
48020         4.5 or later.
48021         * INSTALL: Regenerated.
48023         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48025 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48027         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48029         * sysdeps/x86_64/x32/ffs.c: New file.
48031         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48032         __syscall_ulong_t.
48033         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48034         defined.  Use __syscall_ulong_t.
48035         (shminfo): Use __syscall_ulong_t.
48036         (shm_info): Likewise.
48038         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48039         __syscall_ulong_t.
48041         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48042         <bits/wordsize.h>.
48043         (msgqnum_t): Use __syscall_ulong_t.
48044         (msglen_t): Likewise.
48045         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48046         __syscall_ulong_t.
48048         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48049         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48051         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48053         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48054         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48056         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48057         __syscall_slong_t.
48059         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48060         include <bits/wordsize.h>.  Check __x86_64__ instead of
48061         __WORDSIZE.
48063         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48064         "unsigned long long int" if __x86_64__ is defined.
48065         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48067         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48068         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48069         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48071         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48072         <stdint.h>.
48073         (GET_PC): Cast to uintptr_t first.
48074         (GET_FRAME): Likewise.
48075         (GET_STACK): Likewise.
48077         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48078         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48079         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48080         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48081         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48082         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48083         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48084         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48085         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48086         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48087         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48088         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48089         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48090         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48091         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48092         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48093         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48094         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48095         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48096         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48097         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48098         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48099         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48100         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48101         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48102         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48103         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48104         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48105         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48107 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48109         * Makerules (+depfiles): Also collect depfiles from .oS in
48110         $(extra-objs).
48111         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48112         .oS, $(libnldbl-routines)).
48114         * Makerules (native-compile-mkdep-flags): Define.
48115         * sunrpc/Makefile (extra-objs): Add $(addprefix
48116         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48117         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48118         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48119         calling $(make-target-directory).
48121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48123         * bits/types.h (__snseconds_t): Removed.
48124         * time/time.h (struct timespec): Replace __snseconds_t with
48125         __syscall_slong_t.
48126         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48127         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48128         Likewise.
48129         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48130         (__SNSECONDS_T_TYPE): Likewise.
48131         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48132         (__SNSECONDS_T_TYPE): Likewise.
48133         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48134         (__SNSECONDS_T_TYPE): Likewise.
48136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48138         * sysdeps/mach/hurd/bits/typesizes.h
48139         (__SYSCALL_SLONG_TYPE): New macro.
48140         (__SYSCALL_ULONG_TYPE): Likewise.
48142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48144         * bits/types.h (__syscall_slong_t): New type.
48145         (__syscall_ulong_t): Likewise.
48147         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48148         (__SYSCALL_ULONG_TYPE): Likewise.
48149         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48150         (__SYSCALL_SLONG_TYPE): Likewise.
48151         (__SYSCALL_ULONG_TYPE): Likewise.
48152         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48153         (__SYSCALL_SLONG_TYPE): Likewise.
48154         (__SYSCALL_ULONG_TYPE): Likewise.
48155         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48156         (__SYSCALL_SLONG_TYPE): Likewise.
48157         (__SYSCALL_ULONG_TYPE): Likewise.
48159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48161         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48162         Add sigaltstack-offsets.sym.
48163         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48164         <sigaltstack-offsets.h>.
48165         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48166         longjmp_msg pointer.
48167         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48168         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48169         signal stack.
48170         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48172 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48174         * elf/stackguard-macros.h: Remove file.
48175         * sysdeps/generic/stackguard-macros.h: New file.
48176         * sysdeps/i386/stackguard-macros.h: Likewise.
48177         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48178         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48179         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48180         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48181         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48182         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48183         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48184         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48185         <elf/stackguard-macros.h>.
48187         [BZ #14109]
48188         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48189         __aligned__ in attribute.
48190         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48191         (gregset_t): Likewise.
48193 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48195         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48196         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48197         * sysdeps/x86_64/x32/Implies-after: New file.
48199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48201         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48202         and access return value for _dl_profile_fixup.  Use R10_LP to
48203         load frame size.
48205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48207         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48209 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48211         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48212         * sysdeps/x86_64/x32/sysdep.h: New file.
48214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48216         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48217         * sysdeps/x86_64/setjmp.S: Likewise.
48219 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48221         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48222         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48223         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48224         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48225         remove unused global constant.
48227 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48229         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48230         include of <not-cancel.h>.
48232 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48234         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48236 2012-05-15  Jeff Law  <law@redhat.com>
48237             Andreas Jaeger  <aj@suse.de>
48239         [BZ #13594]
48240         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48241         out from...
48242         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48243         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48244         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48245         code changing __hst_map_handle.map.
48247 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48249         * configure.in (sysnames): Look for Implies-before and Implies-after
48250         files.
48251         * configure: Regenerated.
48253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48255         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48256         8-byte data alignment with LP_SIZE alignment.
48258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48260         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48261         into R10_LP.
48263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48265         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48267 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48269         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48270         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48271         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48272         Likewise.
48273         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48277         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48278         (stackinfo_sub_sp): Likewise.
48280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48282         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48283         RAX_LP.
48285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48287         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48288         into R*_LP.
48290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48292         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48293         sizes into R*_LP.
48295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48297         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48299 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48301         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48302         into R11_LP and load __x86_64_shared_cache_size_half into
48303         R8_LP.
48305 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48307         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48308         R8_LP.
48310 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48312         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48313         logb for POWER7.
48314         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48315         logbf for POWER7.
48316         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48317         logbl for POWER7.
48318         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48319         powerpc32/power7/fpu/s_logb.c via #include.
48320         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48321         powerpc32/power7/fpu/s_logbf.c via #include.
48322         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48323         powerpc32/power7/fpu/s_logbl.c via #include.
48325 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48327         * README.libm: Remove file.
48329 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48331         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48332         count for x32.  Use R*_LP and omit operand-size suffix.
48334 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48336         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48337         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48338         * sysdeps/x86_64/x32/shlib-versions: New file.
48340 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48342         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48343         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48344         Use _dl_fatal_printf instead.
48346 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48348         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48349         set if not set by the user.  Do not allow for being unset.
48350         * sysdeps/unix/sysv/linux/configure: Regenerated.
48352 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48354         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48355         the `q' suffix from lea and replace .quad with ASM_ADDR.
48357 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48360         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48361         instead of $17.
48362         (PTR_DEMANGLE): Likewise.
48364 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48366         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48367         (LP_OP): Likewise.
48368         (ASM_ADDR): Likewise.
48369         (RAX_LP): Likewise.
48370         (RBP_LP): Likewise.
48371         (RBX_LP): Likewise.
48372         (RCX_LP): Likewise.
48373         (RDI_LP): Likewise.
48374         (RSI_LP): Likewise.
48375         (RSP_LP): Likewise.
48376         (R8_LP): Likewise.
48377         (R9_LP): Likewise.
48378         (R10_LP): Likewise.
48379         (R10_LP): Likewise.
48380         (R11_LP): Likewise.
48381         (R12_LP): Likewise.
48382         (R13_LP): Likewise.
48383         (R14_LP): Likewise.
48384         (R15_LP): Likewise.
48386 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48388         * sysdeps/x86_64/x32/dl-machine.h: New file.
48390 2012-05-14  Andreas Jaeger  <aj@suse.de>
48392         * manual/Makefile (subdir): Remove export of subdir.
48393         (all): Remove target.
48394         (.PHONY): Remove all from list.
48395         (mkinstalldirs): Remove.
48396         (.PHONY): Remove installdirs from list.
48397         ($(inst_infodir)/libc.info): Use make-target-directory.
48398         (installdirs): Remove.
48399         (subdir_%): Remove.
48400         (glibc-targets): Remove.
48401         (lib): Remove.
48402         (stubs): Remove.
48403         ($(objpfx)stubs ../po/manual.pot): Remove.
48404         ($(objpfx)stamp%): Remove.
48405         (make-target-directory): Remove.
48406         (subdir_install): Remove.
48407         (routines): Remove.
48408         (aux): Remove.
48409         (sources): Remove.
48410         (objects): Remove.
48411         (headers): Remove.
48413         [BZ #13750]
48414         * manual/.gitignore: Remove, it's not needed anymore.
48415         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48416         all files in it.
48417         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48418         directory.
48419         (texis): Renamed to $(objpfx)texis.
48420         (texis-path): New, contains path to generated files.
48421         (chapters.%): Use texis-path for complete path, add extra argument
48422         libc-texinfo.sh.
48423         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48424         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48425         (summary,texi, stamp-summary): Use complete path of
48426         files. Generate files in build dir.
48427         (dir-add.texi): Build in build dir.
48428         (libm-err.texi,stamp-libm-err): Likewise.
48429         (version.texi, stamp-version): Likewise.
48430         (.%c.texi): Likewise.
48431         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48432         (mostlyclean): Remove target.
48433         (realclean): Remove target.
48434         (generated): Add new variable with contents from mostlyclean and
48435         realclean, remove entries duplicated in common-mostlyclean, add
48436         stamp-libm-err and stamp-version.
48437         (generated-dirs): Add libc directory.
48438         ($(inst_infodir)/libc.info): Install files from build dir.
48440         * manual/install.texi (Configuring and compiling): Adjust since
48441         the info files are not part of the tar ball anymore.
48443 2012-05-14  Andreas Jaeger  <aj@suse.de>
48445         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48446         variable.
48448 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48450         [BZ #13717]
48451         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48452         to 2.2.0 where earlier.
48453         * sysdeps/unix/sysv/linux/configure: Regenerated.
48454         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48455         Remove conditional code.
48456         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48457         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48458         Remove conditional code.
48459         [!__NR_lchown]: Likewise.
48460         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48461         [__NR_lchown]: Likewise.
48462         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48463         comment referencing __ASSUME_LCHOWN_SYSCALL.
48464         * sysdeps/unix/sysv/linux/i386/sigaction.c
48465         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48466         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48467         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48468         Remove conditional code.
48469         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48470         (__protocol_available): Remove #if 0 code.
48471         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48472         conditional code.
48473         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48474         * sysdeps/unix/sysv/linux/kernel-features.h
48475         (__ASSUME_GETCWD_SYSCALL): Don't define.
48476         (__ASSUME_REALTIME_SIGNALS): Likewise.
48477         (__ASSUME_PREAD_SYSCALL): Likewise.
48478         (__ASSUME_PWRITE_SYSCALL): Likewise.
48479         (__ASSUME_POLL_SYSCALL): Likewise.
48480         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48481         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48482         non-SPARC.
48483         (__ASSUME_SIOCGIFNAME): Don't define.
48484         (__ASSUME_MSG_NOSIGNAL): Likewise.
48485         (__ASSUME_SENDFILE): Define unconditionally.
48486         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48487         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48488         conditional code.
48489         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48490         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48491         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48492         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48493         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48494         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48495         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48497         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48498         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48500         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48501         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48503         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48504         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48506         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48507         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48509         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48510         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48512         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48513         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48515         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48516         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48518         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48519         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48520         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48521         Remove conditional code.
48522         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48523         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48524         Remove conditional code.
48525         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48526         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48527         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48528         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48529         Remove conditional code.
48530         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48531         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48532         Remove conditional code.
48533         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48534         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48535         Remove conditional code.
48536         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48537         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48538         Remove conditional code.
48539         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48540         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48541         Remove conditional code.
48542         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48543         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48544         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48545         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48546         * sysdeps/unix/sysv/linux/sigaction.c
48547         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48548         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48549         * sysdeps/unix/sysv/linux/sigpending.c
48550         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48551         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48552         * sysdeps/unix/sysv/linux/sigprocmask.c
48553         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48554         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48555         * sysdeps/unix/sysv/linux/sigsuspend.c
48556         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48557         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48558         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48559         (__libc_missing_rt_sigs): Remove.
48560         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48561         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48562         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48563         Remove conditional code.
48564         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48565         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48566         return 1.
48567         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48568         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48569         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48570         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48572 2012-05-14  Andreas Jaeger  <aj@suse.de>
48574         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48575         it's not used in glibc.
48576         (__coshm1): Likewise.
48577         (__acosh1p): Likewise.
48578         (__sgn): Likewise.
48580         * manual/string.texi (Copying and Concatenation): Add missing
48581         variable in concat example.
48582         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48584 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48586         [BZ #14103]
48587         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48588         __builtin_clzl with __builtin_clzll.
48590 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48592         [BZ #14104]
48593         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48594         libc_freeres_ptr.
48596 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48598         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48599         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48600         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48601         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48603 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48605         * NEWS: Update ia64 info.
48607 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48609         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48610         used as bcopy.
48612 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48614         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48615         * sysdeps/unix/syscalls.list (dup3): Likewise.
48616         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48617         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48619 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48621         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48622         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48624 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48626         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48627         thread pointer.
48628         (TLS_IE): Use mov/add instead of movq/addq to load thread
48629         pointer.
48630         (TLS_GD_PREFIX): New.
48631         (TLS_GD): Use it.
48633 2012-05-11  David S. Miller  <davem@davemloft.net>
48635         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48636         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48637         (_FPU_SETCW): Likewise.
48639 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48641         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48642         is 32-byte aligned.
48644 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48646         [BZ #11837]
48647         * iconvdata/gb18030.c: Update tables.
48648         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48649         characters specially.
48650         (BODY for TO_LOOP): Add encoding of missing ranges.
48652 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48654         [BZ #13673]
48655         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48656         * sysdeps/mach/hurd/dup3.c: Likewise.
48657         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48658         * sysdeps/powerpc/memmove.c:: Likewise.
48660 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48662         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48663         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48665 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48667         * elf/elf.h (R_X86_64_RELATIVE64): New.
48668         (R_X86_64_NUM): Updated.
48669         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48670         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48671         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48672         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48673         tst-quad1pie tst-quad2pie
48674         (modules-names): Add tst-quadmod1 tst-quadmod2.
48675         ($(objpfx)tst-quad1): New dependency.
48676         ($(objpfx)tst-quad2): Likewise.
48677         ($(objpfx)tst-quad1pie): Likewise.
48678         ($(objpfx)tst-quad2pie): Likewise.
48679         * sysdeps/x86_64/tst-quad1.c: New file.
48680         * sysdeps/x86_64/tst-quad1pie.c: New file.
48681         * sysdeps/x86_64/tst-quad2.c: Likewise.
48682         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48683         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48684         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48685         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48686         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48688 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48690         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48691         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48692         * streams/stropts.h (t_scalar_t): Define type.
48694         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48695         (_PATH_PRESERVE): Set to "/var/lib".
48696         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48698         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48699         instead of int.
48701         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48702         if __dir_mkfile succeeded.
48704         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48705         checking for _hurd_dtablesize.  Unlock it right after having
48706         finished _hurd_dtable allocation.
48708 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48710         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48711         * sysdeps/mach/hurd/configure: Regenerated.
48712         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48713         special-casing to...
48714         * sysdeps/gnu/configure.in: ... this new file.
48715         * sysdeps/unix/sysv/linux/configure: Regenerated.
48716         * sysdeps/gnu/configure: New generated file.
48718         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48719         for Linux: use nsec instead of usec, as well as:
48720         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48721         members of type struct timespec.
48722         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48723         New macros.
48724         (struct stat64): Likewise.
48725         (_STATBUF_ST_NSEC): New macro.
48726         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48728         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48729         __strtoul_internal rather than strtoul.
48731 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48733         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48734         and reject them.
48736 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48738         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48739         which preserves existing values.
48740         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48742 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48744         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48745         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48746         greater than FD_SETSIZE.
48748 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48750         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48751         allocated, call __vm_protect to finish enabling the existing space, and
48752         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48753         allocate the remainder.
48755 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48757         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48758         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48760 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48762         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48763         sysdeps/mach/hurd/readlink.c.
48765         * posix/tst-sysconf.c (posix_options): Only use
48766         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48767         _POSIX_SYNCHRONIZED_IO when they are defined
48768         * sysdeps/mach/hurd/bits/posix_opt.h:
48769         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48770         (_XOPEN_REALTIME): Undefine macro.
48771         (_XOPEN_REALTIME_THREADS): Undefine macro.
48772         (_XOPEN_SHM): Undefine macro.
48773         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48774         macro to -1.
48775         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48776         macro to -1.
48777         (_POSIX_ASYNC_IO): Undefine macro.
48778         (_POSIX_PRIORITIZED_IO): Undefine macro.
48779         (_POSIX_SPIN_LOCKS): Define macro to -1.
48781         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48782         SA_NODEFER, SA_RESETHAND.
48783         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48784         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48785         F_DUPFD_CLOEXEC.
48787 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48789         * elf/Makefile (pldd-modules): Define unconditionally.
48791 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48793         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48795 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48797         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48798         Return ENOENT when name is empty.
48799         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48801 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48803         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48805         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48807 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48809         Fix mlock in all cases except non-readable pages.
48810         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48811         instead of VM_PROT_ALL as parameter to __vm_wire function.
48813         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48814         (__mkdir): When path is `/', just fail with EEXIST.
48815         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48817 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48819         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48820         <sys/uio.h> (for writev).
48821         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48822         and <sys/param.h> (for MIN).
48824 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48826         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48827         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48828         if interrupted.
48830 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48832         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48833         Depend on against $(link-rpcuserlibs).
48835 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48837         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48838         (__libc_stack_end): Do not use attribute_relro.
48839         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48840         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48841         to libthread-provided value.
48842         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48843         attribute_relro.
48845 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48847         [BZ #3748]
48848         * bits/libc-lock.h (__libc_once_get): New macro.
48849         * sysdeps/mach/bits/libc-lock.h: Likewise.
48850         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48851         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48852         instead of using implementation details.
48854         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48855         * libio/freopen.c: Likewise.
48856         * libio/freopen64.c: Likewise.
48857         * misc/syslog.c: Likewise.
48858         * nscd/connections.c: Likewise.
48859         * nscd/netgroupcache.c: Likewise.
48860         * sysdeps/posix/getcwd.c: Likewise.
48862 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48864         * math/w_ilogbf.c: Add #include <limits.h>.
48866 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48868         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48869         path instead of returning without unlocking.
48871         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48872         immediate-write ioctls.
48873         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48875 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48877         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48878         __builtin_frame_address instead of making assumptions about the
48879         location of the return address relative to DATA.  Force early load of
48880         the return address.
48881         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48882         __builtin_frame_address.
48884         dup3 for GNU Hurd.
48885         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48886         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48887         implement dup3 and do some further code clean-ups.
48888         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48889         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48891 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48893         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48895         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48896         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48897         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48898         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48899         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48900         d->port.lock.
48902         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48903         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48904         when handler == SIG_ERR, not when handler != SIG_ERR.
48906 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48908         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48909         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48910         definitions.
48912         accept4 for GNU Hurd.
48913         * include/sys/socket.h (__libc_accept4): New prototype.
48914         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48915         to implement __libc_accept4.
48916         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48917         __libc_accept4.
48918         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48920         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48921         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48922         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48923         signal-defines.sym.
48925 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48927         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48929 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48931         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48932         assertion on O_CLOEXEC flag.
48933         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48934         * hurd/intern-fd.c: Likewise.
48935         * hurd/port2fd.c: Likewise.
48937 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48939         [BZ #3906]
48940         * bits/in.h (IPV6_PKTINFO): Define new macro.
48941         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48943 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48945         [BZ #13954]
48946         [BZ #13955]
48947         [BZ #13956]
48948         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48949         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48950         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48951         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48952         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48953         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48954         * math/libm-test.inc (logb_test) : Additional logb tests.
48956 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48957             Andreas Jaeger  <aj@suse.de>
48959         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48960         * configure: Regenerated.
48961         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48962         * config.make.in (link-obsolete-rpc): New substituted variable.
48963         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48964         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48965         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48966         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48967         so that libc.a contains the symbols.
48968         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48969         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48970         * sunrpc/auth_none.c: Likewise.
48971         * sunrpc/auth_unix.c: Likewise.
48972         * sunrpc/authdes_prot.c: Likewise.
48973         * sunrpc/authuxprot.c: Likewise.
48974         * sunrpc/clnt_gen.c: Likewise.
48975         * sunrpc/clnt_perr.c: Likewise.
48976         * sunrpc/clnt_raw.c: Likewise.
48977         * sunrpc/clnt_simp.c: Likewise.
48978         * sunrpc/clnt_tcp.c: Likewise.
48979         * sunrpc/clnt_udp.c: Likewise.
48980         * sunrpc/clnt_unix.c: Likewise.
48981         * sunrpc/des_crypt.c: Likewise.
48982         * sunrpc/des_soft.c: Likewise.
48983         * sunrpc/get_myaddr.c: Likewise.
48984         * sunrpc/key_call.c: Likewise.
48985         * sunrpc/key_prot.c: Likewise.
48986         * sunrpc/netname.c: Likewise.
48987         * sunrpc/pm_getmaps.c: Likewise.
48988         * sunrpc/pm_getport.c: Likewise.
48989         * sunrpc/pmap_clnt.c: Likewise.
48990         * sunrpc/pmap_prot.c: Likewise.
48991         * sunrpc/pmap_prot2.c: Likewise.
48992         * sunrpc/pmap_rmt.c: Likewise.
48993         * sunrpc/publickey.c: Likewise.
48994         * sunrpc/rpc_cmsg.c: Likewise.
48995         * sunrpc/rpc_common.c: Likewise.
48996         * sunrpc/rpc_dtable.c: Likewise.
48997         * sunrpc/rpc_prot.c: Likewise.
48998         * sunrpc/rpc_thread.c: Likewise.
48999         * sunrpc/rtime.c: Likewise.
49000         * sunrpc/svc.c: Likewise.
49001         * sunrpc/svc_auth.c: Likewise.
49002         * sunrpc/svc_raw.c: Likewise.
49003         * sunrpc/svc_run.c: Likewise.
49004         * sunrpc/svc_tcp.c: Likewise.
49005         * sunrpc/svc_udp.c: Likewise.
49006         * sunrpc/svc_unix.c: Likewise.
49007         * sunrpc/svcauth_des.c: Likewise.
49008         * sunrpc/xcrypt.c: Likewise.
49009         * sunrpc/xdr.c: Likewise.
49010         * sunrpc/xdr_array.c: Likewise.
49011         * sunrpc/xdr_float.c: Likewise.
49012         * sunrpc/xdr_intXX_t.c: Likewise.
49013         * sunrpc/xdr_mem.c: Likewise.
49014         * sunrpc/xdr_rec.c: Likewise.
49015         * sunrpc/xdr_ref.c: Likewise.
49016         * sunrpc/xdr_sizeof.c: Likewise.
49017         * sunrpc/xdr_stdio.c: Likewise.
49019 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49021         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49022         change.  Update copyright years.
49024 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49026         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49028 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49029             Joseph Myers  <joseph@codesourcery.com>
49030             Paul Pluzhnikov  <ppluzhnikov@google.com>
49032         [BZ #14012]
49033         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49034         requiring rpcgen.
49035         [cross-compiling] (extra-libs): Likewise.
49036         [cross-compiling] (extra-libs-others): Likewise.
49037         [cross-compiling] (librpcsvc-routines): Likewise.
49038         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49039         [cross-compiling] (omit-deps): Likewise.
49040         (sunrpc-CPPFLAGS): New variable.
49041         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49042         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49043         (cross-rpcgen-objs): New variable.
49044         (extra-objs): Append $(cross-rpcgen-objs).
49045         ($(cross-rpcgen-objs)): New rule.
49046         ($(objpfx)cross-rpcgen): Likewise.
49047         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49048         comment.
49049         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49050         ($(objpfx)x%.stmp): Likewise.
49051         * sunrpc/proto.h [IS_IN_build] (_): Define.
49052         [IS_IN_build] (_libc_intl_domainname): Likewise.
49054 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49056         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49057         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49058         and R_X86_64_TPOFF64.
49060 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49062         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49063         sysdeps/unix/sysv/syscalls.list.
49064         (stime): Likewise.
49065         (utime): Likewise.
49066         * sysdeps/unix/sysv/syscalls.list: Remove file.
49068 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49070         [BZ #3440]
49071         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49072         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49073         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49074         (__LC_IDENTIFICATION): Make these macros useful in #if
49075         expressions, as required by C99.
49077 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49079         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49080         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49081         after this.
49083 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49085         * stdlib/longlong.h: Updated from GCC.
49087 2012-05-09  Andreas Jaeger  <aj@suse.de>
49089         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49090         default is first entry.
49091         (run_mode): Set type.
49092         (main): Remove informal message about syslog.
49093         (options): Fix typo.
49095         [BZ #14053]
49096         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49097         to asm.
49098         (lrint): Likewise.
49099         (llrintf): Likewise.
49100         (llrint): Likewise.
49101         (rint): Likewise.
49102         (rintf): Likewise.
49103         (nearbyint): Likewise.
49104         (nearbyintf): Likewise.
49106 2012-05-09  Andreas Jaeger  <aj@suse.de>
49107             Pedro Alves  <palves@redhat.com>
49109         * nscd/nscd.c (run_mode): Use enum.
49110         (main): Cleanup coding style issue.
49112 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49113             Andreas Jaeger  <aj@suse.de>
49115         * nscd/nscd.c (go_background): Replaced with...
49116         (run_mode): ... this.
49117         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49118         (options): Add -F --foreground.
49119         (main): Implement it.
49120         (parse_opt): Parse it.
49122 2012-05-09  Andreas Jaeger  <aj@suse.de>
49124         [BZ #14083]
49125         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49126         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49127         -Wconversion warning.
49128         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49129         Likewise.
49131 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49133         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49134         == 0.
49135         (LC_ALL): Use macro-int-constant.
49136         (LC_COLLATE): Likewise.
49137         (LC_CTYPE): Likewise.
49138         (LC_MESSAGES): Likewise.
49139         (LC_MONETARY): Likewise.
49140         (LC_NUMERIC): Likewise.
49141         (LC_TIME): Likewise.
49142         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49143         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49144         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49145         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49146         Specify type.
49147         [C99-based standards] (float_t): Expect type.
49148         [C99-based standards] (double_t): Expect type.
49149         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49150         type.
49151         [C99-based standards] (HUGE_VALL): Likewise.
49152         [C99-based standards] (INFINITY): Likewise.
49153         [C99-based standards] (NAN): Likewise.
49154         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49155         [C99-based standards] (FP_NAN): Likewise.
49156         [C99-based standards] (FP_NORMAL): Likewise.
49157         [C99-based standards] (FP_SUBNORMAL): Likewise.
49158         [C99-based standards] (FP_ZERO): Likewise.
49159         [C99-based standards] (FP_FAST_FMA): Use
49160         optional-macro-int-constant.  Specify type.  Require == 1.
49161         [C99-based standards] (FP_FAST_FMAF): Likewise.
49162         [C99-based standards] (FP_FAST_FMAL): Likewise.
49163         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49164         [C99-based standards] (FP_ILOGBNAN): Likewise.
49165         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49166         Specify type.
49167         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49168         [C99-based standards] (math_errhandling): Specify type.
49169         [ISO99 || ISO11] (signgam): Do not allow.
49170         [non-C99-based standards] (copysignf): Do not allow.
49171         [non-C99-based standards] (exp2f): Likewise.
49172         [non-C99-based standards] (log2f): Likewise.
49173         [non-C99-based standards] (modff): Allow.
49174         [non-C99-based standards] (erff): Do not allow.
49175         [non-C99-based standards] (erfcf): Likewise.
49176         [non-C99-based standards] (gammaf): Likewise.
49177         [non-C99-based standards] (hypotf): Likewise.
49178         [non-C99-based standards] (j0f): Likewise.
49179         [non-C99-based standards] (j1f): Likewise.
49180         [non-C99-based standards] (jnf): Likewise.
49181         [non-C99-based standards] (lgammaf): Likewise.
49182         [non-C99-based standards] (tgammaf): Likewise.
49183         [non-C99-based standards] (y0f): Likewise.
49184         [non-C99-based standards] (y1f): Likewise.
49185         [non-C99-based standards] (ynf): Likewise.
49186         [non-C99-based standards] (isnanf): Likewise.
49187         [non-C99-based standards] (acoshf): Likewise.
49188         [non-C99-based standards] (asinhf): Likewise.
49189         [non-C99-based standards] (atanhf): Likewise.
49190         [non-C99-based standards] (cbrtf): Likewise.
49191         [non-C99-based standards] (expm1f): Likewise.
49192         [non-C99-based standards] (ilogbf): Likewise.
49193         [non-C99-based standards] (log1pf): Likewise.
49194         [non-C99-based standards] (logbf): Likewise.
49195         [non-C99-based standards] (nextafterf): Likewise.
49196         [non-C99-based standards] (remainderf): Likewise.
49197         [non-C99-based standards] (rintf): Likewise.
49198         [non-C99-based standards] (scalbf): Likewise.
49199         [non-C99-based standards] (copysignl): Likewise.
49200         [non-C99-based standards] (exp2l): Likewise.
49201         [non-C99-based standards] (log2l): Likewise.
49202         [non-C99-based standards] (modfl): Allow.
49203         [non-C99-based standards] (erfl): Do not allow.
49204         [non-C99-based standards] (erfcl): Likewise.
49205         [non-C99-based standards] (gammal): Likewise.
49206         [non-C99-based standards] (hypotl): Likewise.
49207         [non-C99-based standards] (j0l): Likewise.
49208         [non-C99-based standards] (j1l): Likewise.
49209         [non-C99-based standards] (jnl): Likewise.
49210         [non-C99-based standards] (lgammal): Likewise.
49211         [non-C99-based standards] (tgammal): Likewise.
49212         [non-C99-based standards] (y0l): Likewise.
49213         [non-C99-based standards] (y1l): Likewise.
49214         [non-C99-based standards] (ynl): Likewise.
49215         [non-C99-based standards] (isnanl): Likewise.
49216         [non-C99-based standards] (acoshl): Likewise.
49217         [non-C99-based standards] (asinhl): Likewise.
49218         [non-C99-based standards] (atanhl): Likewise.
49219         [non-C99-based standards] (cbrtl): Likewise.
49220         [non-C99-based standards] (expm1l): Likewise.
49221         [non-C99-based standards] (ilogbl): Likewise.
49222         [non-C99-based standards] (log1pl): Likewise.
49223         [non-C99-based standards] (logbl): Likewise.
49224         [non-C99-based standards] (nextafterl): Likewise.
49225         [non-C99-based standards] (remainderl): Likewise.
49226         [non-C99-based standards] (rintl): Likewise.
49227         [non-C99-based standards] (scalbl): Likewise.
49228         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49229         [non-C99-based standards] (FP_*): Do not allow.
49230         [C99-based standards] (FP_*): Change to
49231         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49232         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49233         allow.
49234         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49235         (SIG_ERR): Likewise.
49236         [X/Open-based standards] (SIG_HOLD): Likewise.
49237         (SIG_IGN): Likewise.
49238         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49239         positive value.
49240         (SIGFPE): Likewise.
49241         (SIGILL): Likewise.
49242         (SIGINT): Likewise.
49243         (SIGSEGV): Likewise.
49244         (SIGTER): Likewise.
49245         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49246         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49247         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49248         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49249         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49250         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49251         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49252         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49253         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49254         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49255         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49256         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49257         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49258         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49259         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49260         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49261         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49262         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49263         [X/Open-based standards] (SIGTRAP): Likewise.
49264         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49265         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49266         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49267         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49268         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49269         allow.
49271 2012-05-08  Ian Wienand  <ianw@vmware.com>
49273         [BZ #14080]
49274         * time/tzset.c (__tzset_parse_tz): Update default rules for
49275         daylight time changes in the Energy Policy Act of 2005.
49277 2012-05-09  Andreas Jaeger  <aj@suse.de>
49279         [BZ #13983]
49280         * elf/ldconfig.c (parse_conf): Change string to make clear that
49281         ldconfig only issued a warning if ld.so.conf does not exist.
49283 2012-05-08  David S. Miller  <davem@davemloft.net>
49285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49286         movxtod instead of popping the value on the stack.
49288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49290 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49292         * config.h.in: Add HAVE_ARM_PCS_VFP.
49294 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49296         [BZ #13979]
49297         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49298         checking but the checks are disabled for any reason.
49300 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49302         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49303         and ELF64_R_TYPE with ELFW(R_TYPE).
49305 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49307         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49308         (ulimit): Likewise.
49310         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49311         (settimeofday): Likewise.
49313 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49315         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49316         a struct th_u2 inside the union, and move tu_block/tu_code into
49317         a new th_u3 union of tu_block/tu_code inside of that.  Move
49318         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49319         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49320         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49321         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49322         (th_stuff): Change to th_u1.tu_stuff.
49323         (th_data): Define.
49324         (th_msg): Change to th_u1.th_u2.tu_data.
49326 2012-05-07  David S. Miller  <davem@davemloft.net>
49328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49330         [BZ #14074]
49331         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49332         (SETUP_PIC_REG): Use it.
49333         (SETUP_PIC_REG_LEAF): Use it.
49335 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49337         [BZ #13885]
49338         [BZ #13923]
49339         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49340         USE_AS_EXPM1L.
49341         (EXPL_FINITE): Likewise.
49342         (FLDLOG): Likewise.
49343         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49344         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49345         e_expl.S.
49346         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49347         USE_AS_EXPM1L.
49348         (EXPL_FINITE): Likewise.
49349         (FLDLOG): Likewise.
49350         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49351         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49352         e_expl.S.
49353         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49354         test of -max_value argument for long double.
49355         * sysdeps/i386/fpu/libm-test-ulps: Update.
49356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49358 2012-05-06  David S. Miller  <davem@davemloft.net>
49360         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49361         quad soft-float symbols whose references which are compiler
49362         generated.
49363         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49365 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49367         [BZ #13884]
49368         [BZ #13914]
49369         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49370         USE_AS_EXP10L.
49371         (EXPL_FINITE): Likewise.
49372         (FLDLOG): Likewise.
49373         (c0): Likewise.
49374         (c1): Likewise.
49375         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49376         Adjust comments for base varying.
49377         (__expl_finite): Change alias to EXPL_FINITE.
49378         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49379         e_expl.S.
49380         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49381         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49382         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49383         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49384         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49385         USE_AS_EXP10L.
49386         (EXPL_FINITE): Likewise.
49387         (FLDLOG): Likewise.
49388         (c0): Likewise.
49389         (c1): Likewise.
49390         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49391         Adjust comments for base varying.
49392         (__expl_finite): Change alias to EXPL_FINITE.
49393         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49394         tests for bugs.
49395         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49397         [BZ #14064]
49398         * math/libm-test.inc (check_float_internal): Correct ulp
49399         calculation for subnormal expected results.
49401 2012-05-06  Andreas Jaeger  <aj@suse.de>
49403         * Makeconfig (+math-flags): New, set to -frounding-math.
49404         (+cflags): Add +math-flags so that all of glibc gets compiled with
49405         it.
49407         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49409 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49411         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49412         Disable one test.
49414         [BZ #13787]
49415         [BZ #13922]
49416         [BZ #14036]
49417         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49418         (__ieee754_expl): Allow for and saturate large arguments.
49419         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49420         (u_threshold): Likewise.
49421         (__exp): Call __ieee754_exp before checking for overflow and
49422         underflow.
49423         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49424         (u_threshold): Likewise.
49425         (__expf): Call __ieee754_expf before checking for overflow and
49426         underflow.
49427         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49428         (u_threshold): Likewise.
49429         (__expl): Call __ieee754_expl before checking for overflow and
49430         underflow.
49431         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49432         (__ieee754_expl): Allow for and saturate large arguments.
49433         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49434         missing overflow exception on overflow.
49435         (expm1_test): Do not allow missing overflow exception on overflow.
49437         * sysdeps/i386/fpu/e_expl.c: Move to ...
49438         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49439         rather than using inline asm.
49440         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49441         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49442         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49444         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49445         (nice): Likewise.
49446         (poll): Likewise.
49447         (signal): Likewise.
49448         (time): Likewise.
49449         (times): Likewise.
49451 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49453         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49454         sysdeps/unix/common/syscalls.list.
49455         (fchmod): Likewise.
49456         (fchown): Likewise.
49457         (ftruncate): Likewise.
49458         (getrusage): Likewise.
49459         (gettimeofday): Likewise.
49460         (setpgid): Likewise.
49461         (setregid): Likewise.
49462         (setreuid): Likewise.
49463         (sigaction): Likewise.
49464         (truncate): Likewise.
49465         (vhangup): Likewise.
49466         * sysdeps/unix/common/syscalls.list: Remove file.
49467         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49468         * sysdeps/unix/sysv/linux/Implies: Likewise.
49470 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49472         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49474         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49475         Moved to ...
49476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49477         Here.
49478         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49479         to ...
49480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49481         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49482         to ...
49483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49484         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49485         to ...
49486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49487         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49488         to ...
49489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49490         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49491         to ...
49492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49493         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49494         to ...
49495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49496         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49497         to ...
49498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49499         Here.
49500         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49501         to ...
49502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49503         Here.
49504         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49505         to ...
49506         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49507         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49508         Moved to ...
49509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49510         Here.
49511         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49512         to ...
49513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49515 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49517         * sysdeps/unix/common/bits/dirent.h: Remove file.
49518         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49520         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49521         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49522         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49523         * sysdeps/unix/bsd/isatty.c: Likewise.
49524         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49525         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49526         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49528 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49530         [BZ #13563]
49531         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49532         long double comparison inaccuracies.
49533         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49536 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49538         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49539         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49541 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49543         [BZ #14049]
49544         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49545         nonzero digits before rounding a hex value.
49546         * stdlib/tst-strtod.c (tests): Add another test.
49548 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49550         * sysdeps/s390/fpu/libm-test-ulps: Update.
49552 2012-05-03  Andreas Jaeger  <aj@suse.de>
49554         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49555         does not get optimized out.
49556         (malloc_opt_barrier): New.
49558 2012-05-03  Andreas Jaeger  <aj@suse.de>
49559             Roland McGrath  <roland@hack.frob.com>
49561         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49562         intermediate file deletion.
49563         (generated): Add .symlist files.
49565 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49567         [BZ #13775]
49568         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49569         Redirect under this condition.
49570         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49571         [__USE_GNU] (__dprintf_chk): Not under this condition.
49572         [__USE_GNU] (__vdprintf_chk): Likewise.
49573         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49574         under this condition.
49575         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49576         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49577         [__USE_XOPEN2K8] (vdprintf): Likewise.
49578         [__USE_GNU] (__dprintf_chk): Not under this condition.
49579         [__USE_GNU] (__vdprintf_chk): Likewise.
49580         [__USE_GNU] (dprintf): Likewise.
49581         [__USE_GNU] (vdprintf): Likewise.
49583 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49585         * elf/Makefile (common-generated): Set this instead of generated for
49586         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49587         $(all-built-dso)-derived lists.
49589 2012-05-03  Andreas Jaeger  <aj@suse.de>
49591         * sysdeps/i386/fpu/libm-test-ulps: Update.
49593         * FAQ: Removed.
49594         * FAQ.in: Likewise.
49595         * scripts/gen-FAQ.pl: Likewise.
49596         * manual/install.texi (Installation): Point to online location of
49597         FAQ.
49598         * Makefile (files-for-dist): Remove FAQ.
49599         (FAQ): Remove.
49601 2012-05-02  Allan McRae  <allan@archlinux.org>
49603         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49604         (LDFLAGS-reldepmod5.so): Likewise.
49605         (LDFLAGS-reldep6mod1.so): Likewise.
49606         (LDFLAGS-reldep6mod4.so): Likewise.
49607         (LDFLAGS-reldep8mod3.so): Likewise.
49608         (LDFLAGS-unload4mod1.so): Likewise.
49609         (LDFLAGS-unload4mod2.so): Likewise.
49610         (LDFLAGS-tst-initorder): Likewise.
49611         (LDFLAGS-tst-initordera2.so): Likewise.
49612         (LDFLAGS-tst-initordera3.so): Likewise.
49613         (LDFLAGS-tst-initordera4.so): Likewise.
49614         (LDFLAGS-tst-initorderb2.so): Likewise.
49615         (LDFLAGS-noload): Likewise.
49616         (LDFLAGS-next): Likewise.
49617         (LDFLAGS-order2mod1.so): Likewise.
49618         (LDFLAGS-order2mod2.so): Likewise.
49619         (LDFLAGS-tst-initorder2): Likewise.
49620         (LDFLAGS-tst-initorder2a.so): Likewise.
49621         (LDFLAGS-tst-initorder2b.so): Likewise.
49622         (LDFLAGS-tst-initorder2c.so): Likewise.
49623         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49625 2012-05-02  David S. Miller  <davem@davemloft.net>
49627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49629 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49631         [BZ #14055]
49632         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49634 2012-05-02  Andreas Jaeger  <aj@suse.de>
49636         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49637         since we manipulate rounding mode.
49638         (CPPFLAGS-test-idouble.c): Likewise.
49639         (CPPFLAGS-test-ifloat.c): Likewise.
49640         (CFLAGS-test-ldouble.c): Likewise.
49641         (CFLAGS-test-double.c): Likewise.
49642         (CFLAGS-test-float.c): Likewise.
49643         (CFLAGS-test-misc.c): Likewise.
49644         (CFLAGS-test-test-fenv.c): Likewise.
49646 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49648         [BZ #2550]
49649         [BZ #2570]
49650         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49651         comparisons to determine direction to adjust input.
49653 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49655         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49656         output to the target.
49658         * scripts/localplt.awk: New file.
49659         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49660         (check-localplt-CFLAGS): Variable removed.
49661         ($(all-built-dso:=.jmprel)): New static pattern rule.
49662         (generated): Add those targets.
49663         (localplt-built-dso): New variable.
49664         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49666         * elf/check-localplt.c: File removed.
49668         * scripts/check-execstack.awk: New file.
49669         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49670         (check-execstack-CFLAGS): Variable removed.
49671         ($(objpfx)check-execstack.h): Target removed.
49672         ($(objpfx)execstack-default): New target.
49673         (generated): Add that instead of check-execstack.h.
49674         ($(all-built-dso:=.phdr)): New static pattern rule.
49675         (generated): Add those targets.
49676         * elf/check-execstack.c: File removed.
49678         * scripts/check-textrel.awk: New file.
49679         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49680         (check-textrel-CFLAGS): Variable removed.
49681         (all-built-dso): Use := to define.o
49682         ($(all-built-dso:=.dyn)): New static pattern rule.
49683         (generated): Add those targets.
49684         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49685         * config.make.in (READELF): New substituted variable.
49686         * elf/check-textrel.c: File removed.
49688 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49690         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49691         allow.
49692         * conform/data/ctype.h-data [C99-based standards] (isblank):
49693         Expect function.
49694         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49695         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49696         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49697         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49698         Specify type.  Require positive value.
49699         (EILSEQ): Likewise.
49700         (ERANGE): Likewise.
49701         [ISO || POSIX] (EILSEQ): Do not expect.
49702         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49703         Specify type.  Require positive value.
49704         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49705         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49706         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49707         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49708         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49709         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49710         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49711         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49712         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49713         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49714         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49715         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49716         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49717         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49718         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49719         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49720         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49721         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49722         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49723         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49724         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49725         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49726         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49727         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49728         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49729         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49730         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49731         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49732         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49733         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49734         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49735         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49736         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49737         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49738         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49739         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49740         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49741         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49742         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49743         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49744         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49745         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49746         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49747         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49748         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49749         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49750         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49751         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49752         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49753         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49754         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49755         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49756         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49757         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49758         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49759         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49760         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49761         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49762         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49763         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49764         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49765         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49766         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49767         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49768         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49769         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49770         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49771         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49772         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49773         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49774         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49775         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49776         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49777         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49778         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49779         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49780         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49781         Require >= 2.
49782         (FLT_ROUNDS): Expect as macro, not constant.
49783         (FLT_MANT_DIG): Use macro-int-constant.
49784         (DBL_MANT_DIG): Likewise.
49785         (LDBL_MANT_DIG): Likewise.
49786         (FLT_DIG): Likewise.
49787         (DBL_DIG): Likewise.
49788         (LDBL_DIG): Likewise.
49789         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49790         (DBL_MIN_EXP): Likewise.
49791         (LDBL_MIN_EXP): Likewise.
49792         (FLT_MAX_EXP): Use macro-int-constant.
49793         (DBL_MAX_EXP): Likewise.
49794         (LDBL_MAX_EXP): Likewise.
49795         (FLT_MAX_10_EXP): Likewise.
49796         (DBL_MAX_10_EXP): Likewise.
49797         (LDBL_MAX_10_EXP): Likewise.
49798         (FLT_MAX): Use macro-constant.
49799         (DBL_MAX): Likewise.
49800         (LDBL_MAX): Likewise.
49801         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49802         (DBL_EPSILON): Likewise.
49803         (LDBL_EPSILON): Likewise.
49804         (FLT_MIN): Likewise.
49805         (DBL_MIN): Likewise.
49806         (LDBL_MIN): Likewise.
49807         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49808         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49809         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49810         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49811         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49812         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49813         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49814         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49815         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49816         [ISO11] (FLT_TRUE_MIN): Likewise.
49817         [ISO11] (LDBL_TRUE_MIN): Likewise.
49818         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49819         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49820         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49821         (SCHAR_MAX): Likewise.
49822         (UCHAR_MAX): Likewise.
49823         (CHAR_MIN): Likewise.
49824         (CHAR_MAX): Likewise.
49825         (MB_LEN_MAX): Use macro-int-constant.
49826         (SHRT_MIN): Use macro-int-constant.  Specify type.
49827         (SHRT_MAX): Likewise.
49828         (USHRT_MAX): Likewise.
49829         (INT_MAX): Likewise.
49830         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49831         bound negative.
49832         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49833         bound with "U".
49834         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49835         bound with "L".
49836         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49837         bound negative.  Suffix upper bound with "L".
49838         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49839         bound with "UL".
49840         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49841         Specify type.
49842         [C99-based standards] (LLONG_MAX): Likewise.
49843         [C99-based standards] (ULLONG_MAX): Likewise.
49844         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49845         == 0.
49846         [ISO11] (max_align_t): Require type.
49847         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49849         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49850         from $CFLAGS, without defining away __attribute__ calls.
49851         (checknamespace): Use $CFLAGS_namespace.
49853         * conform/conformtest.pl (@keywords): Only include C99 keywords
49854         for standards based on C99 or C11.
49856         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49857         Disable tests.
49858         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49859         UNIX98]: Likewise.
49861         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49862         usability of symbols in #if.
49864         * conform/conformtest.pl: If macro or constant types start
49865         "promoted:", expect the symbol to be of the following type
49866         promoted by the integer promotions.
49868         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49869         in one place.  Also handle "macro-constant".
49871         * conform/conformtest.pl: Only accept expected macro values with
49872         "==".  Parse all "macro" lines in one place.
49873         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49875         * conform/conformtest.pl: Handle braced types on "constant" lines
49876         instead of handling "typed-constant".
49877         * conform/data/signal.h-data: Use "constant" instead of
49878         "typed-constant".
49880         * conform/conformtest.pl: Handle "optional-" at start of lines in
49881         one place rather than duplicating several cases.  Handle each
49882         format of "macro" line with initial "optional-".
49884         * conform/conformtest.pl: Only accept expected constant or
49885         optional-constant values with "==".  Parse all "constant" lines in
49886         one place.  Parse all "optional-constant" lines in one place.
49887         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49888         * conform/data/fmtmsg.h-data: Likewise.
49889         * conform/data/netinet/in.h-data: Likewise.
49890         * conform/data/tar.h-data: Likewise.
49891         * conform/data/limits.h-data: Use "==" form on "constant" and
49892         "optional-constant" lines.
49894         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49895         Use -std=c99 for XOPEN2K.
49896         (@knownproblems): Remove.
49897         (newtoken): Don't check %isknown.
49899         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49900         Do not expect macro.
49901         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49902         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49903         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49904         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49905         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49906         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49907         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49908         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49909         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49910         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49911         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49912         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49913         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49914         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49915         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49916         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49917         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49918         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49919         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49920         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49921         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49922         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49923         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49924         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49925         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49926         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49927         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49928         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49929         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49930         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49931         [XPG3] (acosh): Likewise.
49932         [XPG3] (asinh): Likewise.
49933         [XPG3] (atanh): Likewise.
49934         [XPG3] (cbrt): Likewise.
49935         [XPG3] (expm1): Likewise.
49936         [XPG3] (ilogb): Likewise.
49937         [XPG3] (log1p): Likewise.
49938         [XPG3] (logb): Likewise.
49939         [XPG3] (nextafter): Likewise.
49940         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49941         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49942         [XPG3] (remainder): Likewise.
49943         [XPG3] (rint): Likewise.
49944         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49945         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49946         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49947         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49948         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49949         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49950         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49951         [UNIX98 || XOPEN2K] (scalb): Expect.
49952         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49953         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49954         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49955         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49956         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49957         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49958         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49959         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49960         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49961         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49962         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49963         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49964         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49965         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49966         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49967         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49968         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49969         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49970         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49971         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49972         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49973         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49974         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49975         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49976         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49977         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49978         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49979         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49980         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49981         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49982         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49983         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49984         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49985         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49986         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49987         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49988         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49989         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49990         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49991         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49992         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49993         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49994         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49995         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49996         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49997         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49998         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49999         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50000         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50001         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50002         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50003         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50004         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50005         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50006         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50007         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50008         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50009         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50010         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50011         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50012         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50013         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50014         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50015         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50016         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50017         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50018         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50019         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50020         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50021         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50022         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50023         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50024         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50025         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50026         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50027         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50028         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50029         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50030         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50031         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50032         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50033         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50034         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50035         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50036         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50037         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50038         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50039         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50040         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50041         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50042         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50043         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50044         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50045         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50046         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50047         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50048         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50049         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50050         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50051         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50052         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50053         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50054         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50055         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50056         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50057         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50058         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50059         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50060         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50061         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50062         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50063         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50064         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50065         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50066         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50067         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50068         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50069         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50070         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50071         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50072         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50073         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50074         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50075         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50076         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50077         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50078         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50079         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50080         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50081         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50082         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50083         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50084         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50085         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50086         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50087         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50088         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50090         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50091         _XOPEN_SOURCE_EXTENDED for XPG4.
50093         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50095         * Makeconfig (localtime): Remove variable.
50096         (inst_localtime-file): Likewise.
50098 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50101         Update.
50102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50103         Update.
50104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50105         Update.
50106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50107         Update.
50108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50109         Update.
50110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50111         Update.
50112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50113         Update.
50114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50115         Update.
50116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50117         Update.
50119 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50121         [BZ #2550]
50122         [BZ #2570]
50123         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50124         comparisons to determine direction to adjust input.
50125         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50126         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50127         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50128         Likewise.
50129         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50130         Likewise.
50131         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50132         Likewise.
50133         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50134         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50135         Likewise.
50136         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50137         Likewise.
50138         * math/libm-test.inc (nexttoward_test): Add more tests.
50140 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50142         [BZ #14040]
50143         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50144         in version GLIBC_2.1, not GLIBC_2.0.
50145         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50146         Likewise.
50148 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50150         [BZ #13942]
50151         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50152         (1 - x) * (1 + x).
50153         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50154         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50155         * math/libm-test.inc (acos_test): Add more tests.
50156         (asin_test): Likewise.
50157         * sysdeps/i386/fpu/libm-test-ulps: Update.
50158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50160         [BZ #14034]
50161         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50162         of square root.
50163         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50164         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50165         * math/libm-test.inc (acos_test_tonearest): New function.
50166         (acos_test_towardzero): Likewise.
50167         (acos_test_downward): Likewise.
50168         (acos_test_upward): Likewise.
50169         (asin_test_tonearest): Likewise.
50170         (asin_test_towardzero): Likewise.
50171         (asin_test_downward): Likewise.
50172         (asin_test_upward): Likewise.
50173         (main): Call the new functions.
50174         * sysdeps/i386/fpu/libm-test-ulps: Update.
50175         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50177         [BZ #13884]
50178         [BZ #13924]
50179         * math/e_exp10.c: Include <float.h>.
50180         (__ieee754_exp10): Handle underflow here rather than multiplying
50181         large negative argument by M_LN10.
50182         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50183         of __ieee754_expf.
50184         * math/e_exp10l.c: Include <float.h>.
50185         (__ieee754_exp10l): Handle underflow here rather than multiplying
50186         large negative argument by M_LN10l.
50187         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50188         spurious overflow exception on underflow.
50190 2012-04-29  Marek Polacek  <polacek@redhat.com>
50192         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50193         (__fortify_function): New macro.
50194         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50195         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50196         __extern_always_inline.
50197         * libio/bits/stdio2.h: Likewise.
50198         * libio/bits/stdio.h: Likewise.
50199         * string/string.h: Likewise.
50200         * string/bits/string3.h: Likewise.
50201         * include/stdio.h: Likewise.
50202         * stdlib/bits/stdlib.h: Likewise.
50203         * stdlib/stdlib.h: Likewise.
50204         * rt/bits/mqueue2.h: Likewise.
50205         * rt/mqueue.h: Likewise.
50206         * posix/bits/unistd.h: Likewise.
50207         * posix/unistd.h: Likewise.
50208         * io/bits/poll2.h: Likewise.
50209         * io/bits/fcntl2.h: Likewise.
50210         * io/fcntl.h: Likewise.
50211         * io/sys/poll.h: Likewise.
50212         * misc/bits/syslog.h: Likewise.
50213         * misc/bits/syslog-ldbl.h: Likewise.
50214         * misc/sys/syslog.h: Likewise.
50215         * socket/bits/socket2.h: Likewise.
50216         * socket/sys/socket.h: Likewise.
50217         * debug/tst-chk1.c: Likewise.
50218         * wcsmbs/bits/wchar2.h: Likewise.
50219         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50220         * wcsmbs/wchar.h: Likewise.
50222 2012-04-29  Andreas Jaeger  <aj@suse.de>
50224         * Makerules (tests): Remove enable-check-abi protection.
50225         (check-abi-warn): Remove.
50226         (check-abi-%): Remove check-abi-warn usage.
50228         * configure.in: Remove check-abi configure option.
50229         * configure: Regenerated.
50230         * config.make.in (enable-check-abi): Remove.
50232 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50234         [BZ #14033]
50235         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50236         double functions to double *_finite functions.
50238         [BZ #13941]
50239         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50240         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50241         LDBL_MIN_EXP.
50242         * stdio-common/Makefile (tests): Add tst-sprintf3.
50243         * stdio-common/tst-sprintf3.c: New file.
50245         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50246         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50248 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50250         * conform/conformtest.pl: Remove duplicate typed-constant
50251         handling.
50253 2012-04-28  David S. Miller  <davem@davemloft.net>
50255         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50256         (check-abi-%): Remove AWK script prerequisite and explicit
50257         abilist directory.
50258         (check-abi): Rewrite to just diff the symlist with the abilist.
50259         (config-tls, config-abi-config): Delete, no longer used.
50260         (update-abi-%): Remove AWK script and explicit abilist directory.
50261         (update-abi): Rewrite to simply compare and conditionally copy the
50262         symlist and the sysdep abilist file.  Remove update-abi-config
50263         checks.
50264         * abilist/ld.abilist: Remove.
50265         * abilist/libBrokenLocale.abilist: Remove.
50266         * abilist/libanl.abilist: Remove.
50267         * abilist/libcrypt.abilist: Remove.
50268         * abilist/libdl.abilist: Remove.
50269         * abilist/librt.abilist: Remove.
50270         * abilist/libthread_db.abilist: Remove.
50271         * abilist/libutil.abilist: Remove.
50272         * scripts/extract-abilist.awk: Remove.
50273         * scripts/merge-abilist.awk: Remove.
50274         * sysdeps/generic/libcidn.abilist: New file.
50275         * sysdeps/generic/libnss_compat.abilist: New file.
50276         * sysdeps/generic/libnss_db.abilist: New file.
50277         * sysdeps/generic/libnss_dns.abilist: New file.
50278         * sysdeps/generic/libnss_files.abilist: New file.
50279         * sysdeps/generic/libnss_hesiod.abilist: New file.
50280         * sysdeps/generic/libnss_nis.abilist: New file.
50281         * sysdeps/generic/libnss_nisplus.abilist: New file.
50282         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50283         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50284         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50285         file.
50286         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50287         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50288         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50289         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50290         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50291         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50292         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50293         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50294         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50295         file.
50296         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50297         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50298         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50299         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50300         file.
50301         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50302         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50303         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50304         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50305         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50306         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50307         file.
50308         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50309         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50310         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50311         file.
50312         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50313         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50314         New file.
50315         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50316         New file.
50317         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50318         New file.
50319         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50320         New file.
50321         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50322         New file.
50323         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50324         New file.
50325         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50326         New file.
50327         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50328         New file.
50329         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50330         New file.
50331         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50332         New file.
50333         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50334         New file.
50335         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50336         New file.
50337         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50338         New file.
50339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50340         file.
50341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50342         New file.
50343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50344         New file.
50345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50346         file.
50347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50348         New file.
50349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50350         New file.
50351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50352         file.
50353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50354         New file.
50355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50356         New file.
50357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50358         New file.
50359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50360         New file.
50361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50362         New file.
50363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50364         New file.
50365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50367         file.
50368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50369         New file.
50370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50371         file.
50372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50373         file.
50374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50375         file.
50376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50377         file.
50378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50379         file.
50380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50381         New file.
50382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50383         file.
50384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50385         file.
50386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50387         New file.
50388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50389         file.
50390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50391         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50392         file.
50393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50394         New file.
50395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50396         file.
50397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50398         file.
50399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50400         file.
50401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50402         file.
50403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50404         file.
50405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50406         New file.
50407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50408         file.
50409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50410         file.
50411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50412         New file.
50413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50414         file.
50415         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50416         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50417         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50418         file.
50419         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50420         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50421         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50422         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50423         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50424         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50425         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50426         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50427         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50428         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50431         file.
50432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50433         New file.
50434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50435         file.
50436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50437         file.
50438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50439         file.
50440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50441         file.
50442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50443         file.
50444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50445         New file.
50446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50447         New file.
50448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50449         file.
50450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50451         New file.
50452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50453         file.
50454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50456         file.
50457         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50458         New file.
50459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50460         file.
50461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50462         file.
50463         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50464         file.
50465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50466         file.
50467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50468         file.
50469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50470         New file.
50471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50472         New file.
50473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50474         file.
50475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50476         New file.
50477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50478         file.
50480 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50482         * conform/conformtest.pl: Fix typo in handling typed-constant from
50483         allow-header.
50485 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50487         * README: Cut down references to pre-2.6 Linux kernels and
50488         Linuxthreads.  Update lists of configurations in libc and ports
50489         and sort alphabetically.  Say "or newer" with Linux kernel version
50490         requirements.
50492         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50494 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50496         [BZ #887]
50497         * math/libm-test.inc (logb_test_downward): New test to expose
50498         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50499         rounding mode.
50501 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50503         [BZ #14027]
50504         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50505         to be done.
50506         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50507         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50509 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50511         * sysdeps/unix/i386/brk.S: Remove file.
50512         * sysdeps/unix/i386/dl-brk.S: Likewise.
50513         * sysdeps/unix/i386/pipe.S: Likewise.
50514         * sysdeps/unix/i386/sigreturn.S: Likewise.
50515         * sysdeps/unix/i386/syscall.S: Likewise.
50516         * sysdeps/unix/i386/vfork.S: Likewise.
50517         * sysdeps/unix/i386/wait.S: Likewise.
50519         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50520         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50522         * configure.in (arm*-none*): Do not allow without
50523         --enable-hacker-mode.
50524         (netbsd*): Remove case setting base_os.
50525         (386bsd*): Likewise.
50526         (freebsd*): Likewise.
50527         (bsdi*): Likewise.
50528         (osf*): Likewise.
50529         (sunos*): Likewise.
50530         (ultrix*): Likewise.
50531         (newsos*): Likewise.
50532         (dynix*): Likewise.
50533         (*bsd*): Likewise.
50534         (sysv*): Likewise.
50535         (isc*): Likewise.
50536         (esix*): Likewise.
50537         (sco*): Likewise.
50538         (minix*): Likewise.
50539         (irix4*): Likewise.
50540         (irix6*): Likewise.
50541         (solaris[2-9]*): Likewise.
50542         (none): Likewise.
50543         * configure: Regenerated.
50545 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50547         [BZ #11521]
50548         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50549         overflow or cancellation in calculating denominator.
50550         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50551         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50552         down expression to avoid unexpected rounding in newer GCCs.
50553         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50555 2012-04-26  David S. Miller  <davem@davemloft.net>
50557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50558         long-double compat symbols.
50559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50573 2012-04-25  David S. Miller  <davem@davemloft.net>
50575         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50576         HWCAP_* values only after the memory barriers have been defined.
50577         (atomic_full_barrier): Define.
50578         (atomic_read_barrier): Define.
50579         (atomic_write_barrier): Define.
50581 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50583         * shlib-versions: Add libgcc_s version information.
50584         * sysdeps/generic/libgcc_s.h: Remove.
50585         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50586         libgcc_s.h.
50587         * sysdeps/gnu/unwind-resume.c: Likewise.
50588         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50590 2012-04-25  David S. Miller  <davem@davemloft.net>
50592         * sysdeps/unix/sparc/brk.S: Delete.
50593         * sysdeps/unix/sparc/dl-brk.S: Delete.
50594         * sysdeps/unix/sparc/pipe.S: Delete.
50595         * sysdeps/unix/sparc/sysdep.S: Delete.
50596         * sysdeps/unix/sparc/sysdep.h: Delete.
50597         * sysdeps/unix/sparc/vfork.S: Delete.
50598         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50599         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50600         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50601         (ret_ERRVAL, r0, r1, MOVE): Define.
50602         (JUMPTARGET): Remove.
50603         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50604         sysdeps/unix/sparc/sysdep.h
50605         (ENTRY, END): Remove.
50606         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50608 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50610         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50611         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50612         -DIS_IN_build.
50614         * timezone/README: Update upstream location and email address for
50615         tzcode and tzdata.
50616         * timezone/zdump.c: Update from tzcode 2012b.
50617         * timezone/zic.c: Likewise.
50619         * configure.in (libc_cv_as_needed): Remove test.
50620         * configure: Regenerated.
50621         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50622         conditional definition.
50623         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50624         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50625         * config.make.in (have-as-needed): Remove variable.
50627 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50628             Paul Pluzhnikov  <ppluzhnikov@google.com>
50630         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50631         strings correctly.
50633 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50635         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50636         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50637         * sysdeps/sh/strlen.S: Likewise.
50639 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50641         * sysdeps/unix/fork.S: Remove file.
50642         * sysdeps/unix/i386/fork.S: Likewise.
50643         * sysdeps/unix/sparc/fork.S: Likewise.
50645         * sysdeps/unix/system.c: Remove file.
50646         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50648         * sysdeps/unix/getegid.S: Remove file.
50649         * sysdeps/unix/geteuid.S: Likewise.
50651 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50653         * scripts/check-localplt.awk: New file.
50654         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50655         of diff.
50656         * scripts/data/localplt-generic.data: Add a comment.
50658         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50659         NODE when __dir_mkfile failed.
50660         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50661         Reported by Ludovic Courtès <ludo@gnu.org>.
50663 2012-04-24  Andreas Jaeger  <aj@suse.de>
50665         * Makerules (common-clean): Also remove gen-as-const-headers
50666         files.
50668 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50670         * Makerules (native-compile): Do not change working directory for
50671         build.  Use $(OUTPUT_OPTION) in command.
50672         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50674 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50676         [BZ #13886]
50677         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50678         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50679         * math/libm-test.inc (floor_test): Add more tests.
50680         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50682 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50684         * sysdeps/unix/getdents.c: Remove file.
50685         * sysdeps/unix/sysv/getdents.c: Likewise.
50686         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50688         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50689         sysdeps/unix/mman/syscalls.list.
50690         (mmap): Likewise.
50691         (mprotect): Likewise.
50692         (msync): Likewise.
50693         (munmap): Likewise.
50694         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50695         * sysdeps/unix/mman/syscalls.list: Remove.
50696         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50698         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50699         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50700         * configure: Regenerated.
50701         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50702         $(libgcc_s_suffix).
50703         * config.make.in (libgcc_s_suffix): Remove variable.
50705 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50707         * sysdeps/unix/sysv/gethostname.c: Move to ...
50708         * sysdeps/posix/gethostname.c: ... here.
50710         * sysdeps/unix/execve.S: Remove file.
50712         * sysdeps/unix/_exit.S: Remove file.
50714 2012-04-23  Andreas Jaeger  <aj@suse.de>
50716         [BZ #13739]
50717         * manual/Makefile: Remove make dist support, there's no
50718         need for a stand-alone documentation tar ball.
50719         (TEXI2DVI): Define always, it's not in Makeconfig.
50720         (dist): Removed.
50721         (tar-it): Removed.
50722         (edition): Removed.
50723         (glibc-doc-$(edition).tar): Removed
50724         (%.Z): Removed.
50725         (%.gz): Removed.
50726         (%.uu): Removed.
50727         (ETAGS): Remove, it's in Makeconfig.
50728         (move-if-change): Remove, it's in Makeconfig.
50730 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50732         [BZ #13970]
50733         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50734         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50735         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50736         (strtod_l, strtof_l, strtold_l): Remove __wur.
50737         It is not necessarily an error to ignore strtol's return value.
50738         One can reliably look at the stored endptr to decide whether
50739         the number had valid syntax.
50741 2012-04-21  Andreas Jaeger  <aj@suse.de>
50743         [BZ #13739]
50744         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50746 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50748         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50749         * sysdeps/unix/sysv/Versions: Remove file.
50751 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50753         [BZ #13927]
50754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50756 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50758         [BZ #7064]
50759         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50760         version from __vm86.
50762 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50764         * sysdeps/unix/common/lxstat.c: Remove file.
50765         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50767         * sysdeps/unix/sysv/Makefile: Remove file.
50769         * sysdeps/unix/sysv/direct.h: Remove file.
50771         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50772         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50773         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50774         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50775         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50776         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50777         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50779         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50781         * sysdeps/unix/xmknod.c: Remove file.
50782         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50784         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50786         * sysdeps/unix/sysv/i386/time.S: Remove file.
50788         * sysdeps/unix/fxstat.c: Remove file.
50789         * sysdeps/unix/xstat.c: Likewise.
50790         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50792         * sysdeps/unix/sysv/sigaction.c: Remove file.
50794         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50795         (sysdep_headers): Remove variable.
50796         [termio.h not in sysdep_headers] (generated): Likewise.
50797         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50798         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50799         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50800         * sysdeps/unix/sysv/tcflow.c: Likewise.
50801         * sysdeps/unix/sysv/tcflush.c: Likewise.
50802         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50803         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50804         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50805         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50806         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50808         * sysdeps/unix/siglist.c: Remove file.
50810         * sysdeps/unix/getppid.S: Remove file.
50812         * sysdeps/unix/mkdir.c: Remove file.
50813         * sysdeps/unix/rmdir.c: Likewise.
50815 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50817         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50818         ERR_MAX value.
50819         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50820         errlist-compat value.
50822 2012-04-18  David S. Miller  <davem@davemloft.net>
50824         * sysdeps/generic/memcopy.h (reg_char): Delete.
50825         * debug/strcat_chk.c: Use char, not reg_char.
50826         * debug/strcpy_chk.c: Likewise.
50827         * debug/strncat_chk.c: Likewise.
50828         * debug/strncpy_chk.c: Likewise.
50829         * string/memchr.c: Likewise.
50830         * string/memrchr.c: Likewise.
50831         * string/rawmemchr.c: Likewise.
50832         * string/strcat.c: Likewise.
50833         * string/strchr.c: Likewise.
50834         * string/strchrnul.c: Likewise.
50835         * string/strcmp.c: Likewise.
50836         * string/strcpy.c: Likewise.
50837         * string/strncat.c: Likewise.
50838         * string/strncmp.c: Likewise.
50839         * string/strncpy.c: Likewise.
50841 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50843         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50844         __builtin_memcopy is called when src and dest ranges are known to not
50845         overlap.
50847 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50849         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50850         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50851         fwd_align_merge macro call.
50852         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50853         bwd_align_merge macro call.
50854         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50856 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50858         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50859         bwd_align_merge macros.
50860         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50861         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50862         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50864 2012-04-18  David S. Miller  <davem@davemloft.net>
50866         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50868 2012-04-18  Andreas Jaeger  <aj@suse.de>
50870         [BZ# 6794]
50871         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50872         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50873         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50875         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50876         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50877         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50879         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50880         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50881         Adjust for changed ldbl-128 files.
50883         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50884         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50885         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50887 2012-04-17  David S. Miller  <davem@davemloft.net>
50889         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50891 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50893         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50894         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50895         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50896         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50897         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50898         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50900 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50902         [BZ #6794]
50903         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50904         * math/libm-test.inc: Add ilogb errno and exception tests.
50905         * math/w_ilogb.c: New file: ilogb wrapper.
50906         * math/w_ilogbf.c: New file: ilogbf wrapper.
50907         * math/w_ilogbl.c: New file: ilogbl wrapper.
50908         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50909         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50910         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50911         exception being thrown with 0.0 as argument.
50912         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50913         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50914         exception being thrown with 0.0 as argument.
50915         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50916         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50917         exception being thrown with 0.0 as argument.
50918         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50919         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50920         exception being thrown with 0.0 as argument.
50921         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50922         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50923         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50924         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50925         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50926         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50927         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50928         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50929         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50931 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50933         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50934         with altivec.
50936 2012-04-16  Marek Polacek  <polacek@redhat.com>
50938         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50940 2012-04-16  Marek Polacek  <polacek@redhat.com>
50942         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50943         operands of fdivp instruction.
50945 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50947         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50948         * elf/tst-auditmod3b.c: Likewise.
50949         * elf/tst-auditmod4b.c: Likewise.
50950         * elf/tst-auditmod5b.c: Likewise.
50951         * elf/tst-auditmod6b.c: Likewise.
50952         * elf/tst-auditmod6c.c: Likewise.
50953         * elf/tst-auditmod7b.c: Likewise.
50954         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50955         * sysdeps/x86_64/preconfigure.in: Likewise.
50956         * sysdeps/x86_64/preconfigure: Regenerated.
50958 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50960         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50961         __ILP32__.
50963 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50965         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50966         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50968 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50970         [BZ #13973]
50971         * locale/iso-639.def: Fix gl language name. Spotted by
50972         Yaron Shahrabani.
50974 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50976         [BZ #2074]
50977         * libio/libio.h (__io_write_fn): Update comment.
50979 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50981         [BZ #2074]
50982         * stdio.texi (Hook Functions): The user provided writer function
50983         is not allowed to return -1.
50985 2012-04-11  David S. Miller  <davem@davemloft.net>
50987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50989 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50991         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50992         Add a leading slash to rtkaio.
50994 2012-04-11  Jim Meyering  <meyering@redhat.com>
50996         [BZ #11959]
50997         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50998         It is not necessarily an error to ignore fwrite's return
50999         value.  One can reliably use ferror to test for errors after
51000         the fact.
51002 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51004         * bits/types.h (__snseconds_t): New type.
51005         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51007         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51008         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51009         (__SNSECONDS_T_TYPE): Likewise.
51010         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51011         (__SNSECONDS_T_TYPE): Likewise.
51012         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51013         (__SNSECONDS_T_TYPE): Likewise.
51015 2012-04-10  Andreas Jaeger  <aj@suse.de>
51017         [BZ #2636]
51018         * manual/time.texi (Processor Time): Return type of times is
51019         elapsed real time since an arbitrary point in the past.
51020         (CPU Time): Move CLK_TCK from here...
51021         (Processor Time): ...to here.  Correct description.
51022         * manual/conf.texi (Constants for Sysconf): Correct description of
51023         _SC_CLK_TCK.
51025 2012-04-10  David S. Miller  <davem@davemloft.net>
51027         [BZ #13967]
51028         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51029         where the is a gap between DT_REL(A) and DT_JMPREL.
51031 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51033         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51034         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51035         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51037 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51039         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51040         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51041         (dl_main): Handle --inhibit-cache.
51042         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51043         _dl_inhibit_cache.
51044         * elf/dl-load.c (_dl_map_object): Use it.
51045         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51047 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51049         [BZ #13872]
51050         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51051         (__ieee754_powl): Saturate large exponents rather than testing for
51052         overflow of y*log2(x).
51053         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51054         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51055         exceptions.
51057         [BZ #11521]
51058         * math/s_ctan.c: Include <float.h>.
51059         (__ctan): Avoid internal overflow or cancellation in calculating
51060         denominator.
51061         * math/s_ctanf.c: Likewise.
51062         * math/s_ctanl.c: Likewise.
51063         * math/s_ctanh.c: Likewise.
51064         * math/s_ctanhf.c: Likewise.
51065         * math/s_ctanhl.c: Likewise.
51066         * math/libm-test.inc (ctan_test): Add more tests.
51067         (ctanh_test): Likewise.
51068         * sysdeps/i386/fpu/libm-test-ulps: Update.
51069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51071 2012-04-09  Andreas Jaeger  <aj@suse.de>
51073         [BZ #6894]
51074         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51075         is an optional BSD extension.
51077         [BZ #10254]
51078         * manual/stdio.texi (Opening Streams): Document additional fopen
51079         parameters.
51081 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51083         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51084         %eax without telling the compiler.
51086 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51088         [BZ # 13963]
51089         * manual/install.texi: Use sourceware.org.
51091 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51093         [BZ #13873]
51094         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51095         (__ieee754_pow): Generate overflow and underflow using huge*huge
51096         and tiny*tiny rather than just returning constant infinity or zero
51097         for large exponents.
51098         * math/libm-test.inc (pow_test): Require overflow exceptions for
51099         applicable cases of large exponents.
51101         [BZ #706]
51102         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51103         (__ieee754_pow): Use iterative multiplication algorithm only for
51104         integer exponents with absolute value below 1024.  Check for odd
51105         integer exponents when using algorithm for real exponents.
51106         * math/libm-test.inc (pow_test): Add more tests.
51107         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51109 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51111         [BZ #13705]
51112         * math/libm-test.inc (exp_test): Do not allow overflow exception
51113         on underflow test.
51115 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51117         [BZ #13705]
51118         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51119         instead of __kernel_standard_f.
51121 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51123         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51124         * sysdeps/x86_64/memset_chk.S: Likewise.
51126 2012-04-08  Andreas Jaeger  <aj@suse.de>
51128         [BZ #10153]
51129         * manual/startup.texi (Environment Access): Describe return value
51130         for putenv and setenv.
51132         [BZ #6895]
51133         * manual/filesys.texi (Directory Entries): Add description for
51134         DT_LNK.
51136         [BZ #6890]
51137         * manual/filesys.texi (Directory Entries): Clarify that it's file
51138         system not operating system in the description of DT_UNKNOWN.
51140         [BZ #6578]
51141         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51143 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51145         [BZ #6649]
51146         * manual/llio.texi (Opening and Closing Files): Add cross
51147         reference to explain mode argument.
51149 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51151         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51152         * sysdeps/x86_64/memset_chk.S: Likewise.
51154 2012-04-07  David S. Miller  <davem@davemloft.net>
51156         * elf/elf.h (R_SPARC_WDISP10): Define.
51157         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51158         R_SPARC_SIZE32.
51159         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51160         R_SPARC_SIZE64 and R_SPARC_H34.
51162 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51164         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51165         conditions and remove no longer applicable assertion.
51167 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51169         * bits/byteswap.h: Include <features.h>.
51170         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51171         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51173 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51175         * bits/byteswap.h (__bswap_16): Removed.
51176         Include <bits/byteswap-16.h> to get __bswap_16.
51177         * sysdeps/i386/bits/byteswap.h: Likewise.
51178         * sysdeps/s390/bits/byteswap.h: Likewise.
51179         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51180         * bits/byteswap-16.h: New file.
51181         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51182         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51183         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51184         * string/Makefile (headers): Add bits/byteswap-16.h.
51186 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51188         [BZ #13895]
51189         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51190         extra indirection.
51191         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51192         * nss/tst-nss-static.c: New.
51194 2012-04-06  Robert Millan  <rmh@gnu.org>
51196         [BZ #6486]
51197         * manual/llio.texi (File Position Primitive): lseek
51198         refers to WHENCE when it really means OFFSET.
51200 2012-04-06  Andreas Jaeger  <aj@suse.de>
51202         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51203         strncmp declarations.
51205         * abilist/libc.abilist: Add __poll and __ppoll.
51207 2012-04-05  David S. Miller  <davem@davemloft.net>
51209         * scripts/check-local-headers.sh: Accept a host triplet in the
51210         path matched by the exclude regexp.
51212         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51213         definition.
51214         * sysdeps/powerpc/powerpc32/dl-machine.h
51215         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51216         * sysdeps/s390/s390-32/dl-machine.h
51217         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51218         * sysdeps/sparc/sparc32/dl-machine.h
51219         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51220         * sysdeps/sparc/sparc64/dl-machine.h
51221         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51223         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51224         lazy binding.
51225         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51226         undefined symbol errors.
51228         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51229         DT_NEEDED entries.
51231 2012-04-05  Michael Matz  <matz@suse.de>
51233         [BZ #13592]
51234         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51236 2012-04-05  Andreas Jaeger  <aj@suse.de>
51238         [BZ #13908]
51239         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51240         comment.
51242 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51244         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51245         which ROUND is no valid rounding mode.
51247 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51249         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51250         read again.
51251         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51253 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51255         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51256         an exception using FPU order intentionally.
51258 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51260         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51261         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51262         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51263         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51265 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51267         [BZ #12340]
51268         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51269         EINVAL when BUFLEN is too smal.
51271 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51273         [BZ #13553]
51274         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51275         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51277 2012-04-03  Andreas Jaeger  <aj@suse.de>
51279         [BZ #13938]
51280         * manual/setjmp.texi (System V contexts): Fix sentence.
51282         [BZ #13926]
51283         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51284         New macro for this case.
51285         [!__GNUC__] (__bswap_64): New inline function for this case.
51286         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51287         * bits/byteswap.h: Likewise.
51288         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51289         ull, guard with __GLIBC_HAVE_LONG_LONG.
51291         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51292         __GLIBC_HAVE_LONG_LONG.
51294         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51295         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51297 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51299         [BZ #13691]
51300         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51301         inptr and inend, rather than using last_ch.
51303 2012-04-02  David S. Miller  <davem@davemloft.net>
51305         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51306         * stdio-common/printf-parse.h (read_int): Change return type to
51307         'int', return -1 on INT_MAX overflow.
51308         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51309         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51310         overflows INT_MAX.  Check for overflow of in-format-string precision
51311         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51312         SIZE_MAX not INT_MAX for integer overflow test.
51313         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51314         skip the construct in the format string but do not record anything.
51315         * stdio-common/bug22.c: Adjust to test both width/prevision
51316         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51317         explicitly for proper errno values.
51319 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51321         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51322         CHAR_MAX.
51323         * string/test-strcmp.c [! WIDE]: Likewise.
51324         * time/tst-mktime2.c: Likewise for INT_MAX.
51325         * string/test-string.h: #include <sys/param.h> for MIN.
51327         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51328         * sysdeps/i386/init-first.c (init): Likewise.
51329         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51330         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51331         * sysdeps/sh/init-first.c (init): Likewise.
51333 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51335         * po/ru.po: Update from translation team.
51336         * po/vi.po: Likewise.
51338 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51340         * resolv/nss_dns/dns-host.c: Merge copyright years.
51342 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51344         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51345         Optimize memcpy with prefetch if
51346         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51347         src, dst pointers have unequal 16 byte alignments.
51349 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51351         [BZ #13928]
51352         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51353         from a CNAME entry and return the minimum ttl for the query.
51354         (gaih_getanswer_slice): Likewise.
51356 2012-03-30  Jeff Law  <law@redhat.com>
51358         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51359         due to long keys.
51360         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51361         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51363         * resolv/nss_dns/dns-host.c: Update copyright year.
51365 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51367         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51368         requests to save a system call.  Fix check that all bytes are sent.
51370         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51371         comments for sendmmsg.
51373 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51375         [BZ #13691]
51376         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51377         with only 1 character between 0x0041 and 0x01b0.
51378         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51379         * wcsmbs/tst-mbsnrtowcs.c: New file.
51381 2012-03-29  David S. Miller  <davem@davemloft.net>
51383         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51384         small copies by hand.
51386 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51388         [BZ #13761]
51389         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51390         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51391         group memberships.
51393 2012-03-28  David S. Miller  <davem@davemloft.net>
51395         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51396         that branches into memcpy.
51397         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51398         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51399         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51400         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51401         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51402         bits.
51403         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51404         implementation too.
51405         * sysdeps/sparc/mempcpy.S: New file.
51407         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51408         the IFUNC routine in the libc case.
51409         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51411         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51412         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51413         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51414         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51415         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51416         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51417         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51418         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51420         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51421         loop to 256 bytes instead of 64 bytes and fix test signedness.
51423         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51424         * sysdeps/sparc/sparc32/Makefile: rather than here...
51425         * sysdeps/sparc/sparc64/Makefile: and here.
51427 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51429         * malloc/mallocbug.c: Avoid warnings about unused variables.
51431 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51433         [BZ #13760]
51434         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51435         in the right place. Discard and retry query if response is
51436         larger than input buffer size.
51438 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51440         [BZ #369]
51441         [BZ #2678]
51442         [BZ #3866]
51443         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51444         x for large integer exponent.
51445         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51446         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51447         sign of result as needed afterwards.
51448         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51449         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51450         result for underflowing pow the same as for overflow.
51451         (__kernel_standard_l): Handle powl overflow and underflow here
51452         rather than calling __kernel_standard.
51453         * math/libm-test.inc (pow_test): Add more tests.
51455         [BZ #3868]
51456         [BZ #13879]
51457         [BZ #13910]
51458         [BZ #13911]
51459         [BZ #13912]
51460         [BZ #13913]
51461         [BZ #13915]
51462         [BZ #13916]
51463         [BZ #13917]
51464         [BZ #13918]
51465         [BZ #13919]
51466         [BZ #13920]
51467         [BZ #13921]
51468         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51469         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51470         (__kernel_standard_l): New function.
51471         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51472         __kernel_standard.
51473         * math/w_acosl.c (__acosl): Likewise.
51474         * math/w_asinl.c (__asinl): Likewise.
51475         * math/w_atan2l.c (__atan2l): Likewise.
51476         * math/w_atanhl.c (__atanhl): Likewise.
51477         * math/w_coshl.c (__coshl): Likewise.
51478         * math/w_exp10l.c (__exp10l): Likewise.
51479         * math/w_exp2l.c (__exp2l): Likewise.
51480         * math/w_fmodl.c (__fmodl): Likewise.
51481         * math/w_hypotl.c (__hypotl): Likewise.
51482         * math/w_j0l.c (__j0l, __y0l): Likewise.
51483         * math/w_j1l.c (__j1l, __y1l): Likewise.
51484         * math/w_jnl.c (__jnl, __ynl): Likewise.
51485         * math/w_lgammal.c (__lgammal): Likewise.
51486         * math/w_log10l.c (__log10l): Likewise.
51487         * math/w_log2l.c (__log2l): Likewise.
51488         * math/w_logl.c (__logl): Likewise.
51489         * math/w_powl.c (__powl): Likewise.
51490         * math/w_remainderl.c (__remainderl): Likewise.
51491         * math/w_scalbl.c (sysv_scalbl): Likewise.
51492         * math/w_sinhl.c (__sinhl): Likewise.
51493         * math/w_sqrtl.c (__sqrtl): Likewise.
51494         * math/w_tgammal.c (__tgammal): Likewise.
51495         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51496         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51497         * math/libm-test.inc (acos_test): Add more tests.
51498         (acosh_test): Likewise.
51499         (asin_test): Likewise.
51500         (atanh_test): Likewise.
51501         (exp_test): Likewise.
51502         (exp10_test): Likewise.
51503         (exp2_test): Likewise.
51504         (expm1_test): Likewise.
51505         (lgamma_test): Likewise.
51506         (log_test): Likewise.
51507         (log10_test): Likewise.
51508         (log1p_test): Likewise.
51509         (log2_test): Likewise.
51510         (pow_test): Do not allow some spurious overflow exceptions.
51511         (sqrt_test): Add more tests.
51512         (tgamma_test): Likewise.
51513         (y0_test): Likewise.
51514         (y1_test): Likewise.
51515         (yn_test): Likewise.
51517 2012-03-27  Anton Blanchard  <anton@samba.org>
51519         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51520         MAP_HUGETLB.
51521         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51522         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51523         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51525 2012-03-27  David S. Miller  <davem@davemloft.net>
51527         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51529         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51530         have-as-vis3 check.
51532 2012-03-27  Andreas Jaeger  <aj@suse.de>
51534         * sysdeps/x86_64/elf/configure.in: Moved to ...
51535         * sysdeps/x86_64/configure.in: ... here.
51536         * sysdeps/x86_64/elf/start.S: Moved to ...
51537         * sysdeps/x86_64/start.S: ... here.
51538         * sysdeps/x86_64/elf/configure: Delete.
51540         * sysdeps/x86_64/configure.in: Merge contents from
51541         sysdeps/i386/configure.in (without i686 check).
51543         * sysdeps/i386/elf/Versions: Merge into ...
51544         * sysdeps/i386/Versions: ... this.
51545         * sysdeps/i386/elf/Versions: Delete file.
51546         * sysdeps/i386/elf/start.S: Moved to ...
51547         * sysdeps/i386/start.S: ...here.
51548         * sysdeps/i386/elf/configure.in: Merge into...
51549         * sysdeps/i386/configure.in: ...here.
51550         * sysdeps/i386/elf/configure.in: Delete file.
51551         * sysdeps/i386/elf/configure: Delete file.
51553         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51554         * debug/backtracesyms.c: ... here.
51555         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51556         * debug/backtracesymsfd.c: ... here.
51557         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51558         * sysdeps/generic/ifunc-sel.h: ... here.
51560         * sysdeps/unix/i386/start.c: Delete file.
51561         * sysdeps/unix/sparc/start.c: Delete file.
51562         * sysdeps/unix/start.c: Delete file.
51564         * sysdeps/sh/elf/configure.in: Moved to ...
51565         * sysdeps/sh/configure.in: ... here.
51566         * sysdeps/sh/elf/start.S: Moved to ...
51567         * sysdeps/sh/start.S: ... here.
51568         * sysdeps/sh/elf/configure: Delete file.
51570         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51571         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51572         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51573         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51574         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51575         * sysdeps/powerpc/powerpc64/start.S: here.
51576         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51577         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51578         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51579         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51580         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51582         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51583         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51584         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51585         * sysdeps/powerpc/powerpc32/start.S: ... here.
51586         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51587         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51588         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51590         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51591         * sysdeps/powerpc/ifunc-sel.h: ... here.
51592         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51593         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51595         * sysdeps/sparc/elf/configure.in: Moved to ...
51596         * sysdeps/sparc/configure.in: ... here.
51597         * sysdeps/sparc/elf/configure: Delete file.
51598         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51599         * sysdeps/sparc/sparc32/start.S: ... here.
51600         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51601         * sysdeps/sparc/sparc64/start.S: ... here.
51602         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51603         * sysdeps/sparc/sparc32/Makefile: ... this.
51604         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51605         * sysdeps/sparc/sparc64/Makefile: ... this.
51607         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51608         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51609         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51610         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51611         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51612         * sysdeps/s390/s390-32/setjmp.S: ... here.
51613         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51614         * sysdeps/s390/s390-32/configure.in: ... here.
51615         * sysdeps/s390/s390-32/elf/configure: Delete file.
51616         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51617         * sysdeps/s390/s390-32/start.S: ... here.
51619         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51620         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51621         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51622         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51623         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51624         * sysdeps/s390/s390-64/setjmp.S: ... here.
51625         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51626         * sysdeps/s390/s390-64/configure.in: ... here
51627         * sysdeps/s390/s390-64/elf/configure: Delete file.
51628         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51629         * sysdeps/s390/s390-64/start.S: ... here.
51630         * sysdeps/s390/s390-64/elf/configure: Delete.
51632         * configure.in: Remove support for elf directories in sysdeps.
51634         * configure: Regenerated.
51635         * sysdeps/i386/configure: Regenerated.
51636         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51637         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51638         * sysdeps/s390/s390-32/configure: Regenerated.
51639         * sysdeps/s390/s390-64/configure: Regenerated.
51640         * sysdeps/sh/configure: Regenerated.
51641         * sysdeps/sparc/configure: Regenerated.
51642         * sysdeps/x86_64/configure: Regenerated.
51644 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51648         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51649         denormal result into account.
51651 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51653         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51654         Reported by Allan McRae <allan@archlinux.org>.
51656 2012-03-23  Jeff Law  <law@redhat.com>
51658         * nss/getnssent.c (__nss_getent): Fix typo.
51660 2012-03-23  David S. Miller  <davem@davemloft.net>
51662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51664 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51666         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51667         to pad to uint64_t for each field.
51668         (dl_tls_index): Replace unsigned long with uint64_t.
51670 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51671         Paul Pluzhnikov  <ppluzhnikov@google.com>
51673         [BZ #6528]
51674         * grp/Makefile (otherlibs): Don't set it.
51675         * inet/Makefile (otherlibs): Likewise.
51676         * login/Makefile (otherlibs): Likewise.
51677         * nscd/Makefile (otherlibs): Likewise.
51678         * posix/Makefile (otherlibs): Likewise.
51679         * pwd/Makefile (otherlibs): Likewise.
51680         * rt/Makefile (otherlibs): Likewise.
51681         * sunrpc/Makefile (otherlibs): Likewise.
51682         * nss/Makefile (otherlibs): Likewise.
51683         Add libnss_files to routines and static-only-routines.
51684         ($(objpfx)getent): Remove rule.
51685         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51686         static-only-routines.
51688 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51690         [BZ #13892]
51691         * math/s_cexp.c: Include <float.h>.
51692         (__cexp): Handle exp result overflowing not necessarily
51693         overflowing both real and imaginary parts of result.
51694         * math/s_cexpf.c: Likewise.
51695         * math/s_cexpl.c: Likewise.
51696         * math/libm-test.inc (cexp_test): Add more tests.
51697         * sysdeps/i386/fpu/libm-test-ulps: Update.
51698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51700 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51702         * include/link.h (ELFW): New macro.
51703         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51704         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51706 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51708         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51709         with uint64_t.
51711 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51713         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51714         declaration.
51715         (struct La_x32_retval): Likewise.
51717 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51719         * sysdeps/x86_64/preconfigure.in: New file.
51720         * sysdeps/x86_64/preconfigure: New generated file.
51722 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51724         [BZ #13824]
51725         * math/e_exp2l.c: Include <float.h>.
51726         (__ieee754_exp2l): Handle overflow and underflow cases
51727         separately.  Only pass fractional part of argument to
51728         __ieee754_expl.
51729         * math/libm-test.inc (exp2_test): Add more tests.
51731         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51732         negating x to take absolute value.
51733         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51734         Likewise.
51735         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51736         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51737         Likewise.
51738         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51739         computing low part if x was negated.
51740         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51742 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51744         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51745         la_x32_gnu_pltexit.
51746         (pltexit): Cast int_retval to ptrdiff_t.
51747         * elf/tst-auditmod3b.c: Likewise.
51748         * elf/tst-auditmod4b.c: Likewise.
51749         * elf/tst-auditmod5b.c: Likewise.
51750         * elf/tst-auditmod6b.c: Likewise.
51751         * elf/tst-auditmod6c.c: Likewise.
51752         * elf/tst-auditmod7b.c: Likewise.
51754         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51755         and x32_gnu_pltexit.
51757         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51758         __ELF_NATIVE_CLASS.
51759         (La_x32_regs): New macro.
51760         (La_x32_retval): Likewise.
51761         (la_x32_gnu_pltenter): New function prototype.
51762         (la_x32_gnu_pltexit): Likewise.
51764 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51766         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51767         exponent.
51769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51771         * configure.in (libc_cv_cc_nofma): Check for option to disable
51772         generation of FMA instructions.
51773         * configure: Regenerate.
51774         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51775         * sysdeps/ieee754/dbl-64/Makefile: New file.
51776         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51777         Remove brandred-fma4.
51778         (CFLAGS-brandred-fma4.c): Remove.
51779         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51780         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51781         define.
51782         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51783         define.
51785 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51787         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51788         LLONG_MAX != LONG_MAX.
51789         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51790         (_fitoa_word): Likewise.
51791         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51792         LLONG_MAX != LONG_MAX.
51793         * stdio-common/_itowa.h: Include <_itoa.h>.
51794         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51795         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51796         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51797         only if not defined.
51798         (_ITOA_WORD_TYPE): Likewise.
51799         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51800         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51802 2012-03-21  David S. Miller  <davem@davemloft.net>
51804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51806 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51808         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51809         of x86_64 when setting libc_cv_slibdir, libdir and
51810         libc_cv_localedir.
51811         * sysdeps/unix/sysv/linux/configure: Regenerated.
51813 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51815         * manual/lang.texi (Old Varargs): Remove section.
51816         (How Variadic): Update menu.
51817         (va_start): Do not mention varargs.h.
51819 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51820             Joseph Myers  <joseph@codesourcery.com>
51822         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51823         link test.
51824         * configure: Regenerated.
51826 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51828         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51829         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51830         conformtest.pl
51832 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51834         * NOTES: Remove.
51835         * Makefile (files-for-dist): Remove NOTES.
51836         (NOTES): Remove rule.
51837         * README: Don't refer to NOTES.
51838         * manual/creature.texi: Don't include macros.texi.
51839         * manual/intro.texi (creature.texi): Remove comment referring to
51840         NOTES.
51842         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51843         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51844         * configure: Regenerated.
51845         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51846         LIBC_TRY_CC_OPTION.
51847         (libc_cv_as_i686): Likewise.
51848         (libc_cv_cc_avx): Likewise.
51849         (libc_cv_cc_sse2avx): Likewise.
51850         (libc_cv_cc_fma4): Likewise.
51851         (libc_cv_cc_novzeroupper): Likewise.
51852         * sysdeps/i386/configure: Regenerated.
51854         [BZ #13883]
51855         * sysdeps/i386/fpu/s_cexp.S: Remove.
51856         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51857         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51858         * math/libm-test.inc (cexp_test): Add more tests.
51859         * sysdeps/i386/fpu/libm-test-ulps: Update.
51860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51862 2012-03-21  Allan McRae  <allan@archlinux.org>
51864         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51866 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51868         [BZ #13871]
51869         * math/w_exp2.c: Do not include <float.h>.
51870         (o_threshold, u_threshold): Remove.
51871         (__exp2): Calculate result before checking finiteness and calling
51872         __kernel_standard.
51873         * math/w_exp2f.c: Likewise.
51874         * math/w_exp2l.c: Likewise.
51875         * math/libm-test.inc (exp2_test): Require overflow exception for
51876         1e6 input.
51878         [BZ #3866]
51879         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51880         range of signed 64-bit integers before using fistpll.  Remove
51881         checks for whether integers fit in mantissa bits.
51882         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51883         the range of signed 32-bit integers before using fistpl.  Remove
51884         checks for whether integers fit in mantissa bits.
51885         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51886         (__ieee754_powl): Test for y outside the range of signed 64-bit
51887         integers before using fistpll.  Reduce 64-bit values to 63-bit
51888         ones as needed.
51889         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51890         divide-by-zero is raised for zero to large negative powers.
51891         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51892         (__ieee754_powl): Test for y outside the range of signed 64-bit
51893         integers before using fistpll.  Reduce 64-bit values to 63-bit
51894         ones as needed.
51895         * math/libm-test.inc (pow_test): Add more tests.
51897 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51899         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51900         <stdio-common/_itoa.h>.
51901         * debug/segfault.c: Likewise.
51902         * elf/dl-cache.c: Likewise.
51903         * elf/dl-minimal.c: Likewise.
51904         * elf/dl-misc.c: Likewise.
51905         * elf/dl-sysdep.c: Likewise.
51906         * elf/dl-version.c: Likewise.
51907         * elf/rtld.c: Likewise.
51908         * hurd/hurdsock.c: Likewise.
51909         * hurd/lookup-retry.c: Likewise.
51910         * malloc/malloc.c: Likewise.
51911         * malloc/mtrace.c: Likewise.
51912         * nscd/nscd_getgr_r.c: Likewise.
51913         * nscd/nscd_getpw_r.c: Likewise.
51914         * nscd/nscd_getserv_r.c: Likewise.
51915         * posix/getopt_init.c: Likewise.
51916         * posix/wordexp.c: Likewise.
51917         * stdio-common/_itoa.c: Likewise.
51918         * stdio-common/printf_fphex.c: Likewise.
51919         * stdio-common/vfprintf.c: Likewise.
51920         * string/_strerror.c: Likewise.
51921         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51922         * sysdeps/i386/i686/hp-timing.h: Likewise.
51923         * sysdeps/mach/_strerror.c: Likewise.
51924         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51925         * sysdeps/mach/hurd/sethostid.c: Likewise.
51926         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51927         * sysdeps/mach/xpg-strerror.c: Likewise.
51928         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51929         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51930         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51931         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51932         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51933         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51934         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51935         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51936         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51937         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51938         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51939         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51940         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51941         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51942         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51943         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51944         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51945         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51946         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51947         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51948         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51950         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51952         * stdio-common/_itoa.h: Moved to ...
51953         * sysdeps/generic/_itoa.h: Here.
51955         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51957         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51958         instead of "_itoa.h" and "_itowa.h".
51959         * stdio-common/vfprintf.: Likewise.
51961 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51963         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51964         <bits/wordsize.h>.
51965         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51966         (__signbit): Likwise.
51967         (llrintf): Likwise.
51968         (llrint): Likwise.
51970 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51972         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51973         __WORDSIZE != 64.
51975 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51977         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51978         OVERFLOW_EXCEPTION_OK.
51979         * math/libm-test.inc ("Philosophy"): Update comment about
51980         exception testing.
51981         (OVERFLOW_EXCEPTION): Define.
51982         (OVERFLOW_EXCEPTION_OK): Likewise.
51983         (INVALID_EXCEPTION_OK): Renumber.
51984         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51985         (IGNORE_ZERO_INF_SIGN): Likewise.
51986         (test_exceptions): Handle FE_OVERFLOW.
51987         (exp10_test): Expect overflow exceptions.
51988         (exp2_test): Likewise.
51989         (expm1_test): Likewise.
51990         (nextafter_test): Likewise.
51991         (pow_test): Likewise.
51992         (scalbn_test): Likewise.
51993         (scalbln_test): Likewise.
51995 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51997         * sysdeps/x86_64/bits/atomic.h
51998         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51999         64bit integer.
52000         (atomic_exchange_acq): Likewise.
52001         (__arch_exchange_and_add_body): Likewise.
52002         (__arch_add_body): Likewise.
52003         (atomic_add_negative): Likewise.
52004         (atomic_add_zero): Likewise.
52006 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52008         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52009         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52011 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52013         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52014         Check __x86_64__ instead of __WORDSIZE.
52016 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52018         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52020 2012-03-19  David S. Miller  <davem@davemloft.net>
52022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52024         * sysdeps/sparc/fpu/fenv_private.h: New file.
52025         * sysdeps/sparc/fpu/math_private.h: Use it.
52026         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52027         Remove.
52028         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52029         (libc_feholdexcept_setroundl): Remove.
52030         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52031         Remove.
52032         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52033         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52035 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52037         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52038         int64_t instead of long int.
52039         (INSERT_WORDS64): Likwise.
52041 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52043         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52044         _Unwind_GetCFA return to _Unwind_Ptr first.
52046 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52048         [BZ #13629]
52049         * math/s_clog.c: Include <float.h>.
52050         (__clog): Scale large or subnormal inputs.
52051         * math/s_clogf.c: Likewise.
52052         * math/s_clogl.c: Likewise.
52053         * math/s_clog10.c: Include <float.h>.
52054         (M_LOG10_2): Define.
52055         (__clog10): Scale large or subnormal inputs.
52056         * math/s_clog10f.c: Likewise.
52057         * math/s_clog10l.c: Likewise.
52058         * math/libm-test.inc (clog_test): Add more tests.
52059         (clog10_test): Likewise.
52060         * sysdeps/i386/fpu/libm-test-ulps: Update.
52061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52063         [BZ #11451]
52064         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52065         x and y.
52066         * math/libm-test.inc (atan2_test): Add another test.
52068         * Makerules (common-objdir-compile): Remove.
52069         * sysdeps/unix/Makefile (config-generated): Do not add
52070         $(unix-generated) to variable.
52071         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52072         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52073         Remove rule.
52074         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52075         Likewise.
52076         [generic bits/local_lim.h] (before-compile): Do not append to
52077         variable.
52078         [generic bits/local_lim.h] (common-generated): Likewise.
52079         [generic sys/param.h] (before-compile): Do not append to variable.
52080         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52081         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52082         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52083         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52084         include.
52085         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52086         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52087         [generic sys/param.h] ($(addprefix
52088         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52089         [generic sys/param.h] (common-generated): Do not append to
52090         variable.
52091         [generic sys/param.h] (sysdep_headers): Likewise.
52092         [generic bits/errno.h] (before-compile): Do not append to
52093         variable.
52094         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52095         rule.
52096         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52097         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52098         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52099         [generic bits/errno.h] (common-generated): Do not append to
52100         variable.
52101         [generic bits/ioctls.h] (before-compile): Do not append to
52102         variable.
52103         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52104         rule.
52105         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52106         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52107         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52108         rule.
52109         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52110         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52111         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52112         [generic bits/ioctls.h] (common-generated): Do not append to
52113         variable.
52114         [generic sys/syscall.h] (syscall.h): Remove variable.
52115         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52116         rule.
52117         [generic sys/syscall.h] (before-compile): Do not append to
52118         variable.
52119         [generic sys/syscall.h] (common-generated): Likewise.
52120         * sysdeps/unix/errnos-tmpl.c: Remove file.
52121         * sysdeps/unix/errnos.awk: Likewise.
52122         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52123         * sysdeps/unix/ioctls.awk: Likewise.
52124         * sysdeps/unix/mk-local_lim.c: Likewise.
52125         * sysdeps/unix/snarf-ioctls: Likewise.
52127 2012-03-19  Richard Henderson  <rth@twiddle.net>
52129         * sysdeps/i386/fpu/fenv_private.h: New file.
52130         * sysdeps/i386/fpu/math_private.h: Use it.
52131         (math_opt_barrier, math_force_eval): Remove.
52132         (libc_feholdexcept_setround_53bit): Remove.
52133         (libc_feupdateenv_53bit): Remove.
52134         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52135         (math_opt_barrier, math_force_eval): Remove.
52136         (libc_feholdexcept): Remove.
52137         (libc_feholdexcept_setround): Remove.
52138         (libc_fetestexcept, libc_fesetenv): Remove.
52139         (libc_feupdateenv_test): Remove.
52140         (libc_feupdateenv, libc_feholdsetround): Remove.
52141         (libc_feresetround): Remove.
52143         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52144         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52146         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52147         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52148         (libc_feupdateenv_testl): New.
52149         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52150         (libc_feupdateenv_testf): New.
52151         (libc_feupdateenv): Use libc_feupdateenv_test.
52152         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52153         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52155         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52156         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52157         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52158         (libc_feresetround_noex): New.
52159         (libc_feresetround_noexf): New.
52160         (libc_feresetround_noexl): New.
52161         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52162         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52163         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52164         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52165         SET_RESTORE_ROUND.
52166         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52167         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52168         (__cos): Likewise.
52169         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52170         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52171         SET_RESTORE_ROUND_NOEX.
52172         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52173         SET_RESTORE_ROUND_NOEXF.
52174         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52175         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52176         (libc_feholdsetroundf): New.
52177         (libc_feresetround, libc_feresetroundf): New.
52179         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52180         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52181         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52183         * sysdeps/generic/math_private.h: Include <fenv.h>.
52184         (default_libc_feholdexcept): New.
52185         (default_libc_feholdexcept_setround): New.
52186         (default_libc_fesetenv, default_libc_feupdateenv): New.
52187         (libc_feholdexcept): Only define if undefined.
52188         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52189         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52190         (libc_feholdexcept_setroundl): Likewise.
52191         (libc_feholdexcept_setround_53bit): Likewise.
52192         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52193         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52194         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52195         (libc_feupdateenv_53bit): Likewise.
52196         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52197         (libc_feholdexcept): Convert from macro to inline function.
52198         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52199         (libc_fesetenv, libc_feupdateenv): Likewise.
52201         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52202         not previously defined.
52203         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52204         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52205         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52206         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52207         * sysdeps/ieee754/flt-32/math_private.h: New file.
52208         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52209         math_private.h below SET_FLOAT_WORD.
52210         (__isnan, __isinf_ns, __finite): Remove.
52211         (__isnanf, __isinf_nsf, __finitef): Remove.
52213 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52217 2012-03-17  David S. Miller  <davem@davemloft.net>
52219         [BZ #6471]
52220         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52221         for 2.16.
52223 2012-03-16  David S. Miller  <davem@davemloft.net>
52225         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52226         warnings.
52228         [BZ #6471]
52229         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52230         properly.
52231         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52232         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52233         sysdep_routines when subdir is sysvipc.
52234         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52235         __getshmlba helper.
52237         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52239 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52241         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52242         [__LP64__].
52244 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52246         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52247         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52248         (__lround): Renamed to ...
52249         (__llround): This.  Replace long int with long long int.
52250         Define lround functions as aliases of llround functions.
52251         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52253 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52255         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52256         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52257         adresses to uintptr_t.  Replace "long int" and "unsigned long
52258         int" with "greg_t" on va_arg.
52260 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52262         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52263         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52265         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52266         Move e_machine check before EI_CLASS check.  Handle x32
52267         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52268         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52269         SKIP_EM_IA_64 and include
52270         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52272         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52273         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52274         (add_system_dir): New macro.
52276         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52277         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52279 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52281         [BZ #2551]
52282         [BZ #2552]
52283         [BZ #2553]
52284         [BZ #2554]
52285         [BZ #2562]
52286         [BZ #2563]
52287         [BZ #2565]
52288         [BZ #2566]
52289         [BZ #2576]
52290         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52291         (y0): Likewise.
52292         * math/w_j0f.c (j0f): Likewise.
52293         (y0f): Likewise.
52294         * math/w_j0l.c (__j0l): Likewise.
52295         (__y0l): Likewise.
52296         * math/w_j1.c (j1): Likewise.
52297         (y1): Likewise.
52298         * math/w_j1f.c (j1f): Likewise.
52299         (y1f): Likewise.
52300         * math/w_j1l.c (__j1l): Likewise.
52301         (__y1l): Likewise.
52302         * math/w_jn.c (jn): Likewise.
52303         (yn): Likewise.
52304         * math/w_jnf.c (jnf): Likewise.
52305         (ynf): Likewise.
52306         * math/w_jnl.c (__jnl): Likewise.
52307         (__ynl): Likewise.
52308         * math/libm-test.inc (j0_test): Add more tests.
52309         (j1_test): Likewise.
52310         (jn_test): Likewise.  Add trailing semicolon to existing test.
52311         (y0_test): Likewise.
52312         (y1_test): Likewise.
52313         * sysdeps/i386/fpu/libm-test-ulps: Update.
52314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52316         [BZ #13851]
52317         [BZ #13854]
52318         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52319         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52320         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52321         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52322         (__tanl): Set errno for infinite argument.
52323         * sysdeps/i386/fpu/mptan.c: Remove.
52324         * sysdeps/i386/fpu/s_tan.S: Likewise.
52325         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52326         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52327         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52328         * math/libm-test.inc (tan_test): Add more tests and enable more
52329         tests for double and long double.
52330         * sysdeps/i386/fpu/libm-test-ulps: Update.
52331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52333 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52335         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52336         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52338 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52340         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52341         * configure.in: Use it for both main tree and add-ons.
52342         * configure: Regenerated.
52344 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52346         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52348 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52350         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52351         in comment.
52353         [BZ #13851]
52354         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52355         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52356         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52357         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52358         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52359         infinite argument.
52360         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52361         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52362         != 0 for prec == 2.
52363         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52364         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52365         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52366         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52367         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52368         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52369         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52370         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52371         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52372         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52373         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52374         * math/libm-test.inc (cos_test): Add more tests and enable more
52375         tests for long double.
52376         (sin_test): Likewise.
52377         (sincos_test): Likewise.
52378         * sysdeps/i386/fpu/libm-test-ulps: Update.
52379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52381 2012-03-16  David S. Miller  <davem@davemloft.net>
52383         * sysdeps/sparc/fpu/math_private.h: New file.
52385 2012-03-15  David S. Miller  <davem@davemloft.net>
52387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52388         file.
52389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52391         file.
52392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52393         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52394         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52395         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52396         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52397         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52398         sysdep routines.
52399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52401         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52402         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52404         * sysdeps/sparc/sparc-ifunc.h: New file.
52405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52406         sparc-ifunc.h
52407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52409         Likewise.
52410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52411         Likewise.
52412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52416         Likewise.
52417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52422         Likewise.
52423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52424         Likewise.
52425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52431         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52432         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52433         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52434         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52437         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52438         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52439         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52440         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52441         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52442         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52443         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52444         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52445         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52446         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52447         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52448         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52450 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52452         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52453         scaling.
52454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52456 2012-03-15  Andreas Jaeger  <aj@suse.de>
52458         [BZ #13852]
52459         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52460         ieee754/flt-32 implementation for sin, cos and sincos.
52461         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52462         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52463         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52464         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52465         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52466         ieee754/flt-32 implementation for tan.
52468         * math/libm-test.inc (cos_test): Enable some large input tests for
52469         float as well
52470         (sin_test): Likewise.
52471         (sincos_test): Likewise.
52472         (tan_test): Add tests for large input.
52474         * sysdeps/i386/fpu/libm-test-ulps: Update.
52476 2012-03-15  Andreas Jaeger  <aj@suse.de>
52478         [BZ #13658]
52479         * math/libm-test.inc (cos_test): Add more test cases.
52480         (sin_test): Likewise.
52481         (sincos_test): Likewise.
52483 2012-03-15  Andreas Jaeger  <aj@suse.de>
52485         [BZ #13837]
52486         * math/libm-test.inc (cos_test): Add a test case for large input
52487         value.
52488         (sin_test): Likewise.
52489         (sincos_test): Likewise.
52491 2012-03-15  Andreas Jaeger  <aj@suse.de>
52492             Joseph Myers  <joseph@codesourcery.com>
52494         [BZ #13658]
52495         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52496         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52497         * sysdeps/i386/fpu/branred.c: Likewise.
52498         * sysdeps/i386/fpu/dosincos.c: Likewise.
52499         * sysdeps/i386/fpu/mpa.c: Likewise.
52500         * sysdeps/i386/fpu/s_cos.S: Likewise.
52501         * sysdeps/i386/fpu/s_sin.S: Likewise.
52502         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52503         * sysdeps/i386/fpu/sincos32.c: Likewise.
52505         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52506         Define.
52507         (libc_feupdateenv_53bit): Define.
52508         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52509         Define.
52510         (libc_feupdateenv_53bit): Define.
52512         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52513         53 bit (without extend i386 double precision).
52515         * math/libm-test.inc (sincos_test): Add tests for large input.
52516         (sin): Likewise.
52517         (cos): Likewise.
52519         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52521 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52525 2012-03-15  David S. Miller  <davem@davemloft.net>
52527         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52528         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52529         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52530         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52535         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52537         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52538         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52539         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52540         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52541         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52543         file.
52544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52546         file.
52547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52549         file.
52550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52552         file.
52553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52554         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52555         fmin/fmax sysdep routines.
52556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52558 2012-03-14  David S. Miller  <davem@davemloft.net>
52560         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52561         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52562         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52563         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52564         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52565         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52566         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52567         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52568         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52569         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52570         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52572         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52573         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52574         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52575         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52576         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52577         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52578         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52579         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52580         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52581         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52582         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52583         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52584         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52585         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52586         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52587         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52588         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52589         routines.
52590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52591         file.
52592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52594         file.
52595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52597         file.
52598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52600         file.
52601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52603         file.
52604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52606         file.
52607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52608         file.
52609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52610         file.
52611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52612         file.
52613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52614         New file.
52615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52616         file.
52617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52618         file.
52619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52621         file.
52622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52624         file.
52625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52627         file.
52628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52630         VIS3 routines.
52632         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52633         New file.
52635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52637         * sysdeps/sparc/configure.in: New file.
52638         * sysdeps/sparc/configure: Generate.
52639         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52640         * configure: Regenerate.
52641         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52642         * config.make.in (have-as-vis3): New.
52643         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52644         available use -Av9d instead of -Av9a.
52645         * sysdeps/sparc/sparc64/Makefile: Likewise.
52646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52648         New file.
52649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52650         file.
52651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52652         New file.
52653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52654         file.
52655         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52656         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52657         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52658         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52659         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52661         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52662         fzeros/fnegs to load 0x80000000 into a float register instead of
52663         using the stack.
52664         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52666 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52668         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52669         bits/syscall.h.
52670         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52671         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52672         ($(inst_includedir)/bits/syscall.h): Remove rule.
52673         ($(objpfx)bits/syscall.d): Include instead of
52674         $(objpfx)syscall-list.d.
52675         (generated): Change syscall-list.h and syscall-list.d to
52676         bits/syscall.h and bits/syscall.d.
52678 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52680         [BZ #13846]
52681         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52683 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52685         [BZ #13841]
52686         * math/s_csqrt.c: Include <float.h>.
52687         (__csqrt): Scale large or subnormal inputs.
52688         * math/s_csqrtf.c: Likewise.
52689         * math/s_csqrtl.c: Likewise.
52690         * math/libm-test.inc (csqrt_test): Add more tests.
52691         * sysdeps/i386/fpu/libm-test-ulps: Update.
52692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52694         [BZ #13840]
52695         * math/libm-test.inc (hypot_test): Add more tests.
52697 2012-03-13  David S. Miller  <davem@davemloft.net>
52699         [BZ #13840]
52700         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52701         double-precision for the calculation instead of scaling.
52703 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52705         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52706         manipulate bits before adding and subtracting TWO52[sx].
52707         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52708         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52709         Likewise.
52710         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52712 2012-03-13  David S. Miller  <davem@davemloft.net>
52714         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52715         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52716         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52717         rtld-global-offsets.h
52718         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52720         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52721         large parameters.
52723         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52725         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52726         'err' in the ifdef scope in which it is actually used.
52728         * nss/nss_db/db-init.c: Include string.h
52730 2012-03-12  David S. Miller  <davem@davemloft.net>
52732         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52733         masking out of the most significant byte of random value used.
52734         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52735         Fix coding style in previous change.
52737         * sysdeps/unix/sysv/linux/kernel-features.h
52738         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52739         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52740         expression.
52741         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52742         later.
52744 2012-03-11  David S. Miller  <davem@davemloft.net>
52746         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52747         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52748         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52749         for 'resultvar' otherwise things get truncated on 64-bit.
52751         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52752         Fix masking out of the most significant byte of random value used.
52754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52756 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52760 2012-03-09  David S. Miller  <davem@davemloft.net>
52762         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52763         variables with appropriate CPP guards.
52764         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52765         from the frame pointer, not the stack pointer.  Correct layout
52766         comments.  Fix test on resulting framesize and the management of
52767         the outregs buffer for pltexit.  Preserve floating point return
52768         values across _dl_call_pltexit call.
52769         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52770         framesize and the management of the outregs buffer for pltexit.
52771         Preserve floating point return values across _dl_call_pltexit
52772         call.
52773         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52774         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52775         (la_sparc64_gnu_pltexit): New functions.
52776         (print_exit): Fix format string for return register value.
52778 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52780         * sunrpc/Makefile (others): Add rpcgen.
52781         ($(objpfx)rpcgen): Remove special build rule and dependency on
52782         libc.
52783         * sunrpc/rpcgen.c: New file.
52785 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52787         [BZ #13673]
52788         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52789         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52790         * sysdeps/i386/crti.S: Likewise.
52791         * sysdeps/i386/crtn.S: Likewise.
52792         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52793         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52794         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52795         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52796         * sysdeps/sh/crti.S: Likewise.
52797         * sysdeps/sh/crtn.S: Likewise.
52798         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52800         [BZ #13673]
52801         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52802         with URL.
52803         * locale/programs/locfile-kw.gperf: Likewise.
52804         * locale/programs/charmap-kw.h: Regenerated.
52805         * locale/programs/locfile-kw.h: Likewise.
52807         [BZ #13673]
52808         * intl/plural.y: Replace FSF snail mail address with URL.
52809         * intl/plural.c: Regenerated.
52811 2012-03-09  Richard Henderson  <rth@twiddle.net>
52813         * include/math_private.h: Remove file.
52814         * math/math_private.h: Move file ...
52815         * sysdeps/generic/math_private.h: ... here.
52817         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52818         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52819         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52821         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52822         and <math_private.h>.
52823         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52824         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52825         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52826         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52827         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52828         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52829         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52830         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52831         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52832         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52833         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52834         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52835         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52836         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52837         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52838         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52839         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52840         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52841         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52842         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52843         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52844         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52845         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52846         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52847         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52848         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52849         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52850         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52851         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52852         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52853         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52854         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52855         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52856         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52857         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52858         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52859         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52860         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52861         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52862         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52863         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52864         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52865         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52866         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52867         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52868         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52869         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52870         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52871         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52872         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52873         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52874         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52875         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52876         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52877         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52878         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52879         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52880         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52881         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52882         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52883         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52884         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52885         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52886         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52887         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52888         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52889         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52890         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52891         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52892         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52893         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52894         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52895         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52896         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52897         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52898         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52899         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52900         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52901         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52902         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52903         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52904         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52905         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52906         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52907         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52908         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52909         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52910         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52911         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52912         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52913         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52914         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52915         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52916         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52917         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52918         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52919         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52920         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52921         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52922         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52923         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52924         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52925         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52926         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52927         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52928         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52929         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52930         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52931         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52932         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52933         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52934         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52935         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52936         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52937         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52938         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52939         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52940         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52941         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52942         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52943         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52944         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52945         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52946         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52947         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52948         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52949         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52950         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52951         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52952         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52953         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52954         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52955         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52956         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52957         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52958         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52959         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52960         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52961         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52962         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52963         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52964         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52965         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52966         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52967         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52968         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52969         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52970         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52971         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52972         * sysdeps/ieee754/k_standard.c: Likewise.
52973         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52974         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52975         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52976         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52977         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52978         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52979         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52980         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52981         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52982         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52983         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52984         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52985         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52986         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52987         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52988         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52989         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52990         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52991         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52992         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52993         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52994         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52995         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52996         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52997         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52998         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52999         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53000         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53001         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53002         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53003         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53004         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53005         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53006         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53007         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53008         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53009         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53010         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53011         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53012         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53013         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53014         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53015         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53016         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53017         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53018         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53019         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53020         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53021         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53022         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53023         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53024         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53025         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53026         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53027         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53028         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53029         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53030         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53031         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53032         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53033         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53034         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53035         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53036         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53037         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53038         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53039         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53040         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53041         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53042         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53043         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53044         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53045         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53046         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53047         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53048         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53049         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53050         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53051         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53052         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53053         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53054         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53055         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53056         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53057         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53058         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53059         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53060         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53061         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53062         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53063         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53064         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53065         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53066         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53067         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53068         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53069         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53070         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53071         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53072         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53073         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53074         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53075         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53076         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53077         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53078         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53079         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53080         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53081         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53082         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53083         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53084         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53085         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53086         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53087         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53088         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53089         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53090         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53091         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53092         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53093         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53094         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53095         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53096         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53097         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53098         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53099         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53100         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53101         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53102         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53103         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53104         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53105         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53106         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53107         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53108         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53109         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53110         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53111         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53112         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53113         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53114         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53115         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53116         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53117         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53118         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53119         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53120         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53121         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53122         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53123         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53124         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53125         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53126         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53127         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53128         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53129         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53130         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53131         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53132         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53133         * sysdeps/ieee754/s_lib_version.c: Likewise.
53134         * sysdeps/ieee754/s_matherr.c: Likewise.
53135         * sysdeps/ieee754/s_signgam.c: Likewise.
53136         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53137         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53138         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53139         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53140         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53141         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53142         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53143         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53144         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53145         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53146         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53147         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53148         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53149         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53150         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53151         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53152         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53153         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53154         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53155         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53156         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53158 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53160         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53161         * sunrpc/rpc_main.c: Likewise.
53162         * sunrpc/rpc_svcout.c: Likewise.
53164 2012-03-09  David S. Miller  <davem@davemloft.net>
53166         * include/math_private.h: New file.
53168 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53170         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53171         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53172         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53173         from <bits/socket_type.h>.
53174         (enum __socket_type): Don't define here.
53175         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53176         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53177         bits/socket_type.h.
53179         [BZ #13566]
53180         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53181         checking __USE_GNU.
53183         * Makerules ($(inst_includedir)/%.h): New rule.
53184         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53185         (install-others): Remove variable setting.
53186         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53188 2012-03-08  Richard Henderson  <rth@twiddle.net>
53190         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53191         from macro to inline function; merge with the
53192         !__LIBC_INTERNAL_MATH_INLINES version.
53193         (__ieee754_sqrtf): Likewise.
53195         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53196         to inline function.
53197         (__rintf, __floor, __floorf): Likewise.
53199         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53200         macro to inline function.
53201         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53203         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53204         not <math/math_private.h>.
53206 2012-03-08  David S. Miller  <davem@davemloft.net>
53208         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53209         copyright year.
53210         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53212 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53214         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53215         normalization.
53216         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53217         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53219 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53221         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53222         be defined individually, they must be defined as a block.  Define
53223         S for printing a string instead of hidint the different by using a
53224         macro for adding the 'l'.
53225         * stdio-common/tst-fphex-wide.c: Adjust.
53227 2012-03-07  Marek Polacek  <polacek@redhat.com>
53229         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53231 2012-03-08  Marek Polacek  <polacek@redhat.com>
53233         [BZ #13806]
53234         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53235         * stdio-common/tst-fphex.c: Define a few macros to make the
53236         test reusable.  Use them.
53237         * stdio-common/tst-fphex-wide.c: New file.
53239 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53241         [BZ #6911]
53242         * manual/macros.texi (gnusystems): New macro.
53243         (nongnusystems): Likewise.
53244         (gnulinuxhurdsystems): Likewise.
53245         (gnuhurdsystems): Likewise..
53246         (gnulinuxsystems): Likewise.
53247         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53248         variants of the GNU system, not "GNU system".
53249         * manual/conf.texi: Likewise.
53250         * manual/errno.texi: Likewise.  Update example of errno macro
53251         expansion.
53252         * manual/filesys.texi: Likewise.
53253         (getumask): Document as specific to GNU/Hurd.
53254         * manual/install.texi: Likewise.  Reword some references to
53255         GNU/Linux.
53256         * manual/intro.texi: Likewise.
53257         * manual/io.texi: Likewise.
53258         (File Name Portability): Detail which constraints are inapplicable
53259         to all GNU systems and which are only inapplicable to GNU/Hurd.
53260         * manual/job.texi: Likewise.
53261         * manual/llio.texi: Likewise.
53262         (O_NOCTTY): Document as present on GNU/Linux.
53263         * manual/maint.texi: Likewise.
53264         * manual/memory.texi: Likewise.
53265         * manual/pattern.texi: Likewise.
53266         * manual/pipe.texi: Likewise.
53267         * manual/process.texi: Likewise.
53268         * manual/resource.texi: Likewise.
53269         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53270         child on GNU/Hurd.
53271         * manual/setjmp.texi: Likewise.
53272         * manual/signal.texi: Likewise.
53273         * manual/startup.texi: Likewise.
53274         * manual/stdio.texi: Likewise.
53275         * manual/terminal.texi: Likewise.
53276         (ONLCR): Document as POSIX.
53277         (OXTABS): Document availability on GNU/Linux as XTABS.
53278         (ONOEOT): Document availability separately from other bits.
53279         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53280         * manual/time.texi: Likewise.
53281         * manual/users.texi: Likewise.
53282         * INSTALL: Regenerated.
53283         * sysdeps/gnu/errlist.c: Regenerated.
53285         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53286         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53287         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53288         puts.
53289         * configure: Regenerated.
53291 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53293         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53294         default includes instead of AC_HEADER_CHECK.
53295         * sysdeps/i386/configure: Regenerated.
53297         [BZ #10716]
53298         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53299         * math/s_cacoshf.c (__cacoshf): Likewise.
53300         * math/s_cacoshl.c (__cacoshl): Likewise.
53301         * math/s_casinh.c (__casinh): Set signs of result from argument.
53302         * math/s_casinhf.c (__casinhf): Likewise.
53303         * math/s_casinhl.c (__casinhl): Likewise.
53304         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53305         (casinh_test): Add more tests.
53306         * sysdeps/i386/fpu/libm-test-ulps: Update.
53307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53309 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53311         * po/zh_TW.po: Update from translation team.
53313         * login/Makefile (distribute): Remove variable.
53314         * catgets/Makefile: Likewise.
53315         * mach/Makefile: Likewise.
53316         * malloc/Makefile: Likewise.
53317         * misc/Makefile: Likewise.
53318         * iconv/Makefile: Likewise.
53319         * nscd/Makefile: Likewise.
53320         * hurd/Makefile: Likewise.
53321         * manual/Makefile: Likewise.
53322         * locale/Makefile: Likewise.
53323         * intl/Makefile: Likewise.
53324         * conform/Makefile: Likewise.
53325         * nss/Makefile: Likewise.
53326         * time/Makefile: Likewise.
53327         * soft-fp/Makefile: Likewise.
53328         * dirent/Makefile: Likewise.
53329         * gmon/Makefile: Likewise.
53330         * po/Makefile: Likewise.
53331         * rt/Makefile: Likewise.
53332         * socket/Makefile: Likewise.
53333         * math/Makefile: Likewise.
53334         * signal/Makefile: Likewise.
53335         * debug/Makefile: Likewise.
53336         * elf/Makefile: Likewise.
53337         * timezone/Makefile: Likewise.
53338         * stdlib/Makefile: Likewise.
53339         * iconvdata/Makefile: Likewise.
53340         * sunrpc/Makefile: Likewise.
53341         * io/Makefile: Likewise.
53342         * argp/Makefile: Likewise.
53343         * inet/Makefile: Likewise.
53344         * hesiod/Makefile: Likewise.
53345         * grp/Makefile: Likewise.
53346         * csu/Makefile: Likewise.
53347         * wctype/Makefile: Likewise.
53348         * crypt/Makefile: Likewise.
53349         * libio/Makefile: Likewise.
53350         * string/Makefile: Likewise.
53351         * nis/Makefile: Likewise.
53352         * resolv/Makefile: Likewise.
53353         * stdio-common/Makefile: Likewise.
53354         * wcsmbs/Makefile: Likewise.
53355         * dlfcn/Makefile: Likewise.
53356         * posix/Makefile: Likewise.
53358         [BZ #6959]
53359         * timezone/Makefile: Don't install timezone files, just the programs
53360         and scripts.
53362 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53364         * nss/databases.def: Add missing gshadow entry.
53366         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53368 2012-03-06  Marek Polacek  <polacek@redhat.com>
53370         [BZ #13726]
53371         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53372         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53373         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53374         * stdio-common/tst-long-dbl-fphex.c: New file.
53376 2012-03-06  David S. Miller  <davem@davemloft.net>
53378         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53379         (set_obp_int): New function.
53380         (get_obp_int): New function.
53381         (__get_clockfreq_via_dev_openprom): Likewise.
53382         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53383         Avoid unused variable warnings on 'val' and use builtin_expect.
53384         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53385         __builtin_expect.
53386         (INLINE_CLONE_SYSCALL): Likewise.
53388 2012-03-05  David S. Miller  <davem@davemloft.net>
53390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53392 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53396         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53397         only for |x| >= 40.
53398         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53400 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53402         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53403         Replace gettimeofday with __vdso_gettimeofday.
53405         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53406         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53407         __vdso_clock_gettime and __vdso_getcpu.
53409         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53410         time with __vdso_time.
53412 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53414         * manual/lang.texi (size_t): Note types to which size_t may be
53415         equivalent with the GNU C Library, but do not describe when
53416         differences between them are significant.
53418 2012-03-05  Andreas Jaeger  <aj@suse.de>
53420         * sysdeps/i386/fpu/libm-test-ulps: Update.
53422 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53424         [BZ #3976]
53425         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53426         (__ieee754_pow): Save and restore rounding mode and use
53427         round-to-nearest for main computations.
53428         * math/libm-test.inc (pow_test_tonearest): New function.
53429         (pow_test_towardzero): Likewise.
53430         (pow_test_downward): Likewise.
53431         (pow_test_upward): Likewise.
53432         (main): Call the new functions.
53433         * sysdeps/i386/fpu/libm-test-ulps: Update.
53434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53436         [BZ #3976]
53437         * math/libm-test.inc (cosh_test_tonearest): New function.
53438         (cosh_test_towardzero): Likewise.
53439         (cosh_test_downward): Likewise.
53440         (cosh_test_upward): Likewise.
53441         (sinh_test_tonearest): Likewise.
53442         (sinh_test_towardzero): Likewise.
53443         (sinh_test_downward): Likewise.
53444         (sinh_test_upward): Likewise.
53445         (main): Call the new functions.
53446         * sysdeps/i386/fpu/libm-test-ulps: Update.
53447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53449 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53451         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53452         default stack guard is set in last bytes.
53453         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53455 2012-03-05  Kees Cook  <keescook@chromium.org>
53457         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53459         [BZ #13656]
53460         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53461         possibly allocate from heap instead of stack.
53462         * stdio-common/bug-vfprintf-nargs.c: New file.
53463         * stdio-common/Makefile (tests): Add nargs overflow test.
53465 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53469 2012-03-03  Marek Polacek  <polacek@redhat.com>
53471         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53472         * math/math_private.h: Likewise.
53473         * stdlib/tst-strtod.c: Likewise.
53474         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53475         * sysdeps/x86_64/bits/atomic.h: Likewise.
53477 2012-03-02  David S. Miller  <davem@davemloft.net>
53479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53483         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53484         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53485         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53486         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53488 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53490         [BZ #13792]
53491         * manual/examples/README: New file, says the example source files
53492         can be used under GPL>=2.
53493         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53494         line containing just "*/".
53495         * manual/examples/add.c: Add copyright header (GPL>=2).
53496         * manual/examples/argp-ex1.c: Likewise.
53497         * manual/examples/argp-ex2.c: Likewise.
53498         * manual/examples/argp-ex3.c: Likewise.
53499         * manual/examples/argp-ex4.c: Likewise.
53500         * manual/examples/atexit.c: Likewise.
53501         * manual/examples/db.c: Likewise.
53502         * manual/examples/dir.c: Likewise.
53503         * manual/examples/dir2.c: Likewise.
53504         * manual/examples/execinfo.c: Likewise.
53505         * manual/examples/filecli.c: Likewise.
53506         * manual/examples/filesrv.c: Likewise.
53507         * manual/examples/fmtmsgexpl.c: Likewise.
53508         * manual/examples/genpass.c: Likewise.
53509         * manual/examples/inetcli.c: Likewise.
53510         * manual/examples/inetsrv.c: Likewise.
53511         * manual/examples/isockad.c: Likewise.
53512         * manual/examples/longopt.c: Likewise.
53513         * manual/examples/memopen.c: Likewise.
53514         * manual/examples/memstrm.c: Likewise.
53515         * manual/examples/mkfsock.c: Likewise.
53516         * manual/examples/mkisock.c: Likewise.
53517         * manual/examples/mygetpass.c: Likewise.
53518         * manual/examples/pipe.c: Likewise.
53519         * manual/examples/popen.c: Likewise.
53520         * manual/examples/rprintf.c: Likewise.
53521         * manual/examples/search.c: Likewise.
53522         * manual/examples/select.c: Likewise.
53523         * manual/examples/setjmp.c: Likewise.
53524         * manual/examples/sigh1.c: Likewise.
53525         * manual/examples/sigusr.c: Likewise.
53526         * manual/examples/stpcpy.c: Likewise.
53527         * manual/examples/strdupa.c: Likewise.
53528         * manual/examples/strftim.c: Likewise.
53529         * manual/examples/strncat.c: Likewise.
53530         * manual/examples/subopt.c: Likewise.
53531         * manual/examples/swapcontext.c: Likewise.
53532         * manual/examples/termios.c: Likewise.
53533         * manual/examples/testopt.c: Likewise.
53534         * manual/examples/testpass.c: Likewise.
53535         * manual/examples/timeval_subtract.c: Likewise.
53537         [BZ #13792]
53538         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53539         function to ...
53540         * manual/timeval_subtract.c.texi: ... here, new file.
53542 2012-03-02  David S. Miller  <davem@davemloft.net>
53544         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53546 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53548         [BZ #3976]
53549         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53550         (__sin): Save and restore rounding mode and use round-to-nearest
53551         for all computations.
53552         (__cos): Save and restore rounding mode and use round-to-nearest
53553         for all computations.
53554         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53555         <fenv.h>.
53556         (tan): Save and restore rounding mode and use round-to-nearest for
53557         all computations.
53558         * math/libm-test.inc (cos_test_tonearest): New function.
53559         (cos_test_towardzero): Likewise.
53560         (cos_test_downward): Likewise.
53561         (cos_test_upward): Likewise.
53562         (sin_test_tonearest): Likewise.
53563         (sin_test_towardzero): Likewise.
53564         (sin_test_downward): Likewise.
53565         (sin_test_upward): Likewise.
53566         (tan_test_tonearest): Likewise.
53567         (tan_test_towardzero): Likewise.
53568         (tan_test_downward): Likewise.
53569         (tan_test_upward): Likewise.
53570         (main): Call the new functions.
53571         * sysdeps/i386/fpu/libm-test-ulps: Update.
53572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53574         [BZ #10135]
53575         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53576         small n, then large n, before computing and testing k+n.
53577         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53578         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53579         Likewise.
53580         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53581         Likewise.
53582         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53583         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53584         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53585         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53586         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53587         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53588         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53589         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53590         * math/libm-test.inc (scalbn_test): Add more tests.
53591         (scalbln_test): Likewise.
53593         * manual/filesys.texi (mode_t): Describe constraints on size and
53594         signedness, not exact equivalence to a particular type.
53595         (ino_t): Likewise.
53596         (ino64_t): Likewise.
53597         (dev_t): Likewise.
53598         (nlink_t): Likewise.
53599         (blkcnt_t): Likewise.
53600         (blkcnt64_t): Likewise.
53601         * manual/llio.texi (off_t): Likewise.
53603         [BZ #3976]
53604         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53605         (__ieee754_exp): Save and restore rounding mode and use
53606         round-to-nearest for all computations.
53607         * math/libm-test.inc (exp_test_tonearest): New function.
53608         (exp_test_towardzero): Likewise.
53609         (exp_test_downward): Likewise.
53610         (exp_test_upward): Likewise.
53611         (main): Call the new functions.
53612         * sysdeps/i386/fpu/libm-test-ulps: Update.
53613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53615 2012-03-01  Chris Demetriou  <cgd@google.com>
53617         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53618         have predictable order.
53620 2012-03-01  David S. Miller  <davem@davemloft.net>
53622         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53624         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53625         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53626         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53627         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53629         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53630         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53631         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53633         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53634         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53635         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53636         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53637         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53641         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53642         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53643         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53645         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53646         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53647         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53648         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53649         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53650         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53651         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53652         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53653         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53654         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53655         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53656         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53658         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53659         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53660         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53661         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53662         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53663         * sysdeps/sparc/elf/configure: Regenerated.
53665 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53667         * configure.in (AS, LD): Require binutils 2.20 or later.
53668         * configure: Regenerated.
53669         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53670         as required minimum version.
53671         * INSTALL: Regenerated.
53673         [BZ #2541]
53674         [BZ #4108]
53675         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53676         before squaring exponent.
53677         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53678         bottom long double and 27 bits of top long double before squaring
53679         exponent.
53680         * math/libm-test.inc (erfc_test): Add more tests.
53681         * sysdeps/i386/fpu/libm-test-ulps: Update.
53682         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53685 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53687         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53688         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53689         containing bit-fields.
53690         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53691         * soft-fp/single.h (_FP_UNION_S): Likewise.
53692         * soft-fp/double.h (_FP_UNION_D): Likewise.
53694 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53696         [BZ #13786]
53697         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53698         not include ../strcmp.S.
53699         [USE_AS_STRNCASECMP_L]: Likewise.
53700         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53701         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53702         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53703         (__strncasecmp_l_ia32): Define as alias to
53704         __strncasecmp_l_nonascii.
53706         [BZ #5794]
53707         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53708         * sysdeps/i386/fpu/libm-test-ulps: Update.
53709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53711         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53714 2012-02-29  Jeff Law  <law@redhat.com>
53716         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53717         out of bounds read.
53719 2012-02-29  Marek Polacek  <polacek@redhat.com>
53721         [BZ #13706]
53722         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53723         * elf/Makefile: Add rules to run tst-unused-dep.out.
53725 2012-02-28  David S. Miller  <davem@davemloft.net>
53727         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53728         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53729         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53730         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53731         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53732         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53734 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53736         * math/libm-test.inc (llround_test): Move one test from
53737         lround_test.  Use TEST_f_L in moved test.
53738         (lround_test): Move misplaced test to llround_test.  Add testcase
53739         from bug 2561.
53741 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53743         * sysdeps/x86_64/fpu/e_expf.S: New file.
53744         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53746 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53748         [BZ #13637]
53749         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53750         of remain_len that may cause incomplete multi-byte character and
53751         false match.
53752         * posix/bug-regex33.c: New file.
53753         * posix/Makefile (tests): Add bug-regex33.
53755 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53757         * manual/macros.texi: New file.
53758         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53759         * manual/libc.texinfo: Include macros.texi.
53760         * manual/creatute.texi: Likewise.
53761         * manual/install.texi: Likewise.
53762         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53763         @glibcadj{} in references to the GNU C Library.
53764         * manual/charset.texi: Likewise.
53765         * manual/conf.texi: Likewise.
53766         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53767         when not using those macros.
53768         * manual/creature.texi: Likewise.
53769         * manual/crypt.texi: Likewise.
53770         * manual/errno.texi: Likewise.
53771         * manual/filesys.texi: Likewise.
53772         * manual/header.texi: Likewise.
53773         * manual/install.texi: Likewise.
53774         * manual/intro.texi: Likewise.
53775         * manual/io.texi: Likewise.
53776         * manual/job.texi: Likewise.
53777         * manual/lang.texi: Likewise.
53778         * manual/libc.texiinfo: Likewise.
53779         * manual/llio.texi: Likewise.
53780         * manual/locale.texi: Likewise.
53781         * manual/maint.texi: Likewise.
53782         * manual/math.texi: Likewise.
53783         * manual/memory.texi: Likewise.
53784         * manual/message.texi: Likewise.
53785         * manual/nss.texi: Likewise.
53786         * manual/pattern.texi: Likewise.
53787         * manual/process.texi: Likewise.
53788         * manual/resource.texi: Likewise.
53789         * manual/search.texi: Likewise.
53790         * manual/setjmp.texi: Likewise.
53791         * manual/signal.texi: Likewise.
53792         * manual/socket.texi: Likewise.
53793         * manual/startup.texi: Likewise.
53794         * manual/stdio.texi: Likewise.
53795         * manual/string.texi: Likewise.
53796         * manual/sysinfo.texi: Likewise.
53797         * manual/syslog.texi: Likewise.
53798         * manual/terminal.texi: Likewise.
53799         * manual/time.texi: Likewise.
53800         * manual/users.texi: Likewise.
53801         * INSTALL: Regenerated.
53802         * NOTES: Regenerated.
53803         * sysdeps/gnu/errlist.c: Regenerated.
53805 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53807         * include/dirent.h: Include <dirstream.h> before
53808         <dirent/dirent.h>.
53810 2012-02-28  David S. Miller  <davem@davemloft.net>
53812         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53813         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53814         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53815         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53817 2012-02-27  David S. Miller  <davem@davemloft.net>
53819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53821         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53822         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53825         frame pointer instead of stack pointer relative arg slot.
53826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53827         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53828         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53830 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53832         [BZ #3992]
53833         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53835 2012-02-27  David S. Miller  <davem@davemloft.net>
53837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53841         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53842         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53843         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53844         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53846 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53848         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53849         later.  Allow versions 5-9.
53850         * configure: Regenerated.
53851         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53852         required minimum version and 4.6 as recommended version.  Do not
53853         mention bugs in GCC 2.7 and 2.8.
53854         * INSTALL: Regenerated.
53856 2012-02-27  David S. Miller  <davem@davemloft.net>
53858         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53862         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53863         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53864         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53865         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53867         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53868         manipulate bits before adding and subtracting TWO112[sx].
53869         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53871 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53873         [BZ #13775]
53874         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53875         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53876         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53877         being in POSIX, because they are in 1003.1-2008.
53879         * rt/tst-aio.c: Include <fcntl.h>.
53880         * rt/tst-aio7.c: Likewise.
53881         * rt/tst-aio64.c: Likewise.
53883         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53885 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53887         * manual/install.texi (--with-headers): Describe headers as
53888         interface headers, not private headers.
53889         (Specific advice for GNU/Linux systems): Describe use of headers
53890         from "make headers_install", not private headers from older
53891         kernels.
53892         * INSTALL: Regenerated.
53893         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53894         Change to 2.6.19.
53895         * sysdeps/unix/sysv/linux/configure: Regenerated.
53897         * manual/llio.texi (fclean): Remove documentation.
53899         * manual/Makefile (libc-texi-generated): New variable.  Include
53900         version.texi.
53901         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53902         $(libc-texi-generated), not duplicated list of files.
53903         (version.texi, stamp-version): New rules.
53904         (realclean): Remove $(libc-texi-generated), not individual files
53905         from that list.  Do not remove dir-add.texinfo.
53906         * manual/libc.texinfo: Comment out uses of edition numbers and
53907         references to printed manual.  Remove last-updated dates.
53908         (EDITION): Comment out.
53909         (ISBN): Likewise.
53910         (VERSION, UPDATED): Remove.
53911         (version.texi): Include.
53913 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53915         * sysdeps/posix/spawni.c: Include <signal.h>.
53916         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53917         * sysdeps/pthread/aio_fsync.c: Likewise.
53919 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53921         * conform/Makefile (tests): Run only when not cross-compiling and
53922         when fast-check is not defined.
53924         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53925         * conform/data/limits.h-data: Fixes for POSIX2008.
53926         * conform/run-conformtest.sh: Run all tests.
53927         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53928         headers.
53929         * include/bits/dlfcn.h: Likewise.
53930         * include/langinfo.h: Likewise.
53931         * include/monetary.h: Likewise.
53932         * include/sys/poll.h: Likewise.
53934         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53935         for __USE_GNU.
53936         * posix/spawn.h: Define __need_sigset_t.
53937         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53938         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53939         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53940         to get sigevent_t only.
53941         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53942         only for __USE_GNU.
53943         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53944         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53945         process_vm_writev only for __USE_GNU.
53946         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53948         * conform/Makefile: For now ignore errors from run-conformtest.
53949         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53950         POSIX to avoid namespace pollution.  Don't prepend headers.
53951         * conform/data/aio.h-data: Fixes for POSIX testing.
53952         * conform/data/fcntl.h-data: Likewise.
53953         * conform/data/glob.h-data: Likewise.
53954         * conform/data/grp.h-data: Likewise.
53955         * conform/data/pthread.h-data: Likewise.
53956         * conform/data/pwd.h-data: Likewise.
53957         * conform/data/signal.h-data: Likewise.
53958         * conform/data/spawn.h-data: Likewise.
53959         * conform/data/stdio.h-data: Likewise.
53960         * conform/data/stdlib.h-data: Likewise.
53961         * conform/data/stropts.h-data: Likewise.
53962         * conform/data/sys/mman.h-data: Likewise.
53963         * conform/data/sys/stat.h-data: Likewise.
53964         * conform/data/sys/types.h-data: Likewise.
53965         * conform/data/sys/wait.h-data: Likewise.
53966         * conform/data/time.h-data: Likewise.
53967         * conform/data/unistd.h-data: Likewise.
53968         * conform/data/utime.h-data: Likewise.
53970         * io/sys/stat.h: fchmod was always in POSIX.
53971         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53972         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53973         * rt/aio.h: Define __need_timespec before including <time.h>.
53974         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53975         struct.  Add forward declaration of pthread_attr_t and use it in
53976         sigevent.
53977         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53978         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53979         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53980         always remove CLK_TCK definition.
53982 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53984         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53986 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53988         * conform/run-conformtest.sh: New file.
53989         * conform/Makefile: Run run-conformtest for tests.
53990         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53991         support.
53993         * conform/data/uchar.h-data: New file.
53994         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53995         * conform/data/arpa/inet.h-data: Likewise.
53996         * conform/data/assert.h-data: Likewise.
53997         * conform/data/complex.h-data: Likewise.
53998         * conform/data/cpio.h-data: Likewise.
53999         * conform/data/ctype.h-data: Likewise.
54000         * conform/data/dirent.h-data: Likewise.
54001         * conform/data/dlfcn.h-data: Likewise.
54002         * conform/data/errno.h-data: Likewise.
54003         * conform/data/fcntl.h-data: Likewise.
54004         * conform/data/float.h-data: Likewise.
54005         * conform/data/fmtmsg.h-data: Likewise.
54006         * conform/data/fnmatch.h-data: Likewise.
54007         * conform/data/ftw.h-data: Likewise.
54008         * conform/data/glob.h-data: Likewise.
54009         * conform/data/grp.h-data: Likewise.
54010         * conform/data/iconv.h-data: Likewise.
54011         * conform/data/inttypes.h-data: Likewise.
54012         * conform/data/langinfo.h-data: Likewise.
54013         * conform/data/libgen.h-data: Likewise.
54014         * conform/data/limits.h-data: Likewise.
54015         * conform/data/locale.h-data: Likewise.
54016         * conform/data/math.h-data: Likewise.
54017         * conform/data/monetary.h-data: Likewise.
54018         * conform/data/mqueue.h-data: Likewise.
54019         * conform/data/ndbm.h-data: Likewise.
54020         * conform/data/net/if.h-data: Likewise.
54021         * conform/data/netdb.h-data: Likewise.
54022         * conform/data/netinet/in.h-data: Likewise.
54023         * conform/data/nl_types.h-data: Likewise.
54024         * conform/data/poll.h-data: Likewise.
54025         * conform/data/pthread.h-data: Likewise.
54026         * conform/data/pwd.h-data: Likewise.
54027         * conform/data/regex.h-data: Likewise.
54028         * conform/data/sched.h-data: Likewise.
54029         * conform/data/search.h-data: Likewise.
54030         * conform/data/semaphore.h-data: Likewise.
54031         * conform/data/setjmp.h-data: Likewise.
54032         * conform/data/signal.h-data: Likewise.
54033         * conform/data/spawn.h-data: Likewise.
54034         * conform/data/stdarg.h-data: Likewise.
54035         * conform/data/stdio.h-data: Likewise.
54036         * conform/data/stdlib.h-data: Likewise.
54037         * conform/data/string.h-data: Likewise.
54038         * conform/data/strings.h-data: Likewise.
54039         * conform/data/stropts.h-data: Likewise.
54040         * conform/data/sys/ipc.h-data: Likewise.
54041         * conform/data/sys/mman.h-data: Likewise.
54042         * conform/data/sys/msg.h-data: Likewise.
54043         * conform/data/sys/resource.h-data: Likewise.
54044         * conform/data/sys/select.h-data: Likewise.
54045         * conform/data/sys/sem.h-data: Likewise.
54046         * conform/data/sys/shm.h-data: Likewise.
54047         * conform/data/sys/socket.h-data: Likewise.
54048         * conform/data/sys/stat.h-data: Likewise.
54049         * conform/data/sys/statvfs.h-data: Likewise.
54050         * conform/data/sys/time.h-data: Likewise.
54051         * conform/data/sys/timeb.h-data: Likewise.
54052         * conform/data/sys/times.h-data: Likewise.
54053         * conform/data/sys/types.h-data: Likewise.
54054         * conform/data/sys/uio.h-data: Likewise.
54055         * conform/data/sys/un.h-data: Likewise.
54056         * conform/data/sys/utsname.h-data: Likewise.
54057         * conform/data/sys/wait.h-data: Likewise.
54058         * conform/data/syslog.h-data: Likewise.
54059         * conform/data/tar.h-data: Likewise.
54060         * conform/data/termios.h-data: Likewise.
54061         * conform/data/utime.h-data: Likewise.
54062         * conform/data/utmpx.h-data: Likewise.
54063         * conform/data/varargs.h-data: Likewise.
54064         * conform/data/wchar.h-data: Likewise.
54065         * conform/data/wctype.h-data: Likewise.
54066         * conform/data/wordexp.h-data: Likewise.
54068         * include/stropts.h: New file.
54069         * include/uchar.h: New file.
54070         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54071         * include/assert.h: Likewise.
54072         * include/ctype.h: Likewise.
54073         * include/dirent.h: Likewise.
54074         * include/dlfcn.h: Likewise.
54075         * include/fcntl.h: Likewise.
54076         * include/fnmatch.h: Likewise.
54077         * include/glob.h: Likewise.
54078         * include/grp.h: Likewise.
54079         * include/libio.h: Likewise.
54080         * include/locale.h: Likewise.
54081         * include/math.h: Likewise.
54082         * include/net/if.h: Likewise.
54083         * include/netdb.h: Likewise.
54084         * include/netinet/in.h: Likewise.
54085         * include/pthread.h: Likewise.
54086         * include/pwd.h: Likewise.
54087         * include/regex.h: Likewise.
54088         * include/sched.h: Likewise.
54089         * include/search.h: Likewise.
54090         * include/setjmp.h: Likewise.
54091         * include/signal.h: Likewise.
54092         * include/stdio.h: Likewise.
54093         * include/stdlib.h: Likewise.
54094         * include/string.h: Likewise.
54095         * include/sys/cdefs.h: Likewise.
54096         * include/sys/mman.h: Likewise.
54097         * include/sys/msg.h: Likewise.
54098         * include/sys/resource.h: Likewise.
54099         * include/sys/select.h: Likewise.
54100         * include/sys/socket.h: Likewise.
54101         * include/sys/stat.h: Likewise.
54102         * include/sys/statvfs.h: Likewise.
54103         * include/sys/time.h: Likewise.
54104         * include/sys/times.h: Likewise.
54105         * include/sys/uio.h: Likewise.
54106         * include/sys/utsname.h: Likewise.
54107         * include/sys/wait.h: Likewise.
54108         * include/termios.h: Likewise.
54109         * include/time.h: Likewise.
54110         * include/ulimit.h: Likewise.
54111         * include/unistd.h: Likewise.
54112         * include/utime.h: Likewise.
54113         * include/wchar.h: Likewise.
54114         * include/wctype.h: Likewise.
54115         * include/wordexp.h: Likewise.
54117         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54119         * time/time.h: TIME_UTC must be a macro.
54120         Make timespec_get available for ISO C11 only as well.
54122 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54124         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54125         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54127 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54129         * configure.in: Use -o not -a in test for unsupported multi-arch.
54131 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54133         * manual/texinfo.tex: Update to version 2012-01-19.16.
54135 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54137         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54139 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54141         [BZ #13738]
54142         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54143         * manual/fdl-1.3.texi: New file.
54144         * manual/fdl-1.1.texi: File removed.
54146         [BZ #13738]
54147         * manual/libc.texinfo (FDL_VERSION): New @set.
54148         Use it for mention of FDL in cover text.
54149         (Documentation License): Use it in @include file name.
54151 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54152             Roland McGrath  <roland@hack.frob.com>
54154         [BZ #5461]
54155         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54156         (not LONG_LONG_MAX and LONG_LONG_MIN.
54157         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54158         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54159         name.
54160         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54162 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54164         [BZ #2547]
54165         [BZ #11365]
54166         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54167         manipulate bits before adding and subtracting TWO23[sx].
54168         * math/libm-test.inc (nearbyint_test): Add more tests.
54170 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54172         [BZ #2548]
54173         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54174         bits before adding and subtracting TWO23[sx].
54175         * math/libm-test.inc (rint_test): Add more tests.
54176         (rint_test_tonearest): Likewise.
54177         (rint_test_towardzero): Likewise.
54178         (rint_test_downward): Likewise.
54179         (rint_test_upward: Likewise.
54181 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54183         [BZ #10110]
54184         * include/stdc-predef.h: New file.  Extracted from features.h.
54185         * include/features.h: Include stdc-predef.h.
54186         * Makefile (headers): Add stdc-predef.h.
54187         * CONFORMANCE (Compiler limitations): Update.
54189 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54191         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54193 2012-02-21  David S. Miller  <davem@davemloft.net>
54195         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54196         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54198 2012-02-20  David S. Miller  <davem@davemloft.net>
54200         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54201         using a normal save/restore sequence, rather than allocating a
54202         dummy stack frame just to store a frame pointer and restore.
54203         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54205 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54207         * manual/install.texi: Fix stray word in line-wrapped comment.
54209 2012-02-20  David S. Miller  <davem@davemloft.net>
54211         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54212         both binutils and gcc support GOTDATA.
54214         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54215         "rd %pc" in the PIC register setup sequences.
54217         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54218         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54219         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54220         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54221         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54222         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54223         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54224         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54225         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54226         (SYSCALL_ERROR_HANDLER): Likewise.
54227         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54228         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54229         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54230         (SYSCALL_ERROR_HANDLER): Likewise.
54232         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54233         (HAVE_GCC_GOTDATA): New.
54234         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54235         relocation support in both binutils and gcc.
54236         * sysdeps/sparc/elf/configure: Regenerate.
54238         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54239         * sysdeps/sparc/sparc32/elf/configure: Delete.
54240         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54241         * sysdeps/sparc/sparc64/elf/configure: Delete.
54242         * sysdeps/sparc/elf/configure.in: New file.
54243         * sysdeps/sparc/elf/configure: Generate.
54245         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54246         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54247         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54248         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54249         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54251 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54253         * manual/install.texi: Do not mention specific glibc version
54254         numbers.
54255         * manual/libc.texinfo (VERSION, UPDATED): Update.
54256         (@copying): Use @copyright{} and range of years.
54258 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54260         [BZ #13695]
54261         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54262         [crti.S not in sysdirs] (generated): Do not append.
54263         [crti.S not in sysdirs] (omit-deps): Likewise.
54264         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54265         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54266         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54267         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54268         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54269         Likewise.
54270         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54271         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54272         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54273         * csu/defs.awk: Remove file.
54274         * sysdeps/generic/initfini.c: Likewise.
54275         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54276         variable.
54277         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54278         Likewise.
54280 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54282         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54283         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54284         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54285         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54286         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54287         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54288         <bits/epoll.h>.
54289         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54290         (__EPOLL_PACKED): Define to empty if not defined by
54291         <bits/epoll.h>.
54292         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54294         bits/epoll.h.
54296 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54298         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54299         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54300         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54301         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54302         <bits/timerfd.h>.
54303         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54304         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54305         bits/timerfd.h.
54307 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54309         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54310         in C locale.
54311         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54312         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54313         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54316 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54318         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54319         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54321 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54323         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54324         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54325         defined.
54326         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54327         Likewise.
54328         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54329         entry for 2.16.
54331 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54333         * math/w_acos.c: Use non-signaling floating-point comparisons.
54334         * math/w_acosf.c: Likewise.
54335         * math/w_acosh.c: Likewise.
54336         * math/w_acoshf.c: Likewise.
54337         * math/w_acoshl.c: Likewise.
54338         * math/w_acosl.c: Likewise.
54339         * math/w_asin.c: Likewise.
54340         * math/w_asinf.c: Likewise.
54341         * math/w_asinl.c: Likewise.
54342         * math/w_atanh.c: Likewise.
54343         * math/w_atanhf.c: Likewise.
54344         * math/w_atanhl.c: Likewise.
54345         * math/w_exp2.c: Likewise.
54346         * math/w_exp2f.c: Likewise.
54347         * math/w_exp2l.c: Likewise.
54348         * math/w_j0.c: Likewise.
54349         * math/w_j0f.c: Likewise.
54350         * math/w_j0l.c: Likewise.
54351         * math/w_j1.c: Likewise.
54352         * math/w_j1f.c: Likewise.
54353         * math/w_j1l.c: Likewise.
54354         * math/w_jn.c: Likewise.
54355         * math/w_jnf.c: Likewise.
54356         * math/w_log.c: Likewise.
54357         * math/w_log10.c: Likewise.
54358         * math/w_log10f.c: Likewise.
54359         * math/w_log10l.c: Likewise.
54360         * math/w_log2.c: Likewise.
54361         * math/w_log2f.c: Likewise.
54362         * math/w_log2l.c: Likewise.
54363         * math/w_logf.c: Likewise.
54364         * math/w_logl.c: Likewise.
54365         * math/w_sqrt.c: Likewise.
54366         * math/w_sqrtf.c: Likewise.
54367         * math/w_sqrtl.c: Likewise.
54368         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54369         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54370         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54371         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54372         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54374 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54376         [BZ #9739]
54377         * manual/string.texi (strnlen): Use correct parameter name in
54378         equivalent expression.
54380 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54382         [BZ #11174]
54383         * manual/users.texi (seteuid): Consistently use neweuid for
54384         argument name.
54386 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54388         [BZ #13704]
54389         * manual/nss.texi (Services in the NSS configuration): Correct
54390         list of services in example configuration file.
54392 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54394         [BZ #11322]
54395         * manual/arith.texi: Remove statements about negative zero
54396         behaving identically to zero.
54398 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54400         [BZ #5993]
54401         * manual/install.texi: Do not document upgrading from libc5.
54403 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54405         [BZ #4596]
54406         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54408 2012-02-18  David S. Miller  <davem@davemloft.net>
54410         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54411         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54412         %o7 across the call.
54413         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54414         instead.
54415         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54416         SETUP_PIC_REG_LEAF.
54417         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54418         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54419         * sysdeps/sparc/crtn.S: Likewise.
54421 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54423         * aout/Makefile: Remove.
54425 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54427         [BZ #13058]
54428         * manual/examples/argp-ex1.c (main): Format definition in GNU
54429         style.
54430         * manual/examples/argp-ex2.c (main): Likewise.
54431         * manual/examples/argp-ex3.c (main): Likewise.
54432         * manual/examples/argp-ex4.c (main): Likewise.
54433         * manual/examples/longopt.c (main): Use new-style prototype
54434         definition.
54435         * manual/examples/strncat.c (main): Specify return type and use
54436         (void) for arguments.
54437         * manual/examples/subopt.c (main): Use char **argv argument.
54439 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54441         [BZ #5077]
54442         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54443         rounding modes.
54445 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54447         [BZ #6907]
54448         * manual/string.texi (strchr): Change when strchrnul is
54449         recommended.
54451 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54453         [BZ #174]
54454         * manual/locale.texi (setlocale): Document LOCPATH.
54456 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54458         [BZ #10210]
54459         * manual/process.texi (execle): Move @dots{} before last argument.
54461 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54463         [BZ #12047]
54464         * manual/charset.texi (Generic Charset Conversion): Fix typo
54465         (LC_TYPE -> LC_CTYPE).
54467 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54469         [BZ #5805]
54470         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54471         (scalbnf): Likewise.
54472         (scalbnl): Likewise.
54473         (scalbln): Likewise.
54474         (scalblnf): Likewise.
54475         (scalblnl): Likewise.
54476         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54477         (vwarnx): Likewise.
54478         (verr): Likewise.
54479         (verrx): Likewise.
54480         * manual/filesys.texi (telldir): Use braces around return type.
54481         * manual/llio.texi (mmap): Add space after comma.
54482         (mmap64): Likewise.
54483         * manual/math.texi (jn): Use @var{} on parameter names.
54484         (jnf): Likewise.
54485         (jnl): Likewise.
54486         (yn): Likewise.
54487         (ynf): Likewise.
54488         (ynl): Likewise.
54489         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54490         line.
54491         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54492         "...".
54493         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54494         (sched_get_priority_max): Likewise.
54495         * manual/signal.texi (sigvec): Add space after comma.
54496         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54497         names.
54498         (if_indextoname): Likewise.
54499         (if_freenameindex): Likewise.
54500         (sendto): Use ',' instead of '.' in prototype.
54501         * manual/startup.texi (syscall): Use @dots{} instead of literal
54502         "...".
54503         * manual/stdio.texi (__fpending): Separate initial words of
54504         paragraph from @deftypefun line.
54505         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54506         "...".
54507         (vsyslog): Use @var{} on parameter names.
54508         * manual/terminal.texi (stty): Use @var{} on parameter names.
54509         * manual/users.texi (getutmp): Use @var{} on parameter names.
54510         (getutmpx): Likewise.
54512 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54514         [BZ #6884]
54515         * manual/stdio.texi (fopen): Fix typos in description of
54516         ",ccs=STRING".
54518 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54520         [BZ #4026]
54521         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54522         get clock_id definition.
54524 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54526         [BZ #4822]
54527         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54528         (madvise): Cast every argument to void on its own.
54530 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54532         [BZ #9902]
54533         * manual/startup.texi (Exit Status): Fix typo.
54535 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54537         [BZ #10140]
54538         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54539         * manual/examples/argp-ex2.c: Likewise.
54540         * manual/examples/argp-ex3.c: Likewise.
54542 2012-02-16  Richard Henderson  <rth@redhat.com>
54544         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54545         * sysdeps/s390/s390-32/initfini.c: Remove.
54546         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54547         * sysdeps/s390/s390-64/initfini.c: Remove.
54549 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54551         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54552         compiler output for sysdeps/generic/initfini.c.
54553         * sysdeps/sh/elf/initfini.c: Remove file.
54555 2012-02-16  David S. Miller  <davem@davemloft.net>
54557         [BZ #11494]
54558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54560         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54561         * sysdeps/sparc/crti.S: New file.
54562         * sysdeps/sparc/crtn.S: New file.
54563         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54564         * sysdeps/sparc/sparc64/Makefile: Likewise.
54566 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54568         [BZ #3335]
54569         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54571 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54573         [BZ #4822]
54574         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54576         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54577         (write, read, close): Likewise.
54578         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54580 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54582         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54583         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54584         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54585         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54586         <bits/signalfd.h>.
54587         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54588         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54589         bits/signalfd.h.
54591 2012-02-14  Marek Polacek  <polacek@redhat.com>
54593         * sysdeps/x86_64/crti.S: New file.
54594         * sysdeps/x86_64/crtn.S: New file.
54595         * sysdeps/x86_64/elf/initfini.c: Remove file.
54597 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54599         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54600         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54601         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54602         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54603         <bits/inotify.h>.
54604         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54605         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54606         bits/inotify.h.
54608 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54610         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54611         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54612         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54613         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54614         <bits/eventfd.h>.
54615         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54616         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54617         bits/eventfd.h.
54619 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54621         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54622         __feraiseexcept instead of feraiseexcept.
54624         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54625         nanosleep invocations.
54626         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54627         strings, and add error checking for a nanosleep invocations.
54629 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54631         Replace FSF snail mail address with URLs, as per GNU coding standards.
54632         Most of the snail mail addresses were wrong anyway, and omitting
54633         them makes the source code easier to maintain.  Almost all of the
54634         changes are to license notices and to locale LC_IDENTIFICATION
54635         addresses, except for this one:
54636         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54637         not its snail mail address.
54639 2012-02-09  Richard Henderson  <rth@twiddle.net>
54641         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54642         of kernel-features.h.
54644         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54646 2012-02-08  Marek Polacek  <polacek@redhat.com>
54648         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54649         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54650         * sysdeps/gnu/_G_config.h: Likewise.
54651         * sysdeps/generic/_G_config.h: Likewise.
54653 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54655         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54656         tests.
54657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54659         * sysdeps/powerpc/powerpc32/crti.S: New file.
54660         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54661         * sysdeps/powerpc/powerpc64/crti.S: New file.
54662         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54664         * Makeconfig (have-initfini): Don't set.
54665         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54666         * configure.in (nopic_initfini): Don't substitute.
54667         * config.h.in (HAVE_INITFINI): Don't #undef.
54668         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54669         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54671 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54673         Support crti.S and crtn.S provided directly by architectures.
54674         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54675         [crti.S in sysdirs] (omit-deps): Likewise.
54676         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54677         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54678         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54679         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54680         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54681         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54682         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54683         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54684         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54685         compiler output for sysdeps/generic/initfini.c.
54686         * sysdeps/i386/elf/Makefile: Remove file.
54687         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54689 2012-02-07  Marek Polacek  <polacek@redhat.com>
54691         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54692         * sysdeps/gnu/_G_config.h: Likewise.
54693         * sysdeps/mach/hurd/_G_config.h: Likewise.
54695 2012-02-07  Marek Polacek  <polacek@redhat.com>
54697         * math/Makefile (tests): Add tst-CMPLX2.
54698         * math/tst-CMPLX2.c: New file.
54700 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54702         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54704         * math/libm-test.inc (jn_test): Add missing L suffix.
54706 2012-02-06  Marek Polacek  <polacek@redhat.com>
54708         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54709         * sysdeps/i386/fpu/e_powf.S: Likewise.
54710         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54711         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54712         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54713         * sysdeps/i386/fpu/e_pow.S: Likewise.
54714         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54715         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54716         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54717         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54718         * sysdeps/i386/fpu/e_log2.S: Likewise.
54719         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54720         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54721         * sysdeps/i386/fpu/e_powl.S: Likewise.
54722         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54723         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54724         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54725         * sysdeps/i386/fpu/e_logl.S: Likewise.
54726         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54727         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54728         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54729         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54730         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54731         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54732         * sysdeps/i386/fpu/e_log.S: Likewise.
54733         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54734         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54735         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54736         * sysdeps/i386/fpu/e_logf.S: Likewise.
54737         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54738         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54739         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54740         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54741         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54742         * sysdeps/i386/fpu/e_log10.S: Likewise.
54743         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54744         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54745         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54746         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54747         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54748         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54749         * sysdeps/i386/asm-syntax.h: Likewise.
54750         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54751         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54752         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54753         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54754         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54755         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54756         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54757         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54758         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54759         * sysdeps/powerpc/sysdep.h: Likewise.
54760         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54761         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54763 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54765         [BZ #411]
54766         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54768 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54770         * sysdeps/i386/sysdep.h: Include <features.h>.
54771         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54772         version.
54774 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54776         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54777         Define.
54778         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54779         LOAD_PIC_REG_STR.
54781 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54783         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54784         (SETUP_PIC_REG): Use GET_PC_THUNK.
54785         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54786         macro.
54788 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54790         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54791         for non-PIC compilation.
54792         (SETUP_PIC_REG): Add .p2align directive.
54793         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54794         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54795         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54796         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54797         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54798         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54799         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54800         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54801         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54802         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54803         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54804         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54805         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54806         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54807         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54808         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54809         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54810         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54811         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54812         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54813         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54814         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54815         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54816         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54817         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54818         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54819         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54820         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54821         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54822         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54823         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54824         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54825         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54826         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54827         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54828         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54829         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54830         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54831         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54832         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54833         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54835 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54837         * math/tst-CMPLX.c: Include <stdio.h>.
54839 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54841         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54842         float.
54843         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54844         * sysdeps/sparc/bits/mathdef.h: Likewise.
54846 2012-01-31  Marek Polacek  <polacek@redhat.com>
54848         * libio/libio.h: Don't define _PARAMS.
54849         * locale/programs/config.h: Don't define PARAMS.
54850         * stdlib/strtol_l.c: Likewise.
54851         (__strtol_l): Remove PARAMS from the prototype.
54853 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54855         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54856         names.  Just use the correct names.  Remove unnecessary wrapper
54857         functions.
54858         * malloc/arena.c: Likewise.
54859         * malloc/hooks.c: Likewise.
54861         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54862         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54863         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54865 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54867         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54868         into tail calls.
54869         (update_get_addr): New function.
54870         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54871         GET_ADDR_MODULE parameter.
54873 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54875         * crypt/cert.c: Remove __STDC__ conditionals.
54876         * crypt/crypt-entry.c: Likewise.
54877         * crypt/crypt_util.c: Likewise.
54878         * libio/filedoalloc.c: Likewise.
54879         * libio/fileops.c: Likewise.
54880         * libio/genops.c: Likewise.
54881         * libio/iofclose.c: Likewise.
54882         * libio/iofdopen.c: Likewise.
54883         * libio/iofopen.c: Likewise.
54884         * libio/iofopen64.c: Likewise.
54885         * libio/iogetdelim.c: Likewise.
54886         * libio/iopopen.c: Likewise.
54887         * libio/obprintf.c: Likewise.
54888         * libio/oldfileops.c: Likewise.
54889         * libio/oldiofclose.c: Likewise.
54890         * libio/oldiofdopen.c: Likewise.
54891         * libio/oldiofopen.c: Likewise.
54892         * libio/oldiopopen.c: Likewise.
54893         * libio/wfiledoalloc.c: Likewise.
54894         * libio/wgenops.c: Likewise.
54895         * locale/programs/xmalloc.c: Likewise.
54896         * misc/syslog.c: Likewise.
54897         * stdio-common/xbug.c: Likewise.
54898         * string/memchr.c: Likewise.
54899         * string/memcmp.c: Likewise.
54900         * string/memrchr.c: Likewise.
54901         * string/rawmemchr.c: Likewise.
54902         * sysdeps/posix/getcwd.c: Likewise.
54903         * time/strftime_l.c: Likewise.
54905 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54907         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54908         * config.make.in (config-cflags-sse2avx): Define.
54909         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54910         Fix typo.
54912 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54914         * scripts/config.guess: Update from upstream config git repository.
54915         * scripts/config.sub: Likewise.
54917 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54919         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54920         (EM_NUM): Update.
54921         (R_TILEPRO_*, R_TILEGX_*): New macros.
54923         * scripts/firstversions.awk: Fix bug in version range handling.
54925         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54927         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54929         * include/sys/epoll.h: New file.
54930         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54931         libc_hidden_def.
54933 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54935         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54936         Avoid unnecessary __WORDSIZE == 64 test.
54937         (fmaxf): Use VEX format if possible.
54938         (fmax): Likewise.
54939         (fminf): Likewise.
54940         (fmin): Likewise.
54942         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54943         * math/math_private.h: Remove libc_fegetround* and
54944         libc_fesetround*.
54945         * sysdeps/i386/configure.in: Check for -msse2avx.
54946         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54947         also if SSE2AVX is defined.
54948         Remove libc_fegetround* and libc_fesetround*.
54949         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54950         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54951         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54952         of HAS_YMM_USABLE.
54953         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54954         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54955         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54956         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54957         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54959         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54961 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54963         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54964         size is not set.
54965         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54967 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54969         [BZ #13618]
54970         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54971         relocation.
54972         * Makeconfig (libm): Define.
54973         * elf/Makefile: Add rules to build and run tst-relsort1.
54974         * elf/tst-relsort1.c: New file.
54975         * elf/tst-relsort1mod1.c: New file.
54976         * elf/tst-relsort1mod2.c: New file.
54978 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54980         * math/s_ldexp.c: Remove __STDC__ conditionals.
54981         * math/s_ldexpf.c: Likewise.
54982         * math/s_ldexpl.c: Likewise.
54983         * math/s_nextafter.c: Likewise.
54984         * math/s_nexttowardf.c: Likewise.
54985         * math/s_significand.c: Likewise.
54986         * math/s_significandf.c: Likewise.
54987         * math/s_significandl.c: Likewise.
54988         * math/w_jnl.c: Likewise.
54989         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54990         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54991         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54992         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54993         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54994         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54995         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54996         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54997         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54998         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54999         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55000         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55001         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55002         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55003         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55004         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55005         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55006         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55007         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55008         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55009         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55010         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55011         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55012         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55013         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55014         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55015         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55016         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55017         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55018         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55019         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55020         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55021         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55022         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55023         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55024         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55025         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55026         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55027         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55028         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55029         * sysdeps/ieee754/k_standard.c: Likewise.
55030         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55031         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55032         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55033         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55034         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55035         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55036         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55037         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55038         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55039         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55040         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55041         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55042         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55043         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55044         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55045         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55046         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55047         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55048         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55049         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55050         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55051         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55052         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55053         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55054         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55055         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55056         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55057         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55058         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55059         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55060         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55061         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55062         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55063         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55064         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55065         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55066         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55067         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55068         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55069         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55070         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55071         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55072         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55073         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55074         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55075         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55076         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55077         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55078         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55079         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55080         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55081         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55082         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55083         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55084         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55085         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55086         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55087         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55088         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55089         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55090         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55091         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55092         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55093         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55094         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55095         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55096         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55097         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55098         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55099         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55100         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55101         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55102         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55103         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55104         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55105         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55106         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55107         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55108         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55109         * sysdeps/ieee754/s_matherr.c: Likewise.
55110         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55111         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55112         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55113         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55115 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55117         * crypt/md5.h: Remove __STDC__ conditionals.
55118         * libio/libioP.h: Likewise.
55119         * locale/programs/config.h: Likewise.
55120         * sysdeps/generic/sysdep.h: Likewise.
55121         * sysdeps/i386/asm-syntax.h: Likewise.
55122         * sysdeps/s390/asm-syntax.h: Likewise.
55123         * sysdeps/unix/sysdep.h: Likewise.
55124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55127 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55129         * libio/libio.h: Remove __STDC__ conditionals.
55130         * malloc/obstack.h: Likewise.
55131         * math/complex.h: Likewise.
55132         * math/math.h: Likewise.
55133         * sysdeps/generic/_G_config.h: Likewise.
55134         * sysdeps/gnu/_G_config.h: Likewise.
55135         * sysdeps/mach/hurd/_G_config.h: Likewise.
55136         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55137         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55138         * sysdeps/sparc/bits/mathdef.h: Likewise.
55140 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55142         [BZ #13583]
55143         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55144         Clean up HAS_* macros.
55145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55146         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55147         possible.
55148         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55149         HAS_AVX.
55150         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55151         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55152         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55153         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55154         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55156 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55158         * elf/tst-unique3.cc (gets): Remove declaration.
55159         * elf/tst-unique3lib.cc (gets): Likewise.
55160         * elf/tst-unique3lib2.cc (gets): Likewise.
55161         * elf/tst-unique4.cc (gets): Likewise.
55163 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55165         * include/stdio.h: Add C++ protection.  Add gets declarations and
55166         definitions.
55167         * debug/tst-chk1.c: Don't declare gets here.
55168         * stdio-common/tst-gets.c: Likewise.
55170 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55172         * posix/glob: Remove directory.
55174 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55176         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55178 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55180         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55181         of the non-standard EPFNOSUPPORT.
55183 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55185         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55186         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55187         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55189 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55191         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55193 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55195         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55196         transient errors.
55197         * nscd/grpcache.c (cache_addgr): Likewise.
55198         * nscd/hstcache.c (cache_addhst): Likewise.
55199         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55200         * nscd/pwdcache.c (cache_addpw): Likewise.
55201         * nscd/servicescache.c (cache_addserv): Likewise.
55203 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55205         * malloc/malloc.c: Various cleanups.
55206         * malloc/hooks.c: Likewise.
55208         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55209         * stdlib/bug-fmtmsg1.c: New file.
55211         * stdlib/fmtmsg.c (init): Add missing unlock.
55212         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55214 2012-01-12  Marek Polacek  <polacek@redhat.com>
55216         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55217         and _GNU_SOURCE.
55219 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55221         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55222         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55223         macro to ensure uniqueness of label name.
55224         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55225         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55227 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55229         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55231         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55232         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55233         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55234         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55236 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55238         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55240         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55241         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55242         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55244         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55246         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55247         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55248         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55249         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55251         * math/bits/math-finite.h: Add ldexp support.
55253 2012-01-10  Marek Polacek  <polacek@redhat.com>
55255         * locale/programs/localedef.h (show_archive_content): Add noreturn
55256         attribute.
55258 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55260         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55262 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55264         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55266         * io/Makefile (headers): Add bits/poll2.h.
55268 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55271         typo #include statement.
55273 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55275         * include/sys/cdefs.h: Define __attribute_alloc_size.
55276         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55277         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55278         * elf/pldd.c: Likewise.
55279         * iconv/iconv_charmap.c: Likewise.
55280         * iconv/iconvconfig.c: Likewise.
55281         * iconv/strtab.c: Likewise.
55282         * locale/programs/locale.c: Likewise.
55283         * locale/programs/localedef.h: Likewise.
55284         * locale/programs/simple-hash.c: Likewise.
55285         * nscd/nscd.h: Likewise.
55286         * nss/makedb.c: Likewise.
55287         * sysdeps/generic/ldconfig.h: Likewise.
55288         * locale/programs/localedef.c: Remove xmalloc prototype.
55289         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55291 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55293         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55294         appropriate.
55296 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55298         * math/Makefile (tests): Add tst-CMPLX.
55299         * math/tst-CMPLX.c: New file.
55301         * math/complex.h (CMPLXL): Fix typo.
55303         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55304         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55305         GLIBC_2.16.
55306         * debug/tst-chk1.c: Add poll and ppoll tests.
55307         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55308         * include/sys/poll.h: Add hidden proto for ppoll.
55309         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55310         * sysdeps/mach/hurd/ppoll.c: Likewise.
55311         * io/ppoll.c: Likewise.
55312         * debug/poll_chk.c: New file.
55313         * debug/ppoll_chk.c: New file.
55314         * include/bits/poll2.h: New file.
55315         * io/bits/poll2.h: New file.
55317         [BZ #1350]
55318         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55320         * configure.in: static is always set to yes.  Remove.
55321         * config.make.in: Don't set build-static.
55322         * Makeconfig: Remove use of build-static.
55323         * dlfcn/Makefile: Likewise.
55324         * elf/Makefile: Likewise.
55325         * math/Makefile: Likewise.
55326         * misc/Makefile: Likewise.
55327         * nptl/Makefile: Likewise.
55328         * sysdeps/mach/hurd/Makefile: Likewise.
55330         * configure.in: PWD_P is not used anymore.
55331         * config.make.in: Remove PWD_P entry.
55333         * configure.in: Remove last remnants of RANLIB.
55334         No need to check for signed size_t anymore.
55335         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55336         and IA-64.
55337         Remove __builtin_expect test because we require at least gcc 3.4.
55338         * aclocal.m4: Likewise.
55340         * wcsmbs/mbrtoc16.c: Implement using towc function.
55341         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55342         * wcsmbs/wcsmbsload.c: Likewise.
55343         * iconv/gconv_simple.c: Likewise.
55344         * iconv/gconv_int.h: Likewise.
55345         * iconv/gconv_builtin.h: Likewise.
55346         * iconv/iconv_prog.c: Remove CHAR16 handling.
55348         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55350         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55352         * configure.in: Remove --with-elf and --enable-bounded options.
55353         Dont set base_machine for ia64.  More non-ELF conditions removed.
55354         Remove testing and setting of leading underscore information.
55355         * config.make.in (build-bounded): Set to no.
55356         * config.h.in: Remove NO_UNDERSCORES entry.
55357         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55358         them.
55359         * csu/start.c: Remove !NO_UNDERSCORE code.
55360         * locale/localeinfo.h: Likewise.
55361         * sysdeps/generic/machine-gmon.h: Likewise.
55362         * sysdeps/generic/sysdep.h: Likewise.
55363         * sysdeps/i386/sysdep.h: Likewise.
55364         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55365         * sysdeps/mach/sysdep.h: Likewise.
55366         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55367         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55368         * sysdeps/sh/sysdep.h: Likewise.
55369         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55370         * sysdeps/unix/i386/sysdep.S: Likewise.
55371         * sysdeps/unix/sparc/start.c: Likewise.
55372         * sysdeps/unix/sparc/sysdep.S: Likewise.
55373         * sysdeps/unix/sparc/sysdep.h: Likewise.
55374         * sysdeps/unix/start.c: Likewise.
55375         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55376         * sysdeps/x86_64/sysdep.h: Likewise.
55378 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55380         [BZ #13553]
55381         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55382         for non-gcc.
55383         * argp/argp-fmtstream.h: Use const instead __const.
55384         * argp/argp.h: Likewise.
55385         * assert/assert.h: Likewise.
55386         * bits/fenv.h: Likewise.
55387         * bits/sched.h: Likewise.
55388         * bits/sigset.h: Likewise.
55389         * bits/sigthread.h: Likewise.
55390         * catgets/nl_types.h: Likewise.
55391         * conform/data/pthread.h-data: Likewise.
55392         * crypt/crypt-private.h: Likewise.
55393         * crypt/crypt.h: Likewise.
55394         * crypt/crypt_util.c: Likewise.
55395         * ctype/ctype.h: Likewise.
55396         * debug/execinfo.h: Likewise.
55397         * debug/mbsnrtowcs_chk.c: Likewise.
55398         * debug/mbsrtowcs_chk.c: Likewise.
55399         * debug/wcsnrtombs_chk.c: Likewise.
55400         * debug/wcsrtombs_chk.c: Likewise.
55401         * debug/wcstombs_chk.c: Likewise.
55402         * dirent/dirent.h: Likewise.
55403         * dlfcn/dlfcn.h: Likewise.
55404         * elf/neededtest4.c: Likewise.
55405         * grp/grp.h: Likewise.
55406         * gshadow/gshadow.h: Likewise.
55407         * iconv/gconv.h: Likewise.
55408         * iconv/gconv_int.h: Likewise.
55409         * iconv/gconv_simple.c: Likewise.
55410         * iconv/iconv.h: Likewise.
55411         * iconv/loop.c: Likewise.
55412         * iconv/skeleton.c: Likewise.
55413         * include/aio.h: Likewise.
55414         * include/aliases.h: Likewise.
55415         * include/argz.h: Likewise.
55416         * include/arpa/inet.h: Likewise.
55417         * include/assert.h: Likewise.
55418         * include/dirent.h: Likewise.
55419         * include/dlfcn.h: Likewise.
55420         * include/execinfo.h: Likewise.
55421         * include/fcntl.h: Likewise.
55422         * include/fenv.h: Likewise.
55423         * include/glob.h: Likewise.
55424         * include/grp.h: Likewise.
55425         * include/libintl.h: Likewise.
55426         * include/mntent.h: Likewise.
55427         * include/netdb.h: Likewise.
55428         * include/pwd.h: Likewise.
55429         * include/rpc/netdb.h: Likewise.
55430         * include/sched.h: Likewise.
55431         * include/search.h: Likewise.
55432         * include/shadow.h: Likewise.
55433         * include/signal.h: Likewise.
55434         * include/stdio.h: Likewise.
55435         * include/stdlib.h: Likewise.
55436         * include/string.h: Likewise.
55437         * include/sys/socket.h: Likewise.
55438         * include/sys/stat.h: Likewise.
55439         * include/sys/statfs.h: Likewise.
55440         * include/sys/statvfs.h: Likewise.
55441         * include/sys/syslog.h: Likewise.
55442         * include/sys/time.h: Likewise.
55443         * include/sys/uio.h: Likewise.
55444         * include/time.h: Likewise.
55445         * include/unistd.h: Likewise.
55446         * include/utmp.h: Likewise.
55447         * include/wchar.h: Likewise.
55448         * include/wctype.h: Likewise.
55449         * inet/aliases.h: Likewise.
55450         * inet/arpa/inet.h: Likewise.
55451         * inet/netinet/ether.h: Likewise.
55452         * inet/netinet/in.h: Likewise.
55453         * intl/libintl.h: Likewise.
55454         * io/bits/fcntl2.h: Likewise.
55455         * io/fcntl.h: Likewise.
55456         * io/ftw.h: Likewise.
55457         * io/sys/poll.h: Likewise.
55458         * io/sys/stat.h: Likewise.
55459         * io/sys/statfs.h: Likewise.
55460         * io/sys/statvfs.h: Likewise.
55461         * io/utime.h: Likewise.
55462         * libio/bits/stdio.h: Likewise.
55463         * libio/bits/stdio2.h: Likewise.
55464         * libio/libio.h: Likewise.
55465         * libio/libioP.h: Likewise.
55466         * libio/stdio.h: Likewise.
55467         * locale/lc-ctype.c: Likewise.
55468         * locale/locale.h: Likewise.
55469         * login/utmp.h: Likewise.
55470         * malloc/arena.c: Likewise.
55471         * malloc/malloc.c: Likewise.
55472         * malloc/malloc.h: Likewise.
55473         * malloc/mcheck.c: Likewise.
55474         * malloc/mtrace.c: Likewise.
55475         * math/bits/mathcalls.h: Likewise.
55476         * math/fenv.h: Likewise.
55477         * math/math_private.h: Likewise.
55478         * misc/bits/error.h: Likewise.
55479         * misc/bits/syslog.h: Likewise.
55480         * misc/err.h: Likewise.
55481         * misc/error.h: Likewise.
55482         * misc/fstab.h: Likewise.
55483         * misc/mntent.h: Likewise.
55484         * misc/regexp.h: Likewise.
55485         * misc/search.h: Likewise.
55486         * misc/sgtty.h: Likewise.
55487         * misc/sys/mman.h: Likewise.
55488         * misc/sys/syslog.h: Likewise.
55489         * misc/sys/uio.h: Likewise.
55490         * misc/sys/xattr.h: Likewise.
55491         * misc/ttyent.h: Likewise.
55492         * nis/rpcsvc/ypclnt.h: Likewise.
55493         * nss/nss.h: Likewise.
55494         * posix/bits/unistd.h: Likewise.
55495         * posix/fnmatch.h: Likewise.
55496         * posix/glob.h: Likewise.
55497         * posix/sched.h: Likewise.
55498         * posix/spawn.h: Likewise.
55499         * posix/sys/wait.h: Likewise.
55500         * posix/unistd.h: Likewise.
55501         * posix/wordexp.h: Likewise.
55502         * pwd/pwd.h: Likewise.
55503         * resolv/netdb.h: Likewise.
55504         * resource/sys/resource.h: Likewise.
55505         * rt/aio.h: Likewise.
55506         * rt/bits/mqueue2.h: Likewise.
55507         * rt/mqueue.h: Likewise.
55508         * shadow/shadow.h: Likewise.
55509         * signal/signal.h: Likewise.
55510         * socket/send.c: Likewise.
55511         * socket/sendto.c: Likewise.
55512         * socket/sys/socket.h: Likewise.
55513         * stdio-common/printf.h: Likewise.
55514         * stdlib/bits/stdlib.h: Likewise.
55515         * stdlib/fmtmsg.h: Likewise.
55516         * stdlib/monetary.h: Likewise.
55517         * stdlib/stdlib.h: Likewise.
55518         * stdlib/ucontext.h: Likewise.
55519         * streams/stropts.h: Likewise.
55520         * string/argz.h: Likewise.
55521         * string/bits/string2.h: Likewise.
55522         * string/string.h: Likewise.
55523         * string/strings.h: Likewise.
55524         * sunrpc/rpc/auth.h: Likewise.
55525         * sunrpc/rpc/auth_des.h: Likewise.
55526         * sunrpc/rpc/clnt.h: Likewise.
55527         * sunrpc/rpc/netdb.h: Likewise.
55528         * sunrpc/rpc/pmap_clnt.h: Likewise.
55529         * sunrpc/rpc/xdr.h: Likewise.
55530         * sysdeps/generic/inttypes.h: Likewise.
55531         * sysdeps/generic/net/if.h: Likewise.
55532         * sysdeps/generic/sys/swap.h: Likewise.
55533         * sysdeps/gnu/net/if.h: Likewise.
55534         * sysdeps/gnu/utmpx.h: Likewise.
55535         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55536         * sysdeps/i386/i486/bits/string.h: Likewise.
55537         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55538         * sysdeps/s390/bits/string.h: Likewise.
55539         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55540         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55541         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55542         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55543         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55544         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55545         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55546         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55547         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55548         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55549         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55550         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55551         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55552         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55553         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55554         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55555         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55556         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55557         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55558         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55559         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55560         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55561         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55562         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55563         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55564         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55565         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55566         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55567         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55568         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55569         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55570         * sysvipc/sys/ipc.h: Likewise.
55571         * sysvipc/sys/msg.h: Likewise.
55572         * sysvipc/sys/sem.h: Likewise.
55573         * sysvipc/sys/shm.h: Likewise.
55574         * termios/termios.h: Likewise.
55575         * time/sys/time.h: Likewise.
55576         * time/time.h: Likewise.
55577         * wcsmbs/bits/wchar2.h: Likewise.
55578         * wcsmbs/uchar.h: Likewise.
55579         * wcsmbs/wchar.h: Likewise.
55580         * wctype/wctype.h: Likewise.
55582         [BZ #13551]
55583         * Makeconfig: Remove all but ELF support including AIX support.
55584         * Makerules: Likewise.
55585         * config.h.in: Likewise.
55586         * config.make.in: Likewise.
55587         * configure: Likewise.
55588         * configure.in: Likewise.
55589         * csu/Makefile: Likewise.
55590         * csu/version.c: Likewise.
55591         * debug/Makefile: Likewise.
55592         * dlfcn/Makefile: Likewise.
55593         * elf/Makefile: Likewise.
55594         * extra-lib.mk: Likewise.
55595         * iconv/Makefile: Likewise.
55596         * include/libc-symbols.h: Likewise.
55597         * include/shlib-compat.h: Likewise.
55598         * resolv/Makefile: Likewise.
55599         * resolv/res_libc.c: Likewise.
55600         * rt/Makefile: Likewise.
55601         * sysdeps/i386/asm-syntax.h: Likewise.
55602         * sysdeps/i386/sysdep.h: Likewise.
55603         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55604         * sysdeps/mach/sysdep.h: Likewise.
55605         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55606         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55607         * sysdeps/s390/asm-syntax.h: Likewise.
55608         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55609         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55610         * sysdeps/sh/sysdep.h: Likewise.
55611         * sysdeps/unix/sparc/sysdep.h: Likewise.
55612         * sysdeps/wordsize-32/divdi3.c: Likewise.
55613         * sysdeps/x86_64/sysdep.h: Likewise.
55615         * argp/Versions: Remove _argp_unlock_xxx.
55617         [BZ #13559]
55618         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55619         * abilist/libBrokenLocale.abilist: Likewise.
55620         * abilist/libanl.abilist: Likewise.
55621         * abilist/libc.abilist: Likewise.
55622         * abilist/libcrypt.abilist: Likewise.
55623         * abilist/libdl.abilist: Likewise.
55624         * abilist/libm.abilist: Likewise.
55625         * abilist/libnsl.abilist: Likewise.
55626         * abilist/libpthread.abilist: Likewise.
55627         * abilist/libresolv.abilist: Likewise.
55628         * abilist/librt.abilist: Likewise.
55629         * abilist/libthread_db.abilist: Likewise.
55630         * abilist/libutil.abilist: Likewise.
55631         * abilist/libnss_db.abilist: New file.
55633         * scripts/abilist.awk: Add support for indirect functions.
55635         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55637         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55639         * shlib-versions: Remove entries for ports architectures.
55641         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55642         files in ports.
55643         * elf/stackguard-macros.h: Remove support for IA-64.
55644         * elf/tst-auditmod1.c: Likewise.
55645         * sysdeps/generic/ldsodefs.h: Likewise.
55647         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55648         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55649         configure files.
55651         [BZ #13552]
55652         * configure.in: Remove --enable-omitfp support.
55653         * FAQ.in: Adjust.
55654         * config.make.in: Likewise.
55655         * Makeconfig: Likewise.
55656         * manual/install.texi: Likewise.
55658         In case anyone cares, the IA-64 architecture could move to ports.
55659         * sysdeps/ia64/*: Removed.
55660         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55661         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55663         [BZ #13555]
55664         * configure.in: Remove entries for unsupported architectures.
55666         [BZ #13533]
55667         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55668         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55669         routines.
55670         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55671         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55672         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55673         fall back to using wcrtomb.
55674         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55675         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55676         renaming.
55677         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55678         * wcsmbs/tst-c16c32-1.c: New file.
55680         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55681         local variable.
55683         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55685         * elf/tst-unique3.cc: Add explicit declaration of gets.
55686         * elf/tst-unique3lib.cc: Likewise.
55687         * elf/tst-unique3lib2.cc: Likewise.
55688         * elf/tst-unique4.cc: Likewise.
55690         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55692 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55694         [BZ #13566]
55695         * assert/assert.h (static_assert): Don't define for C++.
55696         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55697         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55699 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55701         * iconv/loop.c (single loop): Fix assertion in storing of
55702         remaining bytes.
55704         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55706 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55708         * posix/getconf.c: Update copyright year.
55709         * nss/getent.c: Likewise.
55710         * nss/makedb.c: Likewise.
55711         * iconv/iconvconfig.c: Likewise.
55712         * iconv/iconv_prog.c: Likewise.
55713         * elf/ldconfig.c: Likewise.
55714         * elf/pldd.c: Likewise.
55715         * elf/sotruss.ksh: Likewise.
55716         * catgets/gencat.c: Likewise.
55717         * csu/version.c: Likewise.
55718         * elf/ldd.bash.in: Likewise.
55719         * elf/sprof.c (print_version): Likewise.
55720         * locale/programs/locale.c: Likewise.
55721         * locale/programs/localedef.c: Likewise.
55722         * login/programs/pt_chown.c: Likewise.
55723         * nscd/nscd.c (print_version): Likewise.
55724         * debug/xtrace.sh: Likewise.
55725         * malloc/memusage.sh: Likewise.
55726         * malloc/mtrace.pl: Likewise.
55727         * debug/catchsegv.sh: Likewise.
55729 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55731         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55732         pure attribute.
55734 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55736         [BZ #13533]
55737         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55738         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55739         transformations.
55740         * iconv/gconv_int.h: Likewise.
55741         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55742         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55743         from libc for GLIBC_2.16.
55744         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55745         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55746         * wcsmbs/uchar.h: Really define mbstate_t.
55747         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55748         * wcsmbs/c16rtomb.c: New file.
55749         * wcsmbs/mbrtoc16.c: New file.
55750         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55751         for C/POSIX locale.
55752         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55753         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55755         * wcsmbs/wchar.h: Add missing __restrict.
55757 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55759         [BZ #13532]
55760         * time/Makefile (routines): Add timespec_get.
55761         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55762         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55763         timespec for ISO C11.
55764         * time/timespec_get.c: New file.
55765         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55766         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55768         [BZ #13531]
55769         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55770         * stdlib/stdlib.h: Declare aligned_alloc.
55771         * Versions.def: Add GLIBC_2.16 for libc.
55772         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55774         [BZ 13527]
55775         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55776         ISO C11.
55778         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55779         code.
55781         [BZ #13528]
55782         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55784         [BZ #13529]
55785         * assert/assert.h (static_assert): Define.
55787         * version.h: Update for 2.16 development version.
55789         [BZ #13526]
55790         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55791         _ISOC11_SOURCE.
55793         * version.h (RELEASE): Bump for 2.15 release.
55794         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55796         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55797         Patch by Marek Polacek <mpolacek@redhat.com>.
55799         * bits/byteswap.h: Protect long long constants with __extension__.
55800         * sysdeps/i386/bits/byteswap.h: Likewise.
55801         * sysdeps/ia64/bits/byteswap.h: Likewise.
55802         * sysdeps/s390/bits/byteswap.h: Likewise.
55803         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55805 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55807         [BZ #13540]
55808         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55809         destination buffer.
55810         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55812 2011-12-23  Marek Polacek  <polacek@redhat.com>
55814         * elf/dl-addr.c (determine_info): Add inline keyword.
55815         * elf/tst-auditmod4b.c (check_avx): Likewise.
55816         * elf/tst-auditmod6b.c (check_avx): Likewise.
55817         * elf/tst-auditmod6c.c (check_avx): Likewise.
55818         * elf/tst-auditmod7b.c (check_avx): Likewise.
55820 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55822         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55823         !__SSE_MATH__.
55825 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55827         [BZ #13540]
55828         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55829         processing for last bytes.
55831 2011-08-06  Bruno Haible  <bruno@clisp.org>
55833         [BZ #13061]
55834         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55835         U+0385, not to U+1FEE.
55837         [BZ #13062]
55838         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55839         entry for U+00A5 U+0301.
55841 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55843         [BZ #13166]
55844         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55845         buffer for the output is too small.
55847         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55848         optimization.
55850         [BZ #13185]
55851         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55852         SSE flags if possible.
55854 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55856         [BZ #13540]
55857         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55858         processing for last bytes.
55860 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55862         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55863         (syscall-list-default-options, syscall-list-default-condition)
55864         (syscall-list-includes): Define.
55865         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55866         list of ABIs and options and #if conditions for each ABI.  Do not
55867         handle common syscalls between ABIs specially.
55868         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55869         Remove.
55870         (syscall-list-variants, syscall-list-32bit-options)
55871         (syscall-list-32bit-condition, syscall-list-64bit-options)
55872         (syscall-list-64bit-condition): Define.
55873         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55874         (syscall-list-variants, syscall-list-32bit-options)
55875         (syscall-list-32bit-condition, syscall-list-64bit-options)
55876         (syscall-list-64bit-condition): Define.
55877         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55878         Remove.
55879         (syscall-list-variants, syscall-list-32bit-options)
55880         (syscall-list-32bit-condition, syscall-list-64bit-options)
55881         (syscall-list-64bit-condition): Define.
55882         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55883         Remove.
55884         (syscall-list-variants, syscall-list-32bit-options)
55885         (syscall-list-32bit-condition, syscall-list-64bit-options)
55886         (syscall-list-64bit-condition): Define.
55888 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55890         * locale/iso-639.def: Add brx entry.
55892         [BZ #13328]
55893         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55894         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55896         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55897         __feraiseexcept_renamed.
55899 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55901         [BZ #13538]
55902         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55903         EPOLLET with unsigned values.
55904         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55905         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55907         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55908         to large cancellation.
55909         * math/s_cacoshf.c: Likewise.
55910         * math/s_cacoshl.c: Likewise.
55912 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55914         [BZ #13305]
55915         [BZ #12786]
55916         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55917         * math/s_cacoshf.c: Likewise.
55918         * math/s_cacoshl.c: Likewise.
55920 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55922         [BZ #13439]
55923         * iconv/gconv.h: Define __GCONV_SWAP.
55924         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55925         * iconvdata/utf-16.c: Likewise.
55926         * iconvdata/utf-32.c: Likewise.
55928 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55930         [BZ #13524]
55931         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55932         numerator after shifting it by one limb.
55934 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55936         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55937         under [__USE_EXTERN_INLINES].
55939 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55941         [BZ #13446]
55942         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55944 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55946         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55947         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55948         optimized code.
55949         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55950         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55951         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55952         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55953         for strncasecmp/strncasecmp_l compilation.
55954         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55955         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55957 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55959         [BZ #13484]
55960         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55961         of __asm__.
55963 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55965         [BZ #13506]
55966         * time/tzfile.c (__tzfile_read): Check values from file header.
55968 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55970         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55971         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55972         * powerpc/powerpc32/dl-start.S: Likewise.
55973         * powerpc/powerpc32/elf/start.S: Likewise.
55974         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55975         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55976         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55977         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55978         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55979         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55980         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55981         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55982         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55983         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55984         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55985         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55986         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55987         * powerpc/powerpc32/memset.S: Likewise.
55988         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55989         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55990         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55991         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55992         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55993         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55994         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55995         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55996         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55997         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55998         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55999         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56000         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56002 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56004         * math/libm-test.inc: Added more nearbyint tests.
56005         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56006         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56007         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56008         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56010 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56012         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56013         FD_CLOEXEC.
56015 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56017         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56018         Add wcscpy-ssse3 wcscpy-c.
56019         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56020         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56021         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56022         * sysdeps/x86_64/wcschr.S: New file.
56023         * sysdeps/x86_64/wcsrchr.S: New file.
56024         * string/test-strcmp.c: Remove checking of wcscmp function for
56025         wrong alignments.
56026         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56027         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56028         wcsrchr-sse2 wcsrchr-c.
56029         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56030         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56031         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56032         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56033         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56034         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56035         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56036         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56037         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56038         * wcsmbc/wcschr.c (WCSCHR): New macro.
56040 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56042         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56043         * wcsmbs/test-wcsrchr.c: New file.
56044         * string/test-strrchr.c: Add wcsrchr support.
56045         (WIDE): New macro.
56046         * wcsmbs/test-wcscpy.c: New file.
56047         * string/test-strcpy.c: Add wcscpy support.
56048         (WIDE): New macro.
56050 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56052         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56053         the inner loop.
56055 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56057         [BZ #13472]
56058         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56060 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56062         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56063         Minor optimizations.
56065         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56066         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56067         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56069 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56071         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56072         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56073         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56074         for gcc to avoid warnings.
56075         * inet/Makefile (tests): Add tst-checks.
56076         * inet/tst-checks.c: New file.
56078         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56079         warning.
56081         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56082         __wmemcmp_sse2.
56084         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56085         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56087         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56089 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56091         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56092         problem.
56094         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56096 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56098         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56099         conditional on GCC version.
56100         (__arch_compare_and_exchange_val_8_acq)
56101         (__arch_compare_and_exchange_val_16_acq)
56102         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56103         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56104         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56106 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56108         * sysdeps/sh/backtrace.c: New file.
56110 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56112         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56113         parenthesis.
56115 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56117         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56118         falling back to utime.
56120 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56122         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56123         expectations for float.
56125 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56127         * locale/weight.h (findidx): Add parameter len.
56128         * locale/weightwc.h (findidx): Likewise.
56129         * posix/fnmatch_loop.c (FCT): Adjust caller.
56130         * posix/regcomp.c (build_equiv_class): Likewise.
56131         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56132         * posix/regexec.c (check_node_accept_bytes): Likewise.
56133         * string/strcoll_l.c (STRCOLL): Likewise.
56134         * string/strxfrm_l.c (STRXFRM): Likewise.
56136 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56138         * Makefile.in: Remove CVSOPT handling.
56139         * configure.in: Remove use of AC_REVISION.
56140         * iconvdata/Makefile (distribute): No need to filter out CVS.
56141         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56142         handling.
56144 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56146         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56147         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56148         [USE_AS_STRNCASECMP_L]: Likewise.
56149         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56150         NO_TLS_DIRECT_SEG_REFS.
56151         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56152         Fix argument offsets for non-PIC.
56153         [USE_AS_STRNCASECMP_L]: Likewise.
56154         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56155         NO_TLS_DIRECT_SEG_REFS.
56157 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56159         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56160         O_CLOEXEC.
56161         * locale/loadlocale.c (_nl_load_locale): Likewise.
56163 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56165         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56166         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56167         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56168         (SYSCALL_GETTIME): Set errno on error.
56170         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56171         count references to noai6ai_cached.
56173 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56175         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56177         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56178         FD_CLOEXEC for /proc/self/maps.
56180         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56181         FD_CLOEXEC for /proc/meminfo.
56183         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56184         gai.conf.
56186         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56187         FD_CLOEXEC for given file.
56189         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56191         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56192         FD_CLOEXEC for /etc/hosts.
56193         (_gethtent): Likewise.
56195         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56197         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56198         cancellation and set FD_CLOEXEC for /etc/netgroup.
56200         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56201         reading /etc/publickey.
56203         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56204         allow cancellation when reading /etc/group.
56206         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56207         cancellation.
56208         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56210         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56211         when using data file.
56213         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56215         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56216         (write_nis_obj): Use "c" and "e" in fopen.
56218         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56220         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56222         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56224         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56226         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56227         locale.alias.
56229         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56231         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56233         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56235         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56236         file parsing and set FD_CLOEXEC.
56238 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56240         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56242 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56244         * malloc/arena.c (arena_get2): Don't call reused_arena when
56245         _int_new_arena failed.
56247 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56249         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56250         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56251         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56252         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56253         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56254         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56255         to compile strcasecmp and strncasecmp.
56256         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56257         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56259         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56261 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56263         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56264         locale-defines.sym to gen-as-const-headers.
56265         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56266         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56267         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56268         to compile strcasecmp and strncasecmp.
56269         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56270         strcasecmp_l and strncasecmp_l.
56271         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56272         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56273         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56274         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56275         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56276         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56277         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56278         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56279         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56280         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56281         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56283 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56285         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56286         result of SYSDEP_GETTIME_CPU to retval.
56287         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56288         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56290         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56291         variable.
56293         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56294         mantissa words.
56295         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56297         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56298         from unused variable.
56300         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56301         DWARF definitions.
56302         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56303         for assembling.
56305         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56306         over namespaces.
56308         * sunrpc/rpc_prot.c (rejected): Fix case value.
56310         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56311         unsigned long long int to avoid warnings in shift.
56313         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56314         of use of trans.
56315         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56316         variable tmp.
56318         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56319         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56320         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56322         * nis/nis_table.c (nis_list): Use variable of correct type for
56323         result of __follow_path call.
56325 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56327         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56328         of math functions ceil, trunc, floor, round, and sqrt, when
56329         avaliable on the platform.
56330         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56331         name clash.
56332         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56333         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56334         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56336 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56338         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56339         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56341 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56343         * include/unistd.h: Fix __readlink return type.
56344         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56346 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56348         * stdlib/ucontext.h: Undo last change for makecontext.
56350 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56352         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56354         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56355         * setjmp/setjmp.h: Mark functions as non-leaf.
56356         * setjmp/bits/setjmp2.h: Likewise.
56357         * stdlib/ucontext.h: Likewise.
56359 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56361         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56362         (reused_arena): Don't check arena limit.
56363         (arena_get2): Atomically check arena limit.
56365 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56367         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56368         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56370         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56371         instructions.
56373 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56375         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56376         handler when locking.
56378         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56379         Fix size of allocated buffer.
56381 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56383         [BZ #10103]
56384         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56385         declarations for long double functions.
56386         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56388         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56390 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56392         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56393         installed.
56395         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56396         is disabled.
56398 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56400         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56402 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56404         * include/alloca.h (stackinfo_alloca_round): Define.
56405         (extend_alloca): Use it.
56406         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56407         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56408         here.
56410         * scripts/check-local-headers.sh: Ignore libaudit.h.
56412         * nscd/Makefile (extra-objs): Make recursively expanded.
56414 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56416         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56417         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56419         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56420         * posix/tst-rfc3484-2.c: Likewise.
56421         * posix/tst-rfc3484-3.c: Likewise.
56423         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56424         process_vm_writev.
56425         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56426         process_vm_writev.
56427         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56428         process_vm_writev from libc using GLIBC_2.15 version.
56430         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56432 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56434         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56435         stack usage.
56437 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56439         [BZ #13367]
56440         * nss/getent.c (initgroups_keys): Show error message in case no group
56441         names are given.
56443         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56444         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56445         __bump_nl_timestamp.
56446         * nscd/connections (nscd_init): When host database is served open
56447         netlink socket and request notification about configuration changes.
56448         (main_loop_poll): Track netlink file descriptor and bump timestamp
56449         in case data becomes available.
56450         (main_loop_epoll): Likewise.
56451         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56452         (database_pers_head): Add extra_data fileds.
56453         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56454         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56455         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56456         Adjust caller.
56457         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56458         in6ai data, call __free_in6ai.
56459         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56460         Add -DHAVE_NETLINK.
56461         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56462         interface information.  Reuse previous data if netlink timestamp
56463         is not changed.
56464         (__bump_nl_timestamp): New function.
56465         (__free_in6ai): New function.
56467 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56469         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56470         close_not_cancel_no_status here.
56471         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56473 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56475         [BZ #13276]
56476         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56477         return value.
56479         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56480         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56481         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56483 2011-07-03  Andreas Jaeger  <aj@suse.de>
56485         [BZ #10709]
56486         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56487         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56488         * math/libm-test.inc (sin_test): Add test case.
56490 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56492         [BZ #13337]
56493         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56494         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56496         * elf/chroot_canon.c (chroot_canon): Cleanups.
56498         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56500         [BZ #13335]
56501         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56502         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56504         * string/test-strchr.c: Make usable for strchrnul testing.
56505         * string/test-strchrnul.c: New file.
56506         * string/Makefile (strop-tests): Add strchrnul.
56508         * po/it.po: Update from translation team.
56509         * po/es.po: Likewise.
56511 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56513         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56514         the three constants needed as parameters.  Drop the others.
56515         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56516         __m128i_strloadu_tolower.
56517         Create and initialize variable zero and use it in all the places
56518         where _mm_setzero_si128 was used.
56520         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56521         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56522         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56523         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56524         anymore.
56525         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56526         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56527         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56528         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56529         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56530         __mpranred, __mptan.
56531         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56532         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56533         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56534         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56535         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56536         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56537         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56538         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56539         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56541 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56543         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56544         redefine if SHARED.
56545         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56547         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56548         wide char related routines to wcsmbs subdir.
56550 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56552         [BZ #13344]
56553         * misc/sys/cdefs.h (__THROWNL): Define.
56554         * posix/unistd.h: Use __THREADNL instead of __THREAD
56555         for memory synchronization functions.
56557 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56559         [BZ #13349]
56560         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56561         doesn't exist.
56562         * manual/stdio.texi (Obstack Streams): Node removed.
56564 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56566         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56567         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56568         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56570         * math/math_private.h (math_force_eval): Allow non-addressable
56571         arguments.
56572         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56574 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56576         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56577         file is not needed.
56579         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56580         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56581         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56582         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56583         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56584         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56585         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56586         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56587         Add AVX variants.
56588         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56589         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56590         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56591         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56592         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56593         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56594         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56595         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56596         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56597         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56598         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56599         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56600         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56601         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56602         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56603         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56604         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56605         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56606         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56608         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56609         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56611         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56612         place.  Use VEX encoding when compiling for AVX.
56614 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56616         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56617         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56619         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56621 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56623         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56624         useless if() expression.
56625         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56626         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56627         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56628         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56629         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56630         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56631         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56632         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56633         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56634         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56635         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56636         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56637         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56638         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56639         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56640         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56641         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56642         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56643         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56645         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56647 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56649         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56650         condition.
56651         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56653 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56655         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56656         .text section.  Avoid duplicate constants.
56657         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56658         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56659         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56660         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56661         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56662         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56663         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56664         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56665         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56666         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56667         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56668         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56669         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56670         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56671         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56672         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56673         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56674         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56675         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56676         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56677         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56678         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56679         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56680         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56681         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56682         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56683         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56684         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56685         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56686         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56687         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56688         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56689         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56690         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56691         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56692         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56693         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56694         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56695         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56696         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56697         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56698         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56699         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56700         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56701         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56703 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56705         * sysdeps/x86_64/dla.h: Move to ...
56706         * sysdeps/x86_64/fpu/dla.h: ...here.
56707         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56708         situations.  Use __builtin_fma only for gcc 4.6 and up.
56710         * config.make.in: Add have-mfma4 entry.
56711         * configure.in: Substitute libc_cv_cc_fma4.
56712         * math/Makefile (dbl-only-routines): Add sincostab.
56713         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56714         Use __sincostab not sincos.
56715         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56716         name is a macro.
56717         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56718         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56719         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56720         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56721         using __copysign.
56722         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56723         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56724         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56725         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56726         and __inv.
56727         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56728         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56729         __copysign.
56730         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56731         define aliases when function name is a macro.
56732         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56733         sysdeps/ieee754/dbl-64/sincos.tbl.
56734         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56735         fma4-enabled routines.
56736         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56737         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56738         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56739         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56740         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56741         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56742         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56743         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56744         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56745         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56746         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56747         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56748         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56749         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56750         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56751         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56752         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56753         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56754         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56755         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56756         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56757         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56758         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56759         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56760         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56761         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56762         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56763         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56764         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56765         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56767         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56768         rename.
56769         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56770         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56771         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56772         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56774         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56775         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56776         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56778 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56780         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56782 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56784         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56786         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56787         prediction.
56788         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56790         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56791         Remove unused variable magic_bits.
56792         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56794         * string/strnlen.c: Define and use STRNLEN macro.
56795         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56796         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56797         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56798         * wcsmbs/wcslen.c: Define and use WCSLEN.
56799         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56800         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56801         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56802         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56803         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56804         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56805         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56807 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56809         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56810         strnlen-sse2-no-bsf.
56811         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56812         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56813         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56814         Add strnlen support.
56815         (USE_AS_STRNLEN): New macro.
56816         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56817         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56818         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56819         * sysdeps/x86_64/wcslen.S: New file.
56821 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56823         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56824         XMM-moves are used for copying on small sizes.
56826 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56828         * wcsmbs/Makefile (strop-tests): Add wcschr.
56829         * wcsmbs/test-wcschr.c: New file.
56830         * string/test-strchr.c: Update.
56831         Add wcschr support.
56832         (WIDE): New macro.
56834 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56836         * wcsmbs/Makefile (strop-tests): Add wcslen.
56837         * wcsmbs/test-wcslen.c: New file.
56838         * string/test-strlen.c: Update.
56839         Add wcslen support.
56840         (WIDE): New macro.
56842 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56844         * po/it.po: Update from translation team.
56846 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56848         * sysdeps/x86_64/wcscmp.S: Update.
56849         Fix wrong comparison semantics.
56850         wcscmp shall use signed comparison not unsigned.
56851         Don't use substraction to avoid overflow bug.
56852         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56853         * wcsmbc/wcscmp.c: Likewise.
56854         * string/test-strcmp.c: Likewise.
56855         Add new tests to check cases with negative values.
56857 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56859         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56860         * sysdeps/x86_64/dla.h: ...here.  New file.
56861         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56862         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56863         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56864         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56865         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56866         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56867         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56868         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56869         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56871 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56873         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56874         __ynl_finite aliases.
56876 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56880         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56881         define DLA_FMA.
56882         [DLA_FMA] (EMULV): Use DLA_FMA.
56883         [DLA_FMA] (MUL12): Use EMULV.
56884         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56885         that are not needed.
56886         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56887         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56888         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56889         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56890         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56891         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56892         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56894 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56896         * math/s_nan.c: Undef __nan.
56897         * math/s_nanf.c: Undef __nanf.
56898         * math/s_nanl.c: Undef __nanl.
56899         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56900         "math_private.h".
56902 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56904         * math/s_catan.c: Add branch predictions.
56905         * math/s_catanf.c: Likewise.
56906         * math/s_catanh.c: Likewise.
56907         * math/s_catanhf.c: Likewise.
56908         * math/s_catanhl.c: Likewise.
56909         * math/s_catanl.c: Likewise.
56910         * math/s_cexp.c: Likewise.
56911         * math/s_cexpf.c: Likewise.
56912         * math/s_cexpl.c: Likewise.
56913         * math/s_clog.c: Likewise.
56914         * math/s_clog10.c: Likewise.
56915         * math/s_clog10f.c: Likewise.
56916         * math/s_clog10l.c: Likewise.
56917         * math/s_clogf.c: Likewise.
56918         * math/s_clogl.c: Likewise.
56919         * math/s_csqrt.c: Likewise.
56920         * math/s_csqrtf.c: Likewise.
56921         * math/s_csqrtl.c: Likewise.
56922         * math/s_ctanf.c: Likewise.
56923         * math/s_ctanh.c: Likewise.
56924         * math/s_ctanhf.c: Likewise.
56925         * math/s_ctanhl.c: Likewise.
56926         * math/s_ctanl.c: Likewise.
56928         * math/math_private.h: Define __nan, __nanf, __nanl.
56929         * math/s_cacosh.c: Include <math_private.h>.
56930         * math/s_cacoshl.c: Likewise.
56931         * math/s_casinh.c: Likewise.
56932         * math/s_casinhf.c: Likewise.
56933         * math/s_casinhl.c: Likewise.
56934         * math/s_ccos.c: Rely entire on ccosh.
56935         * math/s_ccosf.c: Rely entire on ccoshf.
56936         * math/s_ccosl.c: Rely entirely on ccoshl.
56937         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56938         Remove tests for FE_INVALID.
56939         * math/s_ccoshf.c: Likewise.
56940         * math/s_ccoshl.c: Likewise.
56941         * math/s_csin.c: Likewise.
56942         * math/s_csinf.c: Likewise.
56943         * math/s_csinh.c Likewise.
56944         * math/s_csinhf.c: Likewise.
56945         * math/s_csinhl.c: Likewise.
56946         * math/s_csinl.c: Likewise.
56947         * math/s_ctan.c: Likewise.
56948         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56949         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56950         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56952 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56955         compilation problems.
56957         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56958         __builtin_expect.
56960 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56962         * sysdeps/i386/configure.in: Test for -mfma4 option.
56963         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56964         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56965         COMMON_CPUID_INDEX_80000001.
56966         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56967         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56968         use it if FMA3 is not supported.
56969         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56971         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56972         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56974 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56976         [BZ #12892]
56977         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56978         it would create a cycle with a link time dependency.
56980 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56982         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56983         instruction.
56984         * string/Makefile (strop-tests): Add rawmemchr.
56985         * string/test-rawmemchr.c: New file.
56987         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56988         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56989         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56990         when compiling str{,n}casecmp and when AVX is available.  Hook up
56991         new optimized code in initializers.
56993 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56995         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56996         __feraiseexcept instead of feraiseexcept.
56998 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
57000         * math/math_private.h: Define defaults for libc_fetestexcept and
57001         libc_feupdateenv.
57002         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57003         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57004         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57005         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57006         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57007         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57008         libc_fetestexcept and libc_feupdateenv.
57010         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57011         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57012         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57013         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57014         libc_feholdexcept_setround.
57016         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57017         Add s_nearbyint-c and s_nearbyintf-c.
57018         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57019         nearbyintf inlines.
57020         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57021         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57022         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57023         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57025         * math/math_private.h: Define defaults for libc_fegetround,
57026         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57027         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57028         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57029         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57030         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57031         standard functions.
57032         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57033         Remove comments and hacks for old compiler versions.
57034         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57035         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57036         libc_feholdexceptl.
57038 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57040         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57041         (__feraiseexcept_renamed): Add __NTH.
57042         (feraiseexcept): Add __NTH.  Rename local variables to fix
57043         namespace violations.
57045 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57047         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57049         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57051         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57052         recently added interfaces.
57053         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57055         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57056         about macro parameter expansion.
57058         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57059         __NO_MATH_INLINES is defined.  Cleanups.
57061         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57062         and __floorf is target has SSE4.1.
57063         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57064         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57065         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57066         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57068         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57069         name.
57070         (floorf): Likewise.
57072         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57074 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57076         * misc/sys/cdefs.h: Fix last change.
57078         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57079         database lookup.
57081 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57083         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57085         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57086         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57087         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57088         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57089         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57090         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57091         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57092         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57093         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57094         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57095         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57096         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57097         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57098         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57099         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57100         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57101         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57102         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57103         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57104         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57105         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57106         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57108         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57109         ceil, ceilf, floor, floorf.
57111         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57112         Perform IRELATIVE relocations last.
57114         * elf/do-rel.h: Add another parameter nrelative, replacing the
57115         local variable with the same name.  Change name of the function
57116         to end in Rel or Rela (uppercase).
57117         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57118         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57119         elf_dynamic_do_##reloc function.
57121 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57123         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57124         is sufficient, at least on modern CPUs.
57126         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57128         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57129         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57131         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57132         __expl_finite.
57133         * math/bits/math-finite.h: Add entries for exp.
57134         * math/e_expl.c: Add __*_finite alias.
57135         * sysdeps/i386/fpu/e_exp.S: Likewise.
57136         * sysdeps/i386/fpu/e_expf.S: Likewise.
57137         * sysdeps/i386/fpu/e_expl.c: Likewise.
57138         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57139         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57140         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57141         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57142         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57143         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57144         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57146         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57147         is sufficient, at least on modern CPUs.
57149         * ctype/ctype-info.c (__ctype_init): Define.
57150         * include/ctype.h (__ctype_init): Declare.
57151         (__ctype_b_loc): The variable is always initialized.
57152         (__ctype_toupper_loc): Likewise.
57153         (__ctype_tolower_loc): Likewise.
57154         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57155         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57157 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57159         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57161         * configure.in: Also look in $cxxmachine/include for C++ system
57162         headers.
57164 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57166         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57167         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57168         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57169         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57170         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57171         (USE_AS_WMEMCMP): New macro.
57172         Fixing indents.
57173         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57174         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57175         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57176         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57177         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57178         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57179         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57180         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57181         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57182         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57183         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57184         (USE_AS_WMEMCMP): New macro.
57185         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57186         * sysdeps/string/test-memcmp.c: Update.
57187         Fix simple_wmemcmp.
57188         Add new tests.
57189         * wcsmbs/wmemcmp.c: Update.
57190         (WMEMCMP): New macro.
57191         Fix overflow bug.
57193 2011-10-12  Andreas Jaeger  <aj@suse.de>
57195         [BZ #13268]
57196         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57198 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57200         * libio/iofwide.c (do_length): Avoid warning.
57202         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57204 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57206         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57208         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57209         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57210         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57211         * sysdeps/i386/i686/fpu/e_log.S: New file.
57212         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57213         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57215         * ctype/ctype.h: Add support for inlined isXXX functions when
57216         compiling C++ code.
57218 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57220         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57222         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57224 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57226         [BZ #13291]
57227         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57229 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57231         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57232         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57233         feraiseexcept.
57235         * sysdeps/x86_64/memrchr.S: Check for zero size.
57237         * string/stratcliff.c: Add memrchr tests.
57239 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57241         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57242         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57243         rawmemchr-sse2 rawmemchr-sse2-bsf.
57244         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57245         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57246         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57247         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57248         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57249         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57250         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57251         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57252         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57253         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57254         * string/memrchr.c (MEMRCHR): New macro.
57256 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57258         Add integration with gcc's -ffinite-math-only and optimize wrapper
57259         functions in libm.
57260         * Versions.def: Define GLIBC_2.15 version for libm.
57261         * math/Makefile (headers): Add bits/math-finite.h.
57262         * math/bits/math-finite.h: New file.
57263         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57264         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57265         * math/e_acoshl.c: Add __*_finite alias.
57266         * math/e_acosl.c: Likewise.
57267         * math/e_asinl.c: Likewise.
57268         * math/e_atan2l.c: Likewise.
57269         * math/e_atanhl.c: Likewise.
57270         * math/e_coshl.c: Likewise.
57271         * math/e_exp10.c: Likewise.
57272         * math/e_exp10f.c: Likewise.
57273         * math/e_exp10l.c: Likewise.
57274         * math/e_exp2l.c: Likewise.
57275         * math/e_fmodl.c: Likewise.
57276         * math/e_gammal_r.c: Likewise.
57277         * math/e_hypotl.c: Likewise.
57278         * math/e_j0l.c: Likewise.
57279         * math/e_j1l.c: Likewise.
57280         * math/e_jnl.c: Likewise.
57281         * math/e_lgammal_r.c: Likewise.
57282         * math/e_log10l.c: Likewise.
57283         * math/e_log2l.c: Likewise.
57284         * math/e_logl.c: Likewise.
57285         * math/e_powl.c: Likewise.
57286         * math/e_sinhl.c: Likewise.
57287         * math/e_sqrtl.c: Likewise.
57288         * math/e_scalb.c: Completely rewritten and optimized.
57289         * math/e_scalbf.c: Likewise.
57290         * math/e_scalbl.c: Likewise.
57291         * math/w_acos.c: Likewise.
57292         * math/w_acosf.c: Likewise.
57293         * math/w_acosl.c: Likewise.
57294         * math/w_acosh.c: Likewise.
57295         * math/w_acoshf.c: Likewise.
57296         * math/w_acoshl.c: Likewise.
57297         * math/w_asin.c: Likewise.
57298         * math/w_asinf.c: Likewise.
57299         * math/w_asinl.c: Likewise.
57300         * math/w_atan2.c: Likewise.
57301         * math/w_atan2f.c: Likewise.
57302         * math/w_atan2l.c: Likewise.
57303         * math/w_atanh.c: Likewise.
57304         * math/w_atanhf.c: Likewise.
57305         * math/w_atanhl.c: Likewise.
57306         * math/w_exp10.c: Likewise.
57307         * math/w_exp10f.c: Likewise.
57308         * math/w_exp10l.c: Likewise.
57309         * math/w_fmod.c: Likewise.
57310         * math/w_fmodf.c: Likewise.
57311         * math/w_fmodl.c: Likewise.
57312         * math/w_j0.c: Likewise.
57313         * math/w_j0f.c: Likewise.
57314         * math/w_j0l.c: Likewise.
57315         * math/w_j1.c: Likewise.
57316         * math/w_j1f.c: Likewise.
57317         * math/w_j1l.c: Likewise.
57318         * math/w_jn.c: Likewise.
57319         * math/w_jnf.c: Likewise.
57320         * math/w_log.c: Likewise.
57321         * math/w_logf.c: Likewise.
57322         * math/w_logl.c: Likewise.
57323         * math/w_log10.c: Likewise.
57324         * math/w_log10f.c: Likewise.
57325         * math/w_log10l.c: Likewise.
57326         * math/w_log2.c: Likewise.
57327         * math/w_log2f.c: Likewise.
57328         * math/w_log2l.c: Likewise.
57329         * math/w_pow.c: Likewise.
57330         * math/w_powf.c: Likewise.
57331         * math/w_powl.c: Likewise.
57332         * math/w_remainder.c: Likewise.
57333         * math/w_remainderf.c: Likewise.
57334         * math/w_remainderl.c: Likewise.
57335         * math/w_scalb.c: Likewise.
57336         * math/w_scalbf.c: Likewise.
57337         * math/w_scalbl.c: Likewise.
57338         * math/w_sqrt.c: Likewise.
57339         * math/w_sqrtf.c: Likewise.
57340         * math/w_sqrtl.c: Likewise.
57341         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57342         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57343         used.
57344         * math/math_private.h: Declare __kernel_standard_f.
57345         * math/w_cosh.c: Remove cruft and optimize a bit.
57346         * math/w_coshf.c: Likewise.
57347         * math/w_coshl.c: Likewise.
57348         * math/w_exp2.c: Likewise.
57349         * math/w_exp2f.c: Likewise.
57350         * math/w_exp2l.c: Likewise.
57351         * math/w_hypot.c: Likewise.
57352         * math/w_hypotf.c: Likewise.
57353         * math/w_hypotl.c: Likewise.
57354         * math/w_lgamma.c: Likewise.
57355         * math/w_lgamma_r.c: Likewise.
57356         * math/w_lgammaf.c: Likewise.
57357         * math/w_lgammaf_r.c: Likewise.
57358         * math/w_lgammal.c: Likewise.
57359         * math/w_lgammal_r.c: Likewise.
57360         * math/w_sinh.c: Likewise.
57361         * math/w_sinhf.c: Likewise.
57362         * math/w_sinhl.c: Likewise.
57363         * math/w_tgamma.c: Likewise.
57364         * math/w_tgammaf.c: Likewise.
57365         * math/w_tgammal.c: Likewise.
57366         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57367         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57368         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57369         Minor optimizations.  Pretty printing.  Remove cruft.
57370         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57371         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57372         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57373         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57374         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57375         * sysdeps/i386/fpu/e_asin.S: Likewise.
57376         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57377         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57378         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57379         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57380         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57381         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57382         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57383         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57384         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57385         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57386         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57387         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57388         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57389         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57390         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57391         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57392         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57393         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57394         * sysdeps/i386/fpu/e_log.S: Likewise.
57395         * sysdeps/i386/fpu/e_log10.S: Likewise.
57396         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57397         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57398         * sysdeps/i386/fpu/e_log2.S: Likewise.
57399         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57400         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57401         * sysdeps/i386/fpu/e_logf.S: Likewise.
57402         * sysdeps/i386/fpu/e_logl.S: Likewise.
57403         * sysdeps/i386/fpu/e_pow.S: Likewise.
57404         * sysdeps/i386/fpu/e_powf.S: Likewise.
57405         * sysdeps/i386/fpu/e_powl.S: Likewise.
57406         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57407         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57408         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57409         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57410         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57411         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57412         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57413         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57414         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57415         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57416         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57417         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57418         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57419         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57420         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57421         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57422         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57423         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57424         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57425         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57426         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57427         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57428         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57429         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57430         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57431         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57432         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57433         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57434         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57435         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57436         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57437         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57438         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57439         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57440         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57441         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57442         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57443         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57444         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57445         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57446         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57447         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57448         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57449         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57450         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57451         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57452         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57453         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57454         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57455         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57456         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57457         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57458         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57459         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57460         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57461         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57462         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57463         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57464         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57465         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57466         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57467         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57468         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57469         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57470         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57471         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57472         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57473         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57474         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57475         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57476         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57477         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57478         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57479         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57480         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57481         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57482         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57483         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57484         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57485         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57486         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57487         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57488         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57489         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57490         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57491         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57492         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57493         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57494         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57495         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57496         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57497         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57498         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57499         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57500         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57501         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57502         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57503         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57504         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57505         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57506         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57507         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57508         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57509         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57510         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57511         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57512         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57513         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57514         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57515         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57516         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57517         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57518         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57519         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57520         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57521         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57522         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57523         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57524         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57525         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57526         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57527         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57528         (__isnanf): Likewise.
57529         (__isinf_ns): Likewise.
57530         (__isinf_nsf): Likewise.
57531         (__finite): Likewise.
57532         (__finitef): Likewise.
57533         (__ieee754_sqrt): Define as macro.
57534         (__ieee754_sqrtf): Define as macro.
57535         (__ieee754_sqrtl): Define as macro.
57536         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57537         inlined copy.
57538         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57539         __FINITE_MATH_ONLY__ consistent.
57540         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57542 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57544         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57545         of rawmemchr.
57547         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57549 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57551         * po/ja.po: Update from translation team.
57553 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57555         * locale/programs/locarchive.c (prepare_address_space): New function.
57556         (create_archive, enlarge_archive, open_archive): Use it.
57558         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57559         inside [SHARED], where it is used.
57561         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57563         * nss/getent.c (netgroup_keys): Remove unused variable.
57564         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57566 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57568         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57569         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57570         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57571         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57572         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57573         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57574         * math/Makefile (libm-calls): Add s_isinf_ns.
57575         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57576         * math/multc3.c: Likewise.
57577         * math/s_casin.c: Likewise.
57578         * math/s_casinf.c: Likewise.
57579         * math/s_casinl.c: Likewise.
57580         * math/s_ccos.c: Likewise.
57581         * math/s_ccosf.c: Likewise.
57582         * math/s_ccosl.c: Likewise.
57583         * math/s_ctan.c: Likewise.
57584         * math/s_ctanf.c: Likewise.
57585         * math/s_ctanh.c: Likewise.
57586         * math/s_ctanhf.c: Likewise.
57587         * math/s_ctanhl.c: Likewise.
57588         * math/s_ctanl.c: Likewise.
57589         * math/w_fmod.c: Likewise.
57590         * math/w_fmodf.c: Likewise.
57591         * math/w_fmodl.c: Likewise.
57592         * math/w_remainder.c: Likewise.
57593         * math/w_remainderf.c: Likewise.
57594         * math/w_remainderl.c: Likewise.
57595         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57596         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57597         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57598         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57599         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57600         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57601         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57602         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57604         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57605         of the number.
57606         * stdio-common/printf_fphex.c: Likewise.
57607         * stdio-common/printf_size.c: Likewise.
57609         * math/e_exp10.c: Include math_private.h using <...> not "...".
57610         * math/e_exp10f.c: Likewise.
57611         * math/e_exp10l.c: Likewise.
57612         * math/e_exp2l.c: Likewise.
57613         * math/e_j0l.c: Likewise.
57614         * math/e_j1l.c: Likewise.
57615         * math/e_jnl.c: Likewise.
57616         * math/e_lgammal_r.c: Likewise.
57617         * math/e_rem_pio2l.c: Likewise.
57618         * math/e_scalb.c: Likewise.
57619         * math/e_scalbf.c: Likewise.
57620         * math/e_scalbl.c: Likewise.
57621         * math/k_cosl.c: Likewise.
57622         * math/k_sinl.c: Likewise.
57623         * math/k_tanl.c: Likewise.
57624         * math/s_cacoshf.c: Likewise.
57625         * math/s_catan.c: Likewise.
57626         * math/s_catanf.c: Likewise.
57627         * math/s_catanh.c: Likewise.
57628         * math/s_catanhf.c: Likewise.
57629         * math/s_catanhl.c: Likewise.
57630         * math/s_catanl.c: Likewise.
57631         * math/s_ccosh.c: Likewise.
57632         * math/s_ccoshf.c: Likewise.
57633         * math/s_ccoshl.c: Likewise.
57634         * math/s_cexp.c: Likewise.
57635         * math/s_cexpf.c: Likewise.
57636         * math/s_cexpl.c: Likewise.
57637         * math/s_clog.c: Likewise.
57638         * math/s_clog10.c: Likewise.
57639         * math/s_clog10f.c: Likewise.
57640         * math/s_clog10l.c: Likewise.
57641         * math/s_clogf.c: Likewise.
57642         * math/s_clogl.c: Likewise.
57643         * math/s_csin.c: Likewise.
57644         * math/s_csinf.c: Likewise.
57645         * math/s_csinh.c: Likewise.
57646         * math/s_csinhf.c: Likewise.
57647         * math/s_csinhl.c: Likewise.
57648         * math/s_csinl.c: Likewise.
57649         * math/s_csqrt.c: Likewise.
57650         * math/s_csqrtf.c: Likewise.
57651         * math/s_csqrtl.c: Likewise.
57652         * math/s_ctan.c: Likewise.
57653         * math/s_ctanf.c: Likewise.
57654         * math/s_ctanh.c: Likewise.
57655         * math/s_ctanhf.c: Likewise.
57656         * math/s_ctanhl.c: Likewise.
57657         * math/s_ctanl.c: Likewise.
57658         * math/s_ldexp.c: Likewise.
57659         * math/s_ldexpf.c: Likewise.
57660         * math/s_ldexpl.c: Likewise.
57661         * math/s_significand.c: Likewise.
57662         * math/s_significandf.c: Likewise.
57663         * math/s_significandl.c: Likewise.
57664         * math/w_acos.c: Likewise.
57665         * math/w_acosf.c: Likewise.
57666         * math/w_acosh.c: Likewise.
57667         * math/w_acoshf.c: Likewise.
57668         * math/w_acoshl.c: Likewise.
57669         * math/w_acosl.c: Likewise.
57670         * math/w_asin.c: Likewise.
57671         * math/w_asinf.c: Likewise.
57672         * math/w_asinl.c: Likewise.
57673         * math/w_atan2.c: Likewise.
57674         * math/w_atan2f.c: Likewise.
57675         * math/w_atan2l.c: Likewise.
57676         * math/w_atanh.c: Likewise.
57677         * math/w_atanhf.c: Likewise.
57678         * math/w_atanhl.c: Likewise.
57679         * math/w_cosh.c: Likewise.
57680         * math/w_coshf.c: Likewise.
57681         * math/w_coshl.c: Likewise.
57682         * math/w_dremf.c: Likewise.
57683         * math/w_exp10.c: Likewise.
57684         * math/w_exp10f.c: Likewise.
57685         * math/w_exp10l.c: Likewise.
57686         * math/w_exp2.c: Likewise.
57687         * math/w_exp2f.c: Likewise.
57688         * math/w_fmod.c: Likewise.
57689         * math/w_fmodf.c: Likewise.
57690         * math/w_fmodl.c: Likewise.
57691         * math/w_hypot.c: Likewise.
57692         * math/w_hypotf.c: Likewise.
57693         * math/w_hypotl.c: Likewise.
57694         * math/w_j0.c: Likewise.
57695         * math/w_j0f.c: Likewise.
57696         * math/w_j0l.c: Likewise.
57697         * math/w_j1.c: Likewise.
57698         * math/w_j1f.c: Likewise.
57699         * math/w_j1l.c: Likewise.
57700         * math/w_jn.c: Likewise.
57701         * math/w_jnf.c: Likewise.
57702         * math/w_jnl.c: Likewise.
57703         * math/w_lgamma.c: Likewise.
57704         * math/w_lgamma_r.c: Likewise.
57705         * math/w_lgammaf.c: Likewise.
57706         * math/w_lgammaf_r.c: Likewise.
57707         * math/w_lgammal.c: Likewise.
57708         * math/w_lgammal_r.c: Likewise.
57709         * math/w_log.c: Likewise.
57710         * math/w_log10.c: Likewise.
57711         * math/w_log10f.c: Likewise.
57712         * math/w_log10l.c: Likewise.
57713         * math/w_log2.c: Likewise.
57714         * math/w_log2f.c: Likewise.
57715         * math/w_log2l.c: Likewise.
57716         * math/w_logf.c: Likewise.
57717         * math/w_logl.c: Likewise.
57718         * math/w_pow.c: Likewise.
57719         * math/w_powf.c: Likewise.
57720         * math/w_powl.c: Likewise.
57721         * math/w_remainder.c: Likewise.
57722         * math/w_remainderf.c: Likewise.
57723         * math/w_remainderl.c: Likewise.
57724         * math/w_scalb.c: Likewise.
57725         * math/w_scalbf.c: Likewise.
57726         * math/w_scalbl.c: Likewise.
57727         * math/w_sinh.c: Likewise.
57728         * math/w_sinhf.c: Likewise.
57729         * math/w_sinhl.c: Likewise.
57730         * math/w_sqrt.c: Likewise.
57731         * math/w_sqrtf.c: Likewise.
57732         * math/w_sqrtl.c: Likewise.
57733         * math/w_tgamma.c: Likewise.
57734         * math/w_tgammaf.c: Likewise.
57735         * math/w_tgammal.c: Likewise.
57737         * po/ja.po: Update from translation team.
57739 2011-09-29  Andreas Jaeger  <aj@suse.de>
57741         [BZ #13179]
57742         * sunrpc/netname.c (netname2host): Fix logic.
57744         [BZ #6779]
57745         [BZ #6783]
57746         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57747         correctly.
57748         * math/w_remainder.c (__remainder): Likewise.
57749         * math/w_remainderf.c (__remainderf): Likewise.
57750         * math/libm-test.inc (remainder_test): Add test cases.
57752 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57754         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57755         sdiv_qrnnd.
57757 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57759         * string/test-memcmp.c: Avoid unncessary #defines.
57760         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57762 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57764         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57765         Use new sse2 version for core i3 - i7 as it's faster
57766         than sse42 version.
57767         (bit_Prefer_PMINUB_for_stringop): New.
57768         * sysdeps/x86_64/rawmemchr.S: Update.
57769         Replace with faster SSE2 version.
57770         * sysdeps/x86_64/memrchr.S: New file.
57771         * sysdeps/x86_64/memchr.S: Update.
57772         Replace with faster SSE2 version.
57774 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57776         * elf/dl-load.c (lose): Add cast to avoid warning.
57778 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57780         * po/ca.po: Update from translation team.
57782         * inet/getnetgrent_r.c: Hook up nscd.
57783         * nscd/Makefile (routines): Add nscd_netgroup.
57784         (nscd-modules): Add netgroupcache.
57785         (CFLAGS-netgroupcache.c): Define.
57786         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57787         (cache_search): Add const to second parameter.
57788         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57789         INNETGR.
57790         (dbs): Add netgrdb entry.
57791         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57792         (verify_persistent_db): Handle netgrdb.
57793         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57794         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57795         GETFDNETGR.
57796         (netgroup_response_header): Define.
57797         (innetgroup_response_header): Define.
57798         (datahead): Add netgroup_response_header and innetgroup_response_header
57799         elements.
57800         * nscd/nscd.conf: Add entries for netgroup cache.
57801         * nscd/nscd.h (dbtype): Add netgrdb.
57802         (_PATH_NSCD_NETGROUP_DB): Define.
57803         (netgroup_iov_disabled): Declare.
57804         (xmalloc, xcalloc, xrealloc): Move declarations here.
57805         (cache_search): Adjust prototype.
57806         Add netgroup-related prototypes.
57807         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57808         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57809         (__nscd_innetgr): Declare.
57810         * nscd/selinux.c (perms): Use access_vector_t as element type and
57811         add netgroup-related initializers.
57812         * nscd/netgroupcache.c: New file.
57813         * nscd/nscd_netgroup.c: New file.
57814         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57815         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57816         For four parameters use innetgr.
57817         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57818         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57819         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57820         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57822         * nscd/connections.c (register_traced_file): Don't register file
57823         for disabled databases.
57825 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57827         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57829         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57830         from tree and freeing node.
57832 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57834         * nss/nsswitch.c (__nss_database_lookup): Handle
57835         nss_parse_service_list out of memory case.
57837 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57839         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57840         out of memory case.
57842 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57844         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57845         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57846         pass it down.
57847         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57848         elf_machine_rela, elf_machine_lazy_rel.
57849         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57850         (ELF_DYNAMIC_DO_REL): Likewise.
57851         (ELF_DYNAMIC_DO_RELA): Likewise.
57852         (ELF_DYNAMIC_RELOCATE): Likewise.
57853         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57854         to ELF_DYNAMIC_DO_REL.
57855         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57856         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57857         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57858         elf_machine_rela.
57859         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57860         skip_ifunc, don't call ifunc function if non-zero.
57861         (elf_machine_rela): Likewise.
57862         (elf_machine_lazy_rel): Likewise.
57863         (elf_machine_lazy_rela): Likewise.
57864         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57865         (elf_machine_lazy_rel): Likewise.
57866         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57867         Likewise.
57868         (elf_machine_lazy_rel): Likewise.
57869         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57870         Likewise.
57871         (elf_machine_lazy_rel): Likewise.
57872         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57873         (elf_machine_lazy_rel): Likewise.
57874         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57875         (elf_machine_lazy_rel): Likewise.
57876         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57877         (elf_machine_lazy_rel): Likewise.
57878         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57879         (elf_machine_lazy_rel): Likewise.
57880         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57881         (elf_machine_lazy_rel): Likewise.
57882         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57883         (elf_machine_lazy_rel): Likewise.
57885 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57887         * nss/nss_files/files-init.c (_nss_files_init): Use static
57888         initialization for all the *_traced_file variables.
57890 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57892         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57894 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57896         [BZ #13226]
57897         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57899 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57901         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57902         Reread the line before reparsing it.
57904 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57906         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57908 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57909             Maxim Kuvyrkov  <maxim@codesourcery.com>
57910             Joseph Myers  <joseph@codesourcery.com>
57912         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57913         if needed for __stack_chk_guard.
57915 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57917         * sysdeps/posix/spawni.c (script_execute): Always define it.
57918         It will be optimized away if unused.
57919         (maybe_script_execute): New function.
57920         (__spawni): Call it.
57922         * Makerules: Don't include tls.make.
57923         (config-tls): Always set to thread.
57924         * tls.make.c: File removed.
57926 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57928         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57929         * config.make.in (CPPFLAGS-config): New substituted variable.
57931 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57933         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57935         [BZ #13192]
57936         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57937         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57939 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57941         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57942         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57943         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57944         (CALL_FAIL): Likewise.
57945         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57946         (CALL_FAIL): Macro removed.
57947         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57949 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57951         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57952         for __FINITE_MATH_ONLY__ == 1.
57954 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57956         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57957         __ieee754_sqrt instead of sqrt.
57958         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57959         __ieee754_sqrtf instead of sqrtf.
57960         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57961         __floorf instead of floorf.
57962         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57963         __floorf, __truncf instead of floorf, truncf.
57965 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57967         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57969         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57970         __extern_always_inline.
57971         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57972         32-bit.
57974 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57976         * elf/rtld.c (dl_main): Also relocate in dependency order when
57977         doing symbol dependency testing.
57979 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57981         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57982         Always define `refsym'.
57984 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57986         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57987         (__FD_ELT): Renamed from __FDELT.
57988         * misc/bits/select2.h (__FD_ELT): Likewise.
57989         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57990         __FD_MASK instead of __FDELT, __FDMASK.
57991         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57992         Likewise.
57993         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57994         Likewise.
57996         * elf/Makefile (gen-ldd): Fix pattern.
57998         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57999         (init_tls): Likewise.
58001 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
58003         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58005 2011-09-12  Andreas Schwab  <schwab@redhat.com>
58007         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58008         `struct cmsghdr *' instead of `void *'.
58009         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58010         Likewise.
58012 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58014         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58015         if non-absolute.
58016         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58017         ldd_rewrite_script.
58019 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58021         * configure.in: Remove --with-tls option.
58022         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58023         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58024         out in case it is missing.
58025         * sysdeps/ia64/elf/configure.in: Likewise.
58026         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58027         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58028         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58029         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58030         * sysdeps/sh/elf/configure.in: Likewise.
58031         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58032         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58033         * sysdeps/x86_64/elf/configure.in: Likewise.
58034         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58035         * sysdeps/mach/hurd/tls.h: Likewise.
58037         [BZ #13067]
58038         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58040         [BZ #13090]
58041         * configure.in: Fix use of AC_INIT.
58043         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58045 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58047         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58048         __set_errno.
58049         * malloc/hooks.c: Likewise.
58051         [BZ #11929]
58052         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58053         variables statically.
58054         (narenas): Initialize.
58055         (list_lock): Initialize.
58056         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58057         initializtion of main_arena and list_lock.  Small cleanups.
58058         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58059         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58060         Add initializers to main_arena and mp_.
58061         (malloc_state): Remove pagesize member.  Change all users to use
58062         GLRO(dl_pagesize).
58064         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58065         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58066         is always initialized.
58068         * malloc/malloc.c: Removed unused configurations and dead code.
58069         * malloc/arena.c: Likewise.
58070         * malloc/hooks.c: Likewise.
58071         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58073         * include/tls.h: Removed.  USE___THREAD must always be defined.
58074         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58075         * elf/dl-libc.c: Likewise.
58076         * elf/dl-tsd.c: Likewise.
58077         * include/errno.h: Likewise.
58078         * include/netdb.h: Likewise.
58079         * include/resolv.h: Likewise.
58080         * inet/herrno-loc.c: Likewise.
58081         * inet/herrno.c: Likewise.
58082         * malloc/arena.c: Likewise.
58083         * malloc/hooks.c: Likewise.
58084         * malloc/malloc.c: Likewise.
58085         * resolv/res-state.c: Likewise.
58086         * resolv/res_libc.c: Likewise.
58087         * sysdeps/i386/dl-machine.h: Likewise.
58088         * sysdeps/ia64/dl-machine.h: Likewise.
58089         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58090         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58091         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58092         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58093         * sysdeps/sh/dl-machine.h: Likewise.
58094         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58095         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58096         * sysdeps/unix/i386/sysdep.S: Likewise.
58097         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58098         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58099         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58100         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58101         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58102         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58103         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58104         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58105         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58106         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58107         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58108         * sysdeps/x86_64/dl-machine.h: Likewise.
58109         * tls.make.c: Likewise.
58111         * configure.in: Remove --with-__thread option.  Make tests for
58112         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58113         tls_model attribute fail if no support is available.  Remove
58114         USE_IN_LIBIO.
58115         * Makeconfig: Adjust for dropped configure option.  All features are
58116         now mandatory.
58117         * Makerules: Likewise.
58118         * Versions.def: Likewise.
58119         * argp/argp-fmtstream.c: Likewise.
58120         * argp/argp-fmtstream.h: Likewise.
58121         * argp/argp-help.c: Likewise.
58122         * assert/assert.c: Likewise.
58123         * config.h.in: Likewise.
58124         * config.make.in: Likewise.
58125         * configure: Likewise.
58126         * configure.in: Likewise.
58127         * csu/Versions: Likewise.
58128         * csu/init.c: Likewise.
58129         * elf/tst-audit2.c: Likewise.
58130         * elf/tst-tls10.c: Likewise.
58131         * elf/tst-tls10.h: Likewise.
58132         * elf/tst-tls11.c: Likewise.
58133         * elf/tst-tls12.c: Likewise.
58134         * elf/tst-tls14.c: Likewise.
58135         * elf/tst-tlsmod11.c: Likewise.
58136         * elf/tst-tlsmod12.c: Likewise.
58137         * elf/tst-tlsmod13.c: Likewise.
58138         * elf/tst-tlsmod13a.c: Likewise.
58139         * elf/tst-tlsmod14a.c: Likewise.
58140         * elf/tst-tlsmod15b.c: Likewise.
58141         * elf/tst-tlsmod16a.c: Likewise.
58142         * elf/tst-tlsmod16b.c: Likewise.
58143         * elf/tst-tlsmod7.c: Likewise.
58144         * elf/tst-tlsmod8.c: Likewise.
58145         * elf/tst-tlsmod9.c: Likewise.
58146         * gmon/gmon.c: Likewise.
58147         * grp/fgetgrent_r.c: Likewise.
58148         * grp/putgrent.c: Likewise.
58149         * hurd/fopenport.c: Likewise.
58150         * include/libc-symbols.h: Likewise.
58151         * include/tls.h: Likewise.
58152         * intl/gettextP.h: Likewise.
58153         * intl/loadinfo.h: Likewise.
58154         * locale/global-locale.c: Likewise.
58155         * locale/localeinfo.h: Likewise.
58156         * mach/devstream.c: Likewise.
58157         * malloc/arena.c: Likewise.
58158         * malloc/set-freeres.c: Likewise.
58159         * misc/err.c: Likewise.
58160         * misc/getttyent.c: Likewise.
58161         * misc/mntent_r.c: Likewise.
58162         * posix/getopt.c: Likewise.
58163         * posix/wordexp.c: Likewise.
58164         * pwd/fgetpwent_r.c: Likewise.
58165         * resolv/Versions: Likewise.
58166         * resolv/res_hconf.c: Likewise.
58167         * shadow/fgetspent_r.c: Likewise.
58168         * shadow/putspent.c: Likewise.
58169         * stdio-common/printf_fphex.c: Likewise.
58170         * stdio-common/tmpfile.c: Likewise.
58171         * stdlib/abort.c: Likewise.
58172         * stdlib/fmtmsg.c: Likewise.
58173         * sunrpc/auth_unix.c: Likewise.
58174         * sunrpc/clnt_perr.c: Likewise.
58175         * sunrpc/clnt_tcp.c: Likewise.
58176         * sunrpc/clnt_udp.c: Likewise.
58177         * sunrpc/clnt_unix.c: Likewise.
58178         * sunrpc/openchild.c: Likewise.
58179         * sunrpc/svc_simple.c: Likewise.
58180         * sunrpc/svc_tcp.c: Likewise.
58181         * sunrpc/svc_udp.c: Likewise.
58182         * sunrpc/svc_unix.c: Likewise.
58183         * sunrpc/xdr.c: Likewise.
58184         * sunrpc/xdr_array.c: Likewise.
58185         * sunrpc/xdr_rec.c: Likewise.
58186         * sunrpc/xdr_ref.c: Likewise.
58187         * sunrpc/xdr_stdio.c: Likewise.
58189 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58191         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58193 2011-07-03  Andreas Jaeger  <aj@suse.de>
58195         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58196         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58197         regenerate with gen-libm-tests.pl.
58199 2010-05-12  Petr Baudis  <pasky@suse.cz>
58201         [BZ #11589]
58202         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58203         around j0() zero points by switching to j1().
58204         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58205         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58206         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58207         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58209 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58211         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58212         instead of 0.
58213         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58214         instead of 0.
58215         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58216         Patch in part by Pavel Roskin <proski@gnu.org>.
58218         [BZ #13138]
58219         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58220         realloc.
58221         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58222         Free memory block if necessary.
58224         [BZ #12847]
58225         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58226         be NULL.  Don't lock in this case.
58228 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58230         * elf/elf.h (ELFOSABI_GNU): New macro.
58231         (ELFOSABI_LINUX): Define to that.
58233 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58235         * string/strncat.c (strncat): Undef the symbol in case it has been
58236         defined in bits/string.h.
58238 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58240         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58242         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58243         link map.
58245 2011-08-17  Andreas Jaeger  <aj@suse.de>
58247         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58249 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58250             Ian Lance Taylor  <iant@google.com>
58252         * math/libm-test.inc (lround_test): New testcase.
58253         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58255 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58257         * Makefile: Remove support for automatic cvs check-ins.
58258         * Makerules: Likewise.
58259         * config.make.in: Likewise.
58260         * configure.in: Likewise.
58261         * intl/Makefile: Likewise.
58262         * locale/Makefile: Likewise.
58263         * po/Makefile: Likewise.
58264         * posix/Makefile: Likewise.
58265         * sysdeps/gnu/Makefile: Likewise.
58266         * sysdeps/mach/hurd/Makefile: Likewise.
58267         * sysdeps/sparc/sparc32/Makefile: Likewise.
58269         [BZ #13118]
58270         * posix/Makefile (bug-regex32-ENV): Define.
58271         Patch by John Stanley <jpsinthemix@verizon.net>.
58273         * misc/Makefile (headers): Add bits/select2.h.
58274         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58275         * misc/bits/select2.h: New file.
58276         * include/bits/select2.h: New file.
58277         * debug/Makefile (routines): Add fdelt_chk.
58278         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58279         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58280         FD_ISSET.
58281         * debug/fdelt_chk.c: New file.
58283         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58284         * wcsmbs/test-wmemcmp.c: Likewise.
58285         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58286         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58288 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58290         * string/Makefile (strop-tests): Add memcmp.
58291         * string/test-wmemcmp.c: New file.
58292         * string/test-memcmp.c: Add wmemcmp support.
58294 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58296         [BZ #13153]
58297         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58298         2011-07-19 change.
58300         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58301         garbage value in a __mach_port_mod_refs call in the cases of the
58302         task-self and thread-self ports.
58304 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58306         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58308 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58310         * elf/dl-load.c (lose): Check for non-null L.
58312 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58314         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58316         * elf/dl-libc.c (dlerror_run): Pass back error code from
58317         dl_catch_error.
58319         [BZ #13123]
58320         * elf/dl-load.c (lose): Free l_origin if it is valid.
58322         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58323         names.
58324         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58325         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58326         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58327         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58328         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58329         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58331 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58333         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58334         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58335         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58336         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58337         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58338         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58339         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58340         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58341         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58342         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58344 2011-08-15  Alan Modra  <amodra@gmail.com>
58346         [BZ #13092]
58347         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58348         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58349         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58350         ppc_mcount to static-only-routines.
58351         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58352         __mcount_internal.
58353         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58354         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58356 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58358         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58359         for finite and infinity parameters.
58361 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58363         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58364         and add nop instructions for throughput optimization.
58365         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58367 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58369         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58370         aligned copy for power7 with vector-scalar instructions.
58371         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58373 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58375         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58376         AVX check.
58378 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58380         [BZ #13144]
58381         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58382         last change.
58384 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58386         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58387         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58388         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58389         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58390         clock_gettime.
58392 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58394         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58395         Forgot to demangle the pointer.
58397         * sysdeps/i386/sysdep.h: Define atom_text_section.
58398         * sysdeps/x86_64/sysdep.h: Likewise.
58399         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58400         section with atom_text_section.
58401         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58402         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58403         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58404         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58405         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58407         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58408         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58409         already be defined.  Change to take two parameters and don't assign
58410         result to variable.  Adjust all users.
58411         Define INTERNAL_GETTIME if not already defined.
58412         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58413         call.
58414         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58415         HAVE_CLOCK_GETTIME_VSYSCALL.
58416         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58418         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58419         gettimeofday vsyscall, just use time.
58421 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58423         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58424         <errno.h>.
58426 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58428         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58429         syscall on x86-64.
58430         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58431         syscall.
58432         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58433         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58434         syscall if possible.
58436 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58438         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58439         e_ident.  Don't pass to find_mapsXX.
58440         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58442 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58445         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58446         * sysdeps/x86_64/multiarch/strchr.S: Update.
58447         Check bit_slow_BSF bit.
58448         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58449         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58450         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58452 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58454         [BZ #13134]
58455         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58456         before glibc 2.15.
58457         (tryshell): Define.
58458         (__spawni): Change last parameter to be flag.  Test
58459         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58460         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58461         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58462         * posix/spawni.c: Likewise.
58463         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58464         * posix/spawnp.c: Likewise.  Change normal version to use
58465         SPAWN_XFLAGS_USE_PATH.
58466         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58467         SPAWN_XFLAGS_TRY_SHELL.
58469         [BZ #13150]
58470         * posix/glob.h: Remove gcc 1.x support.
58472         [BZ #13068]
58473         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58475 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58477         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58478         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58479         strrchr-sse2-bsf
58480         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58481         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58482         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58483         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58484         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58485         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58487 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58489         * sysdeps/x86_64/wcscmp.S: New file.
58491         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58492         wcscmp-c wcscmp-sse2
58493         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58494         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58495         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58496         * wcsmbs/wcscmp.c: Allow renaming.
58498 2011-09-05  David S. Miller  <davem@davemloft.net>
58500         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58501         stack slot, rather than the struct return pointer slot.
58502         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58503         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58505         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58507 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58509         * po/ja.po: Update from translation team.
58511         [BZ #13144]
58512         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58513         kernel in 64-bit binaries.
58515 2011-09-01  David S. Miller  <davem@davemloft.net>
58517         * elf/elf.h (HWCAP_SPARC_*): Move to..
58518         * sysdeps/sparc/sysdep.h: this new file and add new values.
58519         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58520         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58521         _DL_HWCAP_COUNT to 24.
58522         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58523         entries.
58524         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58525         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58526         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58527         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58528         instead of magic constants.
58529         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58531 2011-08-31  David S. Miller  <davem@davemloft.net>
58533         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58534         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58535         Reimplement to do errno handling inline.
58536         (SYSCALL_ERROR_HANDLER): New macro.
58537         (__SYSCALL_STRING): Do not do errno handling in asm.
58538         (__CLONE_SYSCALL_STRING): Delete.
58539         (__INTERNAL_SYSCALL_STRING): Delete.
58540         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58541         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58542         (PSEUDO): Reimplement to do errno handling inline.
58543         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58544         (SYSCALL_ERROR_HANDLER): New macro.
58545         (__SYSCALL_STRING): Do not do errno handling in asm.
58546         (__CLONE_SYSCALL_STRING): Delete.
58547         (__INTERNAL_SYSCALL_STRING): Delete.
58548         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58549         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58550         i386.
58551         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58552         (inline_syscall*): Add 'err' argument.
58553         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58554         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58555         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58556         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58558         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58559         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58561 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58563         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58565 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58567         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58568         directive.
58570 2011-08-24  David S. Miller  <davem@davemloft.net>
58572         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58574 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58576         * elf/Makefile: Add rules to build and run unload8 test.
58577         * elf/unload8.c: New file.
58578         * elf/unload8mod1.c: New file.
58579         * elf/unload8mod1x.c: New file.
58580         * elf/unload8mod2.c: New file.
58581         * elf/unload8mod3.c: New file.
58583         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58584         it wasn't used.
58586 2011-08-23  David S. Miller  <davem@davemloft.net>
58588         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58589         subtract stack bias.
58590         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58591         %sp not %fp in calculations.
58592         (_JMPBUF_UNWINDS_ADJ): Likewise.
58594         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58595         (aio_suspend): Call it to force an exception region around the
58596         AIO_MISC_WAIT() invocation.
58598 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58600         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58601         backslash.
58603 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58605         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58606         protection macro.
58607         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58608         and <dl-machine.h>.
58609         (Elf64_FuncDesc): Remove.
58611 2011-08-22  David S. Miller  <davem@davemloft.net>
58613         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58614         sigaltstack check, add missing cfi directives.
58615         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58616         missing cfi directives, and sigaltstack handling.
58618 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58620         [BZ #11724]
58621         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58622         object is seen twice.
58623         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58625         * elf/Makefile (distribute): Add tst-initorder2.c.
58626         (tests): Add tst-initorder2.
58627         (modules-names): Add tst-initorder2a tst-initorder2b
58628         tst-initorder2c tst-initorder2d.  Add rules to build them.
58629         ($(objpfx)tst-initorder2.out): New rule.
58630         * elf/tst-initorder2.c: New file.
58631         * elf/tst-initorder2.exp: New file.
58633 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58635         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58637         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58638         dependencies back to end of function.
58640         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58641         $(elfobjdir)/ld.so.
58643 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58645         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58646         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58647         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58648         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58649         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58650         of __vdso_gettimeofday.
58651         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58652         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58653         attribute_hidden.
58654         (_libc_vdso_platform_setup): Remove initialization of
58655         __vdso_gettimeofday and __vdso_time.
58657 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58659         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58660         and fgetc_unlocked.
58661         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58662         getc_unlocked.
58664         * elf/dl-open.c (add_to_global): Report additions to the global scope
58665         for LD_DEBUG=scopes.
58666         (dl_open_worker): Also print scope of newly loaded dependencies.
58667         (_dl_show_scope): Indicate if there is no scope.
58669         [BZ #13114]
58670         * stdio-common/Makefile (tests): Add bug24.
58671         * stdio-common/bug24.c: New file.
58673 2011-08-19  Andreas Jaeger  <aj@suse.de>
58675         [BZ #13114]
58676         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58677         non-existant file when using close-on-exec mode.
58679 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58681         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58682         the very first instruction.
58684         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58685         the CFI state in the end.
58686         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58687         inclusion of dl-trampoline.h.
58688         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58690 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58692         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58693         expectations for long double.
58695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58696         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58698 2011-08-14  David S. Miller  <davem@davemloft.net>
58700         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58701         artificual limit depends upon the system page size.
58703 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58705         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58706         * resolv/Makefile: Define CFLAGS-libresolv.
58708 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58710         * nss/makedb.c (compute_tables): Make variables used in nested
58711         function static.
58713 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58715         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58716         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58717         if buffer was too small.
58719         * elf/pldd.c (main): Attach to all threads in the process.
58720         Rewrite /proc handling to use *at functions.
58722 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58724         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58725         specifies first scope to show.
58726         (dl_open_worker): Update callers.  Move printing scope of new
58727         object to before the relocation.
58728         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58729         * sysdeps/generic/ldsodefs.h: Update declaration.
58731         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58732         string for the scope number.
58734 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58736         * nscd/servicescache.c (cache_addserv): Make sure written is always
58737         initialized.
58739 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58741         * sysdeps/i386/i486/bits/atomic.h
58742         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58743         statement expression, so as to suppress "set but not used" warning.
58744         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58746         * string/strncat.c (STRNCAT): Use prototype definition.
58748         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58749         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58750         -Iprograms here.
58751         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58752         (localedef-modules): Add localedef.
58753         (locale-modules): Add locale.
58755         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58756         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58757         to avoid a warning.
58759 2011-08-14  David S. Miller  <davem@davemloft.net>
58761         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58762         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58764 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58766         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58767         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58768         * elf/rtld.c (dl_main): Set l_name of vDSO.
58769         Call _dl_show_scope when DL_DEBUG_SCOPES.
58770         (process_dl_debug): Recognize scopes flag and also set it for all.
58771         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58772         Declare _dl_show_scope.
58774         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58775         (do_dlopen): Pass caller_dlopen to dl_open.
58776         (__libc_dlopen_mode): Initialize caller_dlopen.
58778         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58779         of libc.  Make tolower call locale-independent.  Optimize a bit by
58780         using isdigit instead of isalnum.
58781         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58783 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58785         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58786         was a dependency or dynamically loaded.
58788 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58790         * intl/l10nflist.c: Allow architecture-specific pop function.
58791         * sysdeps/x86_64/l10nflist.c: New file.
58793         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58794         classification.
58796 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58798         * include/dirent.h: Add libc_hidden_proto for scandirat and
58799         scandirat64.  Don't declare __scandirat64.
58800         * dirent/scandirat.c: Add libc_hidden_def.
58801         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58802         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58804 2011-08-10  David S. Miller  <davem@davemloft.net>
58806         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58807         enum.
58808         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58809         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58810         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58812 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58814         * Versions.def [libc]: Add GLIBC_2.15.
58815         * dirent/Makefile (routines): Add scandirat and scandirat64.
58816         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58817         GLIBC_2.15.
58818         * dirent/dirent.h: Declare scandirat and scandirat64.
58819         * dirent/scandirat.c: New file.
58820         * dirent/scandirat64.c: New file.
58821         * sysdeps/wordsize-64/scandirat.c: New file.
58822         * sysdeps/wordsize-64/scandirat64.c: New file.
58823         * dirent/opendir.c: Define opendirat.
58824         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58825         using scandirat.
58826         * dirent/scandir64.c: Adjust for scandir.c change.
58827         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58828         __scandirat64, and __scandir_cancel_handler.
58829         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58830         additional parameter and use openat instead of open (outside of ld.so).
58831         Add new __opendir as wrapper around __opendirat.
58832         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58833         here without requiring old scandirat implementation.
58835 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58837         * dirent/scandir.c (cancel_handler): Renamed to
58838         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58839         defined.  Adjust users.
58840         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58841         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58843 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58845         * string/test-string.h (IMPL): Use __STRING to expand name and then
58846         stringify it.
58848         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58849         of cleanups.
58851 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58853         * string/Makefile: Update.
58854         (strop-tests): Append strncat.
58855         * string/test-wcscmp.c: New file.
58856         New comprehensive test for wcscmp.
58857         * string/test-strcmp.c: Update.
58858         (WIDE): New define.
58860 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58862         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58863         line.
58865 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58867         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58868         encoding to ACE if AI_IDN.
58870 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58872         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58873         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58875 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58877         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58878         Fix overflow bug in strncat.
58879         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58881         * string/test-strncat.c: Update.
58882         Add new tests for checking overflow bugs.
58884 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58886         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58887         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58888         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58889         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58890         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58891         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58892         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58893         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58894         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58896         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58897         (USE_AS_STRCAT): Define.
58898         Add strcat and strncat support.
58899         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58901 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58903         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58904         __n bigger than INT_MAX+1.
58905         (__strncmp_g): Likewise.
58907 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58909         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58910         * libio/stido.h: Likewise.
58912         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58913         (AF_NFC): Define.
58914         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58915         (AF_NFC): Define.
58917         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58918         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58919         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58920         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58921         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58923         [BZ #13021]
58924         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58925         installed.
58927         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58928         typo.
58929         (_dl_x86_64_save_sse): Likewise.
58931 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58933         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58934         OSXSAVE.
58935         (_dl_x86_64_save_sse): Likewise.
58937         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58939         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58941 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58943         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58944         change.
58945         (_dl_x86_64_save_sse): Use correct AVX check.
58947 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58949         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58950         bug in strncpy/strncat.
58951         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58953 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58955         * string/tester.c (test_strcat): Add tests for different alignments
58956         of source and destination.
58957         (test_strncat): Likewise.
58959 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58961         [BZ #12852]
58962         * posix/glob.c (glob): Check passed in values before using them in
58963         expressions to avoid some overflows.
58964         (glob_in_dir): Likewise.
58966         [BZ #13007]
58967         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58968         check for AVX enablement so that we don't crash with old kernels and
58969         new hardware.
58970         * elf/tst-audit4.c: Add same checks here.
58971         * elf/tst-audit6.c: Likewise.
58973         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58975 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58977         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58979 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58981         * po/cs.po: Update from translation team.
58982         * po/bg.po: Likewise.
58984 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58986         * misc/sys/cdefs.h: Add support for const attribute.
58987         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58988         to gnu_dev_{major,minor,makedev} functions.
58990 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58992         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58994 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58996         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58997         strlen results.
58999 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59001         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59002         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59003         register in order to avoid conflicts with the soft frame pointer
59004         being held in r11 when necessary.
59005         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59006         (INTERNAL_VSYSCALL_NCS): Likewise.
59008 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59010         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59011         * elf/dl-fini.c (_dl_fini): Adjust caller.
59012         * elf/dl-close.c (_dl_close_worker): Likewise.
59013         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59015 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59017         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59018         "aux_cache->nlibs < 0".
59020         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59021         in the reload-count case.
59023 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59025         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59026         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59027         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59028         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59029         * sysdeps/x86_64/multiarch/strcat.S: New file.
59030         * sysdeps/x86_64/multiarch/strncat.S: New file.
59031         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59032         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59033         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59034         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59035         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59036         (USE_AS_STRCAT): Define.
59037         Add strcat and strncat support.
59038         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59039         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59040         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59041         * string/strncat.c: Update.
59042         (USE_AS_STRNCAT): Define.
59043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59044         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59045         and i7.
59046         * sysdeps/x86_64/multiarch/init-arch.h
59047         (bit_Prefer_PMINUB_for_stringop): New.
59048         (index_Prefer_PMINUB_for_stringop): Likewise.
59049         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59050         bit_Prefer_PMINUB_for_stringop.
59052 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59054         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59055         buffer64.
59056         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59057         of casting of buffer.
59058         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59059         buffer32 and buffer64.
59060         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59061         writes instead of casting of buffer.
59062         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59063         buffer32.
59064         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59065         casting of buffer.
59067 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59069         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59071 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59073         * nscd/nscd.c (termination_handler): Don't do anything for a database
59074         if it has not yet been initialized.
59076 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59078         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59080 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59082         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59084 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59086         * po/nl.po: Update from translation team.
59087         * po/sv.po: Likewise.
59089 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59091         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59092         now disallowed by GCC.
59094         * configure.in (use-default-link): Default to yes if a test -shared
59095         link meets our qualifications.
59096         * configure: Regenerated.
59098         * config.make.in (output-format): New variable.
59099         * configure.in: Check for ld --print-output-format support.
59100         * configure: Regenerated.
59101         * Makerules ($(common-objpfx)format.lds)
59102         [$(output-format) != unknown]: Just use $(output-format),
59103         instead of the linker-script munging.
59105 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59107         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59108         of $(common-objpfx)shlib.lds.
59109         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59111         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59112         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59114         * configure.in (-z relro check): Adjust test code to add a large
59115         writable data section after it.
59116         * configure: Regenerated.
59118 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59120         * configure.in (-z relro check): Fix test code to make the variable
59121         truly const.
59122         * configure: Regenerated.
59124 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59126         * nscd/nscd.h (struct traced_file): Define.
59127         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59128         elements.  Add traced_files.
59129         (inotify_fd): Declare.
59130         (register_traced_file): Declare.
59131         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59132         (inotify_fd): Export.
59133         (resolv_conf_descr): Remove.
59134         (nscd_init): Move inotify descriptor creation to main.
59135         Don't register files for notification here.
59136         (register_traced_file): New function.
59137         (invalidate_cache): Don't use reset_res to determine whether to call
59138         res_init, go through the list of registered files.
59139         (main_loop_poll): The inotify descriptors are now stored in the
59140         structures for the traced files.
59141         (main_loop_epoll): Likewise
59142         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59143         to __nss_disable_nscd.
59144         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59145         for a database anymore.  Check the records for all the registered
59146         files instead.
59147         * nss/Makefile (libnss_files-routines): Add files-init.
59148         (libnss_db-routines): Add db-init.
59149         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59150         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59151         * nss/nss_db/db-init.c: New file.
59152         * nss/nss_files/files-init.c: New file.
59153         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59154         __nss_lookup_function.
59155         (__nss_lookup_function): Call nss_load_library.
59156         (nss_load_all_libraries): New function.
59157         (__nss_disable_nscd): Take parameter with callback function for files
59158         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59159         used for the cached services.
59160         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59161         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59162         options for features to all the files in nscd.
59164         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59166 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59168         * csu/elf-init.c (__libc_csu_init): Comment typo.
59170 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59172         * po/pl.po: Update from translation team.
59173         * po/ja.po: Likewise.
59174         * po/ru.po: Likewise.
59175         * po/ko.po: Likewise.
59176         * po/fr.po: Likewise.
59178 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59180         * configure.in (.ctors/.dtors header and trailer check):
59181         Use an empirical test on a built program.
59182         * configure: Regenerated.
59184         * configure.in (-z relro check): Use an empirical test on a built DSO.
59185         Detect, but do not require, on ia64.
59186         * configure: Regenerated.
59188         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59189         Update tests that use readelf to use $READELF instead.
59190         * configure: Regenerated.
59192 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59194         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59195         if the result is not used.
59197 2011-07-05  Andreas Jaeger  <aj@suse.de>
59199         [BZ#9696]
59200         * stdlib/tst-strtod.c: Add testcase.
59202 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59204         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59205         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59206         The latter has a higher limit.  Take additional parameter to pass to
59207         the new function.
59208         (__pathconf): Pass file to __statfs_link_max.
59209         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59210         __statfs_link_max.
59211         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59212         __statfs_link_max.
59214         [BZ #12868]
59215         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59216         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59217         Handle Lustre.
59218         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59219         (__statfs_filesize_max): Likewise.
59220         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59222 2011-07-05  Andreas Jaeger  <aj@suse.de>
59224         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59226 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59228         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59229         `status' variable.
59230         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59231         Likewise.
59233 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59235         * Makefile (strop-tests): Add strncat.
59236         * string/test-strncat.c: New file.
59238 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59240         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59242 2011-06-21  Andreas Jaeger  <aj@suse.de>
59244         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59245         Copy rule from iconvdata/Makefile.
59247 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59249         [BZ #12922]
59250         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59251         but no long options are defined, just return 'W'.
59253 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59255         [BZ #9696]
59256         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59258 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59260         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59261         netgroups to read.
59262         (innetgr): Likewise.
59264 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59266         * config.make.in (install_root): Default to $(DESTDIR).
59268 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59270         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59272 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59274         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59276         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59277         containing directory rather than embedding absolute directory names.
59279         * scripts/check-local-headers.sh: Rewritten using awk.
59280         Match by word, not by line.  Print error messages for matches.
59281         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59283         * Makerules [shlib-lds-flags empty]:
59284         ($(common-objpfx)libc_pic.opts): New target.
59285         ($(common-objpfx)libc_pic.os.clean): New target.
59286         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59288         * config.make.in (OBJCOPY): New variable.
59289         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59290         * configure: Regenerated.
59292         * config.make.in (use-default-link): New variable.
59293         * configure.in (use_default_link): Grok --with-default-link to set it.
59294         * configure: Regenerated.
59295         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59296         (shlib-lds, shlib-lds-flags): Define to empty.
59298         * Makerules (shlib-lds): New variable.
59299         (shlib-lds-flags): New variable.
59300         (build-shlib, build-moduile, build-module-asneeded): Use it.
59301         ($(common-objpfx)libc.so): Use $(shlib-lds).
59302         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59303         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59305         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59306         DT_FLAGS/DT_FLAGS_1 with zero flags.
59308         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59309         linker script munging.
59311 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59313         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59314         as 128-bit value.
59315         * crypt/sha512.c (sha512_process_block): Perform total addition using
59316         128-bit if possible.
59317         (__sha512_finish_ctx): Likewise.
59318         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59319         as 64-bit value.
59320         * crypt/sha256.c (SWAP64): Define.
59321         (sha256_process_block): Perform total addition using 64-bit if
59322         possible.
59323         (__sha256_finish_ctx): Likewise.
59325 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59327         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59328         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59329         * nscd/hstcache.c (cache_addhst): Likewise.
59330         * nscd/grpcache.c (cache_addgr): Likewise.
59331         * nscd/aicache.c (addhstaiX): Likewise
59332         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59334 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59336         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59337         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59338         * nscd/hstcache.c (cache_addhst): Likewise.
59339         * nscd/grpcache.c (cache_addgr): Likewise.
59340         * nscd/aicache.c (addhstaiX): Likewise
59342 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59344         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59345         domain only when needed.
59347 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59349         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59350         is always restored.
59352 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59354         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59355         are re-adding the entry.
59356         * nscd/servicescache.c (cache_addserv): Likewise.
59358 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59360         * sysdeps/generic/dl-irel.h: fix protection against multiple
59361         inclusions.
59362         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59364 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59366         [BZ #12935]
59367         * malloc/memusage.sh: Fix quoting in message.
59368         * debug/xtrace.sh: Likewise.
59370         * configure.in: Remove support for --experimental-malloc option, make
59371         it the default.
59372         * config.make.in: Likewise.
59373         * malloc/Makefile: Likewise.
59375 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59377         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59378         two-byte characters.
59380 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59382         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59383         AC_CACHE_CHECK invocation.
59384         * configure: Regenerated.
59386         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59388 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59390         [BZ #12350]
59391         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59392         bit from old_res_options.
59394         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59396         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59397         value type for setfct.
59399 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59401         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59402         __gettimeofday instead of gettimeofday.
59404 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59406         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59408 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59410         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59412         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59413         info.
59415 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59417         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59418         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59419         strcpy-sse2-unaligned strncpy-sse2-unaligned
59420         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59421         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59422         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59423         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59424         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59425         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59426         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59427         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59428         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59429         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59430         (STRCPY): Support SSE2 and SSSE3 versions.
59432 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59434         [BZ #12874]
59435         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59436         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59437         kernels which artificially limit size of requests.
59439 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59441         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59442         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59443         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59444         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59445         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59446         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59447         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59448         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59449         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59450         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59451         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59452         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59453         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59454         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59455         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59456         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59457         Enable unaligned load optimization for Intel Core i3, i5 and i7
59458         processors.
59459         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59460         Define.
59461         (index_Fast_Unaligned_Load): Define.
59462         (HAS_FAST_UNALIGNED_LOAD): Define.
59464 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59466         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59468 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59470         [BZ #12907]
59471         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59472         until it is clear that the information is realy needed.
59473         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59475 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59479 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59481         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59482         /sys/devices/system/cpu/online if it is usable.
59484         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59485         reading the information from the /proc filesystem to once a second.
59487 2011-06-21  Andreas Jaeger  <aj@suse.de>
59489         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59490         NULL after inclusion of kernel headers.
59492 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59494         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59495         calls to internal_setent.
59497         [BZ #12885]
59498         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59499         addresses using gethostbyname4_r ignore IPv4 addresses.
59501         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59502         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59504         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59506 2011-06-20  David S. Miller  <davem@davemloft.net>
59508         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59509         inclusions.
59510         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59512         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59513         (elf_irel): Use it.
59514         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59515         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59516         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59517         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59518         * sysdeps/x86_64/dl-irel.h: Likewise.
59520         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59521         * elf/dl-sym.c: Likewise.
59523 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59525         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59526         need to dereference resplen2.
59528 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59530         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59532 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59534         * Makeconfig: Define vardbdir and inst_vardbdir.
59535         * nss/Makefile: Add rules to install db-Makefile.
59537         * nss/nss_db/db-XXX.c: Cleanup.
59539         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59540         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59541         GLIBC_PRIVATE.
59542         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59543         * nss/makedb.c: Implement -g option to specify that value strings
59544         are generated and should not be added to table iterated over for
59545         get*ent calls.
59546         * nss/nss_db/db-initgroups.c: New file.
59548         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59549         interface.
59551         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59552         (internal_getgrouplist): Adjust to name change.
59553         Update use_initgroups_entry if this is not the first call.
59554         * nss/databases.def: Add initgroups entry.
59556         * nss/makedb.c (compute_tables): Check result of multiple hash table
59557         sizes to minimize maximum chain length.
59559 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59561         * Versions.def: Add entry for libnss_db.
59562         * shlib-versions: Likewise.
59563         * nss/Makefile: Add rules to build libnss_db.
59564         * nss/Versions: Add libnss_db information.  Organize libnss_files
59565         entries better.
59566         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59567         makedb progra.  Some minor improvements to generate smaller files.
59568         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59569         here from...
59570         * nss/makedb.c: ...here.
59571         Improve database format to be smaller and require less memory at
59572         runtime.
59573         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59574         db anymore.
59575         * nss/nss_db/db-netgrp.c: Likewise.
59576         * nss/nss_db/db-open.c: Likewise.
59577         * nss/nss_files/flies-XXX.x: Adjust comments.
59578         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59579         * nss/nss_files/files-grp.c: Likewise.
59580         * nss/nss_files/files-hosts.c: Likewise.
59581         * nss/nss_files/files-network.c: Likewise.
59582         * nss/nss_files/files-proto.c: Likewise.
59583         * nss/nss_files/files-pwd.c: Likewise.
59584         * nss/nss_files/files-rpc.c: Likewise.
59585         * nss/nss_files/files-service.c: Likewise.
59586         * nss/nss_files/files-sgrp.c: Likewise.
59587         * nss/nss_files/files-spwd.c: Likewise.
59588         * nss/nss_db/db-alias.c: Removed.
59589         * nss/nss_db/dummy-db.h: Removed.
59591 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59593         * nss/makedb.c: Rewritten to not use database library.
59594         * nss/Makefile: Update to build new makedb program.
59596 2011-06-14  Andreas Jaeger  <aj@suse.de>
59598         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59599         memset declaration.
59601 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59603         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59604         tmpbuf.
59606 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59608         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59609         * elf/Makefile ($(objpfx)ld.so): Likewise.
59611         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59612         Don't list ld.so twice in dependencies.
59614         * posix/bug-regex31.c: Include <stdlib.h>.
59616         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59618         * nis/nss_compat/compat-spwd.c
59619         (getspent_next_nss_netgr): Remove unused variable.
59620         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59622         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59623         nonmembers" output to use the right array.
59625         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59627         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59629         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59630         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59631         * catgets/gencat.c (read_input_file): Likewise.
59632         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59634         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59635         variable definition inside #if's controlling its use.
59637         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59639         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59641         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59643         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59644         unreachable code.
59646         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59648         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59649         * configure: Regenerated.
59651         * Makerules: Revert last change.
59652         * elf/Makefile: Likewise.
59654 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59656         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59657         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59658         (reloc-link): Likewise.
59660 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59662         * elf/Makefile: Add rules to build pldd.
59663         * elf/pldd.c: New file.
59664         * elf/pldd-xx.c: New file.
59666 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59668         * version.h: Update for 2.15 development version.
59670 2011-06-07  David S. Miller  <davem@davemloft.net>
59672         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59673         ifuncs.
59674         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59675         elf_machine_lazy_rel): Likewise.
59676         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59677         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59678         elf_machine_lazy_rel): Likewise.
59679         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59680         dl_hwcap via passed in argument.
59681         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59682         Likewise.
59684 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59686         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59688 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59690         [BZ #12849]
59691         * manual/fdl-1.1.texi: New file, verbatim from:
59692         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59693         * manual/lgpl-2.1.texi: New file, verbatim from:
59694         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59695         * manual/Makefile (licenses): New variable, list those new file names.
59696         (texis): Use it.
59697         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59699         * manual/fdl.texi: File removed.
59700         * manual/lesser.texi: File removed.
59701         * manual/libc.texinfo (Copying, Documentation License):
59702         Use new @include file names, put @appendix directive before @include.
59704 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59706         [BZ #12841]
59707         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59708         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59709         (mq_open): Add __NTH.
59711 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59714         Assume Intel Core i3/i5/i7 processor if AVX is available.
59716 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59718         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59719         typo.
59721 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59723         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59724         memory.  Use alloca_account.  Fix memory leak when retrying.
59726 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59728         * version.h (RELEASE): Bump for 2.14 release.
59729         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59731         * config.make.in (RANLIB): Remove entry.
59733 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59735         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59736         (libc.pot): Work around missing support for .ksh extension in xgettext.
59738         [BZ #12684]
59739         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59740         if both request failed.
59741         (send_dg): In case of server errors clear resplen or *resplen2.
59743         [BZ #12454]
59744         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59745         when there are multiple maps.
59746         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59747         (_dl_fini): Remove test here.
59749         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59751 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59753         [BZ #12350]
59754         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59755         bit from old_res_options.
59756         (gaih_inet): Likewise.
59758         [BZ #11099]
59759         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59760         as signed.
59762         * resolv/res_init.c (res_setoptions): Make the code more compact.
59764         [BZ #11558]
59765         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59766         set RES_USEVC.
59768         [BZ #11634]
59769         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59771         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59773         [BZ #11781]
59774         * malloc/malloc.h: Declare malloc hook variables as volatile.
59776         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59777         in last patch.
59779         [BZ #11799]
59780         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59781         raise in the comment.
59782         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59783         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59784         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59786 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59788         [BZ #12811]
59789         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59790         grow the buffers more if it already has to be sufficient.
59791         (build_wcs_upper_buffer): Likewise.
59792         * posix/regexec.c (check_matching): Likewise.
59793         (clean_state_log_if_needed): Likewise.
59794         (extend_buffers): Don't enlarge buffers beyond size of the input
59795         buffer.
59796         Patches mostly by Emil Wojak <emil@wojak.eu>.
59797         * posix/bug-regex32.c: New file.
59798         * posix/Makefile (tests): Add bug-regex32.
59800         * locale/findlocale.c (_nl_find_locale): Return right away if
59801         _nl_explode_name failed.
59802         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59804         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59806         * debug/xtrace.sh: Unify messages.
59807         * malloc/memusage.sh: Likewise.
59809         [BZ #12813]
59810         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59811         time symbol from vDSO.  Substitute with vsyscall if not available.
59812         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59813         __vdso_time.
59815         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59816         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59817         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59818         Add sendmmsg and internal_sendmmsg.
59819         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59820         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59821         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59823         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59824         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59825         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59827 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59829         [BZ #12813]
59830         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59831         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59832         available.
59833         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59834         __vdso_getcpu.
59836         [BZ #12814]
59837         * iconvdata/Makefile (tests): Add bug-iconv9.
59838         * iconvdata/bug-iconv9.c: New file.
59840 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59842         [BZ #12814]
59843         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59845 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59847         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59848         (struct user_regs_struct): Change intcs field back to cs.
59850 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59852         * po/ja.po: Update from translation team.
59854 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59856         [BZ #12795]
59857         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59858         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59860 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59862         * stdlib/longlong.h: Update from GCC.
59864 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59866         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59867         parameter name.
59868         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59869         Add parameter name.
59870         (__sysconf): Pass it down.
59872 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59874         [BZ #12671]
59875         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59876         some situations.
59877         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59878         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59879         add in in __libc_use_alloca calls.  Adjust callers.
59880         (glob): Use malloc in some situations.
59882         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59883         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59884         pltexit.
59886 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59888         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59889         and CLOCK_BOOTTIME_ALARM.
59891         [BZ #12782]
59892         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59893         is returned.
59895         * string/_strerror.c (__strerror_r): Print negative errors as signed
59896         numbers.
59898         [BZ #12777]
59899         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59900         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59901         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59903         * configure.in: Fix typo in redirection and correct removal of test
59904         files in two cases.
59906         [BZ #12788]
59907         * locale/setlocale.c (new_composite_name): Fix test to check for
59908         identical name of all categories.
59910         [BZ #12792]
59911         * libio/filedoalloc.c (local_isatty): New function.
59912         (_IO_file_doallocate): Use local_isatty.
59913         * stdio-common/perror.c (perror): In case a new stream is used
59914         forward the stream error.
59915         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59916         error flag.
59918 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59920         [BZ #11869]
59921         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59922         alloca.
59923         * include/alloca.h (extend_alloca_account): Define.
59925         [BZ #11857]
59926         * posix/regex.h: Fix comments with documentation of user-accessible
59927         fields after compilation and describe correct free'ing of pattern
59928         after re_compile_pattern.
59929         Patch by Reuben Thomas <rrt@sc3d.org>.
59931 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59933         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59934         and -mno-altivec to prevent the compiler from using Altivec and/or
59935         VSX instructions when the corresponding registers are not available.
59937 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59939         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59941 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59943         * libio/freopen.c (freopen): Use __dup2, not dup2.
59944         * libio/freopen64.c (freopen64): Likewise.
59946 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59948         [BZ #12775]
59949         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59950         * math/Makefile (tests): Add test-powl.
59951         (CFLAGS-test-powl.c): Define.
59952         * math/test-powl.c: New file.
59954 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59956         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59958 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59960         [BZ #11837]
59961         * iconvdata/gb18030.c: Update to GB18020-2005.
59963 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59965         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59966         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59967         Patch by Aharon Robbins <arnold@skeeve.com>.
59969         [BZ #11892]
59970         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59971         on the stack.
59973         [BZ #11895]
59974         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59975         through underflows.
59977         [BZ #12766]
59978         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59979         point to strings before performing equality test for error_one_per_line
59980         mode.
59982         [BZ #11697]
59983         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59985         [BZ #11820]
59986         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59987         (struct user_fpregs_struct): Avoid __uint*_t types.
59989         [BZ #6420]
59990         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59991         symbol info.  Use it instead of calling _dl_addr locally.
59992         (lock_and_info): New function.
59993         (tr_freehook): Call lock_and_info and pass symbol info as additional
59994         parameter to tr_where.
59995         (tr_mallochook): Likewise.
59996         (tr_reallochook): Likewise.
59997         (tr_memalignhook): Likewise.
59999         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
60000         used and couldn't be at all thread-safe.
60002 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
60004         * libio/freopen.c (freopen): Don't close old file descriptor
60005         before the new one is opened.  Instead dup the new file descriptor
60006         to the old one after the new stream is created.
60007         * libio/freopen64.c (freopen64): Likewise.
60008         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60009         * libio/fileops.c (_IO_new_file_close_it): Handle new
60010         _IO_FLAGS2_NOCLOSE flag.
60011         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60012         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60013         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60014         _IO_FLAGS2_NOCLOSE flag.
60015         * include/unistd.h: Add hidden_proto for dup3.
60016         Define __have_dup3.
60017         * io/dup3.c: Define hidden symbol.
60018         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60020         [BZ #7101]
60021         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60022         when an incomplete long option is used.
60023         * posix/tst-getopt_long1.c: New file.
60024         * posix/Makefile (tests): Add tst-getopt_long1.
60026         [BZ #10138]
60027         * scripts/config.guess: Update from autoconf-2.68.
60028         * scripts/config.sub: Likewise.
60030         [BZ #10157]
60031         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60032         tests into ...
60033         (has_cpuclock): ...this.  New function.
60034         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60035         macro here based on has_cpuclock code.
60037         [BZ #10149]
60038         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60039         First byte (not low byte) is now always NUL.
60040         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60042         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60043         Use non-cancelable interfaces.
60045         [BZ #9809]
60046         * locale/iso-639.def: Add entry for Sorani.
60048         [BZ #11901]
60049         * include/stdlib.h: Move include protection to the right place.
60050         Define abort_msg_s.  Declare __abort_msg with it.
60051         * stdlib/abort.c (__abort_msg): Adjust type.
60052         * assert/assert.c (__assert_fail_base): New function.  Majority
60053         of code from __assert_fail.  Allocate memory for __abort_msg with
60054         mmap.
60055         (__assert_fail): Now call __assert_fail_base.
60056         * assert/assert-perr.c: Remove bulk of implementation.  Use
60057         __assert_fail_base.
60058         * include/assert.hL Declare __assert_fail_base.
60059         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60060         mmap.
60061         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60063 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60065         [BZ #11952]
60066         [BZ #12453]
60067         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60068         until all modules are registered in the DTV.
60069         * elf/Makefile: Add rules to build and run tst-tls19.
60070         * elf/tst-tls19.c: New file.
60071         * elf/tst-tls19mod1.c: New file.
60072         * elf/tst-tls19mod2.c: New file.
60073         * elf/tst-tls19mod3.c: New file.
60074         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60076         [BZ #12083]
60077         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60078         correctly.
60080         [BZ #12601]
60081         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60082         two-byte sequence errors.
60083         * iconvdata/Makefile (tests): Add bug-iconv8.
60084         * iconvdata/bug-iconv8.c: New file.
60086         [BZ #12626]
60087         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60088         buf2 definition.
60090         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60092         [BZ #12432]
60093         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60094         (dummy_getcfa): New function.
60095         (init): Get _Unwind_GetCFA address, use dummy if not found.
60096         (backtrace_helper): In recursion check, also check whether CFA changes.
60097         (__backtrace): Completely initialize arg.
60099         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60100         storing incomplete byte sequence in state object.  Avoid testing for
60101         guaranteed too small input if we know there is enough data available.
60103 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60105         * Makeconfig (+link-pie): Indent.
60106         * Rules (binaries-pie): Define if $(have-fpie) and
60107         $(build-shared).
60108         (binaries-shared): Also filter out $(binaries-pie).
60109         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60110         * nscd/Makefile (others-pie): Add nscd.
60111         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60112         ($(objpfx)nscd): Remove command override.
60113         * login/Makefile (others-pie): Add pt_chown.
60114         ($(objpfx)pt_chown): Remove command override.
60115         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60116         remove command overrides.
60118 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60120         * libio/tst_putwc.c: Fix error messages.
60122         [BZ #12724]
60123         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60124         currently writing and seek to current position when not.
60125         * libio/Makefile (tests): Add bug-fclose1.
60126         * libio/bug-fclose1.c: New file.
60128 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60130         [BZ #12511]
60131         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60132         don't set DF_1_NODELETE here.
60133         (do_lookup_x): When entering new entry test for copy relocation
60134         and if necessary set DF_1_NODELETE flag.
60135         * elf/tst-unique4.cc: New file.
60136         * elf/tst-unique4.h: New file.
60137         * elf/tst-unique4lib.cc: New file.
60138         * elf/Makefile: Add rules to build and run tst-unique4.
60139         Patch by Piotr Bury <pbury@goahead.com>.
60141 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60143         [BZ #12052]
60144         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60146         [BZ #12625]
60147         * misc/mntent_r.c (addmntent): Flush the stream after the output
60149         [BZ #12393]
60150         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60151         (is_trusted_path_normalize): Skip initial colon.  Append slash
60152         to empty buffer.  Duplicate is_trusted_path code but allow
60153         constructed patch to be prefix.
60154         (is_dst): Allow $ORIGIN followed by /.
60155         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60156         Correct testing of result of is_trusted_path_normalize
60157         (decompose_rpath): Fix warning.
60159 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60161         [BZ #11257]
60162         * grp/initgroups.c (internal_getgrouplist): When we found the service
60163         list through the initgroups entry in nsswitch.conf do not always
60164         continue on a successful lookup.  Don't always use the
60165         __nss_group_database value if it is set.
60166         * nss/nsswitch.conf (initgroups): Change action for successful db
60167         lookup to continue for compatibility.
60169 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60171         [BZ #11532]
60172         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60173         and CP774 modules.
60174         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60175         and CP774 modules.
60176         * iconvdata/tst-tables.sh: Likewise.
60177         * iconvdata/cp770.c: New file.
60178         * iconvdata/cp771.c: New file.
60179         * iconvdata/cp772.c: New file.
60180         * iconvdata/cp773.c: New file.
60181         * iconvdata/cp774.c: New file.
60182         * iconvdata/testdata/CP770: New file.
60183         * iconvdata/testdata/CP770..UTF8: New file.
60184         * iconvdata/testdata/CP771: New file.
60185         * iconvdata/testdata/CP771..UTF8: New file.
60186         * iconvdata/testdata/CP772: New file.
60187         * iconvdata/testdata/CP772..UTF8: New file.
60188         * iconvdata/testdata/CP773: New file.
60189         * iconvdata/testdata/CP773..UTF8: New file.
60190         * iconvdata/testdata/CP774: New file.
60191         * iconvdata/testdata/CP774..UTF8: New file.
60193         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60194         END CHARMAP line.
60195         * iconvdata/gen-8bit-gap.sh: Likewise.
60196         * iconvdata/gen-8bit.sh: Likewise.
60198         * locale/iso-639.def: Add ary entry.
60200         [BZ #11258]
60201         * locale/C-translit.h.in: Add U20A1 transliteration.
60203         [BZ #12178]
60204         * locale/iso-639.def: Add wae entry.
60205         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60207         [BZ #12545]
60208         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60209         for n.
60211         [BZ #12711]
60212         * locale/C-translit.h.in: Add entry for U20B9.
60213         Patch by pravin.d.s@gmail.com.
60215 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60217         [BZ #12713]
60218         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60219         ENAMETOOLONG use generic getcwd.
60220         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60221         in rtld.  Use *stat64.
60222         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60223         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60224         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60225         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60226         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60227         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60228         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60229         __fstatat64 macros.
60230         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60231         * dirent/rewinddir.c: Add libc_hidden_def.
60232         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60233         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60235         * include/dirent.h (__alloc_dir): Add flags parameter.
60236         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60237         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60238         __alloc_dir.
60239         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60240         from fdopendir if O_CLOEXEC is already set.
60242 2011-03-15  Alan Modra  <amodra@gmail.com>
60244         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60245         l_tls_firstbyte_offset non-zero.  Save padding offset in
60246         l_tls_firstbyte_offset for later use.
60247         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60248         freeing static tls block.
60250 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60252         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60253         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60254         being defined by the kernel headers.
60256 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60258         [BZ #12734]
60259         * resolv/resolv.h: Define RES_NOTLDQUERY.
60260         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60261         no-tld-query and set RES_NOTLDQUERY.
60262         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60263         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60264         modern BIND to search name as TLD unless forbidden.
60266 2011-05-07  Petr Baudis  <pasky@suse.cz>
60267             Ulrich Drepper  <drepper@gmail.com>
60269         [BZ #12393]
60270         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60271         (is_trusted_path): ...to here.
60272         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60273         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60274         using is_trusted_path_normalize() in setuid scripts.
60276 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60278         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60279         __BEGIN/__END_DECLS.
60281 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60283         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60284         NSS_STATUS_NOTFOUND if no record was found.
60286 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60288         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60289         (headers-not-in-tirpc): Remove rpc/netdb.h
60290         * resolv/netdb.h: Revert last change.
60292 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60294         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60295         circular dependency between libgcc.a and libc.a.
60297 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60299         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60300         * nis/Makefile: Don't install rpcsvc/*.
60301         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60302         instead of <rpc/types.h>.
60303         (MAXHOSTNAMELEN): Define.
60305 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60307         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60309 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60311         [BZ #12714]
60312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60313         gethostbyname4_r when IPv6 results are possible.
60315 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60317         [BZ #12723]
60318         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60319         _PC_PIPE_BUF handling.
60321 2011-04-30  Bruno Haible  <bruno@clisp.org>
60323         [BZ #12717]
60324         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60325         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60326         to 'int'.
60327         * inet/getnameinfo.c (getnameinfo): Likewise.
60329 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60331         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60332         to groups setting in database lookup.
60333         * nss/nsswitch.conf: Add initgroups entry.
60335 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60337         [BZ #12685]
60338         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60339         mode string.
60340         Patch by Eric Blake <eblake@redhat.com>.
60342 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60344         * sunrpc/Makefile (need-export-routines): Add svc_run.
60345         (routines): Remove svc_run.
60346         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60347         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60348         * sunrpc/svc_run.c (svc_run): Likewise.
60349         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60351 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60353         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60354         problem in reallocation in last patch.
60356 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60358         * sunrpc/Makefile: Move inclusion of Rules.
60360 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60362         * nss/nss_files/files-initgroups.c: New file.
60363         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60364         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60365         _nss_files_initgroups_dyn.
60367 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60369         * elf/elf.h (R_ARM_IRELATIVE): Define.
60371 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60373         * po/ru.po: Update from translation team.
60375 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60377         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60378         dependencies.
60380 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60382         [BZ #12653]
60383         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60384         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60385         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60386         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60387         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60389 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60391         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60392         differing bytes.
60393         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60394         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60395         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60397 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60399         [BZ #12420]
60400         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60401         storing it.
60402         * stdlib/bug-getcontext.c: New file.
60403         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60405 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60407         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60408         instructions into .machine "z9-109".
60409         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60410         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60412 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60414         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60415         between environment variables and auxiliary vector.
60417 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60419         * Makefile: Add rules to build linkobj/libc.so.
60420         * include/libc-symbols.h: Define libc_hidden_nolink.
60421         * include/rpc/auth.h: Mark functions which are to be hidden.
60422         * include/rpc/auth_des.h: Likewise.
60423         * include/rpc/auth_unix.h: Likewise.
60424         * include/rpc/clnt.h: Likewise.
60425         * include/rpc/des_crypt.h: Likewise.
60426         * include/rpc/key_prot.h: Likewise.
60427         * include/rpc/pmap_clnt.h: Likewise.
60428         * include/rpc/pmap_prot.h: Likewise.
60429         * include/rpc/pmap_rmt.h: Likewise.
60430         * include/rpc/rpc_msg.h: Likewise.
60431         * include/rpc/svc.h: Likewise.
60432         * include/rpc/svc_auth.h: Likewise.
60433         * include/rpc/xdr.h: Likewise.
60434         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60435         * nss/Makefile: Likewise.
60436         * sunrpc/Makefile: Don't install headers.  Build library with normal
60437         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60438         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60439         for the compat linking library.  Remove use of INTDEF/INTUSE.
60440         * sunrpc/auth_none.c: Likewise.
60441         * sunrpc/auth_unix.c: Likewise.
60442         * sunrpc/authdes_prot.c: Likewise.
60443         * sunrpc/authuxprot.c: Likewise.
60444         * sunrpc/clnt_gen.c: Likewise.
60445         * sunrpc/clnt_perr.c: Likewise.
60446         * sunrpc/clnt_raw.c: Likewise.
60447         * sunrpc/clnt_simp.c: Likewise.
60448         * sunrpc/clnt_tcp.c: Likewise.
60449         * sunrpc/clnt_udp.c: Likewise.
60450         * sunrpc/clnt_unix.c: Likewise.
60451         * sunrpc/des_crypt.c: Likewise.
60452         * sunrpc/des_soft.c: Likewise.
60453         * sunrpc/get_myaddr.c: Likewise.
60454         * sunrpc/key_call.c: Likewise.
60455         * sunrpc/key_prot.c: Likewise.
60456         * sunrpc/netname.c: Likewise.
60457         * sunrpc/pm_getmaps.c: Likewise.
60458         * sunrpc/pm_getport.c: Likewise.
60459         * sunrpc/pmap_clnt.c: Likewise.
60460         * sunrpc/pmap_prot.c: Likewise.
60461         * sunrpc/pmap_prot2.c: Likewise.
60462         * sunrpc/pmap_rmt.c: Likewise.
60463         * sunrpc/publickey.c: Likewise.
60464         * sunrpc/rpc_cmsg.c: Likewise.
60465         * sunrpc/rpc_common.c: Likewise.
60466         * sunrpc/rpc_dtable.c: Likewise.
60467         * sunrpc/rpc_prot.c: Likewise.
60468         * sunrpc/rpc_thread.c: Likewise.
60469         * sunrpc/rtime.c: Likewise.
60470         * sunrpc/svc.c: Likewise.
60471         * sunrpc/svc_auth.c: Likewise.
60472         * sunrpc/svc_authux.c: Likewise.
60473         * sunrpc/svc_raw.c: Likewise.
60474         * sunrpc/svc_run.c: Likewise.
60475         * sunrpc/svc_simple.c: Likewise.
60476         * sunrpc/svc_tcp.c: Likewise.
60477         * sunrpc/svc_udp.c: Likewise.
60478         * sunrpc/svc_unix.c: Likewise.
60479         * sunrpc/svcauth_des.c: Likewise.
60480         * sunrpc/xcrypt.c: Likewise.
60481         * sunrpc/xdr.c: Likewise.
60482         * sunrpc/xdr_array.c: Likewise.
60483         * sunrpc/xdr_float.c: Likewise.
60484         * sunrpc/xdr_intXX_t.c: Likewise.
60485         * sunrpc/xdr_mem.c: Likewise.
60486         * sunrpc/xdr_rec.c: Likewise.
60487         * sunrpc/xdr_ref.c: Likewise.
60488         * sunrpc/xdr_sizeof.c: Likewise.
60489         * sunrpc/xdr_stdio.c: Likewise.
60491 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60493         [BZ #12650]
60494         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60495         * sysdeps/ia64/dl-tls.h: Likewise.
60496         * sysdeps/powerpc/dl-tls.h: Likewise.
60497         * sysdeps/s390/dl-tls.h: Likewise.
60498         * sysdeps/sh/dl-tls.h: Likewise.
60499         * sysdeps/sparc/dl-tls.h: Likewise.
60500         * sysdeps/x86_64/dl-tls.h: Likewise.
60501         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60503 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60505         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60506         rpath element also skip the following colon.
60507         (expand_dynamic_string_token): Add is_path parameter and pass
60508         down to DL_DST_REQUIRED and _dl_dst_substitute.
60509         (decompose_rpath): Call expand_dynamic_string_token with
60510         non-zero is_path.  Ignore empty rpaths.
60511         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60512         with zero is_path.
60514 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60517         Make cancelable.
60519 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60521         [BZ #12655]
60522         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60523         Patch by Filipe David Manana <fdmanana@apache.org>.
60525 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60527         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60528         Maintain aligned stack.
60529         (CHECK_RSP): Remove unused macro.
60531 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60533         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60534         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60536 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60538         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60540         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60542 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60544         [BZ #12518]
60545         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60546         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60547         * sysdeps/x86_64/memmove.c: New file.
60548         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60549         (memcpy): Renamed to ...
60550         (__new_memcpy): This.
60551         (memcpy): Provide GLIBC_2_14 memcpy.
60552         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60553         (memcpy): Provide GLIBC_2_2_5 memcpy.
60555 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60557         [BZ #12631]
60558         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60560 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60562         * misc/syncfs.c: New file.
60563         * misc/Makefile (routines): Add syncfs.
60564         * posix/unistd.h: Declare syncfs.
60565         * sysdeps/unix/syscalls.list: Add syncfs.
60567 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60569         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60570         open_by_handle_at.
60571         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60572         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60573         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60574         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60575         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60576         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60577         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60579 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60581         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60582         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60583         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60584         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60585         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60586         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60587         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60589         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60590         sync_file_range.c with -fexceptions.
60591         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60592         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60593         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60594         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60595         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60596         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60597         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60598         sync_file_range as cancellation point
60599         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60600         now a wrapper around __call_sync_file_range with cancellation handling.
60601         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60602         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60603         function name to __call_sync_file_range.
60604         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60605         Add call_sync_file_range.
60607 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60609         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60610         bits/timex.h.
60612 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60614         * iconv/iconv.h: Fix typo in comment.
60615         * io/fcntl.h: Likewise.
60616         * libio/stdio.h: Likewise.
60617         * posix/spawn.h: Likewise.
60618         * posix/unistd.h: Likewise.
60619         * stdlib/stdlib.h: Likewise.
60620         * time/time.h: Likewise.
60621         * wcsmbs/wchar.h: Likewise.
60623         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60624         open_by_handle): Add.
60625         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60626         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60627         Augment a few comments.
60628         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60629         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60630         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60631         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60632         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60633         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60634         open_by_handle.
60636         * io/fcntl.h (AT_EMPTY_PATH): Define.
60638 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60640         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60641         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60642         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60643         to...
60644         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60645         * Versions.def: Add GLIBC_2.14.
60646         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60647         Export.
60649 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60651         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60652         round counter.
60653         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60655 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60657         [BZ #12597]
60658         * string/test-strncmp.c (do_page_test): New function.
60659         (check2): Likewise.
60660         (test_main): Call check2.
60661         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60663 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60665         [BZ #12587]
60666         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60667         Handle cache information in CPU leaf 4.
60668         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60670 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60672         [BZ #12583]
60673         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60674         character representation.
60675         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60677 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60679         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60680         END(__isnan) to END(__isnanf) to match function entry point/label
60681         EALIGN(__isnanf,...).
60683 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60685         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60687 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60689         [BZ #12510]
60690         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60691         copy from the symbol referenced in the relocation to initialize the
60692         used variable.
60693         Patch by Piotr Bury <pbury@goahead.com>.
60694         * elf/Makefile: Add rules to build and tst-unique3.
60695         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60696         * elf/tst-unique3.cc: New file.
60697         * elf/tst-unique3.h: New file.
60698         * elf/tst-unique3lib.cc: New file.
60699         * elf/tst-unique3lib2.cc: New file.
60701         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60703 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60705         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60706         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60707         to _start.
60709 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60711         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60712         to-be-loaded object along a path to loader is ld.so.
60714 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60715             Ulrich Drepper  <drepper@gmail.com>
60717         * sysdeps/x86_64/memset.S: After aligning destination, code
60718         branches to different locations depending on the value of
60719         misalignment, when multiarch is enabled. Fix this.
60721 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60723         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60724         Set _x86_64_preferred_memory_instruction for AMD processsors.
60725         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60726         Set bit_Prefer_SSE_for_memop for AMD processors.
60728 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60730         * libio/fmemopen.c (fmemopen): Optimize a bit.
60732 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60734         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60736 2011-03-03  Roland McGrath  <roland@redhat.com>
60738         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60740 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60742         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60743         __bzero_ultra1 instead of __memset_ultra1.
60745 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60746             Ulrich Drepper  <drepper@gmail.com>
60748         [BZ #12509]
60749         * include/link.h (struct link_map): Add l_orig_initfini.
60750         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60751         returning unsuccessfully.
60752         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60753         close of a file loaded at startup, restore the original l_initfini
60754         list.
60755         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60756         list, store the pointer.
60757         * elf/Makefile ($(objpfx)noload-mem): New rule.
60758         (noload-ENV): Define.
60759         (tests): Add $(objpfx)noload-mem.
60760         * elf/noload.c: Include <memcheck.h>.
60761         (main): Call mtrace.  Close all opened handles.
60763 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60765         [BZ #12454]
60766         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60767         dependencies are missing.
60769 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60771         Fix __if_freereq crash: Unlike the generic version which uses free,
60772         Hurd needs munmap.
60773         * sysdeps/mach/hurd/ifreq.h: New file.
60775 2011-01-27  Petr Baudis  <pasky@suse.cz>
60776             Ulrich Drepper  <drepper@gmail.com>
60778         [BZ 12445]#
60779         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60780         to extend_alloca().
60781         * stdio-common/bug23.c: New file.
60782         * stdio-common/Makefile (tests): Add bug23.
60784 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60785             Ulrich Drepper  <drepper@gmail.com>
60787         [BZ #12489]
60788         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60789         before performing relro protection.  At old place add assertion
60790         to make sure nothing changed.
60792 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60793             Glauber de Oliveira Costa  <glommer@gmail.com>
60795         * elf/elf.h: Add new ARM TLS relocs.
60797 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60800         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60801         cast from r3.
60802         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60803         'tests' variable.
60804         * sysdeps/wordsize-64/tst-writev.c: New file.
60806 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60808         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60809         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60810         insns in _dl_start to prevent a TOC reference before relocs are
60811         resolved.
60813 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60815         [BZ #12469]
60816         * Makeconfig: Remove RANLIB definition.
60817         * Makerules: Don't use RANLIB.
60818         * aclocal.m4: Remove ranlib test.
60819         * configure.in: No need to check for ranlib.
60820         * elf/rtld-Rules: Don't use RANLIB.
60822 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60824         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60825         protection macro.
60826         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60827         inclusion protection macro.
60829         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60830         SIGRTMIN and SIGRTMAX and print information in that case only when
60831         SIGRTMIN is defined.
60833 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60835         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60836         arginfo fn returning -1.
60838         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60839         and thousands string is zero terminated.
60841 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60843         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60844         sysdeps/unix/sysv/linux/bits/socket.h.
60846 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60848         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60849         (__CPU_COUNT): Remove old macros.
60850         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60851         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60852         (__CPU_ALLOC, __CPU_FREE): Add macros.
60853         (__sched_cpualloc, __sched_cpufree): Add declarations.
60855 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60857         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60858         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60859         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60860         (readdhstai): Return value of addhstaiX call.
60861         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60862         (addgrbyX): Return value returned by cache_addgr.
60863         (readdgrbyname): Return value returned by addgrbyX.
60864         (readdgrbygid): Likewise.
60865         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60866         (addpwbyX): Return value returned by cache_addpw.
60867         (readdpwbyname): Return value returned by addhstbyX.
60868         (readdpwbyuid): Likewise.
60869         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60870         (addservbyX): Return value returned by cache_addserv.
60871         (readdservbyname): Return value returned by addservbyX:
60872         (readdservbyport): Likewise.
60873         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60874         (addhstbyX): Return value returned by cache_addhst.
60875         (readdhstbyname): Return value returned by addhstbyX.
60876         (readdhstbyaddr): Likewise.
60877         (readdhstbynamev6): Likewise.
60878         (readdhstbyaddrv6): Likewise.
60879         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60880         (readdinitgroups): Return value returned by addinitgroupsX.
60881         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60882         (prune_cache): Keep track of timeout value of re-added entries.
60883         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60884         * nscd/nscd.h: Adjust prototypes of readd* functions.
60886 2011-02-04  Roland McGrath  <roland@redhat.com>
60888         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60889         (nis_stats): Likewise.
60890         * nis/nis_modify.c (nis_modify): Likewise.
60891         * nis/nis_remove.c (nis_remove): Likewise.
60892         * nis/nis_add.c (nis_add): Likewise.
60894         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60896         * posix/fnmatch_loop.c: Add some consts.
60898         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60900 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60902         [BZ #12460]
60903         * config.make.in (config-cflags-novzeroupper): Define.
60904         * configure.in: Substitute libc_cv_cc_novzeroupper.
60905         * elf/Makefile (AVX-CFLAGS): Define.
60906         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60907         (CFLAGS-tst-auditmod4a.c): Likewise.
60908         (CFLAGS-tst-auditmod4b.c): Likewise.
60909         (CFLAGS-tst-auditmod6b.c): Likewise.
60910         (CFLAGS-tst-auditmod6c.c): Likewise.
60911         (CFLAGS-tst-auditmod7b.c): Likewise.
60912         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60914 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60916         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60917         function to the callback.
60918         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60920 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60922         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60923         of errno.
60925 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60927         [BZ #11724]
60928         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60929         of constructors.
60930         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60931         of destructors.
60932         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60934         [BZ #11724]
60935         * elf/Makefile: Add rules to build and run new test.
60936         * elf/tst-initorder.c: New file.
60937         * elf/tst-initorder.exp: New file.
60938         * elf/tst-initordera1.c: New file.
60939         * elf/tst-initordera2.c: New file.
60940         * elf/tst-initordera3.c: New file.
60941         * elf/tst-initordera4.c: New file.
60942         * elf/tst-initorderb1.c: New file.
60943         * elf/tst-initorderb2.c: New file.
60944         * elf/tst-order-a1.c: New file.
60945         * elf/tst-order-a2.c: New file.
60946         * elf/tst-order-a3.c: New file.
60947         * elf/tst-order-a4.c: New file.
60948         * elf/tst-order-b1.c: New file.
60949         * elf/tst-order-b2.c: New file.
60950         * elf/tst-order-main.c: New file.
60951         New test case by George Gensure <werkt0@gmail.com>.
60953 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60955         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60956         decoding ACE if AI_CANONIDN.
60958 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60960         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60962 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60964         * version.h (RELEASE): Bump for 2.13 release.
60965         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60967         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60969         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60970         MADV_NOHUGEPAGE.
60971         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60972         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60973         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60974         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60975         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60976         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60978         * posix/getconf.c: Update copyright year.
60979         * catgets/gencat.c: Likewise.
60980         * csu/version.c: Likewise.
60981         * debug/catchsegv.sh: Likewise.
60982         * debug/xtrace.sh: Likewise.
60983         * elf/ldconfig.c: Likewise.
60984         * elf/ldd.bash.in: Likewise.
60985         * elf/sprof.c (print_version): Likewise.
60986         * iconv/iconv_prog.c: Likewise.
60987         * iconv/iconvconfig.c: Likewise.
60988         * locale/programs/locale.c: Likewise.
60989         * locale/programs/localedef.c: Likewise.
60990         * malloc/memusage.sh: Likewise.
60991         * malloc/mtrace.pl: Likewise.
60992         * nscd/nscd.c (print_version): Likewise.
60993         * nss/getent.c: Likewise.
60995         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60996         PF_CAIF, and PF_ALG.
60997         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60999 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
61001         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61002         (modules-names): Use them.
61003         (ifunc-test-modules, ifunc-pie-tests): Define.
61004         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61005         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61006         (test-extras): Likewise.
61007         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61008         $(compile-command.c).
61009         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61010         (all-built-dso): Define.
61011         (check-textrel.out, check-execstack.out): Depend on it.
61013         * configure.in: Don't override --enable-multi-arch.
61015 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61017         [BZ #6812]
61018         * nscd/hstcache.c (tryagain): Define.
61019         (cache_addhst): Return tryagain not notfound for temporary errors.
61020         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61021         failed.
61023 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61025         [BZ #10563]
61026         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61027         to make the syscall.
61028         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61030         [BZ #12378]
61031         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61032         and fall back to matching as normal character if the string ends before
61033         the matching ']' is found.  This is what POSIX requires.
61034         * posix/testfnm.c: Adjust test result.
61035         * posix/globtest.sh: Adjust test result.  Add new test.
61036         * posix/tst-fnmatch.input: Likewise.
61037         * posix/tst-fnmatch2.c: Add new test.
61039 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61041         * elf/Makefile (check-execstack): Revert last change.  Depend on
61042         check-execstack.h.
61043         (check-execstack.h): New target.
61044         (generated): Add check-execstack.h.
61045         * elf/check-execstack.c: Include "check-execstack.h".
61046         (main): Revert last change.
61047         (handle_file): Return zero if GNU_STACK is absent and
61048         DEFAULT_STACK_PERMS doesn't include PF_X.
61050 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61052         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61053         in child fails because the descriptor is already closed.
61054         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61055         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61056         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61058         [BZ #12397]
61059         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61060         syscall.
61062         [BZ #10484]
61063         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61064         temporary buffer used to handle multi lookups locally.
61065         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61067 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61069         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61070         loader is ld.so.
61072 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61074         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61075         alignment for SSE2.
61077 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61079         [BZ #12394]
61080         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61081         characters.  When rounding increased number of integer digits recompute
61082         number of groups.
61083         * stdio-common/tst-grouping.c: New file.
61084         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61086 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61088         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61089         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61091         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61092         void.
61093         * bits/select.h: Likewise.
61095 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61097         * po/ja.po: Update from translation team.
61099 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61101         [BZ #11155]
61102         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61103         implementation just like for lxstat, fxstatat, et al.
61105 2010-12-27  Jim Meyering  <meyering@redhat.com>
61107         [BZ #12348]
61108         * posix/regexec.c (build_trtable): Return failure indication upon
61109         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61111 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61113         [BZ #12201]
61114         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61115         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61116         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61117         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61119         [BZ #12207]
61120         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61122         [BZ #12204]
61123         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61124         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61126 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61128         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61129         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61130         script has SORT_BY_INIT_PRIORITY.
61131         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61132         NO_CTORS_DTORS_SECTIONS is defined.
61133         * elf/soinit.c: Likewise.
61134         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61135         NO_CTORS_DTORS_SECTIONS is defined.
61136         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61137         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61138         * sysdeps/sh/init-first.c: Likewise.
61139         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61141 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61143         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61144         always use the slow path.
61146 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61148         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61149         similar rule which adds the sysdep directories to the header search in
61150         order to pick up the correct platform stackinfo.h.
61151         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61152         perform test if it is, otherwise return successfully without testing.
61153         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61154         DEFAULT_STACK_PERMS define in stackinfo.h.
61155         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61156         defined in stackinfo.h.
61157         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61158         DEFAULT_STACK_PERMS defined in stackinfo.h.
61159         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61160         * sysdeps/ia64/stackinfo.h: Likewise.
61161         * sysdeps/s390/stackinfo.h: Likewise.
61162         * sysdeps/sh/stackinfo.h: Likewise.
61163         * sysdeps/sparc/stackinfo.h: Likewise.
61164         * sysdeps/x86_64/stackinfo.h: Likewise.
61165         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61166         PF_X for powerpc64.  Retain PF_X for powerpc32.
61168 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61170         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61171         accurately.
61172         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61173         GETDENTS_64BIT_ALIGNED.
61175 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61177         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61179 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61181         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61182         _GNU_SOURCE.
61184         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61185         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61186         Remove __restrict.
61187         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61188         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61190 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61192         [BZ #11655]
61193         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61194         are initialized.
61196 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61198         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61200 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61202         * po/it.po: Update from translation team.
61204 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61206         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61207         unused codes.
61209 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61211         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61213 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61215         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61216         specially.
61217         (gaih_getanswer_slice): Likewise.
61219 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61221         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61223 2010-05-31  Petr Baudis  <pasky@suse.cz>
61225         [BZ #11149]
61226         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61227         silently even in the chroot mode.
61229 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61231         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61232         last patch a bit.  Pretty printing
61234 2010-05-31  Petr Baudis <pasky@suse.cz>
61236         [BZ #10085]
61237         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61238         initialization of skip_initgroups_dyn.
61240 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61242         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61243         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61245 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61247         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61249 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61251         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61252         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61253         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61254         ($(objpfx)tst-fnmatch-mem): New rule.
61255         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61256         * posix/tst-fnmatch.c (main): Call mtrace.
61258 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61260         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61261         Support Intel processor model 6 and model 0x2c.
61263 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61265         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61266           signed comparison.
61268 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61270         [BZ #12205]
61271         * string/test-strncasecmp.c (check_result): New function.
61272         (do_one_test): Use it.
61273         (check1): New function.
61274         (test_main): Use it.
61275         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61276         Support strcasecmp and strncasecmp.
61278 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61280         [BZ #12194]
61281         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61282         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61284 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61286         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61287         IFUNC support.
61288         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61289         memset-x86-64.
61290         * sysdeps/x86_64/multiarch/bzero.S: New file.
61291         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61292         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61293         * sysdeps/x86_64/multiarch/memset.S: New file.
61294         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61296         Set bit_Prefer_SSE_for_memop for Intel processors.
61297         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61298         Define.
61299         (index_Prefer_SSE_for_memop): Define.
61300         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61302 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61304         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61305         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61307 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61309         [BZ #12191]
61310         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61311         (__x86_64_raw_data_cache_size_half): Likewise.
61312         (__x86_64_raw_shared_cache_size): Likewise.
61313         (__x86_64_raw_shared_cache_size_half): Likewise.
61315         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61316         (__x86_64_raw_data_cache_size_half): Likewise.
61317         (__x86_64_raw_shared_cache_size): Likewise.
61318         (__x86_64_raw_shared_cache_size_half): Likewise.
61319         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61320         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61321         and __x86_64_raw_shared_cache_size_half.  Round
61322         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61323         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61324         to multiple of 256 bytes.
61326 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61328         [BZ #12167]
61329         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61330         of inacessible symlinks.  Verify result of symlink before returning it.
61331         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61332         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61334 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61336         * math/math.h (isinf): Fix typo in comment.
61338 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61340         * po/da.po: Update from translation team.
61342 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61344         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61345         is added to the list.
61347 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61348             Ulrich Drepper  <drepper@gmail.com>
61350         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61351         the global list here.  Move code to...
61352         (_dl_add_to_namespace_list): ...here.  New function.
61353         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61354         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61355         * elf/dl-load.c (lose): Don't remove the element from the list.
61356         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61357         (_dl_map_object): Likewise.
61359 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61361         [BZ #12159]
61362         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61363         into all bytes of SSE register.
61364         Patch by Richard Li <richardpku@gmail.com>.
61366 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61368         [BZ #12140]
61369         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61370         perturbing.
61372 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61374         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61375         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61376         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61377         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61379         submachine.
61380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61382 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61384         * include/dlfcn.h (__RTLD_SECURE): Define.
61385         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61386         mode & __RTLD_SECURE instead.
61387         (open_path): Rename preloaded parameter to secure.
61388         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61389         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61390         * elf/dl-deps.c (openaux): Likewise.
61391         * elf/rtld.c (struct map_args): Remove is_preloaded.
61392         (map_doit): Don't use it.
61393         (dl_main): Likewise.
61394         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61395         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61397 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61399         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61400         (sysd-rules-targets): Remove duplicates.
61401         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61402         rtld-%.$o dependency.
61404 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61406         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61407         _dl_map_object do it.
61409 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61411         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61412         fast fma builtins, define the macros in the C99 standard.
61413         (FP_FAST_FMAF): Likewise.
61414         (FP_FAST_FMAL): Likewise.
61415         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61417         * bits/mathdef.h: Update copyright year.
61418         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61420 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61422         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61423         builtins, define the macros in the C99 standard.
61424         (FP_FAST_FMAF): Likewise.
61425         (FP_FAST_FMAL): Likewise.
61426         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61427         multiply/add.
61428         (FP_FAST_FMAF): Likewise.
61430 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61432         [BZ #3268]
61433         * math/libm-test.inc (fma_test): Some new testcases.
61434         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61435         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61436         y and infinite z.  Do multiplication by C already in long double.
61437         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61438         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61439         y and infinite z.  Do bitwise or of inexact bit into u.d.
61440         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61441         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61442         * sysdeps/i386/fpu/s_fma.S: Removed.
61443         * sysdeps/i386/fpu/s_fmal.S: Removed.
61445 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61447         [BZ #3268]
61448         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61449         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61450         computation is not scheduled after fetestexcept.  Fix value
61451         of minimum denormal long double.
61453 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61455         [BZ #3268]
61456         * math/libm-test.inc (fma_test): Add some more tests.
61457         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61458         correctly.
61460 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61462         * scripts/data/localplt-s390-linux-gnu.data: New file.
61463         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61465 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61467         [BZ #3268]
61468         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61469         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61470         instead of dbl-64.
61471         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61472         inlines.
61473         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61474         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61475         if one of x and y is very large and the other is subnormal.
61476         * sysdeps/s390/fpu/s_fmaf.c: New file.
61477         * sysdeps/s390/fpu/s_fma.c: New file.
61478         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61479         * sysdeps/powerpc/fpu/s_fma.S: New file.
61480         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61481         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61482         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61484 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61486         [BZ #3268]
61487         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61488         fma tests.
61489         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61490         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61491         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61492         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61493         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61494         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61495         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61497 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61499         [BZ #12078]
61500         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61501         * posix/bug-regex31.input: Add test case.
61503 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61505         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61506         * posix/bug-regex31.input: New file.
61508         [BZ #12078]
61509         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61510         (parse_sub_exp): Fix last change, use postorder.
61512         * posix/bug-regex31.c: New file.
61513         * posix/Makefile: Add rules to build and run bug-regex31.
61515         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61517         [BZ #12078]
61518         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61520         [BZ #12108]
61521         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61522         to have entries in sys_siglist.
61524         [BZ #12093]
61525         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61526         be NULL.
61528 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61530         [BZ #3268]
61531         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61532         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61533         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61534         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61535         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61536         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61537         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61538         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61539         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61540         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61541         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61542         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61543         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61544         * math/ftestexcept.c (fetestexcept): Likewise.
61545         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61546         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61547         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61548         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61549         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61550         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61551         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61553 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61555         [BZ #12107]
61556         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61557         newline.
61559 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61561         * string/bug-strstr1.c: New file.
61562         * string/Makefile: Add rules to build and run bug-strstr1.
61564 2010-10-05  Eric Blake  <eblake@redhat.com>
61566         [BZ #12092]
61567         * string/str-two-way.h (two_way_long_needle): Always clear memory
61568         when skipping input due to the shift table.
61570 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61572         [BZ #12005]
61573         * malloc/mcheck.c: Handle large requests.
61575         [BZ #12077]
61576         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61577         for strncmp and strncasecmp.
61578         * string/stratcliff.c: Add tests for strcmp and strncmp.
61579         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61581 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61583         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61584         __set_fpscr.
61586 2010-09-30  Andreas Jaeger  <aj@suse.de>
61588         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61589         (CGROUP_SUPER_MAGIC): Define.
61590         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61591         Handle btrfs and cgroup file systems.
61592         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61593         Likewise.
61595 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61597         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61598         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61600 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61602         [BZ #12067]
61603         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61604         trying to locate the ELF header.
61606 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61608         [BZ #11611]
61609         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61610         Mask out sign-bit copies when constructing f_fsid.
61612 2010-09-24  Petr Baudis <pasky@suse.cz>
61614         * debug/stack_chk_fail_local.c: Add missing licence exception.
61615         * debug/warning-nop.c: Likewise.
61617 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61619         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61620         implementing getdents64 using getdents syscall, set d_type if
61621         __ASSUME_GETDENTS32_D_TYPE.
61623 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61625         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61626         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61628 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61630         [BZ #12037]
61631         * posix/unistd.h: Undo change of feature selection for ftruncate from
61632         2010-01-11.
61634 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61636         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61637         detection.
61639 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61641         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61642         fanotify_mark.
61643         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61645 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61647         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61648         variables after CHECK_SP call.
61649         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61651 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61652             Ulrich Drepper  <drepper@redhat.com>
61654         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61655         re-relocationg ld.so.
61656         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61657         _dl_init_paths call.
61658         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61659         here anymore.
61661 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61663         * resolv/res_init.c (__res_vinit): Count the default server we added.
61665 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61666             Ulrich Drepper  <drepper@redhat.com>
61668         [BZ #11968]
61669         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61670         (____longjmp_chk): Use %ebx for saving value across system call.
61671         Add unwind info.
61673 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61675         * manual/Makefile: Don't mix pattern rules with normal rules.
61677 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61679         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61680         operation.
61681         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61682         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61683         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61684         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61685         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61686         Likewise.
61688 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61690         [BZ #11979]
61691         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61692         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61694 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61696         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61697         * sysdeps/x86_64/addmul_1.S: Likewise.
61698         * sysdeps/x86_64/lshift.S: Likewise.
61699         * sysdeps/x86_64/mul_1.S: Likewise.
61700         * sysdeps/x86_64/rshift.S: Likewise.
61701         * sysdeps/x86_64/sub_n.S: Likewise.
61702         * sysdeps/x86_64/submul_1.S: Likewise.
61704 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61706         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61707         Define __sched_param instead of SCHED_* and sched_param when
61708         <bits/sched.h> is included with __need_schedparam defined.
61709         * bits/sched.h [__need_schedparam]
61710         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61711         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61712         (__defined_schedparam): Define to 1.
61713         (__sched_param): New structure, identical to sched_param.
61714         (__need_schedparam): Undefine.
61716 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61718         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61719         (epoll_create1): Declare.
61721         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61723 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61725         [BZ #7066]
61726         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61727         shifting retval into place.
61729 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61731         * nis/rpcsvc/nis.h: Update copyright notice.
61732         * nis/rpcsvc/nis.x: Likewise.
61733         * nis/rpcsvc/nis_callback.h: Likewise.
61734         * nis/rpcsvc/nis_callback.x: Likewise.
61735         * nis/rpcsvc/nis_object.x: Likewise.
61736         * nis/rpcsvc/nis_tags.h: Likewise.
61737         * nis/rpcsvc/yp.h: Likewise.
61738         * nis/rpcsvc/yp.x: Likewise.
61739         * nis/rpcsvc/ypupd.h: Likewise.
61740         * nis/yp_xdr.c: Likewise.
61741         * nis/ypupdate_xdr.c: Likewise.
61743         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61744         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61745         (pmap_getport): Use __libc_rpc_getport.
61746         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61747         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61748         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61750 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61753         fanotify_mark.
61755 2010-08-27  Roland McGrath  <roland@redhat.com>
61757         * sysdeps/i386/i686/multiarch/Makefile
61758         (CFLAGS-varshift.c): New variable.
61760 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61762         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61763         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61765         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61767         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61769 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61771         * sysdeps/x86_64/strlen.S: Unroll the loop.
61772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61773         strlen-sse2 strlen-sse2-bsf.
61774         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61775         __strlen_no_bsf if bit_Slow_BSF is set.
61776         (__strlen_sse42): Removed.
61777         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61778         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61780 2010-08-25  Roland McGrath  <roland@redhat.com>
61782         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61783         * sysdeps/x86_64/multiarch/varshift.c: New file.
61784         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61785         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61786         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61787         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61789 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61791         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61792         strlen-sse2 strlen-sse2-bsf.
61793         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61794         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61795         (__strlen_sse2): Removed.
61796         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61797         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61798         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61799         bit_Slow_BSF for Atom.
61800         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61801         (index_Slow_BSF): Define.
61802         (HAS_SLOW_BSF): Define.
61804 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61806         [BZ #10851]
61807         * resolv/res_init.c (__res_vinit): When no server address at all
61808         is given default to loopback.
61810 2010-08-24  Roland McGrath  <roland@redhat.com>
61812         * configure.in: Remove config-name.h generation.
61813         * configure: Regenerated.
61814         * config-name.in: File removed.
61815         * scripts/config-uname.sh: New file.
61816         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61817         ($(objdir)config-name.h): New target.
61819         * sunrpc/rpc_parse.h: Avoid nested comment.
61821 2010-08-24  Richard Henderson  <rth@redhat.com>
61822             Ulrich Drepper  <drepper@redhat.com>
61823             H.J. Lu  <hongjiu.lu@intel.com>
61825         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61826         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61827         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61828         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61829         _mm_alignr_epi8 with _mm_loadu_si128.
61830         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61831         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61832         (__m128i_shift_right): Removed.
61833         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61834         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61835         * sysdeps/x86_64/multiarch/varshift.h: New file.
61836         * sysdeps/x86_64/multiarch/varshift.S: New file.
61838 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61840         * configure.in: Move assembler checks to before sysdep dir checking.
61842 2010-08-20  Petr Baudis  <pasky@suse.cz>
61844         * LICENSES: Sync the sunrpc license.
61846 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61848         * sunrpc/auth_des.c: Update copyright notice once again.
61849         * sunrpc/auth_none.c: Likewise.
61850         * sunrpc/auth_unix.c: Likewise.
61851         * sunrpc/authdes_prot.c: Likewise.
61852         * sunrpc/authuxprot.c: Likewise.
61853         * sunrpc/bindrsvprt.c: Likewise.
61854         * sunrpc/clnt_gen.c: Likewise.
61855         * sunrpc/clnt_perr.c: Likewise.
61856         * sunrpc/clnt_raw.c: Likewise.
61857         * sunrpc/clnt_simp.c: Likewise.
61858         * sunrpc/clnt_tcp.c: Likewise.
61859         * sunrpc/clnt_udp.c: Likewise.
61860         * sunrpc/clnt_unix.c: Likewise.
61861         * sunrpc/des_crypt.c: Likewise.
61862         * sunrpc/des_soft.c: Likewise.
61863         * sunrpc/get_myaddr.c: Likewise.
61864         * sunrpc/getrpcport.c: Likewise.
61865         * sunrpc/key_call.c: Likewise.
61866         * sunrpc/key_prot.c: Likewise.
61867         * sunrpc/openchild.c: Likewise.
61868         * sunrpc/pm_getmaps.c: Likewise.
61869         * sunrpc/pm_getport.c: Likewise.
61870         * sunrpc/pmap_clnt.c: Likewise.
61871         * sunrpc/pmap_prot.c: Likewise.
61872         * sunrpc/pmap_prot2.c: Likewise.
61873         * sunrpc/pmap_rmt.c: Likewise.
61874         * sunrpc/rpc/auth.h: Likewise.
61875         * sunrpc/rpc/auth_unix.h: Likewise.
61876         * sunrpc/rpc/clnt.h: Likewise.
61877         * sunrpc/rpc/des_crypt.h: Likewise.
61878         * sunrpc/rpc/key_prot.h: Likewise.
61879         * sunrpc/rpc/netdb.h: Likewise.
61880         * sunrpc/rpc/pmap_clnt.h: Likewise.
61881         * sunrpc/rpc/pmap_prot.h: Likewise.
61882         * sunrpc/rpc/pmap_rmt.h: Likewise.
61883         * sunrpc/rpc/rpc.h: Likewise.
61884         * sunrpc/rpc/rpc_des.h: Likewise.
61885         * sunrpc/rpc/rpc_msg.h: Likewise.
61886         * sunrpc/rpc/svc.h: Likewise.
61887         * sunrpc/rpc/svc_auth.h: Likewise.
61888         * sunrpc/rpc/types.h: Likewise.
61889         * sunrpc/rpc/xdr.h: Likewise.
61890         * sunrpc/rpc_clntout.c: Likewise.
61891         * sunrpc/rpc_cmsg.c: Likewise.
61892         * sunrpc/rpc_common.c: Likewise.
61893         * sunrpc/rpc_cout.c: Likewise.
61894         * sunrpc/rpc_dtable.c: Likewise.
61895         * sunrpc/rpc_hout.c: Likewise.
61896         * sunrpc/rpc_main.c: Likewise.
61897         * sunrpc/rpc_parse.c: Likewise.
61898         * sunrpc/rpc_parse.h: Likewise.
61899         * sunrpc/rpc_prot.c: Likewise.
61900         * sunrpc/rpc_sample.c: Likewise.
61901         * sunrpc/rpc_scan.c: Likewise.
61902         * sunrpc/rpc_scan.h: Likewise.
61903         * sunrpc/rpc_svcout.c: Likewise.
61904         * sunrpc/rpc_tblout.c: Likewise.
61905         * sunrpc/rpc_util.c: Likewise.
61906         * sunrpc/rpc_util.h: Likewise.
61907         * sunrpc/rpcinfo.c: Likewise.
61908         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61909         * sunrpc/rpcsvc/key_prot.x: Likewise.
61910         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61911         * sunrpc/rpcsvc/mount.x: Likewise.
61912         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61913         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61914         * sunrpc/rpcsvc/rex.x: Likewise.
61915         * sunrpc/rpcsvc/rstat.x: Likewise.
61916         * sunrpc/rpcsvc/rusers.x: Likewise.
61917         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61918         * sunrpc/rpcsvc/spray.x: Likewise.
61919         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61920         * sunrpc/rtime.c: Likewise.
61921         * sunrpc/svc.c: Likewise.
61922         * sunrpc/svc_auth.c: Likewise.
61923         * sunrpc/svc_authux.c: Likewise.
61924         * sunrpc/svc_raw.c: Likewise.
61925         * sunrpc/svc_run.c: Likewise.
61926         * sunrpc/svc_simple.c: Likewise.
61927         * sunrpc/svc_tcp.c: Likewise.
61928         * sunrpc/svc_udp.c: Likewise.
61929         * sunrpc/svc_unix.c: Likewise.
61930         * sunrpc/svcauth_des.c: Likewise.
61931         * sunrpc/xcrypt.c: Likewise.
61932         * sunrpc/xdr.c: Likewise.
61933         * sunrpc/xdr_array.c: Likewise.
61934         * sunrpc/xdr_float.c: Likewise.
61935         * sunrpc/xdr_mem.c: Likewise.
61936         * sunrpc/xdr_rec.c: Likewise.
61937         * sunrpc/xdr_ref.c: Likewise.
61938         * sunrpc/xdr_sizeof.c: Likewise.
61939         * sunrpc/xdr_stdio.c: Likewise.
61941         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61942         handling.
61944 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61946         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61948 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61950         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61951         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61952         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61953         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61954         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61955         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61956         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61957         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61958         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61959         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61960         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61961         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61962         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61963         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61965 2010-07-26  Anton Blanchard  <anton@samba.org>
61967         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61968         * malloc/arena.c (heap_trim): Likewise.
61970 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61972         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61973         here.  Not...
61974         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61975         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61977 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61979         * sysdeps/i386/elf/Makefile: New file.
61981 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61983         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61984         from fanotify_init.
61985         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61986         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61988 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61990         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61991         of strncasecmp_l.
61992         * sysdeps/multiarch/strcmp.S: Likewise.
61994 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61996         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61997         strncase_l-nonascii.
61998         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61999         Add strncase_l-ssse3.
62000         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62001         * sysdeps/x86_64/strcmp.S: Likewise.
62002         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62003         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62004         * sysdeps/x86_64/strncase.S: New file.
62005         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62006         * sysdeps/x86_64/strncase_l.S: New file.
62007         * string/Makefile (strop-tests): Add strncasecmp.
62008         * string/test-strncasecmp.c: New file.
62010         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62011         warning.
62013         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62014         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62016 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62018         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62020 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62022         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62023         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62024         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62026 2010-05-01  Alan Modra  <amodra@gmail.com>
62028         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62029         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62030         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62031         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62032         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62033         tidying.  Don't tail-call __sigjmp_save for static lib.
62034         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62035         save location.
62036         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62037         (CALL_MCOUNT): Add eh info, and nop after bl.
62038         (TAIL_CALL_SYSCALL_ERROR): New macro.
62039         (PSEUDO_RET): Use it.
62040         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62041         Correct save location of integer regs and cr.
62042         (_dl_profile_resolve): Correct cr save location.  Delete nops
62043         after bl when SHARED.  Reduce cfi size a little by better
62044         placement of cfi directives.
62045         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62046         make a stack frame.  Instead use parm save area as a temp.
62047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62048         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62050         Don't make a stack frame for parent, use parm save area.
62051         Increase child stack frame to 112 bytes.  Don't save unused reg,
62052         and adjust reg usage.  Set up cfi on error recovery and
62053         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62055         (__makecontext): Add dummy nop after jump to exit.
62056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62057         Use correct parm save area and cr save, reduce stack frame.
62058         Correct cfi for possible PSEUDO_RET frame setup.
62059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62060         Branch to local label emitted by PSEUDO_RET rather than
62061         __syscall_error.
62063 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62065         [BZ #11904]
62066         * locale/programs/locale.c (print_assignment): New function.
62067         (show_locale_vars): Use it.
62069 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62071         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62072         field.
62073         (struct statfs64): Likewise.
62074         (_STATFS_F_FLAGS): Define.
62075         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62076         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62077         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62078         (ST_VALID): Define locally.
62079         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62080         __statvfs_getflags, use the provided value.
62081         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62082         __ASSUME_STATFS_F_FLAGS.
62084         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62086         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62087         Add sys/fanotify.h.
62088         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62089         fanotify_mask for GLIBC_2.13.
62090         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62091         fanotify_init and fanotify_mark.
62092         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62093         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62095         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62096         Add prlimit.
62097         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62098         prlimit64 for GLIBC_2.13.
62099         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62100         prlimit64.
62101         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62102         syscall.
62103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62104         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62105         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62106         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62107         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62108         add prlimit alias.
62109         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62111         [BZ #11903]
62112         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62113         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62115         * nss/Makefile: Add rules to build and run tst-nss-test1.
62116         * shlib-versions: Add entry for libnss_test1.
62117         * nss/nss_test1.c: New file.
62118         * nss/tst-nss-test1.c: New file.
62120         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62121         (__nss_configure_lookup): Set appropriate entry in
62122         __nss_configure_lookup to true.
62123         * nss/nsswitch.h: Define enum with indeces of databases in
62124         databases and __nss_database_custom arrays.  Declare
62125         __nss_database_custom.
62126         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62127         to avoid using nscd when custom rules are installed.
62128         * nss/getXXbyYY_r.c: Likewise.
62129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62131         * nss/nss_files/files-parse.c: Whitespace fixes.
62133 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62135         [BZ #11883]
62136         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62137         * posix/fnmatch_loop.c: Likewise.
62139 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62141         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62142         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62143         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62144         * Versions.def [GLIBC_2.13]: Add.
62146 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62148         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62149         Also fail if tpwd after pwuid call is NULL.
62151 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62153         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62154         when converting to ms.
62156 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62158         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62159         EOPNOTSUPP errors with ENOTTY.
62160         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62161         EOPNOTSUPP errors with ENOTTY.
62163 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62165         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62166         Add strcasecmp_l-ssse3.
62167         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62168         strcasecmp.
62169         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62170         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62171         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62173 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62175         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62177         * string/Makefile (strop-tests): Add strcasecmp.
62178         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62179         strcasecmp_l-nonascii.
62180         (gen-as-const-headers): Add locale-defines.sym.
62181         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62182         * sysdeps/x86_64/strcasecmp.S: New file.
62183         * sysdeps/x86_64/strcasecmp_l.S: New file.
62184         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62185         * sysdeps/x86_64/locale-defines.sym: New file.
62186         * string/test-strcasecmp.c: New file.
62188         * string/test-strcasestr.c: Test both ends of the range of characters.
62189         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62191 2010-07-29  Roland McGrath  <roland@redhat.com>
62193         [BZ #11856]
62194         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62196 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62198         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62199         for ld.so.
62201 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62203         * manual/memory.texi (Malloc Tunable Parameters): Document
62204         M_PERTURB.
62206 2010-07-26  Roland McGrath  <roland@redhat.com>
62208         [BZ #11840]
62209         * configure.in (-fgnu89-inline check): Set and substitute
62210         gnu89_inline, not libc_cv_gnu89_inline.
62211         * configure: Regenerated.
62212         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62214 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62216         * string/test-strnlen.c: New file.
62217         * string/Makefile (strop-tests): Add strnlen.
62218         * string/tester.c (test_strnlen): Add a few more test cases.
62219         * string/tst-strlen.c: Better error reporting.
62221         * sysdeps/x86_64/strnlen.S: New file.
62223 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62225         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62226         lower-latency instructions.
62228 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62230         * string/test-strcasestr.c: New file.
62231         * string/test-strstr.c: New file.
62232         * string/Makefile (strop-tests): Add strstr and strcasestr.
62233         * string/str-two-way.h: Don't undefine MAX.
62234         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62236 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62238         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62239         strcasestr-nonascii.
62240         (CFLAGS-strcasestr-nonascii.c): Define.
62241         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62242         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62243         Remove unused attribute.
62245 2010-07-20  Roland McGrath  <roland@redhat.com>
62247         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62248         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62249         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62250         like LD_HWCAP_MASK can disable hwcaps.
62252 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62254         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62256 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62258         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62259         call in strcasestr.
62260         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62261         __strcasestr_sse42_nonascii.
62262         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62263         strcasestr-nonascii.c.
62264         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62266 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62268         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62269         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62270         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62271         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62273 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62275         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62276         fcntl.
62278 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62280         [BZ #11577]
62281         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62282         dl_signal_cerror.
62284 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62286         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62287         _PC_PIPE_BUF using F_GETPIPE_SZ.
62289 2010-07-05  Roland McGrath  <roland@redhat.com>
62291         * manual/arith.texi (Rounding Functions): Fix rint description
62292         implicit in round description.
62294 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62296         * elf/Makefile: Fix linking for a few tests to make recent linker
62297         happy.
62299 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62301         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62302         $(common-objpfx)libc_nonshared.a.
62304 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62306         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62307         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62308         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62309         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62310         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62311         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62312         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62313         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62328         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62329         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62330         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62331         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62332         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62333         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62334         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62335         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62336         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62337         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62338         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62339         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62355 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62357         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62358         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62359         * string/memmove.c (memmove): Renamed to ...
62360         (MEMMOVE): ...this.  Default to memmove.
62361         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62362         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62363         (END_CHK): Define.
62364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62365         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62366         mempcpy-ssse3-back memmove-ssse3-back.
62367         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62368         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62369         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62370         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62371         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62372         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62373         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62374         * sysdeps/x86_64/multiarch/memmove.c: New file.
62375         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62376         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62377         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62378         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62379         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62380         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62381         Define.
62382         (index_Fast_Copy_Backward): Define.
62383         (HAS_ARCH_FEATURE): Define.
62384         (HAS_FAST_REP_STRING): Define.
62385         (HAS_FAST_COPY_BACKWARD): Define.
62387 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62389         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62390         Restore proper fallback handling.
62392 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62394         [BZ #11701]
62395         * posix/group_member.c (__group_member): Correct checking loop.
62397         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62398         OOM in getpwuid_r correctly.  Return error number when the caller
62399         should return, otherwise -1.
62400         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62401         call returning > 0 value.
62402         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62404 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62406         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62407         libc_nonshared.a from targets in modules-names.
62409 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62411         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62412         requires it.
62414 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62416         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62417         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62418         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62419         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62421 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62423         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62425 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62427         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62428         and F_GETPIPE_SZ.
62429         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62430         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62431         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62432         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62433         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62434         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62436 2010-06-14  Roland McGrath  <roland@redhat.com>
62438         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62440 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62442         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62443         __REDIRECT followed by __THROW.
62444         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62445         * posix/getopt.h (getopt): Likewise.
62447 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62449         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62450         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62451         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62452         in AT_FLAGS.
62453         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62454         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62456 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62458         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62460 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62462         [BZ #11640]
62463         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62464         Properly check family and model.
62466 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62468         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62470 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62472         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62474 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62476         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62477         symbol reference.
62479 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62481         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62482         symbol reference.
62484 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62486         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62487         and internal_recvmmsg.
62488         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62489         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62490         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62491         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62493         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62494         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62495         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62497 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62499         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62501 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62503         POWER7 optimizations.
62504         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62505         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62507 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62509         * version.h: Update for 2.13 development version.
62511 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62513         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62514         exceptions.  Return 0.
62516 2010-05-07  Roland McGrath  <roland@redhat.com>
62518         * elf/ldconfig.c (main): Add a const.
62520 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62522         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62523         (args_options): Add no-idn option.
62524         (ahosts_keys_int): Add idn_flags to ai_flags.
62525         (parse_option): Handle 'i' option to clear idn_flags.
62527         * malloc/malloc.c (_int_free): Possible race in the most recently
62528         added check.  Only act on the data if no current modification
62529         happened.
62531 See ChangeLog.17 for earlier changes.