ia64: stat.h: rename pad0 to __glibc_reserved0
[glibc.git] / ChangeLog
blob991cb880c69ea2f30cfb6a46013d5e85f91fc4fb
1 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
3         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
4         pad0 to __glibc_reserved0.
5         (struct stat64): Likewise.
7 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10         Change sa_flags from a long to an int and add __glibc_reserved0 before
11         it for padding.
13 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
15         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
16         anonymous by deleting "siginfo" name.
18 2015-07-21  Roland McGrath  <roland@hack.frob.com>
20         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
21         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
22         rather than __nacl_irt_filename.
23         * sysdeps/nacl/xstat.c (__xstat): Likewise.
25         * NEWS: New item for arm-nacl port.
26         * sysdeps/arm/nacl/libc.abilist: New file.
27         * sysdeps/nacl/ld.abilist: New file.
28         * sysdeps/nacl/libBrokenLocale.abilist: New file.
29         * sysdeps/nacl/libanl.abilist: New file.
30         * sysdeps/nacl/libcrypt.abilist: New file.
31         * sysdeps/nacl/libdl.abilist: New file.
32         * sysdeps/nacl/libm.abilist: New file.
33         * sysdeps/nacl/libpthread.abilist: New file.
34         * sysdeps/nacl/libresolv.abilist: New file.
35         * sysdeps/nacl/librt.abilist: New file.
37 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
39         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
40         __startcontext to initialize the new context.
41         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
42         up CFI directive to forbid further backtracing.
44 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
46         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
47         reference.
48         * charmaps/ANSI_X3.4-1968: Likewise.
49         * charmaps/BS_4730: Likewise.
50         * charmaps/BS_VIEWDATA: Likewise.
51         * charmaps/CP1250: Likewise.
52         * charmaps/CP1251: Likewise.
53         * charmaps/CP1252: Likewise.
54         * charmaps/CP1253: Likewise.
55         * charmaps/CP1254: Likewise.
56         * charmaps/CP1255: Likewise.
57         * charmaps/CP1256: Likewise.
58         * charmaps/CSN_369103: Likewise.
59         * charmaps/EBCDIC-DK-NO: Likewise.
60         * charmaps/GB_1988-80: Likewise.
61         * charmaps/GREEK-CCITT: Likewise.
62         * charmaps/GREEK7: Likewise.
63         * charmaps/INIS-8: Likewise.
64         * charmaps/ISIRI-3342: Likewise.
65         * charmaps/ISO_2033-1983: Likewise.
66         * charmaps/ISO_5427-EXT: Likewise.
67         * locales/POSIX: Likewise.
68         * locales/ar_SA: Likewise.
69         * locales/be_BY: Likewise.
70         * locales/be_BY@latin: Likewise.
71         * locales/ca_ES: Likewise.
72         * locales/cs_CZ: Likewise.
73         * locales/da_DK: Likewise.
74         * locales/de_BE: Likewise.
75         * locales/de_CH: Likewise.
76         * locales/de_LU: Likewise.
77         * locales/en_AU: Likewise.
78         * locales/en_BW: Likewise.
79         * locales/en_CA: Likewise.
80         * locales/en_DK: Likewise.
81         * locales/en_GB: Likewise.
82         * locales/en_IE: Likewise.
83         * locales/en_NZ: Likewise.
84         * locales/en_ZA: Likewise.
85         * locales/en_ZW: Likewise.
86         * locales/es_AR: Likewise.
87         * locales/es_BO: Likewise.
88         * locales/es_CL: Likewise.
89         * locales/es_CO: Likewise.
90         * locales/es_DO: Likewise.
91         * locales/es_EC: Likewise.
92         * locales/es_ES: Likewise.
93         * locales/es_HN: Likewise.
94         * locales/es_MX: Likewise.
95         * locales/es_PA: Likewise.
96         * locales/es_PE: Likewise.
97         * locales/es_PY: Likewise.
98         * locales/es_SV: Likewise.
99         * locales/es_US: Likewise.
100         * locales/es_UY: Likewise.
101         * locales/es_VE: Likewise.
102         * locales/et_EE: Likewise.
103         * locales/fa_IR: Likewise.
104         * locales/fo_FO: Likewise.
105         * locales/fr_CA: Likewise.
106         * locales/fr_CH: Likewise.
107         * locales/gv_GB: Likewise.
108         * locales/he_IL: Likewise.
109         * locales/hr_HR: Likewise.
110         * locales/id_ID: Likewise.
111         * locales/is_IS: Likewise.
112         * locales/it_CH: Likewise.
113         * locales/iw_IL: Likewise.
114         * locales/kl_GL: Likewise.
115         * locales/ko_KR: Likewise.
116         * locales/kw_GB: Likewise.
117         * locales/lg_UG: Likewise.
118         * locales/lt_LT: Likewise.
119         * locales/lv_LV: Likewise.
120         * locales/mi_NZ: Likewise.
121         * locales/nhn_MX: Likewise.
122         * locales/nl_BE: Likewise.
123         * locales/pl_PL: Likewise.
124         * locales/sk_SK: Likewise.
125         * locales/sl_SI: Likewise.
126         * locales/sv_FI: Likewise.
127         * locales/tl_PH: Likewise.
128         * locales/tr_TR: Likewise.
129         * locales/vi_VN: Likewise.
131 2015-07-21  Khem Raj  <raj.khem@gmail.com>
133         [BZ #17475]
134         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
135         of tu_IN and bh_IN.
137 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
139         [BZ #18694]
140         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
141         bits/wordsize.h.
142         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
144 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
146         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
147         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
148         (spawn_thread): New function.
149         (load): Rename to reg_dtor_and_close.  Move dlopen to...
150         (do_test): ... here.  Use IS_LOADED to test for its
151         availability.
153 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
155         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
157 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
159         [BZ #18696]
160         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
161         si_addr_bnd.
162         (si_lower): New.
163         (si_upper): Likewise.
165 2015-07-16  David S. Miller  <davem@davemloft.net>
167         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
169 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
171         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
172         buffer.
173         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
174         fail output information.
176 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
179         and strstr-ppc64..
180         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
181         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
182         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
183         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
184         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
186 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
188         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
189         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
190         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
191         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
193 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
195         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
196         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
197         rtld_hidden_proto.
198         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
200 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
202         * tst-nodelete-opened.c (do_test): Add comment to clarify how
203         the test can fail.
205         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
207         [BZ #18676]
208         * elf/tst-nodelete-opened.c: New test case.
209         * elf/tst-nodelete-opened-lib.c: New test case module.
210         * elf/Makefile (tests, modules-names): Use them.
211         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
212         early.
214 2015-07-15  David S. Miller  <davem@davemloft.net>
216         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
217         futex-intenal.h
218         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
219         * sysdeps/sparc/sparc64/Makefile: Likewise.
220         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
221         Remove space from macro define.
222         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
224 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
226         [BZ #17475]
227         * locale/iso-639.def: Update Bhili and Tulu language codes as
228         per iso639-3.
230 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
232         * elf/tst-leaks1.c (main): Converted to ...
233         (do_test): ... this.
234         (TEST_FUNCTION): New macro.
235         Include test-skeleton.c.
236         * localedata/tst-langinfo.c (main): Converted to ...
237         (do_test): ... this.
238         (TEST_FUNCTION): New macro.
239         Include test-skeleton.c.
240         * math/test-fpucw.c (main): Converted to ...
241         (do_test): ... this.
242         (TEST_FUNCTION): New macro.
243         Include test-skeleton.c.
244         * math/test-tgmath.c (main): Converted to ...
245         (do_test): ... this.
246         (TEST_FUNCTION): New macro.
247         Include test-skeleton.c.
248         * math/test-tgmath2.c (main): Converted to ...
249         (do_test): ... this.
250         (TEST_FUNCTION): New macro.
251         Include test-skeleton.c.
252         * setjmp/tst-setjmp.c (main): Converted to ...
253         (do_test): ... this.
254         (TEST_FUNCTION): New macro.
255         Include test-skeleton.c.
256         * stdio-common/tst-sscanf.c (main): Converted to ...
257         (do_test): ... this.
258         (TEST_FUNCTION): New macro.
259         Include test-skeleton.c.
260         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
261         (do_test): ... this.
262         (TEST_FUNCTION): New macro.
263         Include test-skeleton.c.
265         * elf/tst-audit9.c (main): Converted to ...
266         (do_test): ... this.
267         (TEST_FUNCTION): New macro.
268         Include test-skeleton.c.
270 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
272         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
274 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
276         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
277         New variable.
279 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
281         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
283 2015-07-14  Roland McGrath  <roland@hack.frob.com>
285         * sysdeps/generic/dl-fileid.h: New file.
286         * sysdeps/posix/dl-fileid.h: New file.
287         * sysdeps/nacl/dl-fileid.h: New file.
288         * include/link.h: Include <dl-fileid.h>.
289         (struct link_map): Replace l_dev and l_ino with l_file_id.
290         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
291         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
292         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
294 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
296         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
298 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
300         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
301         Add iff $CXX is set.
302         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
303         Likewise.
304         (tst-nodelete-zmodiff): Likewise.
305         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
307 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
309         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
311 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
313         * sysdeps/aarch64/fpu/math_private.h
314         (define math_opt_barrier): Add AArch64 version.
315         (math_force_eval): Likewise.
317 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
319         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
321 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
323         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
324         %ld with %jd and cast to intmax_t.
325         (do_test_length_zero): Likewise.
327 2015-07-10  Roland McGrath  <roland@hack.frob.com>
329         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
331 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
333         * sysdeps/tile/libm-test-ulps: Regenerated.
335         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
336         Comment out the whole function, not just its body.
338 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
340         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
341         locks.
343         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
345 2015-07-10  Torvald Riegel  <triegel@redhat.com>
347         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
348         (sem_assume_only_signals_cause_futex_EINTR): Remove.
350 2015-07-10  Torvald Riegel  <triegel@redhat.com>
352         * sysdeps/nptl/futex-internal.h: New file.
353         * sysdeps/nacl/futex-internal.h: New file.
354         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
355         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
356         error checking.
357         (setxid_unmark_thread): Likewise.
358         (__nptl_setxid): Likewise.
359         (__wait_lookup_done): Likewise.
360         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
361         * nptl/nptl-init.c (sighandler_setxid): Likewise.
362         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
363         * nptl/pthread_once.c (clear_once_control): Likewise.
364         (__pthread_once_slow): Likewise.
365         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
366         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
367         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
368         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
369         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
370         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
371         Likewise.
372         (__pthread_rwlock_rdlock): Likewise.
373         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
374         Likewise.
375         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
376         Likewise.
377         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
378         Likewise.
379         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
380         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
381         Likewise.
382         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
383         __ASSUME_PRIVATE_FUTEX check.
384         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
385         Check that shared futexes are supported.
386         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
387         wrappers with error checking.
388         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
389         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
390         * nptl/pthread_barrierattr_setpshared.c
391         (pthread_barrierattr_setpshared): Check that shared futexes are
392         supported.
393         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
394         Likewise.
395         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
396         Likewise.
397         * nptl/sem_init.c (futex_private_if_supported): Remove.
398         (__new_sem_init): Adapt and check that shared futexes are supported.
399         * nptl/sem_open.c (sem_open): Likewise.
400         * nptl/sem_post.c (futex_wake): Remove.
401         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
402         (do_futex_wait): Use futex wrappers with error checking.
403         * nptl/sem_wait.c: Include lowlevellock.h.
404         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
405         Use futex_supports_pshared.
406         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
407         Use futex wrappers with error checking.
408         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
409         Likewise.
410         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
411         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
412         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
413         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
414         (futex_wake): Likewise.
415         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
416         (do_futex_wait): Use futex wrappers with error checking.
417         (__new_sem_wait_slow): Update EINTR handling.
418         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
420 2015-07-09  Martin Sebor  <msebor@redhat.com>
422         [BZ #18435]
423         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
424         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
425         * nptl/Makefile (test-xfail-tst-once5): Define.
427 2015-07-09  Roland McGrath  <roland@hack.frob.com>
429         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
430         * elf/dl-minimal.c: For readability, reorder some definitions and
431         introduce more page breaks.  Include <stdio.h>.
432         (__libc_fatal): New function.
434         * include/unistd.h: Add rtld_hidden_proto for _exit.
435         * posix/_exit.c: Add rtld_hidden_def.
436         * sysdeps/mach/hurd/_exit.c: Likewise.
437         * sysdeps/nacl/_exit.c: Likewise.
438         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
439         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
441 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
443         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
444         bndmov encoding with zero displacement.
446 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
447             H.J. Lu  <hongjiu.lu@intel.com>
449         [BZ #18134]
450         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
451         * sysdeps/i386/configure: Regenerated.
452         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
453         (_dl_runtime_profile): Save and restore Intel MPX return bound
454         registers when calling _dl_call_pltexit.  Add
455         PRESERVE_BND_REGS_PREFIX before return.
456         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
457         (LRV_BND1_OFFSET): Likewise.
458         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
459         lrv_bnd1.
460         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
461         typo in bndmov encoding.
462         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
463         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
464         branch instructions to preserve bounds.
466 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
469         [GLIBC_2.22]: Add fmemopen.
471 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
473         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
474         returns an error, also try to use host port from __mach_host_self for
475         the __vm_wire call.
476         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
478 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
480         [BZ #18400]
481         [BZ #18648]
482         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
483         Fix pr_uid and pr_gid members.
484         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
485         definition to elf_greg_t.
487 2015-07-08  Roland McGrath  <roland@hack.frob.com>
489         [BZ #18383]
490         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
491         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
492         * sysdeps/arm/configure: Regenerated.
493         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
494         (test-xfail-tst-tlsalign-static): Variable removed.
496         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
497         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
498         rather than explicit 'ln -s'.
500         * resolv/rpc/netdb.h: New file.
501         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
503 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
505         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
506         length buffers.
507         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
508         test-skeleton.c.
510         [BZ #6544]
511         [BZ #11216]
512         [BZ #12836]
513         [BZ #13151]
514         [BZ #13152]
515         [BZ #14292]
516         * include/stdio.h (fmemopen): Remove hidden prototype.
517         (__fmemopen): Add new hidden prototype.
518         * libio/Makefile: Add oldfmemopen object.
519         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
520         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
521         compliance.
522         * libio/oldfmemopen.c: New file: old fmemopen implementation for
523         symbol compatibility.
524         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
525         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
526         fmemopen.
527         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
528         on append and read mode.
529         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
530         fmemopen.
531         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
532         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
533         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
534         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
535         Likewise.
536         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
537         [GLIBC_2.22]: Likewise.
538         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
539         Likewise.
540         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
541         Likewise.
542         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
543         [GLIBC_2.22]: Likewise.
544         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
545         [GLIBC_2.22]: Likewise.
546         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
547         [GLIBC_2.22]: Likewise.
548         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
549         [GLIBC_2.22]: Likewise.
550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
551         [GLIBC_2.22]: Likewise.
552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
553         [GLIBC_2.22]: Likewise.
554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
555         [GLIBC_2.22]: Likewise.
556         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
557         Likewise.
558         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
559         Likewise.
560         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
561         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
562         [GLIBC_2.22]: Likewise.
563         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
564         [GLIBC_2.22]: Likewise.
565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
566         [GLIBC_2.22]: Likewise.
567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
568         [GLIBC_2.22]: Likewise.
569         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
570         Likewise.
571         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
572         Likewise.
573         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
574         Likewise.
575         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
576         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
578 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
580         [BZ #18643]
581         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
582         IPV6_PATHMTU, and IPV6_DONTFRAG.
584 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
586         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
587         and _IO_UNBUFFERED.
588         * libio/oldfileops.c: Likewise.
589         * libio/wfileops.c: Likewise.
591 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
593         * nscd/selinux.c: Delete selinux/flask.h include.
595 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
597         [BZ #18641]
598         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
599         (putpwent): Likewise.
600         (getpwnam): Likewise.
601         (getpwent_r): Likewise.
602         (getpwuid_r): Likewise.
603         (getpwnam_r): Likewise.
604         (fgetpwent_r): Likewise.
606 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
608         [BZ #18557]
609         * inet/rcmd.c (__validuser2_sa): Check user first to
610         short-circuit host check.
612 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
613             Mikhail Ilin  <m.ilin@samsung.com>
615         [BZ #17833]
616         * elf/Makefile (tests): Add tst-nodelete.
617         (modules-names): Add tst-nodelete-uniquemod.
618         (tst-nodelete-uniquemod.so-no-z-defs): New.
619         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
620         (tst-nodelete-zmod.so-no-z-defs): Likewise.
621         ($(objpfx)tst-nodelete): Likewise.
622         ($(objpfx)tst-nodelete.out): Likewise.
623         (LDFLAGS-tst-nodelete): Likewise.
624         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
625         * elf/dl-close.c (_dl_close_worker): Add a parameter to
626         implement forced object deletion.
627         (_dl_close): Pass false to _dl_close_worker.
628         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
629         * elf/tst-nodelete.cc: New file.
630         * elf/tst-nodeletelib.cc: Likewise.
631         * elf/tst-znodeletelib.cc: Likewise.
632         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
634 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
636         [BZ #18508]
637         * stdlib/Makefile ($(objpfx)tst-makecontext3):
638         Depend on $(libdl).
639         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
640         is not called infinitely times.
641         (backtrace_helper): New function.
642         (trace_arg): New struct.
643         (st1): Enlarge stack size.
644         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
645         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
646         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
647         Likewise.
649 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
651         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
653 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
655         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
656         Include sys/types.h instead of bits/types.h.
657         Remove inclusion of bits/wordsize.h.
659 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
661         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
662         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
663         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
664         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
665         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
666         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
668 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
670         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
671         link-defines.sym.
672         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
673         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
674         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
675         and LR_SIZE.
676         * sysdeps/i386/link-defines.sym: New file.
678 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
680         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
681         (modules-names): Add tst-auditmod3a tst-auditmod3b.
682         ($(objpfx)tst-audit3): New rule.
683         ($(objpfx)tst-audit3.out): Likewise.
684         * sysdeps/i386/tst-audit3.c: New file.
685         * sysdeps/i386/tst-audit3.h: Likewise.
686         * sysdeps/i386/tst-auditmod3a.c: Likewise.
687         * sysdeps/i386/tst-auditmod3b.c: Likewise.
689 2015-07-07  Torvald Riegel  <triegel@redhat.com>
691         [BZ #18633]
692         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
693         pointer in C code.
694         (__strcat_c): Likewise.
695         (__strcat_g): Likewise.
697 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
699         [BZ #18592]
700         * misc/sbrk.c: Set errno to ENOMEM on overflow.
702 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
704         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
705         New function.  (__ieee754_sqrtf): New function.
706         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
707         New function.
708         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
709         New function.
711 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
713         * sysdeps/ieee754/support.c: Remove unused file.
715 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
717         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
718         registers instead of d ones so the layout is kernel abi compatible.
719         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
720         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
721         Likewise.
723 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
725         * sysdeps/aarch64/libm-test-ulps: Regenerated.
727 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
729         [BZ #18619]
730         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
731         and return argument in case of subnormal argument.
733 2015-07-01  Martin Sebor  <msebor@redhat.com>
735         [BZ #18435]
736         * nptl/Makefile: Add tst-once5.cc.
737         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
738         Remove macro redefinitions.
739         * nptl/tst-once5.cc: New test.
741 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
743         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
745         * sysdeps/arm/libm-test-ulps: Regenerated.
747         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
748         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
750 2015-06-30  Torvald Riegel  <triegel@redhat.com>
752         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
753         lll_lock_wait_private and lll_futex_wake probes.
755         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
756         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
757         Likewise.
758         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
759         atomic_spin_nop.
760         * sysdeps/x86_64/bits/atomic.h: Likewise.
761         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
762         to atomic_spin_nop and move ...
763         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
764         ... here and ...
765         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
766         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
767         atomic_spin_nop instead of BUSY_WAIT_NOP.
768         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
769         Likewise.
770         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
771         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
772         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
773         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
774         instead of atomic_delay.
776 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
778         [BZ #18613]
779         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
780         X_ADJ not X when adjusting exponent.
781         (__ieee754_gamma_r): Do intermediate computations in
782         round-to-nearest then adjust overflowing and underflowing results
783         as needed.
784         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
785         of X_ADJ not X when adjusting exponent.
786         (__ieee754_gammaf_r): Do intermediate computations in
787         round-to-nearest then adjust overflowing and underflowing results
788         as needed.
789         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
790         log of X_ADJ not X when adjusting exponent.
791         (__ieee754_gammal_r): Do intermediate computations in
792         round-to-nearest then adjust overflowing and underflowing results
793         as needed.  Use 1.0L not 1.0f as numerator of division.
794         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
795         log of X_ADJ not X when adjusting exponent.
796         (__ieee754_gammal_r): Do intermediate computations in
797         round-to-nearest then adjust overflowing and underflowing results
798         as needed.  Use 1.0L not 1.0f as numerator of division.
799         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
800         of X_ADJ not X when adjusting exponent.
801         (__ieee754_gammal_r): Do intermediate computations in
802         round-to-nearest then adjust overflowing and underflowing results
803         as needed.  Use 1.0L not 1.0f as numerator of division.
804         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
805         to auto-libm-test-in.
806         (tgamma_test): Use ALL_RM_TEST.
807         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
808         tests of tgamma with spurious-overflow.
809         * math/auto-libm-test-out: Regenerated.
810         * math/gen-libm-have-vector-test.sh: Do not check for START.
811         * sysdeps/i386/fpu/libm-test-ulps: Update.
812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
814         [BZ #18612]
815         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
816         arguments, just return 0.5 times the argument, with underflow
817         forced as needed.
818         * math/auto-libm-test-in: Add more tests of j1.
819         * math/auto-libm-test-out: Regenerated.
821         [BZ #16559]
822         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
823         (__ieee754_j1): Force underflow exception for small results.
824         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
825         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
826         (__ieee754_j1f): Force underflow exception for small results.
827         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
828         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
829         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
830         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
831         (__ieee754_j1l): Force underflow exception for small results.
832         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
833         * math/auto-libm-test-in: Add more tests of j1 and jn.
834         * math/auto-libm-test-out: Regenerated.
836         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
837         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
838         (PF_MPLS): Likewise.
839         (AF_IB): Likewise.
840         (AF_MPLS): Likewise.
841         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
842         value and macro.
843         (MS_RMT_MASK): Include MS_LAZYTIME.
845 2015-06-26  Mel Gorman  <mgorman@suse.de>
847         [BZ #18502]
848         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
849         already minimal.
851 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
853         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
854         (DT_MIPS_NUM): Update.
855         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
856         DT_MIPS_RLD_MAP_REL.
858 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
860         [BZ #16559]
861         [BZ #18602]
862         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
863         round-to-nearest internally then recompute results that
864         underflowed to zero in the original rounding mode.
865         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
866         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
867         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
868         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
869         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
870         * sysdeps/i386/fpu/libm-test-ulps: Update.
871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
873 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
875         * NEWS: Fixed description of link with vector math library.
877 2015-06-25  Andreas Schwab  <schwab@suse.de>
879         [BZ #18549]
880         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
881         * libio/test-fmemopen.c (do_test): Add test for it.
883 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
885         [BZ #17841]
886         * Makeconfig (no-pie-ldflag): New.
887         (+link): Set to $(+link-pie) if default to PIE.
888         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
889         * config.make.in (build-pie-default): New.
890         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
891         is default.  AC_SUBST.
892         * configure: Regenerated.
893         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
895 2015-06-24  Roland McGrath  <roland@hack.frob.com>
897         * nptl/descr.h (struct pthread): Change type of field setxid_futex
898         to 'unsigned int'.
900         * resolv/gai_misc.h (struct waitlist): Change type of field
901         counterp to 'volatile unsigned int *'.
902         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
903         FUTEXADDR and OLDVAL.
904         * resolv/getaddrinfo_a.c (getaddrinfo_a):
905         Give local variable TOTAL type 'volatile unsigned int'.
906         (struct async_waitlist): Change type of field counter to 'unsigned int'.
907         * resolv/gai_suspend.c (gai_suspend):
908         Give local variable CNTR type 'unsigned int'.
910         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
911         counterp to 'volatile unsigned int *'.
912         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
913         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
914         (aio_suspend): Give local variable CNTR type 'unsigned int'.
915         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
916         Give local variable TOTAL type 'volatile unsigned int'.
917         (struct async_waitlist): Change type of field counter to 'unsigned int'.
919 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
921         [BZ #18383]
922         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
923         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
924         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
925         comment for i386/x86-64.
926         (test-xfail-tst-tlsalign-extern-static): Removed.
928 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
930         * math/test-double.h: New file.
931         * math/test-float.h: Likewise.
932         * math/test-ldouble.h: Likewise.
933         * math/test-math-inline.h: Likewise.
934         * math/test-math-no-inline.h: Likewise.
935         * math/test-math-scalar.h: Likewise.
936         * math/test-math-vector.h: Likewise.
937         * math/test-vec-loop.h: Remove file.  Contents moved into
938         test-math-vector.h.
939         * math/libm-test.inc (MATHCONST): Do not document macro.
940         * math/test-double.c: Include test-double.h, test-math-no-inline.h
941         and test-math-scalar.h.
942         (FUNC): Remove macro.
943         (FUNC_TEST): Likewise.
944         (FLOAT): Likewise.
945         (MATHCONST): Likewise.
946         (PRINTF_EXPR): Likewise.
947         (PRINTF_XEXPR): Likewise.
948         (PRINTF_NEXPR): Likewise.
949         (TEST_DOUBLE): Likewise.
950         (TEST_MATHVEC): Likewise.
951         (__NO_MATH_INLINES): Likewise.
952         * math/test-float.c: Include test-float.h, test-math-no-inline.h
953         and test-math-scalar.h.
954         (FUNC): Remove macro.
955         (FUNC_TEST): Likewise.
956         (FLOAT): Likewise.
957         (MATHCONST): Likewise.
958         (PRINTF_EXPR): Likewise.
959         (PRINTF_XEXPR): Likewise.
960         (PRINTF_NEXPR): Likewise.
961         (TEST_FLOAT): Likewise.
962         (TEST_MATHVEC): Likewise.
963         (__NO_MATH_INLINES): Likewise.
964         * math/test-idouble.c: Include test-double.h, test-math-inline.h
965         and test-math-scalar.h.
966         (FUNC): Remove macro.
967         (FUNC_TEST): Likewise.
968         (FLOAT): Likewise.
969         (MATHCONST): Likewise.
970         (PRINTF_EXPR): Likewise.
971         (PRINTF_XEXPR): Likewise.
972         (PRINTF_NEXPR): Likewise.
973         (TEST_DOUBLE): Likewise.
974         (TEST_MATHVEC): Likewise.
975         (TEST_INLINE): Likewise.
976         (__NO_MATH_INLINES): Likewise.
977         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
978         test-math-scalar.h.
979         (FUNC): Remove macro.
980         (FUNC_TEST): Likewise.
981         (FLOAT): Likewise.
982         (MATHCONST): Likewise.
983         (PRINTF_EXPR): Likewise.
984         (PRINTF_XEXPR): Likewise.
985         (PRINTF_NEXPR): Likewise.
986         (TEST_FLOAT): Likewise.
987         (TEST_MATHVEC): Likewise.
988         (TEST_INLINE): Likewise.
989         (__NO_MATH_INLINES): Likewise.
990         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
991         and test-math-scalar.h.
992         (FUNC): Remove macro.
993         (FUNC_TEST): Likewise.
994         (FLOAT): Likewise.
995         (MATHCONST): Likewise.
996         (PRINTF_EXPR): Likewise.
997         (PRINTF_XEXPR): Likewise.
998         (PRINTF_NEXPR): Likewise.
999         (TEST_LDOUBLE): Likewise.
1000         (TEST_MATHVEC): Likewise.
1001         (TEST_INLINE): Likewise.
1002         (__NO_MATH_INLINES): Likewise.
1003         * math/test-ldouble.c: Include test-ldouble.h,
1004         test-math-no-inline.h and test-math-scalar.h.
1005         (FUNC): Remove macro.
1006         (FUNC_TEST): Likewise.
1007         (FLOAT): Likewise.
1008         (MATHCONST): Likewise.
1009         (PRINTF_EXPR): Likewise.
1010         (PRINTF_XEXPR): Likewise.
1011         (PRINTF_NEXPR): Likewise.
1012         (TEST_LDOUBLE): Likewise.
1013         (TEST_MATHVEC): Likewise.
1014         (__NO_MATH_INLINES): Likewise.
1015         * math/test-double-vlen2.h: Include test-double.h,
1016         test-math-no-inline.h and test-math-vector.h.
1017         (FLOAT): Remove macro.
1018         (FUNC): Likewise.
1019         (MATHCONST): Likewise.
1020         (PRINTF_EXPR): Likewise.
1021         (PRINTF_XEXPR): Likewise.
1022         (PRINTF_NEXPR): Likewise.
1023         (TEST_DOUBLE): Likewise.
1024         (TEST_MATHVEC): Likewise.
1025         (__NO_MATH_INLINES): Likewise.
1026         (CNCT): Likewise.
1027         (CONCAT): Likewise.
1028         (WRAPPER_NAME): Likewise.
1029         (WRAPPER_DECL): Likewise.
1030         (WRAPPER_DECL_ff): Likewise.
1031         (WRAPPER_DECL_fFF): Likewise.
1032         (VECTOR_WRAPPER): Likewise.
1033         (VECTOR_WRAPPER_ff): Likewise.
1034         (VECTOR_WRAPPER_fFF): Likewise.
1035         (VEC_LEN): New macro.
1036         * math/test-double-vlen4.h: Include test-double.h,
1037         test-math-no-inline.h and test-math-vector.h.
1038         (FLOAT): Remove macro.
1039         (FUNC): Likewise.
1040         (MATHCONST): Likewise.
1041         (PRINTF_EXPR): Likewise.
1042         (PRINTF_XEXPR): Likewise.
1043         (PRINTF_NEXPR): Likewise.
1044         (TEST_DOUBLE): Likewise.
1045         (TEST_MATHVEC): Likewise.
1046         (__NO_MATH_INLINES): Likewise.
1047         (CNCT): Likewise.
1048         (CONCAT): Likewise.
1049         (WRAPPER_NAME): Likewise.
1050         (WRAPPER_DECL): Likewise.
1051         (WRAPPER_DECL_ff): Likewise.
1052         (WRAPPER_DECL_fFF): Likewise.
1053         (VECTOR_WRAPPER): Likewise.
1054         (VECTOR_WRAPPER_ff): Likewise.
1055         (VECTOR_WRAPPER_fFF): Likewise.
1056         (VEC_LEN): New macro.
1057         * math/test-double-vlen8.h: Include test-double.h,
1058         test-math-no-inline.h and test-math-vector.h.
1059         (FLOAT): Remove macro.
1060         (FUNC): Likewise.
1061         (MATHCONST): Likewise.
1062         (PRINTF_EXPR): Likewise.
1063         (PRINTF_XEXPR): Likewise.
1064         (PRINTF_NEXPR): Likewise.
1065         (TEST_DOUBLE): Likewise.
1066         (TEST_MATHVEC): Likewise.
1067         (__NO_MATH_INLINES): Likewise.
1068         (CNCT): Likewise.
1069         (CONCAT): Likewise.
1070         (WRAPPER_NAME): Likewise.
1071         (WRAPPER_DECL): Likewise.
1072         (WRAPPER_DECL_ff): Likewise.
1073         (WRAPPER_DECL_fFF): Likewise.
1074         (VECTOR_WRAPPER): Likewise.
1075         (VECTOR_WRAPPER_ff): Likewise.
1076         (VECTOR_WRAPPER_fFF): Likewise.
1077         (VEC_LEN): New macro.
1078         * math/test-float-vlen4.h: Include test-float.h,
1079         test-math-no-inline.h and test-math-vector.h.
1080         (FLOAT): Remove macro.
1081         (FUNC): Likewise.
1082         (MATHCONST): Likewise.
1083         (PRINTF_EXPR): Likewise.
1084         (PRINTF_XEXPR): Likewise.
1085         (PRINTF_NEXPR): Likewise.
1086         (TEST_FLOAT): Likewise.
1087         (TEST_MATHVEC): Likewise.
1088         (__NO_MATH_INLINES): Likewise.
1089         (CNCT): Likewise.
1090         (CONCAT): Likewise.
1091         (WRAPPER_NAME): Likewise.
1092         (WRAPPER_DECL): Likewise.
1093         (WRAPPER_DECL_ff): Likewise.
1094         (WRAPPER_DECL_fFF): Likewise.
1095         (VECTOR_WRAPPER): Likewise.
1096         (VECTOR_WRAPPER_ff): Likewise.
1097         (VECTOR_WRAPPER_fFF): Likewise.
1098         (VEC_LEN): New macro.
1099         * math/test-float-vlen8.h: Include test-float.h,
1100         test-math-no-inline.h and test-math-vector.h.
1101         (FLOAT): Remove macro.
1102         (FUNC): Likewise.
1103         (MATHCONST): Likewise.
1104         (PRINTF_EXPR): Likewise.
1105         (PRINTF_XEXPR): Likewise.
1106         (PRINTF_NEXPR): Likewise.
1107         (TEST_FLOAT): Likewise.
1108         (TEST_MATHVEC): Likewise.
1109         (__NO_MATH_INLINES): Likewise.
1110         (CNCT): Likewise.
1111         (CONCAT): Likewise.
1112         (WRAPPER_NAME): Likewise.
1113         (WRAPPER_DECL): Likewise.
1114         (WRAPPER_DECL_ff): Likewise.
1115         (WRAPPER_DECL_fFF): Likewise.
1116         (VECTOR_WRAPPER): Likewise.
1117         (VECTOR_WRAPPER_ff): Likewise.
1118         (VECTOR_WRAPPER_fFF): Likewise.
1119         (VEC_LEN): New macro.
1120         * math/test-float-vlen16.h: Include test-float.h,
1121         test-math-no-inline.h and test-math-vector.h.
1122         (FLOAT): Remove macro.
1123         (FUNC): Likewise.
1124         (MATHCONST): Likewise.
1125         (PRINTF_EXPR): Likewise.
1126         (PRINTF_XEXPR): Likewise.
1127         (PRINTF_NEXPR): Likewise.
1128         (TEST_FLOAT): Likewise.
1129         (TEST_MATHVEC): Likewise.
1130         (__NO_MATH_INLINES): Likewise.
1131         (CNCT): Likewise.
1132         (CONCAT): Likewise.
1133         (WRAPPER_NAME): Likewise.
1134         (WRAPPER_DECL): Likewise.
1135         (WRAPPER_DECL_ff): Likewise.
1136         (WRAPPER_DECL_fFF): Likewise.
1137         (VECTOR_WRAPPER): Likewise.
1138         (VECTOR_WRAPPER_ff): Likewise.
1139         (VECTOR_WRAPPER_fFF): Likewise.
1140         (VEC_LEN): New macro.
1141         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1142         test-vec-loop.h.
1143         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1144         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1145         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1146         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1147         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1148         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1149         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1151 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1153         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1154         (__getlogin_r): ... this.
1156 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1158         [BZ #18594]
1159         * math/s_ccosh.c (__ccosh): Compare with least normal value
1160         instead of comparing class with FP_SUBNORMAL.
1161         * math/s_ccoshf.c (__ccoshf): Likewise.
1162         * math/s_ccoshl.c (__ccoshl): Likewise.
1163         * math/s_cexp.c (__cexp): Likewise.
1164         * math/s_cexpf.c (__cexpf): Likewise.
1165         * math/s_cexpl.c (__cexpl): Likewise.
1166         * math/s_csin.c (__csin): Likewise.
1167         * math/s_csinf.c (__csinf): Likewise.
1168         * math/s_csinh.c (__csinh): Likewise.
1169         * math/s_csinhf.c (__csinhf): Likewise.
1170         * math/s_csinhl.c (__csinhl): Likewise.
1171         * math/s_csinl.c (__csinl): Likewise.
1172         * math/s_ctan.c (__ctan): Likewise.
1173         * math/s_ctanf.c (__ctanf): Likewise.
1174         * math/s_ctanh.c (__ctanh): Likewise.
1175         * math/s_ctanhf.c (__ctanhf): Likewise.
1176         * math/s_ctanhl.c (__ctanhl): Likewise.
1177         * math/s_ctanl.c (__ctanl): Likewise.
1178         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1179         csin, csinh, ctan and ctanh.
1180         * math/auto-libm-test-out: Regenerated.
1181         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1182         * sysdeps/i386/fpu/libm-test-ulps: Update.
1183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1185 2015-06-24  Roland McGrath  <roland@hack.frob.com>
1187         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1188         return value is wrong, print the expected value too.
1190 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
1192         [BZ #18585]
1193         * elf/readlib.c (is_gdb_python_file): New.
1194         (process_file): Don't issue errors on filenames with -gdb.py
1195         suffix.
1197 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
1199         * math/auto-libm-test-in: Add more tests of csin and csinh.
1200         * math/auto-libm-test-out: Regenerated.
1201         * math/libm-test.inc (csin_test_data): Remove tests moved to
1202         auto-libm-test-in.
1203         (csinh_test_data): Likewise.
1205         [BZ #18593]
1206         * math/s_csin.c (__csin): Negate before rather than after possibly
1207         overflowing multiplication.
1208         * math/s_csinf.c (__csinf): Likewise.
1209         * math/s_csinh.c (__csinh): Likewise.
1210         * math/s_csinhf.c (__csinhf): Likewise.
1211         * math/s_csinhl.c (__csinhl): Likewise.
1212         * math/s_csinl.c (__csinl): Likewise.
1213         * math/auto-libm-test-in: Add some tests of csin and csinh.
1214         * math/auto-libm-test-out: Regenerated.
1215         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1216         (csinh_test_data): Likewise.
1217         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1219         [BZ #18586]
1220         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1221         underflow exception for small results.
1223 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1225         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1226         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1227         variable and included header.
1228         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1229         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1230         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1231         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1232         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1233         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1234         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1235         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1236         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1237         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1238         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1239         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1240         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1241         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1242         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1243         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1245 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1247         [BZ #16526]
1248         [BZ #16538]
1249         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1250         (__sin): Force underflow exception for arguments with small
1251         absolute value.
1252         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1253         (__kernel_sinf): Force underflow exception for arguments with
1254         small absolute value.
1255         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1256         (__kernel_sincosl): Force underflow exception for arguments with
1257         small absolute value.
1258         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1259         (__kernel_sinl): Force underflow exception for arguments with
1260         small absolute value.
1261         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1262         (__kernel_sincosl): Force underflow exception for arguments with
1263         small absolute value.
1264         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1265         (__kernel_sinl): Force underflow exception for arguments with
1266         small absolute value.
1267         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1268         (__kernel_sinl): Force underflow exception for arguments with
1269         small absolute value.
1270         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1271         (__kernel_sinf): Force underflow exception for arguments with
1272         small absolute value.
1273         * math/auto-libm-test-in: Add more tests of sin and sincos.
1274         * math/auto-libm-test-out: Regenerated.
1276         [BZ #18245]
1277         [BZ #18583]
1278         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1279         (__kernel_standard_l): Use feholdexcept and fesetenv around
1280         conversion to double instead of special-casing overflow and
1281         underflow.
1282         * math/libm-test.inc (fmod_test_data): Add more tests.
1283         (remainder_test_data): Likewise.
1284         (sqrt_test_data): Likewise.
1286 2015-06-23  Torvald Riegel  <triegel@redhat.com>
1288         [BZ #17403]
1289         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1290         atomic_read_barrier, atomic_write_barrier): Define.
1291         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1292         atomic_read_barrier, atomic_write_barrier): Define.
1294 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1296         * math/Makefile [$(PERL) != no]
1297         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1298         dependency on libm-test.stmp below the inclusion of Rules.
1300 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
1302         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1303         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1304         and included header.
1305         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1306         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1307         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1308         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1309         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1310         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1311         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1312         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1313         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1314         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1315         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1316         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1317         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1318         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1319         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1320         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1321         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1322         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1323         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1325 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
1327         [BZ #18371]
1328         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1329         intermediate but not final result might underflow.
1330         * math/s_csqrtf.c (__csqrtf): Likewise.
1331         * math/s_csqrtl.c (__csqrtl): Likewise.
1332         * math/auto-libm-test-in: Add more tests of csqrt.
1333         * math/auto-libm-test-out: Regenerated.
1334         * sysdeps/i386/fpu/libm-test-ulps: Update.
1336         [BZ #18219]
1337         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1338         threshold on absolute value of exponent for which scaling is used.
1339         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1340         * math/auto-libm-test-in: Add more tests of exp2.
1341         * math/auto-libm-test-out: Regenerated.
1343 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
1345         [BZ #17977]
1346         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1347         when initializing interface list, based on the bug analysis
1348         and the patch proposed by Eric Newton.
1349         * resolv/tst-res_hconf_reorder.c: New test.
1350         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1351         tst-res_hconf_reorder.
1352         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1353         and $(shared-thread-library).
1354         (tst-res_hconf_reorder-ENV): New variable.
1356         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1357         in comment.
1359 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
1361         [BZ #16353]
1362         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1363         (__expm1): Force underflow exception for arguments with small
1364         absolute value.
1365         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1366         (__expm1f): Force underflow exception for arguments with small
1367         absolute value.
1368         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1369         (__expm1): Force underflow exception for arguments with small
1370         absolute value.
1371         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1372         (__expm1f): Force underflow exception for arguments with small
1373         absolute value.
1374         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1375         Check for small arguments before calling __expm1.
1376         * math/auto-libm-test-in: Do not mark underflow exceptions as
1377         possibly missing for bug 16353.
1378         * math/auto-libm-test-out: Regenerated.
1380 2015-06-22  Andreas Schwab  <schwab@suse.de>
1382         [BZ #18513]
1383         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1384         PTR queries.
1386 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
1388         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1390         * string/strcoll_l.c: Remove unused struct element idxnow.
1392 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
1394         [BZ #18569]
1395         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1396         underflow and return argument in case of subnormal argument.
1397         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1398         Likewise.
1399         * math/auto-libm-test-in: Add more tests of expm1.
1400         * math/auto-libm-test-out: Regenerated.
1402         [BZ #16361]
1403         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1404         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1405         tiny results.
1406         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1407         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1408         tiny results.
1409         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
1410         mark underflow exceptions as possibly missing for bug 16361.
1411         * math/auto-libm-test-out: Regenerated.
1413 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
1415         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1416         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1417         Remove variable.
1418         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1419         (test-xfail-XOPEN2K8/utmpx.h/conform).
1421         * conform/conformtest.pl ($xerrors): New variable.
1422         (note_error): New function.
1423         (compiletest): New argument $xfail.  Use not_error.
1424         (runtest): Likewise.
1425         (top level): Handle xfail- lines.  Update calls to compiletest and
1426         runtest.  Handle xfail- and optional- in headers listed with
1427         allow-header.
1428         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1429         (O_EXEC): Likewise.
1430         (O_SEARCH): Likewise.
1431         * conform/data/stropts.h-data (ioctl): Likewise.
1432         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1433         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1434         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1435         (msghdr.msg_controllen): Likewise.
1436         (cmsghdr.cmsg_len): Likewise.
1437         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1438         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1439         variable.
1440         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1441         (test-xfail-XPG4/stropts.h/conform): Likewise.
1442         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1443         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1444         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1445         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1446         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1447         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1448         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1449         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1450         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1451         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1452         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1453         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1454         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1455         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1456         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1457         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1458         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1459         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1460         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1462 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1464         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1465         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1466         definitions for proper unfolding of __MATHDECL_VEC.
1468 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1470         * benchtests/bench-strcoll.c:
1471         Include string.h.
1472         (main): Remove unused variable res.
1474 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1476         * timezone/Makefile (%/UTC %/Universal):
1477         Generate test-result files for UTC and Universal.
1479 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1481         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1483 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
1485         [BZ #16350]
1486         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1487         for arguments with small absolute value.
1488         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1489         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1490         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1491         (__asinh): Force underflow exception for arguments with small
1492         absolute value.
1493         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1494         (__asinhf): Force underflow exception for arguments with small
1495         absolute value.
1496         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1497         (__asinhl): Force underflow exception for arguments with small
1498         absolute value.
1499         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1500         (__asinhl): Force underflow exception for arguments with small
1501         absolute value.
1502         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1503         (__asinhl): Force underflow exception for arguments with small
1504         absolute value.
1505         * math/auto-libm-test-in: Do not mark underflow exceptions as
1506         possibly missing for bug 16350.
1507         * math/auto-libm-test-out: Regenerated.
1509         * include/bits/ipc.h: Remove file.
1510         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1511         variable.
1512         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1513         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1514         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1515         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1516         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1517         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1518         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1519         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1520         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1522         * math/auto-libm-test-in: Remove spurious underflow allowance for
1523         tests of cexp.
1524         * math/auto-libm-test-out: Regenerated.
1526         [BZ #18558]
1527         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1528         unconditional definition.
1529         (MCAST_BLOCK_SOURCE): Likewise.
1530         (MCAST_UNBLOCK_SOURCE): Likewise.
1531         (MCAST_LEAVE_GROUP): Likewise.
1532         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1533         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1534         (MCAST_MSFILTER): Likewise.
1535         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1536         Remove variable.
1537         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1538         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1539         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1540         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1541         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1543 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1545         * NEWS: Mention addition of x86_64 vector sincosf.
1546         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1547         * math/test-float-vlen4.h: Likewise.
1548         * math/test-float-vlen8.h: Likewise.
1549         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1550         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1551         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1552         * sysdeps/x86_64/fpu/Versions: New versions added.
1553         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1554         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1555         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1556         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1557         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1558         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1559         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1560         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1561         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1562         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1563         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1564         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1565         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1566         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1567         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1568         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1569         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1570         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1571         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1572         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1573         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1574         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1575         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1576         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1578         * NEWS: Mention addition of x86_64 vector sincos.
1579         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1580         * math/math.h (__MATHDECL_VEC): New macro.
1581         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1582         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1583         declaration under condition.
1584         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1585         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1586         TEST_VEC_LOOP change.
1587         * math/test-double-vlen4.h: Likewise.
1588         * math/test-double-vlen8.h: Likewise.
1589         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1590         * math/test-float-vlen4.h: Likewise.
1591         * math/test-float-vlen8.h: Likewise.
1592         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1593         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1594         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1595         * sysdeps/x86_64/fpu/Versions: New versions added.
1596         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1597         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1598         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1599         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1600         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1601         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1602         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1603         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1604         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1605         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1606         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1607         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1608         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1609         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1610         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1611         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1612         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1613         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1614         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1615         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1616         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1617         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1618         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1619         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1621         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1622         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1623         redirections for powf.
1624         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1625         * sysdeps/x86_64/fpu/Versions: New versions added.
1626         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1627         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1628         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1629         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1630         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1631         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1632         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1633         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1634         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1635         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1636         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1637         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1638         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1639         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1640         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1641         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1642         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1643         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1644         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1645         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1646         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1647         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1648         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1649         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1650         * math/test-float-vlen16.h: Fixed 2 argument macro.
1651         * math/test-float-vlen4.h: Likewise.
1652         * math/test-float-vlen8.h: Likewise.
1653         * NEWS: Mention addition of x86_64 vector powf.
1655 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1657         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1658         and redefine.
1659         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1660         and redefine.
1661         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1662         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1663         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1665         [BZ #18553]
1666         * resource/getpriority.c (getpriority): Rename to __getpriority
1667         and define as weak alias of __getpriority.
1668         * resource/setpriority.c (setpriority): Rename to __setpriority
1669         and define as weak alias of __setpriority.
1670         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1671         __getpriority and define as weak alias of __getpriority.
1672         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1673         __setpriority and define as weak alias of __setpriority.
1674         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1675         strong name.
1676         (setpriority): Use __setpriority as strong name.
1677         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1678         __getpriority and define as weak alias of __getpriority.
1679         * include/sys/resource.h (__getpriority): Declare.  Use
1680         libc_hidden_proto.
1681         (__setpriority): Likewise.
1682         (getpriority): Don't use libc_hidden_proto.
1683         (setpriority): Likewise.
1684         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1685         getpriority.  Call __setpriority instead of setpriority.
1686         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1687         Remove variable.
1689         [BZ #18547]
1690         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1691         as weak alias of __getttynam.  Use prototype function definition.
1692         Call __setttyent, __getttyent and __endttyent instead of
1693         setttyent, getttyent and endttyent.
1694         (getttyent): Rename to __getttyent and define as weak alias of
1695         __getttyent.  Call __setttyent instead of setttyent.  Call
1696         __fgets_unlocked instead of fgets_unlocked.
1697         (setttyent): Rename to __setttyent and define as weak alias of
1698         __setttyent.
1699         (endttyent): Rename to __endttyent and define as weak alias of
1700         __endttyent.
1701         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1702         (__setttyent): Likewise.
1703         (__endttyent): Likewise.
1704         (getttyent): Don't use libc_hidden_proto.
1705         (setttyent): Likewise.
1706         (endttyent): Likewise.
1707         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1708         __endttyent instead of setttyent, getttyent and endttyent.
1709         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1710         Remove variable.
1712         [BZ #18546]
1713         * socket/recv.c (__recv): Use libc_hidden_def.
1714         * socket/socket.c (__socket): Likewise.
1715         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1716         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1717         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1718         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1719         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1720         libc_hidden_def.
1721         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1722         libc_hidden_weak.
1723         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1724         Use libc_hidden_proto.
1725         (__recv): Likewise.
1726         * socket/Versions (libc): Export __recv and __socket at version
1727         GLIBC_PRIVATE.
1728         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1729         instead of recv.
1730         (init_mq_netlink): Call __socket instead of socket.
1731         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1732         Remove variable.
1734         [BZ #18545]
1735         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1736         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1737         hidden_weak.
1738         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1739         define as alias of __mq_timedsend.  Use hidden_weak.
1740         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1741         __mq_timedsend as strong name.
1742         (mq_timedreceive): Use __mq_timedreceive as strong name.
1743         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1744         (__mq_timedreceive): Likewise.
1745         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1746         __mq_timedreceive instead of mq_timedreceive.
1747         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1748         instead of mq_timedsend.
1749         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1750         Remove variable.
1752         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1753         hidden_def and hidden_weak instead of libc_hidden_def and
1754         libc_hidden_weak.
1755         (top level): Refer to hidden_def in comment.
1756         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1757         macro.  Use it instead of libc_hidden_def.
1758         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1759         specify __GI_* name explicitly.
1760         (mq_timedreceive): Likewise.
1761         (mq_setattr): Likewise.
1763         [BZ #18544]
1764         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1765         __pthread_barrier_init and define as weak alias of
1766         __pthread_barrier_init.
1767         * sysdeps/sparc/nptl/pthread_barrier_init.c
1768         (pthread_barrier_init): Likewise.
1769         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1770         __pthread_barrier_wait and define as weak alias of
1771         __pthread_barrier_wait.
1772         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1773         (pthread_barrier_wait): Likewise.
1774         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1775         (pthread_barrier_wait): Likewise.
1776         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1777         (pthread_barrier_wait): Likewise.
1778         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1779         (pthread_barrier_wait): Likewise.
1780         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1781         __pthread_barrier_wait at version GLIBC_PRIVATE.
1782         * include/pthread.h (__pthread_barrier_init): Declare.
1783         (__pthread_barrier_wait): Likewise.
1784         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1785         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1786         (helper_thread): Likewise.
1787         (init_mq_netlink): Call __pthread_barrier_init instead of
1788         pthread_barrier_init.
1790         [BZ #18542]
1791         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1792         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1793         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1794         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1795         vswscanf.
1796         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1797         Remove variable.
1799         [BZ #18540]
1800         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1801         strong alias of _IO_fflush.  Use libc_hidden_def.
1802         * libio/iofflush_u.c (fflush_unlocked): Rename to
1803         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1804         Use libc_hidden_weak.
1805         * include/stdio.h (__fflush_unlocked): Declare.  Use
1806         libc_hidden_proto.
1807         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1808         fflush_unlocked.
1809         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1810         Remove variable.
1812         [BZ #18539]
1813         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1814         define as weak alias of __addseverity.
1815         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1816         Remove variable.
1817         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1818         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1819         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1821         [BZ #18536]
1822         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1823         (__tfind): Likewise.
1824         (__tdelete): Likewise.
1825         (__twalk): Likewise.
1826         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1827         __twalk to GLIBC_PRIVATE.
1828         * include/search.h (__tsearch): Use libc_hidden_proto.
1829         (__tfind): Likewise.
1830         (__tdelete): Likewise.
1831         (__twalk): Likewise.
1832         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1833         Call __tdelete instead of tdelete.
1834         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1835         tfind.  Call __tsearch instead of tsearch.
1836         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1837         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1838         Remove variable.
1839         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1841         [BZ #18534]
1842         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1843         (dprintf): Define as a weak alias of __dprintf, not a strong
1844         alias.
1845         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1846         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1847         dprintf.
1848         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1849         Remove variable.
1850         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1851         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1853         [BZ #18533]
1854         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1855         not a strong alias.
1856         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1857         Remove variable.
1859         [BZ #18532]
1860         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1861         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1862         (in6addr_loopback): Rename to __in6addr_loopback and define as
1863         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1864         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1865         libc_hidden_proto.
1866         (__in6addr_any): Likewise.
1867         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1868         in6addr_any.
1869         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1870         variable.
1871         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1873 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1875         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1876         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1877         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1878         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1879         redirections for pow.
1880         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1881         * sysdeps/x86_64/fpu/Versions: New versions added.
1882         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1883         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1884         build of SSE, AVX2 and AVX512 IFUNC versions.
1885         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1886         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1887         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1888         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1889         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1890         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1891         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1892         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1893         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1894         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1895         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1896         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1897         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1898         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1899         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1900         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1901         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1902         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1903         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1904         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1905         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1906         * NEWS: Mention addition of x86_64 vector pow.
1908         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1909         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1910         redirections for expf.
1911         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1912         * sysdeps/x86_64/fpu/Versions: New versions added.
1913         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1914         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1915         build of SSE, AVX2 and AVX512 IFUNC versions.
1916         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1917         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1918         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1919         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1920         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1921         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1922         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1923         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1924         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1925         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1926         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1927         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1928         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1929         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1930         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1931         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1932         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1933         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1934         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1935         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1936         * NEWS: Mention addition of x86_64 vector expf.
1938         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1939         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1940         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1941         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1942         redirections for exp.
1943         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1944         * sysdeps/x86_64/fpu/Versions: New versions added.
1945         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1946         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1947         build of SSE, AVX2 and AVX512 IFUNC versions.
1948         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1949         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1950         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1951         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1952         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1953         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1954         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1955         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1956         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1957         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1958         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1959         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1960         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1961         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1962         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1963         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1964         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1965         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1966         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1967         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1968         * NEWS: Mention addition of x86_64 vector exp.
1970         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1971         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1972         redirections for logf.
1973         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1974         * sysdeps/x86_64/fpu/Versions: New versions added.
1975         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1976         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1977         build of SSE, AVX2 and AVX512 IFUNC versions.
1978         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1979         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1980         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1981         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1982         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1983         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1984         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1985         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1986         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1987         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1988         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1989         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1990         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1991         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1992         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1993         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1994         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1995         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1996         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1997         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1998         * NEWS: Mention addition of x86_64 vector logf.
2000         * bits/libm-simd-decl-stubs.h: Added stubs for log.
2001         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2002         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2003         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2004         redirections for log.
2005         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2006         * sysdeps/x86_64/fpu/Versions: New versions added.
2007         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2008         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2009         build of SSE, AVX2 and AVX512 IFUNC versions.
2010         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
2011         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2012         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2013         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2014         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2015         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2016         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2017         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2018         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2019         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2020         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2021         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2022         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2023         test.
2024         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2025         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2026         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2027         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2028         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2029         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2030         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2031         * NEWS: Mention addition of x86_64 vector log.
2033 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2035         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2036         cfi_adjust_cfa_offset argument.
2037         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2038         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2040         [BZ #18034]
2041         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2042         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2043         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2044         ordering using ldar.
2045         (_dl_tlsdesc_dynamic): Likewise.
2046         (_dl_tlsdesc_return_lazy): Likewise.
2047         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2048         relaxed atomics instead of volatile and synchronize with release store.
2049         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2050         volatile.
2051         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2053 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
2055         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2056         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2057         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2058         * sysdeps/x86_64/fpu/Versions: New versions added.
2059         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2060         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2061         build of SSE, AVX2 and AVX512 IFUNC versions.
2062         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2063         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2064         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2065         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2066         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2067         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2068         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2069         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2070         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2071         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2072         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2073         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2074         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2075         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2076         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2077         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2078         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2079         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2080         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2081         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2082         * NEWS: Mention addition of x86_64 vector sinf.
2084 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
2086         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2087         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2088         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2089         Remove variable.
2090         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2091         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2093 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2095         [BZ #18530]
2096         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2097         strong alias of _IO_fputs.  Use libc_hidden_def.
2098         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2099         and define as weak alias of __fputs_unlocked.  Use
2100         libc_hidden_weak.
2101         * include/stdio.h (__fputs_unlocked): Declare.  Use
2102         libc_hidden_proto.
2103         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2104         fputs_unlocked.
2106         [BZ #18529]
2107         * resolv/netdb.h [__USE_POSIX]: Change condition to
2108         [__USE_XOPEN2K].
2109         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2110         not expect.
2111         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2112         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2113         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2114         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2115         [XPG4 || UNIX98] (AI_ALL): Likewise.
2116         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2117         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2118         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2119         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2120         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2121         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2122         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2123         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2124         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2125         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2126         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2127         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2128         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2129         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2130         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2131         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2132         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2133         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2134         [XPG4 || UNIX98] (gai_strerror): Likewise.
2135         [XPG4 || UNIX98] (getaddrinfo): Likewise.
2136         [XPG4 || UNIX98] (getnameinfo): Likewise.
2138         [BZ #18528]
2139         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2140         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2141         __USE_XOPEN2K8].
2142         (getgrent): Likewise.
2143         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2144         expect.
2145         [XPG3 || POSIX2008] (endgrent): Likewise.
2146         [XPG3] (setgrent): Likewise.
2147         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2148         variable.
2149         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2151         [BZ #18527]
2152         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2153         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
2154         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2155         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2156         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2157         * include/unistd.h (__getlogin_r): Declare.  Use
2158         libc_hidden_proto.
2159         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2160         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2161         variable.
2162         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2163         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2164         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2166 2015-06-12  Martin Sebor  <msebor@redhat.com>
2168         [BZ #18512]
2169         * Makerules (check-install-supported): New target.
2170         (install): Add check-install-supported as a dependency.
2171         * manual/install.texi (Installing the C Library): Document
2172         that overriding prefix and exec_prefix is not supported.
2173         Mention DESTDIR.
2174         * INSTALL: Regenerate from the above.
2176 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
2178         [BZ #18519]
2179         * posix/Versions (libc): Export __libc_pread at version
2180         GLIBC_PRIVATE.
2181         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2182         instead of pread.
2183         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2184         variable.
2186         [BZ #18522]
2187         * misc/efgcvt_r.c
2188         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2189         (cvt_symbol): Use weak_alias instead of strong_alias.
2190         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2191         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2192         Remove variable.
2193         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2194         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2196         [BZ #18520]
2197         * inet/herrno.c (h_errno): Rename to __h_errno.
2198         (__libc_h_errno): Define as alias of __h_errno not h_errno.
2199         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2200         to __h_errno instead of h_errno.
2201         * nptl/herrno.c (h_errno): Rename to __h_errno.
2202         (__h_errno_location): Refer to __h_errno not h_errno.
2203         * resolv/Versions (h_errno): Rename to __h_errno.
2204         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2205         Remove variable.
2206         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2208 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
2210         * configure.ac: More strict check for AVX512 assembler support.
2211         * configure: Regenerated.
2213         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2214         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2215         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2216         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2217         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2218         * sysdeps/x86_64/fpu/Versions: New versions added.
2219         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2220         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2221         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2222         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2223         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2224         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2225         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2226         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2227         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2228         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2229         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2230         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2231         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2232         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2233         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2234         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2235         test.
2236         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2237         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2238         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2239         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2240         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2241         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2242         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2243         * NEWS: Mention addition of x86_64 vector sin.
2245 2015-06-11  Florian Weimer  <fweimer@redhat.com>
2247         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2248         comment.
2250 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2252         [BZ #18479]
2253         * nptl/pt-interp.c: New file.
2254         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2255         Add pt-interp.
2256         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2257         $(common-objpfx)runtime-linker.h.
2259 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
2261         * Makeconfig (+interp): Remove unused variable.
2262         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2263         only.  Depend on $(common-objpfx)runtime-linker.h instead of
2264         $(elf-objpfx)runtime-linker.h.
2265         ($(elf-objpfx)runtime-linker.h): Rename to
2266         $(common-objpfx)runtime-linker.h and move ...
2267         * Makerules [$(build-shared) = yes]: ... here.
2268         * elf/interp.c: Include <runtime-linker.h> instead of
2269         <elf/runtime-linker.h>.
2271 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2273         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2274         (__gettimeofday_syscall): Remove vsyscall fallback.
2275         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2276         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2277         Add syscall fallback function.
2278         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2279         if vDSO is not present.
2280         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2281         fallback function.
2282         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2283         present.
2284         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2285         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2287 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
2289         [BZ #18497]
2290         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2291         of wcscmp.
2292         (wcscmp): Define as weak alias of WCSCMP.
2293         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2294         wcscoll.
2295         (USE_HIDDEN_DEF): Define.
2296         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2297         __wcscoll.  Don't use libc_hidden_weak.
2298         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2299         wcscmp.
2300         * sysdeps/i386/i686/multiarch/wcscmp-c.c
2301         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2302         __GI_wcscmp.
2303         (weak_alias): Undefine and redefine.
2304         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2305         __wcscmp and define as weak alias of __wcscmp.
2306         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2307         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
2308         (__wcscoll): Likewise.
2309         (wcscmp): Don't use libc_hidden_proto.
2310         (wcscoll): Likewise.
2311         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2312         wcscoll.
2313         * posix/regexec.c (check_node_accept_bytes): Likewise.
2314         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2315         variable.
2316         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2317         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2319         [BZ #18507]
2320         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2321         __fstatvfs and define as weak alias of __fstatvfs.  Use
2322         libc_hidden_weak.
2323         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2324         and define as weak alias of __statvfs.  Use libc_hidden_weak.
2325         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2326         Define as alias of __fstatvfs, not fstatvfs.
2327         (fstatvfs64): Likewise.
2328         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2329         Define as alias of __statvfs, not statvfs.
2330         (statvfs64): Likewise.
2331         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2332         Remove variable.
2334 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2337         (HAVE_GETCPU_VSYSCALL): Define.
2338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2339         (HAVE_GETCPU_VSYSCALL): Likewise.
2340         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2341         * sysdeps/unix/sysv/linux/sched_getcpu.c
2342         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2343         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2344         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2345         prototype.
2346         * sysdeps/unix/sysv/linux/x86_64/init-first.c
2347         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2348         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2349         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2350         Define.
2351         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2352         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2353         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2354         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2356 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
2358         * sysdeps/x86_64/fpu/Makefile: New file.
2359         * sysdeps/x86_64/fpu/Versions: New file.
2360         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2361         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2362         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2363         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2364         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2365         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2366         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2367         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2368         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2369         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2370         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2371         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2372         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2373         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2374         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2375         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2376         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2377         * sysdeps/x86_64/configure.ac: Options for libmvec build.
2378         * sysdeps/x86_64/configure: Regenerated.
2379         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2380         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2381         * manual/install.texi (Configuring and compiling): Document
2382         --disable-mathvec.
2383         * INSTALL: Regenerated.
2384         * NEWS: Mention addition of libmvec and x86_64 vector cos.
2386         * math/Makefile: Added rules for vector tests.
2387         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2388         declaration under condition.
2389         * math/test-double-vlen2.h: New file.
2390         * math/test-double-vlen4.h: New file.
2391         * math/test-double-vlen8.h: New file.
2392         * math/test-vec-loop.h: Added initialization macro.
2393         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2394         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2395         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2396         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2397         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2398         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2399         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2400         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2401         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2402         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2403         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2405         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2406         * sysdeps/x86_64/fpu/Versions: New versions added.
2407         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2408         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2409         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2410         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2411         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2412         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2413         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2414         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2415         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2416         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2417         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2418         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2419         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2420         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2421         Added build of SSE, AVX2 and AVX512 IFUNC versions.
2422         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2423         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2424         * NEWS: Mention addition of x86_64 vector cosf.
2426         * math/Makefile: Added CFLAGS for new tests.
2427         * math/test-float-vlen16.h: New file.
2428         * math/test-float-vlen4.h: New file.
2429         * math/test-float-vlen8.h: New file.
2430         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2431         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2432         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2433         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2434         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2435         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2436         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2437         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2438         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2439         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2440         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2442 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
2444         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2445         * locale/programs/ld-ctype.c: Likewise.
2447 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2449         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2450         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2451         bit_ZMM16_31_state): New macro.
2452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2453         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2455 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
2457         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2459 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
2461         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2463 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
2465         [BZ #18498]
2466         * libio/memstream.c (open_memstream): Rename to __open_memstream
2467         and define as weak alias of __open_memstream.
2468         * include/stdio.h (__open_memstream): Declare.  Use
2469         libc_hidden_proto.
2470         (open_memstream): Don't use libc_hidden_proto.
2471         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2472         open_memstream.
2473         * posix/getopt.c (_getopt_internal_r): Likewise.
2474         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2475         variable.
2476         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2477         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2478         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2480         [BZ #18496]
2481         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2482         instead of wcrtomb.
2484         [BZ #18483]
2485         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2486         [__USE_XOPEN2K8].  Remove redundant #endif.
2487         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2488         Remove redundant #if.
2489         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2490         Remove variable.
2491         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2492         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2494         [BZ #18495]
2495         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2496         (__iswlower): Likewise.
2497         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2498         (__iswlower): Likewise.
2499         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2500         instead of towlower.
2501         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2502         instead of iswlower.  Call __towupper instead of towupper.
2503         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2504         instead of iswalnum.
2506 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2508         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2509         errors to stderr.
2511 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2513         [BZ #15661]
2514         [BZ #17322]
2515         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2516         Check for overflow properly.  Check for O_APPEND.  Ignore large
2517         file system block sizes.  Add comments about problems.
2518         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2519         * manual/filesys.texi (Storage Allocation): New node.
2521 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2523         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2524         cancellable syscalls.
2525         (SYS_ify): Add guard to no redefine it.
2526         (INLINE_SYSCALL): Likewise.
2527         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2528         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2529         SYSCALL_CANCEL instead.
2530         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2531         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2532         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2533         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2534         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2535         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2536         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2537         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2538         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2539         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2540         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2541         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2542         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2543         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2544         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2545         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2546         Likewise.
2547         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2548         (__libc_pread64): Likewise.
2549         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2550         (__libc_preadv): Likewise.
2551         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2552         (__libc_readv64): Likewise.
2553         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2554         (__libc_pwrite): Likewise.
2555         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2556         (__libc_pwrite64): Likewise.
2557         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2558         (__libc_pwritev): Likewise.
2559         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2560         (__libc_pwritev64): Likewise.
2561         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2562         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2563         (sync_file_range): Likewise.
2564         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2565         Likewise.
2566         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2567         Likewise.
2568         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2569         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2570         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2571         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2572         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2573         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2574         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2575         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2577         Likewise.
2578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2579         (__libc_read64): Likewise.
2580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2581         Likewise.
2582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2583         Likewise.
2584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2585         Likewise.
2586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2587         Likewise.
2588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2589         (__libc_pread64): Likewise.
2590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2591         Likewise.
2592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2593         (__libc_pwrite64): Likewise.
2594         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2595         (sync_file_range): Likewise.
2596         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2597         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2598         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2599         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2600         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2601         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2602         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2603         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2604         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2605         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2606         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2607         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2608         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2609         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2610         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2611         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2612         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2613         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2614         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2615         Likewise.
2616         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2617         Likewise.
2618         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2619         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2620         Likewise.
2621         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2622         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2623         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2624         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2625         Likewise.
2626         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2627         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2628         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2629         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2630         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2632 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2634         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2635         Include dl-vdso.
2636         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2637         Use VDSO routines for gettimeofday, clock_gettime if
2638         available.
2639         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2640         Declare VDSO symbols.
2641         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2642         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2643         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2644         * sysdeps/unix/sysv/linux/arm/Versions: Add
2645         __vdso_clock_gettime.
2647 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2649         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2650         be an inline implementation regardless of library is built within.
2651         (open_not_cancel_2): Likewise.
2652         (__read_nocancel): Likewise.
2653         (__write_nocancel): Likewise.
2654         (openat_not_cancel): Likewise.
2655         (openat_not_cancel_3): Likewise.
2656         (openat64_not_cancel): Likewise.
2657         (openat64_not_cancel_3): Likewise.
2658         (__close_nocancel): Likewise.
2659         (pause_not_cancel): Likewise.
2660         (nanosleep_not_cancel): Likewise.
2661         (sigsuspend_not_cancel): Likewise.
2663 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2665         [BZ #14958]
2666         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2667         wake-up.
2668         (__pthread_rwlock_rdlock_slow): Likewise.
2669         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2670         Likewise.
2671         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2672         Likewise.
2673         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2674         * nptl/tst-rwlock16.c: New file.
2675         * nptl/Makefile (tests): Add new test.
2677 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2679         [BZ #18324]
2680         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2681         missing wake-up of readers.
2682         * nptl/tst-rwlock15.c: New file.
2683         * nptl/Makefile (tests): Add new test.
2685 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2687         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2688         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2689         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2690         and __nacl_supply_interface_rtld.
2691         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2692         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2693         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2694         Add __nacl_supply_interface_rtld.
2695         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2697 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2699         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2700         isfinite.
2701         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2702         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2704 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2706         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2707         __signbit* with standard C99 macros.
2708         * math/e_exp10l.c: Likewise.
2709         * math/e_exp2l.c: Likewise.
2710         * math/e_scalb.c: Likewise.
2711         * math/e_scalbf.c: Likewise.
2712         * math/e_scalbl.c: Likewise.
2713         * math/s_ldexp.c: Likewise.
2714         * math/s_ldexpf.c: Likewise.
2715         * math/s_ldexpl.c: Likewise.
2716         * math/w_atan2.c: Likewise.
2717         * math/w_atan2f.c: Likewise.
2718         * math/w_atan2l.c: Likewise.
2719         * math/w_cosh.c: Likewise.
2720         * math/w_coshf.c: Likewise.
2721         * math/w_coshl.c: Likewise.
2722         * math/w_exp10.c: Likewise.
2723         * math/w_exp10f.c: Likewise.
2724         * math/w_exp10l.c: Likewise.
2725         * math/w_exp2.c: Likewise.
2726         * math/w_exp2f.c: Likewise.
2727         * math/w_exp2l.c: Likewise.
2728         * math/w_fmod.c: Likewise.
2729         * math/w_fmodf.c: Likewise.
2730         * math/w_fmodl.c: Likewise.
2731         * math/w_hypot.c: Likewise.
2732         * math/w_hypotf.c: Likewise.
2733         * math/w_hypotl.c: Likewise.
2734         * math/w_jnl.c: Likewise.
2735         * math/w_lgamma.c: Likewise.
2736         * math/w_lgamma_r.c: Likewise.
2737         * math/w_lgammaf.c: Likewise.
2738         * math/w_lgammaf_r.c: Likewise.
2739         * math/w_lgammal.c: Likewise.
2740         * math/w_lgammal_r.c: Likewise.
2741         * math/w_pow.c: Likewise.
2742         * math/w_powf.c: Likewise.
2743         * math/w_powl.c: Likewise.
2744         * math/w_remainder.c: Likewise.
2745         * math/w_remainderf.c: Likewise.
2746         * math/w_remainderl.c: Likewise.
2747         * math/w_scalb.c: Likewise.
2748         * math/w_scalbf.c: Likewise.
2749         * math/w_scalbl.c: Likewise.
2750         * math/w_scalbln.c: Likewise.
2751         * math/w_scalblnf.c: Likewise.
2752         * math/w_scalblnl.c: Likewise.
2753         * math/w_sinh.c: Likewise.
2754         * math/w_sinhf.c: Likewise.
2755         * math/w_sinhl.c: Likewise.
2756         * math/w_tgamma.c: Likewise.
2757         * math/w_tgammaf.c: Likewise.
2758         * math/w_tgammal.c: Likewise.
2759         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2760         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2761         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2762         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2763         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2764         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2765         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2766         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2767         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2768         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2769         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2770         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2771         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2772         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2773         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2774         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2775         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2776         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2777         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2778         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2779         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2780         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2781         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2782         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2783         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2784         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2785         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2786         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2787         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2788         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2789         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2790         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2791         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2792         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2793         * stdio-common/printf_fp.c: Likewise.
2794         * stdio-common/printf_fphex.c: Likewise.
2795         * stdio-common/printf_size.c: Likewise.
2797 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2799         [BZ #18470]
2800         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2801         strnlen.
2802         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2803         Remove variable.
2804         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2805         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2806         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2807         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2808         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2809         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2810         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2811         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2812         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2813         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2815         [BZ #18468]
2816         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2817         weak alias of __wmemchr.  Use libc_hidden_weak.
2818         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2819         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2820         instead of wmemchr.
2822 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2824         [BZ #18383]
2825         * elf/tst-tlsalign-extern.c: New file.
2826         * elf/tst-tlsalign-extern-static.c: New file.
2827         * elf/tst-tlsalign-vars.c: New file.
2828         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2829         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2830         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2831         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2832         (test-xfail-tst-tlsalign-extern-static): New variable.
2834 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2836         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2837         Use variable name _sc_err instead of err.
2838         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2839         instead of ret.
2840         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2841         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2842         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2843         (INLINE_SYSCALL): Likewise.
2845         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2846         * include/string.h (__strnlen): Use libc_hidden_proto.
2847         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2848         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2849         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2850         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2851         (libc_hidden_def): Undefine and redefine.
2852         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2853         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2854         __GI_strnlen.
2855         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2856         libc_hidden_def.
2857         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2859         [BZ #18469]
2860         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2861         weak alias of __towlower.  Use libc_hidden_weak.
2862         (towupper): Rename to __towupper and define as weak alias of
2863         __towupper.  Use libc_hidden_weak.
2864         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2865         (__towupper): Likewise.
2866         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2867         __towlower instead of towlower.
2869 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2871         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2872         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2874 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2876         * sysdeps/aarch64/libm-test-ulps: Update.
2878 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2880         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2881         Define.
2882         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2884         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2885         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2886         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2887         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2888         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2890 2015-06-01  Martin Sebor  <msebor@redhat.com>
2892         [BZ #18116]
2893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2894         (__setcontext): Use extended four-operand version of mtsf whenever
2895         possible.
2896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2897         (__novec_swapcontext): Likewise.
2899 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2901         * benchtests/scripts/compare_bench.py: New file.
2902         * benchtests/scripts/import_bench.py (mean): New function.
2903         (split_list): Likewise.
2904         (do_for_all_timings): Likewise.
2905         (compress_timings): Likewise.
2907         * benchtests/scripts/import_bench.py: New file.
2908         * benchtests/scripts/validate_benchout.py: Import import_bench
2909         instead of jsonschema.
2910         (validate_bench): Remove function.
2911         (main): Use import_bench.
2913 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2915         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2916         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2918 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2922 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2924         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2925         set THREAD_SELF->tid to a magic value and futex-wake it.
2926         Pass its address to the thread_exit system call.
2927         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2928         bit is clear.
2929         * sysdeps/nacl/lowlevellock.h: New file.
2930         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2932         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2933         Add TIMEOUT to current time, don't subtract it.
2935 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2937         [BZ #18422]
2938         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2939         ($(objpfx)tst-audit2.out): Also depend on
2940         $(objpfx)tst-auditmod9b.so.
2941         * elf/tst-audit2.c: Include <dlfcn.h>.
2942         (calloc_called): New.
2943         (calloc): Allow to be called more than once.
2944         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2946 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2948         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2949         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2951 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2953         * stdlib/monetary.h: Fix comment.
2955 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2957         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2958         Avoid using variables in #defines that might cause shadowing.
2959         (INTERNAL_VSYSCALL_CALL): Likewise.
2961 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2963         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2965         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2966         * nptl/lll_timedlock_wait.c: ... to this new file.
2967         * nptl/Makefile (libpthread-routines): Add it.
2968         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2969         * nptl/lll_timedwait_tid.c: ... to this new file.
2970         * nptl/Makefile (libpthread-routines): Add it.
2971         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2972         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2973         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2974         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2975         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2976         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2977         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2978         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2979         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2980         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2982 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2984         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2985         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2986         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2987         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2988         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2989         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2990         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2991         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2992         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2993         * sysdeps/unix/sysv/linux/tile/sysdep.h
2994         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2995         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2996         using vDSO syscall macro.
2998 2015-05-26  Andriy Rysin  <arysin@gmail.com>
3000         [BZ #17293]
3001         * uk_UA: Fix sorting order for Ukrainian locale
3003 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
3005         * stdlib/monetary.h: Fix comment.
3007 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3009         [BZ #18234]
3010         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3011         st_mtim and st_ctim members.
3012         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3013         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3014         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3015         (struct stat64): Likewise.
3016         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3017         (struct stat64): Likewise.
3018         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3019         (struct stat64): Likewise.
3021 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3023         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3024         Define and include sysdep-vdso.h.
3025         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3026         Likewise.
3027         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3028         Likewise.
3029         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3030         Define with VDSO_SYMBOL and use PTR_MANGLE.
3031         (__vdso_clock_gettime): Likewise.
3032         (__vdso_clock_getres): Likewise.
3033         (_libc_vdso_platform_setup): Likewise.
3034         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3035         Likewise.
3036         (_libc_vdso_platform_setup): Likewise.
3037         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3038         Likewise.
3039         (__vdso_clock_gettime): Likewise.
3040         (__vdso_clock_getres): Likewise.
3041         (__vdso_get_tbfreq): Likewise.
3042         (__vdso_getcpu): Likewise.
3043         (__vdso_time): Likewise.
3044         (__vdso_sigtramp_rt64): Likewise.
3045         (__vdso_signtramp32): Likewise.
3046         (__vdso_sigtramp_rt32): Likewise.
3047         (_libc_vdso_platform_setup): Likewise.
3048         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3049         Likewise.
3050         (__vdso_clock_gettime): Likewise.
3051         (__vdso_clock_getres): Likewise.
3052         (_libc_vdso_platform_setup): Likewise.
3053         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3054         Likewise.
3055         (__vdso_clock_gettime): Likewise.
3056         (_libc_vdso_platform_setup): Likewise.
3057         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3058         Likewise.
3059         (__vdso_getcpu): Likewise.
3060         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3061         Use VDSO_SYMBOL macro to define.
3062         (__vdso_clock_gettime): Likewise.
3063         (__vdso_clock_getres): Likewise.
3064         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3065         Likewise.
3066         (__vdso_clock_gettime): Likewise.
3067         (__vdso_clock_getres): Likewise.
3068         (__vdso_get_tbfreq): Likewise.
3069         (__vdso_getcpu): Likewise.
3070         (__vdso_time): Likewise.
3071         (__vdso_sigtramp_rt64): Likewise.
3072         (__vdso_signtramp32): Likewise.
3073         (__vdso_sigtramp_rt32): Likewise.
3074         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3075         Likewise.
3076         (__vdso_clock_gettime): Likewise.
3077         (__vdso_clock_getres): Likewise.
3078         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3079         Likewise.
3080         (__vdso_clock_gettime): Likewise.
3081         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3082         Likewise.
3083         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
3084         macro.
3085         (INTERNAL_VSYSCALL): Likewise.
3086         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3087         Remove macro.
3088         (INTERNAL_VSYSCALL): Likewise.
3089         (INTERNAL_VSYSCALL_NCS): Likewise.
3090         (INTERNAL_VSYSCALL_CALL): New macro.
3091         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3092         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3093         Likewise.
3094         (INTERNAL_VSYSCALL): Likewise.
3095         (INTERNAL_VSYSCALL_NCS): Likewise.
3096         (INTERNAL_VSYSCALL_CALL): New macro.
3097         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3099         (INLINE_VSYSCALL): Remove macro.
3100         (INTERNAL_VSYSCALL): Remove macro.
3101         (INTERNAL_VSYSCALL_NCS): Remove macro.
3102         (INTERNAL_VSYSCALL_CALL): New macro.
3103         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3104         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3105         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3106         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3107         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3109         (INLINE_VSYSCALL): Remove macro.
3110         (INTERNAL_VSYSCALL): Likewise.
3111         (INTERNAL_VSYSCALL_NCS): Likewise.
3112         (INTERNAL_VSYSCALL_CALL): New macro.
3113         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3114         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3115         PTR_DEMANGLE on vDSO pointer.
3116         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3117         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3118         macro.
3119         (INTERNAL_SYSCALL): Likewise.
3120         (INTERNAL_VSYSCALL_NCS): Remove macro.
3121         (INTERNAL_VSYSCALL_CALL): New macro.
3122         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3123         Remove macro.
3124         (INTERNAL_VSYSCALL): Likewise.
3125         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3126         sysdep-vdso.h instead of libc-vdso.h.
3127         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3128         definition.
3129         (INLINE_VSYSCALL): Likewise.
3130         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3131         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3132         definition.
3133         (INLINE_VSYSCALL): Likewise.
3134         (INTERNAL_VSYSCALL): Likewise.
3135         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3136         * sysdeps/unix/sysv/linux/timespec_get.c
3137         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3138         (timespec_get): Use ANSI prototype.
3139         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3140         and definition for Linux.
3142 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3144         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3145         * include/libc-symbols.h: libmvec_hidden_* macro series added.
3147 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
3149         [BZ #18410]
3150         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3151         for missing DT_PLTRELSZ.
3153 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
3155         Remove obsolete aliases that broke 'locale -a'
3156         [BZ #18412]
3157         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3158         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3159         breaking some applications that use 'locale -a' output.
3160         Change the encoding of this file from Latin-1 to ASCII to avoid
3161         other potential problems with people grepping this file.
3163 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3165         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3166         -fasynchronous-unwind-tables.
3167         (CFLAGS-sendto.c): Likewise.
3168         (CFLAGS-sendmsg.c): Likewise.
3169         (CFLAGS-connect.c): Likewise.
3170         (CFLAGS-recvmsg.c): Likewise.
3171         (CFLAGS-recvfrom.c): Likewise.
3172         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3173         (SOCKETCALL): New macro: non-cancellable socketcall.
3174         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3175         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3176         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3177         * sysdeps/unix/sysv/linux/accept.c: New file.
3178         * sysdeps/unix/sysv/linux/bind.c: Likewise.
3179         * sysdeps/unix/sysv/linux/connect.c: Likewise.
3180         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3181         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3182         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3183         * sysdeps/unix/sysv/linux/listen.c: Likewise.
3184         * sysdeps/unix/sysv/linux/recv.c: Likewise.
3185         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3186         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3187         * sysdeps/unix/sysv/linux/send.c: Likewise.
3188         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3189         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3190         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3191         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3192         * sysdeps/unix/sysv/linux/socket.c: Likewise.
3193         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3194         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3195         prototype.
3196         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3197         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3198         instead of __internal_xxx function.
3199         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3200         prototype.
3201         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3202         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3203         instead of __internal_xxx function.
3204         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3205         prototype.
3206         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3207         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3208         instead of __internal_xxx function.
3209         * sysdeps/unix/sysv/linux/accept.S: Remove file.
3210         * sysdeps/unix/sysv/linux/bind.S: Likewise.
3211         * sysdeps/unix/sysv/linux/connect.S: Likewise.
3212         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3213         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3214         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3215         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3216         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3217         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3218         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3219         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3220         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3221         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3222         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3223         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3224         * sysdeps/unix/sysv/linux/listen.S: Likewise.
3225         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3226         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3227         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3228         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3231         * sysdeps/unix/sysv/linux/recv.S: Likewise.
3232         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3233         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3234         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3235         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3236         * sysdeps/unix/sysv/linux/send.S: Likewise.
3237         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3238         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3239         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3240         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3241         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3242         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3243         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3244         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3245         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3246         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3247         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3248         socketcall is implemented in GLIBC.
3250 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3252         * soft-fp/fmadf4.c: Include <libc-internal.h>.
3253         (__fma): Ignore uninitialized warnings around packing.
3254         * soft-fp/fmasf4.c: Include <libc-internal.h>.
3255         (__fmaf): Ignore uninitialized warnings around packing.
3256         * soft-fp/fmatf4.c: Include <libc-internal.h>.
3257         (__fmal): Ignore uninitialized warnings around packing.
3259         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3260         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3261         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3262         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3264         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3265         switch statement into default case.
3266         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3268         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3269         a conditional in forcing "inexact".
3270         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3271         Likewise.
3273 2015-05-22  Roland McGrath  <roland@hack.frob.com>
3275         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3276         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3277         for each INTERNAL_SYSCALL use.
3279 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
3281         [BZ #438]
3282         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3283         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3284         variable.
3286         [BZ #18444]
3287         * string/basename.c (basename): Rename to __basename and define as
3288         weak alias of __basename.  Use libc_hidden_weak.
3289         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
3290         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3291         __basename instead of basename.
3292         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3293         Remove variable.
3294         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3296 2015-05-18  Florian Weimer  <fweimer@redhat.com>
3298         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3299         (_IO_JUMPS_FILE_plus): New.
3300         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3301         _IO_CAST_FIELD_ACCESS.
3302         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3303         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3304         * libio/freopen.c (freopen): Likewise.
3305         * libio/freopen64.c (freopen64): Likewise.
3306         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3307         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3308         * libio/iofwide.c (_IO_fwide): Likewise.
3309         * libio/memstream.c (open_memstream): Likewise.
3310         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3311         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3312         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3314 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
3316         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3317         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3318         NADJ.
3319         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3320         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3321         NADJ.
3322         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3323         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3324         NADJ.
3326         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3327         (p == 4) case.
3329         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3330         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3331         Remove variable.
3332         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3333         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3334         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3336 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3338         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3339         Adjust jump table label generation macros.
3341 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3343         * stdio-common/vfprintf.c (vfprintf): Move local variables
3344         args_malloced, specs, specs_malloced, and the code after
3345         do_positional to the printf_positional function.
3346         (printf_positional): New function.
3348 2015-05-21  Florian Weimer  <fweimer@redhat.com>
3350         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3351         function.
3352         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3353         STEP4_TABLE, process_arg): Move macro definitions
3354         out of the vfprintf function.  (Cosmetic change only.)
3356 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
3358         * benchtests/Makefile (stdio-common-bench): Define.
3359         (benchset): Add stdio-common-bench.
3360         * sprintf-inputs: New file.
3361         * sprintf-source.c: New file.
3363 2015-05-21  Andreas Schwab  <schwab@suse.de>
3365         [BZ #13028]
3366         [BZ #17053]
3367         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3368         of struct __res_state.
3369         * resolv/res_send.c (__libc_res_nsend): Likewise.
3370         (get_nsaddr): New function.
3371         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3372         statp directly.
3374 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3376         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3377         -D_POSIX_C_SOURCE=199506L.
3379         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3381         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3382         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3383         Do not mention otherwise.
3384         [POSIX] (_XOPEN_VERSION): Do not expect.
3385         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3386         [POSIX] (_POSIX2_C_BIND): Likewise.
3387         [POSIX] (_POSIX2_VERSION): Likewise.
3388         [POSIX] (_XOPEN_XPG2): Likewise.
3389         [POSIX] (_XOPEN_XPG3): Likewise.
3390         [POSIX] (_XOPEN_XPG4): Likewise.
3391         [POSIX] (_XOPEN_UNIX): Likewise.
3392         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3393         [POSIX] (_POSIX_BARRIERS): Likewise.
3394         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3395         [POSIX] (_POSIX_CPUTIME): Likewise.
3396         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3397         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3398         [POSIX] (_POSIX_SHELL): Likewise.
3399         [POSIX] (_POSIX_SPAWN): Likewise.
3400         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3401         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3402         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3403         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3404         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3405         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3406         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3407         [POSIX] (_XBS5_LP64_OFF64): Likewise.
3408         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3409         [POSIX] (_POSIX_TIMEOUTS): Likewise.
3410         [POSIX] (_POSIX2_PBS): Likewise.
3411         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3412         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3413         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3414         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3415         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3416         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3417         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3418         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3419         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3420         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3421         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3422         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3423         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3424         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3425         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3426         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3427         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3428         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3429         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3430         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3431         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3432         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3433         [POSIX] (_SC_2_C_BIND): Likewise.
3434         [POSIX] (_SC_2_C_VERSION): Likewise.
3435         [POSIX] (_SC_2_PBS): Likewise.
3436         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3437         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3438         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3439         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3440         [POSIX] (_SC_2_PBS_TRACK): Likewise.
3441         [POSIX] (_SC_ATEXIT_MAX): Likewise.
3442         [POSIX] (_SC_BARRIERS): Likewise.
3443         [POSIX] (_SC_BASE): Likewise.
3444         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3445         [POSIX] (_SC_DEVICE_IO): Likewise.
3446         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3447         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3448         [POSIX] (_SC_FD_MGMT): Likewise.
3449         [POSIX] (_SC_FIFO): Likewise.
3450         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3451         [POSIX] (_SC_FILE_LOCKING): Likewise.
3452         [POSIX] (_SC_FILE_SYSTEM): Likewise.
3453         [POSIX] (_SC_IOV_MAX): Likewise.
3454         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3455         [POSIX] (_SC_NETWORKING): Likewise.
3456         [POSIX] (_SC_PAGE_SIZE): Likewise.
3457         [POSIX] (_SC_PASS_MAX): Likewise.
3458         [POSIX] (_SC_PIPE): Likewise.
3459         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3460         [POSIX] (_SC_REGEXP): Likewise.
3461         [POSIX] (_SC_SHELL): Likewise.
3462         [POSIX] (_SC_SIGNALS): Likewise.
3463         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3464         [POSIX] (_SC_SPIN_LOCKS): Likewise.
3465         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3466         [POSIX] (_SC_USER_GROUPS): Likewise.
3467         [POSIX] (_SC_USER_GROUPS_R): Likewise.
3468         [POSIX] (_SC_STREAMS): Likewise.
3469         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3470         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3471         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3472         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3473         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3474         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3475         [POSIX] (_PC_FILESIZEBITS): Likewise.
3476         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3477         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3478         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3479         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3480         [POSIX] (uid_t): Likewise.
3481         [POSIX] (gid_t): Likewise.
3482         [POSIX] (off_t): Likewise.
3483         [POSIX] (pid_t): Likewise.
3484         [POSIX] (cuserid): Allow.
3485         (_SC_2_CHAR_TERM): Require constant.
3486         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3487         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3488         variable.
3490 2015-05-20  Roland McGrath  <roland@hack.frob.com>
3492         * sysdeps/nacl/pthread-pids.h: New file.
3493         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3494         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3496         * nptl/pthread-pids.h: New file.
3497         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3498         * nptl/nptl-init.c: Include <pthread-pids.h>.
3499         (__pthread_initialize_minimal_internal):
3500         Call __pthread_initialize_pids instead of set_tid_address syscall.
3502         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3503         * sysdeps/posix/usleep.c: ... here.
3505 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3507         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3508         call_pselect6 object.
3509         [$(subdir) = io]: Remove call_sync_file_range object.
3510         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3511         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3512         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3513         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3515 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3517         * math/s_cproj.c: Add include "math_private.h".
3518         * math/s_cprojf.c: Likewise.
3519         * math/s_cprojl.c: Likewise.
3521 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3523         [BZ #18244]
3524         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3525         high mantissa bit when testing whether P is a NaN.
3526         * math/libm-test.inc (remainder_test_data): Add more tests.
3527         (remquo_test_data): Likewise.
3529         [BZ #18049]
3530         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3531         below -32, return the argument, with underflow if subnormal.
3532         * math/auto-libm-test-in: Add more tests of atanh.
3533         * math/auto-libm-test-out: Regenerated.
3535 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3537         [BZ #18434]
3538         * nptl/tst-sem15.c: New file.
3539         * nptl/Makefile (tests): Add it.
3540         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3541         s/<</>>/ to fix typo in EOVERFLOW check.
3542         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3544 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3546         * manual/strings.texi (envz_remove): Fix typo in safety
3547         annotations.
3549 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3550             Steve Ellcey  <sellcey@imgtec.com>
3552         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3553         in order to avoid strict alias warnings.
3554         (iruserok_af): Ditto for ra.
3556 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3558         [BZ #17581]
3559         * malloc/hooks.c
3560         (magicbyte): Convert to a function and avoid returning 0x01.
3561         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3562         (mem2chunk_check): Fix unsigned comparisons to zero.
3563         Hoist defs of sz and magic.
3565 2015-05-19  Richard Henderson  <rth@redhat.com>
3567         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3569         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3571 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3573         [BZ #16159]
3574         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3575         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3576         (reused_arena): Find a non-corrupt arena.
3577         (heap_trim): Pass arena to unlink.
3578         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3579         malloc_printerr.
3580         (top_check): Likewise.
3581         (free_check): Likewise.
3582         (realloc_check): Likewise.
3583         * malloc/malloc.c (malloc_printerr): Add arena argument.
3584         (unlink): Likewise.
3585         (munmap_chunk): Adjust.
3586         (ARENA_CORRUPTION_BIT): New macro.
3587         (arena_is_corrupt): Likewise.
3588         (set_arena_corrupt): Likewise.
3589         (sysmalloc): Use mmap if there are no usable arenas.
3590         (_int_malloc): Likewise.
3591         (__libc_malloc): Don't fail if arena_get returns NULL.
3592         (_mid_memalign): Likewise.
3593         (__libc_calloc): Likewise.
3594         (__libc_realloc): Adjust for additional argument to
3595         malloc_printerr.
3596         (_int_free): Likewise.
3597         (malloc_consolidate): Likewise.
3598         (_int_realloc): Likewise.
3599         (_int_memalign): Don't touch corrupt arenas.
3600         * malloc/tst-malloc-backtrace.c: New test case.
3602         * Makefile (summarize-tests): Fix return value on success.
3604         * manual/string.texi (Envz Functions): Add envz_remove.
3606 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3608         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3609         (invalid_name): New function, broken out of ...
3610         (__opendirat): ... here.  Call it.
3611         (need_isdir_precheck): New function, broken out of ...
3612         (__opendirat): ... here.  Call it.
3613         Use __fxstatat64, not __xstatat64.
3614         (opendir_oflags): New function, broken out of ...
3615         (__opendirat): ... here.  Call it.
3616         (opendir_tail): New function, broken out of ...
3617         (__opendirat): ... here.  Call it.
3618         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3619         opendir_tail, rather than punting to __opendirat.
3620         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3622 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3624         * .gitignore: Ignore generated *.pyc.
3626 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3628         * include/stdio.h: Define __need_wint_t.
3629         * test-skeleton.c: Avoid `for' loop initial declaration.
3630         * nptl/tst-initializers1.c: Use test-skeleton.c.
3632 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3634         [BZ #18418]
3635         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3637 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3639         [BZ #16352]
3640         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3641         (__ieee754_atanh): Force underflow exception for results with
3642         small absolute value.
3643         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3644         (__ieee754_atanhf): Force underflow exception for results with
3645         small absolute value.
3646         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3647         (__ieee754_atanh): Force underflow exception for results with
3648         small absolute value.
3649         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3650         (__ieee754_atanhf): Force underflow exception for results with
3651         small absolute value.
3652         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3653         (__ieee754_atanhl): Force underflow exception for results with
3654         small absolute value.
3655         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3656         (__ieee754_atanhl): Force underflow exception for results with
3657         small absolute value.
3658         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3659         (__ieee754_atanhl): Force underflow exception for results with
3660         small absolute value.
3661         * math/auto-libm-test-in: Do not allow missing underflow
3662         exceptions from atanh.
3663         * math/auto-libm-test-out: Regenerated.
3665         [BZ #18221]
3666         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3667         2**-28 as threshold for returning x or +/- 1/x.
3668         * math/auto-libm-test-in: Add more tests of tan.
3669         * math/auto-libm-test-out: Regenerated.
3671         [BZ #18220]
3672         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3673         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3674         * math/auto-libm-test-in: Add another test of lgamma.
3675         * math/auto-libm-test-out: Regenerated.
3677 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3679         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3680         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3681         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3682         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3683         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3684         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3685         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3686         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3687         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3688         (log1): Use fabs.  (my_log2): Use fabs.
3689         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3690         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3691         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3692         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3693         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3694         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3695         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3696         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3697         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3698         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3699         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3701 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3703         [BZ #18217]
3704         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3705         as threshold for returning 1 - x.
3706         * math/auto-libm-test-in: Add more tests of erfc.
3707         * math/auto-libm-test-out: Regenerated.
3709 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3711         [BZ #18196]
3712         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3713         threshold for large arguments.
3714         * math/auto-libm-test-in: Add another test of atan.
3715         * math/auto-libm-test-out: Regenerated.
3717         [BZ #16339]
3718         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3719         (__log1p): Force underflow exception for results with small
3720         absolute value.
3721         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3722         (__log1pf): Force underflow exception for results with small
3723         absolute value.
3724         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3725         (__log1p): Force underflow exception for results with small
3726         absolute value.
3727         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3728         (__log1pf): Force underflow exception for results with small
3729         absolute value.
3730         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3731         (__log1pl): Force underflow exception for results with small
3732         absolute value.
3733         * math/auto-libm-test-in: Do not allow missing underflow
3734         exceptions from log1p.
3735         * math/auto-libm-test-out: Regenerated.
3737 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3738             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3740         [BZ #16704]
3741         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3743 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3745         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3746         (libmvec): New variable.
3747         * configure.ac: Added option for mathvec build.
3748         * configure: Regenerated.
3749         * mathvec/Depend: New file.
3750         * mathvec/Makefile: New file.
3751         * shlib-versions: Added libmvec.
3752         * math/Makefile: Added rule for libm.so installation.
3754         * bits/math-vector.h: New file.
3755         * bits/libm-simd-decl-stubs.h: New header.
3756         * math/Makefile (headers): Added new header
3757         libm-simd-decl-stubs.h.
3758         * math/math.h (__MATHCALL_VEC): New macro.
3760         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3761         for conditions in testing functions.
3762         * math/Makefile: Added call of libm-have-vector-test.sh.
3763         * math/libm-test.inc (HAVE_VECTOR): New macros.
3765         * math/libm-test.inc: START refactored.
3766         * math/test-double.c (TEST_MATHVEC): Add define.
3767         * math/test-float.c: Likewise.
3768         * math/test-idouble.c: Likewise.
3769         * math/test-ifloat.c: Likewise.
3770         * math/test-ildoubl.c: Likewise.
3771         * math/test-ldouble.c: Likewise.
3772         * sysdeps/generic/math-tests-arch.h
3773         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3774         architecture check.
3776         * math/test-double.c (FUNC_TEST): New macro.
3777         * math/test-float.c: Likewise.
3778         * math/test-idouble.c: Likewise.
3779         * math/test-ifloat.c: Likewise.
3780         * math/test-ildoubl.c: Likewise.
3781         * math/test-ldouble.c: Likewise.
3782         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3784 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3786         * sysdeps/nacl/fdopendir.c: New file.
3788         * dirent/scandir-tail.c: New file.
3789         * dirent/scandir64-tail.c: New file.
3790         * dirent/Makefile (routines): Add them.
3791         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3792         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3793         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3794         [!SCANDIR] (SCANDIR_TAIL): New macro.
3795         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3796         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3797         (SCANDIRAT): Macro removed.
3798         (SCANDIR_TAIL): New macro.
3799         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3800         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3801         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3802         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3803         (READDIR): Macro removed.
3804         (SCANDIR_TAIL): New macro.
3805         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3806         (SCANDIR_TAIL): New macro.
3808         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3809         * dirent/scandir-cancel.c: ... to this new file.
3810         * dirent/Makefile (routines): Add it.
3811         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3812         * sysdeps/unix/sysv/linux/i386/scandir64.c
3813         (SKIP_SCANDIR_CANCEL): Macro removed.
3814         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3816         * dirent/tst-scandir.c: New file.
3817         * dirent/tst-scandir64.c: New file.
3818         * dirent/Makefile (tests): Add them.
3820 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3822         [BZ #18409]
3823         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3825 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3827         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3828         list.
3830 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3832         * benchtests/bench-strcoll.c: New benchmark.
3833         * benchtests/Makefile: Generate locales and run benchmark.
3834         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3835         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3836         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3837         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3838         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3839         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3840         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3841         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3842         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3843         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3844         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3845         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3846         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3847         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3848         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3849         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3850         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3851         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3852         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3853         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3854         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3855         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3856         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3857         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3859 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3861         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3862         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3864 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3866         * posix/uname-values.h: New file.
3867         * posix/uname.c: Include that instead of <config-name.h>.
3868         * sysdeps/nacl/uname-values.h: New file.
3869         * sysdeps/arm/nacl/uname-values.h: New file.
3871 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3873         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3874         splitting into fields.
3876 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3878         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3879         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3880         * locale/localeinfo.h: Add enum collation_encoding_type.
3881         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3882         * programs/ld-collate.c (collate_output): Add encoding type info.
3883         * string/strcoll_l.c (STRDIFF): New function.
3884         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3885         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3887 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3889         [BZ #18397]
3890         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3891         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3892         <fpu_control.h> instead of <math/fpu_control.c>.
3893         * sysdeps/mips/mips32/fpu/Makefile: New file.
3895 2015-05-11  Andreas Schwab  <schwab@suse.de>
3897         [BZ #18007]
3898         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3899         nss_endgrent.
3900         (_nss_compat_endgrent): Call nss_endgrent.
3901         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3902         nss_endpwent.
3903         (_nss_compat_endpwent): Call nss_endpwent.
3904         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3905         needent, call nss_setspent only if non-zero.
3906         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3907         (internal_endspent): Don't call nss_endspent.
3908         (_nss_compat_endspent): Call nss_endspent.
3909         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3910         Remove.  All uses removed.
3911         (internal_setent): Remove parameter stayopen, add parameter
3912         stream.  Use it instead of global variable.
3913         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3914         (internal_endent, internal_getent): Add parameter stream.  Use it
3915         instead of global variable.
3916         (CONCAT(_nss_files_end,ENTNAME))
3917         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3918         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3919         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3920         uses removed.
3921         (internal_setent, internal_endent): Add parameter stream.  Use it
3922         instead of global variable.
3923         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3924         stream.
3925         (get_next_alias): Add parameter stream.
3926         (_nss_files_getaliasent_r): Pass global stream.
3927         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3928         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3929         (_nss_files_gethostbyname4_r): Pass local stream to
3930         internal_setent, internal_getent and internal_endent.  Remove
3931         locking.
3933 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3935         * tst-strfmon1.c (tests): Update expected currency symbol.
3937 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3939         * sysdeps/nacl/gethostname.c: New file.
3941 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3943         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3944         and sinh.
3945         * math/auto-libm-test-out: Regenerated.
3946         * sysdeps/i386/fpu/libm-test-ulps: Update.
3947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3949 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3951         [BZ #18125]
3952         * stdlib/tst-setcontext3.c: New file.
3953         * stdlib/tst-setcontext3.sh: New file.
3954         * stdlib/Makefile (tests): Add tst-setcontext3.
3955         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3956         to verify test program created output file.
3957         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3958         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3959         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3960         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3962 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3964         [BZ #18383]
3965         * elf/tst-tlsalign.c: New file.
3966         * elf/tst-tlsalign-static.c: New file.
3967         * elf/tst-tlsalign-lib.c: New file.
3968         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3969         (tests-static): Add tst-tlsalign-static.
3970         (modules-names): Add tst-tlsalign-lib.
3971         (test-xfail-tst-tlsalign): New variable.
3972         (test-xfail-tst-tlsalign-static): New variable.
3974         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3975         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3977 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3979         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3980         csqrt, erfc, sin and sincos.
3981         * math/auto-libm-test-out: Regenerated.
3982         * sysdeps/i386/fpu/libm-test-ulps: Update.
3983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3985 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3987         * sysdeps/aarch64/libm-test-ulps: Update.
3989 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3991         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3992         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3993         * math/auto-libm-test-out: Regenerated.
3994         * sysdeps/i386/fpu/libm-test-ulps: Update.
3995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3997 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3999         [BZ #18265]
4000         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4001         (wcsncpy): Likewise.
4003 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4005         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4006         Assume __ASSUME_FALLOCATE is always true.
4007         * sysdeps/unix/sysv/linux/posix_fallocate64.c
4008         (__posix_fallocate64_l64): Likweise.
4009         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4010         (posix_fallocate): Likewise.
4011         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4012         (__posix_fallocate64_l64): Likewise.
4013         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4014         [!__ASSUME_FALLOCATE]: Add comment.
4016 2015-05-05  Florian Weimer  <fweimer@redhat.com>
4018         * sysdeps/unix/sysv/linux/i386/Makefile
4019         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4020         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4021         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4022         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4023         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4024         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4025         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4027 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
4029         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4030         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4031         tgamma.
4032         * math/auto-libm-test-out: Regenerated.
4033         * sysdeps/i386/fpu/libm-test-ulps: Update.
4034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4036 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4038         * math/auto-libm-test-in: Add more tests of tgamma.
4039         * math/auto-libm-test-out: Regenerated.
4040         * sysdeps/i386/fpu/libm-test-ulps: Update.
4041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4043         * math/auto-libm-test-in: Add more tests of tanh.
4044         * math/auto-libm-test-out: Regenerated.
4045         * sysdeps/i386/fpu/libm-test-ulps: Update.
4046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4048         * math/auto-libm-test-in: Add more tests of tan.
4049         * math/auto-libm-test-out: Regenerated.
4050         * sysdeps/i386/fpu/libm-test-ulps: Update.
4051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4053         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4054         * math/auto-libm-test-out: Regenerated.
4055         * sysdeps/i386/fpu/libm-test-ulps: Update.
4056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4058         * math/auto-libm-test-in: Add another test of pow.
4059         * math/auto-libm-test-out: Regenerated.
4060         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4062         * math/auto-libm-test-in: Add more tests of lgamma.
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 more tests of log, log10, log2 and
4068         log1p.
4069         * math/auto-libm-test-out: Regenerated.
4070         * sysdeps/i386/fpu/libm-test-ulps: Update.
4071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4073 2015-05-01  Mark Wielaard  <mjw@redhat.com>
4075         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4076         Elf64_Chdr structs and ELFCOMPRESS constants.
4078 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
4080         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4081         expm1.
4082         * math/auto-libm-test-out: Regenerated.
4083         * sysdeps/i386/fpu/libm-test-ulps: Update.
4084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4086         * math/auto-libm-test-in: Add more tests of erf and erfc.
4087         * math/auto-libm-test-out: Regenerated.
4088         * sysdeps/i386/fpu/libm-test-ulps: Update.
4089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4091 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4093         * config.h.in (HAVE_AARCH64_BE): Add.
4095 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
4097         * math/auto-libm-test-in: Add more tests of csqrt.
4098         * math/auto-libm-test-out: Regenerated.
4099         * sysdeps/i386/fpu/libm-test-ulps: Update.
4100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4102         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4103         * math/auto-libm-test-out: Regenerated.
4104         * sysdeps/i386/fpu/libm-test-ulps: Update.
4105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4107         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4109 2015-04-29  Roland McGrath  <roland@hack.frob.com>
4111         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4112         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4114         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4115         (euidaccess, eaccess): Define as weak aliases.
4117         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4118         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
4119         but __suseconds_t is often 'long int' so some sources assume that
4120         type is being used (e.g. they use %ld to print tv_usec).
4122 2015-04-29  Florian Weimer  <fweimer@redhat.com>
4124         [BZ #18007]
4125         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4126         (CVE-2014-8121)
4127         * nss/tst-nss-getpwent.c: New file.
4128         * nss/Makefile (tests): Add new test.
4130 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
4132         [BZ #18346]
4133         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4134         exponents less than 48 as cases where high part of mantissa needs
4135         examining to determine whether argument is integral.
4136         * math/libm-test.inc (round_test_data): Add more tests.
4138 2015-04-28  Mark Wielaard  <mjw@redhat.com>
4140         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4142 2015-04-27  David S. Miller  <davem@davemloft.net>
4144         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4145         __tls_get_addr.
4146         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4148 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
4150         [BZ#18333]
4151         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4153 2015-04-27  Florian Weimer  <fweimer@redhat.com>
4155         [BZ#18333]
4156         * time/tzset.c (parse_tzname): Return error on memory allocation
4157         failure.
4158         * test-skeleton.c (struct temp_name_list): Change type of name
4159         member to non-const.
4160         (add_temp_file): Create a copy of the file name.
4161         (delete_temp_files): Deallocate memory.
4162         (create_temp_file): Add comment.
4164 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4166         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4167         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4169 2015-04-24  Roland McGrath  <roland@hack.frob.com>
4171         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4172         * sysdeps/arm/configure: Regenerated.
4174 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4176         [BZ #17715]
4177         * time/tzfile.c (__tzfile_read): Check for large values of
4178         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
4179         * time/tzset.c (__tzstring_len): New function, based on the old
4180         __tzstring function.
4181         (__tzstring): Call __tzstring_len.
4182         (parse_tzname): New helper function extracted from
4183         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
4184         the input string.
4185         (parse_offset): New helper function extracted from
4186         __tzset_parse_tz.  Replace switch with fallthrough with
4187         initialization before sscanf.
4188         (parse_rule): Likewise.
4189         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
4190         new-style function definition.
4191         * timezone/Makefile (tests): Add tst-tzset.
4192         (tst-tzset.out): Dependencies on time zone files.
4193         (tst-tzset-ENV): Set TZDIR.
4194         (testdata/XT%): Copy crafted time zone files.
4195         * timezone/README: Mention crafted time zone files.
4196         * timezone/testdata/XT1, timezone/testdata/XT2,
4197         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4198         files.
4199         * timezone/tst-tzset.c: New test.
4201 2015-04-24  Florian Weimer  <fweimer@redhat.com>
4203         * Makeconfig (+gccwarn): Remove -Winline.
4205 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4207         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4209 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4211         * NEWS: Mention sysconf() cache information support for s390.
4212         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4214 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
4216         * math/k_casinh.c (__kernel_casinh): Use __copysign.
4217         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4218         (__nearbyint): Likewise.
4219         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4220         (copysignl): Likewise.
4222 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
4224         [BZ #18287]
4225         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4226         based on padding.  (CVE-2015-1781)
4228 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4230         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4231         libc-vdso.h.
4232         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4233         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4234         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4235         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4236         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4237         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4238         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4239         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4240         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4241         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4242         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4243         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4244         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4245         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4246         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4247         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4248         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4249         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4250         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4251         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4252         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4253         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4254         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4256 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
4258         * stdlib/setenv.c (__add_to_environ):
4259         Dump core quickly if setenv (..., NULL, ...) is called.
4260         This time, do it the right way, and pacify GCC with a pragma.
4262 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4264         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4265         IMAP->l_prev cannot be null, and #if out the code for the contrary
4266         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4267         believe that NS (&_dl_ns[NSID]) could point outside the array.
4269         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4270         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4271         before using NSID as an index.
4273 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
4275         [BZ #17825]
4276         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4277         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4278         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4280 2015-04-17  Roland McGrath  <roland@hack.frob.com>
4282         Add preliminary port to Google Native Client on ARM.
4283         * abi-tags (.*-.*-nacl.*): New entry.
4284         * sysdeps/arm/nacl: New directory.
4285         * sysdeps/nacl: New directory.
4287 2015-04-16  David S. Miller  <davem@davemloft.net>
4289         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4290         lowlevellock-futex.h
4292 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
4294         * sysdeps/tile/configure.ac: New file.
4295         * sysdeps/tile/configure: Regenerated.
4297 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4299         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
4300         conditionals for weak_alias and libc_hidden_weak.
4301         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4302         libc_hidden_weak and weak_alias.
4303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4304         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4305         and weak_alias for static one.
4307 2015-04-15  David S. Miller  <davem@davemloft.net>
4309         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4311 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4313         [BZ #18206]
4314         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4315           Use signed comparision instead of substraction to avoid
4316           overflow bug.
4317         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4318           Take the sign of ret.
4319         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4320           Do not expect precise return values. Only the sign matters.
4321         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4322         * wcsmbs/test-wcsncmp.c: New File.
4323         * string/test-strncmp.c: Add wcsncmp support.
4325 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4327         [BZ #6792]
4328         * math/w_log1p.c: New file.
4329         * math/w_log1pf.c: Likewise.
4330         * math/w_log1pl.c: Likewise.
4331         * math/Makefile (libm-calls): Add w_log1p.
4332         * math/s_log1pl.c (log1pl): Remove weak_alias.
4333         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4334         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4335         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4336         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4337         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4338         [NO_LONG_DOUBLE] (log1pl): Likewise.
4339         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4340         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4341         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4342         (log1p): Remove long_double_symbol.
4343         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4344         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4345         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4346         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4347         remove weak_alias for corresponding log1p function.
4348         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4349         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4350         * sysdeps/ia64/fpu/w_log1p.c: New file.
4351         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4352         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4353         * math/libm-test.inc (log1p_test_data): Add errno expectations.
4355 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
4357         [BZ #18247]
4358         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4359         decimal exponent by 1.
4360         * stdlib/tst-strtod-round-data: Add more tests.
4361         * stdlib/tst-strtod-round.c (tests): Regenerated.
4363 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
4365         * math/auto-libm-test-in: Add more tests of clog and clog10.
4366         * math/auto-libm-test-out: Regenerated.
4367         * sysdeps/i386/fpu/libm-test-ulps: Update.
4368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4370 2015-04-09  Roland McGrath  <roland@hack.frob.com>
4372         * Makeconfig (module-cppflags): Exclude all .v.i files.
4373         (skip-module-cppflags): Variable removed.
4375         * configure.ac (libc_config_ok): Initialize before reading
4376         preconfigure scripts, not after.
4377         * configure: Regenerated.
4379         * test-skeleton.c (TIMEOUT): Move #define to top level.
4380         (main): Grok environment variable TEST_DIRECT.  If set, print
4381         test expectation details into that file and then behave as if
4382         given --direct.
4384 2015-04-09  Florian Weimer  <fweimer@redhat.com>
4386         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4387         warning on 32-bit.
4389 2015-04-08  David S. Miller  <davem@davemloft.net>
4391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4393 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4395         * math/auto-libm-test-in: Add more tests of atanh.
4396         * math/auto-libm-test-out: Regenerated.
4397         * sysdeps/i386/fpu/libm-test-ulps: Update.
4398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4400         * math/auto-libm-test-in: Add more tests of atan.
4401         * math/auto-libm-test-out: Regenerated.
4402         * sysdeps/i386/fpu/libm-test-ulps: Update.
4403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4405 2015-04-08  Florian Weimer  <fweimer@redhat.com>
4407         * elf/pldd.c (main): Rewrite to use struct
4408         scratch_buffer instead of extend_alloca.
4409         * elf/pldd-xx.c (find_maps): Likewise.
4410         * grp/initgroups.c: Include <scratch_buffer.h> instead of
4411         <alloca.h>.
4412         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4413         scratch_buffer instead of extend_alloca.
4414         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4415         grp/compat-initgroups.c.
4416         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4417         Rewrite to use struct scratch_buffer instead of extend_alloca.
4418         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4419         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4421 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
4423         * math/auto-libm-test-in: Add more tests of cbrt.
4424         * math/auto-libm-test-out: Regenerated.
4425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4427         * math/auto-libm-test-in: Add more tests of cabs.
4428         * math/auto-libm-test-out: Regenerated.
4429         * sysdeps/i386/fpu/libm-test-ulps: Update.
4430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4432         [BZ #18210]
4433         [BZ #18211]
4434         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4435         (__ieee754_atan2): Set FE_TONEAREST mode for internal
4436         computations.
4437         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4438         clog10.
4439         * math/auto-libm-test-out: Regenerated.
4440         * sysdeps/i386/fpu/libm-test-ulps: Update.
4441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4443         [BZ #18197]
4444         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4445         (atan): Set FE_TONEAREST mode for internal computations.
4446         * math/auto-libm-test-in: Add more tests of atan.
4447         * math/auto-libm-test-out: Regenerated.
4449 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
4451         [BZ #17930]
4452         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4454 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4456         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4458 2015-04-07  Florian Weimer  <fweimer@redhat.com>
4460         * include/scratch_buffer.h: New file.
4461         * malloc/scratch_buffer_grow.c: Likewise.
4462         * malloc/scratch_buffer_grow_preserve.c: Likewise.
4463         * malloc/scratch_buffer_set_array_size.c: Likewise.
4464         * malloc/tst-scratch_buffer.c: Likewise.
4465         * malloc/Makefile (routines): Add scratch_buffer_grow.
4466         (tests): Add test case.
4467         * malloc/Versions (GLIBC_PRIVATE): Export
4468         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4469         __libc_scratch_buffer_set_array_size.
4471 2015-04-06  Richard Henderson  <rth@redhat.com>
4473         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4474         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4476         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4477         unsigned int before printing.
4479 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4481         [BZ #17596]
4482         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4483         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4485 2015-04-02  Florian Weimer  <fweimer@redhat.com>
4487         * include/libc-internal.h (libc_max_align_t): Define.
4489 2015-04-02  Andreas Schwab  <schwab@suse.de>
4491         [BZ #16850]
4492         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4494 2015-04-02  Mel Gorman  <mgorman@suse.de>
4496         [BZ #17195]
4497         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4498         as well as the main arena.
4500 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4502         [BZ #18185]
4503         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4504         sharing L2 cache to 2 for Silvermont/Knights Landing.
4506 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4508         [BZ #17711]
4509         * config.make.in (have-protected-data): New.
4510         * configure.ac: Check linker support for protected data symbol.
4511         * configure: Regenerated.
4512         * elf/Makefile (modules-names): Add tst-protected1moda and
4513         tst-protected1modb if $(have-protected-data) is yes.
4514         (tests): Add tst-protected1a and tst-protected1b if
4515         $(have-protected-data) is yes.
4516         ($(objpfx)tst-protected1a): New.
4517         ($(objpfx)tst-protected1b): Likewise.
4518         (tst-protected1modb.so-no-z-defs): Likewise.
4519         * elf/tst-protected1a.c: New file.
4520         * elf/tst-protected1b.c: Likewise.
4521         * elf/tst-protected1mod.h: Likewise.
4522         * elf/tst-protected1moda.c: Likewise.
4523         * elf/tst-protected1modb.c: Likewise.
4525 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4527         [BZ #17711]
4528         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4529         indicates it is called from do_lookup_x on relocation against
4530         protected data, skip the data definion in the executable from
4531         copy reloc.
4532         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4533         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4534         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4535         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4536         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4537         otherwise to 0.
4538         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4539         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4540         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4541         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4542         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4543         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4545 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4547         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4548         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4550 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4552         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4553         THREAD_SETMEM_NC.
4554         * sysdeps/x86_64/nptl/tls.h: Ditto.
4556 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4558         * dlfcn/tststatic.c (main): Converted to ...
4559         (do_test): ... this.
4560         (TEST_FUNCTION): New macro.
4561         Include test-skeleton.c.
4563 2015-03-26  Alan Modra  <amodra@gmail.com>
4565         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4566         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4567         zero for undefined weak.
4568         (elf_machine_plt_conflict): Similarly.
4570 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4572         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4573         atanh.
4574         * math/auto-libm-test-out: Regenerated.
4575         * sysdeps/i386/fpu/libm-test-ulps: Update.
4576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4578         * math/auto-libm-test-in: Add another test of asin.
4579         * math/auto-libm-test-out: Regenerated.
4580         * sysdeps/i386/fpu/libm-test-ulps: Update.
4581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4583         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4584         Remove macro.
4585         (LLL_EBX_REG): Likewise.
4586         (LLL_ENTER_KERNEL): Likewise.
4588         * math/auto-libm-test-in: Add more tests of asin.
4589         * math/auto-libm-test-out: Regenerated.
4590         * sysdeps/i386/fpu/libm-test-ulps: Update.
4591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4593         [BZ #18138]
4594         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4595         libc_do_syscall_args): New structure.
4596         (INTERNAL_SYSCALL_MAIN_0): New macro.
4597         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4598         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4599         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4600         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4601         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4602         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4603         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4604         Replace conditional definitions by conditional definitions of ....
4605         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4606         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4607         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4608         (libpthread-sysdep_routines): Add libc-do-syscall.
4609         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4610         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4611         to __NR_futex not 240.
4613 2015-03-25  Alan Modra  <amodra@gmail.com>
4615         * NEWS: Advertise TLS optimization.
4616         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4617         (DT_PPC_NUM): Increment.
4618         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4619         (CHECK_STATIC_TLS): Use here.
4620         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4621         TLS descriptors.
4622         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4623         * sysdeps/powerpc/dl-tls.c: New file.
4624         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4625         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4626         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4627         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4632 2015-03-25  Alan Modra  <amodra@gmail.com>
4634         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4635         for overlapping .opd entries" to "support...".
4636         * sysdeps/powerpc/powerpc64/configure: Regenerate
4638 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4640         * math/auto-libm-test-in: Add more tests of acos.
4641         * math/auto-libm-test-out: Regenerated.
4642         * sysdeps/i386/fpu/libm-test-ulps: Update.
4643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4645         * math/auto-libm-test-in: Add more tests of expm1.
4646         * math/auto-libm-test-out: Regenerated.
4647         * sysdeps/i386/fpu/libm-test-ulps: Update.
4648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4650 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4652         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4653         * math/auto-libm-test-out: Regenerated.
4654         * sysdeps/i386/fpu/libm-test-ulps: Update.
4655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4657         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4660         * math/auto-libm-test-in: Add more tests of log2.
4661         * math/auto-libm-test-out: Regenerated.
4662         * sysdeps/i386/fpu/libm-test-ulps: Update.
4663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4665 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4667         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4668         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4669         _IO_IS_APPENDING bit in READ_WRITE instead.
4671 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4673         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4674         (__determine_cpumask_size): Replace extend_alloca with a
4675         variable-length array.  Do not treat res == 0 as an error.
4677 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4679         [BZ #18100]
4680         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4681         and integer overflow.
4682         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4683         (main): Add integer overflow tests.
4684         * manual/pattern.texi (Calling Wordexp): Document additional use
4685         for WRDE_SYNTAX.
4687 2015-03-23  Alan Modra  <amodra@gmail.com>
4689         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4690         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4691         and false branch of conditional.
4692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4693         Likewise.
4695 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4697         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4698         libc-modules.h
4699         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4700         unused declaration of _hurd_intr_rpc_msg_in_trap.
4701         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4702         defined instead of whether it is non-zero.
4703         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4704         input constraint instead of both input and output constraint.  Use ecx
4705         clobber instead of %ecx.
4706         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4707         mutex_unlock): Use a statement expression instead of an expression list.
4708         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4709         type to vm_size_t instead of vm_address_t.
4710         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4711         defined instead of whether it is non-zero.
4712         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4713         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4714         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4715         comparisons with mapaddr.
4716         * nscd/nscd-client.h: Include <time.h>.
4717         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4718         9th parameter to __vm_region instead of int.
4719         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4720         * scripts/check-local-headers.sh (exclude): Add device/,
4721         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4722         cthreads.h.
4724 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4726         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4727         to account for alignment padding.
4728         * sysdeps/arm/memmove.S: Likewise.
4730 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4732         * sysdeps/unix/sysv/linux/generic/README: New file.
4734 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4736         [BZ #18138]
4737         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4738         (futex_abstimed_wait)
4739         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4740         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4741         of lll_futex_timed_wait.
4743 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4745         [BZ #17542]
4746         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4748 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4750         [BZ #17090]
4751         [BZ #17620]
4752         [BZ #17621]
4753         [BZ #17628]
4754         * NEWS: Update.
4755         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4756         entries with Static TLS too.  Skip entries past the end of the
4757         allocated DTV, from Alan Modra.
4758         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4759         Static TLS DTV entry set up from...
4760         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4761         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4762         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4763         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4764         for Static TLS.
4765         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4766         that the slot we find is associated with the given map before
4767         using its generation count.
4768         * nptl_db/db_info.c: Include ldsodefs.h.
4769         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4770         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4771         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4772         (link_map::l_tls_offset): New struct field.
4773         (dtv_t::counter): Likewise.
4774         (rtld_global): New struct.
4775         (_rtld_global): New rtld variable.
4776         (dl_tls_dtv_slotinfo_list): New rtld global field.
4777         (dtv_slotinfo_list): New struct.
4778         (dtv_slotinfo): Likewise.
4779         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4780         (td_lookup): Rename to...
4781         (td_mod_lookup): ... this.  Use new mod parameter instead of
4782         LIBPTHREAD_SO.
4783         * nptl_db/td_thr_tlsbase.c: Include link.h.
4784         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4785         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4786         addresses even if the DTV is out of date or missing them.
4787         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4788         index zero-length arrays.
4789         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4790         (td_lookup): Make it a macro implemented in terms of...
4791         (td_mod_lookup): ... this declaration.
4792         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4793         (DB_MAIN_VARIABLE): Likewise.
4795 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4797         [BZ #18134]
4798         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4800 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4802         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4804 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4806         [BZ #18128]
4807         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4808         (atomic_add, atomic_increment_and_test)
4809         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4811 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4813         * stdlib/setenv.c (__add_to_environ):
4814         Dump core quickly if setenv (..., NULL, ...) is called.
4816 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4818         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4819         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4820         all the necessary asm magic in one place.
4821         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4822         using those.
4824 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4826         [BZ #14906]
4827         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4828         traced file mtime. Use consistent log message.
4829         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4830         (register_traced_file): Call install_watches. Always set mtime.
4831         (invalidate_cache): Iterate over all trace files. Call install_watches.
4832         (inotify_check_files): Don't inline. Handle watching parent
4833         directories and configuration file movement in and out.
4834         (handle_inotify_events): New function.
4835         (main_loop_poll): Call handle_inotify_events.
4836         (main_loop_epoll): Likewise.
4837         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4838         (struct traced_file): Use array of inotify fds. Add parent directory,
4839         and basename.
4840         (struct database_dyn): Remove unused file_mtime.
4841         (init_traced_file): New inline function.
4842         (define_traced_file): New macro.
4843         * nss/nss_db/db-init.c: Use define_traced_file.
4844         (_nss_db_init): Use init_traced_file.
4845         * nss/nss_files/files-init.c: Use define_traced_file.
4846         (_nss_files_init): Use init_traced_file.
4848 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4850         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4851         [_LIBC]: Do not include <stdlib.h>.
4852         [!_LIBC] (abort): Remove declaration.
4853         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4854         _FP_STATIC_ASSERT instead of conditionally calling abort.
4855         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4856         (_FP_EXTEND_CNAN): Likewise.
4857         (FP_TRUNC): Likewise.
4858         (__FP_CLZ): Likewise.
4859         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4861 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4863         * manual/string.texi (XPG basename): Fix prototype.
4865 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4867         [BZ #18080]
4868         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4869         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4870         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4871         (__setcontext): Likewise.
4872         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4873         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4874         Call rt_sigprocmask syscall one time to set new signal mask
4875         and retrieve the current signal mask instead of two calls.
4876         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4877         (__swapcontext): Likewise.
4878         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4879         * stdlib/tst-setcontext2.c: New file.
4881 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4883         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4885 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4887         [BZ #18093]
4888         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4889         the wrong size.
4891 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4893         [BZ #18043]
4894         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4896 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4898         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4899         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4900         Remove define.
4901         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4902         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4903         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4904         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4905         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4906         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4907         define.
4908         * nptl_db/td_symbol_list.c (td_lookup): Remove
4909         HAVE_ASM_GLOBAL_DOT_NAME code.
4910         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4911         HAVE_ASM_GLOBAL_DOT_NAME check.
4912         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4913         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4914         (DOT_LABEL): Remove define.
4915         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4916         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4917         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4918         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4919         (__TLS_GET_ADDR): Likewise.
4920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4921         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4923 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4925         [BZ #18111]
4926         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4927         (_FPU_SETCW): Initialize cw from fpsr before storing.
4928         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4929         (fesetexceptflag): Rewrite using fpu_control.h.
4930         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4932 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4934         [BZ #18110]
4935         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4936         asms.
4937         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4939 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4941         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4942         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4943         abort.
4944         (_FP_FMA): Likewise.
4945         (_FP_DIV): Likewise.
4947 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4949         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4950         with 0 in that case.
4951         * Makefile (summarize-tests): New canned sequence, factored out of
4952         commands for targets tests and xtests.  Display summary lines that
4953         don't start with PASS: or XFAIL: rather than ones that do start with
4954         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4955         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4956         do start with ERROR: or FAIL:.
4957         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4958         (except for [$(build-shared) = yes]).
4959         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4960         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4961         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4962         * nptl/Makefile: Revert 2015-03-04 changes.
4963         [$(CXX) empty] (tests-unsupported): New variable.
4964         * debug/Makefile: Likewise.
4966         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4967         gnulib file.  Replace __attribute with __attribute__ throughout.
4969 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4971         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4973 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4975         [BZ #18104]
4976         * math/auto-libm-test-in: Add another test of pow.
4977         * math/auto-libm-test-out: Regenerated.
4979 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4981         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4982         $(config-cflags-nofma).
4984 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4986         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4987         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4988         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4989         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4990         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4991         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4992         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4993         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4994         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4995         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4996         Add comment on closing #endif.
4998 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5000         * posix/wordexp.c (CHAR_IN_SET): New macro.
5001         (parse_param): Use it.
5003 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5005         * sysdeps/powerpc/fpu/libm-test-ulps: update.
5007 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5009         [BZ #18043]
5010         * posix/wordexp.c (parse_param): Fix buffer overflow.
5011         * posix/wordexp-test.c (test_case): Add test case.
5013 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5015         [BZ #18042]
5016         * posix/wordexp.c (parse_backtick): Fix off-by-one.
5017         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5019 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5021         [BZ #18043]
5022         * posix/wordexp-test.c (test_case): Add test for BZ #18043
5023         (do_bz18043): Delete.
5024         (at_page_end): New.
5025         (testit): Refactor to have words at the edge of unreadable page.
5027 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
5029         [BZ #16734]
5030         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5031         Cleanup read-only streams as well.
5032         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5034 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5036         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5037         <bits/libc-lockP.h>
5039 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
5041         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
5042         on [__KERNEL__].
5043         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5044         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5045         * soft-fp/op-common.h (_FP_DECL): Likewise.
5047 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
5049         * elf/ifuncdep2.c (global): Replace
5050         __attribute__((visibility("protected"))) with
5051         asm (".protected global").
5052         * elf/ifuncmod1.c (global): Likewise.
5053         * elf/ifuncmod5.c (global): Likewise.
5055 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
5057         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5058         <asm/sfp-machine.h> instead of <sfp-machine.h>.
5060 2015-03-06  Roland McGrath  <roland@hack.frob.com>
5062         * manual/install.texi (Configuring and compiling):
5063         Document test-wrapper-env-only.
5064         * INSTALL: Regenerated.
5066 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5068         [BZ #18043]
5069         * posix/wordexp.c (parse_param): Fix buffer overflow.
5070         * posix/wordexp-test.c (do_bz18043): Add test case.
5072 2015-03-06  Vincent Bernat  <vincent@bernat.im>
5074         * time/tst-strptime2.c (do_test): Ensure failing tests are
5075         reported correctly.
5076         * time/tst-strptime3.c (do_test): Likewise.
5078 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
5080         Fix aio_error thread-safety.
5081         * sysdeps/pthread/aio_error.c: New file
5082         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5083         synchronization.
5085 2015-03-06  Florian Weimer  <fweimer@redhat.com>
5087         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5088         (group_number, vfprintf): Use it.
5089         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5090         (JUMP, REF): Use it.
5091         (WORK_BUFFER_SIZE): New enum constant.
5092         (process_arg, vfprintf): Use it.
5094 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
5096         * manual/errno.texi (Error Messages): Complete example function
5097         by adding missing #define.
5098         (program_invocation_name): Add statement indicating GNU
5099         extension and reference which header file declares the variable.
5100         (program_invocation_short_name): Likewise.
5102 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
5104         * manual/errno.texi (Error Messages): Delete strerror ISO C89
5105         compatibility note.
5107 2015-03-05  Roland McGrath  <roland@hack.frob.com>
5109         * Makeconfig (test-wrapper-env-only): New variable.
5110         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5111         then use that with $(test-wrapper-env-only) rather than using
5112         $(test-wrapper-env) $(run-program-env) $($*-ENV).
5114 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
5116         [BZ #18082]
5117         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5118         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5119         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5120         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5121         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5122         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5123         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5124         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5125         Likewise.
5126         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5127         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5128         Likewise.
5129         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5130         Likewise.
5131         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5132         Likewise.
5133         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5134         Likewise.
5135         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5136         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5137         Likewise.
5138         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5139         Likewise.
5140         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5141         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5143 2015-03-04  Roland McGrath  <roland@hack.frob.com>
5145         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5146         (ETH_ALEN): New macro.
5147         (struct ether_addr): Use it for length of ether_addr_octet.
5149         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5150         (setdb): Don't call __nss_configure_lookup for "rpc".
5151         (do_test): Don't call test_rpc.
5152         (output_rpcent, test_rpc): Functions moved ...
5153         * sunrpc/test-rpcent.c: ... to this new file.
5154         * sunrpc/Makefile (tests): Add it.
5156         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5157         __xpg_sigpause.
5158         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5159         * nptl/tst-signal6.c: Likewise.
5160         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5161         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5163         * configure.ac (libc_cv_cxx_link_ok): New check.
5164         Reset CXX to empty if it fails to link.
5165         * configure: Regenerated.
5166         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5167         bug-atexit3-lib only if $(CXX) is nonempty.
5168         * nptl/Makefile (tests): Likewise for tst-cancel24.
5169         (tests, tests-static): Likewise for tst-cancel24-static.
5170         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5171         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5172         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5173         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5175 2015-03-04  Andreas Schwab  <schwab@suse.de>
5177         [BZ #17631]
5178         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5179         for non-GCC compilers.
5180         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5181         Likewise.
5183 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5185         [BZ #17776]
5186         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5187         integer before bitwise and assembly operations.
5188         (feclearexcept): Likewise.
5189         * math/test-fenvinline.c: New file.
5190         * math/Makefile: Add test-fenvinline test.
5192 2015-03-03  Alan Modra  <amodra@gmail.com>
5194         [BZ #16512]
5195         * scripts/localplt.awk: Strip off symbol version.
5196         * NEWS: Mention bug fix.
5198 2015-03-02  Roland McGrath  <roland@hack.frob.com>
5200         * sysdeps/pthread/timer_routines.c
5201         (timer_free_list, thread_free_list, thread_active_list): Make static.
5203 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
5205         [BZ #17779]
5206         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5207         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5208         Undefine.
5209         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5210         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5211         Likewise.
5212         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5213         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5214         Likewise.
5216 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
5218         [BZ #18036]
5219         * posix/fnmatch_loop.c (END): Detect invalid pattern.
5220         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5222 2015-03-02  Andreas Schwab  <schwab@suse.de>
5224         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5225         variable name.
5227 2015-03-02  Florian Weimer  <fweimer@redhat.com>
5229         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5230         Return error status.
5232 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
5234         [BZ #15969]
5235         * locale/findlocale.c (_nl_find_locale): Introduce const
5236         version of loc_name and drop unsafe type casts.
5238 2015-02-27  Roland McGrath  <roland@hack.frob.com>
5240         * dlfcn/tststatic2.c (main): Converted to ...
5241         (do_test): ... this.
5242         (TEST_FUNCTION): New macro.
5243         Include test-skeleton.c.
5245 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
5247         [BZ #17711]
5248         * elf/Makefile (tests): Add vismain only if PIE is enabled.
5249         (tests-pie): Add vismain.
5250         (CFLAGS-vismain.c): New.
5251         * elf/vismain.c: Add comments for PIE requirement.
5253 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5255         [BZ #18046]
5256         [BZ #18047]
5257         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5258         0x1p-56L as threshold for just returning the argument.
5259         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5260         0x1p-32L as threshold for just returning the argument.
5261         * math/auto-libm-test-in: Add more tests of atanh.
5262         * math/auto-libm-test-out: Regenerated.
5263         * sysdeps/i386/fpu/libm-test-ulps: Update.
5264         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5266 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5268         * string/bcopy.c (bcopy): Call memmove for performance.
5270 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
5272         * string/bzero.c (__bzero): Call memset for performance.
5274 2015-02-27  John David Anglin  <dave.anglin@bell.net>
5276         [BZ #18068]
5277         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5278         to 00100000.
5280 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
5282         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5284 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5286         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5287         (__kernel_standard): Use CSTR macro when setting exc.name.
5288         * sysdeps/ieee754/Makefile [$(subdir) = math]
5289         (CFLAGS-k_standard.c): Remove variable.
5291         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5292         setting p and q from "else if" to "else".
5293         (qzero): Likewise.
5294         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5295         (qone): Likewise.
5296         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5297         (qzerof): Likewise.
5298         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5299         (qonef): Likewise.
5300         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5301         (qzero): Likewise.
5302         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5303         (qone): Likewise.
5305         [BZ #18038]
5306         [BZ #18039]
5307         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5308         return pi/2 for arguments below 0x1p-113L.
5309         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5310         return pi/2 for arguments below 0x1p-106L.
5311         * math/auto-libm-test-in: Add more tests of acos.
5312         * math/auto-libm-test-out: Regenerated.
5314         [BZ #16351]
5315         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5316         (MO): New macro.
5317         (__ieee754_asin): Force underflow exception for results with small
5318         absolute value.
5319         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5320         (MO): New macro.
5321         (__ieee754_asinf): Force underflow exception for results with
5322         small absolute value.
5323         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5324         (__ieee754_asin): Force underflow exception for results with small
5325         absolute value.
5326         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5327         (__ieee754_asinf): Force underflow exception for results with
5328         small absolute value.
5329         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5330         (__ieee754_asinl): Force underflow exception for results with
5331         small absolute value.
5332         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5333         (__ieee754_asinl): Force underflow exception for results with
5334         small absolute value.
5335         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5336         (__ieee754_asinl): Force underflow exception for results with
5337         small absolute value.
5338         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5339         Include <math.h>.
5340         * math/auto-libm-test-in: Do not mark underflow exceptions as
5341         possibly missing for bug 16351.
5342         * math/auto-libm-test-out: Regenerated.
5344         [BZ #18030]
5345         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5346         of power of 2 down when low part has opposite sign.
5347         * math/libm-test.inc (logb_test_data): Add more tests.
5349 2015-02-26  Andreas Schwab  <schwab@suse.de>
5351         [BZ #18032]
5352         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5353         over collating symbol inside a bracket expression.  Minor cleanup.
5354         * posix/tst-fnmatch3.c (do_test): Add test case.
5356 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
5358         [BZ #18029]
5359         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5360         Adjust exponent of power of 2 down when low part has opposite
5361         sign.
5362         * math/libm-test.inc (ilogb_test_data): Add more tests.
5364 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
5366         [BZ #15969]
5367         * locale/findlocale.c (_nl_find_locale): Fix constness error in
5368         the previous change.
5370         [BZ #15969]
5371         * locale/findlocale.c (_nl_find_locale): Retry archive search
5372         after alias expansion.
5374 2015-02-25  Roland McGrath  <roland@hack.frob.com>
5376         * iconv/tst-iconv3.c (main): Converted to ...
5377         (do_test): ... this.
5378         (TEST_FUNCTION): New macro.
5379         Include test-skeleton.c.
5381         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5382         (convert): Make function static.
5383         (test_unalign): Likewise.  Add const to argument pointee types.
5384         (main): Replace with static function do_test.
5385         Print "Succeeded." only if RET is zero.
5386         (TEST_FUNCTION): New macro.
5387         Include test-skeleton.c.
5389         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5390         returns a null pointer.
5392 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5394         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5395         to __memcpy_ppc only for static builds.
5397 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
5399         [BZ #18020]
5400         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5401         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5402         * math/auto-libm-test-in: Add more tests of asinh.
5403         * math/auto-libm-test-out: Regenerated.
5404         * sysdeps/i386/fpu/libm-test-ulps: Update.
5405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5407 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
5409         [BZ #15850]
5410         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5411         and ip6_mtuinfo definitions here.
5412         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5413         in this define too.  Update comment.
5415 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
5417         * elf/sprof.c (load_shobj): Tweak error message to match others.
5419 2015-02-24  Kevin Easton  <kevin@guarana.org>
5421         [BZ #16145] (partial fix)
5422         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5423         to reduce lock contention.
5425 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
5427         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5428         (struct timex): Update time comment.
5429         (ADJ_SETOFFSET): Define.
5431 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5433         [BZ #18019]
5434         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5435         2**56 not 2**28 as threshold for log (2x) formula.
5436         * math/auto-libm-test-in: Add more tests of acosh.
5437         * math/auto-libm-test-out: Regenerated.
5438         * sysdeps/i386/fpu/libm-test-ulps: Update.
5439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5441 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5443         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5444         parenthesis around the buf assignment.
5445         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5447 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
5449         [BZ #16783]
5450         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5451         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5452         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5453         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5454         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5455         * math/libm-test.inc (scalb_test_data): Add more tests.
5457 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5459         [BZ #17916]
5460         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5461         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5463 2015-02-24  Eric Rannaud  <e@nanocritical.com>
5465         [BZ #17523]
5466         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5467         * io/bits/fcntl2.h (open): Use it.
5468         (openat): Likewise.
5469         * io/open.c (__libc_open): Likewise.
5470         * io/open64.c (__libc_open64): Likewise.
5471         * io/open64_2.c (__open64_2): Likewise.
5472         * io/open_2.c (__open_2): Likewise.
5473         * io/openat.c (__openat): Likewise.
5474         * io/openat64.c (__openat64): Likewise.
5475         * io/openat64_2.c (__openat64_2): Likewise.
5476         * io/openat_2.c (__openat_2): Likewise.
5477         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5478         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5479         * sysdeps/posix/open64.c (__libc_open64): Likewise.
5480         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5481         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5482         (__open_nocancel): Likewise.
5483         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5484         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5485         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5487 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5489         [BZ #14841]
5490         * resolv/gethnamaddr.c (getanswer): Skip logging if
5491         RES_USE_DNSSEC is set.
5492         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5494 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5496         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5498 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5500         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5501         201304L, for Unicode 7.
5503 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5505         [BZ #17836]
5506         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5507         shared library.  Add gmon-start.os otherwise.
5508         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5509         $(objpfx)gmon-start.os if builing shared library.
5510         ($(objpfx)g$(static-start-installed-name)): Likewise.
5512 2015-02-23  Andreas Schwab  <schwab@suse.de>
5514         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5516 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5518         [BZ #17269]
5519         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5520         (enlarge_userbuf): Likewise.
5522 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5524         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5525         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5526         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5527         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5529 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5531         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5532         expression inside statement expression.
5534 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5536         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5537         <sysdeps/nptl/lowlevellock.h> and remove macros and
5538         functions that are now defined there.
5539         (SYS_futex): Remove.
5540         (lll_compare_and_swap): Remove.
5541         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5543 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5545         [BZ #17999]
5546         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5547         instead of scandirat.
5548         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5549         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5550         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5551         __scandirat.
5552         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5553         (__scandirat): Declare.  Use libc_hidden_proto.
5554         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5555         Remove variable.
5556         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5558 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5560         [BZ #15319]
5561         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5562         (MO): New macro.
5563         (__ieee754_atan2): For results with small absolute value, force
5564         underflow exception and remove excess range and precision from
5565         return value.
5566         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5567         (MO): New macro.
5568         (__ieee754_atan2f): For results with small absolute value, force
5569         underflow exception and remove excess range and precision from
5570         return value.
5571         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5572         (MO): New macro.
5573         (__atan): For results with small absolute value, force underflow
5574         exception and remove excess range and precision from return value.
5575         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5576         (MO): New macro.
5577         (__atanf): For results with small absolute value, force underflow
5578         exception and remove excess range and precision from return value.
5579         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5580         <math.h>.
5581         (__ieee754_atan2): Force underflow exception for results with
5582         small absolute value.
5583         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5584         <math_private.h>.
5585         (atan): Force underflow exception for results with small absolute
5586         value.
5587         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5588         (__atanf): Force underflow exception for results with small
5589         absolute value.
5590         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5591         <math.h>.
5592         (__atanl): Force underflow exception for results with small
5593         absolute value.
5594         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5595         (__atanl): Force underflow exception for results with small
5596         absolute value.
5597         * sysdeps/x86/fpu/bits/mathinline.h
5598         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5599         (__ieee754_atan2): Only define inline for long double.
5600         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5601         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5602         * math/auto-libm-test-in: Do not mark underflow exceptions as
5603         possibly missing for bug 15319.  Add more tests of atan2.
5604         * math/auto-libm-test-out: Regenerated.
5605         * math/libm-test.inc (casin_test_data): Do not mark underflow
5606         exceptions as possibly missing for bug 15319.
5607         (casinh_test_data): Likewise.
5608         * sysdeps/i386/fpu/libm-test-ulps: Update.
5610 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5612         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5613         * sysdeps/mips/bits/endian.h: Fix comments.
5615 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5617         [BZ #17996]
5618         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5619         (hdestroy_r): Likewise.
5620         (hsearch_r): Likewise.
5621         (__hcreate_r): Declare and use libc_hidden_proto.
5622         (__hdestroy_r): Likewise.
5623         (__hsearch_r): Likewise.
5624         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5625         (hcreate): Call __hcreate_r instead of hcreate_r.
5626         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5627         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5628         as weak alias of __hcreate_r.
5629         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5630         __hdestroy_r.
5631         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5632         __hsearch_r.
5633         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5634         Remove variable.
5635         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5636         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5637         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5638         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5640 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5642         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5643         arena_lock into a single arena_get.
5645 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5647         * dl-reloc.c: Inlucde libc-internal.h.
5648         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5649         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5650         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5651         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5652         (grow_heap): Likewise.
5653         * malloc/malloc.c: Include libc-internal.h.
5654         (do_check_malloc): Call powerof2.
5655         (sysmalloc): Use pagesize. Call ALIGN_UP.
5656         (systrim): Use pagesize.
5657         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5658         (__libc_valloc): Use pagesize.
5659         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5661 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5663         [BZ #17991]
5664         * include/sys/resource.h (__getrlimit64): Declare.  Use
5665         libc_hidden_proto.
5666         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5667         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5668         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5669         getrlimit64.
5670         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5671         __getrlimit64.
5672         [!getrlimit64] (getrlimit64): Define as weak alias of
5673         __getrlimit64.  Use libc_hidden_weak.
5674         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5675         using __getrlimit64 not __new_getrlimit64.
5676         (__GI_getrlimit64): Likewise.
5677         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5678         Likewise.
5679         (__GI_getrlimit64): Likewise.
5680         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5682         (getrlimit): Add __getrlimit64 alias.
5683         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5684         Likewise.
5685         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5686         Remove variable.
5687         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5688         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5690 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5692         * libio/fileops.c: Add missing sys/mman.h
5693         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5695 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5697         * manual/math.texi (Errors in Math Functions): Clarify goals
5698         regarding inexact and underflow exceptions.
5700 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5702         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5703         * sysdeps/mips/memset.S: Ditto.
5705 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5707         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5709 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5711         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5712         (__v1longjmp): Remove versioned symbol.
5713         (__v1siglongjmp): Remove alias and versioned symbol.
5714         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5715         (__v2siglongjmp): Likewise.
5717 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5719         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5721 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5723         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5725 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5727         [BZ #17987]
5728         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5729         zero result does not depend on the sign resulting from
5730         subtraction.
5731         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5732         Likewise.
5733         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5734         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5735         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5736         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5737         * math/libm-test.inc (remquo_test_data): Add more tests.
5739 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5741         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5742         Problem reported by J William Piggott.
5744 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5746         [BZ #17978]
5747         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5748         products 4 * y and 2 * y where those would overflow.
5749         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5750         Likewise.
5751         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5752         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5753         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5754         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5755         * math/libm-test.inc (remquo_test_data): Add more tests.
5757         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5759         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5760         [defined _COMPILING_NEWLIB].
5761         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5762         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5764         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5765         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5767 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5769         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5770         acquired.
5772 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5774         [BZ #17792]
5775         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5776         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5777         HOST_STACK_END_ADDR): Likewise.
5779 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5781         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5782         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5783         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5785 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5787         * sysdeps/generic/c++-types.data: New file.
5788         * sysdeps/generic/ld.abilist: New file.
5789         * sysdeps/generic/libBrokenLocale.abilist: New file.
5790         * sysdeps/generic/libanl.abilist: New file.
5791         * sysdeps/generic/libc.abilist: New file.
5792         * sysdeps/generic/libcrypt.abilist: New file.
5793         * sysdeps/generic/libdl.abilist: New file.
5794         * sysdeps/generic/libm.abilist: New file.
5795         * sysdeps/generic/libpthread.abilist: New file.
5796         * sysdeps/generic/libresolv.abilist: New file.
5797         * sysdeps/generic/librt.abilist: New file.
5799 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5801         [BZ #17569]
5802         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5803         Compute absolute value of x as modified by fmod, not original
5804         value of x.
5805         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5806         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5807         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5808         RUN_TEST_ffI_f1_mod8.
5809         (remquo_test_data): Add more tests.
5811 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5813         * sysdeps/init_array/pt-crti.S: New file.
5815 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5817         [BZ #17967]
5818         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5819         __builtin_fmaf instead of relying on contraction of a * b + c.
5821 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5823         [BZ #17969]
5824         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5825         node.
5827 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5829         [BZ #17964]
5830         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5831         __builtin_fma instead of relying on contraction of a * b + c.
5833 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5835         * Makeconfig (ASFLAGS): Add -Werror=undef.
5836         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5837         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5838         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5840         * Makeconfig (after-link): New variable.
5841         (+link-pie, +link-pie-tests): Use it.
5842         (+link-static, +link-static-tests): Likewise.
5843         (+link, +link-tests): Likewise.
5844         * Makerules (build-module, build-module-asneeded): Likewise.
5845         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5846         Likewise.
5847         * elf/Makefile ($(objpfx)ld.so): Likewise.
5849 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5851         [BZ #17965]
5852         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5853         both struct timeval and struct timespec.
5855 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5857         [BZ #16560]
5858         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5859         and redefine.
5860         (__ieee754_exp2l): Do not multiply small fractional parts by
5861         M_LN2l.
5862         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5863         small argument.
5864         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5865         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5866         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5867         * math/auto-libm-test-in: Add more tests of exp2.
5868         * math/auto-libm-test-out: Regenerated.
5870 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5872         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5873         unaligned path.
5875 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5877         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5878         little endian.
5880 2015-02-12  Andreas Schwab  <schwab@suse.de>
5882         [BZ #15790]
5883         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5884         Filter out elision flags from value returned in kind.
5885         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5886         * nptl/tst-pthread-mutexattr.c: New file.
5888 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5890         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5891         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5892         into gnu-gnu, and update comment to refer to abi-tags.
5894 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5896         [BZ #15467]
5897         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5898         (__sincos): Set errno to EDOM for infinite argument.
5899         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5900         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5901         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5902         (__sincosl): Set errno to EDOM for infinite argument.
5903         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5904         (__sincosl): Set errno to EDOM for infinite argument.
5905         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5906         (__sincosl): Set errno to EDOM for infinite argument.
5907         * math/libm-test.inc (sincos_test_data): Test errno setting.
5909 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5911         * string/strxfrm_l.c: Remove #define STRCMP.
5912         * string/strcoll_l.c: Remove #define STRLEN.
5913         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5914         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5916 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5918         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5919         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5920         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5921         * sysdeps/mips/mips64/Makefile: ... here.
5922         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5923         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5924         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5925         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5926         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5927         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5928         * sysdeps/mips/mips64/n64/Implies: Likewise.
5930 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5932         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5933         <sys/time.h>, <string.h>, and <errno.h>.
5934         (dest_offset, dest_address, value, zero): Remove unused variables.
5935         (ldouble): Remove typedef.
5936         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5937         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5938         1).  Fix code style.
5939         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5940         (check): Function removed.
5941         (CHECK): New macro.
5942         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5943         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5944         Don't call set_sigaction_FP and remove_sigaction_FP here.
5945         (ldouble_test): Just use 'long double' as macro argument, no need for
5946         the 'ldouble' typedef.
5947         (do_test): Set up SIGFPE handler at start, using plain signal rather
5948         than sigaction.  Fix code style.
5950 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5952         [BZ #17949]
5953         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5954         jump label.
5956 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5958         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5959         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5961         * sysdeps/powerpc/configure.ac: Remove file.
5962         * sysdeps/powerpc/configure: Likewise.
5964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5965         [sysdep_routines]: Remove wordcopy-power6 object.
5966         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5967         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5968         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5969         (__memmove_ppc32): Likewise.
5970         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5971         file.
5972         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5973         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5974         Remove preprocessor.
5976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5977         [sysdep_routines]: Remove wide chars objects.
5978         [wcsmbs]: New rule for wide char objects.
5980         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5981         Remove wordcopy-power6 obejct.
5982         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5983         Use local call for wordcopy and memcpy symbols.
5984         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5985         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5986         implementation for loader.
5987         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5989         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5990         Remove wordcopy-power7 object.
5991         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5992         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5993         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5994         (_wordcopy_fwd_dest_aligned): Likewise.
5995         (_wordcopy_bwd_aligned): Likewise.
5996         (_wordcopy_bwd_dest_aligned): Likewise.
5998         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5999         Rewrite to call __memmove_ppc instead of include default
6000         implementation.
6002         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6003         Remove wide chars objects.
6004         [wcsmbs]: New rule for wide char objects.
6006 2015-02-09  Andreas Schwab  <schwab@suse.de>
6008         [BZ #17912]
6009         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6010         in terms of __O_DIRECTORY.
6012 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6014         * time/getdate.c: Include <stdbool.h>.
6015         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6016         call PTR_MANGLE.
6017         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6018         PTR_DEMANGLE.
6020 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
6022         Add ersatz _Static_assert on older C hosts
6023         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6024         pre-C11 C platform that is not known to support _Static_assert.
6026 2015-02-07  Richard Braun  <rbraun@sceen.net>
6028         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6029         sigstate.
6030         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6032 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6034         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6035         priority against unexistent AIO_PRIO_DELTA_MAX.
6036         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6037         instead of int.
6038         * misc/fchflags.c (fchflags): Likewise.
6039         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6040         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6041         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6042         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6043         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6044         Declare macros.
6045         [__USE_MISC] (chflags, fchflags): Declare functions.
6046         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6047         EINVAL when nfds is greater than FD_SETSIZE.
6048         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6049         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6050         45.
6051         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6052         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6053         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6054         MACH_RCV_TIMED_OUT.
6055         * hurd/hurd/signal.h (_hurd_self_sigstate,
6056         _hurd_critical_section_lock, _hurd_critical_section_unlock):
6057         Explicit casts from void *.
6058         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6059         * abi-tags: Rename gnu-gnu os into gnu.
6061         [BZ #4719]
6062         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6063         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6064         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6065         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6066         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6067         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6069         [BZ #17944]
6070         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6071         duplicates ADDR->sun_path with sockaddr LEN limitation.
6072         * sysdeps/mach/hurd/connect.c: Include <string.h>
6073         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6074         * sysdeps/mach/hurd/sendmsg.c: Likewise.
6075         * sysdeps/mach/hurd/sendto.c: Likewise.
6076         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6077         implementing it by hand.
6079 2015-02-06  Roland McGrath  <roland@hack.frob.com>
6081         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6082         Use sfi_breg on ldr.
6083         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6084         Likewise.
6086         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6087         it's defined.
6088         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6089         Test SIGSETXID only if it's defined.
6091         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6093         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6094         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
6096         * nptl/tst-align2.c: Moved ...
6097         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6098         * nptl/Makefile (tests): Remove tst-align2.
6099         * sysdeps/unix/sysv/linux/Makefile
6100         [$(subdir) = nptl] (tests): Add tst-align-clone.
6101         * nptl/tst-getpid1.c: Moved ...
6102         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6103         * nptl/tst-getpid2.c: Moved ...
6104         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6105         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6106         * sysdeps/unix/sysv/linux/Makefile
6107         [$(subdir) = nptl] (tests): ... here.
6108         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6109         * sysdeps/unix/sysv/linux/Makefile
6110         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6112         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6113         Drop trailing \n from perror argument.  Use return rather than exit.
6115         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6116         on [SA_SIGINFO].
6117         * nptl/tst-cancel21.c (do_test): Likewise.
6118         * debug/tst-backtrace6.c: Include <signal.h> first thing.
6119         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6120         [!SA_SIGINFO]: Make it a stub test.
6122         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6123         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6125         * posix/tst-getlogin.c: Move to ...
6126         * login/tst-getlogin.c: ... here.
6127         * posix/Makefile (tests): Move tst-getlogin to ...
6128         * login/Makefile (tests): ... here.
6130         * libio/tst-atime.c (do_test): Move local variables SV and E
6131         inside [ST_NOATIME] conditional.
6133         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6135         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6137         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6138         (wait_code): New function replaces macro.
6139         Call nanosleep rather than syscall.
6141         * nptl/pt-system.c: Rewritten.  Put everything under
6142         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6143         Use IFUNC to redirect when possible.
6145         * nptl/pt-longjmp.c: Rewritten.  Put everything under
6146         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6147         Use IFUNC to redirect when possible.
6149         * nptl/pt-fork.c: Rewritten.  Put everything under
6150         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6151         Use IFUNC to redirect when possible.
6152         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6154         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6155         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6156         unconditionally nowadays.  This included the only reference to
6157         __vdso_clock_gettime that appears outside libc proper.
6158         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6159         Remove version set (containing only __vdso_clock_gettime).
6160         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6161         Add attribute_hidden.
6162         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6163         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6164         libc_hidden_data_def.
6165         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6166         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6168         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6169         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6170         setrpcent, and getrpcport to ...
6171         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6172         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6173         getrpcbynumber_r, and getrpcent_r to ...
6174         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6175         * inet/getrpcbyname.c: Moved ...
6176         * sunrpc/getrpcbyname.c: ... here.
6177         * inet/getrpcbyname_r.c: Moved ...
6178         * sunrpc/getrpcbyname_r.c: ... here.
6179         * inet/getrpcbynumber.c: Moved ...
6180         * sunrpc/getrpcbynumber.c: ... here.
6181         * inet/getrpcbynumber_r.c: Moved ...
6182         * sunrpc/getrpcbynumber_r.c: ... here.
6183         * inet/getrpcent.c: Moved ...
6184         * sunrpc/getrpcent.c: ... here.
6185         * inet/getrpcent_r.c: Moved ...
6186         * sunrpc/getrpcent_r.c: ... here.
6187         * inet/Makefile (routines): Move those to ...
6188         * sunrpc/Makefile (routines): ... here.
6189         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6190         the $(subdirs) list.
6191         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
6192         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6193         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6194         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6196         * elf/Makefile (routines): Include $(all-dl-routines), not just
6197         $(dl-routines).
6198         (rtld-routines): Likewise.  Use = rather than :=.
6199         * sysdeps/aarch64/Makefile [$(subdir) = elf]
6200         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6201         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6202         * sysdeps/arm/Makefile: Likewise.
6203         * sysdeps/i386/Makefile: Likewise.
6204         * sysdeps/x86_64/Makefile: Likewise.
6205         * sysdeps/hppa/Makefile [$(subdir) = elf]
6206         (sysdep_routines, sysdep-rtld-routines): Don't add
6207         $(sysdep-dl-routines) to these.
6208         * sysdeps/ia64/Makefile: Likewise.
6209         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6210         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6211         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6212         Don't add dl-static to these; sysdep-dl-routines alone is enough.
6213         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6214         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6215         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6216         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6217         * sysdeps/powerpc/Makefile [$(subdir) = elf]
6218         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6219         these; sysdep-dl-routines alone is enough.
6221 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
6223         [BZ #17932]
6224         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6225         where multiplication results in zero and third argument is finite
6226         and nonzero.
6227         * math/auto-libm-test-in: Add more tests of fma.
6228         * math/auto-libm-test-out: Regenerated.
6230         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6231         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6232         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6233         (_FP_CMP_EQ): Likewise.
6234         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6236         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6237         extra argument CHECK_NAN.  Redefine as wrapper around
6238         _FP_EXTEND_CNAN.
6240 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
6242         * version.h (RELEASE): Set to "stable".
6243         (VERSION): Set to "2.21"
6244         * include/features.h (__GLIBC_MINOR__): Set to 21.
6246         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6248 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6249             Paul Eggert  <eggert@cs.ucla.edu>
6251         [BZ #16618]
6252         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6253         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6254         size in bytes. Store needed elements in wpmax. Use needed size
6255         in bytes for extend_alloca.
6257 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
6259         * manual/install.texi: Latest tested versions are GCC 4.9.2,
6260         binutls 2.25, and texinfo 5.2.
6261         * INSTALL: Regenerate.
6262         * sysdeps/nios2/configure: Regenerate.
6263         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6264         * manual/contrib.texi: Update.
6265         * po/be.po: Update.
6266         * po/bg.po: Update.
6267         * po/ca.po: Update.
6268         * po/cs.po: Update.
6269         * po/da.po: Update.
6270         * po/de.po: Update.
6271         * po/el.po: Update.
6272         * po/eo.po: Update.
6273         * po/es.po: Update.
6274         * po/fi.po: Update.
6275         * po/fr.po: Update.
6276         * po/gl.po: Update.
6277         * po/hr.po: Update.
6278         * po/hu.po: Update.
6279         * po/ia.po: Update.
6280         * po/id.po: Update.
6281         * po/it.po: Update.
6282         * po/ja.po: Update.
6283         * po/ko.po: Update.
6284         * po/lt.po: Update.
6285         * po/nb.po: Update.
6286         * po/nl.po: Update.
6287         * po/pl.po: Update.
6288         * po/pt_BR.po: Update.
6289         * po/ru.po: Update.
6290         * po/rw.po: Update.
6291         * po/sk.po: Update.
6292         * po/sl.po: Update.
6293         * po/sv.po: Update.
6294         * po/tr.po: Update.
6295         * po/uk.po: Update.
6296         * po/vi.po: Update.
6297         * po/zh_CN.po: Update.
6298         * po/zh_TW.po: Update.
6300         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6301         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6302         * sysdeps/hppa/dl-irel.h: Remove #warning.
6303         * sysdeps/hppa/entry.h: Provide prototype for
6304         __canonicalize_funcptr_for_compare and cast argument.
6305         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6306         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6307         * sysdeps/hppa/sotruss-lib.c: New file.
6308         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6309         (atomic_compare_and_exchange_val_acq): Use __typeof__.
6310         (atomic_compare_and_exchange_bool_acq): Likewise.
6311         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6312         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6314         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6315         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6316         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6318 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
6320         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6321         called function in non-PIC case.
6323 2015-01-31  David S. Miller  <davem@davemloft.net>
6325         * sysdeps/sparc/sparc32/bits/atomic.h
6326         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6327         unlock not after it.
6328         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6329         volatile register usage warnings from the compiler.
6331         * sysdeps/sparc/nptl/sem_init.c: Delete.
6332         * sysdeps/sparc/nptl/sem_post.c: Delete.
6333         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6334         * sysdeps/sparc/nptl/sem_wait.c: Delete.
6335         * sysdeps/sparc/sparc32/sem_init.c: New file.
6336         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6337         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6338         padding explicitly initialized.
6339         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6340         padding for in-semaphore spinlock.
6341         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6342         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6343         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6344         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6345         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6346         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6347         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6348         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6349         version.
6350         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6351         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6353 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
6355         [BZ #17801]
6356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6357         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6358         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6359         New.
6360         (index_AVX_Fast_Unaligned_Load): Likewise.
6361         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6362         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6363         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6364         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6365         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6366         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6367         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6368         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6369         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6371 2015-01-29  Andreas Schwab  <schwab@suse.de>
6373         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6375 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
6377         [BZ #17892]
6378         * nscd/nscd_stat.c (send_stats): Initialize DATA.
6380 2015-01-28  Martin Sebor  <msebor@redhat.com>
6382         * math/README.libm-test: Clarify. Add "How to read the test output."
6384 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
6386         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6387         Define to 0.
6389 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
6391         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6392         (__HAVE_64B_ATOMICS): Define to 0.
6394 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6396         [BZ #17885]
6397         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6398         value to set as new flag.
6400         [BZ #16576]
6401         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6402         and use _ARCH_PPCSQ instead.
6403         (__ieee754_sqrt): Likewise.
6404         (__ieee754_sqrtf): Likewise.
6405         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6406         _ARCH_PPCSQ is defined.
6407         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6408         fsqrt instruction.
6409         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6410         _ARCH_PPCSQ is defined.
6411         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6412         fsqrts instruction.
6413         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6415 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6417         * iconv/loop.c: Suppress array out of bound warning caused by GCC
6418         bug (GCC BZ #64739).
6420 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
6422         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6423         Mark _retval as used.
6424         (lll_futex_wake_unlock): Likewise.
6425         (lll_futex_timed_wait_requeue_pi): Likewise.
6427         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6428         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6429         register variables.
6431         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6432         libm_hidden_def.
6434         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6435         (__bswap_64): Mark as __always_inline.
6437 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
6439         [BZ #15378]
6440         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6441         when none of the search directories exist.
6443 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6445         [BZ #17869]
6446         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6447         power8 in .machine directive.
6449         [BZ #17868]
6450         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6451         set dependency from opd value.
6453 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6455         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6456         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6457         architecture.
6459 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
6461         [BZ #17870]
6462         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6463         with uint64_t.
6464         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6465         (uint64_t) 1.
6466         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6467         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6468         Replace 1UL with (uint64_t) 1.
6469         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6470         int with uint64_t.
6472 2015-01-23  Roland McGrath  <roland@hack.frob.com>
6474         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6475         (if_freenameindex): Likewise.
6477         * resource/getrlimit64.c: Add missing libc_hidden_def.
6479 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
6481         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6482         __label__.
6483         (_FP_FMA): Likewise.
6484         (_FP_TO_INT_ROUND): Likewise.
6485         (_FP_FROM_INT): Likewise.
6487 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6489         [BZ #16418]
6490         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6491         Make code racy and cancel safe.
6493 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6495         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6496         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6497         attribution.
6499         * pwd/tst-getpw.c: Rewrite.
6501         [BZ #17702]
6502         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6503         (modules-names): Add moddummy1 and moddummy2.
6504         ($(objpfx)tst-rec-dlopen): Define.
6505         * dlfcn/moddummy1.c: New file.
6506         * dlfcn/moddummy2.c: New file.
6507         * dlfcn/tst-rec-dlopen.c: New file.
6508         * elf/dl-cache.c (_dl_load_cache_lookup):
6509         Return char*. Copy result with alloca/strcpy/strdup.
6510         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6511         returns char*. Free cached. If not saving realname
6512         free cached.
6513         * elf/dl-open.c (dl_open_worker): Do not assert that
6514         _r_debug->r_state is RT_CONSISTENT.
6515         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6516         returns char*.
6518 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6519             Carlos O'Donell  <carlos@redhat.com>
6521         [BZ #12674]
6522         * nptl/sem_waitcommon.c: New file.
6523         * nptl/sem_wait.c: Include sem_waitcommon.c.
6524         (__sem_wait_cleanup, do_futex_wait): Remove.
6525         (__new_sem_wait): Adapt.
6526         (__new_sem_trywait): New function.
6527         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6528         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6529         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6530         (sem_timedwait): Adapt.
6531         * nptl/sem_post.c (__new_sem_post): Adapt.
6532         (futex_wake): New function.
6533         (__old_sem_post): Add release MO fence.
6534         * nptl/sem_open.c (sem_open): Adapt.
6535         * nptl/sem_init.c (__new_sem_init): Adapt.
6536         (futex_private_if_supported): New function.
6537         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6538         (__old_sem_getvalue): Add using previous code.
6539         * sysdeps/nptl/internaltypes.h: Adapt.
6540         * nptl/tst-sem13.c (do_test): Adapt.
6541         * nptl/tst-sem11.c (main): Adapt.
6542         * nptl/sem_trywait.c: Remove.
6543         * nptl/DESIGN-sem.txt: Remove.
6544         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6545         (gen-as-const-headers): Remove structsem.sym.
6546         * nptl/structsem.sym: Remove.
6547         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6548         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6549         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6550         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6551         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6552         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6553         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6554         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6555         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6556         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6557         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6558         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6559         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6560         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6561         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6562         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6563         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6564         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6565         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6566         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6567         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6568         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6570 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6572         * INSTALL: Regenerated.
6574         * po/libc.pot: Regenerated.
6576 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6577             Sandra Loosemore  <sandra@codesourcery.com>
6578             Andrew Jenner  <andrew@codesourcery.com>
6579             Joseph Myers  <joseph@codesourcery.com>
6580             Nathan Sidwell  <nathan@codesourcery.com>
6582         * NEWS: Mention new Nios II port.
6583         * sysdeps/nios2/Implies: New file.
6584         * sysdeps/nios2/Makefile: New file.
6585         * sysdeps/nios2/Subdirs: New file.
6586         * sysdeps/nios2/Versions: New file.
6587         * sysdeps/nios2/__longjmp.S: New file.
6588         * sysdeps/nios2/abort-instr.h: New file.
6589         * sysdeps/nios2/backtrace.c: New file.
6590         * sysdeps/nios2/bits/endian.h: New file.
6591         * sysdeps/nios2/bits/fenv.h: New file.
6592         * sysdeps/nios2/bits/link.h: New file.
6593         * sysdeps/nios2/bits/setjmp.h: New file.
6594         * sysdeps/nios2/bsd-_setjmp.S: New file.
6595         * sysdeps/nios2/bsd-setjmp.S: New file.
6596         * sysdeps/nios2/configure: New generated file.
6597         * sysdeps/nios2/configure.ac: New file.
6598         * sysdeps/nios2/crti.S: New file.
6599         * sysdeps/nios2/crtn.S: New file.
6600         * sysdeps/nios2/dl-init.c: New file.
6601         * sysdeps/nios2/dl-machine.h: New file.
6602         * sysdeps/nios2/dl-sysdep.h: New file.
6603         * sysdeps/nios2/dl-tls.h: New file.
6604         * sysdeps/nios2/dl-trampoline.S: New file.
6605         * sysdeps/nios2/gccframe.h: New file.
6606         * sysdeps/nios2/gmp-mparam.h: New file.
6607         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6608         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6609         * sysdeps/nios2/ldsodefs.h: New file.
6610         * sysdeps/nios2/libc-tls.c: New file.
6611         * sysdeps/nios2/libm-test-ulps: New file.
6612         * sysdeps/nios2/machine-gmon.h: New file.
6613         * sysdeps/nios2/math-tests.h: New file.
6614         * sysdeps/nios2/math_private.h: New file.
6615         * sysdeps/nios2/memusage.h: New file.
6616         * sysdeps/nios2/nptl/Makefile: New file.
6617         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6618         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6619         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6620         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6621         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6622         * sysdeps/nios2/nptl/tls.h: New file.
6623         * sysdeps/nios2/preconfigure: New file.
6624         * sysdeps/nios2/s_fma.c: New file.
6625         * sysdeps/nios2/s_fmaf.c: New file.
6626         * sysdeps/nios2/setjmp.S: New file.
6627         * sysdeps/nios2/sfp-machine.h: New file.
6628         * sysdeps/nios2/sotruss-lib.c: New file.
6629         * sysdeps/nios2/stackguard-macros.h: New file.
6630         * sysdeps/nios2/stackinfo.h: New file.
6631         * sysdeps/nios2/start.S: New file.
6632         * sysdeps/nios2/sysdep.h: New file.
6633         * sysdeps/nios2/tls-macros.h: New file.
6634         * sysdeps/nios2/tst-audit.h: New file.
6635         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6636         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6637         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6638         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6639         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6640         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6641         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6642         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6643         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6644         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6645         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6646         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6647         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6648         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6649         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6650         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6651         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6652         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6653         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6654         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6655         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6656         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6657         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6658         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6659         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6660         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6661         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6662         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6663         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6664         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6665         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6666         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6667         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6668         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6669         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6670         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6671         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6672         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6673         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6674         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6675         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6676         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6677         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6678         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6680 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6682         [BZ #17844]
6683         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6684         (getutent): Use weak_alias in non SHARED case
6685         and default_symbol_version in SHARED case.
6686         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6687         (getutent_r, pututline): Likewise.
6688         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6689         (getutid): Likewise.
6690         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6691         (getutid_r): Likewise.
6692         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6693         (getutline): Likewise.
6694         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6695         (getutline_r): Likewise.
6696         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6697         (updwtmp): Likewise.
6699 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6701         [BZ #17848]
6702         * sysdeps/s390/s390-32/memcmp.S
6703         (memcmp_g5): Rename to __memcmp_g5.
6704         * sysdeps/s390/s390-32/memcpy.S
6705         (memcpy_g5): Rename to __memcpy_g5.
6706         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6707         (memcpy_mvcle) Rename to __memcpy_mvcle.
6708         * sysdeps/s390/s390-32/memset.S
6709         (memset_g5): Rename to __memset_g5.
6710         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6711         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6712         and use prefixed functions.
6713         * sysdeps/s390/s390-32/multiarch/memcmp.S
6714         (memcmp_z196): Rename to __memcmp_z196.
6715         (memcmp_z10): Rename to __memcmp_z10.
6716         (memcmp): Set alias to __memcmp_g5.
6717         (bcmp): Set alias to __memcmp_g5.
6718         * sysdeps/s390/s390-32/multiarch/memcpy.S
6719         (memcpy_z196): Rename to __memcpy_z196.
6720         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6721         (memcpy_z10): Rename to __memcpy_z10.
6722         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6723         (memcpy): Set alias to __memcpy_g5.
6724         * sysdeps/s390/s390-32/multiarch/memset.S
6725         (memset_z196): Rename to __memset_z196.
6726         Jump to __memset_mvcle instead of memset_mvcle.
6727         (memset_z10): Rename to __memset_z10.
6728         Jump to __memset_mvcle instead of memset_mvcle.
6729         (memset_mvcle) Rename to __memset_mvcle.
6730         (memset): Set alias to __memset_g5.
6731         * sysdeps/s390/s390-64/memcmp.S
6732         (memcmp_z900): Rename to __memcmp_z900.
6733         * sysdeps/s390/s390-64/memcpy.S
6734         (memcpy_z900): Rename to __memcpy_z900.
6735         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6736         (memcpy_mvcle) Rename to __memcpy_mvcle.
6737         * sysdeps/s390/s390-64/memset.S
6738         (memset_z900): Rename to __memset_z900.
6739         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6740         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6741         and use prefixed functions.
6742         * sysdeps/s390/s390-64/multiarch/memcmp.S
6743         (memcmp_z196): Rename to __memcmp_z196.
6744         (memcmp_z10): Rename to __memcmp_z10.
6745         (memcmp): Set alias to __memcmp_z900.
6746         (bcmp): Set alias to __memcmp_z900.
6747         * sysdeps/s390/s390-64/multiarch/memcpy.S
6748         (memcpy_z196): Rename to __memcpy_z196.
6749         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6750         (memcpy_z10): Rename to __memcpy_z10.
6751         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6752         (memcpy): Set alias to __memcpy_z900.
6753         * sysdeps/s390/s390-64/multiarch/memset.S
6754         (memset_z196): Rename to __memset_z196.
6755         Jump to __memset_mvcle instead of memset_mvcle.
6756         (memset_z10): Rename to __memset_z10.
6757         Jump to __memset_mvcle instead of memset_mvcle.
6758         (memset_mvcle) Rename to __memset_mvcle.
6759         (memset): Set alias to __memset_z900.
6761 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6763         [BZ #17748]
6764         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6765         __fesetenv instead of fesetenv.
6767 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6769         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6770         macro.
6772 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6774         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6775         regression on LE.
6777         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6778         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6779         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6780         strncmp-power8 object.
6781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6782         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6783         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6784         * NEWS: Update.
6786 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6787             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6789         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6790         trailing byte check.
6792 2015-01-13  David S. Miller  <davem@davemloft.net>
6794         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6796 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6798         * login/logout.c (logout): Use memset rather than bzero.
6799         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6800         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6801         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6802         (_gethtbyaddr): Likewise.
6803         * locale/programs/simple-hash.c (bcopy): Macro removed.
6805 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6807         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6808         Add strcmp-power8 object.
6809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6810         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6811         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6812         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6813         __strcmp_power8 implementation.
6814         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6815         * NEWS: Update.
6817         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6818         Add strncpy-power8 and stpncpy-power8 objects.
6819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6820         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6821         implementations.
6822         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6823         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6824         __stpncpy_power8 implementation.
6825         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6826         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6827         __strncpy_power8 implementation.
6828         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6829         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6830         * NEWS: Update.
6832         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6833         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6834         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6836         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6837         strncat-power8 object.
6838         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6839         __strcat_power8 implementation.
6840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6841         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6842         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6843         optimized strcat for power8.
6845         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6846         strcpy-power8 and stpcpy-power8 objects.
6847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6848         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6849         implementations.
6850         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6851         multiarch stpcpy implementation for POWER8.
6852         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6853         multiarch strcpy implementation for POWER8.
6854         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6855         __strcpy_power8 function.
6856         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6857         stpcpy for POWER8.
6858         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6859         strcpy for POWER8.
6860         * NEWS: Update.
6862 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6864         [BZ #16009]
6865         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6866         weights and rules. Use do_xfrm_cached if data fits in cache,
6867         do_xfrm otherwise.  Moved former main loop to...
6868         * (do_xfrm_cached): New function.
6869         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6870         find_idx, find_position and stack_push.
6871         * (find_idx): New function.
6872         * (find_position): Likewise.
6873         * localedata/sort-test.sh: Added test run for do_xfrm.
6874         * localedata/xfrm-test.c (main): Added command line option
6875         -nocache to run the test with strings that are too large for
6876         the STRXFRM cache.
6878 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6880         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6881         variable to lll_futex_wake call, not the value itself.
6883 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6885         [BZ #17803]
6886         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6887         twom64.  Adjust value to 0x1p-64L.
6888         (__scalblnl): Only return standard underflowing result for K <=
6889         -64 not K <= -63; adjust exponent for underflowing result by 64
6890         not 63.
6891         * math/libm-test.inc (scalbn_test_data): Add more tests.
6892         (scalbln_test_data): Likewise.
6894         [BZ #17834]
6895         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6896         0x1p63L.
6897         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6898         not HX.
6899         * math/libm-test.inc (scalbn_test_data): Add more tests.
6900         (scalbln_test_data): Likewise.
6902 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6903             Stefani Seibold  <stefani@seibold.net>
6905         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6906         (sysdep_routines): Add dl-vdso here, ...
6907         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6908         (sysdep_routines): ... not here.
6909         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6910         fallback when vDSO is not presented.
6911         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6912         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6913         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6914         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6915         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6916         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6917         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6918         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6919         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6920         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6921         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6922         fallback configurable symbol when vDSO is not available.
6923         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6924         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6925         be able to redefine fallback symbol when vDSO is not available.
6926         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6927         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6929 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6931         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6932         (TLS_INIT_TP): Add tm_capable initialization.
6933         (TLS_DEFINE_INIT_TP): Likewise.
6934         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6935         TCB.
6936         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6937         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6938         calculation.
6939         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6940         transactoion is lock elision is built and TCB tm_capable is set.
6941         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6943         (INTERNAL_SYSCALL_NCS): Likewise.
6944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6945         (INTERNAL_SYSCALL_NCS): Likewise.
6946         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6948         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6949         for powerpc.
6950         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6951         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6952         and remove it for 32 bits case.
6953         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6954         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6955         initialization.
6956         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6957         Disable lock elision with rdlocks if elision is not available.
6959         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6960         (sysdep_routines): Add lock elision objects.
6961         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6962         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6963         [pthread_mutex_t] (__elision): Add field.
6964         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6965         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6966         elision definitions for powerpc.
6967         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6968         implementation of lock elision for powerpc.
6969         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6970         implementation of timed lock elision for powerpc.
6971         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6972         implementation of trylock with lock elision for powerpc.
6973         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6974         implementaion of unlock for lock elision for powerpc.
6975         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6976         automatic enable lock elision for mutexes.
6977         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6978         transaction execution definitions for powerpc.
6979         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6980         definitions.
6981         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6982         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6983         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6984         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6985         * NEWS: Update.
6987 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6989         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6990         for #include of <shm-directory.h>.
6992 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6994         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6995         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6997 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6999         [BZ #17791]
7000         * NEWS: Mention bug fix.
7001         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7002         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7003         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7005 2015-01-09  Torvald Riegel <triegel@redhat.com>
7007         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7009 2015-01-09  Torvald Riegel <triegel@redhat.com>
7011         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7013 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7015         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7016         pointer and cast to uintptr_t.
7018 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7020         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7021         removed.
7022         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7024 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
7026         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7027         of 0.
7029 2015-01-08  Roland McGrath  <roland@hack.frob.com>
7031         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7032         <nptl/pthreadP.h> instead.
7033         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7035         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7036         already defined.
7037         [__SIGRTMIN] (init): Function removed.
7038         [__SIGRTMIN] (initialized): Variable removed.
7039         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7040         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7041         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7042         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7043         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7044         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7045         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7046         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7047         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7048         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7049         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7050         * sysdeps/nptl/allocrtsig.c: New file.
7051         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7052         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7053         * sysdeps/generic/testrtsig.h: File removed.
7055         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7056         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7058         * nptl/nptl-init.c (pthread_functions): Conditionalize
7059         .ptr__nptl_setxid initialization on [SIGSETXID].
7061         * sysdeps/nptl/sys/procfs.h: New file.
7062         * nptl_db/Makefile (headers): Add it.
7063         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7065         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7066         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7067         * nptl/pthread_attr_setaffinity.c: Include it.
7068         * nptl/pthread_setattr_default_np.c: Likewise.
7069         * nptl/check-cpuset.h: New file.
7071 2015-01-08  Richard Henderson  <rth@redhat.com>
7073         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7074         (CFLAGS-tst-execstack-prog.c): Likewise.
7075         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7077 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
7078             Sandra Loosemore  <sandra@codesourcery.com>
7079             Andrew Jenner  <andrew@codesourcery.com>
7080             Joseph Myers  <joseph@codesourcery.com>
7081             Nathan Sidwell  <nathan@codesourcery.com>
7083         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7084         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7085         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7086         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7087         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7088         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7089         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7090         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7091         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7092         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7093         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7094         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7095         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7096         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7097         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7098         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7099         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7101 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7103         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7104         timespec struct member in syscall macro.
7105         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7106         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7107         first timeval struct member in syscall macro.
7108         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7110 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
7112         [BZ #17748]
7113         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7114         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7115         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7116         __feupdateenv and define as weak alias of __feupdateenv.  Use
7117         libm_hidden_weak.
7118         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7119         libm_hidden_def.
7120         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7121         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
7122         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7123         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7124         libm_hidden_def.
7125         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7126         __feupdateenv and define as weak alias of __feupdateenv.  Use
7127         libm_hidden_weak.
7128         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7129         libm_hidden_def.
7130         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7131         __feupdateenv and define as weak alias of __feupdateenv.  Use
7132         libm_hidden_weak.
7133         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7134         libm_hidden_def.
7135         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7136         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7137         (__feupdateenv): Likewise.
7138         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7139         __feupdateenv and define as weak alias of __feupdateenv.  Use
7140         libm_hidden_weak.
7141         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7142         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7143         libm_hidden_def.
7144         * sysdeps/tile/math_private.h (__feupdateenv): New inline
7145         function.
7146         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7147         libm_hidden_def.
7148         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7149         __feupdateenv instead of feupdateenv.
7150         (default_libc_feupdateenv_test): Likewise.
7151         (libc_feresetround_ctx): Likewise.
7153 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7155         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7156         prototype.
7158 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
7160         * posix/regcomp.c (parse_bracket_exp): Initialize type to
7161         COLL_SYM in a couple of places to avoid uninitialized variable
7162         wanings on tilegx gcc 4.8.2.
7164 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7166         * sysdeps/aarch64/strcpy.S: New file.
7167         * sysdeps/aarch64/stpcpy.S: New file.
7168         * NEWS: Updated.
7170 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
7172         * sysdeps/aarch64/strrchr.S: New file.
7173         * NEWS: Updated.
7175 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
7177         [BZ #17658]
7178         * stdlib/setenv.c: Fix memory leak when setting large,
7179         duplicate string.
7181 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
7183         [BZ #17273]
7184         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7185         and tabs from buffer before parsing fstab entry.
7186         * misc/tst-mntent.c (main): Add test for mount entry with
7187         trailing spaces and tabs.
7189 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
7191         [BZ #17748]
7192         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
7193         * math/fesetround.c (fesetround): Rename to __fesetround and
7194         define as weak alias of __fesetround.  Use libm_hidden_weak.
7195         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7196         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7197         * sysdeps/arm/fesetround.c (fesetround): Likewise.
7198         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7199         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7200         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7201         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7202         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7203         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7204         __fesetround_inline.
7205         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7206         __fesetround_inline instead of __fesetround.
7207         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7208         __fesetround and define as weak alias of __fesetround.  Use
7209         libm_hidden_weak.  Call __fesetround_inline instead of
7210         __fesetround.
7211         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7212         __fesetround and define as weak alias of __fesetround.  Use
7213         libm_hidden_weak.
7214         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7215         Likewise.
7216         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7217         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7218         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7219         * sysdeps/tile/math_private.h (__fesetround): New inline function.
7220         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7221         __fesetround and define as weak alias of __fesetround.  Use
7222         libm_hidden_weak.
7223         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7224         __fesetround instead of fesetround.
7225         (default_libc_feholdexcept_setround): Likewise.
7226         (libc_feholdsetround_ctx): Likewise.
7227         (libc_feholdsetround_noex_ctx): Likewise.
7229         [BZ #17748]
7230         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7231         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7232         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7233         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7234         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7235         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7236         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7237         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7238         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7239         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7240         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7241         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7242         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7243         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7244         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7245         libm_hidden_def.
7246         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7247         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7248         Likewise.
7249         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7250         define as weak alias of __fesetenv.  Use libm_hidden_weak.
7251         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7252         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7253         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7254         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7255         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
7256         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7257         __fesetenv instead of fesetenv.
7258         (libc_feresetround_noex_ctx): Likewise.
7259         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7260         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7261         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7262         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7263         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7264         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7265         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7266         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7267         (__feupdateenv): Likewise.
7268         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7269         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7270         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7271         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7273 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7275         [BZ #17806]
7276         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7277         addresses have been freed.
7279 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
7281         * resolv/res_init.c (__res_vinit): Improve comments about nserv
7282         and nservall.
7284 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
7286         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7287         Clean up check_pf allocation pattern. addresses
7289 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7291         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7292         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7293         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7294         * nptl/pthread_exit.c (__pthread_exit): Likewise.
7295         * nptl/pthread_join.c (pthread_join): Likewise.
7296         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7297         * sysdeps/posix/waitid.c (__waitid): Likewise.
7298         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7299         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7300         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7301         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7302         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7303         Likewise.
7304         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7305         (__libc_pread64): Likewise.
7306         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7307         (__libc_pwrite): Likewise.
7308         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7309         (__libc_pwrite64): Likewsie.
7310         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7311         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7312         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7313         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7314         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7315         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7316         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7318         Likewise.
7319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7320         (__libc_pread64): Likewise.
7321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7322         Likewise.
7323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7324         (__libc_pwrite64): Likewise.
7325         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7326         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7327         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7328         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7329         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7330         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7331         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7332         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7333         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7334         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7335         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7336         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7337         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7338         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7339         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7340         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7341         Likewise.
7343 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7345         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7346         (CFLAGS-test-double.c): Likewise.
7347         (CFLAGS-test-ldouble.c): Likewise.
7348         (CPPFLAGS-test-ifloat.c): Likewise.
7349         (CPPFLAGS-test-idouble.c): Likewise.
7350         (CPPFLAGS-test-ildoubl.c): Likewise.
7351         (CFLAGS-test-test-fenv.c): Remove variable.
7352         (CFLAGS-test-misc.c): Likewise.
7354 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
7356         [BZ #17797]
7357         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7358         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7359         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7360         CLOCKS_PER_SEC == 1000000.
7361         * time/clocktest.c (main): Replace %ld with %jd and cast to
7362         intmax_t.
7364 2015-01-05  Roland McGrath  <roland@hack.frob.com>
7366         * sysdeps/generic/unwind-resume.h: New file.
7367         * sysdeps/gnu/unwind-resume.c: Include it.
7368         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7369         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7370         argument list.
7371         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7372         global rather than static.
7373         (_Unwind_Resume): Update user.
7374         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7375         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
7376         rather than static.  Add __attribute__ ((cold)).
7377         (_Unwind_Resume, __gcc_personality_v0): Update callers.
7378         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7379         * sysdeps/arm/arm-unwind-resume.S: New file.
7380         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7381         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7382         * sysdeps/arm/Makefile [$(subdir) = csu]
7383         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7384         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7385         Add rt-arm-unwind-resume.
7386         [$(subdir) = nptl]
7387         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7388         Add pt-arm-unwind-resume.
7389         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7390         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7392 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7394         [BZ #17748]
7395         * include/fenv.h (__feholdexcept): Declare.  Use
7396         libm_hidden_proto.
7397         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7398         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
7399         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7400         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7401         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7402         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7403         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7404         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7405         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7406         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7407         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7408         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7409         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7410         (feholdexcept): Likewise.
7411         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7412         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7413         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7414         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7415         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7416         __feholdexcept instead of feholdexcept.
7417         (default_libc_feholdexcept_setround): Likewise.
7419 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7421         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7422         to avoid using stl/str to align destination.
7424 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7426         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7428 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7430         [BZ #17796]
7431         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7432         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7433         Define as weak alias not strong alias.
7435 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
7437         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7438         bltzal with addiupc.
7439         (RTLD_START): Ditto.
7441 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
7443         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7444         for __vdso_* functions in declarations.
7445         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7446         definitions.
7447         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7448         INTERNAL_VSYSCALL): Use struct return types to check for error.
7450         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7451         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7452         function with cast from llround().
7453         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7454         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7455         Define.
7457 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
7459         [BZ #17793]
7460         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7461         Define as weak alias not strong alias.
7463         [BZ #17635]
7464         * ctype/ctype-c99.c: New file.  isblank implementation moved from
7465         ...
7466         * ctype/ctype-extn.c: ... here.
7467         (__isblank_l): Move to ...
7468         * ctype/ctype-c99_l.c: ... here.  New file.
7469         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7470         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7471         Remove variable.
7472         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7473         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7474         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7475         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7476         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7478         [BZ #17777]
7479         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7480         (posix_fadvise64): Define as weak alias not strong alias.
7481         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7482         (posix_fallocate64): Likewise.
7483         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7484         Remove variable.
7485         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7486         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7487         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7488         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7489         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7491 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7493         [BZ #16191]
7494         * NEWS: Mention bug fix.
7495         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7496         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7497         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7498         (HOST_STACK_END_ADDR): Likewise.
7500 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7502         [BZ #17748]
7503         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7504         * math/fegetround.c (fegetround): Rename to __fegetround and
7505         define as weak alias of __fegetround.  Use libm_hidden_weak.
7506         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7507         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7508         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7509         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7510         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7511         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7512         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7513         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7514         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7515         Undefine after rather than before function definition; use
7516         parentheses around function name in definition.
7517         (__fegetround): Also undefine macro after function definition.
7518         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7519         __fegetround and define as weak alias of __fegetround.  Use
7520         libm_hidden_weak.  Do not undefine as macro.
7521         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7522         Likewise.
7523         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7524         __fegetround and define as weak alias of __fegetround.  Use
7525         libm_hidden_weak.
7526         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7527         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7528         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7529         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7530         __fegetround and define as weak alias of __fegetround.  Use
7531         libm_hidden_weak.
7532         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7533         __fegetround instead of fegetround.
7535         [BZ #17782]
7536         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7537         Condition macro definition on [__USE_MISC].
7539         [BZ #17781]
7540         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7541         (struct sigaction): Change type of sa_flags field to int.
7543         [BZ #17780]
7544         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7545         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7546         __glibc_reserved0.
7548         * nptl/version.c (banner): Use single year in copyright notice.
7550         * NEWS: Update copyright dates.
7551         * catgets/gencat.c (print_version): Likewise.
7552         * csu/version.c (banner): Likewise.
7553         * debug/catchsegv.sh: Likewise.
7554         * debug/pcprofiledump.c (print_version): Likewise.
7555         * debug/xtrace.sh (do_version): Likewise.
7556         * elf/ldconfig.c (print_version): Likewise.
7557         * elf/ldd.bash.in: Likewise.
7558         * elf/pldd.c (print_version): Likewise.
7559         * elf/sotruss.sh: Likewise.
7560         * elf/sprof.c (print_version): Likewise.
7561         * iconv/iconv_prog.c (print_version): Likewise.
7562         * iconv/iconvconfig.c (print_version): Likewise.
7563         * locale/programs/locale.c (print_version): Likewise.
7564         * locale/programs/localedef.c (print_version): Likewise.
7565         * login/programs/pt_chown.c (print_version): Likewise.
7566         * malloc/memusage.sh (do_version): Likewise.
7567         * malloc/memusagestat.c (print_version): Likewise.
7568         * malloc/mtrace.pl: Likewise.
7569         * manual/libc.texinfo: Likewise.
7570         * nptl/version.c (banner): Likewise.
7571         * nscd/nscd.c (print_version): Likewise.
7572         * nss/getent.c (print_version): Likewise.
7573         * nss/makedb.c (print_version): Likewise.
7574         * posix/getconf.c (main): Likewise.
7575         * scripts/test-installation.pl: Likewise.
7576         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7578 2015-01-02  Will Newton  <will.newton@linaro.org>
7580         * sysdeps/arm/armv7/configure: Removed.
7581         * sysdeps/arm/armv7/configure.ac: Likewise.
7583 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7585         * All files with FSF copyright notices: Update copyright dates
7586         using scripts/update-copyrights.
7587         * intl/plural.c: Regenerated.
7588         * locale/programs/charmap-kw.h: Likewise.
7589         * locale/programs/locfile-kw.h: Likewise.
7591 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7593         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7595 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7597         [BZ #17748]
7598         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7599         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7600         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7601         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7602         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7603         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7604         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7605         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7606         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7607         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7608         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7609         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7610         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7611         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7612         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7613         libm_hidden_def.
7614         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7615         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7616         Likewise.
7617         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7618         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7619         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7620         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7621         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7622         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7623         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7624         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7625         __fegetenv instead of fegetenv.
7626         (libc_feholdsetround_noex_ctx): Likewise.
7628 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7630         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7631         (Elf_MIPS_ABIFlags_v0): New structure.
7632         (EF_MIPS_FP64): Define.
7633         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7634         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7635         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7636         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7637         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7638         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7639         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7640         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7641         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7642         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7643         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7644         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7645         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7646         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7647         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7648         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7649         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7650         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7651         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7652         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7653         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7654         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7655         field.
7656         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7657         EF_MIPS_FP64.
7658         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7659         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7660         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7661         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7662         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7663         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7664         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7665         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7666         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7667         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7668         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7669         record the current FP ABI extension.
7670         (mips-mode-switch): Define to show if kernel headers support mode
7671         switching.
7672         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7673         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7674         supported SYSV ABI version to 3.
7675         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7676         feature.
7678 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7679             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7681         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7682         path.
7683         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7685 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7687         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7688         __fegetround and redefine to call __fegetround.  Remove condition
7689         on [!__NO_MATH_INLINES].
7690         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7691         function.
7692         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7693         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7694         Remove macro.
7695         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7696         instead of <fenv_libc.h>.
7697         (__llrintl): Call fegetround instead of __fegetround.
7698         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7699         instead of <fenv_libc.h>.
7700         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7701         (__lrintl): Call fegetround instead of __fegetround.
7702         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7703         instead of <fenv_libc.h>.
7704         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7705         (__rintl): Call fegetround instead of __fegetround.
7707 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7709         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7710         arrays.
7712 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7714         [BZ #17775]
7715         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7716         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7717         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7719 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7721         * sysdeps/i386/tls-macros.h: Include <features.h>.
7722         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7723         (TLS_IE): Likewise.
7724         (TLS_LD): Likewise.
7725         (TLS_GD): Likewise.
7726         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7727         define for GCC >= 5.0.
7729 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7731         * math/test-fenv.c (test_single_exception, set_single_exc,
7732         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7733         feexcp_mask_test, feenable_test, fe_single_test): Add
7734         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7735         case where they are not used.
7736         * math/libm-test.inc: Likewise.
7737         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7738         unused in the absence of FP rounding/exception support.
7739         * stdio-common/tst-printf-round.c: Likewise.
7740         * stdlib/tst-strtod-round.c: Likewise.
7741         * stdlib/tst-strtod-underflow.c: Likewise.
7743 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7745         [BZ #17723]
7746         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7747         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7748         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7749         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7750         libm_hidden_weak.
7751         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7752         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7753         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7754         libm_hidden_def.
7755         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7756         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7757         libm_hidden_weak.
7758         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7759         Likewise.
7760         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7761         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7762         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7763         libm_hidden_weak.
7764         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7765         libm_hidden_def.
7766         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7767         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7768         (__feraiseexcept): Likewise.
7769         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7770         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7771         libm_hidden_weak.
7772         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7773         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7774         libm_hidden_def.
7775         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7776         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7777         Use libm_hidden_def.
7778         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7779         libm_hidden_def.
7780         (feraiseexcept): Define as weak not strong alias.  Use
7781         libm_hidden_weak.
7782         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7783         New inline function.  Factored out of ...
7784         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7785         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7786         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7787         feraiseexcept.
7788         * math/w_acos.c (__acos): Likewise.
7789         * math/w_asin.c (__asin): Likewise.
7790         * math/w_ilogb.c (__ilogb): Likewise.
7791         * math/w_j0.c (y0): Likewise.
7792         * math/w_j1.c (y1): Likewise.
7793         * math/w_jn.c (yn): Likewise.
7794         * math/w_log.c (__log): Likewise.
7795         * math/w_log10.c (__log10): Likewise.
7796         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7797         * sysdeps/aarch64/fpu/math_private.h
7798         (libc_feupdateenv_test_aarch64): Likewise.
7799         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7800         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7801         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7802         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7803         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7804         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7805         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7806         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7807         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7808         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7810 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7812         [BZ #17732]
7813         * io/test-utime.c (main): Replace %ld with %jd and cast to
7814         intmax_t.
7815         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7816         * nptl/tst-mutex5.c: Include <stdint.h>.
7817         (do_test): Replace %ld with %jd and cast to intmax_t.
7818         * posix/tst-regex.c (run_test): Likewise.
7819         (run_test_backwards): Likewise.
7820         * rt/tst-clock.c: Include <stdint.h>.
7821         (clock_test): Replace %ld with %jd and cast to intmax_t.
7822         * rt/tst-cpuclock1.c: Include <stdint.h>.
7823         (do_test): Replace %lu with %ju and cast to uintmax_t.
7824         * rt/tst-cpuclock2.c: Include <stdint.h>.
7825         (do_test): Replace %lu with %ju and cast to uintmax_t.
7826         * rt/tst-mqueue1.c: Include <stdint.h>.
7827         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7828         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7829         intmax_t.
7830         * rt/tst-mqueue4.c (do_test): Likewise.
7831         * rt/tst-timer4.c: Include <stdint.h>.
7832         (check_ts): Replace %ld with %jd and cast to intmax_t.
7833         (do_test): Likewise.
7834         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7835         and cast to intmax_t.
7836         * sysdeps/pthread/tst-timer.c (main): Likewise.
7837         * time/clocktest.c (main): Likewise.
7838         * time/tst-posixtz.c (do_test): Likewise.
7839         * timezone/tst-timezone.c (main): Likewise.
7841 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7842             H.J. Lu  <hongjiu.lu@intel.com>
7844         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7845         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7846         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7847         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7848         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7849         version if bit_Fast_Unaligned_Load is set.
7850         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7851         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7852         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7853         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7854         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7855         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7856         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7857         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7858         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7859         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7860         to 4.
7861         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7862         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7863         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7864         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7866 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7868         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7869         instead of #if to avoid a Wundef warning.
7870         * stdlib/tst-limits.c (do_test): Likewise.
7872         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7873         parallel other exception macros.
7874         (fegetenv): Convert from macro to extern inline so that it applies
7875         retroactively to inline functions already seen by the compiler.
7876         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7878         * posix/Makefile (before-compile): Use $(objpfx) for
7879         posix-conf-vars-def.h.
7881 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7883         * posix/getconf.c (main): Use size_t for type of I.
7884         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7885         NSPEC.
7887         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7888         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7889         * posix/posix-envs.def: Likewise.
7890         * sysdeps/posix/sysconf.c: Likewise.
7891         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7892         (specs): Remove array.
7893         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7894         array.
7896         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7897         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7898         (__sysconf): Use CONF_IS_* macros.
7900         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7901         ($(objpfx)posix-conf-vars-def.h): New target.
7902         * posix/posix-conf-vars.list: New file.
7903         * posix/posix-conf-vars.h: New file.
7904         * posix/confstr.c: Include posix-conf-vars.h.
7905         (confstr): Use CONF_IS_* macros.
7906         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7907         CONF_IS_* macros.
7908         * scripts/gen-posix-conf-vars.awk: New file.
7910 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7912         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7913         fegetround): Add no-op macros to avoid linknamespace issues.
7915         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7916         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7918         * sysdeps/unix/sysv/linux/tile/sysdep.h
7919         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7920         assembly-specific section to avoid a redefinition warning.
7922         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7923         long before casting to pointer to avoid a cast warning.
7925 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7927         * sysdeps/tile/tilegx/Implies: New file.
7929 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7931         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7933 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7935         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7937 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7939         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7940         not define.
7941         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7942         <kernel-features.h>.
7943         (__utimes) [__NR_utimes]: Make code unconditional.
7944         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7945         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7946         (__ASSUME_UTIMES): Do not undefine.
7947         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7948         (__ASSUME_UTIMES): Likewise.
7949         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7950         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7951         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7952         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7954 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7956         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7958 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7960         [BZ #17747]
7961         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7962         alias to weak alias for j0l, y0l.
7963         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7964         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7966         [BZ #17746]
7967         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7968         conversion.
7970 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7972         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7973         to zero if not already defined.
7975 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7977         [BZ #17724]
7978         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7979         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7980         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7981         (char *) casts added.
7982         * sysdeps/ieee754/k_standardf.c: New file.
7983         * sysdeps/ieee754/k_standardl.c: Likewise.
7984         * math/Makefile (libm-support): Remove k_standard.
7985         (libm-calls): Add k_standard.
7987 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7989         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7990         Optimize to avoid an unnecessary FPCR read.
7992 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7994         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7995         Optimize to reduce FPCR/FPSR accesses.
7997 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7999         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8000         Call libc_fetestexcept_aarch64.
8002 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
8004         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8005         Call libc_fesetround_aarch64.
8007 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
8009         [BZ #17733]
8010         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8011         (__bind): Do not define as weak alias.
8012         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8013         define.
8014         (__getsockname): Do not define as weak alias.
8016 2014-12-22  Will Newton  <will.newton@linaro.org>
8018         * manual/install.texi: Document that we require bison 2.7
8019         or above.
8020         * INSTALL: Regenerate.
8021         * configure.ac: Use AC_CHECK_PROG_VER instead of
8022         AC_PATH_PROG when checking for bison and check for
8023         version 2.7 or above.
8024         * configure: Regenerate.
8026 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
8028         [BZ #17745]
8029         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8030         * sysdeps/tile/ffsll.c (ffsll): To here.
8032         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8034 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8036         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8037         if not defined.
8038         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8039         definition.
8040         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8041         hidden ___tls_get_addr.
8042         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8043         hidden __tls_get_addr.
8044         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8045         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8046         Likewise.
8048 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
8050         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8051         _dl_init call.
8053 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
8055         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8056         from "call _dl_init@PLT".
8057         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8059 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
8061         * manual/search.texi: (Array Sort Function): Clarify stable sorting
8062         guarantees.
8064 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
8066         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8068 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8070         [BZ #17744]
8071         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8072         strnlen.
8074 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8076         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8077         of multu on MIPSr6.
8078         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8079         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8080         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8081         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8082         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8084 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
8086         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8087         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8088         (PTR_SUBU): Use subu for mips32r6/mips64r6.
8089         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8090         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8091         mips32r6/mips64r6.
8092         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8094 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
8096         * string/strncat.c (STRNCAT): Simplify implementation.
8098 2014-12-19  David S. Miller  <davem@davemloft.net>
8100         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8101         access the quad as both a long double and as a series of 4 words.
8103         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8104         link_map->l_info array access.
8106 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
8108         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8110         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8111         * math/atest-exp2.c (TIMEOUT): Likewise.
8112         * math/atest-sincos.c (TIMEOUT): Likewise.
8114 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8116         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8117         -Wno-error with -fno-builtin-lround.
8119 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8121         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8122         Contains futex constants and functions moved over from ...
8123         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
8124         <lowlevellock-futex.h>.
8125         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8126         (lll_timedwait_tid): Add comments and parentheses around macro
8127         arguments.
8129 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8131         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8132         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
8133         (__lll_private_flag): Remove.
8134         (lll_futex_wait): Likewise.
8135         (lll_futex_timed_wait): Likewise.
8136         (lll_futex_wake): Likewise.
8137         (lll_futex_requeue): Likewise.
8138         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8139         (__lll_timedwait_tid): Spell out argument names.
8140         (lll_timedwait_tid): Add comments and parentheses around macro
8141         arguments.
8142         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8143         LLL_SHARED and LLL_PRIVATE usable from assembly code.
8145 2014-12-19  Torvald Riegel  <triegel@redhat.com>
8147         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8148         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8149         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8150         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8151         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8152         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8153         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8154         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8155         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8156         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8157         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8158         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8159         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8160         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8161         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8162         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8163         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8164         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8165         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8167 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8169         * sysdeps/x86_64/x32/Makefile: New file.
8171 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
8173         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8174         1L with (mp_limb_t) 1.
8176 2014-12-17  Roland McGrath  <roland@hack.frob.com>
8178         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8179         * nptl/libc_pthread_init.c: ... here.
8180         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8181         * nptl/register-atfork.c: ... here.
8183         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8184         Use pthread_sigmask rather than INTERNAL_SYSCALL.
8185         Use assert_perror to check its return value.
8186         (__gai_create_helper_thread): Likewise.
8188         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8190         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8192 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
8194         [BZ #17725]
8195         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8196         __profil_counter.
8197         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8198         Likewise.
8199         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8200         Likewise.
8201         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8202         Likewise.
8203         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8204         (profil_counter): Likewise.
8205         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8206         (profil_counter): Likewise.
8207         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8208         Likewise.
8209         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8210         Likewise.
8211         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8212         (profil_counter): Likewise.
8213         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8214         Likewise.
8215         [!__profil_counter] (profil_counter): Define as weak alias of
8216         __profil_counter.
8217         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8218         (profil_counter): Rename to __profil_counter.
8219         [!__profil_counter] (profil_counter): Define as weak alias of
8220         __profil_counter.
8221         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8222         (profil_counter): Rename to __profil_counter.
8223         [!__profil_counter] (profil_counter): Define as weak alias of
8224         __profil_counter.
8225         * sysdeps/posix/profil.c: Update comment referring to
8226         profil_counter.
8227         (__profil): Use __profil_counter instead of profil_counter.
8228         * sysdeps/posix/sprofil.c (profil_counter): Rename to
8229         __profil_counter.  Use __profil_counter_ushort and
8230         __profil_counter_uint in definitions.
8231         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8232         instead of profil_counter_uint and profil_counter_ushort.
8234         [BZ #17722]
8235         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8236         define as weak alias of __inet_makeaddr.
8237         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8238         as weak alias of __inet_addr.
8239         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8240         as weak alias of __inet_pton.  Use libc_hidden_weak.
8241         * include/arpa/inet.h (__inet_pton): Declare.  Use
8242         libc_hidden_proto.
8243         (inet_makeaddr): Don't use libc_hidden_proto.
8244         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
8245         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8246         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
8247         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8248         Remove variable.
8249         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8250         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8252 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
8254         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8256 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8258         * stdio-common/bug-vfprintf-nargs.c (do_test):
8259         Cast value to intptr_t to avoid format warning
8260         for usage with PRIdPTR printing macro.
8262 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8264         * libio/tst-widetext.c (do_test):
8265         Use format type %td instead of %Zd for ptrdiff_t
8266         in order to avoid format warning.
8268 2014-12-17  Andreas Schwab  <schwab@suse.de>
8270         * nscd/mem.c (gc): Add size_t cast to match printf format.
8272 2014-12-16  Roland McGrath  <roland@hack.frob.com>
8274         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8275         (init): Apply PTR_MANGLE to pointers before storing them.
8276         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8277         before using them.
8279 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
8281         [BZ #17719]
8282         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8283         define as weak alias of __memrchr.
8284         (__memrchr): Do not define as strong alias of memrchr.
8285         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8286         Remove variable.
8287         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8288         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8289         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8291         [BZ #17717]
8292         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8293         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
8294         (if_indextoname): Rename to __if_indextoname and define as weak
8295         alias of __if_indextoname.  Use libc_hidden_weak.
8296         (if_freenameindex): Rename to __if_freenameindex and define as
8297         weak alias of __if_freenameindex.
8298         (if_nameindex): Rename to __if_nameindex and define as weak alias
8299         of __if_nameindex.
8300         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8301         __if_nametoindex and define as weak alias of __if_nametoindex.
8302         Use libc_hidden_weak.
8303         (if_freenameindex): Rename to __if_freenameindex and define as
8304         weak alias of __if_freenameindex.
8305         (if_nameindex): Rename to __if_nameindex and define as weak alias
8306         of __if_nameindex.
8307         (if_indextoname): Rename to __if_indextoname and define as weak
8308         alias of __if_indextoname.  Use libc_hidden_weak.
8309         * sysdeps/unix/sysv/linux/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.  Use libc_hidden_weak.
8314         (if_nameindex_netlink): Use __if_freenameindex instead of
8315         if_freenameindex.
8316         (if_nameindex): Rename to __if_nameindex and define as weak alias
8317         of __if_nameindex.  Use libc_hidden_weak.
8318         (if_indextoname): Rename to __if_indextoname and define as weak
8319         alias of __if_indextoname.  Use libc_hidden_weak.
8320         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8321         libc_hidden_proto.
8322         [!_ISOMAC] (__if_freenameindex): Likewise.
8323         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8324         if_nametoindex.
8325         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8326         variable.
8327         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8328         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8329         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8330         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8331         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8332         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8333         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8335         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8336         Remove variable.
8337         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8338         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8340 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8342         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8343         subscript above bounds'
8345         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8346         bounds.
8348 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
8350         * libio/tst-fopenloc.c: Use test-skeleton.c.
8352         * stdlib/tst-bsearch.c: Use test-skeleton.c.
8353         (entry): Rename to ITEM.
8354         (do_test, comp): Adjust.
8356         * stdio-common/tst-fseek.c: Use test-skeleton.c.
8358 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8360         * string/tester.c: Include <libc-internal.h>.
8361         (test_memset): Ignore -Wmemset-transposed-args.
8363 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8365         * misc/tst-mntent2.c (do_test): Fix warning.
8367 2014-12-16  Torvald Riegel  <triegel@redhat.com>
8369         * elf/tst-unique4lib.cc(a): Mark as used.
8371 2014-12-16  Florian Weimer  <fweimer@redhat.com>
8373         [BZ #17630]
8374         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8375         names.
8377 2014-12-16  Allan McRae  <allan@archlinux.org>
8379         * stdio-common/Makefile (tests): Re-add bug26.
8381 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
8383         [BZ #17657]
8384         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8385         static array.
8387 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
8389         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8390         (__lll_lock_wait): Likewise.
8391         (__lll_timedlock_wait): Likewise.
8392         (__lll_timedwait_tid): Likewise.
8393         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8394         (__lll_robust_timedlock_wait): Likewise.
8395         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8396         (lll_cond_trylock): Likewise.
8397         (__lll_lock): Likewise.
8398         (__lll_robust_lock): Likewise.
8399         (__lll_cond_lock): Likewise.
8400         (lll_robust_cond_lock): Likewise.
8401         (__lll_timedlock): Likewise.
8402         (__lll_robust_timedlock): Likewise.
8403         (__lll_unlock): Likewise.
8404         (__lll_robust_unlock): Likewise.
8405         (lll_wait_tid): Likewise.
8406         (lll_timedwait_tid): Likewise.
8408 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8410         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8412 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8414         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8416 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8418         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8419         * stdio-common/tst-sprintf.c: Likewise.
8421 2014-12-15  Torvald Riegel  <triegel@redhat.com>
8423         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8425 2014-12-15  Jeff Law  <law@redhat.com>
8427         [BZ #16617]
8428         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8429         on the heap.  (CVE-2012-3406)
8430         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8431         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
8432         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8434 2014-12-15  Will Newton  <will.newton@linaro.org>
8436         * manual/install.texi: Bump required version of texinfo
8437         to 4.7 from 4.5.
8438         * INSTALL: Regenerated.
8439         * configure.ac: Check for makeinfo version 4.7 and above.
8440         * configure: Regenerated.
8442 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8444         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8445         PREFIX, string constant to insert between directory and name.
8446         * sysdeps/posix/shm_open.c: Update caller.
8447         * sysdeps/posix/shm_unlink.c: Likewise.
8448         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8449         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8450         (SEM_SHM_PREFIX): New macro.
8451         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8452         [$(have-thread-library) = no].
8453         * nptl/Makefile (libpthread-routines): Add shm-directory.
8454         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8455         * sysdeps/nptl/shm-directory.h: New file.
8456         * sysdeps/posix/shm-directory.c
8457         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8458         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8459         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8460         INTERNAL_SYSCALL.
8461         (__where_is_shmfs): Function removed.
8462         (mountpoint, defaultmount, defaultdir, __namedsem_once):
8463         Variables removed.
8464         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8465         Use SHM_GET_NAME.
8466         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
8468         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8469         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8470         unconditional for use inside libpthread.
8471         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8473 2014-12-12  Roland McGrath  <roland@hack.frob.com>
8475         * nptl/pthread_getaffinity.c: New file.
8476         * nptl/pthread_setaffinity.c: New file.
8477         * nptl/pthread_getname.c: New file.
8478         * nptl/pthread_setname.c: New file.
8480         * nptl/pthread_create.c (START_THREAD_DEFN)
8481         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8483 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8484             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8486         * resolv/res_send.c (send_vc): Disable warning resplen may
8487         be used uninitialized.
8489 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8491         * nptl/tst-mutex6.c
8492         (ATTR_NULL): New define checks ATTR against NULL.
8493         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8494         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8496 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8498         [BZ #17581]
8499         * malloc/hooks.c
8500         (mem2mem_check): Revert my previous change.
8501         (malloc_check_get_size): Revert my previous change.
8502         (mem2chunk_check): Revert my previous change.
8504 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8506         * sysdeps/posix/shm-directory.c: New file.
8507         * sysdeps/posix/shm-directory.h: New file.
8508         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8509         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8510         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8511         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8512         Transmute EPERM to EACCES.
8513         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8514         from ...
8515         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8516         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8518 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8520         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8521         pointer and cast to uintptr_t.
8522         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8523         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8524         Add cast to avoid warning.
8525         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8527 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8529         * nptl/semaphore.h: Move to ...
8530         * sysdeps/pthread/semaphore.h: ... here.
8531         * Makefile (installed-headers): Change nptl/semaphore.h to
8532         sysdeps/pthread/semaphore.h.
8534 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8536         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8537         generated error format strings.
8539         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8540         -Wformat-extra-args warnings for scanf formats.
8541         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8542         test of zero-length format (duh).
8543         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8544         corner-case scanf format test.
8545         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8546         generated fprintf format string.
8547         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8548         corner-case sprintf format tests.
8549         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8550         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8551         -Wformat-extra-args warnings throughout.
8552         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8553         (CFLAGS-scanf4.c): Likewise.
8554         (CFLAGS-scanf7.c): Likewise.
8555         (CFLAGS-tst-sprintf.c): Likewise.
8556         (CFLAGS-tst-printf.c): Likewise.
8557         (CFLAGS-tst-printfsz.c): Likewise.
8559 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8561         * include/cpio.h: New file.
8562         * include/fmtmsg.h: Likewise.
8564         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8565         corresponding format argument to size_t.
8566         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8567         arguments.
8568         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8569         corresponding format argument to size_t.
8570         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8571         arguments.
8572         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8573         corresponding format argument to size_t.
8574         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8575         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8576         (CFLAGS-tst-mbswcs2.c): Likewise.
8577         (CFLAGS-tst-mbswcs3.c): Likewise.
8578         (CFLAGS-tst-mbswcs4.c): Likewise.
8579         (CFLAGS-tst-mbswcs5.c): Likewise.
8580         (CFLAGS-tst-trans.c): Likewise
8582 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8584         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8585         rather than assuming they won't contain any '%'s.
8587 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8589         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8590         inhibit_loop_to_libcall to avoid recursive calls.
8591         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8592         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8594 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8596         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8597         prototype.
8599 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8601         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8602         integer value instead of boolean.
8604 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8606         * malloc/malloc.c: Fix powerof2 check.
8608 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8610         * locale/programs/locfile.h (maybe_swap_uint32):
8611         Remove inline and add unused attribute.
8613 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8615         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8616         Truncating assembler expression to a .long expression.
8618 2014-12-11  Andreas Schwab  <schwab@suse.de>
8620         * elf/rtld.c (struct map_args): Constify str member.
8621         (do_preload): Constify fname argument.
8623 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8625         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8626         constants definition.
8628 2014-12-11  Andreas Schwab  <schwab@suse.de>
8630         [BZ #16657]
8631         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8632         FORCE_ELISION instead of DO_ELISION.
8633         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8634         Remove.
8635         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8636         Likewise.
8638         * iconvdata/gconv-modules: Remove duplicate entry.
8640 2014-12-11  Will Newton  <will.newton@linaro.org>
8642         Merge gettext 0.19.3 into intl/.
8644         This involves a number of cosmetic changes to comments
8645         and ANSI function definitions and prototypes throughout
8646         all the files. The gettext copyright header is used but
8647         with the date ranges taken from the glibc copy.
8649         * NEWS: Add gettext merge to 2.21.
8650         * intl/bindtextdom.c: Switch to gettext copyright.
8651         Use ANSI definitions and prototypes.
8652         Use gl_* locking primitives rather than __libc_* ones.
8653         Use __builtin_expect rather than __glibc_likely/unlikely.
8654         * intl/dcgettext.c: Switch to gettext copyright.
8655         Use ANSI definitions and prototypes.
8656         * intl/dcigettext.c: Switch to gettext copyright.
8657         Use ANSI definitions and prototypes.
8658         (INTDIV0_RAISES_SIGFPE): New define.
8659         Use gl_* locking primitives rather than __libc_* ones.
8660         Include eval-plural.h instead of plural-eval.c.
8661         Use __builtin_expect rather than __glibc_likely/unlikely.
8662         * intl/dcngettext.c: Switch to gettext copyright.
8663         Use ANSI definitions and prototypes.
8664         * intl/dgettext.c: Likewise.
8665         * intl/dngettext.c: Likewise.
8666         * intl/plural-eval.c: Renamed to...
8667         * intl/eval-plural.h: ...this.
8668         * intl/explodename.c: Switch to gettext copyright.
8669         Use ANSI definitions and prototypes.
8670         (_nl_explode_name): Use strchr instead of __rawmemchr.
8671         * intl/finddomain.c: Switch to gettext copyright.
8672         Use ANSI definitions and prototypes.
8673         Use gl_* locking primitives rather than __libc_* ones.
8674         (_nl_find_domain): Use malloc rather than alloca for
8675         allocation of temporary locale name.
8676         * intl/gettext.c: Switch to gettext copyright.
8677         Use ANSI definitions and prototypes.
8678         * intl/gettextP.h: Switch to gettext copyright.
8679         Use ANSI definitions and prototypes.
8680         Use gl_* locking primitives rather than __libc_* ones.
8681         * intl/gmo.h: Switch to gettext copyright.
8682         (struct sysdep_string): Move struct segment_pair outside of
8683         struct definition.
8684         * intl/hash-string.c: Use ANSI definitions and prototypes.
8685         * intl/hash-string.h: Switch to gettext copyright.
8686         Use ANSI definitions and prototypes.
8687         * intl/l10nflist.c: Switch to gettext copyright.
8688         Use ANSI definitions and prototypes.
8689         (_nl_normalize_codeset): Avoid integer overflow.
8690         * intl/loadinfo.h: Switch to gettext copyright.
8691         Use ANSI definitions and prototypes.
8692         (LIBINTL_DLL_EXPORTED): New define.
8693         (PATH_SEPARATOR): New define.
8694         * intl/loadmsgcat.c: Switch to gettext copyright.
8695         * intl/localealias.c: Switch to gettext copyright.
8696         Use ANSI definitions and prototypes.
8697         (_nl_expand_alias): Use PATH_SEPARATOR.
8698         * intl/ngettext.c: Switch to gettext copyright.
8699         Use ANSI definitions and prototypes.
8700         * intl/plural-exp.c: Likewise.
8701         * intl/plural-exp.h: Switch to gettext copyright.
8702         Use ANSI definitions and prototypes.
8703         (struct expression): Move definition of enum operator outside
8704         of struct definition.
8705         * intl/plural.c: Regenerate.
8706         * intl/plural.y: Switch to gettext copyright.
8707         Use ANSI definitions and prototypes.
8708         Port to bison 3.0.
8709         * intl/textdomain.c: Switch to gettext copyright.
8710         Use ANSI definitions and prototypes.
8711         Use gl_* locking primitives rather than __libc_* ones.
8713 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8715         * debug/warning-nop.c: Add used atrribute.
8717 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8719         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8721         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8722         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8723         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8725 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8726             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8728         [BZ #17634]
8729         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8730         Undefine after defining function.  Define as weak alias of
8731         __wcschr.  Use libc_hidden_weak.
8732         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8733         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8734         (libc_hidden_def): Also define __GI___wcschr alias.
8735         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8736         __wcschr and define as weak alias of __wcschr.
8737         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8738         __wcschr.
8739         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8740         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8741         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8742         libc_hidden_weak.  Do not use libc_hidden_def.
8743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8744         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8745         __GI___wcschr alias.
8746         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8747         [IS_IN (libc)] (wcschr): Define as macro expanding to
8748         __redirect_wcschr.
8749         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8750         [IS_IN (libc)] (__wcschr_power6): Likewise.
8751         [IS_IN (libc)] (__wcschr_power7): Likewise.
8752         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8753         instead of wcschr.
8754         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8755         __libc_wcschr.
8756         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8757         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8758         __wcschr and define as weak alias of __wcschr.  Use
8759         libc_hidden_builtin_def.
8760         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8761         as weak alias of __wcschr.  Use libc_hidden_weak.
8762         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8763         wcschr.
8764         * time/era.c (_nl_init_era_entries): Likewise.
8765         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8766         variable.
8767         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8768         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8770 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8772         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8773         format for long int variable.
8775 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8777         [BZ #10672]
8778         * manual/search.texi: (Array Sort Function): Remove claim how to make
8779         qsort stable.
8781 2014-12-10  Andreas Schwab  <schwab@suse.de>
8783         [BZ #12847]
8784         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8785         user-controlled locks.
8787 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8789         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8790         register.
8792 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8794         * configure.ac (--disable-werror): New configure option.
8795         (enable_werror): New AC_SUBST.
8796         * configure: Regenerated.
8797         * config.make.in (enable-werror): New variable.
8798         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8799         -Wno-error=undef.
8800         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8801         * manual/install.texi (Configuring and compiling): Document
8802         --disable-werror.
8803         * INSTALL: Regenerated.
8804         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8805         (CFLAGS-tst-chk2.c): Likewise.
8806         (CFLAGS-tst-chk3.c): Likewise.
8807         (CFLAGS-tst-chk4.cc): Likewise.
8808         (CFLAGS-tst-chk5.cc): Likewise.
8809         (CFLAGS-tst-chk6.cc): Likewise.
8810         (CFLAGS-tst-lfschk1.c): Likewise.
8811         (CFLAGS-tst-lfschk2.c): Likewise.
8812         (CFLAGS-tst-lfschk3.c): Likewise.
8813         (CFLAGS-tst-lfschk4.cc): Likewise.
8814         (CFLAGS-tst-lfschk5.cc): Likewise.
8815         (CFLAGS-tst-lfschk6.cc): Likewise.
8817         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8818         (main): Disable -Wdeprecated-declarations around calls to
8819         register_printf_function.
8821         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8822         (do_test): Disable -Wdiv-by-zero around some calls to
8823         fwrite_unlocked and fread_unlocked.
8825         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8826         (DIAG_POP_NEEDS_COMMENT): Likewise.
8827         (_DIAG_STR1): Likewise.
8828         (_DIAG_STR): Likewise.
8829         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8830         * stdio-common/bug21.c: Include <libc-internal.h>.
8831         (do_test): Disable -Wformat around call to sscanf.
8832         * stdio-common/scanf14.c: Include <libc-internal.h>.
8833         (main): Disable -Wformat around some calls to scanf functions.
8835 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8837         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8839 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8841         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8842         stack variable alignment.
8844 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8846         [BZ #17682]
8847         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8848         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8849         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8850         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8851         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8852         __getrlimit instead of getrlimit.
8853         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8854         __gettimeofday instead of gettimeofday.
8855         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8856         Likewise.
8857         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8858         Likewise.
8859         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8860         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8861         Remove variable.
8862         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8863         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8865 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8867         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8868         for wide-character tests.
8870 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8872         * io/openat64.c: #include <libc-internal.h>
8873         (__openat64): Prototypify.  Use ignore_value on MODE.
8874         * io/openat.c: Likewise.
8875         * misc/reboot.c: #include <libc-internal.h>
8876         (reboot): Prototypify.  Use ignore_value on HOWTO.
8877         * misc/ptrace.c: #include <libc-internal.h>
8878         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8880 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8882         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8883         XPG4, UNIX98 and XOPEN2K.
8884         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8885         Remove variable.
8886         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8888 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8890         * libio/fileops.c: Use ISO C style for function definitions.
8891         * libio/iofopen.c: Likewise.
8892         * libio/wfileops.c: Likewise.
8894         [BZ #17653]
8895         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8896         offset on EOF.
8897         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8898         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8899         (fgets_func): Function pointer to fgets and fgetws.
8900         (do_ftell_test): Add test to verify ftell value after read
8901         EOF.
8902         (do_test): Set fgets_func.
8904         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8905         O_TRUNC flag for w and w+ modes.
8906         (do_rewind_test): Likewise.
8907         (do_ftell_test): Likewise.
8908         (do_write_test): Likewise.
8910         [BZ #17647]
8911         * libio/fileops.c (do_ftell): Seek only when there are
8912         unflushed writes.
8913         * libio/wfileops.c (do_ftell_wide): Likewise.
8914         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8915         test case.
8916         (do_one_test): Call it.
8918 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8920         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8921         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8922         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8923         Remove variable.
8924         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8925         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8926         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8928 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8930         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8931         Remove variable.
8932         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8934         [BZ #17668]
8935         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8936         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8937         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8938         __freeifaddrs.  Use libc_hidden_weak.
8939         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8940         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8941         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8942         __freeifaddrs.  Use libc_hidden_weak.
8943         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8944         __getifaddrs and define as weak alias of __getifaddrs.  Use
8945         libc_hidden_weak.
8946         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8947         __freeifaddrs.  Use libc_hidden_weak.
8948         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8949         Remove variable.
8950         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8951         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8953 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8955         [BZ #17601]
8956         * sysdeps/mips/start.S (__start): Use indirect jump to call
8957         __libc_start_main.
8959 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8961         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8963         * nptl/tst-mutex1.c: Include <stdbool.h>.
8964         [!ATTR] (ATTR_NULL): New macro.
8965         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8966         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8967         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8969         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8970         to char *.
8972         [BZ #17665]
8973         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8974         Change conditional to [__USE_MISC].
8976         [BZ #17664]
8977         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8978         fgets_unlocked.
8979         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8980         __fgets_unlocked.
8981         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8982         fgets_unlocked.
8983         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8984         Remove variable.
8985         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8986         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8987         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8988         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8989         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8990         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8991         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8992         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8993         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8995         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8997 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8999         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9000         Remove strpbrk objects.
9001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9002         (__libc_ifunc_impl_list): Remove strpbrk implementation.
9003         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9004         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9005         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9006         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9008         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9009         Remove strcspn objects.
9010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9011         (__libc_ifunc_impl_list): Remove strcspn implementation.
9012         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9013         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9014         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9015         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9017         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9018         Remove strspn objetcs.
9019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9020         (__libc_ifunc_impl_list): Remove strspn implementation.
9021         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9022         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9023         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9024         * sysdeps/powerpc/powerpc64/strspn.S: New file.
9026 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
9028         [BZ #17581]
9029         * malloc/hooks.c
9030         (mem2mem_check): Add a terminator to the chain of checking blocks.
9031         (malloc_check_get_size): Use it here.
9032         (mem2chunk_check): Ditto.
9034 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9036         * sysdeps/powerpc/powerpc64/strtok.S: New file.
9037         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9039 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
9041         * bits/ioctl-types.h: Indent preprocessor directives correctly.
9043         * nptl/nptl-init.c: Include libc-internal.h.
9044         (__pthread_initialize_minimal_internal): Use ROUND_UP.
9046         * elf/ldconfig.c (search_dir): Expand comment.
9048 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
9050         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9051         variable.
9052         (linknamespace-symlist-stdlibs-tests): Likewise.
9053         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9054         instead of $(objpfx)symlist-stdlibs.
9055         (linknamespace-libs-isoc): New variable.
9056         (linknamespace-libs): Use $(linknamespace-libs-isoc).
9057         (linknamespace-libs-ISO): New variable.
9058         (linknamespace-libs-ISO99): Likewise.
9059         (linknamespace-libs-ISO11): Likewise.
9060         (linknamespace-libs-XPG3): Likewise.
9061         (linknamespace-libs-XPG4): Likewise.
9062         (linknamespace-libs-POSIX): Likewise.
9063         (linknamespace-libs-UNIX98): Likewise.
9064         (linknamespace-libs-XOPEN2K): Likewise.
9065         (linknamespace-libs-POSIX2008): Likewise.
9066         (linknamespace-libs-XOPEN2K8): Likewise.
9067         ($(objpfx)symlist-stdlibs): Replace by
9068         $(linknamespace-symlist-stdlibs-tests).  Use
9069         $(linknamespace-libs-$*) as set of libraries.
9070         ($(linknamespace-header-tests)): Update dependencies.  Use
9071         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9072         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9073         * conform/linknamespace.pl: Remove comment about considering
9074         definitions of symbols from irrelevant libraries.
9076 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
9078         [BZ #13862]
9079         * elf/dl-tls.c: Include <atomic.h>.
9080         (oom): Remove #ifdef SHARED/#endif.
9081         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9082         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
9083         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9084         big enough.
9085         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9086         * nptl/Makefile (tests): Add tst-stack4.
9087         (modules-names): Add tst-stack4mod.
9088         ($(objpfx)tst-stack4): New.
9089         (tst-stack4mod.sos): Likewise.
9090         ($(objpfx)tst-stack4.out): Likewise.
9091         ($(tst-stack4mod.sos)): Likewise.
9092         (clean): Likewise.
9093         * nptl/tst-stack4.c: New file.
9094         * nptl/tst-stack4mod.c: Likewise.
9096 2014-11-27  J. Brown  <jb999@gmx.de>
9098         * sysdeps/x86/bits/string.h: Add recent CPUs.
9100 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9102         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9103         sigblock.
9105         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9106         feof.
9108         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9109         variable.
9111 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9113         * nscd/connections.c: Include libc-internal.h because of macro
9114         usage ignore_value.
9116 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9118         * string/bits/string3.h (__warn_memset_zero_len): Don't
9119         declare for gcc newer than 5.0.
9120         (memset): Don't test for zero-length __LEN for gcc newer than
9121         5.0.
9123 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
9125         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9126         size_t for %zu format.
9128         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9129         difference, not %ju.
9131 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9133         * include/libc-internal.h (ignore_value): New macro.
9134         * nscd/connections.c (restart): Wrap calls to setuid and setgid
9135         with ignore_value.
9137         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9138         definition.
9140         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9141         pthread_cleanup_push to void *.
9143         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9144         Undefine.
9146         [BZ #16619]
9147         [BZ #16740]
9148         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9149         instead of 1L << 52.
9151         * libio/bug-rewind.c (do_test): Check fwscanf return values.
9152         * libio/bug-rewind2.c (do_test): Likewise.
9154         * debug/test-stpcpy_chk-ifunc.c: Remove file.
9155         * debug/test-strcpy_chk-ifunc.c: Likewise.
9156         * wcsmbs/test-wcschr-ifunc.c: Likewise.
9157         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9158         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9159         * wcsmbs/test-wcslen-ifunc.c: Likewise.
9160         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9161         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9162         * Rules [$(multi-arch) = no] (tests): Do not filter out
9163         $(tests-ifunc).
9164         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9165         * debug/Makefile (tests-ifunc): Remove variable.
9166         (tests): Do not add $(tests-ifunc).
9167         * wcsmbs/Makefile (tests-ifunc): Remove variable.
9168         (tests): Do not add $(tests-ifunc).
9169         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9170         [TEST_IFUNC]: Remove conditionals.
9171         * string/test-string.h (TEST_IFUNC): Remove macro.
9172         [TEST_IFUNC]: Remove conditionals.
9174         * string/test-strchr.c [!WIDE] (L): New macro.
9175         [WIDE] (L): Likewise.
9176         (check1): Use CHAR instead of char.  Use L on string and character
9177         constants.
9179 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
9181         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9182         tests.
9183         * sysdeps/powerpc/bits/atomic.h
9184         (__arch_atomic_exchange_and_add_32_acq): Add definition.
9185         (__arch_atomic_exchange_and_add_32_rel): Likewise.
9186         (atomic_exchange_and_add_acq): Likewise.
9187         (atomic_exchange_and_add_rel): Likewise.
9188         * sysdeps/powerpc/powerpc32/bits/atomic.h
9189         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9190         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9191         * sysdeps/powerpc/powerpc64/bits/atomic.h
9192         (__arch_atomic_exchange_and_add_64_acq): Add definition.
9193         (__arch_atomic_exchange_and_add_64_rel): Likewise.
9195 2014-11-26  Torvald Riegel  <triegel@redhat.com>
9197         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9198         Change synchronization of __sched_fifo_min_prio and
9199         __sched_fifo_max_prio.
9200         * nptl/pthread_mutexattr_getprioceiling.c
9201         (pthread_mutexattr_getprioceiling): Likewise.
9202         * nptl/pthread_mutexattr_setprioceiling.c
9203         (pthread_mutexattr_setprioceiling): Likewise.
9204         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9205         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9206         Likewise.
9208 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
9210         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9211         void.
9213 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9215         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9216         third argument const.
9218 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
9220         fnmatch: work around GCC compiler warning bug with uninit var
9221         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9222         This works around a bug with x86-64 GCC 4.9.2 and earlier
9223         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9224         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9225         used uninitialized in this function [-Wmaybe-uninitialized]".
9227 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
9229         * posix/bug-regex31.c (main): Return RES not 0.
9231 2014-11-25  Anton Blanchard <anton@samba.org>
9233         * sysdeps/powerpc/bits/atomic.h
9234         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9236 2014-11-24  Sterling Augustine  <saugustine@google.com>
9238         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9240 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
9242         [BZ #17608]
9243         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9245 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
9247         [BZ #17633]
9248         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9249         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9250         variable.
9251         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9252         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9254 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9256         * string/strncpy.c (strncpy): Improve performance by using memset.
9258 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
9260         * string/strcpy.c (strcpy):
9261         Improve performance by using strlen and memcpy.
9263 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
9265         * string/strcoll_l.c (get_next_seq): __always_inline.
9266         * string/strcoll_l.c (do_compare): __always_inline.
9268 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9270         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9271         defined.
9272         * include/mqueue.h: Likewise.
9273         * include/stdlib.h: Likewise.
9275         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9276         (get_null_defines): Adjust.
9277         * sunrpc/Makefile: Adjust comment.
9278         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9279         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9280         (CFLAGS-interp.c): Likewise.
9281         (CFLAGS-ldconfig.c): Likewise.
9282         (CPPFLAGS-.os): Likewise.
9283         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9284         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9285         * extra-modules.mk (extra-modules.mk): Likewise.
9286         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9287         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9288         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9289         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9290         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9291         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9292         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9293         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9294         * iconvdata/Makefile (CPPFLAGS): Likewise.
9295         (cpp-srcs-left): Add libof for all iconvdata routines.
9296         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9297         * include/assert.h: Likewise.
9298         * include/ctype.h: Likewise.
9299         * include/errno.h: Likewise.
9300         * include/libc-symbols.h: Likewise.
9301         * include/math.h: Likewise.
9302         * include/netdb.h: Likewise.
9303         * include/resolv.h: Likewise.
9304         * include/stdio.h: Likewise.
9305         * include/stdlib.h: Likewise.
9306         * include/string.h: Likewise.
9307         * include/sys/stat.h: Likewise.
9308         * include/wctype.h: Likewise.
9309         * intl/l10nflist.c: Likewise.
9310         * libidn/idn-stub.c: Likewise.
9311         * libio/libioP.h: Likewise.
9312         * nptl/libc_multiple_threads.c: Likewise.
9313         * nptl/pthreadP.h: Likewise.
9314         * posix/regex_internal.h: Likewise.
9315         * resolv/res_hconf.c: Likewise.
9316         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9317         * sysdeps/arm/memmove.S: Likewise.
9318         * sysdeps/arm/sysdep.h: Likewise.
9319         * sysdeps/generic/_itoa.h: Likewise.
9320         * sysdeps/generic/symbol-hacks.h: Likewise.
9321         * sysdeps/gnu/errlist.awk: Likewise.
9322         * sysdeps/gnu/errlist.c: Likewise.
9323         * sysdeps/i386/i586/memcpy.S: Likewise.
9324         * sysdeps/i386/i586/memset.S: Likewise.
9325         * sysdeps/i386/i686/memcpy.S: Likewise.
9326         * sysdeps/i386/i686/memmove.S: Likewise.
9327         * sysdeps/i386/i686/mempcpy.S: Likewise.
9328         * sysdeps/i386/i686/memset.S: Likewise.
9329         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9330         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9331         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9332         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9333         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9334         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9335         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9336         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9337         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9338         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9339         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9340         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9341         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9342         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9343         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9344         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9345         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9346         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9347         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9348         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9349         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9350         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9351         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9352         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9353         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9354         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9355         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9356         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9357         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9358         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9359         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9360         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9362         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9363         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9364         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9365         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9366         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9367         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9368         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9369         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9370         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9371         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9372         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9373         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9374         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9375         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9376         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9377         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9378         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9379         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9380         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9381         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9382         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9383         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9384         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9385         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9386         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9387         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9388         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9389         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9390         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9391         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9392         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9393         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9394         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9395         * sysdeps/posix/closedir.c: Likewise.
9396         * sysdeps/posix/opendir.c: Likewise.
9397         * sysdeps/posix/readdir.c: Likewise.
9398         * sysdeps/posix/rewinddir.c: Likewise.
9399         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9400         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9401         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9402         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9403         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9404         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9405         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9407         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9408         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9409         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9410         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9411         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9412         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9413         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9414         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9415         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9416         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9417         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9418         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9419         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9420         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9421         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9422         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9423         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9424         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9425         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9426         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9427         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9428         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9429         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9430         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9431         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9432         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9433         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9434         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9435         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9436         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9437         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9438         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9439         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9440         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9441         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9442         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9443         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9444         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9445         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9446         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9447         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9448         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9449         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9450         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9451         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9452         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9453         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9454         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9455         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9456         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9457         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9458         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9459         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9460         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9461         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9462         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9463         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9464         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9465         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9466         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9467         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9468         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9469         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9470         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9471         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9472         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9473         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9474         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9475         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9476         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9477         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9478         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9479         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9480         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9481         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9482         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9483         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9484         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9485         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9486         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9487         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9488         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9489         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9490         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9491         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9492         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9493         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9494         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9495         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9496         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9497         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9498         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9499         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9500         * sysdeps/unix/alpha/sysdep.S: Likewise.
9501         * sysdeps/unix/alpha/sysdep.h: Likewise.
9502         * sysdeps/unix/make-syscalls.sh: Likewise.
9503         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9504         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9505         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9506         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9507         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9508         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9509         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9510         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9511         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9512         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9513         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9514         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9515         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9516         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9517         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9518         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9519         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9520         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9521         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9522         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9523         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9524         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9525         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9526         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9527         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9528         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9529         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9532         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9533         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9534         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9535         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9536         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9537         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9538         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9539         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9540         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9541         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9542         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9543         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9544         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9545         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9546         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9547         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9548         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9549         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9550         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9551         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9552         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9553         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9554         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9555         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9556         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9557         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9558         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9559         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9560         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9561         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9562         * sysdeps/x86_64/memcpy.S: Likewise.
9563         * sysdeps/x86_64/memmove.c: Likewise.
9564         * sysdeps/x86_64/memset.S: Likewise.
9565         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9566         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9567         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9568         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9569         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9570         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9571         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9572         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9573         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9574         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9575         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9576         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9577         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9578         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9579         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9580         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9581         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9582         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9583         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9584         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9585         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9586         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9587         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9588         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9589         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9590         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9591         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9592         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9593         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9594         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9595         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9596         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9597         * sysdeps/x86_64/strcmp.S: Likewise.
9599         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9601         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9602         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9603         * elf/rtld-Rules: Likewise.
9604         * elf/setup-vdso.h: Likewise.
9605         * include/assert.h: Likewise.
9606         * include/bits/stdlib-float.h: Likewise.
9607         * include/errno.h: Likewise.
9608         * include/sys/stat.h: Likewise.
9609         * include/unistd.h: Likewise.
9610         * sysdeps/aarch64/setjmp.S: Likewise.
9611         * sysdeps/alpha/setjmp.S: Likewise.
9612         * sysdeps/arm/__longjmp.S: Likewise.
9613         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9614         * sysdeps/arm/setjmp.S: Likewise.
9615         * sysdeps/arm/sysdep.h: Likewise.
9616         * sysdeps/generic/_itoa.h: Likewise.
9617         * sysdeps/generic/dl-sysdep.h: Likewise.
9618         * sysdeps/generic/ldsodefs.h: Likewise.
9619         * sysdeps/i386/dl-tls.h: Likewise.
9620         * sysdeps/i386/setjmp.S: Likewise.
9621         * sysdeps/m68k/setjmp.c: Likewise.
9622         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9623         * sysdeps/mach/hurd/opendir.c: Likewise.
9624         * sysdeps/posix/getcwd.c: Likewise.
9625         * sysdeps/posix/opendir.c: Likewise.
9626         * sysdeps/posix/profil.c: Likewise.
9627         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9628         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9629         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9630         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9631         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9632         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9633         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9634         * sysdeps/s390/dl-tls.h: Likewise.
9635         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9636         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9637         * sysdeps/sh/sh3/setjmp.S: Likewise.
9638         * sysdeps/sh/sh4/setjmp.S: Likewise.
9639         * sysdeps/unix/alpha/sysdep.h: Likewise.
9640         * sysdeps/unix/arm/sysdep.S: Likewise.
9641         * sysdeps/unix/i386/sysdep.S: Likewise.
9642         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9643         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9644         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9645         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9646         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9647         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9648         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9649         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9650         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9651         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9652         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9653         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9654         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9657         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9658         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9659         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9660         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9661         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9662         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9663         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9664         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9665         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9666         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9667         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9668         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9669         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9670         * sysdeps/x86_64/setjmp.S: Likewise.
9672         * include/math.h: Use IS_IN instead of IS_IN_libm.
9673         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9674         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9675         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9676         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9677         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9678         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9679         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9680         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9681         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9682         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9683         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9684         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9685         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9686         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9687         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9688         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9689         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9690         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9691         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9692         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9693         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9694         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9695         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9696         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9697         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9698         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9699         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9700         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9701         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9702         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9703         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9704         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9705         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9707         Likewise.
9708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9709         Likewise.
9710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9711         Likewise.
9712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9713         Likewise.
9714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9715         Likewise.
9716         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9717         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9718         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9719         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9720         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9721         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9727         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9728         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9729         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9730         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9731         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9732         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9733         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9734         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9735         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9736         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9737         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9738         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9739         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9740         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9742         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9744         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9745         * nptl/pthreadP.h: Likewise.
9746         * nptl_db/structs.def: Likewise.
9747         * sysdeps/arm/sysdep.h: Likewise.
9748         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9749         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9750         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9751         * sysdeps/unix/alpha/sysdep.h: Likewise.
9752         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9753         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9754         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9755         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9756         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9757         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9758         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9759         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9760         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9761         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9762         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9763         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9764         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9765         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9768         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9769         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9770         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9771         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9772         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9773         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9774         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9775         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9776         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9777         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9779         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9780         * nptl/pthreadP.h: Likewise.
9781         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9782         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9783         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9784         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9785         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9786         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9787         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9788         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9789         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9790         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9791         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9792         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9794         Likewise.
9795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9796         Likewise.
9797         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9798         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9799         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9800         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9801         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9802         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9803         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9804         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9806         * dlfcn/dladdr.c: Use IS_IN.
9807         * dlfcn/dladdr1.c: Likewise.
9808         * dlfcn/dlclose.c: Likewise.
9809         * dlfcn/dlerror.c: Likewise.
9810         * dlfcn/dlinfo.c: Likewise.
9811         * dlfcn/dlmopen.c: Likewise.
9812         * dlfcn/dlopen.c: Likewise.
9813         * dlfcn/dlsym.c: Likewise.
9814         * dlfcn/dlvsym.c: Likewise.
9816         * include/ifaddrs.h: Use IS_IN.
9817         * inet/check_pf.c: Likewise.
9818         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9819         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9821         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9822         IS_IN_ldconfig.
9823         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9824         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9826         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9827         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9828         IS_IN (libc).
9830         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9832         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9833         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9834         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9835         * include/libc-symbols.h (IS_IN_LIB): New macro.
9836         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9837         * include/netdb.h: Likewise.
9838         * include/stap-probe.h: Remove all uses of IN_LIB.
9840         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9841         instead of IN_MODULE.
9842         * include/libc-symbols.h (IN_MODULE): Define using
9843         MODULE_NAME.
9844         (PASTE_NAME, PASTE_NAME1): New macros.
9845         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9846         of IN_LIB.
9847         (STAP_PROBE_ASM): Likewise.
9849 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9851         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9852         __mach_init in dlopened libc.
9854 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9856         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9857         * sysdeps/arm/preconfigure: Regenerate.
9859 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9861         * nptl/pthread_create.c (__pthread_create_2_1): Set
9862         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9863         when copying values from IATTR into PD.
9865 2014-11-21  Will Newton  <will.newton@linaro.org>
9866             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9868         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9869         Refactor inline-asm.  Also add comment.
9871         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9872         ElfW macro instead of hardcoded Elf64 types.
9873         (la_aarch64_gnu_pltenter): Likewise.
9874         * sysdeps/aarch64/dl-machine.h
9875         (elf_machine_runtime_setup): Use ElfW(Addr).
9877         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9878         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9879         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9880         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9881         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9882         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9883         (R_AARCH64_TLS_DTPMOD): This.
9884         (R_AARCH64_TLS_DTPREL64): Rename to ...
9885         (R_AARCH64_TLS_DTPREL): This.
9886         (R_AARCH64_TLS_TPREL64): Rename to ...
9887         (R_AARCH64_TLS_TPREL): This.
9888         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9889         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9890         R_AARCH64_TLS_TPREL64.
9891         (elf_machine_rela): Likewise.
9893 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9895         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9896         by setting it to 0.  64b atomics are not supported currently.
9898 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9900         [BZ #16469]
9901         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9902         search domain names.
9904 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9906         [BZ #16469]
9907         * NEWS: Update.
9908         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9909         trailing dot.
9910         * posix/tst-getaddrinfo5.c: New.
9911         * posix/Makefile (tests): Add it.
9913 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9915         [BZ #14498]
9916         * NEWS: Fixed.
9917         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9918         after parsing line but before break_if_match.
9919         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9920         if there is a protocol mismatch.
9922 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9924         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9925         because the potential race is on the user-supplied stream.
9927 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9929         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9930         string literal if not passed a buffer.
9931         * manual/job.texi (ctermid): Update reasoning, note deviation
9932         from posix, suggest mtasurace when not passed a buffer, for
9933         future non-preliminary safety notes.
9935 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9937         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9938         of not passing it a buffer.
9939         Reported by Peng Haitao.
9941 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9943         * manual/Makefile ($(objpfx)stamp-summary): Require
9944         check-safety.sh to pass.
9945         * manual/check-safety.sh: Wish for verification that every
9946         @deftypefn and @deftypefun is followed by a @safety remark.
9948 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9950         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9952         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9953         PTHREAD_CANCEL_ASYNCHRONOUS.
9954         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9955         send SIGCANCEL.
9957         * nptl/default-sched.h: New file.
9958         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9959         * nptl/pthread_create.c: Include it.
9960         (__pthread_create_2_1): Use collect_default_sched instead of making
9961         Linux syscalls here directly.
9963 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9965         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9966         __pthread_once): Use C11 atomics.
9968 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9970         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9972 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9974         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9975         atomic_thread_fence_acquire, atomic_thread_fence_release,
9976         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9977         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9978         atomic_compare_exchange_weak_relaxed,
9979         atomic_compare_exchange_weak_acquire,
9980         atomic_compare_exchange_weak_release,
9981         atomic_exchange_acquire, atomic_exchange_release,
9982         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9983         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9984         atomic_fetch_and_acquire,
9985         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9987 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9989         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9990         USE_ATOMIC_COMPILER_BUILTINS): Define.
9991         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9992         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9993         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9994         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9995         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9996         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9997         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9998         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9999         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10000         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10001         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10002         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10003         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10004         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10005         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10006         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10007         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10008         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10009         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10010         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10011         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10012         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10013         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10014         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10015         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10016         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10017         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10018         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10019         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10020         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10021         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10022         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10023         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10024         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10025         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10026         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10027         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10028         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10029         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10030         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10032 2014-11-19  Roland McGrath  <roland@hack.frob.com>
10034         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10035         the sched_priority value here.  It was already checked when the user
10036         called pthread_attr_setschedparam.
10038         * nptl/tst-bad-schedattr.c: New file.
10039         * nptl/Makefile (tests): Add it.
10041 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
10042             Florian Weimer  <fweimer@redhat.com>
10043             Joseph Myers  <joseph@codesourcery.com>
10044             Adam Conrad  <adconrad@0c3.net>
10045             Andreas Schwab  <schwab@suse.de>
10046             Brooks  <bmoses@google.com>
10048         [BZ #17625]
10049         * wordexp-test.c (__dso_handle): Add prototype.
10050         (__register_atfork): Likewise.
10051         (__app_register_atfork): New function.
10052         (registered_forks): New global.
10053         (register_fork): New function.
10054         (test_case): Add 3 new tests for WRDE_CMDSUB.
10055         (main): Call __app_register_atfork.
10056         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10057         fork count is non-zero fail the test.
10058         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10059         is set.
10060         (parse_dollars): Remove check for WRDE_NOCMD.
10061         (parse_dquote): Likewise.
10063 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10065         * Makeconfig (built-modules): List non-library modules to be
10066         built.
10067         (module-cppflags): Include libc-modules.h for
10068         everything except shlib-versions.v.i.
10069         (CPPFLAGS): Use it.
10070         (before-compile): Add libc-modules.h.
10071         ($(common-objpfx)libc-modules.h,
10072         $(common-objpfx)libc-modules.stmp): New targets.
10073         (common-generated): Add libc-modules.h and libc-modules.stmp.
10074         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10075         * include/libc-symbols.h: Don't include libc-modules.h.
10076         * include/libc-modules.h: Remove file.
10077         * scripts/gen-libc-modules.awk: New script to generate
10078         libc-modules.h.
10079         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10080         Depend on libc-modules.stmp.
10082         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10084         * Makeconfig (in-module): Get value of libof set for the
10085         translation unit.
10086         (CPPFLAGS): Use $(in-module).
10087         * Makerules: Don't suffix routine names for nonlib.
10088         * include/libc-modules.h: New file.
10089         * include/libc-symbols.h: Include libc-modules.h
10090         (IS_IN): New macro to replace IS_IN_* macros.
10091         * elf/Makefile: Set libof-* for each routine.
10092         * elf/rtld-Rules: Likewise.
10093         * extra-modules.mk: Likewise.
10094         * iconv/Makefile: Likewise.
10095         * iconvdata/Makefile: Likewise.
10096         * locale/Makefile: Likewise.
10097         * malloc/Makefile: Likewise.
10098         * nss/Makefile: Likewise.
10099         * sysdeps/gnu/Makefile: Likewise.
10100         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10101         * sysdeps/unix/sysv/linux/Makefile: Likewise.
10102         * sysdeps/s390/s390-64/Makefile: Likewise.
10103         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
10104         CPPFLAGS for nscd instead of nonlib.
10106 2014-11-18  Roland McGrath  <roland@hack.frob.com>
10108         * nptl/createthread.c: New file.
10110         * nptl/createthread.c: Moved ...
10111         * sysdeps/unix/sysv/linux/createthread.c: ... here.
10113         * nptl/createthread.c: Add proper top-line comment.
10114         (do_clone): Folded into ...
10115         (create_thread): ... here.  Take new arguments STOPPED_START and
10116         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
10117         increment __nptl_threads, do event-reporting logic, do
10118         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10119         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
10120         resource cleanup if sched_setaffinity or sched_setscheduler fails,
10121         just send SIGCANCEL.
10122         * nptl/pthread_create.c: Forward-declare create_thread before
10123         including createthread.c.
10124         (start_thread): Use new macro START_THREAD_DEFN to replace defining
10125         declaration, and new macro START_THREAD_SELF to replace argument.
10126         Remove return statement.
10127         (report_thread_creation): New function.
10128         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
10129         synchronization logic, and __nptl_nthreads increment here, around
10130         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
10131         PD->parent_cancelhandling here, before create_thread.  When
10132         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10133         __deallocate_stack, and ENOMEM translation here.
10135 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
10137         [BZ #17616]
10138         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10139         (mptwo): Rename to __mptwo.
10140         (__inv): Use __mptwo instead of mptwo.
10141         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10142         (mptwo): Rename to __mptwo.
10143         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10144         of mpone and __mptwo instead of mptwo.
10145         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10146         instead of mpone.
10147         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10148         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10149         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10150         of mpone and __mptwo instead of mptwo.
10151         (__mpranred): Use __mpone instead of mpone.
10152         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10153         variable.
10154         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10155         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10156         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10157         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10158         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10159         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10160         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10161         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10162         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10163         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10164         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10165         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10166         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10167         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10168         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10169         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10170         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10171         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10172         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10174 2014-11-18  Tom de Vries  <tom@codesoucery.com>
10176         * manual/signal.texi (Primitives Interrupted by Signals): In section,
10177         replace BSD Handler xref with BSD Signal Handling.
10179 2014-11-17  Richard Henderson  <rth@redhat.com>
10181         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10182         (_FP_PACK_RAW_2): Remove.
10183         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10184         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10185         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10186         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10187         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10188         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10189         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10190         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10191         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10192         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10193         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10194         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10195         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10196         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10197         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10198         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10200 2014-11-14  Roland McGrath  <roland@hack.frob.com>
10202         * signal/signal.h [__USE_MISC]
10203         (struct sigvec): Remove type.
10204         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10205         (sigvec): Remove declaration.
10206         * sysdeps/posix/sigvec.c: Moved ...
10207         * signal/sigvec.c: ... here, replacing old file.
10208         (struct sigvec): New type, copied from old signal.h definition.
10209         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10210         (__sigvec): Convert definition to prototype.
10211         (sigvec): Replace weak_alias with compat_symbol.
10212         * signal/Versions (libc: GLIBC_2.21): New version set.
10213         * include/signal.h: Remove __sigvec declaration.
10214         * sysdeps/unix/bsd/sigvec.c: Remove file.
10215         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10216         * manual/signal.texi (BSD Handler): Remove subsection.
10217         Move siginterrupt up to ...
10218         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
10219         (Blocking in BSD): Fold subsection into its parent.
10220         * NEWS: Mention sigvec removal.
10222 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10224         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10225         (DLA_FMS): Make definition conditional only on [__FMA4__].
10226         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10227         definition.
10229         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10230         Make definition conditional only on [PROF].
10231         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10232         definition.
10233         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10234         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10236         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10237         !__GNUC__].
10238         * include/signal.h (__sigpause): Move declaration above call to
10239         libc_hidden_proto.
10240         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10241         variable.
10242         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10243         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10245 2014-11-14  David S. Miller  <davem@davemloft.net>
10247         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10248         Define before including <string/memcpy.c> and <string/mempcpy.c>.
10250 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
10252         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10253         * configure: Regenerated.
10254         * manual/install.texi (Tools for Compilation): Document a
10255         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10256         compiler verified to work.
10257         * INSTALL: Regenerated.
10259         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10260         redeclare with asm name.
10261         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10262         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10263         including <string.h>.
10264         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10265         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10266         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10267         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10268         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10269         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10270         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10272 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
10274         * stdlib/strtol.c (__strtol): Use prototype definition.
10276         [BZ #17594]
10277         * stdlib/strtol.c (SYM__): New macro.
10278         (SYM__1): Likewise.
10279         (__strtol): Likewise.
10280         (strtol): Rename to __strtol and define as weak alias of
10281         __strtol.  Use libc_hidden_weak.
10283 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10285         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10286         Use numbered labels in inline assembly.
10288 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10290         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10291         Add setjmp LIBC_PROBE.
10292         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10293         Likewise.
10294         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10295         Add longjmp, longjmp_target LIBC_PROBE.
10296         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10297         Likewise.
10299 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10301         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10302         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10303         to get rid of unused variable warning.
10305 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10307         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10308         Check for unwind_backtrace ==  NULL only in SHARED case.
10309         (__backchain_backtrace): Compile only in SHARED case.
10310         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10311         Likewise.
10312         (__backchain_backtrace): Declare as static.
10314 2014-11-12  Roland McGrath  <roland@hack.frob.com>
10316         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10317         (__libc_multiple_threads_ptr): Variable moved ...
10318         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10320 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
10322         * conform/GlibcConform.pm: New file.
10323         * conform/conformtest.pl: Use GlibcConform module.
10324         * conform/linknamespace.pl: New file.
10325         * conform/list-header-symbols.pl: Likewise.
10326         * conform/Makefile (linknamespace-symlists-base): New variable.
10327         (linknamespace-symlists-tests): Likewise.
10328         (linknamespace-header-base): Likewise.
10329         (linknamespace-header-tests): Likewise.
10330         (tests-special): Add new tests.
10331         ($(linknamespace-symlists-tests)): New rule.
10332         (linknamespace-libs): New variable.
10333         ($(objpfx)symlist-stdlibs): New rule.
10334         ($(linknamespace-header-tests)): Likewise.
10335         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10336         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10337         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10338         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10339         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10340         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10341         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10342         (test-xfail-ISO/math.h/linknamespace): Likewise.
10343         (test-xfail-ISO/signal.h/linknamespace): Likewise.
10344         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10345         (test-xfail-ISO/time.h/linknamespace): Likewise.
10346         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10347         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10348         (test-xfail-ISO99/math.h/linknamespace): Likewise.
10349         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10350         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10351         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10352         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10353         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10354         (test-xfail-ISO11/math.h/linknamespace): Likewise.
10355         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10356         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10357         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10358         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10359         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10360         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10361         (test-xfail-XPG3/math.h/linknamespace): Likewise.
10362         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10363         (test-xfail-XPG3/search.h/linknamespace): Likewise.
10364         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10365         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10366         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10367         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10368         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10369         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10370         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10371         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10372         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10373         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10374         (test-xfail-XPG4/math.h/linknamespace): Likewise.
10375         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10376         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10377         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10378         (test-xfail-XPG4/search.h/linknamespace): Likewise.
10379         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10380         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10381         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10382         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10383         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10384         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10385         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10386         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10387         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10388         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10389         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10390         (test-xfail-POSIX/math.h/linknamespace): Likewise.
10391         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10392         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10393         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10394         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10395         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10396         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10397         (test-xfail-POSIX/time.h/linknamespace): Likewise.
10398         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10399         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10400         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10401         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10402         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10403         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10404         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10405         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10406         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10407         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10408         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10409         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10410         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10411         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10412         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10413         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10414         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10415         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10416         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10417         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10418         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10419         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10420         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10421         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10422         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10423         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10424         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10425         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10426         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10427         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10428         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10429         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10430         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10431         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10432         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10433         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10434         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10435         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10436         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10437         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10438         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10439         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10440         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10441         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10442         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10443         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10444         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10445         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10446         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10447         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10448         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10449         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10450         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10451         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10452         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10453         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10454         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10455         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10456         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10457         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10458         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10459         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10460         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10461         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10462         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10463         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10464         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10465         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10466         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10467         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10468         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10469         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10470         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10471         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10472         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10473         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10474         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10475         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10476         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10477         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10478         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10479         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10480         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10481         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10482         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10483         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10484         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10485         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10486         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10487         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10488         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10489         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10490         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10491         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10492         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10493         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10494         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10495         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10497         [BZ #17589]
10498         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10499         of fgets_unlocked.
10501         [BZ #17585]
10502         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10503         (memmem): Rename to __memmem and define as weak alias of
10504         __memmem.  Use libc_hidden_weak.
10505         (__memmem): Use libc_hidden_def.
10506         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10507         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10508         memmem.
10510         [BZ #17582]
10511         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10512         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10513         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10514         and define as weak alias of __fgets_unlocked.  Use
10515         libc_hidden_weak.
10516         (__fgets_unlocked): Use libc_hidden_def.
10517         * include/stdio.h (__fgets_unlocked): Declare.  Use
10518         libc_hidden_proto.
10519         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10520         __fgets_unlocked instead of fgets_unlocked.
10521         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10522         (GET_NPROCS_CONF_PARSER): Likewise.
10523         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10524         (GET_NPROCS_CONF_PARSER): Likewise.
10526         [BZ #17574]
10527         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10528         weak alias of __wmemset.  Use libc_hidden_weak.
10529         (__wmemset): Use libc_hidden_def.
10530         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10531         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10532         of wmemset.
10534         [BZ #17573]
10535         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10536         with asm name __mempcpy.
10537         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10539         [BZ #17572]
10540         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10541         and define as weak alias of __rawmemchr.
10542         (__rawmemchr): Do not define as strong alias of rawmemchr.
10544         [BZ #17571]
10545         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10546         alias of __qsort_r.
10547         (qsort): Call __qsort_r instead of qsort_r.
10548         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10549         (__qsort_r): Declare.  Call libc_hidden_proto.
10550         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10551         instead of qsort_r.
10552         * nscd/gai.c (__qsort_r): Define to qsort_r.
10553         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10554         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10555         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10557         [BZ #17570]
10558         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10559         define as weak alias of __malloc_info.
10561         [BZ #17584]
10562         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10563         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10564         (__rewinddir): Use libc_hidden_def.
10565         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10566         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10567         (__rewinddir): Use libc_hidden_def.
10568         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10569         weak alias of __rewinddir.  Don't use libc_hidden_def.
10570         (__rewinddir): Use libc_hidden_def.
10571         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10572         (__rewinddir): Use libc_hidden_proto.
10573         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10574         rewinddir.
10575         (__getcwd): Use __rewinddir instead of rewinddir.
10577         [BZ #17583]
10578         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10579         alias of __fileno.  Use libc_hidden_weak.
10580         (__fileno): Use libc_hidden_def.
10581         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10582         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10583         alias of __ftello.
10584         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10585         __ftello.
10586         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10587         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10588         libc_hidden_def.
10589         (fread_unlocked): Don't use libc_hidden_ver.
10590         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10591         and define as weak alias of __fread_unlocked.  Don't use
10592         libc_hidden_def.
10593         (__fread_unlocked): Use libc_hidden_def.
10594         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10595         (ftello): Don't use libc_hidden_proto.
10596         (__ftello): Declare.  Use libc_hidden_proto.
10597         (fread_unlocked): Don't use libc_hidden_proto.
10598         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10599         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10600         and __ftello instead of fileno, fread_unlocked and ftello.
10602 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10604         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10605         GOT12.
10606         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10607         Likewise.
10608         (_dl_start_user): Likewise.
10609         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10611 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10612             Siddhesh Poyarekar  <siddhesh@redhat.com>
10614         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10615         Move argv and envp down instead of moving argc up.
10616         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10618 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10620         [BZ #17506]
10621         * test-skeleton.c (main): Return successful if one of
10622         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10623         * string/tst-strcoll-overflow.c: Define expected status.
10625 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10627         [BZ #17475]
10628         * locale/iso-639.def: Define Bhili and Tulu language codes.
10630 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10632         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10634 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10636         [BZ #17555]
10637         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10639 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10641         * configure.ac: Updated check of minimal required version to
10642         2.22.
10643         * manual/install.texi (Tools for Compilation): Updated version
10644         number.
10645         * configure: Regenerated.
10646         * INSTALL: Likewise.
10648 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10650         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10651         __tls_get_addr.
10653 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10655         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10656         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10657         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10658         libc_hidden_weak.
10659         (waitpid): Define as alias of __waitpid.
10660         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10661         __waitpid.
10662         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10663         libc_hidden_weak.
10664         (waitpid): Define as alias of __waitpid.
10665         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10666         __libc_waitpid alias.
10667         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10668         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10669         Likewise.
10670         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10671         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10672         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10673         alias.
10674         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10675         __waitpid.
10676         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10677         libc_hidden_weak.
10678         (waitpid): Define as alias of __waitpid.
10680 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10682         * manual/llio.texi: Add comment that write safety has been
10683         fixed in Linux.
10685         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10686         (localplt-build-dso): Add elf/ld.so.
10687         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10688         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10689         and free for ld.so.
10690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10691         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10693         Likewise.
10694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10695         Likewise.
10696         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10697         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10698         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10699         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10700         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10701         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10702         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10703         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10704         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10705         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10706         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10708 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10710         [BZ #14132]
10711         * include/libc-symbols.h (INTUSE): Remove macro.
10712         (INTDEF): Likewise.
10713         (INTVARDEF): Likewise.
10714         (_INTVARDEF): Likewise.
10715         (INTDEF2): Likewise.
10716         (INTVARDEF2): Likewise.
10717         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10718         rtld_hidden_def instead of INTVARDEF.
10719         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10720         (_dl_starting_up_internal): Remove declaration.
10721         (_dl_starting_up): Use rtld_hidden_proto.
10722         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10723         declaration.
10724         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10725         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10726         _dl_starting_up.
10727         * elf/dl-writev.h (_dl_writev): Likewise.
10728         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10729         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10730         _dl_starting_up_internal.
10732 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10734         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10735         test-skeleton.c.
10737 2014-11-05  Will Newton  <will.newton@linaro.org>
10739         * benchtests/Makefile: (bench-malloc): Add malloc thread
10740         scalability benchmark.
10741         * benchtests/bench-malloc-threads.c: New file.
10743 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10745         * sysdeps/aarch64/strchrnul.S: New file.
10747 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10749         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10750         definition.
10751         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10752         Likwise.
10753         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10754         Likewise.
10755         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10756         Likewise.
10757         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10758         Likewise.
10759         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10760         Likewise.
10762 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10764         * catgets/test-gencat.c: Use test-skeleton.c.
10765         * catgets/tst-catgets.c: Likewise.
10766         * csu/tst-empty.c: Likewise.
10767         * elf/tst-audit2.c: Likewise.
10768         * elf/tst-global1.c: Likewise.
10769         * elf/tst-pathopt.c: Likewise.
10770         * elf/tst-piemod1.c: Likewise.
10771         * elf/tst-tls10.c: Likewise.
10772         * elf/tst-tls11.c: Likewise.
10773         * elf/tst-tls12.c: Likewise.
10774         * gnulib/tst-gcc.c: Likewise.
10775         * iconvdata/tst-e2big.c: Likewise.
10776         * iconvdata/tst-loading.c: Likewise.
10777         * iconv/tst-iconv1.c: Likewise.
10778         * iconv/tst-iconv2.c: Likewise.
10779         * inet/test-inet6_opt.c: Likewise.
10780         * inet/tst-gethnm.c: Likewise.
10781         * inet/tst-network.c: Likewise.
10782         * inet/tst-ntoa.c: Likewise.
10783         * intl/tst-codeset.c: Likewise.
10784         * intl/tst-gettext2.c: Likewise.
10785         * intl/tst-gettext3.c: Likewise.
10786         * intl/tst-ngettext.c: Likewise.
10787         * intl/tst-translit.c: Likewise.
10788         * io/test-stat.c: Likewise.
10789         * libio/test-fmemopen.c: Likewise.
10790         * libio/tst-freopen.c: Likewise.
10791         * libio/tst-sscanf.c: Likewise.
10792         * libio/tst-ungetwc1.c: Likewise.
10793         * libio/tst-ungetwc2.c: Likewise.
10794         * libio/tst-widetext.c: Likewise.
10795         * localedata/tst-ctype.c: Likewise.
10796         * localedata/tst-digits.c: Likewise.
10797         * localedata/tst-leaks.c: Likewise.
10798         * localedata/tst-mbswcs1.c: Likewise.
10799         * localedata/tst-mbswcs2.c: Likewise.
10800         * localedata/tst-mbswcs3.c: Likewise.
10801         * localedata/tst-mbswcs4.c: Likewise.
10802         * localedata/tst-mbswcs5.c: Likewise.
10803         * localedata/tst-setlocale.c: Likewise.
10804         * localedata/tst-trans.c: Likewise.
10805         * localedata/tst-wctype.c: Likewise.
10806         * localedata/tst-xlocale1.c: Likewise.
10807         * login/tst-grantpt.c: Likewise.
10808         * malloc/tst-calloc.c: Likewise.
10809         * malloc/tst-malloc.c: Likewise.
10810         * malloc/tst-mallocstate.c: Likewise.
10811         * malloc/tst-mcheck.c: Likewise.
10812         * malloc/tst-mtrace.c: Likewise.
10813         * malloc/tst-obstack.c: Likewise.
10814         * math/atest-exp2.c: Likewise.
10815         * math/atest-exp.c: Likewise.
10816         * math/atest-sincos.c: Likewise.
10817         * math/test-matherr.c: Likewise.
10818         * math/test-misc.c: Likewise.
10819         * math/test-powl.c: Likewise.
10820         * math/tst-definitions.c: Likewise.
10821         * misc/tst-dirname.c: Likewise.
10822         * misc/tst-efgcvt.c: Likewise.
10823         * misc/tst-fdset.c: Likewise.
10824         * misc/tst-hsearch.c: Likewise.
10825         * misc/tst-mntent2.c: Likewise.
10826         * nptl/tst-sem7.c: Likewise.
10827         * nptl/tst-sem8.c: Likewise.
10828         * nptl/tst-sem9.c: Likewise.
10829         * nss/test-netdb.c: Likewise.
10830         * posix/tst-fnmatch.c: Likewise.
10831         * posix/tst-getlogin.c: Likewise.
10832         * posix/tst-gnuglob.c: Likewise.
10833         * posix/tst-mmap.c: Likewise.
10834         * pwd/tst-getpw.c: Likewise.
10835         * resolv/tst-inet_ntop.c: Likewise.
10836         * rt/tst-timer.c: Likewise.
10837         * stdio-common/test-fseek.c: Likewise.
10838         * stdio-common/test-popen.c: Likewise.
10839         * stdio-common/test-vfprintf.c: Likewise.
10840         * stdio-common/tst-cookie.c: Likewise.
10841         * stdio-common/tst-fileno.c: Likewise.
10842         * stdio-common/tst-gets.c: Likewise.
10843         * stdio-common/tst-obprintf.c: Likewise.
10844         * stdio-common/tst-perror.c: Likewise.
10845         * stdio-common/tst-sprintf2.c: Likewise.
10846         * stdio-common/tst-sprintf3.c: Likewise.
10847         * stdio-common/tst-sprintf.c: Likewise.
10848         * stdio-common/tst-swprintf.c: Likewise.
10849         * stdio-common/tst-tmpnam.c: Likewise.
10850         * stdio-common/tst-unbputc.c: Likewise.
10851         * stdio-common/tst-wc-printf.c: Likewise.
10852         * stdlib/tst-environ.c: Likewise.
10853         * stdlib/tst-fmtmsg.c: Likewise.
10854         * stdlib/tst-limits.c: Likewise.
10855         * stdlib/tst-rand48-2.c: Likewise.
10856         * stdlib/tst-rand48.c: Likewise.
10857         * stdlib/tst-random2.c: Likewise.
10858         * stdlib/tst-random.c: Likewise.
10859         * stdlib/tst-strtol.c: Likewise.
10860         * stdlib/tst-strtoll.c: Likewise.
10861         * stdlib/tst-tls-atexit.c: Likewise.
10862         * stdlib/tst-xpg-basename.c: Likewise.
10863         * string/test-ffs.c: Likewise.
10864         * string/tst-bswap.c: Likewise.
10865         * string/tst-inlcall.c: Likewise.
10866         * string/tst-strtok.c: Likewise.
10867         * string/tst-strxfrm.c: Likewise.
10868         * sysdeps/x86_64/tst-audit10.c: Likewise.
10869         * sysdeps/x86_64/tst-audit3.c: Likewise.
10870         * sysdeps/x86_64/tst-audit4.c: Likewise.
10871         * sysdeps/x86_64/tst-audit5.c: Likewise.
10872         * time/tst-ftime_l.c: Likewise.
10873         * time/tst-getdate.c: Likewise.
10874         * time/tst-mktime3.c: Likewise.
10875         * time/tst-mktime.c: Likewise.
10876         * time/tst-posixtz.c: Likewise.
10877         * time/tst-strptime2.c: Likewise.
10878         * time/tst-strptime3.c: Likewise.
10879         * wcsmbs/tst-btowc.c: Likewise.
10880         * wcsmbs/tst-mbrtowc.c: Likewise.
10881         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10882         * wcsmbs/tst-wchar-h.c: Likewise.
10883         * wcsmbs/tst-wcpncpy.c: Likewise.
10884         * wcsmbs/tst-wcrtomb.c: Likewise.
10885         * wcsmbs/tst-wcsnlen.c: Likewise.
10886         * wcsmbs/tst-wcstof.c: Likewise.
10888 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10890         [BZ #14132]
10891         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10892         INTDEF.
10893         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10894         declaration.
10895         (_dl_mcount): Use rtld_hidden_proto.
10896         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10897         _dl_mcount.
10898         * elf/rtld.c (_rtld_global_ro): Likewise.
10900         [BZ #14132]
10901         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10902         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10903         of _dl_init_internal.
10904         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10905         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10906         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10907         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10908         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10909         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10910         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10911         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10912         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10913         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10914         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10915         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10916         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10917         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10918         * sysdeps/tile/dl-start.S (_start): Likewise.
10919         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10920         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10922         [BZ #14132]
10923         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10924         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10925         (rtld_progname): Make macro definition unconditional.
10926         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10927         INTDEF.
10928         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10929         (dl_main): Likewise.
10930         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10931         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10932         instead of _dl_argv_internal.
10933         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10934         __GI__dl_argv instead of INTUSE(_dl_argv).
10935         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10936         __GI__dl_argv instead of _dl_argv_internal.
10938         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10939         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10940         macro.
10941         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10942         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10943         New macro.
10944         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10945         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10946         macro.
10947         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10948         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10950 2014-11-04  Andreas Schwab  <schwab@suse.de>
10952         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10954 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10956         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10957         mtvsrd instruction in binary form.
10959 2014-11-03  Andreas Schwab  <schwab@suse.de>
10961         [BZ #17522]
10962         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10963         for less than MB_LEN_MAX use a local buffer of that size.
10964         * libio/tst-fputws.c: New file.
10965         * libio/Makefile (tests): Add tst-fputws.
10967 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10969         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10970         the size of the fpu_fr.fpu_dregs[] array.
10972 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10974         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10975         (__nanosleep): Do not define as alias.
10976         (nanosleep): Define as alias of __nanosleep.
10977         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10978         __libc_nanosleep name.
10980 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10982         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10983         install.texi in comment.
10985 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10987         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10988         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10989         ... add here and use lwsync or sync ...
10990         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10991         ... and add here using lwsync.
10993 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10995         * elf/dl-machine-reject-phdr.h: New file.
10996         * elf/dl-load.c: #include that.
10997         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10998         if that returned true.
11000 2014-10-31  Roland McGrath  <roland@hack.frob.com>
11002         [BZ #17496]
11003         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11004         gen-as-const-headers chunk.  Add a big scare comment after the last
11005         safe place to touch before-compile.
11007 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
11009         * manual/install.texi (Tools for Compilation): Update autoconf
11010         version requirements.
11011         * INSTALL: Regenerated.
11013         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11014         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11015         (__libc_pselect): Likewise.
11017         [BZ #14138]
11018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11023 2014-10-31  Torvald Riegel  <triegel@redhat.com>
11025         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11026         correct barrier instruction.
11027         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11028         Likewise.
11029         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11030         Likewise.
11032 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11034         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11035         after defining inlines.  Instead, just use parens to defeat macro
11036         expansion of __isctype in its declaration.
11038 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11040         * include/sys/uio.h (__libc_readv): Remove declaration.
11041         (__libc_writev): Likewise.
11042         * misc/readv.c (__libc_readv): Rename to __readv.
11043         (__readv): Do not define as alias.
11044         (readv): Define as alias of __readv.
11045         * misc/writev.c (__libc_writev): Rename to __writev.
11046         (__writev): Do not define as alias.
11047         (writev): Define as alias of __writev.
11048         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11049         (__readv): Do not define as alias.
11050         (readv): Define unconditionally as alias of __readv.
11051         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11052         (__writev): Do not define as alias.
11053         (writev): Define unconditionally as alias of __writev.
11054         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11055         name.
11056         (writev): Do not define __libc_writev name.
11058 2014-10-30  Roland McGrath  <roland@hack.frob.com>
11060         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11061         (convert_charseq): New function, broken out of ...
11062         (use_from_charmap): ... here.  Call it.
11063         (use_to_charmap): Use convert_charseq and free instead of duplicating
11064         its code with a variable-length stack struct.
11066 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
11068         * include/fcntl.h (__libc_creat): Remove declaration.
11069         * io/creat.c (__libc_creat): Rename to creat.
11070         (creat): Do not define as alias.
11071         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11072         of creat instead of __libc_creat.
11073         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11074         to creat.
11075         (creat): Do not define as alias.
11076         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11077         __libc_creat.
11078         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11079         __libc_creat name.
11080         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11081         Likewise.
11083 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
11085         * manual/llio.texi: Add comments discussing why write() may be
11086         considered MT-unsafe on Linux.
11088 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
11090         * dl-load.c (local_strdup): Remove.
11091         (expand_dynamic_string_token): Use __strdup.
11092         (decompose_rpath): Likewise.
11093         (_dl_map_object): Likewise.
11095 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
11097         [BZ #14132]
11098         * sysdeps/generic/unwind-dw2-fde.c
11099         (__register_frame_info_bases_internal): Do not declare.
11100         (__register_frame_info_table_bases_internal): Likewise.
11101         (__deregister_frame_info_bases_internal): Likewise.
11102         (__register_frame_info_bases): Declare and use hidden_proto before
11103         definition.  Use hidden_def instead of INTDEF.
11104         (__register_frame_info_table_bases): Likewise.
11105         (__deregister_frame_info_bases): Likewise.
11106         (__register_frame_info): Do not use INTUSE.
11107         (__register_frame): Likewise.
11108         (__register_frame_info_table): Likewise.
11109         (__register_frame_table): Likewise.
11110         (__deregister_frame_info): Likewise.
11111         (__deregister_frame): Likewise.
11113 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
11115         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11116         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11117         not undefine.
11118         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11119         Likewise.
11120         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11121         Likewise.
11123 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
11125         [BZ #14138]
11126         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11127         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11128         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11129         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11130         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11131         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11132         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11133         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11134         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11135         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11136         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11137         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11138         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11139         syscall.
11140         (setfsuid): Likewise.
11141         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11142         (setfsuid): Likewise.
11143         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11144         (setfsuid): Likewise.
11145         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11146         Likewise.
11147         (setfsuid): Likewise.
11148         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11149         (setfsuid): Likewise.
11150         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11151         Likewise.
11152         (setfsuid): Likewise.
11154 2014-10-27  Andreas Schwab  <schwab@suse.de>
11156         [BZ #17501]
11157         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11158         check for Slow_SSE4_2 feature bit.
11159         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11160         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11161         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11162         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
11164 2014-10-24  Roland McGrath  <roland@hack.frob.com>
11166         * configure.ac: Validate compiler version with a empirical test of
11167         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11168         $CC -v output.
11169         * configure: Regenerated.
11171         * inet/htons.c (htons): Prototypify.
11172         * inet/htonl.c (htonl): Likewise.
11174 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11176         * string/strncat.c (strncat): Improve performance by using strlen.
11178 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11180         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11182 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11184         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11185         Call libc_fetestexcept_aarch64.
11187 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11189         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11190         Call libc_feholdexcept_aarch64.
11192 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11194         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11195         Call get_rounding_mode.
11197 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11199         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11200         Simplify logic.
11202 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
11204         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11205         Simplify logic.
11207 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
11209         [BZ #14138]
11210         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11211         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11212         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11213         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11214         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11215         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11216         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11217         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11218         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11219         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11220         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11221         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11222         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11223         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11224         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11225         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11226         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11227         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11228         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11229         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11230         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11231         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11232         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11233         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11234         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11235         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11236         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11237         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11238         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11239         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11240         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11241         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11242         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11243         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11244         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11245         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11246         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11247         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11248         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11249         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11250         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11251         syscall.
11252         (geteuid): Likewise.
11253         (getgid): Likewise.
11254         (getuid): Likewise.
11255         (getresgid): Likewise.
11256         (getresuid): Likewise.
11257         (getgroups): Likewise.
11258         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11259         (geteuid): Likewise.
11260         (getgid): Likewise.
11261         (getuid): Likewise.
11262         (getresgid): Likewise.
11263         (getresuid): Likewise.
11264         (getgroups): Likewise.
11265         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11266         (geteuid): Likewise.
11267         (getgid): Likewise.
11268         (getuid): Likewise.
11269         (getresgid): Likewise.
11270         (getresuid): Likewise.
11271         (getgroups): Likewise.
11272         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11273         Likewise.
11274         (geteuid): Likewise.
11275         (getgid): Likewise.
11276         (getuid): Likewise.
11277         (getresgid): Likewise.
11278         (getresuid): Likewise.
11279         (getgroups): Likewise.
11280         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11281         (geteuid): Likewise.
11282         (getgid): Likewise.
11283         (getuid): Likewise.
11284         (getresgid): Likewise.
11285         (getresuid): Likewise.
11286         (getgroups): Likewise.
11287         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11288         Likewise.
11289         (geteuid): Likewise.
11290         (getgid): Likewise.
11291         (getuid): Likewise.
11292         (getgroups): Likewise.
11294         [BZ #14138]
11295         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11296         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11297         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11298         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11299         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11300         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11301         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11302         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11303         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11304         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11305         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11306         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11307         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11308         __chown.
11309         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11310         (lchown): Likewise.
11311         (fchown): Likewise.
11312         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11313         Likewise.
11314         (lchown): Likewise.
11315         (fchown): Likewise.
11316         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11317         (lchown): Likewise.
11318         (fchown): Likewise.
11319         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11320         Likewise.
11321         (lchown): Likewise.
11322         (fchown): Likewise.
11324 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11326         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11327         Simplify logic.
11329 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11331         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11332         Cleanup logic.
11334 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11336         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11337         Remove unused include.
11339 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
11341         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11342         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11343         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11344         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11346 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
11347             Helge Deller <deller@gmx.de>
11349         [BZ #17508]
11350         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11351         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11352         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11354 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
11356         [BZ #14132]
11357         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11358         Remove macro definition.
11359         (__ashrdi3_v_glibc20): Likewise.
11360         (__lshrdi3_v_glibc20): Likewise.
11361         (__cmpdi2_v_glibc20): Likewise.
11362         (__ucmpdi2_v_glibc20): Likewise.
11363         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11364         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11365         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11366         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11367         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11368         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11370 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11372         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11373         old GNU extension [0] syntax.
11374         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11375         alloca rather than an array member with variable length.
11376         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11377         * nscd/nscd.c (invalidate_db): New function, broken out of ...
11378         (parse_opt): ... here.  Likewise use alloca there.
11379         Validate the -i argument before checking for rootness.
11380         (send_shutdown): New function, broken out of ...
11381         (parse_opt): ... here.
11383 2014-10-22  Roland McGrath  <roland@hack.frob.com>
11385         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11386         macro to get at the _rt_local_ro field.
11387         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11388         ([PIC] case) or _dl_hwcap ([!PIC] case).
11389         * sysdeps/arm/setjmp.S: Likewise.
11391         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11392         * sysdeps/arm/configure.ac: New check to define it.
11393         * sysdeps/arm/configure: Regenerated.
11394         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11395         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11396         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11397         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11398         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11399         Use move/movt pair instead of a load.
11400         (LDST_GLOBAL): Macro removed.
11401         (LDR_GLOBAL): New macro replaces it.
11402         (LDR_HIDDEN): New macro.
11403         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11404         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11406         * setjmp/tst-setjmp-static.c: New file.
11407         * setjmp/Makefile (tests): Add it.
11408         (tests-static): New variable.
11410 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
11412         [BZ #17485]
11413         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11415 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
11417         [BZ #14132]
11418         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11420 2014-10-21  Roland McGrath  <roland@hack.frob.com>
11422         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11424 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11426         * io/fts.c (dirent_not_directory): New function.
11427         (fts_build): Call it.
11429 2014-10-20  Roland McGrath  <roland@hack.frob.com>
11431         * nptl/version.c (__nptl_main): Use normal __write rather than
11432         INTERNAL_SYSCALL.
11433         (banner): Update copyright years.
11435         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11436         gettimeofday.
11437         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11438         * nptl/pthread_cond_timedwait.c: Likewise.
11439         * nptl/pthread_mutex_timedlock.c: Likewise.
11440         * nptl/sem_timedwait.c: Likewise.
11442         * sysdeps/nptl/bits/libc-lock.h
11443         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11444         (__libc_lock_init_recursive): Return void, not 0.
11445         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11446         (__libc_rwlock_init): Likewise.
11447         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11449 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11451         [BZ #15215]
11452         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11453         (__pthread_once_slow): ... here.
11454         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11455         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11457 2014-10-20  Torvald Riegel  <triegel@redhat.com>
11459         [BZ #15215]
11460         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11461         __PTHREAD_ONCE_FORK_GEN_INCR): New.
11462         * sysdeps/nptl/fork.c (__libc_fork): Use them.
11463         * nptl/pthread_once.c (__pthread_once): Likewise.
11464         Update comments.
11466 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
11468         [BZ #14138]
11469         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11470         name.
11471         (writev): Use __libc_writev as strong name.
11472         * sysdeps/unix/sysv/linux/readv.c: Remove file.
11473         * sysdeps/unix/sysv/linux/writev.c: Likewise.
11475 2014-10-17  Roland McGrath  <roland@hack.frob.com>
11477         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11479         * sysdeps/i386/nptl/tls.h
11480         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11481         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11482         New macros.
11483         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11484         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11485         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11486         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11487         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11488         Call CHECK_THREAD_SYSINFO instead of doing an assert.
11490         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11491         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11492         on [__NR_futex].
11493         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11494         broken out of ...
11495         (__pthread_mutex_init): ... here.  Call it.
11496         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11497         Conditionalize PI cases on [__NR_futex].
11498         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11499         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11500         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11502         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11503         conditional on [SIGSETXID].
11504         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11505         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11506         is defined.  Likewise for SIGSETXID.
11507         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11508         Conditionalize definitions on [SIGSETXID].
11509         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11510         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11511         unblocking on [SIGCANCEL].
11513         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11514         [__NR_set_robust_list].
11516 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11518         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11519         (do_compare): Likewise.
11521 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11523         [BZ #15884]
11524         * string/strcoll_l.c: Don't include stdio.h.
11525         (coll_seq): Remove members idxarr and rulearr.
11526         (get_next_seq_cached): Remove function.
11527         (get_next_seq): Likewise.
11528         (get_next_seq_nocache): Rename to get_next_seq.
11529         (do_compare): Remove function.
11530         (do_compare_nocache): Rename to do_compare.
11531         (STRCOLL): Remove weight and rules cache.
11533 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11535         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11536         * sysdeps/arm/sfp-machine.h: ... to here.
11537         * sysdeps/arm/Implies: Remove arm/soft-fp.
11539 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11541         * conform/data/sys/utsname.h-data (*_t): Allow.
11542         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11543         [POSIX] (WEXITED): Do not expect constant.
11544         [POSIX] (WSTOPPED): Likewise.
11545         [POSIX] (WNOHANG): Likewise.
11546         [POSIX] (WNOWAIT): Likewise.
11547         [POSIX] (siginfo_t): Do not expect type or elements.
11548         [POSIX] (pid_t): Do not expect type.
11549         [POSIX] (signal.h): Do not allow header.
11550         [POSIX] (sys/resource.h): Likewise.
11551         [POSIX] (si_*): Do not allow pattern.
11552         [POSIX] (W*): Likewise.
11553         [POSIX] (P_*): Likewise.
11554         [POSIX] (BUS_*): Likewise.
11555         [POSIX] (CLD_*): Likewise.
11556         [POSIX] (FPE_*): Likewise.
11557         [POSIX] (ILL_*): Likewise.
11558         [POSIX] (POLL_*): Likewise.
11559         [POSIX] (SEGV_*): Likewise.
11560         [POSIX] (SI_*): Likewise.
11561         [POSIX] (TRAP_*): Likewise.
11562         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11563         variable.
11565 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11567         [BZ #12926]
11568         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11569         infinite loop when __recvmsg returns 0.
11571 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11573         * CANCEL-FCT-WAIVE: Remove file.
11574         * CANCEL-FILE-WAIVE: Likewise.
11576         [BZ #14132]
11577         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11578         instead of INTVARDEF.
11579         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11580         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11581         rtld_hidden_data_def instead of INTVARDEF.
11582         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11583         * elf/dl-deps.c (expand_dst): Likewise.
11584         * elf/dl-load.c (_dl_dst_count): Likewise.
11585         (_dl_dst_substitute): Likewise.
11586         (decompose_rpath): Likewise.
11587         (_dl_init_paths): Likewise.
11588         (open_path): Likewise.
11589         (_dl_map_object): Likewise.
11590         * elf/rtld.c (dl_main): Likewise.
11591         (process_dl_audit): Likewise.
11592         (process_envvars): Likewise.
11593         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11594         Remove declaration.
11595         (__libc_enable_secure): Use rtld_hidden_proto.
11597 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11599         * elf/dl-load.c
11600         (add_path): New function broken out of _dl_rtld_di_serinfo.
11601         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11603 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11605         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11606         parentheses around macro arguments.
11607         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11608         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11609         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11610         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11611         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11612         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11613         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11614         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11615         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11616         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11617         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11618         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11619         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11620         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11621         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11622         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11623         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11624         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11625         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11626         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11627         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11628         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11629         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11630         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11631         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11632         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11633         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11634         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11635         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11636         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11637         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11638         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11639         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11640         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11641         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11642         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11643         Likewise.
11644         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11645         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11646         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11647         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11648         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11649         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11650         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11651         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11652         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11653         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11654         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11655         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11656         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11657         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11658         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11659         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11660         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11661         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11662         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11663         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11664         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11665         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11666         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11667         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11668         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11669         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11670         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11671         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11672         (_FP_FRAC_SRS_1): Likewise.
11673         (_FP_FRAC_CLZ_1): Likewise.
11674         (_FP_MUL_MEAT_1_imm): Likewise.
11675         (_FP_MUL_MEAT_1_wide): Likewise.
11676         (_FP_MUL_MEAT_1_hard): Likewise.
11677         (_FP_SQRT_MEAT_1): Likewise.
11678         (_FP_FRAC_ASSEMBLE_1): Likewise.
11679         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11680         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11681         (__FP_CLZ_2): Likewise.
11682         (_FP_MUL_MEAT_2_wide): Likewise.
11683         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11684         (_FP_MUL_MEAT_2_gmp): Likewise.
11685         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11686         (_FP_SQRT_MEAT_2): Likewise.
11687         (_FP_FRAC_ASSEMBLE_2): Likewise.
11688         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11689         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11690         (_FP_FRAC_CLZ_4): Likewise.
11691         (_FP_MUL_MEAT_4_wide): Likewise.
11692         (_FP_MUL_MEAT_4_gmp): Likewise.
11693         (_FP_SQRT_MEAT_4): Likewise.
11694         (_FP_FRAC_ASSEMBLE_4): Likewise.
11695         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11696         * soft-fp/op-common.h (_FP_CMP): Likewise.
11697         (_FP_CMP_EQ): Likewise.
11698         (_FP_CMP_UNORD): Likewise.
11699         (_FP_TO_INT): Likewise.
11700         (_FP_FROM_INT): Likewise.
11701         [!__FP_CLZ] (__FP_CLZ): Likewise.
11702         (_FP_DIV_HELP_imm): Likewise.
11703         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11704         Likewise.
11705         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11706         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11707         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11708         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11709         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11710         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11711         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11712         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11713         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11714         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11715         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11716         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11717         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11718         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11719         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11720         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11721         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11722         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11723         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11724         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11725         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11726         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11727         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11728         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11729         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11730         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11731         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11732         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11733         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11734         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11735         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11736         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11737         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11738         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11739         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11740         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11741         (FP_UNPACK_RAW_SP): Likewise.
11742         (FP_PACK_RAW_S): Likewise.
11743         (FP_PACK_RAW_SP): Likewise.
11744         (FP_UNPACK_S): Likewise.
11745         (FP_UNPACK_SP): Likewise.
11746         (FP_UNPACK_SEMIRAW_S): Likewise.
11747         (FP_UNPACK_SEMIRAW_SP): Likewise.
11748         (FP_PACK_S): Likewise.
11749         (FP_PACK_SP): Likewise.
11750         (FP_PACK_SEMIRAW_S): Likewise.
11751         (FP_PACK_SEMIRAW_SP): Likewise.
11752         (_FP_SQRT_MEAT_S): Likewise.
11753         (FP_CMP_S): Likewise.
11754         (FP_CMP_EQ_S): Likewise.
11755         (FP_CMP_UNORD_S): Likewise.
11756         (FP_TO_INT_S): Likewise.
11757         (FP_FROM_INT_S): Likewise.
11759         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11761         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11762         (FP_EX_INVALID_IMZ): Likewise.
11763         (FP_EX_INVALID_IMZ_FMA): Likewise.
11764         (FP_EX_INVALID_ISI): Likewise.
11765         (FP_EX_INVALID_ZDZ): Likewise.
11766         (FP_EX_INVALID_IDI): Likewise.
11767         (FP_EX_INVALID_SQRT): Likewise.
11768         (FP_EX_INVALID_CVI): Likewise.
11769         (FP_EX_INVALID_VC): Likewise.
11770         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11771         "invalid" exceptions.
11772         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11773         (_FP_ADD_INTERNAL): Likewise.
11774         (_FP_MUL): Likewise.
11775         (_FP_FMA): Likewise.
11776         (_FP_DIV): Likewise.
11777         (_FP_CMP_CHECK_NAN): Likewise.
11778         (_FP_SQRT): Likewise.
11779         (_FP_TO_INT): Likewise.
11780         (FP_EXTEND): Likewise.
11782 2014-10-09  Allan McRae  <allan@archlinux.org>
11784         * po/fr.po: Update French translation from translation project.
11786 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11788         [BZ #14132]
11789         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11790         of INTDEF.
11791         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11792         (__cxa_atexit): Use libc_hidden_proto.
11793         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11795         [BZ #14132]
11796         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11797         declaration.
11798         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11799         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11800         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11801         [!_ISOMAC] (__iswctype_internal): Likewise.
11802         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11803         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11804         alias.
11805         (fcntl): Remove __fcntl_internal alias.
11806         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11807         __connect_internal alias.
11808         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11809         Likewise.
11811         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11812         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11813         FP_DENORM_ZERO.
11814         (_FP_CHECK_FLUSH_ZERO): New macro.
11815         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11816         (_FP_CMP): Likewise.
11817         (_FP_CMP_EQ): Likewise.
11818         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11819         FP_DENORM_ZERO.
11820         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11821         (FP_TRUNC): Likewise.
11823         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11824         treated as invalid conversion, not as normal exponent.
11826         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11827         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11828         (_FP_CMP_EQ): Likewise.
11829         (_FP_CMP_UNORD): Likewise.
11830         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11831         (FP_CMP_EQ_D): Likewise.
11832         (FP_CMP_UNORD_D): Likewise.
11833         * soft-fp/extended.h (FP_CMP_E): Likewise.
11834         (FP_CMP_EQ_E): Likewise.
11835         (FP_CMP_UNORD_E): Likewise.
11836         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11837         (FP_CMP_EQ_Q): Likewise.
11838         (FP_CMP_UNORD_Q): Likewise.
11839         * soft-fp/single.h (FP_CMP_S): Likewise.
11840         (FP_CMP_EQ_S): Likewise.
11841         (FP_CMP_UNORD_S): Likewise.
11842         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11843         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11844         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11845         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11846         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11847         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11848         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11849         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11850         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11851         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11852         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11853         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11854         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11855         to FP_CMP_Q.
11856         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11857         FP_CMP_Q.
11858         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11859         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11860         FP_CMP_EQ_Q.
11861         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11862         FP_CMP_Q.
11863         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11864         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11865         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11866         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11867         FP_CMP_EQ_Q.
11868         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11869         FP_CMP_Q.
11870         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11871         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11872         FP_CMP_EQ_Q.
11873         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11874         FP_CMP_Q.
11875         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11876         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11877         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11878         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11879         FP_CMP_EQ_Q.
11881         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11882         a subnormal result, set the underflow exception if trapping on
11883         underflow is enabled.
11884         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11885         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11886         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11887         redefine to 0.
11888         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11889         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11890         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11891         * soft-fp/extendxftf2.c (__extendxftf2): Use
11892         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11894         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11895         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11896         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11897         FP_HANDLE_EXCEPTIONS.
11898         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11899         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11900         FP_HANDLE_EXCEPTIONS.
11901         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11902         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11903         FP_HANDLE_EXCEPTIONS.
11904         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11905         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11906         FP_HANDLE_EXCEPTIONS.
11908 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11910         [BZ #14132]
11911         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11912         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11913         use INTUSE.
11914         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11915         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11916         Remove alias.
11917         (__adjtimex): Define using libc_hidden_ver.
11918         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11919         Remove declaration.
11920         (ntp_gettime): Call __adjtimex directly.
11921         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11922         Remove declaration.
11923         (ntp_gettimex): Call __adjtimex directly.
11924         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11925         __adjtimex_internal alias.
11927 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11929         [BZ #17460]
11930         * nscd/nscd.c (more_help): Rewrite list of tables collection
11931         using xstrdup and asprintf.
11933         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11935 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11936             Roland McGrath  <roland@hack.frob.com>
11938         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11939         (do_lookup_unique): ... local function 'enter' here; update callers.
11941 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11943         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11944         compat_symbol calls on [SHARED].
11945         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11946         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11947         Remove.
11948         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11949         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11950         (oldsetrlimit): Remove.
11951         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11953         (lchown): New syscall entry.
11954         (oldsetrlimit): Remove.
11955         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11956         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11957         (oldsetrlimit): Remove.
11958         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11960         [BZ #14138]
11961         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11962         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11963         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11964         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11965         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11966         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11967         (fchown): Likewise.
11968         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11969         (fchown): Likewise.
11970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11971         Likewise.
11973 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11975         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11976         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11977         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11978         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11979         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11980         Likewise.
11981         (__old_sem_post): Likewise.
11983 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11985         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11986         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11987         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11988         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11989         Use INLINE_VSYSCALL macro.
11990         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11991         __vdso_clock_gettime.
11992         * sysdeps/unix/sysv/linux/tile/init-first.c
11993         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11994         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11995         __vdso_clock_gettime.
11997         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11998         to set up frame more cleanly.
12000         * sysdeps/tile/memcmp.c: New file.
12002         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12004         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12005         * sysdeps/tile/tilegx/strcasestr.c: New file.
12006         * sysdeps/tile/tilegx/strnlen.c: New file.
12007         * sysdeps/tile/tilegx/strstr.c: New file.
12009         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12011 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
12013         * nptl/tst-setuid3.c: Write errors to stdout.
12015 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12017         * elf/dl-deps.c
12018         (preload): New functions broken out of _dl_map_object_deps.
12019         (_dl_map_object_deps):  Remove a nested function. Update call sites.
12021 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
12023         [BZ #14138]
12024         * sysdeps/unix/sysv/linux/execve.c: Remove file.
12025         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12027 2014-10-01  Steve Ellcey  <sellcey@mips.com>
12029         * sysdeps/mips/strcmp.S: New.
12031 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
12033         [BZ #14138]
12034         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12035         (linkat): Likewise.
12036         (mkdirat): Likewise.
12037         (readlinkat): Likewise.
12038         (renameat): Likewise.
12039         (symlinkat): Likewise.
12040         (unlinkat): Likewise.
12041         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12042         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12043         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12044         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12045         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12046         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12047         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12049 2014-09-30  Will Newton  <will.newton@linaro.org>
12051         * math/math.h: Define long double math functions if
12052         _LIBC_TEST is defined.
12053         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12055         * localedata/Makefile: Move assignment to tests-special
12056         into an ifdef testing run-built-tests.
12057         * timezone/Makefile: Likewise.
12059 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
12061         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12062         with $(BASH) not $(SHELL).
12064 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
12065             Matthew LeGendre  <legendre1@llnl.gov>
12067         [BZ #17411]
12068         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12069         l_reloc_result.
12071 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12073         * stdio-common/printf_fp.c
12074         (hack_digit): New function, broken out of ...
12075         (__printf_fp): ... local function here.  Update call sites.
12076         hack_digit now takes an additional parameter that is a pointer
12077         to a struct of the referenced locals.  Those locals moved inside
12078         the struct and references updated.
12080 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
12082         * aclocal.m4: Require autoconf 2.69.
12083         * configure: Regenerated.
12084         * sysdeps/aarch64/configure: Likewise.
12085         * sysdeps/alpha/configure: Likewise.
12086         * sysdeps/arm/armv7/configure: Likewise.
12087         * sysdeps/arm/configure: Likewise.
12088         * sysdeps/ia64/configure: Likewise.
12089         * sysdeps/mach/configure: Likewise.
12090         * sysdeps/mips/configure: Likewise.
12091         * sysdeps/s390/configure: Likewise.
12092         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12095         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12096         file.
12097         * sysdeps/ia64/configure.ac: Likewise.
12099 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
12101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12102         specify symbol version for ld.so.  Do not include entry for
12103         libpthread.
12104         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12105         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12106         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12108         [BZ #14171]
12109         * Makeconfig [$(build-shared) = yes]
12110         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12111         makefiles.
12112         [$(build-shared) = yes && $(soversions.mk-done) = t]
12113         ($(common-objpfx)gnu/lib-names.h): Remove rule.
12114         [$(build-shared) = yes && $(soversions.mk-done) = t]
12115         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
12116         to Makerules.
12117         [$(build-shared) = yes && $(soversions.mk-done) = t]
12118         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12119         here.
12120         [$(build-shared) = yes && $(soversions.mk-done) = t]
12121         (common-generated): Don't append gnu/lib-names.h and
12122         gnu/lib-names.stmp here.
12123         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12124         (lib-names-h-abi): New variable.
12125         [$(build-shared) = yes && $(soversions.mk-done) = t]
12126         (lib-names-stmp-abi): Likewise.
12127         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12128         abi-variants] (before-compile): Append
12129         $(common-objpfx)$(lib-names-h-abi).
12130         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12131         abi-variants] (common-generated): Append gnu/lib-names.h.
12132         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12133         abi-variants] (install-others-nosubdir): Depend on
12134         $(inst_includedir)/$(lib-names-h-abi).
12135         [$(build-shared) = yes && $(soversions.mk-done) = t &&
12136         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12137         [$(build-shared) = yes && $(soversions.mk-done) = t]
12138         ($(common-objpfx)$(lib-names-h-abi)): New rule.
12139         [$(build-shared) = yes && $(soversions.mk-done) = t]
12140         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12141         [$(build-shared) = yes && $(soversions.mk-done) = t]
12142         (common-generated): Append $(lib-names-h-abi) and
12143         $(lib-names-stmp-abi).
12144         * scripts/lib-names.awk: Do not handle multi being set.
12145         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12146         Remove variable.
12147         (abi-lp64_be-ld-soname): Likewise.
12148         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12149         Likewise.
12150         (abi-hard-ld-soname): Likewise.
12151         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12152         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12153         Remove variable.
12154         (abi-o32_hard-ld-soname): Likewise.
12155         (abi-o32_soft_2008-ld-soname): Likewise.
12156         (abi-o32_hard_2008-ld-soname): Likewise.
12157         (abi-n32_soft-ld-soname): Likewise.
12158         (abi-n32_hard-ld-soname): Likewise.
12159         (abi-n32_soft_2008-ld-soname): Likewise.
12160         (abi-n32_hard_2008-ld-soname): Likewise.
12161         (abi-n64_soft-ld-soname): Likewise.
12162         (abi-n64_hard-ld-soname): Likewise.
12163         (abi-n64_soft_2008-ld-soname): Likewise.
12164         (abi-n64_hard_2008-ld-soname): Likewise.
12165         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12166         Likewise.
12167         (abi-64-v2-ld-soname): Likewise.
12168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12169         ld.so entries.
12170         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12171         variable.
12172         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12173         entry.
12174         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12175         variable.
12176         (abi-64-ld-soname): Likewise.
12177         (abi-x32-ld-soname): Likewise.
12178         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12179         entry.
12180         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12182 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
12184         [BZ #14138]
12185         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12186         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12187         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12188         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12189         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12190         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12191         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12192         syscall entry for GLIBC_2.2 symbol version.
12193         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12194         Likewise.
12195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12196         (setrlimit): Likewise.
12197         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12198         Likewise.
12200 2014-09-23  Will Newton  <will.newton@linaro.org>
12202         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12203         _LINUX_ARM_SYSDEP_H include guard too.
12204         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12205         define.
12207 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12209         * sysdeps/unix/sysv/linux/eventfd.c:
12210         Make first argument unsigned.
12211         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12212         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12214 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
12216         * socket/recvmmsg.c (recvmmsg): Drop const argument.
12217         * socket/sys/socket.h: Likewise
12218         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12220 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12222         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12224 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
12226         * time/tst-ftime.c: New test.
12227         * time/Makefile (tests): Add tst-ftime.
12229 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
12231         * soft-fp/extended.h: Fix comment formatting.
12232         * soft-fp/op-1.h: Likewise.
12233         * soft-fp/op-2.h: Likewise.
12234         * soft-fp/op-4.h: Likewise.
12235         * soft-fp/op-8.h: Likewise.
12236         * soft-fp/op-common.h: Likewise.
12237         * soft-fp/soft-fp.h: Likewise.
12239         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12241 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
12243         [BZ #6652]
12244         * Makeconfig (soversions-default-setname): Remove variable.
12245         ($(common-objpfx)soversions.i): Don't pass default_setname to
12246         soversions.awk.
12247         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12248         oldest_abi to abi-versions.awk.
12249         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12250         * config.make.in (oldest-abi): Remove variable.
12251         * configure.ac (--enable-oldest-abi): Remove configure option.
12252         * configure: Regenerated.
12253         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12254         text.
12255         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12256         * scripts/soversions.awk: Do not handle default_setname variable.
12257         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12258         variable.
12259         * sysdeps/mach/hurd/configure: Regenerated.
12260         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12261         variable.
12262         * sysdeps/unix/sysv/linux/configure: Regenerated.
12264 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12266         * elf/Makefile (CFLAGS-interp.c): Remove.
12267         ($(elf-objpfx)runtime-linker.h): Generate header with linker
12268         path string.
12269         * elf/interp.c: Include generated runtime-linker.h
12271         * Makerules (lib%.so): Don't include $(+interp) in
12272         prerequisites.
12273         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12274         * dlfcn/eval.c: Remove file.
12276         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12277         macros.
12279         [BZ #17266]
12280         * misc/sys/cdefs.h: Define __extern_always_inline for clang
12281         4.2 and newer.
12283         [BZ #17370]
12284         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12286 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12287             Jakub Jelinek  <jakub@redhat.com>
12289         [BZ #17266]
12290         * libio/stdio.h: Check definition of __fortify_function
12291         instead of __extern_always_inline to include bits/stdio2.h.
12292         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12293         check if __extern_always_inline is defined.
12294         [__USE_MISC || __USE_XOPEN]: Likewise.
12295         [__USE_ISOC99] Likewise.
12296         * misc/sys/cdefs.h (__fortify_function): Define only if
12297         __extern_always_inline is defined.
12298         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12299         __extern_always_inline and __extern_inline only for g++-4.3
12300         and newer or a compatible gcc.
12302 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
12304         [BZ #17371]
12305         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12306         last change to handle zero prefix length.
12308 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12310         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12311         _SC_REGEX_VERSION.
12313         * posix/getconf.c (vars): Add _POSIX_IPV6 and
12314         _POSIX_RAW_SOCKETS.
12316 2014-09-13  Allan McRae  <allan@archlinux.org>
12318         * po/ru.po: Update Russian translation from translation project.
12320 2014-09-12  Roland McGrath  <roland@hack.frob.com>
12322         * locale/programs/locale.c (show_locale_vars): Inline local function
12323         into its sole call site.  Clean up some style nits.
12324         (print_item): New function, broken out of ...
12325         (show_info): ... local function here.  Clean up style nits.
12327         * locale/programs/ld-ctype.c (set_one_default): New function, broken
12328         out of ...
12329         (set_class_defaults): ... local function set_default here.
12330         Define set_default as a macro locally to pass constant parameters.
12331         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12332         rather than a shared local.
12334         * stdlib/rpmatch.c (try): New function, broken out of ...
12335         (rpmatch): ... local function here.  Also, prototypify definition.
12337 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
12339         * scripts/soversions.awk: Do not handle configuration names.
12340         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12341         vendor and os variables to soversions.awk.
12342         * configure.ac: Do not modify gnu-* host_os.
12343         * configure: Regenerated
12344         * shlib-versions: Remove first column with configuration names.
12345         * nptl/shlib-versions: Likewise.
12346         * nptl_db/shlib-versions: Likewise.
12347         * sysdeps/hppa/shlib-versions: Likewise.
12348         * sysdeps/m68k/shlib-versions: Likewise.
12349         * sysdeps/mach/hurd/shlib-versions: Likewise.
12350         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12351         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12352         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12353         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12354         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12355         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12356         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12357         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12359         Likewise.
12360         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12361         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12362         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12363         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12364         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12365         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12366         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12367         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12370         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12372         Regenerated.
12373         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12375         Condition symbol version definitions on [HAVE_ELFV2_ABI].
12377         * shlib-versions: Remove OS-specific entries.  Moved to files in
12378         sysdeps.
12379         * sysdeps/mach/hurd/shlib-versions: New file.
12380         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12382         * nptl/shlib-versions: Remove architecture-specific entries.
12383         Moved to files in sysdeps.
12384         * shlib-versions: Likewise.
12385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12386         file.
12387         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12388         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12389         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12390         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12392         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12393         (UDP_NO_CHECK6_RX): Likewise.
12395 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12397         * sysdeps/posix/sysconf.c (__sysconf): Spell
12398         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12400 2014-08-12  Florian Weimer  <fweimer@redhat.com>
12402         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12403         loading.
12404         * iconv/Versions (__gconv_transliterate): Export for use from
12405         gconv modules.
12406         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12407         (struct __gconv_trans_data, __gconv_trans_fct,
12408         __gconv_trans_context_fct, __gconv_trans_query_fct,
12409         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12410         definitions.
12411         (struct __gconv_step_data): Remove __trans member.
12412         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
12413         longer hidden.  Remove unused trans_data argument.
12414         * iconv/gconv_int.h (struct trans_struct): Remove definition.
12415         (__gconv_translit_find): Remove declaration.
12416         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
12417         prototype.
12418         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12419         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12420         trans_data argument.  Add hidden definition.
12421         (__gconv_translit_find): Remove.
12422         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12423         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12424         * iconv/skeleton.c: Remove transliteration initialization.
12425         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12426         __gconv_step_data initialization.
12427         * libio/iofwide.c (__libio_translit_): Remove.
12428         (_IO_fwide): Adjust struct __gconv_step_data initialization.
12429         * wcsmbs/btowc.c (__btowc): Likewise.
12430         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12431         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12432         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12433         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12434         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12435         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12436         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12437         * wcsmbs/wctob.c (wctob): Likewise.
12439 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12441         [BZ #16194]
12442         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12443         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
12444         register usage.
12445         * sysdeps/x86/Makefile: Adjust.
12447 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12448             Roland McGrath  <roland@hack.frob.com>
12450         * locale/weight.h: Add include guard.
12451         (findidx): Make static rather than auto; take new parameters
12452         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12453         * locale/weightwc.h: Likewise.
12454         * posix/fnmatch_loop.c
12455         (FCT): Change type of EXTRA from int32_t to wint_t.
12456         Don't include either header inside the function.
12457         Call FINDIDX rather than findidx, and pass new arguments.
12458         #undef FINDIDX at the end of the file.
12459         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12460         FINDIDX before including fnmatch_loop.c for the non-wide version.
12461         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12462         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12463         for the wide version.
12464         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12465         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12466         Pass new arguments to findidx.
12467         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12468         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12469         Don't #include it inside the function.  Pass new arguments to findidx.
12470         * posix/regex_internal.h
12471         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12472         (re_string_elem_size_at): Don't #include it inside the function.
12473         Pass new arguments to findidx.
12474         * string/strcoll_l.c: #include WEIGHT_H at top level.
12475         (get_next_seq): Don't #include it inside the function.
12476         Pass new arguments to findidx.
12477         (get_next_seq_nocache): Likewise.
12478         * string/strxfrm_l.c: #include WEIGHT_H at top level.
12479         (STRXFRM): Don't #include it inside the function.
12480         Pass new arguments to findidx.
12482 2014-09-11  Florian Weimer  <fweimer@redhat.com>
12484         [BZ #17344]
12485         * malloc/malloc.c (unlink): Turn asserts into a call to
12486         malloc_printerr.
12488 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
12490         [BZ #17370]
12491         * libio/wfileops (do_ftell_wide): Free OUT.
12493 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12495         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12497 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12499         [BZ #17363]
12500         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12501         group if the current group is empty.
12503 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12505         * benchtests/bench-memset.c (test_main): Add more test from size
12506         from 32 to 512 bytes.
12507         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12508         Add POWER8 memset object.
12509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12510         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12511         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12512         implementation.
12513         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12514         Likewise.
12515         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12516         multiarch POWER8 memset optimization.
12517         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12518         POWER8 memset optimization.
12520         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12521         Remove bzero multiarch objects.
12522         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12523         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12524         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12525         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12526         Remove define.
12527         [__bzero]: Redefine to specific name.
12528         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12529         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12530         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12531         define.
12532         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12533         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12535 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12537         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12538         warnings into errors.
12540         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12541         __cxa_thread_atexit_impl prototype.
12543 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12545         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12546         Fix capitalization of error message.
12548 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12550         * sysdeps/mips/preconfigure: Modify ABI tests.
12552 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12554         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12556 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12557             Carlos O'Donell  <carlos@systemhalted.org>
12559         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12560         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12561         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12562         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12563         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12564         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12565         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12566         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12567         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12568         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12569         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12570         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12571         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12572         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12573         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12574         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12575         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12576         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12577         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12578         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12579         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12580         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12581         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12582         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12583         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12584         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12585         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12586         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12587         Deconditionalize the code that was previously under [RESET_PID].
12588         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12589         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12590         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12591         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12592         include sysdep.h.
12594 2014-09-08  Allan McRae  <allan@archlinux.org>
12596         * version.h (RELEASE): Set to "development".
12597         (VERSION): Set to "2.20.90"
12599 2014-09-07  Allan McRae  <allan@archlinux.org
12601         * version.h (RELEASE): Set to "stable".
12602         (VERSION): Set to "2.20"
12603         * include/features.h (__GLIBC_MINOR__): Set to 20.
12605         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12606         Liebler.
12608         * po/ko.po: Update Korean translation from translation project.
12610 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12612         [BZ #17354]
12613         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12614         macro for handling signed relocations.
12616 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12618         [BZ #17325]
12619         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12620         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12621         assert.
12622         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12623         * iconvdata/ibm935.c (BODY): Likewise.
12624         * iconvdata/ibm937.c (BODY): Likewise.
12625         * iconvdata/ibm939.c (BODY): Likewise.
12626         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12627         assert.
12628         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12629         script.
12630         * iconvdata/run-iconv-test.sh: New test loop for checking for
12631         decoder crashers.
12633 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12635         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12636         libm_hidden_ver.
12638 2014-09-01  Allan McRae  <allan@archlinux.org>
12640         * po/eo.po: Update Esperanto translation from translation project.
12642         * po/ca.po: Update Catalan translation from translation project.
12644 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12646         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12647         __proc_dostop call.
12649 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12651         [BZ #17319]
12652         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12653         to call set_thread_area instead of hand written asm.
12654         (__NR_set_thread_area): Removed define.
12655         (TLS_FLAG_WRITABLE): Likewise.
12656         (__ASSUME_SET_THREAD_AREA): Remove check.
12657         (TLS_EBX_ARG): Remove define.
12658         (TLS_LOAD_EBX): Likewise.
12660 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12662         Simplify atomicity of socket creation in bind.
12664         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12665         looking up the name after linking the file.
12667 2014-08-27  Allan McRae  <allan@archlinux.org>
12669         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12671 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12673         [BZ #17187]
12674         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12675         trans_compare, open_translit, __gconv_translit_find):
12676         Remove module loading code.
12678 2014-08-26  Allan McRae  <allan@archlinux.org>
12680         * po/vi.po: Update Vietnamese translation from translation project.
12682         * po/uk.po: Update Ukrainian translation from translation project.
12684         * po/fr.po: Update French translation from translation project.
12686         * po/ru.po: Update Russian translation from translation project.
12688         * po/pl.po: Update Polish translation from translation project.
12690         * po/cs.po: Update Czech translation from translation project.
12692         * po/de.po: Update German translation from translation project.
12694         * po/bg.po: Update Bulgarian translation from translation project.
12696         * po/sv.po: Update Sweedish translation from translation project.
12698         * po/nl.po: Update Dutch translation from translation project.
12700         * po/es.po: Update Spanish translation from translation project.
12702 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12704         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12706         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12707         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12708         (CPPFLAGS-iconvconfig): Likewise.
12709         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12711         * include/libc-symbols.h: Remove unnecessary check for
12712         NOT_IN_libc.
12713         * nptl/pthreadP.h: Likewise.
12714         * sysdeps/aarch64/setjmp.S: Likewise.
12715         * sysdeps/alpha/setjmp.S: Likewise.
12716         * sysdeps/arm/sysdep.h: Likewise.
12717         * sysdeps/i386/setjmp.S: Likewise.
12718         * sysdeps/m68k/setjmp.c: Likewise.
12719         * sysdeps/posix/getcwd.c: Likewise.
12720         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12721         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12722         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12723         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12724         * sysdeps/sh/sh3/setjmp.S: Likewise.
12725         * sysdeps/sh/sh4/setjmp.S: Likewise.
12726         * sysdeps/unix/alpha/sysdep.h: Likewise.
12727         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12728         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12729         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12730         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12734         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12735         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12736         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12737         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12738         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12740         * sysdeps/x86_64/setjmp.S: Likewise.
12742 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12744         [BZ #17263]
12745         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12746         <stdint.h>.
12747         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12748         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12750 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12752         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12754         [BZ #17262]
12755         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12756         and __x86_64__ when disabling x87 inline functions.
12758 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12760         [BZ #17259]
12761         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12762         asm statement with __cpuid_count.
12764 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12766         * configure.ac: Change __ehdr_start code to dereference the struct.
12767         Run readelf on the output to look for relocations.
12768         * configure: Regenerated.
12770 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12772         [BZ #17261]
12773         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12774         value to 0.
12775         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12777 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12779         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12781 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12783         [BZ #16892]
12784         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12785         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12787 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12789         * malloc/malloc.c: Fix typo in comment.
12791 2014-08-09  Allan McRae  <allan@archlinux.org>
12793         * Regenerate libc.po.
12795 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12797         * intl/tst-gettext2.sh: Check every lang file for creation.
12799 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12801         * sysdeps/aarch64/fpu/math_private.h
12802         (libc_feholdsetround_noex_aarch64_ctx): New function.
12804 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12806         * sysdeps/arm/armv6/strcpy.S (strcpy):
12807         Fix performance issue in misaligned cases.
12809 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12811         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12812         Move definition from termios.h.
12813         (struct termio): Likewise.
12814         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12815         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12816         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12817         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12818         Likewise.
12819         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12820         Move definition to ioctl-types.h
12821         (struct termio): Likewise.
12822         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12823         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12824         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12825         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12826         Likewise.
12828 2014-08-05  Richard Henderson  <rth@redhat.com>
12830         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12831         exceptions.
12832         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12833         Add fraiseexcpt.
12834         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12835         Use __feraiseexcept.
12836         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12837         Protect libm symbols with IS_IN_libm.
12839         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12841 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12843         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12845 2014-08-04  Will Newton  <will.newton@linaro.org>
12847         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12848         file.
12850 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12852         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12853         variants for each function.
12855 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12857         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12858         appended ...
12859         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12860         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12861         appended ...
12862         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12863         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12864         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12865         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12866         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12867         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12868         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12869         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12870         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12871         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12872         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12873         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12874         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12875         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12876         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12877         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12878         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12879         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12880         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12881         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12882         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12883         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12884         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12885         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12886         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12887         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12888         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12889         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12890         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12891         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12892         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12893         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12894         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12895         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12896         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12897         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12898         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12899         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12900         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12901         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12902         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12903         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12904         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12905         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12906         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12907         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12908         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12909         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12910         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12911         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12912         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12913         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12914         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12915         Update #include.
12916         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12917         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12919 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12921         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12922         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12923         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12924         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12925         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12926         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12928 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12930         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12931         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12932         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12933         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12935 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12937         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12938         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12939         (__libc_vfork): Define function under this name.
12940         (__vfork): Define as an alias.
12941         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12942         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12944 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12946         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12947         that was previously under [RESET_PID].
12948         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12950 2014-08-04  Andreas Schwab  <schwab@suse.de>
12952         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12954 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12956         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12957         (main): Likewise.
12959 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12961         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12963 2014-08-01  Richard Henderon  <rth@redhat.com>
12965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12966         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12967         typo in exact zero test.
12968         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12969         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12970         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12972 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12974         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12975         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12976         * sysdeps/arm/sysdep.h: ... here.
12977         [!__ASSEMBLER__]: Include <stdint.h>.
12979 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12981         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12982         (HAVE_WCTYPE_H): Likewise.
12983         (HAVE_ISWCTYPE): Likewise.
12984         (ENABLE_NLS): Likewise.
12985         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12986         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12988         * posix/regex_internal.c: Check if DEBUG is defined and is
12989         set.
12991         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12992         (HAVE_MBSRTOWCS): Likewise.
12993         * posix/fnmatch.c: Include string.h unconditionally.
12995 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12997         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12998         reversal.
13000 2014-07-31  Roland McGrath  <roland@hack.frob.com>
13002         * sysdeps/generic/safe-fatal.h: New file.
13003         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13004         * nptl/forward.c: Include it.
13005         (__pthread_unwind): Use __safe_fatal as default action, rather
13006         than a bogus use of INTERNAL_SYSCALL that could never work.
13008         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13009         * configure.ac (libc_cv_builtin_trap): New test.
13010         * configure: Regenerated.
13011         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13012         (ABORT_INSTRUCTION): Define using __builtin_trap.
13014         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13015         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13016         * sysdeps/nptl/nptl-signals.h: New file.
13017         * nptl/pthreadP.h: Include <nptl-signals.h>.
13019 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13021         * sysdeps/s390/s390-64/utf16-utf32-z9.c
13022         (ONE_DIRECTION): Define.
13023         * sysdeps/s390/s390-64/utf8-utf16-z9.c
13024         (ONE_DIRECTION): Define.
13025         * sysdeps/s390/s390-64/utf8-utf32-z9.c
13026         (ONE_DIRECTION): Define.
13028 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13030         * sysdeps/s390/Makefile: Delete file.
13031         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13032         * sysdeps/s390/__longjmp.c: Delete file.
13033         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13034         Remove fields __flags and __reserved.
13035         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13036         and add versioning.
13037         * sysdeps/s390/rtld-__longjmp.c: Delete file.
13038         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13039         * sysdeps/s390/rtld-setjmp.S: Likewise.
13040         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13041         * sysdeps/s390/s390-32/__longjmp.c: ... here.
13042         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13043         * sysdeps/s390/s390-32/setjmp.S: ... here.
13044         Add versioning.
13045         (__sigsetjmp): Remove setting __flags field.
13046         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13047         * sysdeps/s390/s390-64/__longjmp.c: ... here.
13048         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13049         * sysdeps/s390/s390-64/setjmp.S: ... here.
13050         Add versioning.
13051         (__sigsetjmp): Remove setting __flags field.
13052         * sysdeps/s390/setjmp.S: Delete file.
13053         * sysdeps/s390/sigjmp.c: Likewise.
13054         * sysdeps/s390/v1-longjmp.c: Likewise.
13055         * sysdeps/s390/v1-setjmp.h: Likewise.
13056         * sysdeps/s390/v1-sigjmp.c: Likewise.
13057         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13058         Remove v1-longjmp_chk.
13059         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13060         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13061         Include debug/longjmp_chk.c and add versioning.
13062         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13063         Include nptl/pt-longjmp.c and add versioning.
13064         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13065         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13066         Include __longjmp.c.
13067         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13068         Move to ...
13069         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13070         (__getcontext): Remove setting __flags field.
13071         Add versioning.
13072         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13073         Don't restore upper high grps.
13074         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13075         Likewise.
13076         (__swapcontext): Remove setting uc_flags field.
13077         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13078         Delete file.
13079         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13080         Include __longjmp.c.
13081         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13082         Move to ...
13083         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13084         (__getcontext): Remove setting __flags field.
13085         Add versioning.
13086         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13087         (__swapcontext): Remove setting uc_flags field.
13088         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13089         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13090         Remove fields uc_high_gprs and __reserved.
13091         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13092         New file with reverted content.
13093         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13094         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13095         Regenerated.
13096         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13097         Regenerated.
13099 2014-07-31  Andreas Schwab  <schwab@suse.de>
13101         * config.h.in (HAVE_IFUNC): Define to 0.
13102         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13103         definedness.
13105 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
13107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13108         memmove-avx-unaligned, memcpy-avx-unaligned and
13109         mempcpy-avx-unaligned.
13110         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13111         Add tests for AVX memcpy functions.
13112         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13113         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13114         memcpy_chk.
13115         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13116         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13117         memmove_chk.
13118         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13119         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13120         mempcpy_chk.
13121         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13122         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13123         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13125 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13127         [BZ #17213]
13128         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13129         powerpc64le.
13131 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
13133         [BZ #16839]
13134         * manual/llio.texi: Add section about open file description locks.
13135         * manual/examples/ofdlocks.c: Example of open file description
13136         lock usage.
13137         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13138         F_OFD_SETLK, and F_OFD_SETLKW.
13140 2014-07-23  Allan McRae  <allan@archlinux.org>
13142         * po/es.po: Update Spanish translation from translation project.
13144 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
13146         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13148 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
13150         [BZ #17078]
13151         * sysdeps/arm/dl-machine.h (elf_machine_rela)
13152         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13153         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13155 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
13157         [BZ #17088]
13158         * math/fesetenv.c (__fesetenv)
13159         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13160         * math/feupdateenv.c (__feupdateenv)
13161         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13163         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13164         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13165         (__ASSUME_SOCKETCALL): Do not define.
13167         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13168         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13169         (__ASSUME_SOCKETCALL): Do not define.
13170         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13171         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13172         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13173         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13174         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13175         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13176         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13177         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13179         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13180         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13181         (__ASSUME_SOCKETCALL): Do not define.
13182         (__ASSUME_IPC64): Define unconditionally.
13183         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13184         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13185         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13186         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13187         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13188         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13189         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13190         Likewise.
13192         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13193         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13194         (__ASSUME_SOCKETCALL): Do not define.
13195         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13196         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13197         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13198         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13199         (__ASSUME_REQUEUE_PI): Define unconditionally.
13200         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13201         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13202         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13203         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13204         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13205         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13207         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13208         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13209         (__ASSUME_SOCKETCALL): Do not define.
13210         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13211         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13212         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13213         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13214         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13215         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13217         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13218         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13219         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13220         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13221         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13222         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13223         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13224         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13225         (__ASSUME_GETCPU_SYSCALL): Likewise.
13227         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13228         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
13229         cases for individual architectures.
13230         * sysdeps/gnu/configure: Regenerated.
13231         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13232         LIBC_SLIBDIR_RTLDDIR.
13233         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13234         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13235         LIBC_SLIBDIR_RTLDDIR.
13236         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13238         LIBC_SLIBDIR_RTLDDIR.
13239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13240         Regenerated.
13241         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13242         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13243         file.
13244         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13245         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13246         file.
13247         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13248         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13249         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13250         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13252         * sysdeps/aarch64/shlib-versions: Move to ...
13253         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13254         * sysdeps/alpha/shlib-versions: Move to ...
13255         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13256         * sysdeps/arm/shlib-versions: Move to ...
13257         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13258         * sysdeps/hppa/shlib-versions: Move all contents except for
13259         libgcc_s entry to ...
13260         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
13261         entry from ...
13262         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
13263         * sysdeps/ia64/shlib-versions: Move to ...
13264         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
13265         entry from ...
13266         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
13267         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13268         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13269         * sysdeps/microblaze/shlib-versions: Move to ...
13270         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13271         * sysdeps/mips/shlib-versions: Move to ...
13272         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
13273         entry from ...
13274         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
13275         * sysdeps/tile/shlib-versions: Move to ...
13276         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13277         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13278         from ...
13279         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
13280         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13281         entry from ...
13282         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
13284 2014-07-17  Will Newton  <will.newton@linaro.org>
13286         * sysdeps/arm/bits/atomic.h
13287         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13288         (__arch_compare_and_exchange_bool_16_int): Likewise.
13289         (__arch_compare_and_exchange_bool_64_int): Likewise.
13291         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13292         into an #else block.
13294 2014-07-16  Roland McGrath  <roland@hack.frob.com>
13296         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13297         just Linux configurations.  Test empirically that the compiler sets
13298         __ARM_EABI__, rather than using the tuple to decide.
13299         * sysdeps/arm/preconfigure: Regenerated.
13300         * sysdeps/unix/sysv/linux/arm/configure: File removed.
13301         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13302         contents appended ...
13303         * sysdeps/arm/configure.ac: ... here.
13304         * sysdeps/arm/configure: Regenerated.
13306 2014-07-15  Roland McGrath  <roland@hack.frob.com>
13308         * nptl/pthread_kill.c: New file.
13309         * nptl/pthread_sigmask.c: New file.
13310         * nptl/pthread_sigqueue.c: New file.
13312         * sysdeps/nptl/lowlevellock.h: New file.
13313         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13314         * sysdeps/nptl/lowlevellock-futex.h: New file.
13316         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13317         Remove dead declarations.
13319 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
13321         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13322         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13323         config-cflags-avx2.
13324         * sysdeps/x86_64/configure.ac: Likewise.
13325         * sysdeps/i386/configure: Regenerated.
13326         * sysdeps/x86_64/configure: Likewise.
13327         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13328         memset-avx2 only if config-cflags-avx2 is yes.
13329         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13330         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13331         defined.
13332         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13333         only if HAVE_AVX2_SUPPORT is defined.
13334         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13336 2014-07-14  Alan Modra  <amodra@gmail.com>
13338         [BZ #17153]
13339         * elf/elf.h (DT_PPC64_NUM): Correct value.
13340         * NEWS: Add to fixed bug list.
13342 2014-07-13  Jim Meyering  <meyering@fb.com>
13344         [BZ 17150]
13345         regex: don't deref NULL upon heap allocation failure
13346         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13347         failure in one more place.
13348         To trigger the segfault, configure grep -with-included-regex,
13349         build it, and run these commands:
13350         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13352 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
13354         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13356 2014-07-11  Richard Henderson  <rth@redhat.com>
13358         * sysdeps/aarch64/libm-test-ulps: Update.
13360 2014-07-10  Florian Weimer  <fweimer@redhat.com>
13362         [BZ #17135]
13363         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13364         * nptl/allocatestack.c (__nptl_setxid_error): New function.
13365         (__nptl_setxid): Initialize error member.  Call
13366         __nptl_setxid_error.
13367         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13368         * nptl/descr.h (struct xid_command): Add error member.
13369         * nptl/tst-setuid3.c: New file.
13370         * nptl/Makefile (tests): Add it.
13372 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13374         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13375         New define.
13376         (__lll_trylock): Use __lll_base_trylock.
13377         (__lll_cond_trylock): Likewise.
13379 2014-07-10  Roland McGrath  <roland@hack.frob.com>
13381         * nptl/pthread_create.c (start_thread): Use atomic_or and
13382         lll_futex_wake directly rather than lll_robust_dead.
13383         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13384         (lll_robust_dead): Macro removed.
13385         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13386         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13387         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13388         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13389         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13390         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13391         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13392         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13393         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13394         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13395         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13396         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13397         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13398         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13399         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13401         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13402         Use atomic_compare_and_exchange_val_acq directly rather than
13403         lll_robust_trylock.
13404         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13405         (__lll_robust_trylock, lll_robust_trylock): Removed.
13406         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13407         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13408         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13409         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13410         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13411         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13412         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13413         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13414         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13415         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13416         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13417         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13418         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13419         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13421 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13423         * manual/locale.texi (Locale Names): New section documenting
13424         locale name syntax.  Adjust menu and node chaining accordingly.
13425         (Choosing Locale): Reference Locale Names, Locale Categories.
13426         Mention setting LC_ALL=C.  Reflect that name syntax is now
13427         documented.
13428         (Locale Categories): New section title.  Reference Locale Names.
13429         LC_ALL is an environment variable, but not a category.
13430         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13431         description, now in Locale Name.  Reference that section.  Locale
13432         name syntax is now documented.
13434 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13436         [BZ #17137]
13437         * locale/findlocale.c (name_present, valid_locale_name): New
13438         functions.
13439         (_nl_find_locale): Use the loc_name variable to store name
13440         candidates.  Call name_present and valid_locale_name to check and
13441         validate locale names.  Return an error if the locale is invalid.
13443 2014-07-02  Florian Weimer  <fweimer@redhat.com>
13445         * locale/setlocale.c (setlocale): Use strdup for allocating
13446         composite name copy.
13448 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13450         Sync up with gnulib.
13451         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13452         [!_LIBC && ENABLE_NLS]: Include gettext.h.
13453         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13454         and _GL_ARG_NONNULL.
13455         [USE_UNLOCKED_IO]: Include unlocked-io.h.
13456         [!_LIBC]: Include code for Windows and Cygwin.
13457         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13458         Include prototype for int strerror_r.
13459         [!_LIBC] (is_open): New function.
13460         (flush_stdout): New function.
13461         (print_errno_message): Use it.
13462         (error): Likewise.
13463         (error_at_line): Likewise.
13464         (error_tail) Add function attribute macros.  Use
13465         __builtin_expect.
13467         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13469         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13471         * io/ftw.c: Include sys/param.h unconditionally.
13473         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13475         [BZ #17125]
13476         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13477         libc_freeres_ptr.
13478         (freecache): New function to free CACHE on exit.
13480         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13481         initialization.
13483 2014-07-09  David S. Miller  <davem@davemloft.net>
13485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13487         * sysdeps/sparc/nptl/internaltypes.h: Delete.
13488         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13489         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13490         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13491         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13492         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13493         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13494         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13495         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13496         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13497         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13498         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13499         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13501 2014-07-09  Andreas Schwab  <schwab@suse.de>
13503         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13504         output.
13505         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13506         (do_test): Likewise.
13508         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13510 2014-07-09  Will Newton  <will.newton@linaro.org>
13512         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13513         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13514         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13515         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13516         * sysdeps/hppa/start.S (_start): Likewise.
13518 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13520         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13522         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13523         defined.
13525 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13527         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13528         after checking that it is non-NULL.
13530         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13532 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13534         * sysdeps/powerpc/memmove.c: Remove file.
13535         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13536         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13537         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13538         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13539         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13540         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13541         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13542         string memmove instead of removed powerpc one.
13544         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13545         [weak_alias]: Fix compiler warning due trailing data.
13546         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13547         [weak_alias]: Likewise.
13548         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13549         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13551         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13552         (__libc_ifunc_impl_list): Add memmove functions.
13554 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13556         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13557         Remove code.
13558         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13559         Likewise
13560         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13561         Likewise
13562         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13563         Likewise
13564         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13565         Likewise
13566         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13567         Likewise
13568         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13569         Likewise
13570         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13571         Likewise
13572         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13573         Likewise
13574         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13575         Likewise
13576         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13577         Likewise
13578         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13579         Likewise
13580         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13581         Likewise
13582         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13583         Likewise
13584         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13585         Likewise
13586         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13587         Likewise
13588         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13589         Likewise
13591 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13593         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13594         to avoid alignment traps in non-cacheable memory.
13595         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13597         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13598         multiarch objects.
13599         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13600         file: multiarch power7 memmove.
13601         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13602         multiarch default memmove.
13603         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13604         multiarch memove for powerpc32/power4.
13606         * string/bcopy.c: Use full path to include memmove.c.
13607         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13608         multiarch objects.
13609         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13610         bcopy for powerpc64.
13611         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13612         bcopy for powerpc64.
13613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13614         and memmove implementations.
13615         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13616         optimized multiarch memmove for POWER7/powerpc64.
13617         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13618         default multiarch memmove for powerpc64.
13619         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13620         multiarch for powerpc64.
13621         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13622         for POWER7/powerpc64.
13623         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13624         memmove for POWER7/powerpc64.
13626         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13627         glibc default one.
13629         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13630         __ELF_NATIVE_CLASS equal to 64.
13632 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13634         * sysdeps/nptl/lowlevellock.h: File removed.
13636         * NEWS: NPTL is no longer an add-on!
13637         * nptl/internaltypes.h: Moved ...
13638         * sysdeps/nptl/internaltypes.h: ... here.
13639         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13640         * sysdeps/nptl/fork.c: Likewise.
13641         * sysdeps/nptl/gai_misc.h: Likewise.
13642         * sysdeps/nptl/librt-cancellation.c: Likewise.
13643         * sysdeps/nptl/jmp-unwind.c: Likewise.
13644         * sysdeps/nptl/setxid.h: Likewise.
13645         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13646         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13647         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13648         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13649         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13650         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13651         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13652         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13653         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13654         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13655         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13656         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13657         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13658         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13659         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13660         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13661         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13662         * nptl/Makeconfig: Moved ...
13663         * sysdeps/nptl/Makeconfig: ... here.
13664         * nptl/configure: File removed.
13665         * nptl/ANNOUNCE: File removed.
13666         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13667         * sysdeps/unix/sysv/linux/configure: Regenerated.
13669         * nptl/Makefile (routines): Add libc_pthread_init,
13670         libc_multiple_threads, register-atfork and unregister-atfork.
13671         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13672         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13673         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13674         pthread-pi-defines.sym, structsem.sym.
13675         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13676         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13677         [$(subdir) = nptl] (tests): Add tst-setgetname.
13678         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13679         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13680         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13681         [!LIBC_SIGACTION]: Remove aliases.
13682         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13683         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13684         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13685         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13686         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13687         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13688         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13689         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13690         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13691         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13692         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13693         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13694         __libc_allocate_rtsig_private.
13695         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13696         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13697         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13698         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13699         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13700         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13701         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13702         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13703         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13704         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13705         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13706         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13707         * nptl/internaltypes.h: ... here.
13708         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13709         * sysdeps/nptl/jmp-unwind.c: ... here.
13710         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13711         * nptl/libc-lowlevellock.c: ... here.
13712         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13713         * nptl/libc_multiple_threads.c: ... here.
13714         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13715         * nptl/libc_pthread_init.c: ... here.
13716         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13717         * nptl/lowlevelbarrier.sym: ... here.
13718         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13719         * nptl/lowlevelcond.sym: ... here.
13720         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13721         * nptl/lowlevellock.c: ... here.
13722         * nptl/lowlevellock.h: Moved ...
13723         * sysdeps/nptl/lowlevellock.h: ... here.
13724         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13725         * nptl/lowlevelrobustlock.c: ... here.
13726         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13727         * nptl/lowlevelrobustlock.sym: ... here.
13728         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13729         * nptl/lowlevelrwlock.sym: ... here.
13730         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13731         * nptl/pt-fork.c: ... here.
13732         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13733         * nptl/pthread-pi-defines.sym: ... here.
13734         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13735         * nptl/pthread_attr_getaffinity.c: ... here.
13736         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13737         * nptl/pthread_attr_setaffinity.c: ... here.
13738         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13739         * nptl/pthread_mutex_cond_lock.c: ... here.
13740         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13741         Update #include.
13742         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13743         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13744         * nptl/pthread_once.c: ... here, replacing old file.
13745         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13746         * nptl/pthread_yield.c: ... here.
13747         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13748         * nptl/register-atfork.c: ... here.
13749         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13750         * nptl/sem_post.c: ... here.
13751         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13752         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13753         * nptl/sem_timedwait.c: ... here.
13754         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13755         * nptl/sem_trywait.c: ... here.
13756         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13757         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13758         * nptl/sem_wait.c: ... here.
13759         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13760         * nptl/structsem.sym: ... here.
13761         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13762         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13763         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13764         * nptl/unregister-atfork.c: ... here.
13765         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13766         * nptl/unwindbuf.sym: ... here.
13767         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13768         * sysdeps/nptl/fork.c: ... here.
13769         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13770         * sysdeps/nptl/fork.h: ... here.
13771         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13772         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13773         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13774         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13775         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13776         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13777         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13778         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13779         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13780         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13781         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13782         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13783         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13784         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13785         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13786         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13787         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13788         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13789         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13790         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13791         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13792         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13793         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13794         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13795         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13796         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13797         * sysdeps/unix/sysv/linux/raise.c: ... here.
13798         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13799         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13800         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13801         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13802         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13803         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13804         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13805         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13806         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13807         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13808         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13809         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13810         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13811         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13812         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13814 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13816         * sysdeps/generic/memcopy.h: Add comment for
13817         MEMCPY_OK_FOR_FWD_MEMMOVE.
13819 2014-07-04  Will Newton  <will.newton@linaro.org>
13821         * string/memchr.c: Merge from gnulib.
13822         [_LIBC]: Remove conditionals.
13823         (__ptr_t): Remove define.
13824         (LONG_MAX_32_BITS): Likewise.
13825         (LONG_MAX): Likewise.
13826         (MEMCHR): Use ANSI prototype and optimize algorithm.
13828         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13830 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13832         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13833         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13835         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13836         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13837         in a bare environment with no <stdlib.h> installed.
13838         * sysdeps/nptl/configure: Regenerated.
13840         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13842         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13843         AC_EGREP_CPP for kernel header checks, so they only succeed if
13844         including <linux/version.h> actually works right.
13845         * sysdeps/unix/sysv/linux/configure: Regenerated.
13847         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13848         value so it's not diagnosed as unused.
13850         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13851         thing) with "ifeq ($(subdir),rt)".
13853 2014-07-03  Richard Henderson  <rth@redhat.com>
13855         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13856         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13857         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13859         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13860         (math_force_eval): New.
13862         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13863         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13865         * sysdeps/alpha/fpu/s_round.c: Remove file.
13866         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13868         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13869         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13870         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13871         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13872         (_dl_start, print_statistics): Likewise.
13873         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13874         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13876         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13877         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13878         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13879         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13880         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13881         (HP_SMALL_TIMING_AVAIL): Define.
13882         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13883         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13884         (HP_SMALL_TIMING_AVAIL): Define.
13885         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13886         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13888         * sysdeps/aarch64/hp-timing.h: New file.
13890         * sysdeps/generic/hp-timing.h: Remove dead comment.
13891         * sysdeps/generic/hp-timing-common.h: New file.
13892         * sysdeps/alpha/hp-timing.h: Include it.
13893         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13894         * sysdeps/i386/i686/hp-timing.h: Likewise.
13895         * sysdeps/ia64/hp-timing.h: Likewise.
13896         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13897         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13898         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13899         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13900         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13901         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13902         (hp_timing_t): New.
13904         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13905         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13906         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13907         * elf/rtld.c (_dl_start_final): Likewise.
13908         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13909         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13910         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13911         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13912         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13913         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13914         (HP_TIMING_DIFF_INIT): Remove.
13915         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13916         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13917         (HP_TIMING_DIFF_INIT): Remove.
13918         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13919         * sysdeps/i386/i686/hp-timing.c: Remove file.
13920         * sysdeps/x86_64/hp-timing.c: Remove file.
13921         * sysdeps/ia64/hp-timing.c: Remove file.
13922         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13923         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13924         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13925         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13927         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13928         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13929         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13930         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13931         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13932         (HP_TIMING_ACCUM): Remove.
13933         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13934         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13935         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13937         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13938         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13939         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13940         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13941         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13942         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13943         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13944         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13946         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13948 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13950         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13952 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13954         Sync up with gettext.
13955         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13956         [_MSC_VER]: Include malloc.h
13957         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13958         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13959         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13960         TEMP_FAILURE_RETRY.  Cast return of alloca.
13961         [!_LIBC] Call gl_rwlock_init.
13962         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13964 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13966         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13967         before checking its value.
13969 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13971         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13973         * debug/memcpy_chk.c: Don't include pagecopy.h.
13974         * debug/mempcpy_chk.c: Likewise.
13975         * string/memcpy.c: Likewise.
13976         * string/memmove.c: Likewise.
13977         * sysdeps/powerpc/memmove.c: Likewise.
13978         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13979         definition of PAGE_COPY_FWD_MAYBE here...
13980         * sysdeps/generic/pagecopy.h: ... from here.
13981         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13983 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13984             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13986         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13988         optimizations.
13989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13990         (__libc_ifunc_impl_list): Likewise.
13991         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13992         multiarch strcat for PPC64.
13993         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13994         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13996 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13998         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14000 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14002         * intl/loadmsgcat.c: Remove declaration of
14003         get_sysdep_segment_value.
14004         (get_sysdep_segment_value): Use ISO C style.
14005         (_nl_load_domain): Use ISO C style.  Get rid of redundant
14006         semicolon.  Fix typo and formatting in comment.
14007         (_nl_unload_domain): Use ISO C style.
14009         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14011 2014-07-02  Will Newton  <will.newton@linaro.org>
14013         * malloc/obstack.c: Merge from gnulib master.
14014         [HAVE_CONFIG_H]: Remove conditional code.
14015         [!_LIBC]: Include config.h.
14016         [!ELIDE_CODE]: Don't include inttypes.h, include
14017         stdint.h unconditionally.
14018         (print_and_abort): Mark as _Noreturn.
14019         (_obstack_allocated_p): Mark as __attribute_pure__.
14020         (obstack_free): Rename to __obstack_free.
14021         [!__attribute__]: Remove conditional code.
14022         * malloc/obstack.h: Merge from gnulib master.
14023         [__cplusplus]: Move conditional down.
14024         [!__attribute_pure__]: Define __attribute_pure__ here
14025         if it is not already defined.
14026         (_obstack_memory_used): Mark as __attribute_pure__.
14027         [!__obstack_free]: Define as obstack_free.
14028         [__GNUC__]: Remove check for ancient NeXT gcc.
14030 2014-07-02  Will Newton  <will.newton@linaro.org>
14031             Paul Eggert  <eggert@cs.ucla.edu>
14033         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14035 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14037         * resolv/gethnamaddr.c: Add comment warning that the file is
14038         not maintained.
14040 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
14042         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14043         entries.
14045         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14046         entry for aio_cancel and aio_cancel64.
14047         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14048         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14049         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14050         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14051         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14052         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14053         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14054         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14055         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14056         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14057         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14058         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14059         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14061 2014-07-01  Roland McGrath  <roland@hack.frob.com>
14063         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14064         * nptl/pthread_mutex_lock.c: Likewise.
14065         * nptl/pthread_mutex_timedlock.c: Likewise.
14066         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14068 2014-07-01  Richard henderson  <rth@redhat.com>
14070         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14071         (__isnan, __isnanl): Remove.
14072         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14074         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14076 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14078         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14080 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14082         * resolv/nss_dns/dns-host.c (getanswer_r)
14083         [MULTI_PTRS_ARE_ALIASES]: Remove code.
14085 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
14087         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14088         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14089         undefine.
14090         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14091         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14093 2014-07-01  Roland McGrath <roland@hack.frob.com>
14095         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14096         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14098         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14099         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14101         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14102         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14103         ... here.
14104         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14105         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14107         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14108         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14109         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14110         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14112         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14113         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14114         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14115         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14116         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14117         Moved ...
14118         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14119         ... here.
14120         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14121         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14122         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14123         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14124         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14125         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14126         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14127         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14128         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14129         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14130         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14131         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14132         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14133         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14134         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14135         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14136         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14137         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14138         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14139         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14140         ... here.
14141         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14142         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14143         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14144         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14145         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14146         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14147         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14148         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14150 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
14152         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14153         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14154         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14155         Add sysdep.
14157 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14161 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14163         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14164         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14166         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14168         * sysdeps/arm/libm-test-ulps: Regenerated.
14170 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14171             Roland McGrath <roland@hack.frob.com>
14173         * test-skeleton.c (signal_handler): Kill the whole process group
14174         before killing the child individually.
14175         (main): Report any failure on `setpgid'.
14177 2014-06-30  Roland McGrath  <roland@hack.frob.com>
14179         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14180         from _TLS_H to _ARM_NPTL_TLS_H.
14181         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14182         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14184 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
14186         [BZ #16539]
14187         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14188         (__expm1l): Return argument unchanged when small but not
14189         subnormal.
14191         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14192         include macro name.
14193         (_FP_UNPACK_RAW_1_P): Likewise.
14194         (_FP_PACK_RAW_1): Likewise.
14195         (_FP_PACK_RAW_1_P): Likewise.
14196         (_FP_MUL_MEAT_1_wide): Likewise.
14197         (_FP_MUL_MEAT_DW_1_hard): Likewise.
14198         (_FP_MUL_MEAT_1_hard): Likewise.
14199         (_FP_DIV_MEAT_1_imm): Likewise.
14200         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14201         (_FP_DIV_MEAT_1_udiv): Likewise.
14202         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14203         (_FP_UNPACK_RAW_2): Likewise.
14204         (_FP_UNPACK_RAW_2_P): Likewise.
14205         (_FP_PACK_RAW_2): Likewise.
14206         (_FP_PACK_RAW_2_P): Likewise.
14207         (_FP_MUL_MEAT_DW_2_wide): Likewise.
14208         (_FP_MUL_MEAT_2_wide): Likewise.
14209         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14210         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14211         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14212         (_FP_MUL_MEAT_2_gmp): Likewise.
14213         (_FP_DIV_MEAT_2_udiv): Likewise.
14214         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14215         (_FP_FRAC_SRL_4): Likewise.
14216         (_FP_FRAC_SRST_4): Likewise.
14217         (_FP_FRAC_SRS_4): Likewise.
14218         (_FP_UNPACK_RAW_4): Likewise.
14219         (_FP_UNPACK_RAW_4_P): Likewise.
14220         (_FP_PACK_RAW_4): Likewise.
14221         (_FP_PACK_RAW_4_P): Likewise.
14222         (_FP_MUL_MEAT_DW_4_wide): Likewise.
14223         (_FP_MUL_MEAT_4_wide): Likewise.
14224         (_FP_MUL_MEAT_4_gmp): Likewise.
14225         (umul_ppppmnnn): Likewise.
14226         (_FP_DIV_MEAT_4_udiv): Likewise.
14227         (__FP_FRAC_ADD_4): Likewise.
14228         (__FP_FRAC_SUB_3): Likewise.
14229         (__FP_FRAC_SUB_4): Likewise.
14230         (__FP_FRAC_DEC_3): Likewise.
14231         (__FP_FRAC_DEC_4): Likewise.
14232         (__FP_FRAC_ADDI_4): Likewise.
14233         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14234         (_FP_FRAC_SRL_8): Likewise.
14235         (_FP_FRAC_SRS_8): Likewise.
14237         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14238         include macro name.
14239         (FP_UNPACK_RAW_EP): Likewise.
14240         (FP_PACK_RAW_E): Likewise.
14241         (FP_PACK_RAW_EP): Likewise.
14242         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14243         (_FP_ISSIGNAN): Likewise.
14244         (_FP_ADD_INTERNAL): Likewise.
14245         (_FP_FMA): Likewise.
14246         (_FP_CMP): Likewise.
14247         (_FP_SQRT): Likewise.
14248         (_FP_TO_INT): Likewise.
14249         (_FP_FROM_INT): Likewise.
14250         (FP_EXTEND): Likewise.
14251         (_FP_DIV_MEAT_N_loop): Likewise.
14253 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
14255         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14256         throughout.
14258 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
14260         [BZ #17097]
14261         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14262         result with correct sign in case of exponents that produce
14263         overflow except for X very close to 1.
14265 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
14267         mktime: merge #if/#ifdef usage from glibc
14268         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14269         as that works with both Glibc's and Gnulib's style.
14270         See thread starting at Siddhesh Poyarekar's bug report at:
14271         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14273 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14275         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14276         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14277         * sysdeps/tile/tilegx/memmove.c: Remove file.
14279 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14281         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14282         abi-name definition.
14283         * scripts/soversions.awk: Do not handle or generate ABI lines.
14284         * shlib-versions: Remove ABI entries.
14285         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14286         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14288 2014-06-27  Roland McGrath  <roland@hack.frob.com>
14290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14291         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14292         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14293         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14294         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14295         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14297         Moved ...
14298         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14299         ... here.
14300         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14301         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14303         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14304         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14305         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14306         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14307         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14309         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14310         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14311         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14313         Moved ...
14314         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14315         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14316         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14317         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14318         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14319         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14320         Moved ...
14321         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14323         Moved ...
14324         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14325         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14326         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14328         Moved ...
14329         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14331         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14332         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14333         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14335         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14336         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14337         Moved ...
14338         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14339         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14340         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14341         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14342         Moved ...
14343         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14344         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14345         Moved ...
14346         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14347         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14348         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14349         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14350         Moved ...
14351         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14352         ... here.
14353         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14354         Identical file removed.
14355         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14356         Moved ...
14357         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14358         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14359         Identical file removed.
14360         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14361         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14362         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14363         Moved ...
14364         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14365         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14366         Identical file removed.
14367         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14368         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14369         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14370         Identical file removed.
14371         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14372         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14373         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14374         Identical file removed.
14375         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14376         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14377         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14378         Identical file removed.
14379         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14380         Moved ...
14381         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14382         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14383         Identical file removed.
14384         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14385         Moved ...
14386         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14387         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14388         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14390         Identical file removed.
14391         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14392         Moved ...
14393         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14394         ... here.
14395         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14396         Identical file removed.
14397         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14398         Moved ...
14399         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14400         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14401         Identical file removed.
14402         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14403         Moved ...
14404         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14405         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14406         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14407         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14408         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14409         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14410         Moved ...
14411         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14412         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14413         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14415         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14416         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14417         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14418         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14419         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14421 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
14423         [BZ #17092]
14424         * nscd/nscd.c (monitor_child): Return exit status of child
14425         instead of return value from wait syscall.
14427 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
14429         * configure.ac (libc_commonpagesize): Remove variable.
14430         (libc_relro_required): Likewise.
14431         (libc_cv_z_relro): Remove configure test.
14432         * configure: Regenerated.
14433         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14434         variable.
14435         (libc_relro_required): Likewise.
14436         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14437         (libc_relro_required): Likewise.
14438         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14439         (libc_relro_required): Likewise.
14440         * sysdeps/arm/preconfigure: Regenerated.
14441         * sysdeps/ia64/preconfigure: Remove file.
14442         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14443         variable.
14444         (libc_relro_required): Likewise.
14446         [BZ #16561]
14447         [BZ #16562]
14448         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14449         (__ieee754_yn): Set FE_TONEAREST mode internally and then
14450         recompute overflowing results in original rounding mode.
14451         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14452         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14453         recompute overflowing results in original rounding mode.
14454         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14455         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14456         recompute overflowing results in original rounding mode.
14457         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14458         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14459         recompute overflowing results in original rounding mode.
14460         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14461         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14462         recompute overflowing results in original rounding mode.
14463         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14464         (libc_feholdsetround_ctx): New macro.
14465         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14466         * sysdeps/i386/fpu/libm-test-ulps: Update.
14467         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14469 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14471         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14472         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14473         corresponding .cpsetup call.
14475 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14477         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14478         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14479         * sysdeps/arm/Makefile [$(subdir) = csu]
14480         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14481         (static-only-routines): Add aeabi_read_tp here.
14482         (shared-only-routines): Add libc-aeabi_read_tp here.
14483         (CFLAGS-libc-start.c): Add -fexceptions here.
14484         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14485         (sysdep_routines, static-only-routines, shared-only-routines):
14486         Don't add to these here.
14487         (CFLAGS-libc-start.c): Likewise.
14489         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14490         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14491         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14492         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14493         * sysdeps/arm/Makefile [$(subdir) = rt]
14494         (librt-sysdep_routines, librt-shared-only-routines):
14495         Append rt-aeabi_unwind_cpp_pr1 here.
14496         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14497         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14498         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14499         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14500         Append nptl-aeabi_unwind_cpp_pr1 here.
14501         (tests): Filter out tst-cleanupx4 here.
14502         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14503         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14504         Don't do those here.
14506 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14508         * scripts/list-sources.sh: Do not handle ports specially.
14510 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14512         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14513         * sysdeps/arm/feupdateenv.c: Likewise.
14515         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14517 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14519         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14520         trailing whitespace removed.
14521         * scripts/config.guess: Update to version 2014-03-23.
14522         * scripts/config.sub: Update to version 2014-05-01
14523         * scripts/install-sh: Update to version 2013-12-25.23.
14524         * scripts/move-if-change: Update from gnulib.
14526 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14528         * debug/memmove_chk.c: Remove pagecopy.h include.
14530 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14532         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14533         identical to gnulib mktime.
14535 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14537         * configure.ac: Do not test for machine being rs6000.  Do not test
14538         for powerpc*-*soft.
14539         * configure: Regenerated.
14541         [BZ #11505]
14542         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14543         test.
14544         * configure: Regenerated.
14545         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14546         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14547         Remove configure test.
14548         * sysdeps/arm/configure: Regenerated.
14549         * sysdeps/nptl/configure.ac: Do not check
14550         libc_cv_asm_cfi_directives.
14551         * sysdeps/nptl/configure: Regenerated.
14552         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14553         * sysdeps/x86_64/nptl/configure: Remove generated file.
14554         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14555         unconditional.
14556         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14558 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14560         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14561         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14562         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14563         it is defined.
14565         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14566         instead of whether it is defined.
14567         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14568         * sysdeps/hppa/dl-machine.h: Likewise.
14569         * sysdeps/ia64/dl-machine.h: Likewise.
14570         * sysdeps/m68k/dl-machine.h: Likewise.
14571         * sysdeps/microblaze/dl-machine.h: Likewise.
14572         * sysdeps/mips/dl-machine.: Likewise.
14573         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14574         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14575         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14576         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14577         * sysdeps/sh/dl-machine.h: Likewise.
14578         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14579         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14580         * sysdeps/tile/dl-machine.h: Likewise.
14581         * sysdeps/x86_64/dl-machine.h: Likewise.
14583         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14584         code.
14585         (verify_persistent_db): Likewise.
14587 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14590         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14592         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14594         Moved ...
14595         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14596         ... here.
14597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14598         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14600         Identical file removed.
14601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14602         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14604         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14606         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14608         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14610         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14612         Moved ...
14613         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14615         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14617         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14619         Moved ...
14620         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14622         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14624         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14626         Identical file removed.
14627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14628         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14630         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14632         Moved ...
14633         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14634         ... here.
14635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14636         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14638         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14640         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14642         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14644         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14646         Moved ...
14647         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14649         Moved ...
14650         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14652         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14654         Moved ...
14655         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14657         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14659         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14660         folded into ...
14661         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14662         * sysdeps/unix/sysv/linux/s390/Versions
14663         (libpthread: GLIBC_2.19): New version set.
14664         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14665         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14666         (librt: GLIBC_2.3.3): New version set.
14667         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14668         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14669         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14670         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14671         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14672         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14673         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14674         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14675         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14676         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14677         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14678         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14679         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14680         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14681         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14682         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14683         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14684         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14685         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14686         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14687         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14688         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14689         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14690         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14691         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14692         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14693         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14694         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14695         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14696         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14697         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14698         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14699         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14701         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14702         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14703         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14704         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14705         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14706         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14707         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14708         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14709         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14710         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14711         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14713         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14714         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14715         (__libc_vfork): Define the function under this name.
14716         [!NOT_IN_libc] (__vfork): Make this an alias.
14717         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14718         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14719         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14720         (__libc_vfork): Define the function under this name.
14721         [!NOT_IN_libc] (__vfork): Make this an alias.
14722         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14723         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14724         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14725         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14726         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14727         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14729         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14730         code that was previously under [RESET_PID].
14731         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14732         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14735         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14736         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14737         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14738         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14739         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14740         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14741         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14742         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14743         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14744         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14745         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14746         Moved ...
14747         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14748         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14749         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14750         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14751         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14752         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14753         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14754         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14755         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14756         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14757         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14758         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14759         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14760         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14761         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14762         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14763         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14764         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14765         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14766         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14767         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14768         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14769         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14770         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14771         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14772         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14773         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14774         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14775         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14777 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14779         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14780         that was previously under [RESET_PID].
14781         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14783 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14785         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14786         not undefine and redefine.
14787         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14788         [O_CLOEXEC]: Make code unconditional.
14789         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14790         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14791         <kernel-features.h>.
14792         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14793         conditional variable definition.
14794         (shm_open) [O_CLOEXEC]: Make code unconditional.
14795         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14796         code.
14798         * configure.ac (USE_REGPARMS): Don't define here.
14799         * configure: Regenerated.
14800         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14801         * sysdeps/i386/configure: Regenerated.
14803         * nptl/createthread.c: Don't include kernel-features.h.
14804         * nptl/pthread_cancel.c: Likewise.
14805         * nptl/pthread_condattr_setclock.c: Likewise.
14806         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14807         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14808         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14809         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14810         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14811         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14812         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14813         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14814         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14815         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14816         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14817         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14818         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14819         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14820         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14821         * nscd/gai.c: Likewise.
14822         * nss/nss_db/db-open.c: Likewise.
14823         * sysdeps/generic/ldsodefs.h: Likewise.
14824         * sysdeps/sh/nptl/tls.h: Likewise.
14825         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14826         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14827         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14828         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14829         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14830         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14831         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14832         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14833         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14834         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14835         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14836         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14837         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14838         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14839         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14840         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14841         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14842         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14843         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14844         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14845         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14846         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14847         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14848         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14849         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14850         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14851         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14852         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14853         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14854         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14855         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14856         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14857         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14858         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14859         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14860         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14861         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14862         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14863         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14864         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14865         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14866         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14867         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14868         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14869         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14870         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14871         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14872         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14873         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14874         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14875         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14876         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14877         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14878         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14879         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14880         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14881         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14882         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14905         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14906         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14907         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14908         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14909         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14910         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14911         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14912         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14913         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14914         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14915         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14916         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14917         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14918         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14919         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14920         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14921         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14922         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14923         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14924         * sysdeps/unix/sysv/linux/system.c: Likewise.
14925         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14926         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14927         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14928         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14929         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14930         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14931         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14933         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14934         * configure: Regenerated.
14935         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14937         * configure.ac (base_machine): Do not set specially for particular
14938         machines here.
14939         * configure: Regenerated.
14940         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14941         settings from configure.ac.
14942         * sysdeps/i386/preconfigure: New file.
14943         * sysdeps/s390/preconfigure: Likewise.
14944         * sysdeps/sh/preconfigure: Likewise.
14945         * sysdeps/sparc/preconfigure: Likewise.
14947 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14949         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14950         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14951         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14952         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14953         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14954         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14955         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14956         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14957         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14958         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14959         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14960         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14961         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14962         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14963         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14964         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14965         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14966         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14967         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14969         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14970         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14971         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14972         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14973         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14974         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14975         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14976         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14977         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14978         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14979         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14980         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14981         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14982         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14983         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14984         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14985         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14986         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14987         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14988         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14989         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14990         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14991         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14992         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14993         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14994         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14995         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14996         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14997         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14998         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14999         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15000         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15001         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15002         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15003         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15004         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15005         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15006         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15009         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15011         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15013         Moved ...
15014         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15015         ... here.
15016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15017         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15019         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15021         Moved ...
15022         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15024         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15026         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15028         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15030         Moved ...
15031         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15033         Moved ...
15034         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15036         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15038         Moved ...
15039         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15041         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15043         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15045         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15047         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15049         Moved ...
15050         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15051         ... here.
15052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15053         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15055         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15057         Moved ...
15058         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15060         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15062         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15064         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15066         Moved ...
15067         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15069         Moved ...
15070         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15072         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15074         Moved ...
15075         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15077         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15079         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15081 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15083         * timezone/checktab.awk: Update from tzcode 2014e.
15084         * timezone/private.h: Likewise.
15085         * timezone/tzfile.h: Likewise.
15086         * timezone/zdump.c: Likewise.
15087         * timezone/zic.c: Likewise.
15089         * sysdeps/unix/sysv/linux/kernel-features.h
15090         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15091         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15092         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15093         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15094         Remove conditional code.
15096 2014-06-25  Will Newton  <will.newton@linaro.org>
15098         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15099         (_dl_arm_cap_flags): Add HWCAP2 values.
15100         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15101         (_DL_HWCAP_COUNT): Increase to 37.
15102         (_DL_HWCAP_LAST): New define.
15103         (_DL_HWCAP2_LAST): New define.
15104         (_dl_procinfo): Add support for printing
15105         AT_HWCAP2 entries.
15106         (_dl_string_hwcap): Use _dl_hwcap_string.
15108 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15112 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
15114         * README: Do not mention ports directory.
15116         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15117         Remove macro.
15118         * sysdeps/unix/sysv/linux/futimes.c: Do not include
15119         <kernel-features.h>.
15120         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15121         conditional variable definition.
15122         (__futimes): Update comment.
15123         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15124         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15126         [BZ #16560]
15127         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15128         arguments close to 0.
15129         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15130         Likewise.
15131         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15132         Likewise.
15133         * math/auto-libm-test-in: Add more tests of exp10.
15134         * math/auto-libm-test-out: Regenerated.
15135         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15137         * sysdeps/unix/sysv/linux/kernel-features.h
15138         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15139         * sysdeps/unix/sysv/linux/readv.c: Do not include
15140         <kernel-features.h>.
15141         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15142         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15143         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15144         unconditional.
15145         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15146         conditional code.
15147         * sysdeps/unix/sysv/linux/writev.c: Do not include
15148         <kernel-features.h>.
15149         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15150         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15151         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15152         unconditional.
15153         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15154         conditional code.
15156 2014-06-25  Will Newton  <will.newton@linaro.org>
15158         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15159         comment changes throughout the file.  Remove checks
15160         for HAVE_*_H definitions that are not required.
15161         (__gen_tempname): Call abort if an unknown kind value is
15162         passed.
15164 2014-06-25  Andreas Schwab  <schwab@suse.de>
15166         [BZ #17086]
15167         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15168         scalbln, scalblnf, scalblnl in libc.
15170 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15172         [BZ #17086]
15173         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15174         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15175         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15177 2014-06-24  Roland McGrath  <roland@hack.frob.com>
15179         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15180         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15181         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15182         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15183         Update #include.
15184         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15185         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15186         Update #include.
15187         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15188         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15189         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15190         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15191         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15192         * sysdeps/x86/bits/pthreadtypes.h: ... here.
15193         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15194         * sysdeps/x86/bits/semaphore.h: ... here.
15195         * sysdeps/x86/nptl/elide.h: Moved ...
15196         * sysdeps/x86/elide.h: ... here.
15197         * sysdeps/x86_64/nptl/Implies: File removed.
15198         * sysdeps/i386/nptl/Implies: File removed.
15200 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
15202         [BZ #16539]
15203         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15204         return the argument for normal arguments with exponent below -64.
15205         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15206         Likewise.
15207         * math/auto-libm-test-in: Add another test of expm1.
15208         * math/auto-libm-test-out: Regenerated.
15210         [BZ #16287]
15211         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15212         calling __erfcl for arguments at least 16.
15213         * math/auto-libm-test-in: Add more tests of erf.
15214         * math/auto-libm-test-out: Regenerated.
15216         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15217         individual architectures.
15218         * sysdeps/unix/sysv/linux/configure: Regenerated.
15219         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15220         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15221         * sysdeps/unix/sysv/linux/powerpc/configure.ac
15222         (ldd_rewrite_script): Define variable.
15223         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15225         file.
15226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15227         generated file.
15228         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15229         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15230         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15231         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15232         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15233         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15234         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15235         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15237 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15239         [BZ #17084]
15240         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15241         Rename member __data.d to __data.__elision_data.
15243 2014-06-24  Wilco  <wdijkstr@arm.com>
15245         * NEWS: Add 16918 to fixed bug list.
15247 2014-06-24  Wilco  <wdijkstr@arm.com>
15249         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15251 2014-06-24  Wilco  <wdijkstr@arm.com>
15253         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15254         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15255         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15256         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15257         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15258         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15259         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15260         Use _FPU_MASK_RM.
15262 2014-06-24  Wilco  <wdijkstr@arm.com>
15264         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15266 2014-06-24  Wilco  <wdijkstr@arm.com>
15268         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15269         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15270         * sysdeps/arm/fesetround.c (fesetround): Remove space.
15271         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15273 2014-06-24  Wilco  <wdijkstr@arm.com>
15275         [BZ #16918]
15276         * sysdeps/arm/feupdateenv.c (feupdateenv):
15277         Rewrite to reduce FPSCR accesses and fix return value.
15279 2014-06-24  Wilco  <wdijkstr@arm.com>
15281         * sysdeps/arm/fclrexcpt.c (feclearexcept):
15282         Optimize to avoid unnecessary FPSCR writes.
15283         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15284         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15285         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15286         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15288 2014-06-24  Wilco  <wdijkstr@arm.com>
15290         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15291         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15292         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15293         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15294         Call libc_fetestexcept_vfp.
15295         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15296         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15297         __SOFTFP__ ifdef so that they can be built for softfp.
15299 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15301         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15302         argument type signed char.
15304         * Makerules (check-abi): Dump diff of symlist if the test
15305         fails.
15307 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15309         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15310         using abort.
15312         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15313         Remove unused variable ST.
15315 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15317         [BZ #16354]
15318         [BZ #17061]
15319         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15320         small arguments before calling __expm1.
15321         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15322         small arguments before calling __expm1f.
15323         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15324         small arguments before calling __expm1l.
15325         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15326         Likewise.
15327         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15328         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
15329         spurious underflow for some cosh tests.
15330         * math/auto-libm-test-out: Regenerated.
15331         * sysdeps/i386/fpu/libm-test-ulps: Update.
15333         [BZ #17050]
15334         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15335         (__ieee754_y1): Set errno if return value overflows.
15336         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15337         (__ieee754_y1f): Set errno if return value overflows.
15338         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15339         (__ieee754_y1l): Set errno if return value overflows.
15340         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15341         (__ieee754_y1l): Set errno if return value overflows.
15342         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15343         * math/auto-libm-test-out: Regenerated.
15345         * math/gen-auto-libm-tests.c: Document use of
15346         ignore-zero-inf-sign.
15347         (input_flag_type): Add value flag_ignore_zero_inf_sign.
15348         (input_flags): Add ignore-zero-inf-sign.
15349         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15350         * math/gen-libm-test.pl (generate_testfile): Handle
15351         ignore-zero-inf-sign.
15352         * math/auto-libm-test-in: Mark some cpow tests with
15353         ignore-zero-inf-sign and some with xfail-rounding.
15354         * math/auto-libm-test-out: Regenerated.
15355         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15356         * sysdeps/i386/fpu/libm-test-ulps: Update.
15357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15359         [BZ #16315]
15360         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15361         overflowing or underflowing operations take place with sign of
15362         result.
15363         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15364         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15365         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15366         (__ieee754_pow): Recompute overflowing and underflowing results in
15367         original rounding mode.
15368         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15369         (__powl_helper): Allow negative argument X and scale negated value
15370         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
15371         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15372         overflowing or underflowing operations take place with sign of
15373         result.
15374         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15375         Include <math.h>.
15376         * math/auto-libm-test-in: Add more tests of pow.
15377         * math/auto-libm-test-out: Regenerated.
15378         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15379         (pow_tonearest_test_data): Remove.
15380         (pow_test_tonearest): Likewise.
15381         (pow_towardzero_test_data): Likewise.
15382         (pow_test_towardzero): Likewise.
15383         (pow_downward_test_data): Likewise.
15384         (pow_test_downward): Likewise.
15385         (pow_upward_test_data): Likewise.
15386         (pow_test_upward): Likewise.
15387         (main): Don't call removed functions.
15388         * sysdeps/i386/fpu/libm-test-ulps: Update.
15389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15391 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15394         Moved ...
15395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15397         Moved ...
15398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15400         Moved ...
15401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15403         Moved ...
15404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15406         File removed.
15407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15408         File removed.
15409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15410         File removed.
15411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15412         File removed.
15413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15414         File removed.
15415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15416         File removed.
15417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15418         File removed.
15419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15420         File removed.
15421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15422         File removed.
15423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15424         File removed.
15425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15426         File removed.
15427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15428         File removed.
15429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15430         Moved ...
15431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15433         Moved ...
15434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15435         ... here.
15436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15437         Moved ...
15438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15440         Moved ...
15441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15443         Moved ...
15444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15446         Moved ...
15447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15449         Moved ...
15450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15452         Moved ...
15453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15455         Moved ...
15456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15459         ... here.
15460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15461         Moved ...
15462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15464         Moved ...
15465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15466         ... here.
15467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15468         Moved ...
15469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15470         ... here.
15471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15472         Moved ...
15473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15474         ... here.
15475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15476         Moved ...
15477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15479         Moved ...
15480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15484         Moved ...
15485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15486         ... here.
15487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15488         Moved ...
15489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15490         ... here.
15491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15492         Moved ...
15493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15495         Moved ...
15496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15498         Moved ...
15499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15501         Moved ...
15502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15504         Moved ...
15505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15506         ... here.
15507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15508         Moved ...
15509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15511         Moved ...
15512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15514         Moved ...
15515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15517         Moved ...
15518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15522         Moved ...
15523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15525         Moved ...
15526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15528         Moved ...
15529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15530         ... here.
15531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15532         Moved ...
15533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15534         ... here.
15535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15536         Moved ...
15537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15538         ... here.
15539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15540         Moved ...
15541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15543         Moved ...
15544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15546         Moved ...
15547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15549         Moved ...
15550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15551         ... here.
15552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15553         Moved ...
15554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15555         ... here.
15556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15557         Moved ...
15558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15559         ... here.
15560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15561         Moved ...
15562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15564         Moved ...
15565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15567 2014-06-23  Will Newton  <will.newton@linaro.org>
15568             Wilco  <wdijkstr@arm.com>
15570         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15571         implementation.  Include get-rounding-mode.h.
15572         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15573         [!libc_feholdsetround_noex_ctx]: Define
15574         libc_feholdsetround_noex_ctx.
15575         [!libc_feholdsetround_noexf_ctx]: Define
15576         libc_feholdsetround_noexf_ctx.
15577         [!libc_feholdsetround_noexl_ctx]: Define
15578         libc_feholdsetround_noexl_ctx.
15579         (libc_feholdsetround_ctx): New function.
15580         (libc_feresetround_ctx): New function.
15581         (libc_feholdsetround_noex_ctx): New function.
15582         (libc_feresetround_noex_ctx): New function.
15584 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15586         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15587         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15588         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15589         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15590         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15591         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15593         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15594         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15595         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15596         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15597         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15598         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15599         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15600         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15601         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15602         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15603         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15604         Moved ...
15605         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15606         ... here.
15607         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15608         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15609         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15610         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15612         Moved ...
15613         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15614         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15615         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15616         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15617         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15618         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15619         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15620         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15621         Moved ...
15622         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15623         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15624         Moved ...
15625         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15626         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15627         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15628         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15629         Moved ...
15630         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15631         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15632         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15633         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15634         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15635         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15636         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15637         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15638         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15639         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15640         Moved ...
15641         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15642         ... here.
15643         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15644         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15645         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15646         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15647         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15648         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15649         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15650         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15651         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15652         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15653         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15654         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15655         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15656         Moved ...
15657         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15658         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15659         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15660         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15661         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15662         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15663         Moved ...
15664         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15665         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15666         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15667         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15668         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15670         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15671         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15672         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15673         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15674         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15675         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15676         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15677         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15678         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15679         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15680         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15681         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15682         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15683         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15684         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15685         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15686         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15687         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15688         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15689         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15690         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15691         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15692         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15693         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15694         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15695         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15696         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15697         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15699 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15701         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15702         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15703         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15704         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15705         (IPV6_PMTUDISC_INTERFACE): Likewise.
15706         (IPV6_PMTUDISC_OMIT): Likewise.
15708 2014-06-23  Andreas Schwab  <schwab@suse.de>
15710         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15711         Remove unused errout label.
15713 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15715         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15716         macro: hardware supports Vector Crypto instructions.
15718 2014-06-23  Will Newton  <will.newton@linaro.org>
15720         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15721         rather than __builtin_expect.
15723         * elf/dl-lookup.c (undefined_msg): Remove variable.
15724         (_dl_lookup_symbol_x): Replace undefined_msg with string
15725         literal.
15727         * elf/dl-lookup.c (do_lookup_unique): New function.
15728         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15729         to a separate function.
15731 2014-06-23  Andreas Schwab  <schwab@suse.de>
15733         [BZ #17079]
15734         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15735         before reading the next line.
15737 2014-06-23  Will Newton  <will.newton@linaro.org>
15739         * test-skeleton.c (signal_handler): Use printf and %m
15740         rather than perror.  Use printf rather than fprintf to
15741         stderr.  Use puts rather than fputs to stderr.
15742         (main): Likewise.
15744 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15746         * nscd/nscd.c (thread_info_t): Remove typedef.
15747         (thread_info): Remove variable.
15749 2014-06-21  Allan McRae  <allan@archlinux.org>
15751         * NEWS: Mention CVE-2014-4043.
15753 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15755         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15756         * nptl/smp.h: ... here.
15758         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15760         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15761         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15762         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15763         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15765         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15766         * nptl/stack-aliasing.h: New file.
15767         * sysdeps/i386/i686/stack-aliasing.h: New file.
15768         * sysdeps/i386/i686/nptl/Makefile: File removed.
15769         * sysdeps/x86_64/stack-aliasing.h: New file.
15770         * sysdeps/x86_64/nptl/Makefile
15771         (CFLAGS-pthread_create.c): Variable removed.
15773         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15774         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15775         old file.
15776         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15777         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15778         old file.
15780 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15782         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15783         (__ASSUME_SIGFRAME_V2): Remove macro.
15784         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15785         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15786         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15787         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15788         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15789         Declare as function.  Remove conditional macro definitions.
15790         (__default_rt_sa_restorer): Likewise.
15791         (__default_sa_restorer_v1): Remove declaration.
15792         (__default_sa_restorer_v2): Likewise.
15793         (__default_rt_sa_restorer_v1): Likewise.
15794         (__default_rt_sa_restorer_v2): Likewise.
15795         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15796         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15797         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15799 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15801         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15802         (libpthread-routines): Add sysdep.
15803         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15804         * sysdeps/unix/sysv/linux/sparc/Versions
15805         (libpthread: GLIBC_2.3.3): New version set.
15806         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15807         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15808         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15809         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15810         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15811         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15812         Moved ...
15813         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15814         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15815         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15816         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15817         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15818         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15819         * sysdeps/sparc/nptl/sem_init.c: ... here.
15820         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15821         * sysdeps/sparc/nptl/sem_post.c: ... here.
15822         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15823         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15824         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15825         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15826         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15827         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15828         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15829         (libpthread-routines): Add cpu_relax.
15830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15831         File removed.
15832         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15833         (librt: GLIBC_2.3.3): New version set.
15834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15835         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15836         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15837         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15840         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15842         Moved ...
15843         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15845         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15847         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15849         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15851         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15853         Moved ...
15854         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15855         Update #include.
15856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15857         Moved ...
15858         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15859         Update #include.
15860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15861         Moved ...
15862         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15863         Update #include.
15864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15865         Moved ...
15866         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15867         Update #include.
15868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15869         Moved ...
15870         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15871         Update #include.
15872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15873         Moved ...
15874         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15875         Update #include.
15876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15877         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15879         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15881         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15883         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15885         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15887         Moved ...
15888         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15890         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15892         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15894 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15896         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15897         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15898         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15899         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15900         * nscd/nscd.c: Likewise.
15901         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15902         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15903         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15904         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15906         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15907         <kernel-features.h>.
15908         (init_mq_netlink): Remove conditional have_sock_cloexec
15909         definitions.  Remove code conditional on have_sock_cloexec < 0.
15910         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15911         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15912         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15913         <kernel-features.h>.
15914         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15915         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15917 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15920         Add tests for memset_chk and memset.
15922         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15923         with AVX2_Usable.
15925 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15927         [BZ #16046]
15928         * elf/tst-dl-iter-static.c: New file.
15929         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15931         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15932         error.
15934 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15936         * sysdeps/unix/sysv/linux/kernel-features.h
15937         (__ASSUME_F_GETOWN_EX): Remove macro.
15938         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15939         <kernel-features.h>.
15940         (miss_F_GETOWN_EX): Remove variable or macro.
15941         (do_fcntl): Do not check miss_F_GETOWN_EX.
15942         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15944         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15945         Remove macro.
15946         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15947         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15948         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15950         * sysdeps/unix/sysv/linux/kernel-features.h
15951         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15952         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15953         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15954         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15956 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15958         [BZ #17075]
15959         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15960         Fix calculation of the symbol's value.
15961         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15962         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15963         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15964         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15965         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15966         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15967         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15968         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15969         (modules-names): Add `tst-armtlsdescmod',
15970         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15971         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15972         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15973         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15974         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15975         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15976         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15977         ($(objpfx)tst-armtlsdescloc): New dependency.
15978         ($(objpfx)tst-armtlsdescextnow): Likewise.
15979         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15980         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15981         TLS scheme support.
15982         * sysdeps/arm/configure: Regenerate.
15984 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15986         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15987         (__atfct_seterrno_2): Likewise.
15988         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15989         <kernel-features.h>.
15990         (__ASSUME_ATFCTS): Do not undefine and redefine.
15991         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15992         (__have_atfcts): Remove conditional definition.
15993         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15994         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15995         unreachable if [__ASSUME_ATFCTS].
15996         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15997         not undefine and redefine.
15998         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15999         <kernel-features.h>.
16000         (faccessat) [__NR_faccessat]: Make code unconditional.
16001         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16002         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16003         <kernel-features.h>.
16004         (fchmodat) [__NR_fchmodat]: Make code unconditional.
16005         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16006         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16007         <kernel-features.h>.
16008         (fchownat) [__NR_fchownat]: Make code unconditional.
16009         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16010         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16011         <kernel-features.h>.
16012         (futimesat) [__NR_futimesat]: Make code unconditional.
16013         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16014         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16015         <kernel-features.h>.
16016         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16017         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16018         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16019         <kernel-features.h>.
16020         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16021         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16022         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16023         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16024         <kernel-features.h>.
16025         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16026         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16027         * sysdeps/unix/sysv/linux/linkat.c: Do not include
16028         <kernel-features.h>.
16029         (linkat) [__NR_linkat]: Make code unconditional.
16030         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16031         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16032         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16033         <kernel-features.h>.
16034         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16035         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16036         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16037         <kernel-features.h>.
16038         (mkdirat) [__NR_mkdirat]: Make code unconditional.
16039         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16040         * sysdeps/unix/sysv/linux/openat.c: Do not include
16041         <kernel-features.h>.
16042         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16043         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16044         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16045         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16046         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16047         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16048         <kernel-features.h>.
16049         (readlinkat) [__NR_readlinkat]: Make code unconditional.
16050         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
16051         result of INLINE_SYSCALL directly, not via int variable.
16052         * sysdeps/unix/sysv/linux/renameat.c: Do not include
16053         <kernel-features.h>.
16054         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16055         (renameat) [__NR_renameat]: Make code unconditional.
16056         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16057         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16058         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16059         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16060         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16061         (__ASSUME_ATFCTS): Do not undefine and redefine.
16062         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16063         <kernel-features.h>.
16064         (symlinkat) [__NR_symlinkat]: Make code unconditional.
16065         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16066         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16067         <kernel-features.h>.
16068         (unlinkat) [__NR_unlinkat]: Make code unconditional.
16069         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16070         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16071         (__ASSUME_ATFCTS): Do not undefine and redefine.
16072         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16073         <kernel-features.h>.
16074         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16075         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16076         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16077         <kernel-features.h>.
16078         (__xmknodat) [__NR_mknodat]: Make code unconditional.
16079         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16081 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
16083         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16085 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
16087         [BZ #17069]
16088         * posix/regcomp.c (parse_reg_exp): Deallocate partially
16089         constructed tree before returning error.
16090         * posix/bug-regexp36.c: Expand test case.
16092 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16094         [BZ #6803]
16095         * math/libm-test.inc (scalbln_test_date):
16096         Add errno expectations.
16097         * math/w_scalblnf.c: New File.
16098         Add wrapper which checks for setting errno to ERANGE.
16099         Add weak_alias for corresponding scalbln function.
16100         * math/w_scalbln.c: Likewise.
16101         * math/w_scalblnl.c: Likewise.
16102         * math/Makefile (libm-calls): Add w_scalbln.
16103         * sysdeps/ieee754/flt-32/s_scalblnf.c:
16104         Remove weak_alias for corresponding scalbln function.
16105         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16106         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16107         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16108         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16109         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16110         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16111         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16112         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16113         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16114         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16115         Remove long_double_symbol for scalblnl function in libm, libc.
16116         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16117         Add wrapper which checks for setting errno to ERANGE.
16118         Add long_double_symbol for scalblnl function in libm, libc.
16119         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16120         Remove long_double_symbol for scalblnl in libm.
16121         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16122         Add wrapper which checks for setting errno to ERANGE.
16123         Add long_double_symbol for scalblnl function in libm.
16124         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16125         Do not use wrapper because of own implementation.
16127 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
16129         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16130         3 bytes for __pad1 for x32.
16131         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16133 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
16134             H.J. Lu  <hongjiu.lu@intel.com>
16136         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16137         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16138         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16139         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16140         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16142 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
16144         [BZ #17069]
16145         * posix/regcomp.c (parse_expression): Deallocate partially
16146         constructed tree before returning error.
16147         * posix/Makefile.c (tests): Add bug-regex36.
16148         (generated): Add bug-regex36.mtrace.
16149         (tests-special): Add $(objpfx)bug-regex36-mem.out
16150         (bug-regex36-ENV): New variable.
16151         ($(objpfx)bug-regex36-mem.out): New rule.
16152         * posix/bug-regex36.c: New file.
16154 2014-06-19  Will Newton  <will.newton@linaro.org>
16156         * malloc/malloc.c (systrim): If extra is zero then return
16157         early.
16159 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16161         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16163 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
16165         * sysdeps/aarch64/strchr.S: New file.
16167 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16169         [BZ #17022]
16170         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16171         from arguments -2 or below.
16172         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16173         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16175 2014-06-18  Andreas Schwab  <schwab@suse.de>
16177         [BZ #17062]
16178         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16179         of a bracket expr not to run off the end of the string.
16180         * posix/Makefile (tests): Add tst-fnmatch3.
16181         * posix/tst-fnmatch3.c: New file.
16183 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
16185         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16186         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16187         [$(cross-compiling) = no]: Likewise.
16188         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16189         [$(cross-compiling) = no]: Likewise.
16191 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16193         [BZ #17031]
16194         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16195         double, adjusted for any remainder from the high double.
16196         * math/libm-test.inc (nearbyint): Add tests.
16197         (rint): Likewise.
16199 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16201         * nptl/sysdeps/powerpc/Makefile: Moved ...
16202         * sysdeps/powerpc/nptl/Makefile: ... here.
16203         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16204         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16205         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16206         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16207         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16208         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16209         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16210         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16211         * nptl/sysdeps/powerpc/tls.h: Moved ...
16212         * sysdeps/powerpc/nptl/tls.h: ... here.
16214 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
16216         [BZ #16681]
16217         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16218         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16219         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16220         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16221         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16222         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16223         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16224         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16225         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16227 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
16229         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16231 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
16233         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16234         defined operator.
16236         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16237         $TIMEOUTFACTOR.
16239 2014-06-16  Florian Weimer  <fweimer@redhat.com>
16241         [BZ #17058]
16242         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16243         non-executed part of the test.
16245 2014-06-16  Andreas Schwab  <schwab@suse.de>
16247         * string/bits/string2.h (strdup, strndup): Update feature guard.
16249 2014-06-14  David S. Miller  <davem@davemloft.net>
16251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16253 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
16255         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16256         that was previously under [RESET_PID].
16257         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16259         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16260         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16261         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16262         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16263         (__libc_vfork): New strong alias.
16264         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16266 2014-06-14 Andi Kleen  <ak@linux.intel.com>
16268         * sysdeps/generic/elide.h: New file.
16270 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16272         * Makefile (installed-headers): Adjust path of pthread.h header.
16274 2014-06-13  Roland McGrath  <roland@hack.frob.com>
16276         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16277         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16278         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16279         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16281         * nptl/sysdeps/s390/Makefile: Moved ...
16282         * sysdeps/s390/nptl/Makefile: ... here.
16283         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16284         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16285         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16286         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16287         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16288         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16289         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16290         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16291         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16292         * sysdeps/s390/nptl/pthreaddef.h: ... here.
16293         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16294         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16295         * nptl/sysdeps/s390/tls.h: Moved ...
16296         * sysdeps/s390/nptl/tls.h: ... here.
16298         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16299         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16301 2014-06-13  David S. Miller  <davem@davemloft.net>
16303         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16306         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16307         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16310         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16311         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16312         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16313         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16314         Remove RESET_PID cpp guards.
16315         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16316         Remove RESET_PID cpp guards.
16317         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16319 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
16321         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16322         __sp to uintptr_t.
16324 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16326         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16327         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16328         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16329         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16330         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16331         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16332         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16333         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16334         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16335         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16336         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16337         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16338         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16339         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16340         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16341         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16342         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16343         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16344         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16345         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16347         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16348         (pthread_rwlock_rdlock): Add elision.
16349         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16350         (pthread_rwlock_wrlock): Add elision.
16351         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16352         (pthread_rwlock_trywrlock): Add elision.
16353         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16354         (pthread_rwlock_tryrdlock): Add elision.
16355         * nptl/pthread_rwlock_unlock.c: Include elide.h.
16356         (pthread_rwlock_tryrdlock): Add elision unlock.
16357         * nptl/sysdeps/pthread/pthread.h:
16358         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16359         (PTHREAD_RWLOCK_INITIALIZER,
16360         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16361         Handle new elision field.
16362         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16363         * sysdeps/arm/nptl/bits/pthreadtypes.h
16364         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16365         * sysdeps/sh/nptl/bits/pthreadtypes.h
16366         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16367         * sysdeps/tile/nptl/bits/pthreadtypes.h
16368         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16369         * sysdeps/a/nptl/bits/pthreadtypes.h
16370         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16371         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16372         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16373         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16375         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16377         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16378         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16379         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16380         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16381         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16382         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16383         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16384         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16385         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16386         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16387         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16388         (elision_init): Set try_xbegin to zero when no RTM.
16389         * sysdeps/x86/nptl/bits/pthreadtypes.h
16390         (pthread_rwlock_t): Change __pad1 to __rwelision.
16391         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16393 2014-06-13  Andi Kleen  <ak@linux.intel.com>
16395         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16396         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16397         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16398         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16400 2014-06-13  Meador Inge  <meadori@codesourcery.com>
16402         [BZ #16996]
16403         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16404         that the cached result has been set before returning it.
16406 2014-06-12  Roland McGrath  <roland@hack.frob.com>
16408         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16409         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16410         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16411         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16412         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16413         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16415         * nptl/sysdeps/sparc/Makefile: Moved ...
16416         * sysdeps/sparc/nptl/Makefile: ... here.
16417         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16418         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16419         * nptl/sysdeps/sparc/tls.h: Moved ...
16420         * sysdeps/sparc/nptl/tls.h: ... here.
16421         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16422         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16423         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16424         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16425         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16426         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16427         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16428         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16429         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16430         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16431         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16432         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16433         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16434         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16435         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16436         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16437         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16438         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16439         Update #include.
16440         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16441         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16442         Update #include.
16443         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16444         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16445         Update #include.
16446         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16447         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16448         Update #include.
16450         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16452         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16453         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16455         * sysdeps/pthread/posix-timer.h: Include <list.h>.
16456         (struct list_links): Type removed.
16457         (struct thread_node, struct timer_node): Replace struct list_links
16458         with struct list_head.
16459         (list_unlink_ip): Likewise.
16460         * sysdeps/pthread/timer_routines.c
16461         (timer_free_list, thread_free_list, thread_active_list): Likewise.
16462         (list_append, list_insbefore): Likewise.
16463         (list_init): Function removed.
16464         (thread_init, init_module): Use INIT_LIST_HEAD instead.
16465         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16466         * sysdeps/pthread/Makefile: ... here, new file.
16468         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16469         * sysdeps/nptl/Implies: ... here.
16470         * sysdeps/unix/sysv/linux/Implies: Add nptl.
16471         * nptl/sysdeps/pthread/list.h: Moved ...
16472         * include/list.h: ... here.
16473         * nptl/sysdeps/pthread/createthread.c: Moved ...
16474         * nptl/createthread.c: ... here.
16475         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16476         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16477         * nptl/pt-longjmp.c: ... here.
16478         * nptl/sysdeps/pthread/Makefile: Moved ...
16479         * sysdeps/nptl/Makefile: ... here.
16480         * nptl/sysdeps/pthread/Subdirs: Moved ...
16481         * sysdeps/nptl/Subdirs: ... here.
16482         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16483         * sysdeps/nptl/aio_misc.h: ... here.
16484         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16485         * sysdeps/nptl/bits/libc-lock.h: ... here.
16486         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16487         * sysdeps/nptl/bits/libc-lockP.h: ... here.
16488         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16489         * sysdeps/nptl/bits/stdio-lock.h: ... here.
16490         * nptl/sysdeps/pthread/configure: Moved ...
16491         * sysdeps/nptl/configure: ... here.
16492         * nptl/sysdeps/pthread/configure.ac: Moved ...
16493         * sysdeps/nptl/configure.ac: ... here.
16494         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16495         * sysdeps/nptl/gai_misc.h: ... here.
16496         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16497         * sysdeps/nptl/librt-cancellation.c: ... here.
16498         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16499         * sysdeps/nptl/malloc-machine.h: ... here.
16500         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16501         * sysdeps/nptl/pthread-functions.h: ... here.
16502         * nptl/sysdeps/pthread/pthread.h: Moved ...
16503         * sysdeps/nptl/pthread.h: ... here.
16504         * nptl/sysdeps/pthread/setxid.h: Moved ...
16505         * sysdeps/nptl/setxid.h: ... here.
16506         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16507         * sysdeps/nptl/sigfillset.c: ... here.
16508         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16509         * sysdeps/nptl/tcb-offsets.h: ... here.
16510         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16511         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16512         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16513         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16514         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16515         * sysdeps/pthread/allocalim.h: ... here.
16516         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16517         * sysdeps/pthread/bits/sigthread.h: ... here.
16518         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16519         * sysdeps/pthread/flockfile.c: ... here.
16520         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16521         * sysdeps/pthread/ftrylockfile.c: ... here.
16522         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16523         * sysdeps/pthread/funlockfile.c: ... here.
16524         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16525         * sysdeps/pthread/posix-timer.h: ... here.
16526         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16527         * sysdeps/pthread/timer_create.c: ... here.
16528         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16529         * sysdeps/pthread/timer_delete.c: ... here.
16530         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16531         * sysdeps/pthread/timer_getoverr.c: ... here.
16532         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16533         * sysdeps/pthread/timer_gettime.c: ... here.
16534         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16535         * sysdeps/pthread/timer_routines.c: ... here.
16536         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16537         * sysdeps/pthread/timer_settime.c: ... here.
16538         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16539         * sysdeps/pthread/tst-timer.c: ... here.
16540         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16541         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16543         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16544         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16546         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16547         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16548         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16549         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16550         Update #include target.
16551         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16552         * sysdeps/i386/i686/nptl/Makefile: ... here.
16553         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16554         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16555         Update #include target.
16556         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16557         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16558         * nptl/sysdeps/i386/Makefile: Moved ...
16559         * sysdeps/i386/nptl/Makefile: ... here.
16560         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16561         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16562         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16563         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16564         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16565         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16566         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16567         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16568         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16569         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16570         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16571         * nptl/sysdeps/i386/tls.h: Moved ...
16572         * sysdeps/i386/nptl/tls.h: ... here.
16574         * sysdeps/sh/Makefile [$(subdir) = csu]
16575         (gen-as-const-headers): Add tcb-offsets.sym.
16576         * nptl/sysdeps/sh/Makefile: File removed.
16577         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16578         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16579         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16580         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16581         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16582         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16583         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16584         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16585         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16586         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16587         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16588         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16589         * nptl/sysdeps/sh/tls.h: Moved ...
16590         * sysdeps/sh/nptl/tls.h: ... here.
16591         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16592         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16593         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16594         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16595         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16596         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16597         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16598         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16599         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16600         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16601         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16602         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16603         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16604         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16605         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16606         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16607         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16608         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16609         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16610         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16611         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16612         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16613         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16614         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16615         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16616         Moved ...
16617         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16618         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16619         Moved ...
16620         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16621         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16622         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16623         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16624         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16625         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16626         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16627         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16628         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16629         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16630         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16631         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16632         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16633         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16634         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16635         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16636         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16637         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16638         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16640 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16642         * posix/spawn_faction_addopen.c: Include string.h.
16644 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16646         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16647         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16648         * nptl/sysdeps/x86_64/Makefile: Moved ...
16649         * sysdeps/x86_64/nptl/Makefile: ... here.
16650         * nptl/sysdeps/x86_64/configure: Moved ...
16651         * sysdeps/x86_64/nptl/configure: ... here.
16652         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16653         * sysdeps/x86_64/nptl/configure.ac: ... here.
16654         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16655         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16656         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16657         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16658         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16659         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16660         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16661         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16662         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16663         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16664         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16665         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16666         * nptl/sysdeps/x86_64/tls.h: Moved ...
16667         * sysdeps/x86_64/nptl/tls.h: ... here.
16668         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16669         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16670         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16671         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16673         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16675 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16679 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16681         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16682         type.
16683         [POSIX] (off_t): Likewise.
16684         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16685         [POSIX] (S_ISBLK): Require macro.
16686         [POSIX] (S_ISCHR): Likewise.
16687         [POSIX] (S_ISDIR): Likewise.
16688         [POSIX] (S_ISFIFO): Likewise.
16689         [POSIX] (S_ISREG): Likewise.
16690         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16691         optional-macro.
16692         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16693         type.
16694         [POSIX] (time_t): Likewise.
16695         [POSIX] (timer_t): Likewise.
16697 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16699         [BZ #17048]
16700         * posix/spawn_int.h (struct __spawn_action): Make the path string
16701         non-const to support deallocation.
16702         * posix/spawn_faction_addopen.c
16703         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16704         * posix/spawn_faction_destroy.c
16705         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16706         path in all spawn_do_open actions.
16707         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16708         posix_spawn_file_actions_addopen.
16710 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16712         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16713         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16714         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16715         conditional code always true.
16716         (__libc_vfork): New alias.
16718 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16720         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16721         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16723         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16725         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16726         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16728         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16729         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16731         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16732         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16734 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16736         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16737         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16738         multiarch strcmp for PPC64.
16739         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16740         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16742         multiarch optimizations.
16743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16744         (__libc_ifunc_impl_list): Likewise.
16746 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16748         * benchtests/scripts/validate_benchout.py: New script.
16749         * benchtests/Makefile (bench-func): Call it.
16750         * benchtests/scripts/benchout.schema.json: New file.
16752 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16754         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16755         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16756         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16757         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16758         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16759         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16760         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16761         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16762         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16763         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16764         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16765         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16766         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16767         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16768         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16769         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16771         Moved ...
16772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16773         ... here.
16774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16775         Moved ...
16776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16778         Moved ...
16779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16780         ... here.
16781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16782         Moved ...
16783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16784         ... here.
16785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16786         Moved ...
16787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16789         Moved ...
16790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16791         ... here.
16792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16793         Moved ...
16794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16795         ... here.
16796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16797         Moved ...
16798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16800         Moved ...
16801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16802         ... here.
16803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16804         Moved ...
16805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16806         ... here.
16807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16808         Moved ...
16809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16810         ... here.
16811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16812         Moved ...
16813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16815         Moved ...
16816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16817         ... here.
16818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16819         Moved ...
16820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16821         ... here.
16822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16823         Moved ...
16824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16825         ... here.
16826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16827         Moved ...
16828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16830         Moved ...
16831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16832         ... here.
16833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16834         Moved ...
16835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16836         ... here.
16837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16838         Moved ...
16839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16841         Moved ...
16842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16843         ... here.
16844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16845         Moved ...
16846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16848         Moved ...
16849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16851         Moved ...
16852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16853         ... here.
16854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16855         Moved ...
16856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16857         ... here.
16858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16859         Moved ...
16860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16861         ... here.
16862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16863         Moved ...
16864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16866         Moved ...
16867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16868         ... here.
16869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16870         Moved ...
16871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16872         ... here.
16873         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16874         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16875         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16876         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16877         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16878         Moved ...
16879         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16880         ... here.
16881         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16882         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16883         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16884         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16885         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16886         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16887         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16888         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16889         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16890         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16891         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16892         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16893         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16894         Moved ...
16895         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16896         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16897         Moved ...
16898         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16899         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16900         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16901         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16902         Moved ...
16903         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16904         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16905         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16906         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16907         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16908         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16909         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16911 2014-06-10  Wilco  <wdijkstr@arm.com>
16913         * math/test-fenv-return.c: New file.
16914         * math/Makefile: Add new test test-fenv-return.
16916 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16918         [BZ #17042]
16919         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16920         when x - 1 is zero.
16921         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16922         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16923         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16924         0.0L for an argument of 1.0L.
16925         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16926         Likewise.
16927         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16928         value when x - 1 is zero.
16929         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16930         * sysdeps/i386/fpu/libm-test-ulps: Update.
16931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16933 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16935         [BZ #15119]
16936         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16938 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16940         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16941         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16943 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16945         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16946         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16948         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16949         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16951         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16952         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16954         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16955         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16957         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16958         if not already defined.
16959         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16960         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16961         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16962         (TLS_INIT_TP): Use it.
16963         (TLS_DEFINE_INIT_TP): New macro.
16964         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16966 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16968         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16969         constant.
16970         [POSIX] (IXANY): Likewise.
16971         [POSIX] (OLCUC): Likewise.
16972         [POSIX || POSIX2008] (CBAUD): Do not allow.
16973         [POSIX || POSIX2008] (DEFECHO): Likewise.
16974         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16975         [POSIX || POSIX2008] (ECHOKE): Likewise.
16976         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16977         [POSIX || POSIX2008] (EXTA): Likewise.
16978         [POSIX || POSIX2008] (EXTB): Likewise.
16979         [POSIX || POSIX2008] (FLUSHO): Likewise.
16980         [POSIX || POSIX2008] (LOBLK): Likewise.
16981         [POSIX || POSIX2008] (PENDIN): Likewise.
16982         [POSIX || POSIX2008] (SWTCH): Likewise.
16983         [POSIX || POSIX2008] (VDISCARD): Likewise.
16984         [POSIX || POSIX2008] (VDSUSP): Likewise.
16985         [POSIX || POSIX2008] (VLNEXT): Likewise.
16986         [POSIX || POSIX2008] (VREPRINT): Likewise.
16987         [POSIX || POSIX2008] (VSTATUS): Likewise.
16988         [POSIX || POSIX2008] (VWERASE): Likewise.
16989         (B*): Change to B[0123456789]*.
16990         * conform/data/time.h-data [POSIX || UNIX98]
16991         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16992         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16993         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16994         [POSIX] (tm_*): Do not allow.
16996 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16998         * Makefile (install): Don't set LANGUAGE.
16999         * Makefile.in (install): Likewise.
17000         * assert/Makefile (test-assert-ENV): Remove variable.
17001         (test-assert-perr-ENV): Likewise.
17002         * elf/Makefile (neededtest4-ENV): Likewise.
17003         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17004         [$(cross-compiling) = no]: Don't set LANGUAGE.
17005         * io/ftwtest-sh (LANG): Remove variable.
17006         * libio/Makefile (tst-widetext-ENV): Likewise.
17007         * manual/install.texi (Running make install): Don't refer to
17008         environment settings for make install.
17009         * INSTALL: Regenerated.
17010         * nptl/tst-tls6.sh: Don't set LANG.
17011         * posix/globtest.sh (LANG): Remove variable.
17012         * string/Makefile (tester-ENV): Likewise.
17013         (inl-tester-ENV): Likewise.
17014         (noinl-tester-ENV): Likewise.
17015         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17016         [$(cross-compiling) = no]: Don't set LANGUAGE.
17017         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17018         without explicit environment settings.
17020 2014-06-06  Roland McGrath  <roland@hack.frob.com>
17022         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17023         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17024         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17025         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17027 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
17029         * crypt/crypt-private.h [DOS]: Add some includes taken from the
17030         other files in the crypt directory.
17031         * crypt/crypt.c: Remove duplicate includes.
17032         * crypt/crypt-entry.c: Likewise.
17033         * crypt/crypt_util.c: Likewise.
17035 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
17037         * Makeconfig (run-program-env): New variable.
17038         (run-program-prefix-before-env): Likewise.
17039         (run-program-prefix-after-env): Likewise.
17040         (run-program-prefix): Define in terms of new variables.
17041         (built-program-cmd-before-env): New variable.
17042         (built-program-cmd-after-env): Likewise.
17043         (built-program-cmd): Define in terms of new variables.
17044         (test-program-prefix-before-env): New variable.
17045         (test-program-prefix-after-env): Likewise.
17046         (test-program-prefix): Define in terms of new variables.
17047         (test-program-cmd-before-env): New variable.
17048         (test-program-cmd-after-env): Likewise.
17049         (test-program-cmd): Define in terms of new variables.
17050         * Rules (make-test-out): Use $(run-program-env).
17051         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17052         (help): Do not mention environment variables.  Mention
17053         --timeoutfactor option.
17054         (timeoutfactor): New variable.
17055         (blacklist_exports): Remove function.
17056         (exports): Remove variable.
17057         (command): Do not include ${exports}.
17058         * manual/install.texi (Configuring and compiling): Do not mention
17059         test wrappers preserving environment variables.  Mention that last
17060         assignment to a variable must take precedence.
17061         * INSTALL: Regenerated.
17062         * benchtests/Makefile (run-bench): Use $(run-program-env).
17063         * catgets/Makefile ($(objpfx)test1.cat): Use
17064         $(built-program-cmd-before-env), $(run-program-env) and
17065         $(built-program-cmd-after-env).
17066         ($(objpfx)test2.cat): Do not specify environment variables
17067         explicitly.
17068         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17069         $(run-program-env) and $(built-program-cmd-after-env).
17070         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17071         $(run-program-env) and $(test-program-cmd-after-env).
17072         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17073         explicitly.
17074         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17075         run_program_env and test_program_cmd_after_env arguments.
17076         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17077         * elf/tst-pathopt.sh: Use run_program_env argument.
17078         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17079         $(test-wrapper-env) and $(run-program-env).
17080         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17081         run_program_env arguments.
17082         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17083         * intl/Makefile ($(objpfx)tst-gettext.out): Use
17084         $(test-program-prefix-before-env), $(run-program-env) and
17085         $(test-program-prefix-after-env).
17086         ($(objpfx)tst-gettext2.out): Likewise.
17087         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17088         run_program_env and test_program_prefix_after_env arguments.
17089         * intl/tst-gettext2.sh: Likewise.
17090         * intl/tst-gettext4.sh: Do not set environment variables
17091         explicitly.
17092         * intl/tst-gettext6.sh: Likewise.
17093         * intl/tst-translit.sh: Likewise.
17094         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17095         $(test-program-prefix-before-env), $(run-program-env) and
17096         $(test-program-prefix-after-env).
17097         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17098         run_program_env and test_program_prefix_after_env arguments.
17099         * math/Makefile (run-regen-ulps): Use $(run-program-env).
17100         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17101         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
17102         explicitly with each use of ${test_wrapper_env}.
17103         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17104         $(test-program-prefix-before-env), $(run-program-env) and
17105         $(test-program-prefix-after-env).
17106         * posix/tst-getconf.sh: Do not set environment variables
17107         explicitly.
17108         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17109         run_program_env and test_program_prefix_after_env arguments.
17110         * stdio-common/tst-printf.sh: Do not set environment variables
17111         explicitly.
17112         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17113         $(test-program-prefix-before-env), $(run-program-env) and
17114         $(test-program-prefix-after-env).
17115         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17116         run_program_env and test_program_prefix_after_env arguments.
17117         Split $test calls into $test_pre and $test.
17118         * timezone/Makefile (build-testdata): Use
17119         $(built-program-cmd-before-env), $(run-program-env) and
17120         $(built-program-cmd-after-env).
17122 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17124         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17125         strlen for non SHARED builds.
17127 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17129         * nptl/allocatestack.c (check_list): Inlined function...
17130         (__reclaim_stacks): ... here.
17132 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17134         [BZ #15698]
17135         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17136         memory overrun.
17138 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
17140         * Rules (make-test-out): Include
17141         LOCPATH=$(common-objpfx)localedata in default environment.
17142         * debug/Makefile (tst-chk1-ENV): Remove variable.
17143         (tst-chk2-ENV): Likewise.
17144         (tst-chk3-ENV): Likewise.
17145         (tst-chk4-ENV): Likewise.
17146         (tst-chk5-ENV): Likewise.
17147         (tst-chk6-ENV): Likewise.
17148         (tst-lfschk1-ENV): Likewise.
17149         (tst-lfschk2-ENV): Likewise.
17150         (tst-lfschk3-ENV): Likewise.
17151         (tst-lfschk4-ENV): Likewise.
17152         (tst-lfschk5-ENV): Likewise.
17153         (tst-lfschk6-ENV): Likewise.
17154         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17155         (tst-iconv7-ENV): Likewise.
17156         * intl/Makefile (LOCPATH-ENV): Likewise.
17157         (tst-codeset-ENV): Likewise.
17158         (tst-gettext3-ENV): Likewise.
17159         (tst-gettext5-ENV): Likewise.
17160         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17161         (tst-fopenloc-ENV): Likewise.
17162         (tst-fgetws-ENV): Remove variable.
17163         (tst-ungetwc1-ENV): Likewise.
17164         (tst-ungetwc2-ENV): Likewise.
17165         (bug-ungetwc2-ENV): Likewise.
17166         (tst-swscanf-ENV): Likewise.
17167         (bug-ftell-ENV): Likewise.
17168         (tst-fgetwc-ENV): Likewise.
17169         (tst-fseek-ENV): Likewise.
17170         (tst-ftell-partial-wide-ENV): Likewise.
17171         (tst-ftell-active-handler-ENV): Likewise.
17172         (tst-ftell-append-ENV): Likewise.
17173         * posix/Makefile (tst-fnmatch-ENV): Likewise.
17174         (tst-regexloc-ENV): Likewise.
17175         (bug-regex1-ENV): Likewise.
17176         (tst-regex-ENV): Likewise.
17177         (tst-regex2-ENV): Likewise.
17178         (bug-regex5-ENV): Likewise.
17179         (bug-regex6-ENV): Likewise.
17180         (bug-regex17-ENV): Likewise.
17181         (bug-regex18-ENV): Likewise.
17182         (bug-regex19-ENV): Likewise.
17183         (bug-regex20-ENV): Likewise.
17184         (bug-regex22-ENV): Likewise.
17185         (bug-regex23-ENV): Likewise.
17186         (bug-regex25-ENV): Likewise.
17187         (bug-regex26-ENV): Likewise.
17188         (bug-regex30-ENV): Likewise.
17189         (bug-regex32-ENV): Likewise.
17190         (bug-regex33-ENV): Likewise.
17191         (bug-regex34-ENV): Likewise.
17192         (bug-regex35-ENV): Likewise.
17193         (tst-rxspencer-ENV): Likewise.
17194         (tst-rxspencer-no-utf8-ENV): Likewise.
17195         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17196         (tst-sscanf-ENV): Likewise.
17197         (tst-swprintf-ENV): Likewise.
17198         (tst-swscanf-ENV): Likewise.
17199         (test-vfprintf-ENV): Likewise.
17200         (scanf13-ENV): Likewise.
17201         (bug14-ENV): Likewise.
17202         (tst-grouping-ENV): Likewise.
17203         * stdlib/Makefile (tst-strtod-ENV): Likewise.
17204         (tst-strtod3-ENV): Likewise.
17205         (tst-strtod4-ENV): Likewise.
17206         (tst-strtod5-ENV): Likewise.
17207         (testmb2-ENV): Likewise./
17208         * string/Makefile (tst-strxfrm-ENV): Likewise.
17209         (tst-strxfrm2-ENV): Likewise.
17210         (bug-strcoll1-ENV): Likewise.
17211         (test-strcasecmp-ENV): Likewise.
17212         (test-strncasecmp-ENV): Likewise.
17213         * time/Makefile (tst-strptime-ENV): Likewise.
17214         (tst-ftime_l-ENV): Likewise.
17215         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17216         (tst-mbrtowc-ENV): Likewise.
17217         (tst-wcrtomb-ENV): Likewise.
17218         (tst-mbrtowc2-ENV): Likewise.
17219         (tst-c16c32-1-ENV): Likewise.
17220         (tst-mbsnrtowcs-ENV): Likewise.
17222 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
17224         * manual/resource.texi (How to get information about the memory
17225         subsystem?): Fix typo.
17226         Reported by Peon de la Parra Ivan <peon@keba.com>
17228 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
17230         [BZ #16882]
17231         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17232         (pthread_spin_lock): Branch out of spin loop to proper location.
17233         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17234         (pthread_spin_lock): Likewise.
17236         * nptl/tst-spin4.c: New test.
17237         * nptl/Makefile (tests): Add tst-spin4.
17239 2014-06-03  Andreas Schwab  <schwab@suse.de>
17241         [BZ #15946]
17242         * resolv/res_send.c (send_dg): Reload file descriptor after
17243         calling reopen.
17245 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
17247         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17249 2014-06-03  Richard Henderson  <rth@redhat.com>
17251         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17252         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17253         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17254         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
17255         in the SAVE_PID block.
17256         (__libc_vfork): New alias.
17257         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17259         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17260         child in registers, not on the stack.  Remove RESET_PID conditionals.
17261         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17263 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17265         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17267 2014-06-03  Wilco  <wdijkstr@arm.com>
17269         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17270         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17271         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17272         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17273         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17274         Likewise.
17276 2014-06-03  Wilco  <wdijkstr@arm.com>
17278         * sysdeps/aarch64/fpu/math_private.h
17279         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17280         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17281         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17282         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17283         Fix declarations.
17285 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17287         * crypt/crypt-private.h: Include ufc-crypt.h.
17288         (__b64_from_24bit): Declare extern.
17289         * crypt/crypt_util.c(__b64_from_24bit): New function.
17290         (b64t): New static const variable.
17291         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17292         (b64t): Remove variable.
17293         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17294         * crypt/sha256-crypt.c: Include crypt-private.h.
17295         (b64t): Remove variable.
17296         (__sha256_crypt_r): Remove b64_from_24bit and replace
17297         with __b64_from_24bit.
17298         * crypt/sha512-crypt.c: Likewise.
17300 2014-06-02  Roland McGrath  <roland@hack.frob.com>
17302         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17303         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17304         Label the code __libc_vfork rather than __vfork.
17305         [!NOT_IN_libc] (vfork): Define as weak alias.
17306         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17307         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17308         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17310 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17312         * malloc/malloc.c (malloc_info): Fix format specifier for
17313         n_mmaps.
17315 2014-06-02  Wilco  <wdijkstr@arm.com>
17317         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17318         FPCR write.
17320 2014-06-02  Wilco  <wdijkstr@arm.com>
17322         [BZ #17009]
17323         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17324         Rewrite to reduce FPCR/FPSR accesses.
17326 2014-06-01  David S. Miller  <davem@davemloft.net>
17328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17330 2014-05-31  David S. Miller  <davem@davemloft.net>
17332         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17333         to occur in round to nearest mode when |x| >= 2.0
17335 2014-05-30  Richard Henderson  <rth@twiddle.net>
17337         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17338         (PSEUDO_RET_NOERRNO): Remove.
17339         (ret): Don't redefine.
17340         (ret_NOERRNO): Define in terms of ret.
17341         (ret_ERRVAL): Likewise.
17343         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17344         use of PSEUDO_RET; perform the error check directly.
17346 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
17348         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17349         with __int128_t.
17351 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17353         * malloc/malloc (malloc_info): Fix formatting.
17355 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17356             Roland McGrath  <roland@hack.frob.com>
17358         * malloc/malloc (malloc_info): Also print mmapped statistics.
17360 2014-05-30  Roland McGrath  <roland@hack.frob.com>
17362         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17363         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17365 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
17367         * malloc/malloc.c (malloc_info): Inline mi_arena.
17369 2014-05-29  Richard Henderson  <rth@twiddle.net>
17371         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17372         Remove comma before expanding ASM_ARGS_##nr.
17373         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17374         Make _x0 a strict output; make _x8 a strict input; adjust expansion
17375         of ASM_ARGS_##nr.
17376         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17377         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17378         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17379         (ASM_ARGS_1): Add leading comma.
17381         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17382         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17383         to __errno_location.
17384         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17385         Remove the expected plt for __errno_location.
17387         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17388         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17389         call to __read_tp.
17391         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17392         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
17393         it and break it down.
17394         (DOCARGS_0, DOCARGS_1): Do nothing.
17395         (DOCARGS_2): Update to store into the new stack frame.
17396         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17397         (UNDOCARGS_1): Update to restore from the new stack frame.
17398         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17399         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17401         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17402         (SINGLE_THREAD_P): New parameter for result regno.
17403         (PSEUDO): Update to match; use cbz instead of beq.
17405         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17406         Use ENTRY to define the _nocancel entry point.  Share the syscall
17407         and syscall error check paths with the cancel path.
17408         (PSEUDO_END): New.
17410         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17411         whitespace; tabs before and after asm mnemonics.
17413 2014-05-29  Eric Wong  <normalperson@yhbt.net>
17415         [BZ #15132]
17416         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17417         Call fstat64 or stat64 internally, depending on arguments passed.
17418         Replace stat buffer argument with file descriptor argument.
17419         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17420         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17421         Pass fd to __internal_statvfs instead of calling fstat64.
17422         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17423         Pass fd to __internal_statvfs64 instead of calling fstat64.
17424         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17425         Pass -1 to __internal_statvfs instead of calling stat64.
17426         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17427         Pass -1 to __internal_statvfs64 instead of calling stat64.
17429 2014-05-28  Roland McGrath  <roland@hack.frob.com>
17431         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17432         that was previously under [RESET_PID].
17433         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17435         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17436         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17438 2014-05-27  Roland McGrath  <roland@hack.frob.com>
17440         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17442         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17443         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17445 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
17447         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17449 2014-05-27  Andreas Schwab  <schwab@suse.de>
17451         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17452         TLS_INIT_TP macro.
17453         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17454         * elf/rtld.c (init_tls, dl_main): Likewise.
17455         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17456         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17457         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17458         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17459         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17460         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17461         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17462         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17463         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17464         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17465         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17466         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17467         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17468         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17469         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17470         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17471         * sysdeps/generic/tls.h: Update description.
17473 2014-05-27  Will Newton  <will.newton@linaro.org>
17475         [BZ #16990]
17476         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17477         and restore r2 rather than just restoring.
17479 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17481         [BZ #16724]
17482         * libio/tst-ftell-append.c: New test case.
17483         * libio/Makefile (tests): Add test case.
17484         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17485         append mode.
17486         * libio/wfileops.c (do_ftell_wide): Likewise.
17488 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17492         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17493         ...
17494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17496         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17497         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17498         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17499         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17500         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17501         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17502         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17503         Moved ...
17504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17505         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17506         Moved ...
17507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17508         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17509         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17510         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17511         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17512         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17513         ...
17514         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17515         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17516         Moved ...
17517         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17518         here.
17519         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17520         ...
17521         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17522         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17523         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17525         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17526         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17527         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17528         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17530         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17531         merge into ...
17532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17534         ...
17535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17536         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17537         ...
17538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17540         Moved ...
17541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17542         here.
17543         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17544         Moved ...
17545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17546         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17547         Moved ...
17548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17551         conditional [RESET_PID].
17552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17553         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17554         removed.
17555         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17556         removed.
17558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17559         <tcb-offsets.h>.
17560         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17561         (__libc_vfork): New strong alias.
17562         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17563         removed.
17564         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17565         Removed.
17567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17568         <tcb-offsets.h>.
17569         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17570         (__libc_vfork): New strong alias.
17571         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17572         removed.
17573         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17574         removed.
17576 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17578         * malloc/malloc.c (mi_arena): New function.
17579         (malloc_info): Remove nested function mi_arena. Call non-nosted
17580         function mi_arena.
17582 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17584         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17585         by insrwi.
17586         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17587         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17588         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17589         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17590         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17591         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17592         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17594 2014-05-26  Andreas Schwab  <schwab@suse.de>
17596         [BZ #16984]
17597         * locale/programs/repertoire.c (repertoire_read): Add slash
17598         between I18NPATH element and file name.
17599         * locale/programs/locfile.c (locfile_read): Likewise.
17601 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17603         * nptl/pthread_mutexattr_settype.c
17604         (__pthread_mutexattr_settype):
17605         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17607 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17609         * nptl/tst-mutex5 (do_test):
17610         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17612 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17614         * benchtests/README: Document 'init' directive.
17615         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17616         BENCH_INIT.
17617         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17618         (parse_file): Recognize 'init' directive.
17620 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17622         [BZ #16796]
17623         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17624         alignment of struct pthread.
17626 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17628         [BZ #16878]
17629         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17630         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17631         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17632         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17634 2014-05-25  Richard Henderson  <rth@twiddle.net>
17636         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17637         (SINGLE_THREAD_P_PIC): Remove.
17638         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17639         (SINGLE_THREAD_P_PIC): Remove.
17641         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17642         branch to syscall error ...
17643         (PSEUDO): ... here.
17644         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17645         from __local_syscall_error to .Lsyscall_error.
17646         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17647         (SYSCALL_ERROR): Update label name.
17649         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17650         Do not use DOARGS/UNDOARGS.
17651         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17652         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17653         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17654         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17655         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17657         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17658         block comment.
17660         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17661         define if !NOT_IN_libc.
17662         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17663         define with non-default symbol versions.
17665 2014-05-23  Richard Henderson  <rth@twiddle.net>
17667         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17668         (vfork, __vfork): Define via compat_symbol.
17670         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17671         [!HAVE_IFUNC] (vfork_compat): Remove.
17672         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17674 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17676         [BZ #16978]
17677         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17678         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17679         variable.
17681 2014-05-23  Richard Henderson  <rth@twiddle.net>
17683         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17684         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17685         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17686         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17688         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17689         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17690         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17691         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17692         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17693         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17694         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17695         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17696         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17697         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17698         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17699         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17700         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17701         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17702         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17703         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17704         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17705         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17706         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17707         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17708         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17709         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17710         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17711         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17712         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17713         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17714         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17715         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17716         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17717         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17718         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17719         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17720         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17721         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17722         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17723         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17724         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17725         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17726         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17727         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17728         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17729         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17730         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17731         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17732         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17733         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17734         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17735         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17736         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17737         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17738         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17739         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17740         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17741         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17742         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17743         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17745         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17746         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17747         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17748         before exiting on error.
17749         (__libc_vfork): New strong alias.
17750         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17751         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17753         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17754         that was previously under [RESET_PID].
17755         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17757         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17759 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17761         [BZ #16977]
17762         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17763         value when x - 1 is zero.
17764         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17765         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17766         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17767         0.0L for an argument of 1.0L.
17768         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17769         Likewise.
17770         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17771         value when x - 1 is zero.
17772         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17773         * sysdeps/i386/fpu/libm-test-ulps: Update.
17774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17776 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17778         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17779         alphasort and versionsort.
17781 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17783         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17784         macro.
17785         [copysignf]: Likewise.
17787 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17789         * crypt/md5-crypt.c: Fix formatting.
17791 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17793         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17794         (b64_from_24bit): New function.
17796 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17798         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17799         libc_hidden_builtin_def to ifunc.
17800         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17801         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17803 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17805         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17806         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17808 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17810         * nscd/Depend (linuxthreads): Remove.
17811         (nptl): Add.
17812         * resolv/Depend (linuxthreads): Remove.
17813         * rt/Depend (linuxthreads): Remove.
17815         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17816         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17817         $(common-objpfx)elf/.
17818         (link-libc-before-gnulib): Likewise.
17819         (elfobjdir): Remove variable.
17820         * Makefile (install): Use $(elf-objpfx) instead of
17821         $(common-objpfx)elf/.
17822         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17823         $(elfobjdir)/.
17824         (link-libc-deps): Likewise.
17825         ($(common-objpfx)libc.so): Likewise.
17826         ($(common-objpfx)linkobj/libc.so): Likewise.
17827         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17828         instead of $(common-objpfx)elf/.
17829         (symbolic-link-list): Likewise.
17830         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17831         [$(cross-compiling) = no]: Likewise.
17832         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17833         $(elfobjdir)/.
17834         (static-gnulib-arch): Likewise.
17835         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17836         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17837         $(common-objpfx)elf/.
17839 2014-05-21  Richard Henderson  <rth@redhat.com>
17841         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17842         (SINGLE_THREAD_P): Use the correct width load.  Fold
17843         into the ldr offset.
17845         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17846         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17848 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17850         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17851         (libgcc_s_resume): Use __attribute_used__.
17852         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17853         Likewise.
17855 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17857         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17858         optimization when used with float constants.
17860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17862 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17864         [BZ #16915]
17865         * locale/nl_langinfo_l.c: Make direct reference to every
17866         _nl_current_CATEGORY symbol.
17867         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17868         (tests-static): Add tst-langinfo-static.
17869         (tests-special): Add tst-langinfo-static.out.
17870         ($(objpfx)tst-langinfo.out): Redirect output.
17871         ($(objpfx)tst-langinfo-static.out): New.
17872         * localedata/tst-langinfo.sh: Send output to stdout.
17873         * localedata/tst-langinfo-static.c: New file.
17875         [BZ #16965]
17876         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17877         when the shift amount is modulo the limb size.
17879 2014-05-20  Richard Henderson  <rth@redhat.com>
17881         [BZ #16967]
17882         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17883         Change type of sa_flags from unsigned int to int.
17885         [BZ #16966]
17886         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17888         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17890 2014-05-20  Will Newton  <will.newton@linaro.org>
17892         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17893         Test the return value of the system call in the nocancel case.
17895 2014-05-20  Will Newton  <will.newton@linaro.org>
17896             Yvan Roux  <yvan.roux@linaro.org>
17898         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17899         #include of asm/ptrace.h.
17900         (PTRACE_GET_THREAD_AREA): Remove #undef.
17901         (PTRACE_GETHBPREGS): Likewise.
17902         (PTRACE_SETHBPREGS): Likewise.
17903         (struct user_regs_struct): New structure.
17904         (struct user_fpsimd_struct): New structure.
17905         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17906         #include of asm/ptrace.h and second #include of sys/user.h.
17907         (PTRACE_GET_THREAD_AREA): Remove #undef.
17908         (PTRACE_GETHBPREGS): Likewise.
17909         (PTRACE_SETHBPREGS): Likewise.
17910         (ELF_NGREG): Use new struct user_regs_struct.
17911         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17913 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17915         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17916         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17918 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17920         [BZ #16958]
17921         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17922         membar to avoid block loads/stores to overlap previous stores.
17924 2014-05-17  Richard Henderson  <rth@redhat.com>
17926         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17927         Create the __##syscall_name##_nocancel entry point.
17928         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17929         Remove; let the sysdep-cancel.h code create it.
17931 2014-05-17  David S. Miller  <davem@davemloft.net>
17933         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17934         Protect with __USE_GNU.
17935         (TIOCSET_TEMPT): Likewise.
17936         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17937         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17938         these are already provided in bits/ioctl-types.h
17940 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17942         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17943         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17945         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17946         Use wait4 regardless of [__NR_waitpid].
17948 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17950         PR libgcc/60166
17951         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17952         (_FP_NANSIGN_Q): Set the quiet bit.
17954 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17956         * benchtests/Makefile
17957         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17958         not $(common-objpfx)math/libm.so.
17959         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17960         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17961         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17962         $(common-objpfx)dlfcn/libdl.so.
17963         ($(objpfx)tst-audit8): Depend on $(libm), not
17964         $(common-objpfx)math/libm.so.
17965         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17966         not $(common-objpfx)dlfcn/libdl.so.
17967         * math/Makefile
17968         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17969         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17970         [$(build-shared) = yes].
17971         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17972         $(common-objpfx)nptl/libpthread.so.
17973         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17974         $(common-objpfx)math/libm.so$(libm.so-version) or
17975         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17976         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17977         $(common-objpfx)dlfcn/libdl.so.
17978         * setjmp/Makefile (link-libm): Remove variable.
17979         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17980         * stdio-common/Makefile (link-libm): Remove variable.
17981         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17982         * stdlib/Makefile (link-libm): Remove variable.
17983         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17984         ($(objpfx)tst-strtod-round): Likewise.
17985         ($(objpfx)tst-tininess): Likewise.
17986         ($(objpfx)tst-strtod-underflow): Likewise.
17987         ($(objpfx)tst-strtod6): Likewise.
17988         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17989         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17990         $(common-objpfx)dlfcn/libdl.so.
17992 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17994         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17995         BSD terminal modes definitions.
17997 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17999         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18000         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18002         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18003         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18004         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18005         Don't do #include_next.
18006         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18007         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18008         Don't do #include_next.
18009         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18010         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18011         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18012         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18014 2014-05-16  Allan McRae  <allan@archlinux.org>
18016         * po/sv.po: Update Swedish translation from translation project.
18018         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18019         in sed expression.
18021 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
18023         [BZ #16917]
18024         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18025         errno if the TIOCGPTN ioctl fails with an error different than
18026         EINVAL.
18027         * login/tst-ptsname.c: New file.
18028         * login/Makefile (tests): Add tst-ptsname.
18030         [BZ #16943]
18031         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18032         and prlimit64.
18034 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18036         [BZ #16849]
18037         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18038         herrno to return EAI_AGAIN.
18040 2014-05-14  Roland McGrath  <roland@hack.frob.com>
18042         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18043         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18044         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18045         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18046         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18047         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18048         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18049         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18050         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18051         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18052         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18053         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18054         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18055         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18056         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18057         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18058         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18059         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18060         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18061         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18062         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18063         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18064         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18065         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18066         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18067         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18068         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18069         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18070         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18071         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18073         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18075         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18077         Moved ...
18078         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18080         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18081         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18082         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18084         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18086         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18088         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18090         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18092         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18094         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18096         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18098         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18100         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18101         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18102         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18104         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18105         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18106         Moved ...
18107         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18109         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18111         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18113         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18115         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18117         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18119         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18121         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18123         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18125         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18127         Moved ...
18128         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18130         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18132         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18133         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18134         (libpthread-sysdep_routines): Add elision-related stuff here instead.
18135         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18136         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18137         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18138         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18139         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18140         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18141         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18142         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18143         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18144         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18145         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18146         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18147         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18148         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18149         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18150         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18151         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18152         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18153         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18154         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18155         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18156         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18157         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18158         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18159         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18160         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18161         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18162         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18164         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18165         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18167         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18168         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18169         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18170         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18171         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18172         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18173         Moved ...
18174         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18175         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18176         Moved ...
18177         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18178         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18179         Moved ...
18180         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18181         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18182         Moved ...
18183         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18184         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18185         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18186         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18187         Moved ...
18188         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18189         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18190         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18191         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18192         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18193         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18194         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18195         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18196         Moved ...
18197         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18198         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18199         Moved ...
18200         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18201         ... here.
18202         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18203         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18204         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18205         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18206         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18207         Moved ...
18208         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18209         ... here.
18210         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18211         Moved ...
18212         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18213         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18214         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18215         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18216         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18217         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18218         Moved ...
18219         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18220         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18221         Moved ...
18222         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18223         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18224         Moved ...
18225         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18226         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18227         Moved ...
18228         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18229         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18230         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18231         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18232         Moved ...
18233         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18234         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18235         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18236         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18237         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18238         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18239         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18240         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18241         Moved ...
18242         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18243         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18244         Moved ...
18245         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18246         ... here.
18247         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18248         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18249         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18250         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18251         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18252         Moved ...
18253         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18254         ... here.
18255         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18256         Moved ...
18257         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18258         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18259         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18260         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18261         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18262         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18263         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18264         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18265         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18266         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18267         Moved ...
18268         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18269         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18270         Moved ...
18271         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18272         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18273         Moved ...
18274         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18275         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18276         Moved ...
18277         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18278         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18279         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18280         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18281         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18282         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18283         Moved ...
18284         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18285         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18286         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18287         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18288         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18289         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18290         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18291         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18292         Moved ...
18293         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18294         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18295         Moved ...
18296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18297         ... here.
18298         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18299         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18300         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18301         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18302         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18303         Moved ...
18304         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18305         ... here.
18306         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18307         Moved ...
18308         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18309         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18310         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18311         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18312         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18313         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18314         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18315         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18316         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18317         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18318         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18320         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18321         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18323         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18324         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18326         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18327         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18328         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18329         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18330         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18331         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18332         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18333         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18334         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18335         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18336         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18337         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18338         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18339         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18340         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18341         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18342         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18343         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18344         Moved ...
18345         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18346         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18347         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18348         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18349         Moved ...
18350         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18351         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18352         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18353         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18354         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18356         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18357         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18358         Moved ...
18359         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18360         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18361         Moved ...
18362         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18363         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18364         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18365         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18366         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18367         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18368         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18369         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18370         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18371         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18372         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18373         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18374         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18375         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18376         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18377         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18378         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18380         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18381         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18382         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18383         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18384         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18386         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18387         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18388         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18389         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18390         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18391         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18392         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18393         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18394         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18395         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18397         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18400         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18401         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18402         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18403         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18404         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18405         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18406         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18407         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18408         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18409         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18410         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18411         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18412         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18413         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18414         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18415         Update #include.
18416         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18417         Likewise.
18418         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18419         Likewise.
18420         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18421         Likewise.
18422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18423         Likewise.
18424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18425         Likewise.
18426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18427         Likewise.
18428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18429         Likewise.
18430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18431         Likewise.
18432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18433         Likewise.
18434         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18435         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18437         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18438         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18439         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18440         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18441         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18442         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18443         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18444         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18445         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18446         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18447         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
18448         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
18450         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18451         that was previously under [RESET_PID].
18452         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18453         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18454         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18456         * sysdeps/i386/nptl/Implies: New file.
18457         * sysdeps/x86_64/nptl/Implies: New file.
18458         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18459         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18460         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18461         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18463         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18464         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18465         (__libc_vfork): New strong alias.
18466         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18467         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18469         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18470         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18471         (__libc_vfork): New strong alias.
18472         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18473         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18475         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18476         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18477         (__libc_vfork): New strong alias.
18478         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18479         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18480         * nptl/pt-vfork.c: New file.
18481         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18482         (libpthread: GLIBC_2.20): New version set (empty).
18484 2014-05-14  Will Newton  <will.newton@linaro.org>
18486         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18487         rather than #if.
18489 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18491         [BZ #16564]
18492         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18493         arguments with exponent 65 or above.
18494         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18495         arguments 0x1p113L or above.
18496         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18497         to arguments 0x1p107L or above.
18498         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18499         positive arguments with exponent 65 or above.
18500         * math/auto-libm-test-in: Add more tests of log1p.
18501         * math/auto-libm-test-out: Regenerated.
18503         [BZ #16928]
18504         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18505         non-finite arguments is +0.
18506         * math/s_cacosf.c (__cacosf): Likewise.
18507         * math/s_cacosl.c (__cacosl): Likewise.
18508         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18509         * sysdeps/i386/fpu/libm-test-ulps: Update.
18510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18512         [BZ #16927]
18513         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18514         value.
18515         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18516         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18517         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18518         for explicit high bit of mantissa when testing for argument equal
18519         to 1.
18520         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18521         * sysdeps/i386/fpu/libm-test-ulps: Update.
18522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18524         [BZ #16516]
18525         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18526         (__erf): Scale by 16 instead of 8 in potentially underflowing
18527         case.  Ensure exception if result actually underflows.
18528         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18529         (__erff): Scale by 16 instead of 8 in potentially underflowing
18530         case.  Ensure exception if result actually underflows.
18531         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18532         (efx8): Remove variable.
18533         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18534         case.  Ensure exception if result actually underflows.
18535         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18536         (efx8): Remove variable.
18537         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18538         case.  Ensure exception if result actually underflows.
18539         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18540         (efx8): Remove variable.
18541         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18542         case.  Ensure exception if result actually underflows.
18543         * math/auto-libm-test-in: Add more tests of erf.
18544         * math/auto-libm-test-out: Regenerated.
18546 2014-05-14  Andreas Schwab  <schwab@suse.de>
18548         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18549         Remove code conditionalized on USE___THREAD.
18551         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18552         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18553         not definedness.
18555 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18557         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18558         Define unconditionally.
18559         (__ASSUME_O_CLOEXEC): Likewise.
18560         (__ASSUME_SOCK_CLOEXEC): Likewise.
18561         (__ASSUME_IN_NONBLOCK): Likewise.
18562         (__ASSUME_PIPE2): Likewise.
18563         (__ASSUME_EVENTFD2): Likewise.
18564         (__ASSUME_SIGNALFD4): Likewise.
18565         (__ASSUME_DUP3): Likewise.
18566         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18567         (__ASSUME_DUP3): Do not define.
18568         (__ASSUME_EVENTFD2): Likewise.
18569         (__ASSUME_IN_NONBLOCK): Likewise.
18570         (__ASSUME_O_CLOEXEC): Likewise.
18571         (__ASSUME_PIPE2): Likewise.
18572         (__ASSUME_SIGNALFD4): Likewise.
18573         (__ASSUME_SOCK_CLOEXEC): Likewise.
18574         (__ASSUME_UTIMES): Undefine.
18575         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18576         (__ASSUME_UTIMES): Do not define.
18577         (__ASSUME_O_CLOEXEC): Likewise.
18578         (__ASSUME_SOCK_CLOEXEC): Likewise.
18579         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18580         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18581         0x020621].
18582         (__ASSUME_PIPE2): Likewise.
18583         (__ASSUME_EVENTFD2): Likewise.
18584         (__ASSUME_SIGNALFD4): Likewise.
18585         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18586         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18587         Do not define.
18588         (__ASSUME_EVENTFD2): Likewise.
18589         (__ASSUME_SIGNALFD4): Likewise.
18590         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18591         (__ASSUME_32BITUIDS): Likewise.
18592         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18593         (__ASSUME_IPC64): Likewise.
18594         (__ASSUME_ST_INO_64_BIT): Likewise.
18595         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18596         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18597         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18598         (__ASSUME_UTIMES): Do not define.
18599         (__ASSUME_PSELECT): Likewise.
18600         (__ASSUME_PPOLL): Likewise.
18601         (__ASSUME_O_CLOEXEC): Likewise.
18602         (__ASSUME_SOCK_CLOEXEC): Likewise.
18603         (__ASSUME_IN_NONBLOCK): Likewise.
18604         (__ASSUME_PIPE2): Likewise.
18605         (__ASSUME_EVENTFD2): Likewise.
18606         (__ASSUME_SIGNALFD4): Likewise.
18607         (__ASSUME_DUP3): Likewise.
18608         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18609         (__ASSUME_UTIMES): 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/microblaze/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/mips/kernel-features.h (__ASSUME_IPC64):
18627         Likewise.
18628         (__ASSUME_UTIMES): Likewise.
18629         (__ASSUME_EVENTFD2): Likewise.
18630         (__ASSUME_SIGNALFD4): Likewise.
18631         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18632         (__ASSUME_O_CLOEXEC): Likewise.
18633         (__ASSUME_SOCK_CLOEXEC): Likewise.
18634         (__ASSUME_IN_NONBLOCK): Likewise.
18635         (__ASSUME_PIPE2): Likewise.
18636         (__ASSUME_EVENTFD2): Likewise.
18637         (__ASSUME_SIGNALFD4): Likewise.
18638         (__ASSUME_DUP3): Likewise.
18639         (__ASSUME_UTIMES): Undefine.
18641         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18642         feclearexcept.  Remove symbol versioning code.
18643         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18644         symbol versioning code.
18645         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18646         symbol versioning code.
18647         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18648         feupdateenv.  Remove symbol versioning code.
18649         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18650         fegetexceptflag.  Remove symbol versioning code.
18651         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18652         fesetexceptflag.  Remove symbol versioning code.
18653         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18654         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18655         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18656         (__posix_fadvise64_l32): Remove prototype.
18657         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18658         code.
18660 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18662         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18663         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18664         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18665         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18667 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18669         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18670         current working directory
18672 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18674         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18675         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18676         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18677         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18678         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18679         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18680         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18681         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18682         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18683         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18684         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18685         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18686         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18687         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18688         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18689         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18690         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18691         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18692         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18693         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18694         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18695         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18696         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18697         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18698         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18699         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18700         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18701         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18702         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18703         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18704         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18705         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18706         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18707         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18708         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18709         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18710         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18711         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18712         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18713         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18714         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18715         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18717         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18718         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18720         * sysdeps/unix/sysv/linux/arm/Makefile
18721         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18722         Add rt-aeabi_unwind_cpp_pr1.
18723         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18724         Add nptl-aeabi_unwind_cpp_pr1.
18725         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18726         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18727         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18728         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18729         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18730         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18732         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18733         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18734         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18735         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18737         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18738         Deconditionalize the code that was previously under [RESET_PID].
18739         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18741         * sysdeps/generic/exit-thread.h: New file.
18742         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18743         * include/unistd.h (__exit_thread): Remove declaration.
18744         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18745         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18746         * csu/libc-start.c: Include <exit-thread.h>.
18747         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18748         * nptl/pthread_create.c: Include <exit-thread.h>.
18749         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18750         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18751         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18752         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18753         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18754         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18755         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18756         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18757         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18758         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18759         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18760         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18761         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18762         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18763         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18764         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18765         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18767 2014-05-13  Andreas Schwab  <schwab@suse.de>
18769         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18771 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18773         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18774         (__ASSUME_UTIMES): Do not condition on kernel version.
18775         (__ASSUME_PSELECT): Define unconditionally.
18776         (__ASSUME_PPOLL): Likewise.
18777         (__ASSUME_ATFCTS): Likewise.
18778         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18779         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18780         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18781         (__ASSUME_UTIMENSAT): Define unconditionally.
18782         (__ASSUME_PRIVATE_FUTEX): Likewise.
18783         (__ASSUME_FALLOCATE): Likewise.
18784         (__ASSUME_O_CLOEXEC): Likewise.
18785         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18786         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18787         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18788         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18789         (__ASSUME_IN_NONBLOCK): Likewise.
18790         (__ASSUME_PIPE2): Likewise.
18791         (__ASSUME_EVENTFD2): Likewise.
18792         (__ASSUME_SIGNALFD4): Likewise.
18793         (__ASSUME_DUP3): Likewise.
18794         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18795         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18796         (__ASSUME_AT_RANDOM): Likewise.
18797         (__ASSUME_PREADV): Likewise.
18798         (__ASSUME_PWRITEV): Likewise.
18799         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18800         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18801         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18802         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18803         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18804         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18805         (__ASSUME_O_CLOEXEC): Define unconditionally.
18806         (__ASSUME_PSELECT): Do not undefine conditionally.
18807         (__ASSUME_PPOLL): Likewise.
18808         (__ASSUME_ATFCTS): Likewise.
18809         (__ASSUME_SET_ROBUST_LIST): Likewise.
18810         (__ASSUME_UTIMENSAT): Likewise.
18811         (__ASSUME_FDATASYNC): Define unconditionally.
18812         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18813         (__ASSUME_SIGFRAME_V2): Likewise.
18814         )__ASSUME_EVENTFD2): Likewise.
18815         (__ASSUME_SIGNALFD4): Likewise.
18816         (__ASSUME_PSELECT): Do not undefine conditionally.
18817         (__ASSUME_PPOLL): Likewise.
18818         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18819         (__ASSUME_PSELECT): Define unconditionally.
18820         (__ASSUME_PPOLL): Likewise.
18821         (__ASSUME_O_CLOEXEC): Likewise.
18822         (__ASSUME_SOCK_CLOEXEC): Likewise.
18823         (__ASSUME_IN_NONBLOCK): Likewise.
18824         (__ASSUME_PIPE2): Likewise.
18825         (__ASSUME_EVENTFD2): Likewise.
18826         (__ASSUME_SIGNALFD4): Likewise.
18827         (__ASSUME_DUP3): Likewise.
18828         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18829         (__ASSUME_O_CLOEXEC): Likewise.
18830         (__ASSUME_SOCK_CLOEXEC): Likewise.
18831         (__ASSUME_IN_NONBLOCK): Likewise.
18832         (__ASSUME_PIPE2): Likewise.
18833         (__ASSUME_EVENTFD2): Likewise.
18834         (__ASSUME_SIGNALFD4): Likewise.
18835         (__ASSUME_DUP3): Likewise.
18836         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18837         (__ASSUME_EVENTFD2): Likewise.
18838         (__ASSUME_SIGNALFD4): Likewise.
18839         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18841 2014-05-12  Andreas Schwab  <schwab@suse.de>
18843         [BZ #16932]
18844         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18845         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18846         than maximum RPC packet size.
18847         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18848         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18849         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18850         (_nss_nis_getservbyport_r): Likewise.
18852 2014-05-12  Will Newton  <will.newton@linaro.org>
18854         * malloc/Makefile (tests): Add tst-mallopt.
18855         * malloc/tst-mallopt.c: New file.
18857 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18859         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18860         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18862 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18864         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18865         (tst-tlsmod6.so): Likewise.
18867 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18869         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18871 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18873         [BZ #16064]
18874         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18875         and <dl-procinfo.h>.
18876         (__fegetenv): Save SSE state in envp->__eip if supported.
18877         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18878         envp->__eip if supported.
18879         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18880         and <dl-procinfo.h>.
18881         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18882         __data_offset and __data_selector in environment to 0.  Set SSE
18883         state if supported.
18884         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18885         test-fenv-sse.
18886         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18887         -mfpmath=sse.
18888         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18890 2014-05-09  Will Newton  <will.newton@linaro.org>
18892         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18893         and libc_relro_required for ARM.
18894         * sysdeps/arm/preconfigure: Regenerate.
18896 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18897             Stefan Liebler  <stli@linux.vnet.ibm.com>
18899         * config.make.in (enable-lock-elision): New Makefile variable.
18900         * configure.ac: Likewise.
18901         * configure: Regenerate.
18902         * sysdeps/s390/configure.ac:
18903         Add check for gcc transactions support.
18904         * sysdeps/s390/configure: Regenerate.
18905         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18906         Build elision files if enabled.
18907         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18908         Add lock elision support for s390.
18909         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18910         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18911         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18912         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18913         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18914         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18915         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18916         Likewise.
18917         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18918         Likewise.
18919         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18920         Likewise.
18921         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18922         Likewise.
18923         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18924         (__lll_timedlock_elision, __lll_lock_elision)
18925         (__lll_unlock_elision, __lll_trylock_elision)
18926         (lll_timedlock_elision, lll_lock_elision)
18927         (lll_unlock_elision, lll_trylock_elision): Add.
18928         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18929         (pthread_mutex_t): Add lock elision support for s390.
18931 2014-05-14  Wilco  <wdijkstr@arm.com>
18933         * sysdeps/arm/fclrexcpt.c: Cleanup.
18934         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18935         * sysdeps/arm/feenablxcpt.c: Cleanup.
18936         * sysdeps/arm/fegetenv.c: Cleanup.
18937         * sysdeps/arm/fegetexcept.c: Cleanup.
18938         * sysdeps/arm/fegetround.c: Cleanup.
18939         * sysdeps/arm/feholdexcpt.c: Cleanup.
18940         * sysdeps/arm/fesetenv.c: Cleanup.
18941         * sysdeps/arm/fesetround.c: Cleanup.
18942         * sysdeps/arm/feupdateenv.c: Cleanup.
18943         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18944         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18945         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18946         * sysdeps/arm/ftestexcept.c: Cleanup.
18947         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18948         * sysdeps/arm/setfpucw.c: Cleanup.
18950 2014-05-09  Will Newton  <will.newton@linaro.org>
18952         * sysdeps/arm/armv7/strcmp.S: New file.
18953         * NEWS: Mention addition of ARMv7 optimized strcmp.
18955 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18957         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18958         look for %.ac rather than %.in.
18960         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18961         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18962         * sysdeps/mach/hurd/configure: Regenerated.
18963         * sysdeps/unix/sysv/linux/configure: Regenerated.
18965         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18967 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18969         [BZ# 16922]
18970         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18971         (LONG_SUB): Ditto.
18972         (PTR_SUB): Ditto.
18974 2014-05-07  Andreas Schwab  <schwab@suse.de>
18976         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18977         when skipping over non-matching result from nscd.
18979 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18981         [BZ #16876]
18982         * nptl/sockperf.c (client): Check socket return value.
18984         [BZ #16877]
18985         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18986         nscd security class.
18988 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18990         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18991         * sysdeps/arm/unwind.h: ... here.
18993 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18995         [BZ# 16916]
18996         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18997         Define.
18999 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19001         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19002         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19003         multiarch strncpy for PPC64.
19004         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19005         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19007         multiarch optimizations.
19008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19009         (__libc_ifunc_impl_list): Likewise.
19010         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19011         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19012         multiarch stpncpy for PPC64.
19013         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19014         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19016 2014-05-06  Andreas Schwab  <schwab@suse.de>
19018         [BZ #16912]
19019         * gmon/mcount.c (_MCOUNT_DECL): Use
19020         atomic_compare_and_exchange_bool_acq instead of
19021         catomic_compare_and_exchange_bool_acq.
19023 2014-05-05  Roland McGrath  <roland@hack.frob.com>
19025         * elf/Makefile (others, install-bin): Remove pldd.
19026         (pldd-modules): Variable removed.
19027         ($(objpfx)pldd): Target removed.
19028         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19029         (others, install-bin): Append pldd here.
19030         ($(objpfx)pldd): New target.
19032         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19033         to 0, so the first #if test emitted later doesn't see it undefined.
19034         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19035         * sysdeps/gnu/errlist.c: Regenerated.
19037 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19039         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19040         [libc_hidden_builtin_def]: Define to empty value.
19041         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19042         [libc_hidden_builtin_def]: Likewise.
19043         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19044         [libc_hidden_builtin_def]: Likewise.
19045         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19046         [libc_hidden_builtin_def]: Likewise.
19047         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19048         __redirect_memcpy and define ifunc as default hidden symbol.
19049         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19050         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19052 2014-05-04  Adam Conrad  <adconrad@0c3.net>
19054         * locale/iso-4217.def: Reintroduce XDR currency.
19056 2014-05-04  Allan McRae  <allan@archlinux.org>
19058         * po/eo.po: Update Esperanto translation from translation project.
19060 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
19062         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19063         and FEATURE_INDEX_MAX to 1.
19064         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19066 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19068         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19069         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19070         * iconvdata/big5.c (ONE_DIRECTION): Define.
19071         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19072         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19073         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19074         * iconvdata/cp932.c (ONE_DIRECTION): Define.
19075         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19076         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19077         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19078         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19079         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19080         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19081         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19082         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19083         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19084         * iconvdata/gbk.c (ONE_DIRECTION): Define.
19085         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19086         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19087         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19088         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19089         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19090         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19091         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19092         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19093         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19094         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19095         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19096         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19097         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19098         * iconvdata/iso646.c (ONE_DIRECTION): Define.
19099         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19100         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19101         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19102         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19103         * iconvdata/johab.c (ONE_DIRECTION): Define.
19104         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19105         * iconvdata/sjis.c (ONE_DIRECTION): Define.
19106         * iconvdata/t.61.c (ONE_DIRECTION): Define.
19107         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19108         * iconvdata/tscii.c (ONE_DIRECTION): Define.
19109         * iconvdata/uhc.c (ONE_DIRECTION): Define.
19110         * iconvdata/unicode.c (ONE_DIRECTION): Define.
19111         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19112         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19113         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19115 2014-05-01  Roland McGrath  <roland@hack.frob.com>
19117         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19118         (_IO_JUMPS_OFFSET): Define to 0.
19120         * nptl/sysdeps/pthread/bits/libc-lock.h
19121         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19122         (__libc_lock_define_initialized_recursive): Always define using
19123         initializer.  Modern compilers treat uninitialized (implicit zero) and
19124         explicit zero initializers the same (i.e. put the datum in bss).
19126 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19128         * nscd/nscd-client.h: Include <string.h>.
19130 2014-05-01  David S. Miller  <davem@davemloft.net>
19132         [BZ #16885]
19133         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19134         multiple zero bytes exist at the end of a string.
19135         Reported by Aurelien Jarno <aurelien@aurel32.net>
19137         * string/test-strcmp.c (check): Add explicit test for situations where
19138         there are multiple zero bytes after the first.
19140 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19142         [BZ #16890]
19143         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19144         when compiling wprintf.
19145         * stdio-common/tstdiomisc.c (t3): New function.
19146         (main): Call it.
19148 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19150         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19151         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19152         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19153         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19155 2014-05-01  Steve Ellcey  <sellcey@mips.com>
19157         * stdlib/longlong.h: Updated from GCC.
19159 2014-05-01  Will Newton  <will.newton@linaro.org>
19160             Bernard Ogden  <bernie.ogden@linaro.org>
19162         * NEWS: Update fixed bug list.
19164         [BZ #15119]
19165         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19167 2014-04-30  David S. Miller  <davem@davemloft.net>
19169         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19170         (libc_feholdexcept_setround_sparc_ctx): New function.
19171         (libc_fesetenv_sparc_ctx): Likewise.
19172         (libc_feupdateenv_sparc_ctx): Likewise.
19173         (libc_feholdsetround_sparc_ctx): Likewise.
19174         (libc_feholdexcept_setround_ctx): Define.
19175         (libc_feholdexcept_setroundf_ctx): Likewise.
19176         (libc_feholdexcept_setroundl_ctx): Likewise.
19177         (libc_fesetenv_ctx): Likewise.
19178         (libc_fesetenvf_ctx): Likewise.
19179         (libc_fesetenvl_ctx): Likewise.
19180         (libc_feupdateenv_ctx): Likewise.
19181         (libc_feupdateenvf_ctx): Likewise.
19182         (libc_feupdateenvl_ctx): Likewise.
19183         (libc_feresetround_ctx): Likewise.
19184         (libc_feresetroundf_ctx): Likewise.
19185         (libc_feresetroundl_ctx): Likewise.
19186         (libc_feholdsetround_ctx): Likewise.
19187         (libc_feholdsetroundf_ctx): Likewise.
19188         (libc_feholdsetroundl_ctx): Likewise.
19190         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19191         with __USE_GNU instead of XOPEN cpp guards.
19193         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19194         0.
19196         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19197         with XOPEN cpp guards.
19199 2014-04-30  Julian Brown  <julian@codesourcery.com>
19201         [BZ #16888]
19202         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19203         handling.
19205 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
19207         [BZ #9894]
19208         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19209         Change to 2.6.32.
19210         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19211         * sysdeps/unix/sysv/linux/configure: Regenerated.
19212         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19213         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19214         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19215         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19216         * README: Update reference to required Linux kernel version.
19217         * manual/install.texi (Linux): Update reference to required Linux
19218         kernel headers version.
19219         * INSTALL: Regenerated.
19221         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19222         header inclusion.
19223         [POSIX] (limits.h): Likewise.
19224         [POSIX] (math.h): Likewise.
19225         [POSIX] (sys/wait.h): Likewise.
19226         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19227         function.
19228         [POSIX] (stddef.h): Do not allow header inclusion.
19230 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19232         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19234 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
19236         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19237         Return immediately after lll_futex_wake.
19239 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19241         [BZ #16791]
19242         * nscd/nscd-client.h (datahead_init_common): Initialize entire
19243         structure.
19244         (datahead_init_pos): Call datahead_init_common early.
19245         (datahead_init_neg): Likewise.
19247         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19248         datahead_init_neg): New functions.
19249         * nscd/aicache.c (addhstaiX): Use them.
19250         * nscd/grpcache.c (cache_addgr): Likewise.
19251         * nscd/hstcache.c (cache_addhst): Likewise.
19252         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19253         * nscd/netgroupcache.c (do_notfound): Likewise.
19254         (addgetnetgrentX): Likewise.
19255         (addinnetgrX): Likewise.
19256         * nscd/pwdcache.c (cache_addpw): Likewise.
19257         * nscd/servicescache.c (cache_addserv): Likewise.
19259 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19260             Atsushi Onoe  <atsushi@onoe.org>
19262         [BZ #14308]
19263         [BZ #12994]
19264         [BZ #13651]
19265         * resolv/res_query.c (__libc_res_nsearch): Return if at least
19266         one response is valid.
19267         * resolv/res_send.c (send_dg): Check for validity of other
19268         response if the current response is a referral.
19270 2014-04-29  Steve Ellcey  <sellcey@mips.com>
19272         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19274 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
19276         [BZ #16823]
19277         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19278         Always divide by positive zero when computing -Inf result.
19279         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19280         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19282 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19284         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19285         FPSCR if value do not change.
19286         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19287         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19288         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19289         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19290         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19291         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19292         function.
19294 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
19296         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19297         * sysdeps/unix/sysv/linux/hppa: Move directory from
19298         ports/systeps/unix/sysv/linux/hppa.
19299         * README: Update listing for hppa-*-linux-gnu.
19301 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
19303         [BZ #16754]
19304         * manual/stdio.texi (Hook functions): Fix types of stream hook
19305         functions.
19306         [BZ #16854]
19307         * socket/sys/socket.h: Fix typo in comment.
19309 2014-04-28  Wilco  <wdijkstr@arm.com>
19311         * sysdeps/arm/fenv_private.h: New file.
19312         * sysdeps/arm/math_private.h: New file.
19313         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19315 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
19317         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19318         with __int128_t.
19319         (La_x86_64_retval): Likewise.
19321 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
19323         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19324         fpsr if value didn't change.
19325         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19326         to fpcr if value didn't change.
19327         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19328         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19329         fpsr or fpcr if value didn't change.
19330         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19331         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19332         fpcr if value didn't change.
19333         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19334         to fpsr if value didn't change.
19336 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19338         * nptl/tst-sem3.c: Use test-skeleton.c
19339         (main): Rename to do_test.  Use return instead of
19340         exit.
19341         * nptl/tst-sem4.c: Use test-skeleton.c
19342         (main): Rename to do_test.
19344 2014-04-22  David S. Miller  <davem@davemloft.net>
19346         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19347         (struct sigaction): New struct member __glibc_reserved0, change
19348         type of sa_flags to int.
19350 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
19352         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19353         (COUNT_LEADING_ZEROS_0): Define for AArch64.
19355 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19357         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19358         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19360 2014-04-22  Will Newton  <will.newton@linaro.org>
19361             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
19363         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19364         (__longjmp): Add longjmp and longjmp_target SystemTap
19365         probes.
19366         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19367         (__sigsetjmp): Add setjmp SystemTap probe.
19369 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
19371         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19372         match manual order.
19374 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19376         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19378         * sysdeps/powerpc/fpu/fenv_private.h
19379         (libc_feholdexcept_setroundl_ctx): Define to
19380         libc_feholdexcept_setround_ppc_ctx.
19381         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19382         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19383         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19384         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19386 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19388         * sysdeps/aarch64/math-tests.h: New file.
19390 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
19392         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19393         New.
19394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19395         Check and set bit_AVX2_Usable.
19396         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19397         macro.
19398         (bit_AVX2): Likewise.
19399         (index_AVX2_Usable): Likewise.
19400         (CPUID_AVX2): Likewise.
19401         (HAS_AVX2): Likewise.
19403 2014-04-17  Will Newton  <will.newton@linaro.org>
19405         * manual/setjmp.texi (System V contexts): Add note that
19406         calling setcontext on a context created by a call to a
19407         signal handler is undefined.  Update text to note that
19408         setcontext from a signal handler is possible but not
19409         recommended.
19411         [BZ #16629]
19412         * stdlib/tst-setcontext.c: Include signal.h.
19413         (main): Check that the signal stack before and
19414         after swapcontext is the same.
19416         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19417         Re-implement to restore registers in user code and avoid
19418         rt_sigreturn system call.
19420 2014-04-17  Wilco  <wdijkstr@arm.com>
19422         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19423         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19424         * math/test-fenv.c: Skip exception trap tests on targets which only
19425         support non-stop mode.
19427 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
19428             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19430         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19431         (libc_feholdsetround_aarch64_ctx)
19432         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19433         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19434         (libc_feresetround_ctx, libc_feresetroundf_ctx)
19435         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19436         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19437         (libc_feresetround_noexl_ctx): Define.
19439 2014-04-16  Richard Henderson  <rth@redhat.com>
19441         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19443         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19444         unwind tables.
19446         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19447         const from the non-libc, non-ldso copy.
19449         * sysdeps/alpha/libm-test-ulps: Regenerate.
19451 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
19452             Wilco Dijkstra  <wilco.dijkstra@arm.com>
19454         * sysdeps/aarch64/fpu/math_private.h: New file.
19456 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19458         * sysdeps/aarch64/libm-test-ulps: Regenerate.
19460 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
19462         [BZ #16275]
19463         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19464         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19465         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19466         Intel MPX bound registers before _dl_profile_fixup.
19467         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19468         registers after _dl_profile_fixup.  Save and restore bound
19469         registers bnd0/bnd1 when calling _dl_call_pltexit.
19470         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19471         (LR_BND_OFFSET): Likewise.
19472         (LRV_BND0_OFFSET): Likewise.
19473         (LRV_BND1_OFFSET): Likewise.
19475 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19477         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19478         to...
19479         * sysdeps/mach/hurd/i386/tls.h: ... here.
19480         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19481         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19482         fields.
19484 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19486         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19488 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19490         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19492 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19494         [BZ #14770]
19495         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19496         * sysdeps/s390/configure: Regenerate.
19498         [BZ #16824]
19499         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19500         Set round-to-nearest internally to reduce error accumulation.
19502 2014-04-16  Alan Modra  <amodra@gmail.com>
19504         [BZ #16740]
19505         [BZ #16619]
19506         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19507         * math/libm-test.inc (frexp_test_data): Add tests.
19508         * NEWS: Update fixed bug list.
19510 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19512         * benchtests/Makefile: Depend on libraries in build directory.
19513         (bench-math): Separate out math tests.
19514         (bench-pthread): Separate out pthread tests.
19515         (bench): Include math and pthread tests.
19517 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19519         [BZ #16831]
19520         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19521         _dl_debug_initialize.
19523         * configure.ac: Remove SELinux header check.
19524         * configure: Regenerate.
19525         * nscd/selinux.c (perms): Array of const char* to permission names.
19526         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19527         default policy. Call string_to_security_class and string_to_av_perm to
19528         translate strings. Enforce default policy and call avs_has_perm with
19529         results of translated strings.
19531 2014-04-13  David S. Miller  <davem@davemloft.net>
19533         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19535 2014-04-12  Allan McRae  <allan@archlinux.org>
19537         [BZ #16838]
19538         * manual/string.texi (Collation Functions): Fix qsort argument
19539         order in example.
19540         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19542 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19544         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19545         Make the test a no-op if there are no exceptions defined.
19547 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19549         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19550         enable-hardcoded-path-in-tests
19552 2014-04-11  Will Newton  <will.newton@linaro.org>
19554         * benchtests/Makefile (extra-objs): Add json-lib.o.
19555         (bench-func): Tidy up JSON output.
19556         * benchtests/bench-skeleton.c: Include json-lib.h.
19557         (main): Use JSON library functions to do output of
19558         benchmark results.
19559         * benchtests/bench-timing-type.c (main): Output the
19560         timing type simply, leaving formatting to the user.
19561         * benchtests/json-lib.c: New file.
19562         * benchtests/json-lib.h: Likewise.
19564 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19566         [BZ #15215]
19567         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19568         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19569         memory barriers.  Add comments.
19570         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19571         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19572         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19573         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19574         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19575         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19577 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19579         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19580         * sysdeps/s390/s390-64/configure.ac: ... this ...
19581         * sysdeps/s390/configure.ac: ... to here.
19582         * sysdeps/s390/s390-32/configure: Delete file.
19583         * sysdeps/s390/s390-64/configure: Delete file.
19584         * sysdeps/s390/configure: Regenerate.
19586 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19588         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19590 2014-04-11  Will Newton  <will.newton@linaro.org>
19592         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19593         to zero if it is not defined elsewhere.  (mtrim): Test
19594         the value of MALLOC_DEBUG with #if rather than #ifdef.
19596 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19598         * benchtests/pthread_once-inputs: New file.
19599         * benchtests/pthread_once-source.c: New file.
19600         * benchtests/README: Update documentation.
19602 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19603             H.J. Lu  <hongjiu.lu@intel.com>
19605         [BZ #16275]
19606         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19607         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19608         * sysdeps/x86_64/configure: Regenerated.
19609         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19610         macro.
19611         (REGISTER_SAVE_RAX): Likewise.
19612         (REGISTER_SAVE_RCX): Likewise.
19613         (REGISTER_SAVE_RDX): Likewise.
19614         (REGISTER_SAVE_RSI): Likewise.
19615         (REGISTER_SAVE_RDI): Likewise.
19616         (REGISTER_SAVE_R8): Likewise.
19617         (REGISTER_SAVE_R9): Likewise.
19618         (REGISTER_SAVE_BND0): Likewise.
19619         (REGISTER_SAVE_BND1): Likewise.
19620         (REGISTER_SAVE_BND2): Likewise.
19621         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19622         bound registers when calling _dl_fixup.
19624 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19626         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19627         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19628         of its definition.
19629         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19630         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19631         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19632         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19633         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19634         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19635         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19637 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19639         [BZ #15514]
19640         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19641         pathconf(_PC_NAME_MAX).
19643 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19645         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19646         Remove macro usage.
19647         (__PTHREAD_SPINS): Move definition to ...
19648         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19649         (__PTHREAD_SPINS): ... here.
19650         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19651         (__PTHREAD_SPIN): Likewise.
19652         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19653         (__PTHREAD_SPIN): Likewise.
19654         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19655         (__PTHREAD_SPIN): Likewise.
19656         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19657         (__PTHREAD_SPIN): Likewise.
19658         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19659         (__PTHREAD_SPIN): Likewise.
19660         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19661         (__PTHREAD_SPIN): Likewise.
19662         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19663         (__PTHREAD_SPIN): Likewise.
19664         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19665         (__PTHREAD_SPIN): Likewise.
19666         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19667         (__PTHREAD_SPIN): Likewise.
19668         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19669         (__PTHREAD_SPIN): Likewise.
19670         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19671         (__PTHREAD_SPIN): Likewise.
19672         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19673         (__PTHREAD_SPIN): Likewise.
19675         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19676         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19677         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19678         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19679         imply folder.
19680         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19681         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19682         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19683         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19684         correct imply path.
19685         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19686         strlen symbol for non multi-arch builds.
19687         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19688         missing hidden_def and weak_alias.
19690 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19692         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19694 2014-04-07  Will Newton  <will.newton@linaro.org>
19696         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19697         and contents.  [!_LIBC] Remove #ifndef and contents.
19698         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19699         * string/memccpy.c (__memccpy): Use ANSI prototype.
19700         * string/memfrob.c (memfrob): Likewise.
19701         * string/strcoll.c (STRCOLL): Likewise.
19702         * string/strlen.c (strlen): Likewise.
19703         * string/strtok.c (STRTOK): Likewise.
19704         * string/strcat.c: Remove unused #include of memcopy.h.
19705         (strcat): Use ANSI prototype.
19706         * string/strchr.c: Remove unused #include of memcopy.h.
19707         (strchr): Use ANSI prototype.
19708         * string/strcmp.c: Remove unused #include of memcopy.h.
19709         (strcmp): Use ANSI prototype.
19710         * string/strcpy.c: Remove unused #include of memcopy.h.
19711         (strcpy): Use ANSI prototype.
19713 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19715         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19716         * config.make.in (config-extra-cppflags): Set it from
19717         libc_extra_cppflags.
19718         * configure.ac (libc_extra_cflags): Make it accumulate over
19719         configure fragments.
19720         (libc_extra_cppflags): New flag.
19721         * configure. Regenerate.
19722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19723         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19724         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19727         [BZ #16815]
19728         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19729         result for FE_DOWNWARD rounding mode.
19730         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19731         Likewise.
19732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19734 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19736         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19737         in function argument name.
19739 2014-04-03  David Svoboda  <svoboda@cert.org>
19741         [BZ #5666]
19742         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19743         explicitly.
19745 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19747         * elf/dl-unmap-segments.h: New file.
19748         * sysdeps/generic/ldsodefs.h
19749         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19750         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19751         * elf/dl-fptr.c: Likewise.
19752         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19753         * sysdeps/aarch64/tlsdesc.c: Likewise.
19754         * sysdeps/arm/tlsdesc.c: Likewise.
19755         * sysdeps/i386/tlsdesc.c: Likewise.
19756         * sysdeps/tile/dl-runtime.c: Likewise.
19757         * sysdeps/x86_64/tlsdesc.c: Likewise.
19758         * elf/dl-load.h: New file.
19759         * elf/dl-load.c: Include it.
19760         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19761         Macros moved to dl-load.h.
19762         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19763         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19764         Use _dl_unmap_segments in place of __munmap.
19765         Break out segment-mapping loop into ...
19766         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19768 2014-04-03  Will Newton  <will.newton@linaro.org>
19770         * elf/dl-lookup.c (do_lookup_x): Remove comment
19771         referring to nested function and move variable
19772         declarations down to before first use.
19774 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19776         [BZ #16799]
19777         [BZ #16800]
19778         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19779         with 0 numerator.
19780         * math/s_catanf.c (__catanf): Likewise.
19781         * math/s_catanh.c (__catanh): Likewise.
19782         * math/s_catanhf.c (__catanhf): Likewise.
19783         * math/s_catanhl.c (__catanhl): Likewise.
19784         * math/s_catanl.c (__catanl): Likewise.
19785         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19786         by positive zero when computing -Inf result.
19787         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19788         (catanh_test): Likewise.
19789         * sysdeps/i386/fpu/libm-test-ulps: Update.
19790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19792         [BZ #16789]
19793         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19794         instead of using underflowing value in computing result.
19795         * math/s_clog10.c (__clog10): Likewise.
19796         * math/s_clog10f.c (__clog10f): Likewise.
19797         * math/s_clog10l.c (__clog10l): Likewise.
19798         * math/s_clogf.c (__clogf): Likewise.
19799         * math/s_clogl.c (__clogl): Likewise.
19800         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19801         (clog10_test): Likewise.
19802         * sysdeps/i386/fpu/libm-test-ulps: Update.
19803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19805 2014-04-02  Alan Modra  <amodra@gmail.com>
19807         [BZ #16739]
19808         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19809         output when value is near a power of two.  Use int64_t for lx and
19810         remove casts.  Use decimal rather than hex exponent constants.
19811         Don't use long double multiplication when double will suffice.
19812         * math/libm-test.inc (nextafter_test_data): Add tests.
19813         * NEWS: Add 16739 and 16786 to bug list.
19815         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19817         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19819 2014-04-01  Will Newton  <will.newton@linaro.org>
19821         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19822         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19824 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19826         [BZ #13347]
19827         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19828         * nptl/tst-setuid2.c: New file.
19829         * nptl/Makefile (xtests): Add tst-setuid2.
19831 2014-04-01  Alan Modra  <amodra@gmail.com>
19833         [BZ #16786]
19834         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19836 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19838         [BZ #6803]
19839         [BZ #6804]
19840         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19841         set errno as appropriate.
19842         * math/w_scalbf.c (__scalbf): Likewise.
19843         * math/w_scalbl.c (__scalbl): Likewise.
19844         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19845         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19846         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19847         Add more NaN tests.
19849         [BZ #16349]
19850         * math/w_atan2.c: Include <errno.h>.
19851         (__atan2): Set errno for result underflowing to zero.
19852         * math/w_atan2f.c: Include <errno.h>.
19853         (__atan2f): Set errno for result underflowing to zero.
19854         * math/w_atan2l.c: Include <errno.h>.
19855         (__atan2l): Set errno for result underflowing to zero.
19856         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19857         tests.
19858         * math/auto-libm-test-out: Regenerated.
19860 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19862         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19863         Encode instruction correctly in little endian.
19864         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19865         Likewise.
19866         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19867         Likewise.
19868         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19869         Likewise.
19870         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19871         Likewise.
19873 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19875         [BZ #9894]
19876         * sysdeps/unix/sysv/linux/kernel-features.h
19877         [__sparc__ && !__arch64__ && !__sparc_v9__]
19878         (__ASSUME_SET_ROBUST_LIST): Do not define.
19879         [__sparc__ && !__arch64__ && !__sparc_v9__]
19880         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19881         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19882         Likewise.
19883         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19884         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19885         (__ASSUME_REQUEUE_PI): Likewise.
19886         (__ASSUME_SET_ROBUST_LIST): Likewise.
19887         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19888         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19889         Undefine.
19890         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19891         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19892         Likewise.
19893         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19894         Likewise.
19895         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19896         Likewise.
19897         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19898         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19899         Undefine.
19900         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19901         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19902         Likewise.
19904         [BZ #16648]
19905         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19906         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19907         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19909 2014-03-31  Will Newton  <will.newton@linaro.org>
19911         * benchtests/Makefile (bench): Add ffs and ffsll to list
19912         of tests.
19913         * benchtests/ffs-inputs: New file.
19914         * benchtests/ffsll-inputs: Likewise.
19916 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19918         [BZ #16770]
19919         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19920         too large before casting to int.
19921         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19922         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19923         * math/libm-test.inc (scalb_test_data): Add more tests.
19925 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19927         * benchtests/Makefile (DETAILED_OPT): New make option.
19928         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19929         set.
19930         * benchtests/bench-skeleton.c: Include stdbool.h.
19931         (main): Store and print timings per input.
19932         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19933         member to each argument value.
19934         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19935         (_print_arg_data): Initialize per-input timing to 0.
19937         * benchtests/Makefile (timing-type): New binary.
19938         (bench-clean): Also remove bench-timing-type.
19939         (bench): New target for timing-type.
19940         (bench-func): Print output in JSON format.
19941         * benchtests/bench-skeleton.c (main): Print output in JSON
19942         format.
19943         * benchtests/bench-timing-type.c: New file.
19944         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19945         (TIMING_PRINT_STATS): Remove.
19946         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19947         name separately.
19949         * benchtests/bench-modf.c: Remove.
19950         * benchtests/modf-inputs: New inputs file.
19952 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19954         [BZ #16362]
19955         * math/s_clog10.c (M_PI_LOG10E): New macro.
19956         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19957         imaginary parts are 0.
19958         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19959         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19960         imaginary parts are 0.
19961         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19962         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19963         imaginary parts are 0.
19964         * math/libm-test.inc (clog10_test_data): Update expected results
19965         for when real and imaginary parts are 0.
19967 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19969         * elf/dl-load.c: Finish conversion of __builtin_expect into
19970         __glibc_{un}likely.
19972 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19974         [BZ #16348]
19975         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19976         1+x for argument with exponent below -67.
19977         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19978         Likewise.
19979         * math/auto-libm-test-in: Add more tests of exp.
19980         * math/auto-libm-test-out: Regenerated.
19982 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19984         [BZ #16759]
19985         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19986         (nscd_getnetgrent): Use it.
19988         [BZ #16760]
19989         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19990         of stpcpy.
19992 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19994         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19995         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19996         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19997         (lll_robust_unlock): Remove out of line section. Use cfi
19998         intrinsics.
19999         (LLL_STUB_UNWIND_INFO*): Remove.
20000         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20001         (lll_robust_lock, lll_cond_lock, lll_timedlock)
20002         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20003         (lll_robust_unlock): Remove out of line section. Use cfi
20004         intrinsics.
20005         (LLL_STUB_UNWIND_INFO*): Remove.
20007 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20009         [BZ #16758]
20010         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20011         blank values.
20013 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20015         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20017 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
20019         [BZ #16198]
20020         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20021         fnstenv.
20022         * math/test-fenv-preserve.c: New file.
20023         * math/Makefile (tests): Add test-fenv-preserve.
20025 2014-03-26  Will Newton <will.newton@linaro.org>
20027         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20029 2014-03-25  Roland McGrath  <roland@hack.frob.com>
20031         * scripts/versionlist.awk: Partition the version sets and emit all
20032         GLIBC_* (sorted) before all others (sorted).
20034 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20036         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20037         GLIBC_2.2.5 version.
20039 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20041         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20042         calls.
20044         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20045         previous change.
20047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20049 2014-03-25  Andreas Schwab  <schwab@suse.de>
20051         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20052         label to be used after in6ailist is initialized.
20054 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20056         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20057         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20059 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
20061         [BZ #16357]
20062         [BZ #16599]
20063         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20064         min_plus_half.
20065         (fp_formats): Update initializers.
20066         (init_fp_formats): Initialize new field.
20067         (output_for_one_input_case): Allow underflow for results up to
20068         min_plus_half.
20069         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20070         * math/auto-libm-test-in: Don't mark some underflows from asin and
20071         atanh as spurious.
20072         * math/auto-libm-test-out: Regenerated.
20073         * sysdeps/i386/fpu/libm-test-ulps: Update.
20074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20076 2014-03-25  Andreas Schwab  <schwab@suse.de>
20078         * libio/Makefile (tst-ftell-partial-wide-ENV)
20079         (tst-ftell-active-handler-ENV): Define.
20081 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
20083         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20085 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20087         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20089 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20091         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20092         * sysdeps/x86_64/fpu/multiarch/e_exp.c
20093         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20095 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
20097         [BZ #16634]
20098         * elf/dl-load.c (open_verify): Add mode parameter.
20099         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20100         (open_path): Change from boolean 'secure' to complete flag 'mode'
20101         (_dl_map_object): Adjust.
20102         * elf/Makefile (tests): Add tst-dlopen-aout.
20103         * elf/tst-dlopen-aout.c: New test.
20105 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
20107         [BZ #16714]
20108         * sysdeps/unix/sysv/linux/s390/bits/stat.h
20109         (struct stat): Rename member pad0 to __glibc_reserved0.
20111         [BZ #16712]
20112         * sysdeps/s390/s390-32/bits/wordsize.h
20113         (__WORDSIZE32_SIZE_ULONG): New define.
20114         * sysdeps/s390/s390-64/bits/wordsize.h
20115         (__WORDSIZE32_SIZE_ULONG): Likewise.
20116         * sysdeps/generic/stdint.h (SIZE_MAX):
20117         Define as UL if __WORDSIZE32_SIZE_ULONG.
20119         [BZ #16713]
20120         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20121         (__glibc_reserved0): New variable.
20122         (sa_flags): Change type to int.
20124         * posix/Makefile (before-compile): Use += before-compile instead
20125         of a :=.
20127         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20128         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20130 2014-03-20  Andreas Schwab  <schwab@suse.de>
20132         [BZ #16743]
20133         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20134         non-matching result from nscd.
20136 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20138         * scripts/bench.py: Moved to ...
20139         * benchtests/scripts/bench.py: ... here.
20140         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20142 2014-03-24  Andreas Schwab  <schwab@suse.de>
20144         [BZ #16002]
20145         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20146         alloca_account and account alloca use for struct in6ailist.
20148 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
20150         [BZ #16284]
20151         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20152         rounding mode to recompute results that overflow to infinity or
20153         underflow to zero.
20154         * math/auto-libm-test-in: Don't mark tests as expected to fail for
20155         bug 16284.
20156         * math/auto-libm-test-out: Regenerated.
20157         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20158         (ccosh_test): Likewise.
20159         (csin_test_data): Use plus_oflow.
20160         (csin_test): Use ALL_RM_TEST.
20161         (csinh_test_data): Use plus_oflow.
20162         (csinh_test): Use ALL_RM_TEST.
20163         * sysdeps/i386/fpu/libm-test-ulps: Update.
20164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20166 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
20168         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20169         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20170         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20172         [BZ #16731]
20173         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20174         when x - 1 is zero.
20175         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20176         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20177         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20178         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20179         argument is 1.
20180         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20181         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20182         zero.
20183         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20184         * sysdeps/i386/fpu/libm-test-ulps: Update.
20185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20187 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20189         * scripts/bench.pl: Remove file.
20190         * scripts/bench.py: New benchmark script.
20191         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20192         * benchtests/README: Mention python dependency.
20193         * scripts/pylintrc: New file.
20194         * scripts/pylint: New file.
20196         * bits/mathdef.h: Use #ifdef instead of #if.
20197         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20198         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20199         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20200         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20201         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20202         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20204 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20205             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20207         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20208         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20209         and strpbrk-ppc64 objects.
20210         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20211         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20212         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20213         multiarch strpbrk for POWER7.
20214         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20215         multiarch strpbrk for PPC64.
20216         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20217         ifunc selector.
20218         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20219         strpbrk for POWER7.
20221 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20223         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20224         (atan_test): Likewise.
20225         (atanh_test_data): Use NO_TEST_INLINE for two tests.
20226         (atanh_test): Use ALL_RM_TEST.
20227         (atan2_test_data): Likewise.
20228         (cabs_test): Likewise.
20229         (cacosh_test): Likewise.
20230         (carg_test): Likewise.
20231         (casin_test): Likewise.
20232         (casinh_test): Likewise.
20233         (cbrt_test): Likewise.
20234         (csqrt_test): Likewise.
20235         (erf_test): Likewise.
20236         (erfc_test): Likewise.
20237         (pow10_test): Likewise.
20238         (exp2_test): Likewise.
20239         (hypot_test): Likewise.
20240         (j0_test): Likewise.
20241         (j1_test): Likewise.
20242         (lgamma_test): Likewise.
20243         (gamma_test): Likewise.
20244         (sincos_test): Likewise.
20245         (tanh_test): Likewise.
20246         (y0_test): Likewise.
20247         (y1_test): Likewise.
20248         * sysdeps/i386/fpu/libm-test-ulps: Update.
20249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20251 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20253         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20255         and strcspn-ppc64 objects.
20256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20257         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20258         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20259         multiarch strcspn for POWER7.
20260         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20261         multiarch strcspn for PPC64.
20262         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20263         ifunc selector.
20264         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20265         strcspn for POWER7.
20267 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
20269         * math/gen-libm-test.pl (generate_testfile): Expect only function
20270         name as argument to AUTO_TESTS_* and pass results for all rounding
20271         modes to parse_args.
20272         (parse_auto_input): Separate inputs of automatic tests from
20273         outputs before storing in %auto_tests.
20274         * math/libm-test.inc (acos_test_data): Update call to
20275         AUTO_TESTS_f_f.
20276         (acos_test): Use ALL_RM_TEST.
20277         (acos_tonearest_test_data): Remove.
20278         (acos_test_tonearest): Likewise.
20279         (acos_towardzero_test_data): Likewise.
20280         (acos_test_towardzero): Likewise.
20281         (acos_downward_test_data): Likewise.
20282         (acos_test_downward): Likewise.
20283         (acos_upward_test_data): Likewise.
20284         (acos_test_upward): Likewise.
20285         (acosh_test_data): Update call to AUTO_TESTS_f_f.
20286         (asin_test_data): Likewise.
20287         (asin_test): Use ALL_RM_TEST.
20288         (asin_tonearest_test_data): Remove.
20289         (asin_test_tonearest): Likewise.
20290         (asin_towardzero_test_data): Likewise.
20291         (asin_test_towardzero): Likewise.
20292         (asin_downward_test_data): Likewise.
20293         (asin_test_downward): Likewise.
20294         (asin_upward_test_data): Likewise.
20295         (asin_test_upward): Likewise.
20296         (asinh_test_data): Update call to AUTO_TESTS_f_f.
20297         (atan_test_data): Likewise.
20298         (atanh_test_data): Likewise.
20299         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20300         (cabs_test_data): Update call to AUTO_TESTS_c_f.
20301         (carg_test_data): Likewise.
20302         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20303         (ccos_test_data): Update call to AUTO_TESTS_c_c.
20304         (ccosh_test_data): Likewise.
20305         (cexp_test_data): Likewise.
20306         (clog_test_data): Likewise.
20307         (clog10_test_data): Likewise.
20308         (cos_test_data): Update call to AUTO_TESTS_f_f.
20309         (cos_test): Use ALL_RM_TEST.
20310         (cos_tonearest_test_data): Remove.
20311         (cos_test_tonearest): Likewise.
20312         (cos_towardzero_test_data): Likewise.
20313         (cos_test_towardzero): Likewise.
20314         (cos_downward_test_data): Likewise.
20315         (cos_test_downward): Likewise.
20316         (cos_upward_test_data): Likewise.
20317         (cos_test_upward): Likewise.
20318         (cosh_test_data): Update call to AUTO_TESTS_f_f.
20319         (cosh_test): Use ALL_RM_TEST.
20320         (cosh_tonearest_test_data): Remove.
20321         (cosh_test_tonearest): Likewise.
20322         (cosh_towardzero_test_data): Likewise.
20323         (cosh_test_towardzero): Likewise.
20324         (cosh_downward_test_data): Likewise.
20325         (cosh_test_downward): Likewise.
20326         (cosh_upward_test_data): Likewise.
20327         (cosh_test_upward): Likewise.
20328         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20329         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20330         (ctan_test_data): Likewise.
20331         (ctan_test): Use ALL_RM_TEST.
20332         (ctan_tonearest_test_data): Remove.
20333         (ctan_test_tonearest): Likewise.
20334         (ctan_towardzero_test_data): Likewise.
20335         (ctan_test_towardzero): Likewise.
20336         (ctan_downward_test_data): Likewise.
20337         (ctan_test_downward): Likewise.
20338         (ctan_upward_test_data): Likewise.
20339         (ctan_test_upward): Likewise.
20340         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20341         (ctanh_test): Use ALL_RM_TEST.
20342         (ctanh_tonearest_test_data): Remove.
20343         (ctanh_test_tonearest): Likewise.
20344         (ctanh_towardzero_test_data): Likewise.
20345         (ctanh_test_towardzero): Likewise.
20346         (ctanh_downward_test_data): Likewise.
20347         (ctanh_test_downward): Likewise.
20348         (ctanh_upward_test_data): Likewise.
20349         (ctanh_test_upward): Likewise.
20350         (erf_test_data): Update call to AUTO_TESTS_f_f.
20351         (erfc_test_data): Likewise.
20352         (exp_test_data): Likewise.
20353         (exp_test): Use ALL_RM_TEST.
20354         (exp_tonearest_test_data): Remove.
20355         (exp_test_tonearest): Likewise.
20356         (exp_towardzero_test_data): Likewise.
20357         (exp_test_towardzero): Likewise.
20358         (exp_downward_test_data): Likewise.
20359         (exp_test_downward): Likewise.
20360         (exp_upward_test_data): Likewise.
20361         (exp_test_upward): Likewise.
20362         (exp10_test_data): Update call to AUTO_TESTS_f_f.
20363         (exp10_test): Use ALL_RM_TEST.
20364         (exp10_tonearest_test_data): Remove.
20365         (exp10_test_tonearest): Likewise.
20366         (exp10_towardzero_test_data): Likewise.
20367         (exp10_test_towardzero): Likewise.
20368         (exp10_downward_test_data): Likewise.
20369         (exp10_test_downward): Likewise.
20370         (exp10_upward_test_data): Likewise.
20371         (exp10_test_upward): Likewise.
20372         (exp2_test_data): Update call to AUTO_TESTS_f_f.
20373         (expm1_test_data): Likewise.
20374         (expm1_test): Use ALL_RM_TEST.
20375         (expm1_tonearest_test_data): Remove.
20376         (expm1_test_tonearest): Likewise.
20377         (expm1_towardzero_test_data): Likewise.
20378         (expm1_test_towardzero): Likewise.
20379         (expm1_downward_test_data): Likewise.
20380         (expm1_test_downward): Likewise.
20381         (expm1_upward_test_data): Likewise.
20382         (expm1_test_upward): Likewise.
20383         (fma_test_data): Update call to AUTO_TESTS_fff_f.
20384         (fma_test): Use ALL_RM_TEST.
20385         (fma_towardzero_test_data): Remove.
20386         (fma_test_towardzero): Likewise.
20387         (fma_downward_test_data): Likewise.
20388         (fma_test_downward): Likewise.
20389         (fma_upward_test_data): Likewise.
20390         (fma_test_upward): Likewise.
20391         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20392         (j0_test_data): Update call to AUTO_TESTS_f_f.
20393         (j1_test_data): Likewise.
20394         (jn_test_data): Update call to AUTO_TESTS_if_f.
20395         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20396         (log_test_data): Update call to AUTO_TESTS_f_f.
20397         (log10_test_data): Likewise.
20398         (log1p_test_data): Likewise.
20399         (log2_test_data): Likewise.
20400         (pow_test_data): Update call to AUTO_TESTS_ff_f.
20401         (pow_tonearest_test_data): Likewise.
20402         (sin_test_data): Update call to AUTO_TESTS_f_f.
20403         (sin_test): Use ALL_RM_TEST.
20404         (sin_tonearest_test_data): Remove.
20405         (sin_test_tonearest): Likewise.
20406         (sin_towardzero_test_data): Likewise.
20407         (sin_test_towardzero): Likewise.
20408         (sin_downward_test_data): Likewise.
20409         (sin_test_downward): Likewise.
20410         (sin_upward_test_data): Likewise.
20411         (sin_test_upward): Likewise.
20412         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20413         (sinh_test_data): Update call to AUTO_TESTS_f_f.
20414         (sinh_test): Use ALL_RM_TEST.
20415         (sinh_tonearest_test_data): Remove.
20416         (sinh_test_tonearest): Likewise.
20417         (sinh_towardzero_test_data): Likewise.
20418         (sinh_test_towardzero): Likewise.
20419         (sinh_downward_test_data): Likewise.
20420         (sinh_test_downward): Likewise.
20421         (sinh_upward_test_data): Likewise.
20422         (sinh_test_upward): Likewise.
20423         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20424         (sqrt_test): Use ALL_RM_TEST.
20425         (sqrt_tonearest_test_data): Remove.
20426         (sqrt_test_tonearest): Likewise.
20427         (sqrt_towardzero_test_data): Likewise.
20428         (sqrt_test_towardzero): Likewise.
20429         (sqrt_downward_test_data): Likewise.
20430         (sqrt_test_downward): Likewise.
20431         (sqrt_upward_test_data): Likewise.
20432         (sqrt_test_upward): Likewise.
20433         (tan_test_data): Update call to AUTO_TESTS_f_f.
20434         (tan_test): Use ALL_RM_TEST.
20435         (tan_tonearest_test_data): Remove.
20436         (tan_test_tonearest): Likewise.
20437         (tan_towardzero_test_data): Likewise.
20438         (tan_test_towardzero): Likewise.
20439         (tan_downward_test_data): Likewise.
20440         (tan_test_downward): Likewise.
20441         (tan_upward_test_data): Likewise.
20442         (tan_test_upward): Likewise.
20443         (tanh_test_data): Update call to AUTO_TESTS_f_f.
20444         (tgamma_test_data): Likewise.
20445         (y0_test_data): Likewise.
20446         (y1_test_data): Likewise.
20447         (yn_test_data): Update call to AUTO_TESTS_if_f.
20448         (main): Do not call removed functions.
20450 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20452         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20453         (ldexp_test_data): Remove.
20454         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
20455         scalbn_test_data.
20456         (scalb_test): Use ALL_RM_TEST.
20458 2014-03-19  Andreas Schwab  <schwab@suse.de>
20460         * nscd/nscd.service: Also invalidate netgroup cache on reload.
20462 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
20464         [BZ #16649]
20465         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20466         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20467         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20468         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20469         (__ASSUME_PREADV): Undefine.
20470         (__ASSUME_PWRITEV): Likewise.
20472 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20474         * bits/mman-linux.h: Add comment about non-Linux use.
20475         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20476         bits/mman-linux.h resting place.
20478         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20479         * bits/mman-linux.h: ... here.
20481 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20483         * conform/conformtest.pl: Add standard definition when calling C
20484         preprocessor on data files.
20485         (checknamespace): Remove unused variable.
20487 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20489         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20490         minus_oflow, plus_uflow and minus_uflow in expected results.
20491         * math/libm-test.inc (scalbn_test_data): Add more tests of
20492         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20493         minus_uflow.
20494         (scalbn_test): Use ALL_RM_TEST.
20495         (scalbln_test_data): Add more tests of negative arguments.  Use
20496         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20497         (scalbln_test): Use ALL_RM_TEST.
20499 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20501         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20503 2014-03-18  Will Newton  <will.newton@linaro.org>
20505         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20506         inaccurate comment.
20508 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20510         * Makerules [!subdir] (check-abi): Exit with error status if a
20511         test failed.
20513 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20515         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20516         for rint.  Include results for all rounding modes.
20517         (nearbyint_test): Use ALL_RM_TEST.
20518         (rint_test_data): Include all tests used for nearbyint.
20520 2014-03-17  Will Newton  <will.newton@linaro.org>
20522         * nptl/sysdeps/pthread/pthread.h: Revert previous
20523         change.
20525         * sysdeps/generic/ldsodefs.h: Revert previous
20526         change.
20528         * libio/genops.c: Revert previous change.
20529         * libio/libioP.h: Likewise.
20530         * stdio-common/vfprintf.c: Likewise.
20532         * sysdeps/generic/math_private.h: Revert previous
20533         change.
20535         * sysdeps/generic/math_private.h: Check whether
20536         HAVE_RM_CTX is defined with #ifdef rather
20537         than #if.
20539         * argp/argp-fmtstream.h: Check whether
20540         __STRICT_ANSI__ is defined with #ifdef rather
20541         than #if.
20542         * argp/argp.h: Likewise.
20544         * libio/genops.c: Check whether
20545         _IO_JUMPS_OFFSET is defined with #ifdef rather
20546         than #if.
20547         * libio/libioP.h: Likewise.
20548         * stdio-common/vfprintf.c: Likewise.
20550         * sysdeps/generic/ldsodefs.h: Check whether
20551         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20552         than #if.
20554         * nptl/sysdeps/pthread/pthread.h: Check
20555         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20556         its value.
20558 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20560         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20561         setting O_APPEND.
20562         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20563         test case.
20565         [BZ #16680]
20566         * libio/fileops.c (_IO_file_open): Seek to end of file but
20567         don't cache the offset.
20568         (get_file_offset): Remove function.
20569         (do_ftell): Use cached offset when available.
20570         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20571         don't cache the offset.
20572         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20573         case.
20574         (do_one_test): Call it.
20575         (do_ftell_test): Fix up expected old offset for a+ mode.
20576         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20577         available.
20579         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20580         up test status with function return status.
20581         (do_write_test): Likewise.
20582         (do_append_test): Likewise.
20584         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20585         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20586         Remove.
20588 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20590         * math/gen-libm-test.pl (parse_args): Handle results specified for
20591         each rounding mode separately.
20592         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20593         tests and results from lrint_tonearest_test_data,
20594         lrint_towardzero_test_data, lrint_downward_test_data and
20595         lrint_upward_test_data.
20596         (lrint_test): Use ALL_RM_TEST.
20597         (lrint_tonearest_test_data): Remove.
20598         (lrint_test_tonearest): Likewise.
20599         (lrint_towardzero_test_data): Likewise.
20600         (lrint_test_towardzero): Likewise.
20601         (lrint_downward_test_data): Likewise.
20602         (lrint_test_downward): Likewise.
20603         (lrint_upward_test_data): Likewise.
20604         (lrint_test_upward): Likewise.
20605         (llrint_test_data): Merge in per-rounding-mode tests and results
20606         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20607         llrint_downward_test_data and llrint_upward_test_data.
20608         (llrint_test): Use ALL_RM_TEST.
20609         (llrint_tonearest_test_data): Remove.
20610         (llrint_test_tonearest): Likewise.
20611         (llrint_towardzero_test_data): Likewise.
20612         (llrint_test_towardzero): Likewise.
20613         (llrint_downward_test_data): Likewise.
20614         (llrint_test_downward): Likewise.
20615         (llrint_upward_test_data): Likewise.
20616         (llrint_test_upward): Likewise.
20617         (rint_test_data): Merge in per-rounding-mode tests and results
20618         from rint_tonearest_test_data, rint_towardzero_test_data,
20619         rint_downward_test_data and rint_upward_test_data.  Add
20620         per-rounding-mode results for tests not in those arrays.
20621         (rint_test): Use ALL_RM_TEST.
20622         (rint_tonearest_test_data): Remove.
20623         (rint_test_tonearest): Likewise.
20624         (rint_towardzero_test_data): Likewise.
20625         (rint_test_towardzero): Likewise.
20626         (rint_downward_test_data): Likewise.
20627         (rint_test_downward): Likewise.
20628         (rint_upward_test_data): Likewise.
20629         (rint_test_upward): Likewise.
20630         (main): Don't call removed functions.
20632 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20634         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20635         "Compiled on ..." crapola.  It is anti-useful.
20637 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20639         * scripts/evaluate-test.sh: Handle fourth argument to determine
20640         whether test run should stop on failure.
20641         * Makeconfig (stop-on-test-failure): New variable.
20642         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20643         $(stop-on-test-failure).
20644         * Makefile (tests): Give a summary of results from testing and
20645         exit with failure status if they include an ERROR or FAIL.
20646         (xtests): Likewise.
20647         * manual/install.texi (Configuring and compiling): Mention
20648         stop-on-test-failure=y.
20649         * INSTALL: Regenerated.
20651 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20653         * scripts/versionlist.awk: New file.
20654         * Makerules [$(build-shared) = yes]
20655         (postclean-generated): Add Versions.def, not Versions.def.v and
20656         Versions.def.v.i.
20657         ($(common-objpfx)Versions.def.v.i): Target removed.
20658         ($(common-objpfx)Versions.def): New target.
20659         ($(common-objpfx)Versions.all): Depend on that rather that
20660         $(common-objpfx)Versions.def.v.
20661         * Versions.def: File removed.
20663         * Makeconfig (+gccwarn): Add -Wundef.
20664         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20665         a dl-sysdep.h breaking its contract.
20666         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20667         * include/stackinfo.h: New file.
20668         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20669         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20670         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20671         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20672         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20673         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20674         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20675         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20676         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20677         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20678         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20679         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20680         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20681         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20682         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20684 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20686         [BZ #16707]
20687         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20688         implementation.
20689         * math/libm-test.inc (round_test_data): Add more tests.
20691         [BZ #16706]
20692         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20693         implementation.
20694         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20696         [BZ #16701]
20697         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20698         implementation.
20699         * math/libm-test.inc (ceil_test_data): Add more tests.
20701         * math/libm-test.inc (trunc_test_data): Add more tests related to
20702         BZ#16414.
20704 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20706         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20707         with #if rather than #ifdef.
20708         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20710 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20712         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20713         first.  Disable AVX-512 GCC support if assembler doesn't support
20714         it.
20715         * sysdeps/x86_64/configure: Regenerated.
20717 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20719         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20720         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20721         (__old_pthread_attr_setstack): Likewise.
20722         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20723         [!_STACK_GROWS_DOWN]: Likewise.
20725 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20727         * config.make.in (have-bash2): Delete.
20728         * configure.ac (libc_cv_have_bash2): Delete.
20729         * configure: Regenerate.
20730         * elf/Makefile (common-ldd-rewrite): Rename to ...
20731         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20732         (sh-ldd-rewrite): Delete.
20733         (bash-ldd-rewrite): Delete.
20734         (have-bash2): Delete checks.
20735         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20736         ldd-rewrite.
20738         * config.make.in (have-ksh): Delete.
20739         (KSH): Delete.
20740         * configure.ac (libc_cv_have_ksh): Delete.
20741         * configure: Regenerate.
20743         * elf/Makefile: Delete $(have-ksh) check.
20744         ($(objpfx)sotruss): Change KSH to BASH.
20745         * elf/sotruss.ksh: Rename to ...
20746         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20747         function style to match POSIX.  Drop ksh vim mode setting.
20749         * manual/time.texi (Specifying the Time Zone with TZ): Change
20750         Tuesday to Thursday.
20752         * debug/tst-longjmp_chk2.c: Update header comment.
20753         (stackoverflow_handler): Add comment.  Call assert on pass value.
20755 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20757         [BZ #16194]
20758         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20759         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20760         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20761         (La_x86_64_vector): Add zmm.
20762         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20763         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20764         ($(objpfx)tst-audit10): New target.
20765         ($(objpfx)tst-audit10.out): Likewise.
20766         (tst-audit10-ENV): New.
20767         (AVX512-CFLAGS): Likewise.
20768         (CFLAGS-tst-audit10.c): Likewise.
20769         (CFLAGS-tst-auditmod10a.c): Likewise.
20770         (CFLAGS-tst-auditmod10b.c): Likewise.
20771         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20772         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20773         * sysdeps/x86_64/configure: Regenerated.
20774         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20775         AVX-512 zmm register support.
20776         (_dl_x86_64_save_sse): Likewise.
20777         (_dl_x86_64_restore_sse): Likewise.
20778         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20779         size vector registers.
20780         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20781         (ZMM_SIZE): Likewise.
20782         * sysdeps/x86_64/tst-audit10.c: New file.
20783         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20784         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20786 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20788         * configure.ac (HAVE_EHDR_START): New check.
20789         * configure: Regenerated.
20790         * config.h.in (HAVE_EHDR_START): New #undef.
20791         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20792         assuming the lowest-addressed segment maps the start of the file.
20794 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20796         * INSTALL: Regenerated.
20798 2014-03-13  Will Newton  <will.newton@linaro.org>
20800         * manual/setjmp.texi (System V contexts): Improve
20801         clarity and grammar of documentation.
20803 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20805         [BZ #16381]
20806         * elf/Makefile (tests): Add tst-pie2.
20807         (tests-pie): Add tst-pie2.
20808         * elf/tst-pie2.c: New file.
20809         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20810         for ET_EXEC.
20811         * elf/rtld.c (map_doit): Load executable as lt_executable.
20812         (dl_main): Likewise.
20814 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20816         [BZ #16642]
20817         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20818         (__ASSUME_PSELECT): Undefine.
20820 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20822         [BZ #16689]
20823         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20824         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20825         static build.
20826         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20827         selector for static builds.
20829 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20831         [BZ #16695]
20832         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20833         key in the buffer.
20835 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20837         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20838         IFUNC selector for static builds.
20840 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20842         * sysdeps/mips/math_private.h [__mips_hard_float]
20843         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20844         libc_feresetround_mips_ctx.
20845         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20846         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20847         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20849         [BZ #16677]
20850         * math/s_nextafter.c (__nextafter): Do not return value from
20851         overflowing computation.
20852         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20853         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20854         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20855         Likewise.
20856         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20857         Likewise.
20858         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20859         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20861 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20863         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20864         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20865         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20866         the new mov targetting sp.
20868 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20870         [BZ #16683]
20871         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20872         Define it for static builds as well.
20873         (NO_BZERO_IMPL): Likewise.
20875 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20877         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20878         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20879         multiarch strspn for PPC64.
20880         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20881         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20882         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20883         (__libc_ifunc_impl_list): Likewise.
20884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20885         multiarch optimizations
20886         * string/strspn.c (strspn): Using macro to redefine symbol name.
20888 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20889             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20891         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20892         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20893         multiarch strncat for PPC64.
20894         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20895         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20897         (__libc_ifunc_impl_list): Likewise.
20898         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20899         multiarch optimizations
20901 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20903         [BZ #16639]
20904         * nscd/nscd.service: Make service type forking.
20906 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20908         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20909         sign in non default rounding modes.
20910         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20912 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20914         * math/libm-test.inc (ALL_RM_TEST): New macro.
20915         (ceil_test): Use ALL_RM_TEST.
20916         (cimag_test): Likewise.
20917         (conj_test): Likewise.
20918         (copysign_test): Likewise.
20919         (cproj_test): Likewise.
20920         (creal_test): Likewise.
20921         (fabs_test): Likewise.
20922         (floor_test): Likewise.
20923         (fmax_test): Likewise.
20924         (fmin_test): Likewise.
20925         (fmod_test): Likewise.
20926         (fpclassify_test): Likewise.
20927         (frexp_test): Likewise.
20928         (ilogb_test): Likewise.
20929         (isfinite_test): Likewise.
20930         (finite_test): Likewise.
20931         (isgreater_test): Likewise.
20932         (isgreaterequal_test): Likewise.
20933         (isinf_test): Likewise.
20934         (isless_test): Likewise.
20935         (islessequal_test): Likewise.
20936         (islessgreater_test): Likewise.
20937         (isnan_test): Likewise.
20938         (isnormal_test): Likewise.
20939         (issignaling_test): Likewise.
20940         (isunordered_test): Likewise.
20941         (logb_test): Likewise.
20942         (logb_downward_test_data): Remove.
20943         (logb_test_downward): Likewise.
20944         (lround_test): Use ALL_RM_TEST.
20945         (llround_test): Likewise.
20946         (modf_test): Likewise.
20947         (nexttoward_test): Likewise.
20948         (remainder_test): Likewise.
20949         (drem_test): Likewise.
20950         (remainder_tonearest_test_data): Likewise.
20951         (remainder_test_tonearest): Likewise.
20952         (drem_test_tonearest): Likewise.
20953         (remainder_towardzero_test_data): Likewise.
20954         (remainder_test_towardzero): Likewise.
20955         (drem_test_towardzero): Likewise.
20956         (remainder_downward_test_data): Likewise.
20957         (remainder_test_downward): Likewise.
20958         (drem_test_downward): Likewise.
20959         (remainder_upward_test_data): Likewise.
20960         (remainder_test_upward): Likewise.
20961         (drem_test_upward): Likewise.
20962         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20963         (round_test): Use ALL_RM_TEST.
20964         (signbit_test): Likewise.
20965         (trunc_test): Likewise.
20966         (significand_test): Likewise.
20967         (main): Don't call removed functions.
20969 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20971         [BZ #16674]
20972         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20973         || __USE_XOPEN2K8].
20974         (ILL_ILLOPN): Likewise.
20975         (ILL_ILLADR): Likewise.
20976         (ILL_ILLTRP): Likewise.
20977         (ILL_PRVOPC): Likewise.
20978         (ILL_PRVREG): Likewise.
20979         (ILL_COPROC): Likewise.
20980         (ILL_BADSTK): Likewise.
20981         (FPE_INTDIV): Likewise.
20982         (FPE_INTOVF): Likewise.
20983         (FPE_FLTDIV): Likewise.
20984         (FPE_FLTOVF): Likewise.
20985         (FPE_FLTUND): Likewise.
20986         (FPE_FLTRES): Likewise.
20987         (FPE_FLTINV): Likewise.
20988         (FPE_FLTSUB): Likewise.
20989         (SEGV_MAPERR): Likewise.
20990         (SEGV_ACCERR): Likewise.
20991         (BUS_ADRALN): Likewise.
20992         (BUS_ADRERR): Likewise.
20993         (BUS_OBJERR): Likewise.
20994         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20995         (TRAP_TRACE): Likewise.
20996         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20997         __USE_XOPEN2K8].
20998         (CLD_KILLED): Likewise.
20999         (CLD_DUMPED): Likewise.
21000         (CLD_TRAPPED): Likewise.
21001         (CLD_STOPPED): Likewise.
21002         (CLD_CONTINUED): Likewise.
21003         (POLL_IN): Likewise.
21004         (POLL_OUT): Likewise.
21005         (POLL_MSG): Likewise.
21006         (POLL_ERR): Likewise.
21007         (POLL_PRI): Likewise.
21008         (POLL_HUP): Likewise.
21009         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21010         Likewise.
21011         (ILL_ILLOPN): Likewise.
21012         (ILL_ILLADR): Likewise.
21013         (ILL_ILLTRP): Likewise.
21014         (ILL_PRVOPC): Likewise.
21015         (ILL_PRVREG): Likewise.
21016         (ILL_COPROC): Likewise.
21017         (ILL_BADSTK): Likewise.
21018         (FPE_INTDIV): Likewise.
21019         (FPE_INTOVF): Likewise.
21020         (FPE_FLTDIV): Likewise.
21021         (FPE_FLTOVF): Likewise.
21022         (FPE_FLTUND): Likewise.
21023         (FPE_FLTRES): Likewise.
21024         (FPE_FLTINV): Likewise.
21025         (FPE_FLTSUB): Likewise.
21026         (SEGV_MAPERR): Likewise.
21027         (SEGV_ACCERR): Likewise.
21028         (BUS_ADRALN): Likewise.
21029         (BUS_ADRERR): Likewise.
21030         (BUS_OBJERR): Likewise.
21031         (BUS_MCEERR_AR): Likewise.
21032         (BUS_MCEERR_AO): Likewise.
21033         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21034         (TRAP_TRACE): Likewise.
21035         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21036         __USE_XOPEN2K8].
21037         (CLD_KILLED): Likewise.
21038         (CLD_DUMPED): Likewise.
21039         (CLD_TRAPPED): Likewise.
21040         (CLD_STOPPED): Likewise.
21041         (CLD_CONTINUED): Likewise.
21042         (POLL_IN): Likewise.
21043         (POLL_OUT): Likewise.
21044         (POLL_MSG): Likewise.
21045         (POLL_ERR): Likewise.
21046         (POLL_PRI): Likewise.
21047         (POLL_HUP): Likewise.
21048         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21049         (ILL_ILLOPN): Likewise.
21050         (ILL_ILLADR): Likewise.
21051         (ILL_ILLTRP): Likewise.
21052         (ILL_PRVOPC): Likewise.
21053         (ILL_PRVREG): Likewise.
21054         (ILL_COPROC): Likewise.
21055         (ILL_BADSTK): Likewise.
21056         (FPE_INTDIV): Likewise.
21057         (FPE_INTOVF): Likewise.
21058         (FPE_FLTDIV): Likewise.
21059         (FPE_FLTOVF): Likewise.
21060         (FPE_FLTUND): Likewise.
21061         (FPE_FLTRES): Likewise.
21062         (FPE_FLTINV): Likewise.
21063         (FPE_FLTSUB): Likewise.
21064         (SEGV_MAPERR): Likewise.
21065         (SEGV_ACCERR): Likewise.
21066         (BUS_ADRALN): Likewise.
21067         (BUS_ADRERR): Likewise.
21068         (BUS_OBJERR): Likewise.
21069         (BUS_MCEERR_AR): Likewise.
21070         (BUS_MCEERR_AO): Likewise.
21071         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21072         (TRAP_TRACE): Likewise.
21073         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21074         __USE_XOPEN2K8].
21075         (CLD_KILLED): Likewise.
21076         (CLD_DUMPED): Likewise.
21077         (CLD_TRAPPED): Likewise.
21078         (CLD_STOPPED): Likewise.
21079         (CLD_CONTINUED): Likewise.
21080         (POLL_IN): Likewise.
21081         (POLL_OUT): Likewise.
21082         (POLL_MSG): Likewise.
21083         (POLL_ERR): Likewise.
21084         (POLL_PRI): Likewise.
21085         (POLL_HUP): Likewise.
21086         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21087         Likewise.
21088         (ILL_ILLOPN): Likewise.
21089         (ILL_ILLADR): Likewise.
21090         (ILL_ILLTRP): Likewise.
21091         (ILL_PRVOPC): Likewise.
21092         (ILL_PRVREG): Likewise.
21093         (ILL_COPROC): Likewise.
21094         (ILL_BADSTK): Likewise.
21095         (ILL_BADIADDR): Likewise.
21096         (ILL_BREAK): Likewise.
21097         (FPE_INTDIV): Likewise.
21098         (FPE_INTOVF): Likewise.
21099         (FPE_FLTDIV): Likewise.
21100         (FPE_FLTOVF): Likewise.
21101         (FPE_FLTUND): Likewise.
21102         (FPE_FLTRES): Likewise.
21103         (FPE_FLTINV): Likewise.
21104         (FPE_FLTSUB): Likewise.
21105         (FPE_DECOVF): Likewise.
21106         (FPE_DECDIV): Likewise.
21107         (FPE_DECERR): Likewise.
21108         (FPE_INVASC): Likewise.
21109         (FPE_INVDEC): Likewise.
21110         (SEGV_MAPERR): Likewise.
21111         (SEGV_ACCERR): Likewise.
21112         (SEGV_PSTKOVF): Likewise.
21113         (BUS_ADRALN): Likewise.
21114         (BUS_ADRERR): Likewise.
21115         (BUS_OBJERR): Likewise.
21116         (BUS_MCEERR_AR): Likewise.
21117         (BUS_MCEERR_AO): Likewise.
21118         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21119         (TRAP_TRACE): Likewise.
21120         (TRAP_BRANCH): Likewise.
21121         (TRAP_HWBKPT): Likewise.
21122         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21123         __USE_XOPEN2K8].
21124         (CLD_KILLED): Likewise.
21125         (CLD_DUMPED): Likewise.
21126         (CLD_TRAPPED): Likewise.
21127         (CLD_STOPPED): Likewise.
21128         (CLD_CONTINUED): Likewise.
21129         (POLL_IN): Likewise.
21130         (POLL_OUT): Likewise.
21131         (POLL_MSG): Likewise.
21132         (POLL_ERR): Likewise.
21133         (POLL_PRI): Likewise.
21134         (POLL_HUP): Likewise.
21135         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21136         (ILL_ILLOPN): Likewise.
21137         (ILL_ILLADR): Likewise.
21138         (ILL_ILLTRP): Likewise.
21139         (ILL_PRVOPC): Likewise.
21140         (ILL_PRVREG): Likewise.
21141         (ILL_COPROC): Likewise.
21142         (ILL_BADSTK): Likewise.
21143         (FPE_INTDIV): Likewise.
21144         (FPE_INTOVF): Likewise.
21145         (FPE_FLTDIV): Likewise.
21146         (FPE_FLTOVF): Likewise.
21147         (FPE_FLTUND): Likewise.
21148         (FPE_FLTRES): Likewise.
21149         (FPE_FLTINV): Likewise.
21150         (FPE_FLTSUB): Likewise.
21151         (SEGV_MAPERR): Likewise.
21152         (SEGV_ACCERR): Likewise.
21153         (BUS_ADRALN): Likewise.
21154         (BUS_ADRERR): Likewise.
21155         (BUS_OBJERR): Likewise.
21156         (BUS_MCEERR_AR): Likewise.
21157         (BUS_MCEERR_AO): Likewise.
21158         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21159         (TRAP_TRACE): Likewise.
21160         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21161         __USE_XOPEN2K8].
21162         (CLD_KILLED): Likewise.
21163         (CLD_DUMPED): Likewise.
21164         (CLD_TRAPPED): Likewise.
21165         (CLD_STOPPED): Likewise.
21166         (CLD_CONTINUED): Likewise.
21167         (POLL_IN): Likewise.
21168         (POLL_OUT): Likewise.
21169         (POLL_MSG): Likewise.
21170         (POLL_ERR): Likewise.
21171         (POLL_PRI): Likewise.
21172         (POLL_HUP): Likewise.
21173         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21174         (ILL_ILLOPN): Likewise.
21175         (ILL_ILLADR): Likewise.
21176         (ILL_ILLTRP): Likewise.
21177         (ILL_PRVOPC): Likewise.
21178         (ILL_PRVREG): Likewise.
21179         (ILL_COPROC): Likewise.
21180         (ILL_BADSTK): Likewise.
21181         (FPE_INTDIV): Likewise.
21182         (FPE_INTOVF): Likewise.
21183         (FPE_FLTDIV): Likewise.
21184         (FPE_FLTOVF): Likewise.
21185         (FPE_FLTUND): Likewise.
21186         (FPE_FLTRES): Likewise.
21187         (FPE_FLTINV): Likewise.
21188         (FPE_FLTSUB): Likewise.
21189         (SEGV_MAPERR): Likewise.
21190         (SEGV_ACCERR): Likewise.
21191         (BUS_ADRALN): Likewise.
21192         (BUS_ADRERR): Likewise.
21193         (BUS_OBJERR): Likewise.
21194         (BUS_MCEERR_AR): Likewise.
21195         (BUS_MCEERR_AO): Likewise.
21196         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21197         (TRAP_TRACE): Likewise.
21198         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21199         __USE_XOPEN2K8].
21200         (CLD_KILLED): Likewise.
21201         (CLD_DUMPED): Likewise.
21202         (CLD_TRAPPED): Likewise.
21203         (CLD_STOPPED): Likewise.
21204         (CLD_CONTINUED): Likewise.
21205         (POLL_IN): Likewise.
21206         (POLL_OUT): Likewise.
21207         (POLL_MSG): Likewise.
21208         (POLL_ERR): Likewise.
21209         (POLL_PRI): Likewise.
21210         (POLL_HUP): Likewise.
21211         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21212         (ILL_ILLOPN): Likewise.
21213         (ILL_ILLADR): Likewise.
21214         (ILL_ILLTRP): Likewise.
21215         (ILL_PRVOPC): Likewise.
21216         (ILL_PRVREG): Likewise.
21217         (ILL_COPROC): Likewise.
21218         (ILL_BADSTK): Likewise.
21219         (FPE_INTDIV): Likewise.
21220         (FPE_INTOVF): Likewise.
21221         (FPE_FLTDIV): Likewise.
21222         (FPE_FLTOVF): Likewise.
21223         (FPE_FLTUND): Likewise.
21224         (FPE_FLTRES): Likewise.
21225         (FPE_FLTINV): Likewise.
21226         (FPE_FLTSUB): Likewise.
21227         (SEGV_MAPERR): Likewise.
21228         (SEGV_ACCERR): Likewise.
21229         (BUS_ADRALN): Likewise.
21230         (BUS_ADRERR): Likewise.
21231         (BUS_OBJERR): Likewise.
21232         (BUS_MCEERR_AR): Likewise.
21233         (BUS_MCEERR_AO): Likewise.
21234         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21235         (TRAP_TRACE): Likewise.
21236         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21237         __USE_XOPEN2K8].
21238         (CLD_KILLED): Likewise.
21239         (CLD_DUMPED): Likewise.
21240         (CLD_TRAPPED): Likewise.
21241         (CLD_STOPPED): Likewise.
21242         (CLD_CONTINUED): Likewise.
21243         (POLL_IN): Likewise.
21244         (POLL_OUT): Likewise.
21245         (POLL_MSG): Likewise.
21246         (POLL_ERR): Likewise.
21247         (POLL_PRI): Likewise.
21248         (POLL_HUP): Likewise.
21249         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21250         (ILL_ILLOPN): Likewise.
21251         (ILL_ILLADR): Likewise.
21252         (ILL_ILLTRP): Likewise.
21253         (ILL_PRVOPC): Likewise.
21254         (ILL_PRVREG): Likewise.
21255         (ILL_COPROC): Likewise.
21256         (ILL_BADSTK): Likewise.
21257         (ILL_DBLFLT): Likewise.
21258         (ILL_HARDWALL): Likewise.
21259         (FPE_INTDIV): Likewise.
21260         (FPE_INTOVF): Likewise.
21261         (FPE_FLTDIV): Likewise.
21262         (FPE_FLTOVF): Likewise.
21263         (FPE_FLTUND): Likewise.
21264         (FPE_FLTRES): Likewise.
21265         (FPE_FLTINV): Likewise.
21266         (FPE_FLTSUB): Likewise.
21267         (SEGV_MAPERR): Likewise.
21268         (SEGV_ACCERR): Likewise.
21269         (BUS_ADRALN): Likewise.
21270         (BUS_ADRERR): Likewise.
21271         (BUS_OBJERR): Likewise.
21272         (BUS_MCEERR_AR): Likewise.
21273         (BUS_MCEERR_AO): Likewise.
21274         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21275         (TRAP_TRACE): Likewise.
21276         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21277         __USE_XOPEN2K8].
21278         (CLD_KILLED): Likewise.
21279         (CLD_DUMPED): Likewise.
21280         (CLD_TRAPPED): Likewise.
21281         (CLD_STOPPED): Likewise.
21282         (CLD_CONTINUED): Likewise.
21283         (POLL_IN): Likewise.
21284         (POLL_OUT): Likewise.
21285         (POLL_MSG): Likewise.
21286         (POLL_ERR): Likewise.
21287         (POLL_PRI): Likewise.
21288         (POLL_HUP): Likewise.
21289         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21290         (ILL_ILLOPN): Likewise.
21291         (ILL_ILLADR): Likewise.
21292         (ILL_ILLTRP): Likewise.
21293         (ILL_PRVOPC): Likewise.
21294         (ILL_PRVREG): Likewise.
21295         (ILL_COPROC): Likewise.
21296         (ILL_BADSTK): Likewise.
21297         (FPE_INTDIV): Likewise.
21298         (FPE_INTOVF): Likewise.
21299         (FPE_FLTDIV): Likewise.
21300         (FPE_FLTOVF): Likewise.
21301         (FPE_FLTUND): Likewise.
21302         (FPE_FLTRES): Likewise.
21303         (FPE_FLTINV): Likewise.
21304         (FPE_FLTSUB): Likewise.
21305         (SEGV_MAPERR): Likewise.
21306         (SEGV_ACCERR): Likewise.
21307         (BUS_ADRALN): Likewise.
21308         (BUS_ADRERR): Likewise.
21309         (BUS_OBJERR): Likewise.
21310         (BUS_MCEERR_AR): Likewise.
21311         (BUS_MCEERR_AO): Likewise.
21312         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21313         (TRAP_TRACE): Likewise.
21314         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21315         __USE_XOPEN2K8].
21316         (CLD_KILLED): Likewise.
21317         (CLD_DUMPED): Likewise.
21318         (CLD_TRAPPED): Likewise.
21319         (CLD_STOPPED): Likewise.
21320         (CLD_CONTINUED): Likewise.
21321         (POLL_IN): Likewise.
21322         (POLL_OUT): Likewise.
21323         (POLL_MSG): Likewise.
21324         (POLL_ERR): Likewise.
21325         (POLL_PRI): Likewise.
21326         (POLL_HUP): Likewise.
21327         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21328         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21330         [BZ #16670]
21331         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21332         before #include of <time.h>.
21333         [!__USE_XOPEN2K] (__need_timespec): Likewise.
21334         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21335         (test-xfail-UNIX98/sched.h/conform): Likewise.
21337 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21339         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21340         error absence of trapping exception support.
21341         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21343 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
21345         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21346         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21347         * timezone/Makefile (testdata): Move definition above include of
21348         Rules.
21349         (test-zones): New variable.
21350         (tests-special): Add zone files.
21351         (build-testdata): Use $(evaluate-test).
21353         * elf/Makefile (tests-special): Rename tests to end with .out.
21354         ($(objpfx)noload-mem): Likewise.
21355         ($(objpfx)tst-leaks1-mem): Likewise.
21356         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21357         * iconv/Makefile (xtests-special): Change test-iconvconfig to
21358         $(objpfx)test-iconvconfig.out.
21359         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
21360         set -e inside subshell and redirect output to file.
21361         * iconvdata/Makefile (generated): Rename tests to end with .out.
21362         Correct type.
21363         (tests-special): Rename tests to end with .out.
21364         ($(objpfx)mtrace-tst-loading): Likewise.
21365         * intl/Makefile (generated): Likewise.
21366         (tests-special): Likewise.
21367         ($(objpfx)mtrace-tst-gettext): Likewise.
21368         * misc/Makefile (generated): Likewise.
21369         (tests-special): Likewise.
21370         ($(objpfx)tst-error1-mem): Likewise.
21371         * nptl/Makefile (tests-special): Likewise.
21372         ($(objpfx)tst-stack3-mem): Likewise.
21373         (generated): Likewise.
21374         * posix/Makefile (generated): Likewise.
21375         (tests-special): Likewise.
21376         (xtests-special): Likewise.
21377         ($(objpfx)tst-fnmatch-mem): Likewise.
21378         ($(objpfx)bug-regex2-mem): Likewise.
21379         ($(objpfx)bug-regex14-mem): Likewise.
21380         ($(objpfx)bug-regex21-mem): Likewise.
21381         ($(objpfx)bug-regex31-mem): Likewise.
21382         ($(objpfx)tst-vfork3-mem): Likewise.
21383         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21384         ($(objpfx)tst-pcre-mem): Likewise.
21385         ($(objpfx)tst-boost-mem): Likewise.
21386         ($(objpfx)bug-ga2-mem): Likewise.
21387         ($(objpfx)bug-glob2-mem): Likewise.
21388         * resolv/Makefile (generate): Likewise.
21389         (tests-special): Likewise.
21390         (xtests-special): Likewise.
21391         (generated): Likewise.
21392         ($(objpfx)mtrace-tst-leaks): Likewise.
21393         ($(objpfx)mtrace-tst-leaks2): Likewise.
21395         * scripts/merge-test-results.sh: New file.
21396         * Makefile (tests-special-notdir): New variable.
21397         (tests): Run merge-test-results.sh.
21398         (xtests): Likewise.
21399         * Rules (tests-special-notdir): New variable.
21400         (xtests-special-notdir): Likewise.
21401         (tests): Run merge-test-results.sh
21402         (xtests): Likewise.
21404         * Makeconfig (test-xfail-name): New variable.
21405         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21406         compute variable name for expected failures.
21407         * conform/Makefile (conformtest-headers-data): New variable.
21408         (conformtest-standards): Likewise.
21409         (conformtest-headers-ISO): Likewise.
21410         (conformtest-headers-ISO99): Likewise.
21411         (conformtest-headers-ISO11): Likewise.
21412         (conformtest-headers-POSIX): Likewise.
21413         (conformtest-headers-XPG3): Likewise.
21414         (conformtest-headers-XPG4): Likewise.
21415         (conformtest-headers-UNIX98): Likewise.
21416         (conformtest-headers-XOPEN2K): Likewise.
21417         (conformtest-headers-POSIX2008): Likewise.
21418         (conformtest-headers-XOPEN2K8): Likewise.
21419         (conformtest-header-list-base): Likewise.
21420         (conformtest-header-list-tests): Likewise.
21421         (conformtest-header-base): Likewise.
21422         (conformtest-header-tests): Likewise.
21423         (tests-special): Add $(conformtest-header-list-tests).  If
21424         [$(fast-check) && !$(cross-compiling)], add
21425         $(conformtest-header-tests) instead of
21426         $(objpfx)run-conformtest.out.
21427         (generated): Add $(conformtest-header-list-base).  If
21428         [$(fast-check) && !$(cross-compiling)], add
21429         $(conformtest-header-base).  Remove previous setting.
21430         ($(conformtest-header-list-tests)): New target.
21431         (test-xfail-run-conformtest): Remove variable.
21432         ($(objpfx)run-conformtest.out): Remove target.
21433         (test-xfail-ISO11/complex.h/conform): New variable.
21434         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21435         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21436         (test-xfail-XPG3/varargs.h/conform): Likewise.
21437         (test-xfail-XPG4/varargs.h/conform): Likewise.
21438         (test-xfail-UNIX98/varargs.h/conform): Likewise.
21439         (test-xfail-XPG4/ndbm.h/conform): Likewise.
21440         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21441         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21442         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21443         (test-xfail-XPG3/fcntl.h/conform): Likewise.
21444         (test-xfail-XPG3/ftw.h/conform): Likewise.
21445         (test-xfail-XPG3/grp.h/conform): Likewise.
21446         (test-xfail-XPG3/langinfo.h/conform): Likewise.
21447         (test-xfail-XPG3/limits.h/conform): Likewise.
21448         (test-xfail-XPG3/pwd.h/conform): Likewise.
21449         (test-xfail-XPG3/search.h/conform): Likewise.
21450         (test-xfail-XPG3/signal.h/conform): Likewise.
21451         (test-xfail-XPG3/stdio.h/conform): Likewise.
21452         (test-xfail-XPG3/stdlib.h/conform): Likewise.
21453         (test-xfail-XPG3/string.h/conform): Likewise.
21454         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21455         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21456         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21457         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21458         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21459         (test-xfail-XPG3/sys/types.h/conform): Likewise.
21460         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21461         (test-xfail-XPG3/termios.h/conform): Likewise.
21462         (test-xfail-XPG3/time.h/conform): Likewise.
21463         (test-xfail-XPG3/unistd.h/conform): Likewise.
21464         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21465         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21466         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21467         (test-xfail-XPG4/netdb.h/conform): Likewise.
21468         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21469         (test-xfail-XPG4/signal.h/conform): Likewise.
21470         (test-xfail-XPG4/stdio.h/conform): Likewise.
21471         (test-xfail-XPG4/stdlib.h/conform): Likewise.
21472         (test-xfail-XPG4/stropts.h/conform): Likewise.
21473         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21474         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21475         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21476         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21477         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21478         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21479         (test-xfail-XPG4/sys/time.h/conform): Likewise.
21480         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21481         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21482         (test-xfail-XPG4/termios.h/conform): Likewise.
21483         (test-xfail-XPG4/ucontext.h/conform): Likewise.
21484         (test-xfail-XPG4/unistd.h/conform): Likewise.
21485         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21486         (test-xfail-POSIX/sched.h/conform): Likewise.
21487         (test-xfail-POSIX/signal.h/conform): Likewise.
21488         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21489         (test-xfail-POSIX/tar.h/conform): Likewise.
21490         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21491         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21492         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21493         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21494         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21495         (test-xfail-UNIX98/sched.h/conform): Likewise.
21496         (test-xfail-UNIX98/signal.h/conform): Likewise.
21497         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21498         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21499         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21500         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21501         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21502         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21503         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21504         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21505         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21506         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21507         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21508         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21509         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21510         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21511         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21512         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21513         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21514         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21515         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21516         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21517         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21518         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21519         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21520         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21521         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21522         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21523         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21524         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21525         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21526         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21527         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21528         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21529         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21530         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21531         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21532         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21533         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21534         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21535         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21536         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21537         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21538         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21539         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21540         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21541         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21542         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21543         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21544         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21545         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21546         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21547         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21548         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21549         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21550         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21551         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21552         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21553         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21554         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21555         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21556         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21557         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21558         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21559         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21560         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21561         (conformtest-cc-flags): Likewise.
21562         ($(conformtest-header-tests): New target.
21563         * conform/check-header-lists.sh: New file.
21564         * conform/run-conformtest.sh: Remove.
21566         * conform/conformtest.pl: Allow ' and \ in values given for
21567         constants.
21568         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21569         inclusion.
21570         [POSIX] (sys/types.h): Likewise.
21571         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21572         inclusion.
21573         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21574         inclusion.
21575         * conform/data/signal.h-data (SIGIO): Remove expectation.
21576         [XPG3] (SIGBUS): Do not expect.
21577         [POSIX || XPG3] (SIGPOLL): Likewise.
21578         [POSIX || XPG3] (SIGPROF): Likewise.
21579         [POSIX || XPG3] (SIGSYS): Likewise.
21580         [XPG3] (SIGTRAP): Likewise.
21581         [POSIX || XPG3] (SIGURG): Likewise.
21582         [POSIX || XPG3] (SIGVTALRM): Likewise.
21583         [POSIX || XPG3] (SIGXCPU): Likewise.
21584         [POSIX || XPG3] (SIGXFSZ): Likewise.
21585         [POSIX] (SA_SIGINFO): Expect.
21586         [XPG3] (siginfo_t): Do not expect type or contents.
21587         [POSIX] (si_pid): Do not expect element.
21588         [POSIX] (si_uid): Likewise.
21589         [POSIX] (si_addr): Likewise.
21590         [POSIX] (si_status): Likewise.
21591         [POSIX] (si_band): Likewise.
21592         [XPG4] (si_value): Likewise.
21593         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21594         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21595         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21596         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21597         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21598         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21599         [POSIX || XPG3] (ILL_COPROC): Likewise.
21600         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21601         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21602         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21603         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21604         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21605         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21606         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21607         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21608         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21609         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21610         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21611         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21612         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21613         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21614         [POSIX || XPG3] (CLD_EXITED): Likewise.
21615         [POSIX || XPG3] (CLD_KILLED): Likewise.
21616         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21617         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21618         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21619         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21620         [POSIX || XPG3] (POLL_IN): Likewise.
21621         [POSIX || XPG3] (POLL_OUT): Likewise.
21622         [POSIX || XPG3] (POLL_MSG): Likewise.
21623         [POSIX || XPG3] (POLL_ERR): Likewise.
21624         [POSIX || XPG3] (POLL_PRI): Likewise.
21625         [POSIX || XPG3] (POLL_HUP): Likewise.
21626         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21627         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21628         (SIG*): Do not allow.
21629         [XPG3] (si_*): Likewise.
21630         [XPG3] (SI_*): Likewise.
21631         [XPG3 || XPG4] (sigev_*): Likewise.
21632         [XPG3 || XPG4] (SIGEV_*): Likewise.
21633         [XPG3 || XPG4] (sival_*): Likewise.
21634         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21635         [POSIX || XPG3] (BUS_*): Likewise.
21636         [POSIX || XPG3] (CLD_*): Likewise.
21637         [POSIX || XPG3] (FPE_*): Likewise.
21638         [POSIX || XPG3] (ILL_*): Likewise.
21639         [POSIX || XPG3] (POLL_*): Likewise.
21640         [POSIX || XPG3] (SEGV_*): Likewise.
21641         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21642         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21643         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21644         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21645         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21646         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21647         Specify type and value.
21648         (TVERSLEN): Likewise.
21649         (REGTYPE): Likewise.
21650         (AREGTYPE): Likewise.
21651         (LNKTYPE): Likewise.
21652         (SYMTYPE): Likewise.
21653         (CHRTYPE): Likewise.
21654         (BLKTYPE): Likewise.
21655         (DIRTYPE): Likewise.
21656         (FIFOTYPE): Likewise.
21657         (CONTTYPE): Likewise.
21658         (TSUID): Likewise.
21659         (TSGID): Likewise.
21660         (TSVTX): Likewise.
21661         (TUREAD): Likewise.
21662         (TUWRITE): Likewise.
21663         (TUEXEC): Likewise.
21664         (TGREAD): Likewise.
21665         (TGWRITE): Likewise.
21666         (TGEXEC): Likewise.
21667         (TOREAD): Likewise.
21668         (TOWRITE): Likewise.
21669         (TOEXEC): Likewise.
21670         [POSIX] (TSVTX): Expect constant.
21672 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21674         * Makefile (tests): Change dependencies to ....
21675         (tests-special): ... additions to this variable.
21676         (tests): Depend on $(tests-special).
21677         * Makerules (check-abi-list): New variable.
21678         (check-abi): Depend on $(check-abi-list).
21679         [$(subdir) = elf] (tests-special): Add
21680         $(objpfx)check-abi-libc.out.
21681         [$(build-shared) = yes && subdir] (tests-special): Add
21682         $(check-abi-list).
21683         [$(build-shared) = yes && subdir] (tests): Do not depend on
21684         check-abi.
21685         * Rules (tests): Depend on $(tests-special).
21686         (xtests): Depend on $(xtests-special).
21687         * catgets/Makefile (tests): Change dependencies to ....
21688         (tests-special): ... additions to this variable.
21689         * conform/Makefile (tests): Change dependencies to ....
21690         (tests-special): ... additions to this variable.
21691         * elf/Makefile (tests): Change dependencies to ....
21692         (tests-special): ... additions to this variable.
21693         * grp/Makefile (tests): Change dependencies to ....
21694         (tests-special): ... additions to this variable.
21695         * iconv/Makefile (xtests): Change dependencies to ....
21696         (xtests-special): ... additions to this variable.
21697         * iconvdata/Makefile (tests): Change dependencies to ....
21698         (tests-special): ... additions to this variable.
21699         * intl/Makefile (tests): Change dependencies to ....
21700         (tests-special): ... additions to this variable.  Also add
21701         $(objpfx)tst-gettext.out.
21702         * io/Makefile (tests): Change dependencies to ....
21703         (tests-special): ... additions to this variable.
21704         * libio/Makefile (tests): Change dependencies to ....
21705         (tests-special): ... additions to this variable.
21706         * malloc/Makefile (tests): Change dependencies to ....
21707         (tests-special): ... additions to this variable.
21708         * misc/Makefile (tests): Change dependencies to ....
21709         (tests-special): ... additions to this variable.
21710         * nptl/Makefile (tests): Change dependencies to ....
21711         (tests-special): ... additions to this variable.
21712         * nptl_db/Makefile (tests): Change dependencies to ....
21713         (tests-special): ... additions to this variable.
21714         * posix/Makefile (tests): Change dependencies to ....
21715         (tests-special): ... additions to this variable.
21716         (xtests): Change dependencies to ....
21717         (xtests-special): ... additions to this variable.
21718         * resolv/Makefile (tests): Change dependencies to ....
21719         (tests-special): ... additions to this variable.
21720         (xtests): Change dependencies to ....
21721         (xtests-special): ... additions to this variable.
21722         * stdio-common/Makefile (tests): Change dependencies to ....
21723         (tests-special): ... additions to this variable.
21724         (do-tst-unbputc): Remove target.
21725         (do-tst-printf): Likewise.
21726         * stdlib/Makefile (tests): Change dependencies to ....
21727         (tests-special): ... additions to this variable.
21728         * string/Makefile (tests): Change dependencies to ....
21729         (tests-special): ... additions to this variable.
21730         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21731         (tests-special): ... additions to this variable.
21733         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21734         whole file.
21735         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21736         whole file.
21737         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21738         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21740         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21741         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21742         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21743         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21744         * conform/data/libgen.h-data [XPG3]: Likewise.
21745         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21746         * conform/data/ndbm.h-data [XPG3]: Likewise.
21747         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21748         * conform/data/netdb.h-data [XPG3]: Likewise.
21749         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21750         * conform/data/poll.h-data [XPG3]: Likewise.
21751         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21752         * conform/data/strings.h-data [XPG3]: Likewise.
21753         * conform/data/stropts.h-data [XPG3]: Likewise.
21754         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21755         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21756         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21757         Likewise.
21758         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21759         * conform/data/sys/time.h-data [XPG3]: Likewise.
21760         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21761         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21762         * conform/data/sys/un.h-data [XPG3]: Likewise.
21763         * conform/data/syslog.h-data [XPG3]: Likewise.
21764         * conform/data/ucontext.h-data [XPG3]: Likewise.
21765         * conform/data/utmpx.h-data [XPG3]: Likewise.
21766         * conform/data/varargs.h-data [UNIX98]: Enable file.
21768         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21770         * math/libm-test.inc (struct test_f_f_data): Move expected results
21771         into structure for each rounding mode.
21772         (struct test_ff_f_data): Likewise.
21773         (struct test_ff_f_data_nexttoward): Likewise.
21774         (struct test_fi_f_data): Likewise.
21775         (struct test_fl_f_data): Likewise.
21776         (struct test_if_f_data): Likewise.
21777         (struct test_fff_f_data): Likewise.
21778         (struct test_c_f_data): Likewise.
21779         (struct test_f_f1_data): Likewise.
21780         (struct test_fF_f1_data): Likewise.
21781         (struct test_ffI_f1_data): Likewise.
21782         (struct test_c_c_data): Likewise.
21783         (struct test_cc_c_data): Likewise.
21784         (struct test_f_i_data): Likewise.
21785         (struct test_ff_i_data): Likewise.
21786         (struct test_f_l_data): Likewise.
21787         (struct test_f_L_data): Likewise.
21788         (struct test_fFF_11_data): Likewise.
21789         (RM_): New macro.
21790         (RM_FE_DOWNWARD): Likewise.
21791         (RM_FE_TONEAREST): Likewise.
21792         (RM_FE_TOWARDZERO): Likewise.
21793         (RM_FE_UPWARD): Likewise.
21794         (RUN_TEST_LOOP_f_f): Update references to expected results.
21795         (RUN_TEST_LOOP_2_f): Likewise.
21796         (RUN_TEST_LOOP_fff_f): Likewise.
21797         (RUN_TEST_LOOP_c_f): Likewise.
21798         (RUN_TEST_LOOP_f_f1): Likewise.
21799         (RUN_TEST_LOOP_fF_f1): Likewise.
21800         (RUN_TEST_LOOP_fI_f1): Likewise.
21801         (RUN_TEST_LOOP_ffI_f1): Likewise.
21802         (RUN_TEST_LOOP_c_c): Likewise.
21803         (RUN_TEST_LOOP_cc_c): Likewise.
21804         (RUN_TEST_LOOP_f_i): Likewise.
21805         (RUN_TEST_LOOP_f_i_tg): Likewise.
21806         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21807         (RUN_TEST_LOOP_f_b): Likewise.
21808         (RUN_TEST_LOOP_f_b_tg): Likewise.
21809         (RUN_TEST_LOOP_f_l): Likewise.
21810         (RUN_TEST_LOOP_f_L): Likewise.
21811         (RUN_TEST_LOOP_fFF_11): Likewise.
21812         * math/gen-libm-test.pl (parse_args): Output four copies of
21813         expected results for each test.
21815         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21816         (__ASSUME_UTIMES): Remove.
21817         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21818         (__ASSUME_UTIMES): Likewise.
21820         * math/gen-auto-libm-tests.c: Update comment on output format.
21821         (output_for_one_input_case): Generate before-rounding and
21822         after-rounding information as conditions on output flags not
21823         floating-point format.
21824         * math/auto-libm-test-out: Regenerated.
21825         * math/gen-libm-test.pl (cond_value): New function.
21826         (or_cond_value): Use cond_value.
21827         (generate_testfile): Handle conditional exceptions.
21829 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21831         * math/libm-test.inc (max_valid_error): New variable.
21832         (init_max_error): Take new argument specifying whether function
21833         results are exactly determined.  Set max_valid_error and bound
21834         other variables for errors based on this argument.
21835         (set_max_error): Do not record results above max_valid_error.
21836         (check_float_internal): Only accept errors of up to 0.5ulps if
21837         also at most max_valid_error.
21838         (START): Take new argument EXACT and pass it to init_max_error.
21839         (acos_test): Update call to START.
21840         (acos_test_tonearest): Likewise.
21841         (acos_test_towardzero): Likewise.
21842         (acos_test_downward): Likewise.
21843         (acos_test_upward): Likewise.
21844         (acosh_test): Likewise.
21845         (asin_test): Likewise.
21846         (asin_test_tonearest): Likewise.
21847         (asin_test_towardzero): Likewise.
21848         (asin_test_downward): Likewise.
21849         (asin_test_upward): Likewise.
21850         (asinh_test): Likewise.
21851         (atan_test): Likewise.
21852         (atanh_test): Likewise.
21853         (atan2_test): Likewise.
21854         (cabs_test): Likewise.
21855         (cacos_test): Likewise.
21856         (cacosh_test): Likewise.
21857         (carg_test): Likewise.
21858         (casin_test): Likewise.
21859         (casinh_test): Likewise.
21860         (catan_test): Likewise.
21861         (catanh_test): Likewise.
21862         (cbrt_test): Likewise.
21863         (ccos_test): Likewise.
21864         (ccosh_test): Likewise.
21865         (ceil_test): Likewise.
21866         (cexp_test): Likewise.
21867         (cimag_test): Likewise.
21868         (clog_test): Likewise.
21869         (clog10_test): Likewise.
21870         (conj_test): Likewise.
21871         (copysign_test): Likewise.
21872         (cos_test): Likewise.
21873         (cos_test_tonearest): Likewise.
21874         (cos_test_towardzero): Likewise.
21875         (cos_test_downward): Likewise.
21876         (cos_test_upward): Likewise.
21877         (cosh_test): Likewise.
21878         (cosh_test_tonearest): Likewise.
21879         (cosh_test_towardzero): Likewise.
21880         (cosh_test_downward): Likewise.
21881         (cosh_test_upward): Likewise.
21882         (cpow_test): Likewise.
21883         (cproj_test): Likewise.
21884         (creal_test): Likewise.
21885         (csin_test): Likewise.
21886         (csinh_test): Likewise.
21887         (csqrt_test): Likewise.
21888         (ctan_test): Likewise.
21889         (ctan_test_tonearest): Likewise.
21890         (ctan_test_towardzero): Likewise.
21891         (ctan_test_downward): Likewise.
21892         (ctan_test_upward): Likewise.
21893         (ctanh_test): Likewise.
21894         (ctanh_test_tonearest): Likewise.
21895         (ctanh_test_towardzero): Likewise.
21896         (ctanh_test_downward): Likewise.
21897         (ctanh_test_upward): Likewise.
21898         (erf_test): Likewise.
21899         (erfc_test): Likewise.
21900         (exp_test): Likewise.
21901         (exp_test_tonearest): Likewise.
21902         (exp_test_towardzero): Likewise.
21903         (exp_test_downward): Likewise.
21904         (exp_test_upward): Likewise.
21905         (exp10_test): Likewise.
21906         (exp10_test_tonearest): Likewise.
21907         (exp10_test_towardzero): Likewise.
21908         (exp10_test_downward): Likewise.
21909         (exp10_test_upward): Likewise.
21910         (pow10_test): Likewise.
21911         (exp2_test): Likewise.
21912         (expm1_test): Likewise.
21913         (expm1_test_tonearest): Likewise.
21914         (expm1_test_towardzero): Likewise.
21915         (expm1_test_downward): Likewise.
21916         (expm1_test_upward): Likewise.
21917         (fabs_test): Likewise.
21918         (fdim_test): Likewise.
21919         (floor_test): Likewise.
21920         (fma_test): Likewise.
21921         (fma_test_towardzero): Likewise.
21922         (fma_test_downward): Likewise.
21923         (fma_test_upward): Likewise.
21924         (fmax_test): Likewise.
21925         (fmin_test): Likewise.
21926         (fmod_test): Likewise.
21927         (fpclassify_test): Likewise.
21928         (frexp_test): Likewise.
21929         (hypot_test): Likewise.
21930         (ilogb_test): Likewise.
21931         (isfinite_test): Likewise.
21932         (finite_test): Likewise.
21933         (isgreater_test): Likewise.
21934         (isgreaterequal_test): Likewise.
21935         (isinf_test): Likewise.
21936         (isless_test): Likewise.
21937         (islessequal_test): Likewise.
21938         (islessgreater_test): Likewise.
21939         (isnan_test): Likewise.
21940         (isnormal_test): Likewise.
21941         (issignaling_test): Likewise.
21942         (isunordered_test): Likewise.
21943         (j0_test): Likewise.
21944         (j1_test): Likewise.
21945         (jn_test): Likewise.
21946         (ldexp_test): Likewise.
21947         (lgamma_test): Likewise.
21948         (gamma_test): Likewise.
21949         (lrint_test): Likewise.
21950         (lrint_test_tonearest): Likewise.
21951         (lrint_test_towardzero): Likewise.
21952         (lrint_test_downward): Likewise.
21953         (lrint_test_upward): Likewise.
21954         (llrint_test): Likewise.
21955         (llrint_test_tonearest): Likewise.
21956         (llrint_test_towardzero): Likewise.
21957         (llrint_test_downward): Likewise.
21958         (llrint_test_upward): Likewise.
21959         (log_test): Likewise.
21960         (log10_test): Likewise.
21961         (log1p_test): Likewise.
21962         (log2_test): Likewise.
21963         (logb_test): Likewise.
21964         (logb_test_downward): Likewise.
21965         (lround_test): Likewise.
21966         (llround_test): Likewise.
21967         (modf_test): Likewise.
21968         (nearbyint_test): Likewise.
21969         (nextafter_test): Likewise.
21970         (nexttoward_test): Likewise.
21971         (pow_test): Likewise.
21972         (pow_test_tonearest): Likewise.
21973         (pow_test_towardzero): Likewise.
21974         (pow_test_downward): Likewise.
21975         (pow_test_upward): Likewise.
21976         (remainder_test): Likewise.
21977         (drem_test): Likewise.
21978         (remainder_test_tonearest): Likewise.
21979         (drem_test_tonearest): Likewise.
21980         (remainder_test_towardzero): Likewise.
21981         (drem_test_towardzero): Likewise.
21982         (remainder_test_downward): Likewise.
21983         (drem_test_downward): Likewise.
21984         (remainder_test_upward): Likewise.
21985         (drem_test_upward): Likewise.
21986         (remquo_test): Likewise.
21987         (rint_test): Likewise.
21988         (rint_test_tonearest): Likewise.
21989         (rint_test_towardzero): Likewise.
21990         (rint_test_downward): Likewise.
21991         (rint_test_upward): Likewise.
21992         (round_test): Likewise.
21993         (scalb_test): Likewise.
21994         (scalbn_test): Likewise.
21995         (scalbln_test): Likewise.
21996         (signbit_test): Likewise.
21997         (sin_test): Likewise.
21998         (sin_test_tonearest): Likewise.
21999         (sin_test_towardzero): Likewise.
22000         (sin_test_downward): Likewise.
22001         (sin_test_upward): Likewise.
22002         (sincos_test): Likewise.
22003         (sinh_test): Likewise.
22004         (sinh_test_tonearest): Likewise.
22005         (sinh_test_towardzero): Likewise.
22006         (sinh_test_downward): Likewise.
22007         (sinh_test_upward): Likewise.
22008         (sqrt_test): Likewise.
22009         (sqrt_test_tonearest): Likewise.
22010         (sqrt_test_towardzero): Likewise.
22011         (sqrt_test_downward): Likewise.
22012         (sqrt_test_upward): Likewise.
22013         (tan_test): Likewise.
22014         (tan_test_tonearest): Likewise.
22015         (tan_test_towardzero): Likewise.
22016         (tan_test_downward): Likewise.
22017         (tan_test_upward): Likewise.
22018         (tanh_test): Likewise.
22019         (tgamma_test): Likewise.
22020         (trunc_test): Likewise.
22021         (y0_test): Likewise.
22022         (y1_test): Likewise.
22023         (yn_test): Likewise.
22024         (significand_test): Likewise.
22026         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22027         individual tests in comment.
22028         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22029         (prev_max_error): New variable.
22030         (prev_real_max_error): Likewise.
22031         (prev_imag_max_error): Likewise.
22032         (compare_ulp_data): Don't refer to test names in comment.
22033         (find_test_ulps): Remove function.
22034         (find_function_ulps): Likewise.
22035         (find_complex_function_ulps): Likewise.
22036         (init_max_error): Take function name as argument.  Look up ulps
22037         for that function.
22038         (print_ulps): Remove function.
22039         (print_max_error): Use prev_max_error instead of calling
22040         find_function_ulps.
22041         (print_complex_max_error): Use prev_real_max_error and
22042         prev_imag_max_error instead of calling find_complex_function_ulps.
22043         (check_float_internal): Take max_ulp parameter instead of calling
22044         find_test_ulps.  Don't call print_ulps.
22045         (check_float): Update call to check_float_internal.
22046         (check_complex): Update calls to check_float_internal.
22047         (START): Pass argument to init_max_error.
22048         * math/gen-libm-test.pl (%results): Don't include "kind"
22049         information.
22050         (parse_ulps): Don't handle ulps of individual tests.
22051         (print_ulps_file): Likewise.
22052         (output_ulps): Likewise.
22053         * math/README.libm-test: Update.
22054         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22055         individual tests.
22056         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22057         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22058         * sysdeps/arm/libm-test-ulps: Likewise.
22059         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22060         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22061         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22062         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22063         * sysdeps/microblaze/libm-test-ulps: Likewise.
22064         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22065         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22066         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22067         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22068         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22069         * sysdeps/sh/libm-test-ulps: Likewise.
22070         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22071         * sysdeps/tile/libm-test-ulps: Likewise.
22072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22074 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
22076         * math/libm-test.inc (print_complex_max_error): Check separately
22077         whether real and imaginary errors are within allowed range and
22078         pass 0 to print_complex_function_ulps instead of value within
22079         allowed range.
22081 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22083         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22084         formatting.
22085         (get_handles_fopen): Likewise.
22086         (do_write_test): Likewise.
22088         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22090         * libio/fileops.c (do_ftell): Use cached offset when
22091         available.
22092         * libio/iofwide.c (do_ftell_wide): Likewise.
22093         * libio/iofdopen.c (_IO_new_fdopen): Don't use
22094         _IO_file_attach.
22095         * libio/wfileops.c (_IO_fwide): Don't cache offset.
22097         [BZ #16532]
22098         * libio/libioP.h (get_file_offset): New function.
22099         * libio/fileops.c (get_file_offset): Likewise.
22100         (do_ftell): Likewise.
22101         (_IO_new_file_seekoff): Split out ftell logic.
22102         * libio/wfileops.c (do_ftell_wide): Likewise.
22103         (_IO_wfile_seekoff): Split out ftell logic.
22104         * libio/tst-ftell-active-handler.c: New test case.
22105         * libio/Makefile (tests): Add it.
22107 2014-03-03  Roland McGrath  <roland@hack.frob.com>
22109         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22110         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22112 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22114         [BZ #16639]
22115         * nscd/connections.c (nscd_init): Call do_exit.
22116         (start_threads): Call do_exit and notify_parent.
22117         (begin_drop_privileges): Call do_exit.
22118         (finish_drop_privileges): Likewise.
22119         * nscd/selinux.c (preserve_capabilities): Likewise.
22120         (install_real_capabilities): Likewise.
22121         (nscd_selinux_enabled): Likewise.
22122         (avc_create_thread): Likewise.
22123         (avc_alloc_lock): Likewise.
22124         (nscd_avc_init): Likewise.
22125         * nscd/nscd.c (parent_fd): New static variable.
22126         (main): Create a pipe between parent and child processes.
22127         Skip closing parent_fd.
22128         (monitor_child): New function.
22129         (do_exit): Likewise.
22130         (notify_parent): Likewise.
22131         * nscd/nscd.h (notify_parent): Likewise.
22132         (do_exit): Likewise.
22134 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
22136         * malloc/malloc.c (__libc_calloc): Revert last change.
22138 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22142 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22144         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22146         implementation.
22147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22148         (__libc_ifunc_impl_list): Likewise.
22149         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22150         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22151         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22152         * string/strrchr.c: Define STRRCHR.
22154 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
22156         * benchtest/bench-strtok.c (simple_strtok): Delete.
22157         (strtok_string): Use as benchmark.
22158         * string/strtok (STRTOK): New macro.
22160 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
22162         * manual/threads.texi: Add header and standard comments to all
22163         functions.
22165         * elf/dl-lookup.c (check_match): New function.
22166         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22167         (do_lookup_x): Remove nested function check_match. Use non-nested
22168         function check_match.
22170 2014-02-28  Roland McGrath  <roland@hack.frob.com>
22172         * csu/Makefile (generated, before-compile): Use += rather than =.
22173         * catgets/Makefile (generated, generated-dirs): Likewise.
22174         * debug/Makefile (generated): Likewise.
22175         * dlfcn/Makefile (generated): Likewise.
22176         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22177         * iconvdata/Makefile (before-compile, generated): Likewise.
22178         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22179         * libio/Makefile (generated): Likewise.
22180         * malloc/Makefile (generated): Likewise.
22181         * manual/Makefile (generated, generated-dirs): Likewise.
22182         * misc/Makefile (generated): Likewise.
22183         * posix/Makefile (generated): Likewise.
22184         * resolv/Makefile (generated): Likewise.
22185         * sunrpc/Makefile (generated, generated-dirs): Likewise.
22186         * timezone/Makefile (generated, generated-dirs): Likewise.
22188         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22190 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22193         power8 implementation.
22194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22195         file: POWER8 llround ifunc implementation.
22196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22197         (__lllround): Add POWER8 implementation.
22198         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22199         POWER8 llround implementation.
22201         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22202         power8 implementation.
22203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22204         file: POWER8 llrint ifunc implementation.
22205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22206         Add POWER8 implementation.
22207         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22208         POWER8 llrint implementation.
22210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22211         power8 implementation.
22212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22213         file: POWER8 finite ifunc implementation.
22214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22215         Add POWER8 implementation.
22216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22217         Likewise.
22218         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22219         POWER8 finite implementation.
22220         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22222         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22223         power8 implementation.
22224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22225         file: POWER8 isinf ifunc implementation.
22226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22227         POWER8 implementation.
22228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22229         Likewise.
22230         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22231         isinf implementation.
22232         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22234         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22235         (INIT_ARCH): Add hwcap2 initialization.
22236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22237         power8 implementation.
22238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22239         file: POWER8 isnan ifunc implementation.
22240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22241         POWER8 implementation.
22242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22243         Likewise.
22244         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22245         isnan implementation.
22246         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22248 2014-02-27  Joey Ye  <joey.ye@arm.com>
22250         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22251         (_FP_NANFRAC_Q): Set to zero.
22253 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22255         [BZ #16623]
22256         * math/auto-libm-test-in: New test inputs.
22257         * math/auto-libm-test-out: Regenerate.
22258         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22259         and DA.
22260         (__cos): Likewise.
22261         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22263 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
22265         * scripts/evaluate-test.sh: Take new argument indicating whether
22266         failure is expected.
22267         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22268         indicating whether failure is expected.
22269         * conform/Makefile (test-xfail-run-conformtest): New variable.
22270         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22271         level.
22272         * posix/Makefile (test-xfail-annexc): New variable.
22273         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22275 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
22277         * argp/Makefile: Include Makeconfig immediately after defining
22278         subdir.
22279         * assert/Makefile: Likewise.
22280         * benchtests/Makefile: Likewise.
22281         * catgets/Makefile: Likewise.
22282         * conform/Makefile: Likewise.
22283         * crypt/Makefile: Likewise.
22284         * csu/Makefile: Likewise.
22285         (all): Remove target.
22286         * ctype/Makefile: Include Makeconfig immediately after defining
22287         subdir.
22288         * debug/Makefile: Likewise.
22289         * dirent/Makefile: Likewise.
22290         * dlfcn/Makefile: Likewise.
22291         * gmon/Makefile: Likewise.
22292         * gnulib/Makefile: Likewise.
22293         * grp/Makefile: Likewise.
22294         * gshadow/Makefile: Likewise.
22295         * hesiod/Makefile: Likewise.
22296         * hurd/Makefile: Likewise.
22297         (all): Remove target.
22298         * iconvdata/Makefile: Include Makeconfig immediately after
22299         defining subdir.
22300         * inet/Makefile: Likewise.
22301         * intl/Makefile: Likewise.
22302         * io/Makefile: Likewise.
22303         * libio/Makefile: Likewise.
22304         (all): Remove target.
22305         * locale/Makefile: Include Makeconfig immediately after defining
22306         subdir.
22307         * login/Makefile: Likewise.
22308         * mach/Makefile: Likewise.
22309         (all): Remove target.
22310         * malloc/Makefile: Include Makeconfig immediately after defining
22311         subdir.
22312         (all): Remove target.
22313         * manual/Makefile: Include Makeconfig immediately after defining
22314         subdir.
22315         * math/Makefile: Likewise.
22316         * misc/Makefile: Likewise.
22317         * nis/Makefile: Likewise.
22318         * nss/Makefile: Likewise.
22319         * po/Makefile: Likewise.
22320         (all): Remove target.
22321         * posix/Makefile: Include Makeconfig immediately after defining
22322         subdir.
22323         * pwd/Makefile: Likewise.
22324         * resolv/Makefile: Likewise.
22325         * resource/Makefile: Likewise.
22326         * rt/Makefile: Likewise.
22327         * setjmp/Makefile: Likewise.
22328         * shadow/Makefile: Likewise.
22329         * signal/Makefile: Likewise.
22330         * socket/Makefile: Likewise.
22331         * soft-fp/Makefile: Likewise.
22332         * stdio-common/Makefile: Likewise.
22333         * stdlib/Makefile: Likewise.
22334         * streams/Makefile: Likewise.
22335         * string/Makefile: Likewise.
22336         * sunrpc/Makefile: Likewise.
22337         (all): Remove target.
22338         * sysvipc/Makefile: Include Makeconfig immediately after defining
22339         subdir.
22340         * termios/Makefile: Likewise.
22341         * time/Makefile: Likewise.
22342         * timezone/Makefile: Likewise.
22343         (all): Remove target.
22344         * wcsmbs/Makefile: Include Makeconfig immediately after defining
22345         subdir.
22346         * wctype/Makefile: Likewise.
22348 2014-02-26  Steve Ellcey  <sellcey@mips.com>
22350         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22351         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22352         (libc_feholdexcept_setround_mips): Ditto.
22353         (libc_feholdsetround): New.
22354         (libc_feholdsetroundf): New.
22355         (libc_feholdsetroundl): New.
22356         (libc_feupdateenv_test_mips): New.
22357         (libc_feupdateenv_test): New.
22358         (libc_feupdateenv_testf): New.
22359         (libc_feupdateenv_testl): New.
22360         (libc_feresetround): New.
22361         (libc_feresetroundf): New.
22362         (libc_feresetroundl): New.
22363         (libc_fetestexcept_mips): New.
22364         (libc_fetestexcept): New.
22365         (libc_fetestexceptf): New.
22366         (libc_fetestexceptl): New.
22367         (HAVE_RM_CTX): New.
22368         (libc_feholdexcept_setround_mips_ctx): New.
22369         (libc_feholdexcept_setround_ctx): New.
22370         (libc_feholdexcept_setroundf_ctx): New.
22371         (libc_feholdexcept_setroundl_ctx): New.
22372         (libc_fesetenv_mips_ctx): New.
22373         (libc_fesetenv_ctx): New.
22374         (libc_fesetenv_ctxf): New.
22375         (libc_fesetenv_ctxl): New.
22376         (libc_feupdateenv_mips_ctx): New.
22377         (libc_feupdateenv_ctx): New.
22378         (libc_feupdateenvf_ctx): New.
22379         (libc_feupdateenvl_ctx): New.
22380         (libc_feholdsetround_mips_ctx): New.
22381         (libc_feholdsetround_ctx): New.
22382         (libc_feholdsetroundf_ctx): New.
22383         (libc_feholdsetroundl_ctx): New.
22384         (libc_feresetround_mips_ctx): New.
22385         (libc_feresetround_ctx): New.
22386         (libc_feresetroundf_ctx): New.
22387         (libc_feresetroundl_ctx): New.
22389 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
22391         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22393         * manual/ipc.texi: New file.
22394         * manual/Makefile (chapters): Add ipc.
22395         * manual/job.texi: Add "Inter-Process Communication" to next.
22396         * manual/process.texi: Add "Inter-Process Communication" to prev.
22398 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22402 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
22404         * malloc/malloc.c (__libc_calloc): Simplify implementation.
22406         * manual/arith.texi: Fix spaces after sentences.
22407         * manual/charset.texi: Likewise.
22408         * manual/errno.texi: Likewise.
22409         * manual/install.texi: Likewise.
22410         * manual/llio.texi: Likewise.
22411         * manual/locale.texi: Likewise.
22412         * manual/maint.texi: Likewise.
22413         * manual/math.texi: Likewise.
22414         * manual/memory.texi: Likewise.
22415         * manual/message.texi: Likewise.
22416         * manual/probes.texi: Likewise.
22417         * manual/resource.texi: Likewise.
22418         * manual/signal.texi: Likewise.
22419         * manual/socket.texi: Likewise.
22420         * manual/stdio.texi: Likewise.
22421         * manual/string.texi: Likewise.
22422         * manual/time.texi: Likewise.
22423         * manual/users.texi: Likewise.
22425 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
22427         [BZ #16632]
22428         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22429         _DEFAULT_SOURCE is defined.
22431 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
22432             Carlos O'Donell  <carlos@redhat.com>
22434         [BZ #16613]
22435         * elf/dl-tls.c (_dl_count_modids): New function.
22436         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22437         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22438         audit library and increment generation counter.
22439         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22440         * elf/tst-audit9.c: New file.
22441         * elf/tst-auditmod9a.c: New file.
22442         * elf/tst-auditmod9b.c: New file.
22443         * elf/Makefile: Add rules to build and run tst-audit9.
22445 2014-02-25  Florian Weimer  <fweimer@redhat.com>
22447         [BZ #15347]
22448         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22450 2014-02-25  Will Newton  <will.newton@linaro.org>
22452         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22453         (__longjmp): Restore sp and lr before restoring callee
22454         saved registers.  Add longjmp and longjmp_target
22455         SystemTap probe point.
22456         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22457         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22458         Define to zero to match jmpbuf layout.
22459         * sysdeps/arm/setjmp.S: Include stap-probe.h.
22460         (__sigsetjmp): Save sp and lr before saving callee
22461         saved registers.  Add setjmp SystemTap probe point.
22463 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22465         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22467 2014-02-24  Andreas Schwab  <schwab@suse.de>
22469         [BZ #15804]
22470         * elf/pldd.c (wait_for_ptrace_stop): New function.
22471         (main): Call it after attaching.
22473 2014-02-22  Roland McGrath  <roland@hack.frob.com>
22475         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22476         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22477         Versions files is now verboten.
22478         * hurd/Versions (libc: GLIBC_2.0):
22479         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22480         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22481         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22482         * mach/Versions: Likewise.
22484         * csu/Versions: Remove unused %include.
22485         * resolv/Versions: Likewise.
22487 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
22489         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22490         ($(objpfx)check-local-headers.out): Likewise.
22491         ($(objpfx)begin-end-check.out): Likewise.
22492         * Makerules (check-abi-%.out): Likewise.
22493         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22494         ($(objpfx)test2.cat): Likewise.
22495         ($(objpfx)de/libc.cat): Likewise.
22496         ($(objpfx)test-gencat.out): Likewise.
22497         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22498         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22499         ($(objpfx)noload-mem): Likewise.
22500         ($(objpfx)tst-pathopt.out): Likewise.
22501         ($(objpfx)tst-rtld-load-self.out): Likewise.
22502         ($(objpfx)tst-array1-cmp.out): Likewise.
22503         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22504         ($(objpfx)tst-array2-cmp.out): Likewise.
22505         ($(objpfx)tst-array3-cmp.out): Likewise.
22506         ($(objpfx)tst-array4-cmp.out): Likewise.
22507         ($(objpfx)tst-array5-cmp.out): Likewise.
22508         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22509         ($(objpfx)check-textrel.out): Likewise.
22510         ($(objpfx)check-execstack.out): Likewise.
22511         ($(objpfx)check-localplt.out): Likewise.
22512         ($(objpfx)order2-cmp.out): Likewise.
22513         ($(objpfx)tst-leaks1-mem): Likewise.
22514         ($(objpfx)tst-leaks1-static-mem): Likewise.
22515         ($(objpfx)tst-initorder-cmp.out): Likewise.
22516         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22517         ($(objpfx)tst-unused-dep.out): Likewise.
22518         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22519         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22520         * iconv/Makefile (test-iconvconfig): Likewise.
22521         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22522         ($(objpfx)iconv-test.out): Likewise.
22523         ($(objpfx)tst-tables.out): Likewise.
22524         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22525         ($(objpfx)tst-gettext.out): Likewise.
22526         ($(objpfx)tst-translit.out): Likewise.
22527         ($(objpfx)tst-gettext2.out): Likewise.
22528         ($(objpfx)tst-gettext4.out): Likewise.
22529         ($(objpfx)tst-gettext6.out): Likewise.
22530         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22531         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22532         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22533         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22534         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22535         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22536         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22537         ($(objpfx)wordexp-tst.out): Likewise.
22538         ($(objpfx)annexc.out): Likewise.
22539         ($(objpfx)tst-fnmatch-mem): Likewise.
22540         ($(objpfx)bug-regex2-mem): Likewise.
22541         ($(objpfx)bug-regex14-mem): Likewise.
22542         ($(objpfx)bug-regex21-mem): Likewise.
22543         ($(objpfx)bug-regex31-mem): Likewise.
22544         ($(objpfx)tst-vfork3-mem): Likewise.
22545         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22546         ($(objpfx)tst-pcre-mem): Likewise.
22547         ($(objpfx)tst-boost-mem): Likewise.
22548         ($(objpfx)tst-getconf.out): Likewise.
22549         ($(objpfx)bug-ga2-mem): Likewise.
22550         ($(objpfx)bug-glob2-mem): Likewise.
22551         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22552         ($(objpfx)mtrace-tst-leaks2): Likewise.
22553         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22554         ($(objpfx)tst-printf.out): Likewise.
22555         ($(objpfx)tst-setvbuf1.out): Likewise.
22556         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22557         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22558         ($(objpfx)tst-fmtmsg.out): Likewise.
22559         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22560         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22562         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22563         * bits/sigaction.h [__USE_MISC]: Likewise.
22564         * bits/waitstatus.h: Update #endif comments.
22565         * ctype/ctype.h: Likewise.
22566         * dirent/dirent.h: Likewise.
22567         [__USE_MISC]: Remove redundant conditionals.
22568         * grp/grp.h: Update #endif comments.
22569         [__USE_GNU]: Remove redundant conditionals.
22570         [__USE_MISC]: Likewise.
22571         * inet/netinet/in.h [__USE_GNU]: Likewise.
22572         * io/sys/stat.h [__USE_MISC]: Likewise.
22573         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22574         * libio/bits/stdio.h: Update #endif comments.
22575         [__USE_MISC]: Remove redundant conditionals.
22576         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22577         * libio/stdio.h: Update #endif comments.
22578         [__USE_MISC]: Remove redundant conditionals.
22579         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22580         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22581         * math/math.h: Update #else and #endif comments.
22582         [__USE_MISC]: Remove redundant conditionals.
22583         * misc/sys/uio.h: Update #endif comments.
22584         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22585         * posix/glob.h [__USE_MISC]: Likewise.
22586         * posix/sys/types.h: Update #endif comments.
22587         [__USE_MISC]: Remove redundant conditionals.
22588         * posix/sys/wait.h: Update #endif comments.
22589         [__USE_MISC]: Remove redundant conditionals.
22590         * posix/unistd.h: Update #endif comments.
22591         [__USE_MISC]: Remove redundant conditionals.
22592         * pwd/pwd.h [__USE_GNU]: Likewise.
22593         [__USE_MISC]: Likewise.
22594         * resolv/netdb.h [__USE_GNU]: Likewise.
22595         * signal/signal.h: Update #endif comments.
22596         [__USE_MISC]: Remove redundant conditionals.
22597         * stdlib/stdlib.h: Update #else and #endif comments.
22598         [__USE_MISC]: Remove redundant conditionals.
22599         [__USE_GNU]: Likewise.
22600         * string/bits/string2.h [__USE_MISC]: Likewise.
22601         * string/string.h: Update #endif comments.
22602         [__USE_MISC]: Remove redundant conditionals.
22603         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22604         Likewise.
22605         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22606         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22607         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22608         Likewise.
22609         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22610         Likewise.
22611         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22612         comments.
22613         [__USE_MISC]: Remove redundant conditionals.
22614         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22615         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22616         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22617         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22618         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22619         Likewise.
22620         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22621         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22622         Likewise.
22623         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22624         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22625         Likewise.
22626         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22627         Likewise.
22628         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22629         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22630         Likewise.
22631         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22632         Likewise.
22633         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22634         * sysdeps/x86/bits/string.h: Update #endif comments.
22635         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22636         conditionals.
22637         * time/sys/time.h: Update #endif comments.
22638         * time/time.h: Likewise.
22639         [__USE_MISC]: Remove redundant conditionals.
22641 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22643         [BZ #16600]
22644         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22646 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22648         * Versions.def (librt): Add GLIBC_2.17.
22650 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22652         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22653         synonym for _SYS_AUXV_H to allow direct inclusion.
22654         * sysdeps/sparc/bits/hwcap.h: Likewise.
22655         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22656         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22657         * sysdeps/sparc/sysdep.h: Likewise.
22659 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22661         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22663 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22665         * benchtests/bench-strrchr.c: Print length instead of position.
22667 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22669         [BZ #16611]
22670         * sysdeps/unix/sysv/linux/kernel-features.h
22671         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22672         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22673         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22674         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22675         Likewise.
22676         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22677         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22678         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22679         (__ASSUME_SENDMMSG): Define instead of using previous
22680         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22681         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22682         (__ASSUME_SENDMMSG_SYSCALL): Define.
22683         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22684         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22685         Likewise.
22686         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22687         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22688         Likewise.
22689         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22690         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22691         Likewise.
22692         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22693         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22694         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22695         [__ASSUME_SENDMMSG]: Change conditionals to
22696         [__ASSUME_SENDMMSG_SOCKETCALL].
22697         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22698         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22699         Define.
22700         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22701         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22702         Likewise.
22703         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22704         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22705         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22706         [!__ASSUME_SENDMMSG]: Change conditional to
22707         [!__ASSUME_SENDMMSG_SOCKETCALL].
22708         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22709         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22710         Define.
22712         [BZ #16610]
22713         * sysdeps/unix/sysv/linux/kernel-features.h
22714         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22715         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22716         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22717         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22718         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22719         [__i386__ || __sparc__]
22720         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22721         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22722         (__ASSUME_RECVMMSG): Define instead of using previous
22723         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22724         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22725         (__ASSUME_RECVMMSG_SYSCALL): Define.
22726         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22727         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22728         Likewise.
22729         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22730         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22731         Likewise.
22732         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22733         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22734         Likewise.
22735         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22736         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22737         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22738         [__ASSUME_RECVMMSG]: Change condition to
22739         [__ASSUME_RECVMMSG_SOCKETCALL].
22740         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22741         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22742         Define.
22743         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22744         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22745         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22746         Likewise.
22747         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22748         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22749         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22750         [!__ASSUME_RECVMMSG]: Change condition to
22751         [!__ASSUME_RECVMMSG_SOCKETCALL].
22752         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22753         (__ASSUME_RECVMMSG_SYSCALL): Define.
22755         [BZ #16609]
22756         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22757         __powerpc__ || __s390__ || __sh__ || __sparc__]
22758         (__ASSUME_SOCKETCALL): Define.
22759         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22760         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22761         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22762         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22763         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22764         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22765         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22766         (__ASSUME_ACCEPT4): Define instead of using previous
22767         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22768         __powerpc__ || __sparc__ || __s390__)] condition.
22769         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22770         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22771         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22772         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22773         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22774         [!__ASSUME_ACCEPT4]: Change condition to
22775         [!__ASSUME_ACCEPT4_SOCKETCALL].
22776         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22777         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22778         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22779         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22780         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22781         __ASSUME_ACCEPT4_SYSCALL.
22782         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22783         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22784         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22785         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22786         __ASSUME_ACCEPT4_SYSCALL.
22787         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22788         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22789         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22790         [__ASSUME_ACCEPT4]: Change condition to
22791         [__ASSUME_ACCEPT4_SOCKETCALL].
22792         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22793         (__ASSUME_SOCKETCALL): Define.
22794         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22796         (__ASSUME_SOCKETCALL): Define.
22797         (__ASSUME_ACCEPT4): Remove.
22798         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22799         Define.
22800         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22801         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22802         Likewise.
22803         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22804         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22806         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22807         macro.
22808         (HWCAP_ARM_LPAE): Likewise.
22809         (HWCAP_ARM_EVTSTRM): Likewise.
22810         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22811         Add vpfd32, lpae and evtstrm.
22812         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22813         Increase to 22.
22815 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22817         * math/auto-libm-test-in: Add tests of clog10.
22818         * math/auto-libm-test-out: Regenerated.
22819         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22820         * sysdeps/i386/fpu/libm-test-ulps: Update.
22821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22823 2014-02-18  Andreas Schwab  <schwab@suse.de>
22825         [BZ #16574]
22826         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22827         Store non-zero if the second buffer was newly allocated.
22828         (send_dg): Likewise.
22829         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22830         to send_vc and send_dg.
22831         (res_nsend): Pass NULL for ansp2_malloced.
22832         * resolv/res_query.c (__libc_res_nquery): Add parameter
22833         answerp2_malloced and pass it down to __libc_res_nsend.
22834         (res_nquery): Pass additional NULL to __libc_res_nquery.
22835         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22836         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22837         second answer buffer if answerp2_malloced was set.
22838         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22839         (__libc_res_nquerydomain): Add parameter
22840         answerp2_malloced and pass it down to __libc_res_nquery.
22841         (res_nquerydomain): Pass additional NULL to
22842         __libc_res_nquerydomain.
22843         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22844         additional NULL to __libc_res_nsend and __libc_res_nquery.
22845         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22846         additional NULL to __libc_res_nsearch.
22847         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22848         parameter of __libc_res_nsearch to check for separately allocated
22849         second buffer.
22850         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22851         __libc_res_nquery.
22852         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22853         additional NULL to __libc_res_nquery.
22854         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22855         __libc_res_nsearch.
22856         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22857         * include/resolv.h: Update prototypes of __libc_res_nquery,
22858         __libc_res_nsearch, __libc_res_nsend.
22860 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22862         * math/auto-libm-test-in: Add tests of fma.
22863         * math/auto-libm-test-out: Regenerated.
22864         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22865         (fma_towardzero_test_data): Likewise.
22866         (fma_downward_test_data): Likewise.
22867         (fma_upward_test_data): Likewise.
22868         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22869         mpc_mode.
22870         (rounding_modes): Add values for new field.
22871         (func_calc_method): Add value mpfr_fff_f.
22872         (func_calc_desc): Add mpfr_fff_f union field.
22873         (test_function): Add field exact_args.
22874         (FUNC): Add macro argument EXACT_ARGS.
22875         (FUNC_mpfr_f_f): Update call to FUNC.
22876         (FUNC_mpfr_f_f): Likewise.
22877         (FUNC_mpfr_ff_f): Likewise.
22878         (FUNC_mpfr_if_f): Likewise.
22879         (FUNC_mpc_c_f): Likewise.
22880         (FUNC_mpc_c_c): Likewise.
22881         (test_functions): Add fma.  Update calls to FUNC.
22882         (handle_input_arg): Add argument exact_args.
22883         (add_test): Update call to handle_input_arg.
22884         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22885         (output_for_one_input_case): Update call to calc_generic_results.
22886         Recalculate exact zero results in each rounding mode.
22888         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22889         non-negative before setting low bit.
22890         * math/auto-libm-test-in: Mark one asin test possibly having
22891         spurious underflow.
22892         * math/auto-libm-test-out: Regenerated.
22893         * sysdeps/i386/fpu/libm-test-ulps: Update.
22894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22896 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22898         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22899         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22900         ports/sysdeps/unix/sysv/linux/microblaze.
22901         * README: Add missing listing for microblaze*-*-linux-gnu.
22903 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22905         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22906         duplicate code
22908 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22910         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22911         * sysdeps/unix/sysv/linux/ia64: Move directory from
22912         ports/sysdeps/unix/sysv/linux/ia64.
22913         * README: Update listing for ia64-*-linux-gnu.
22915 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22916             Joseph Myers  <joseph@codesourcery.com>
22918         * Makeconfig (test-name): New variable.
22919         (evaluate-test): Likewise.
22920         * Makerules (do-test-clean): Remove .test-result files.
22921         (common-mostlyclean): Likewise.
22922         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22923         * scripts/evaluate-test.sh: New file.
22925 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22927         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22928         separate $(objpfx)tst-fopenloc-cmp.out and
22929         $(objpfx)tst-fopenloc-mem.out targets.
22930         (tests): Update dependencies.
22931         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22932         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22933         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22934         (tst-rxspencer-no-utf8-ARGS): New variable.
22935         (tst-rxspencer-no-utf8-ENV): Likewise.
22936         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22937         instead of $(objpfx)tst-rxspencer-mem.
22938         ($(objpfx)tst-rxspencer-mem): Change target to
22939         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22940         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22941         * posix/tst-rxspencer-no-utf8.c: New file.
22943         * elf/Makefile ($(objpfx)order.out): Remove rule.
22944         [$(run-built-tests) = yes] (tests): Depend on
22945         $(objpfx)order-cmp.out.
22946         ($(objpfx)order-cmp.out): New rule.
22947         [$(run-built-tests) = yes] (tests): Depend on
22948         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22949         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22950         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22951         $(objpfx)tst-array5-static-cmp.out.
22952         ($(objpfx)tst-array1.out): Remove rule.
22953         ($(objpfx)tst-array1-cmp.out): New rule.
22954         ($(objpfx)tst-array1-static.out): Remove rule.
22955         ($(objpfx)tst-array1-static-cmp.out): New rule.
22956         ($(objpfx)tst-array2.out): Remove rule.
22957         ($(objpfx)tst-array2-cmp.out): New rule.
22958         ($(objpfx)tst-array3.out): Remove rule.
22959         ($(objpfx)tst-array3-cmp.out): New rule.
22960         ($(objpfx)tst-array4.out): Remove rule.
22961         ($(objpfx)tst-array4-cmp.out): New rule.
22962         ($(objpfx)tst-array5.out): Remove rule.
22963         ($(objpfx)tst-array5-cmp.out): New rule.
22964         ($(objpfx)tst-array5-static.out): Remove rule.
22965         ($(objpfx)tst-array5-static-cmp.out): New rule.
22966         [$(run-built-tests) = yes] (tests): Depend on
22967         $(objpfx)order2-cmp.out.
22968         ($(objpfx)order2.out): Remove rule.
22969         ($(objpfx)order2-cmp.out): New rule.
22970         ($(objpfx)tst-initorder.out): Remove rule.
22971         [$(run-built-tests) = yes] (tests): Depend on
22972         $(objpfx)tst-initorder-cmp.out.
22973         ($(objpfx)tst-initorder-cmp.out): New rule.
22974         ($(objpfx)tst-initorder2.out): Remove rule.
22975         [$(run-built-tests) = yes] (tests): Depend on
22976         $(objpfx)tst-initorder2-cmp.out.
22977         ($(objpfx)tst-initorder2-cmp.out): New rule.
22978         [$(run-built-tests) = yes] (tests): Depend on
22979         $(objpfx)tst-unused-dep-cmp.out.
22980         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22981         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22982         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22983         on $(objpfx)tst-setvbuf1-cmp.out.
22984         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22985         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22986         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22987         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22988         ($(objpfx)tst-svc.out): Remove rule.
22989         ($(objpfx)tst-svc-cmp.out): New rule.
22991 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22993         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22994         * ctype/ctype.h [__USE_MISC]: Likewise.
22995         * dirent/dirent.h [__USE_MISC]: Likewise.
22996         * grp/grp.h [__USE_MISC]: Likewise.
22997         * io/fcntl.h [__USE_MISC]: Likewise.
22998         * io/sys/stat.h [__USE_MISC]: Likewise.
22999         * libio/stdio.h [__USE_MISC]: Likewise.
23000         * posix/unistd.h [__USE_MISC]: Likewise.
23001         * pwd/pwd.h [__USE_MISC]: Likewise.
23002         * stdlib.h [__USE_MISC]: Likewise.
23003         * string/bits/string2.h [__USE_MISC]: Likewise.
23004         * string/string.h [__USE_MISC]: Likewise.
23005         * time/time.h [__USE_MISC]: Likewise.
23007 2014-02-13  Andreas Schwab  <schwab@suse.de>
23009         [BZ #16574]
23010         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23011         second answer buffer if it was separately allocated.
23013 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
23015         * sysdeps/mips/math-tests.h: Include <features.h>.
23016         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23017         (ROUNDING_TESTS_long_double): Do not define.
23018         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23019         (EXCEPTION_TESTS_long_double): Likewise.
23020         * sysdeps/mips/mips64/libm-test-ulps: Update.
23022         * include/features.h (__USE_BSD): Remove macro definitions.
23023         (__USE_SVID): Likewise.
23024         (_BSD_SOURCE): Likewise.
23025         (_SVID_SOURCE): Likewise.
23026         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23027         from definition of _DEFAULT_SOURCE.
23028         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23029         [_DEFAULT_SOURCE].
23030         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23031         * bits/mman.h [__USE_BSD]: Likewise.
23032         * bits/termios.h [__USE_BSD]: Likewise.
23033         * bits/waitstatus.h [__USE_BSD]: Likewise.
23034         * ctype/ctype.h [__USE_SVID]: Likewise.
23035         * dirent/dirent.h [__USE_BSD]: Likewise.
23036         * grp/grp.h [__USE_SVID]: Likewise.
23037         [__USE_BSD]: Likewise.
23038         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23039         * io/fcntl.h [__USE_BSD]: Likewise.
23040         * io/ftw.h [__USE_BSD]: Likewise.
23041         * io/sys/stat.h [__USE_BSD]: Likewise.
23042         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23043         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23044         * libio/stdio.h [__USE_SVID]: Likewise.
23045         [__USE_BSD]: Likewise.
23046         * math/math.h [__USE_SVID]: Likewise.
23047         [__USE_BSD]: Likewise.
23048         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23049         * misc/bits/syslog.h [__USE_BSD]: Likewise.
23050         * misc/search.h [__USE_SVID]: Likewise.
23051         * misc/sys/mman.h [__USE_BSD]: Likewise.
23052         * misc/sys/syslog.h [__USE_BSD]: Likewise.
23053         * misc/sys/uio.h [__USE_BSD]: Likewise.
23054         * posix/bits/unistd.h [__USE_BSD]: Likewise.
23055         * posix/glob.h [__USE_BSD]: Likewise.
23056         * posix/regex.h [__USE_BSD]: Likewise.
23057         * posix/sys/types.h [__USE_BSD]: Likewise.
23058         [__USE_SVID]: Likewise.
23059         * posix/sys/utsname.h [__USE_SVID]: Likewise.
23060         * posix/sys/wait.h [__USE_BSD]: Likewise.
23061         [__USE_SVID]: Likewise.
23062         * posix/unistd.h [__USE_BSD]: Likewise.
23063         [__USE_SVID]: Likewise.
23064         * pwd/pwd.h [__USE_SVID]: Likewise.
23065         * resolv/netdb.h [__USE_BSD]: Likewise.
23066         * setjmp/setjmp.h [__USE_BSD]: Likewise.
23067         * signal/signal.h [__USE_BSD]: Likewise.
23068         [__USE_SVID]: Likewise.
23069         * socket/sys/socket.h [__USE_BSD]: Likewise.
23070         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23071         * stdlib/stdlib.h [__USE_BSD]: Likewise.
23072         [__USE_SVID]: Likewise.
23073         * string/bits/string2.h [__USE_BSD]: Likewise.
23074         [__USE_SVID]: Likewise.
23075         * string/bits/string3.h [__USE_BSD]: Likewise.
23076         * string/endian.h [__USE_BSD]: Likewise.
23077         * string/string.h [__USE_SVID]: Likewise.
23078         [__USE_BSD]: Likewise.
23079         * string/strings.h [__USE_BSD]: Likewise.
23080         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23081         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23082         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23083         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23084         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23085         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23086         Likewise.
23087         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23088         Likewise.
23089         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23090         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23091         Likewise.
23092         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23093         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23094         Likewise.
23095         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23096         Likewise.
23097         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23098         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23099         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23100         Likewise.
23101         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23102         Likewise.
23103         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23104         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23105         * termios/termios.h [__USE_BSD]: Likewise.
23106         * time/sys/time.h [__USE_BSD]: Likewise.
23107         * time/time.h [__USE_BSD]: Likewise.
23108         [__USE_SVID]: Likewise.
23110         * Makefile (subdir_targets): Remove subdir_lint.out.
23112         * stdio-common/Makefile (do-tst-unbputc): Remove target.
23113         (do-tst-printf): Likewise.
23114         (tests): Depend directly on $(objpfx)tst-unbputc.out and
23115         $(objpfx)tst-printf.out.
23117         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23119         * Makerules (check-abi-%): Change target to
23120         $(objpfx)check-abi-%.out.
23121         (check-abi target): Update dependencies.
23122         (check-abi-pattern variable): Redirect output of diff to $@.
23123         (check-abi variable): Likewise.
23124         * elf/Makefile (check-abi): Update dependencies.
23126         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23127         unused.
23128         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23129         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23130         subnormal range.
23131         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23132         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23133         value has largest subnormal exponent.
23134         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23135         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23136         * sysdeps/aarch64/soft-fp/sfp-machine.h
23137         (_FP_TININESS_AFTER_ROUNDING): New macro.
23138         * sysdeps/alpha/soft-fp/sfp-machine.h
23139         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23140         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23141         Likewise.
23142         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23143         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23144         * sysdeps/mips/soft-fp/sfp-machine.h
23145         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23146         * sysdeps/powerpc/soft-fp/sfp-machine.h
23147         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23148         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23149         Likewise.
23150         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23151         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23152         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23153         (_FP_TININESS_AFTER_ROUNDING): Likewise.
23154         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23155         Likewise.
23157 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
23159         [BZ #16545]
23160         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23161         model 1.
23163 2014-02-12  Richard Henderson  <rth@redhat.com>
23165         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23166         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23167         * sysdeps/unix/sysv/linux/alpha: Move directory from
23168         ports/sysdeps/unix/sysv/linux/alpha.
23169         * README: Update listing for alpha-*-linux-gnu.
23171 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
23173         * include/features.h: Update comment documenting feature test
23174         macros.
23175         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
23176         _DEFAULT_SOURCE.
23177         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23178         (_SVID_SOURCE): Likewise.
23179         (_DEFAULT_SOURCE): Update description of default features.
23180         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23181         with _GNU_SOURCE.
23182         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23183         (S_ISVTX): Likewise.
23184         * manual/math.texi (Mathematical Constants): Likewise.
23185         * manual/signal.texi (Interrupted Primitives): Likewise.
23186         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23187         * math/test-matherr.c (_SVID_SOURCE): Do not define.
23188         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23189         Don't refer to _SVID_SOURCE in warning text.
23191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23193         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23194         already defined.
23195         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23196         * sysdeps/mips/dl-lookup.c: Remove.
23197         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23199 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23201         [BZ #16447]
23202         * math/auto-libm-test-in: Add testcase for expl.
23203         * math/auto-libm-test-out: Regenerate.
23204         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23205         calculation of unsafe.
23206         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23208 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
23210         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23211         * sysdeps/unix/sysv/linux/aarch64: Move directory from
23212         ports/sysdeps/unix/sysv/linux/aarch64.
23213         * README: Update listing for aarch64*-*-linux-gnu.
23215 2014-02-11  Will Newton  <will.newton@linaro.org>
23217         * manual/probes.texi (Mathematical Function Probes): Use
23218         "triggered" instead of "hit".
23220         * manual/probes.texi (Internal Probes): Add documentation
23221         of setjmp, longjmp and longjmp_target probes.
23223         * include/stap-probe.h: Add comment about probe argument
23224         format.
23226         * malloc/mtrace.c (attribute_hidden): Remove unused macro
23227         definition.  (tr_where, tr_freehook, tr_mallochook,
23228         tr_reallochook, tr_memalignhook): Use ANSI protoype.
23230 2014-02-11  David S. Miller  <davem@davemloft.net>
23232         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23233         processing int_tests.
23235 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
23237         * sysdeps/mips: Move directory from ports/sysdeps/mips.
23238         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23239         * sysdeps/unix/sysv/linux/mips: Move directory from
23240         ports/sysdeps/unix/sysv/linux/mips.
23241         * README: Update listing for mips-*-linux-gnu and
23242         mips64-*-linux-gnu.
23244 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
23246         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23247         * sysdeps/unix/sysv/linux/m68k: Move directory from
23248         ports/sysdeps/unix/sysv/linux/m68k.
23249         * README: Update listing for m68k-*-linux-gnu.
23251 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
23253         * sysdeps/tile: Move directory from ports/sysdeps/tile.
23254         * sysdeps/unix/sysv/linux/generic: Move directory from
23255         ports/sysdeps/unix/sysv/linux/generic.
23256         * sysdeps/unix/sysv/linux/tile: Move directory from
23257         ports/sysdeps/unix/sysv/linux/tile.
23258         * README: Update listing for tile*-*-linux-gnu.
23260 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
23262         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23263         __builtin_expect.
23264         * benchtests/bench-memmem.c (simple_memmem): Likewise.
23265         * catgets/open_catalog.c (__open_catalog): Likewise.
23266         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23267         * debug/confstr_chk.c: Likewise.
23268         * debug/fread_chk.c (__fread_chk): Likewise.
23269         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23270         * debug/getgroups_chk.c: Likewise.
23271         * debug/mbsnrtowcs_chk.c: Likewise.
23272         * debug/mbsrtowcs_chk.c: Likewise.
23273         * debug/mbstowcs_chk.c: Likewise.
23274         * debug/memcpy_chk.c: Likewise.
23275         * debug/memmove_chk.c: Likewise.
23276         * debug/mempcpy_chk.c: Likewise.
23277         * debug/memset_chk.c: Likewise.
23278         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23279         * debug/strcat_chk.c (__strcat_chk): Likewise.
23280         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23281         * debug/strncat_chk.c (__strncat_chk): Likewise.
23282         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23283         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23284         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23285         * debug/wcpncpy_chk.c: Likewise.
23286         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23287         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23288         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23289         * debug/wcsncpy_chk.c: Likewise.
23290         * debug/wcsnrtombs_chk.c: Likewise.
23291         * debug/wcsrtombs_chk.c: Likewise.
23292         * debug/wcstombs_chk.c: Likewise.
23293         * debug/wmemcpy_chk.c: Likewise.
23294         * debug/wmemmove_chk.c: Likewise.
23295         * debug/wmempcpy_chk.c: Likewise.
23296         * debug/wmemset_chk.c: Likewise.
23297         * dirent/scandirat.c (SCANDIRAT): Likewise.
23298         * dlfcn/dladdr1.c (dladdr1): Likewise.
23299         * dlfcn/dladdr.c (dladdr): Likewise.
23300         * dlfcn/dlclose.c (dlclose_doit): Likewise.
23301         * dlfcn/dlerror.c (__dlerror): Likewise.
23302         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23303         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23304         * dlfcn/dlopen.c (dlopen_doit): Likewise.
23305         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23306         * dlfcn/dlsym.c (dlsym_doit): Likewise.
23307         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23308         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23309         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23310         Likewise.
23311         * elf/dl-conflict.c: Likewise.
23312         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23313         * elf/dl-dst.h: Likewise.
23314         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23315         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23316         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23317         * elf/dl-init.c (call_init, _dl_init): Likewise.
23318         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23319         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23320         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23321         Likewise.
23322         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23323         Likewise.
23324         * elf/dl-minimal.c (__libc_memalign): Likewise.
23325         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23326         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23327         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23328         * elf/dl-sym.c (do_sym): Likewise.
23329         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23330         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23331         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23332         * elf/dl-writev.h (_dl_writev): Likewise.
23333         * elf/ldconfig.c (search_dir): Likewise.
23334         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23335         (dl_main): Likewise.
23336         * elf/setup-vdso.h (setup_vdso): Likewise.
23337         * grp/compat-initgroups.c (compat_call): Likewise.
23338         * grp/fgetgrent.c (fgetgrent): Likewise.
23339         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23340         * grp/putgrent.c (putgrent): Likewise.
23341         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23342         Likewise.
23343         * hurd/hurdinit.c: Likewise.
23344         * iconvdata/8bit-gap.c (struct): Likewise.
23345         * iconvdata/ansi_x3.110.c : Likewise.
23346         * iconvdata/big5.c : Likewise.
23347         * iconvdata/big5hkscs.c : Likewise.
23348         * iconvdata/cp1255.c: Likewise.
23349         * iconvdata/cp1258.c : Likewise.
23350         * iconvdata/cp932.c : Likewise.
23351         * iconvdata/euc-cn.c: Likewise.
23352         * iconvdata/euc-jisx0213.c : Likewise.
23353         * iconvdata/euc-jp.c: Likewise.
23354         * iconvdata/euc-jp-ms.c : Likewise.
23355         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23356         * iconvdata/gb18030.c : Likewise.
23357         * iconvdata/gbbig5.c (const): Likewise.
23358         * iconvdata/gbgbk.c: Likewise.
23359         * iconvdata/gbk.c : Likewise.
23360         * iconvdata/ibm1364.c : Likewise.
23361         * iconvdata/ibm930.c : Likewise.
23362         * iconvdata/ibm932.c: Likewise.
23363         * iconvdata/ibm933.c : Likewise.
23364         * iconvdata/ibm935.c : Likewise.
23365         * iconvdata/ibm937.c : Likewise.
23366         * iconvdata/ibm939.c : Likewise.
23367         * iconvdata/ibm943.c: Likewise.
23368         * iconvdata/iso_11548-1.c: Likewise.
23369         * iconvdata/iso-2022-cn.c : Likewise.
23370         * iconvdata/iso-2022-cn-ext.c : Likewise.
23371         * iconvdata/iso-2022-jp-3.c: Likewise.
23372         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23373         * iconvdata/iso-2022-kr.c : Likewise.
23374         * iconvdata/iso646.c (gconv_end): Likewise.
23375         * iconvdata/iso_6937-2.c : Likewise.
23376         * iconvdata/iso_6937.c : Likewise.
23377         * iconvdata/iso8859-1.c: Likewise.
23378         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23379         * iconvdata/shift_jisx0213.c : Likewise.
23380         * iconvdata/sjis.c : Likewise.
23381         * iconvdata/t.61.c : Likewise.
23382         * iconvdata/tcvn5712-1.c : Likewise.
23383         * iconvdata/tscii.c: Likewise.
23384         * iconvdata/uhc.c : Likewise.
23385         * iconvdata/unicode.c (gconv_end): Likewise.
23386         * iconvdata/utf-16.c (gconv_end): Likewise.
23387         * iconvdata/utf-32.c (gconv_end): Likewise.
23388         * iconvdata/utf-7.c (base64): Likewise.
23389         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23390         * iconv/gconv_close.c (__gconv_close): Likewise.
23391         * iconv/gconv_open.c (__gconv_open): Likewise.
23392         * iconv/gconv_simple.c (internal_ucs4_loop_single)
23393         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23394         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23395         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23396         (ucs4le_internal_loop_single): Likewise.
23397         * iconv/iconv.c (iconv): Likewise.
23398         * iconv/iconv_close.c: Likewise.
23399         * iconv/loop.c (SINGLE): Likewise.
23400         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23401         * include/atomic.h: Likewise.
23402         * inet/inet6_option.c (option_alloc): Likewise.
23403         * intl/bindtextdom.c (set_binding_values): Likewise.
23404         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23405         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23406         * intl/localealias.c (read_alias_file): Likewise.
23407         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23408         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23409         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23410         * libio/fmemopen.c (fmemopen): Likewise.
23411         * libio/iofgets.c (_IO_fgets): Likewise.
23412         * libio/iofgets_u.c (fgets_unlocked): Likewise.
23413         * libio/iofgetws.c (fgetws): Likewise.
23414         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23415         * libio/iogetdelim.c (_IO_getdelim): Likewise.
23416         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23417         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23418         * locale/findlocale.c (_nl_find_locale): Likewise.
23419         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23420         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23421         Likewise.
23422         * locale/setlocale.c (setlocale): Likewise.
23423         * login/programs/pt_chown.c (main): Likewise.
23424         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23425         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23426         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23427         (mmap, mmap64, mremap, munmap): Likewise.
23428         * math/e_exp2l.c: Likewise.
23429         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23430         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23431         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23432         * math/s_catan.c (__catan): Likewise.
23433         * math/s_catanf.c (__catanf): Likewise.
23434         * math/s_catanh.c (__catanh): Likewise.
23435         * math/s_catanhf.c (__catanhf): Likewise.
23436         * math/s_catanhl.c (__catanhl): Likewise.
23437         * math/s_catanl.c (__catanl): Likewise.
23438         * math/s_ccosh.c (__ccosh): Likewise.
23439         * math/s_ccoshf.c (__ccoshf): Likewise.
23440         * math/s_ccoshl.c (__ccoshl): Likewise.
23441         * math/s_cexp.c (__cexp): Likewise.
23442         * math/s_cexpf.c (__cexpf): Likewise.
23443         * math/s_cexpl.c (__cexpl): Likewise.
23444         * math/s_clog10.c (__clog10): Likewise.
23445         * math/s_clog10f.c (__clog10f): Likewise.
23446         * math/s_clog10l.c (__clog10l): Likewise.
23447         * math/s_clog.c (__clog): Likewise.
23448         * math/s_clogf.c (__clogf): Likewise.
23449         * math/s_clogl.c (__clogl): Likewise.
23450         * math/s_csin.c (__csin): Likewise.
23451         * math/s_csinf.c (__csinf): Likewise.
23452         * math/s_csinh.c (__csinh): Likewise.
23453         * math/s_csinhf.c (__csinhf): Likewise.
23454         * math/s_csinhl.c (__csinhl): Likewise.
23455         * math/s_csinl.c (__csinl): Likewise.
23456         * math/s_csqrt.c (__csqrt): Likewise.
23457         * math/s_csqrtf.c (__csqrtf): Likewise.
23458         * math/s_csqrtl.c (__csqrtl): Likewise.
23459         * math/s_ctan.c (__ctan): Likewise.
23460         * math/s_ctanf.c (__ctanf): Likewise.
23461         * math/s_ctanh.c (__ctanh): Likewise.
23462         * math/s_ctanhf.c (__ctanhf): Likewise.
23463         * math/s_ctanhl.c (__ctanhl): Likewise.
23464         * math/s_ctanl.c (__ctanl): Likewise.
23465         * math/w_pow.c: Likewise.
23466         * math/w_powf.c: Likewise.
23467         * math/w_powl.c: Likewise.
23468         * math/w_scalb.c (sysv_scalb): Likewise.
23469         * math/w_scalbf.c (sysv_scalbf): Likewise.
23470         * math/w_scalbl.c (sysv_scalbl): Likewise.
23471         * misc/error.c (error_tail): Likewise.
23472         * misc/pselect.c (__pselect): Likewise.
23473         * nis/nis_callback.c (__nis_create_callback): Likewise.
23474         * nis/nis_call.c (__nisfind_server): Likewise.
23475         * nis/nis_creategroup.c (nis_creategroup): Likewise.
23476         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23477         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23478         * nis/nis_getservlist.c (nis_getservlist): Likewise.
23479         * nis/nis_lookup.c (nis_lookup): Likewise.
23480         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23481         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23482         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23483         * nis/nis_xdr.c (xdr_endpoint): Likewise.
23484         * nis/nss_compat/compat-grp.c (getgrent_next_file)
23485         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23486         * nis/nss_compat/compat-initgroups.c (add_group)
23487         (internal_getgrent_r): Likewise.
23488         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23489         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23490         * nis/nss_compat/compat-spwd.c (getspent_next_file)
23491         (internal_getspnam_r): Likewise.
23492         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23493         (_nss_nis_getaliasbyname_r): Likewise.
23494         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23495         (_nss_nis_getntohost_r): Likewise.
23496         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23497         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23498         (_nss_nis_getgrgid_r): Likewise.
23499         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23500         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23501         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23502         (_nss_nis_gethostbyname4_r): Likewise.
23503         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23504         (initgroups_netid): Likewise.
23505         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23506         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23507         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23508         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23509         (_nss_nis_getprotobynumber_r): Likewise.
23510         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23511         (_nss_nis_getsecretkey): Likewise.
23512         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23513         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23514         (_nss_nis_getpwuid_r): Likewise.
23515         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23516         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23517         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23518         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23519         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23520         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23521         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23522         Likewise.
23523         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23524         (_nss_nisplus_getntohost_r): Likewise.
23525         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23526         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23527         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23528         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23529         Likewise.
23530         * nis/nss_nisplus/nisplus-initgroups.c
23531         (_nss_nisplus_initgroups_dyn): Likewise.
23532         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23533         (_nss_nisplus_getnetbyaddr_r): Likewise.
23534         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23535         (_nss_nisplus_getprotobynumber_r): Likewise.
23536         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23537         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23538         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23539         Likewise.
23540         * nis/nss_nisplus/nisplus-service.c
23541         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23542         (_nss_nisplus_getservbyport_r): Likewise.
23543         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23544         (_nss_nisplus_getspnam_r): Likewise.
23545         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23546         Likewise.
23547         * nscd/aicache.c (addhstaiX): Likewise.
23548         * nscd/cache.c (cache_search, prune_cache): Likewise.
23549         * nscd/connections.c (register_traced_file, send_ro_fd)
23550         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23551         (main_loop_epoll): Likewise.
23552         * nscd/grpcache.c (addgrbyX): Likewise.
23553         * nscd/hstcache.c (addhstbyX): Likewise.
23554         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23555         * nscd/mem.c (gc, mempool_alloc): Likewise.
23556         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23557         (addinnetgrX): Likewise.
23558         * nscd/nscd-client.h (__nscd_acquire_maplock)
23559         (__nscd_drop_map_ref): Likewise.
23560         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23561         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23562         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23563         Likewise.
23564         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23565         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23566         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23567         (__nscd_get_map_ref): Likewise.
23568         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23569         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23570         Likewise.
23571         * nscd/pwdcache.c (addpwbyX): Likewise.
23572         * nscd/selinux.c (preserve_capabilities): Likewise.
23573         * nscd/servicescache.c (addservbyX): Likewise.
23574         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23575         * posix/fnmatch.c (fnmatch): Likewise.
23576         * posix/getopt.c (_getopt_internal_r): Likewise.
23577         * posix/glob.c (glob, glob_in_dir): Likewise.
23578         * posix/wordexp.c (exec_comm_child): Likewise.
23579         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23580         (getanswer_r, gaih_getanswer_slice): Likewise.
23581         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23582         * resolv/res_init.c: Likewise.
23583         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23584         * resolv/res_query.c (__libc_res_nquery): Likewise.
23585         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23586         Likewise.
23587         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23588         * stdio-common/perror.c (perror): Likewise.
23589         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23590         * stdio-common/tmpnam.c (tmpnam): Likewise.
23591         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23592         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23593         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23594         Likewise.
23595         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23596         * stdlib/putenv.c (putenv): Likewise.
23597         * stdlib/setenv.c (__add_to_environ): Likewise.
23598         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23599         * stdlib/strtol_l.c (INTERNAL): Likewise.
23600         * string/memmem.c (memmem): Likewise.
23601         * string/strerror.c (strerror): Likewise.
23602         * string/strnlen.c (__strnlen): Likewise.
23603         * string/test-memmem.c (simple_memmem): Likewise.
23604         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23605         * sunrpc/pm_getport.c (__get_socket): Likewise.
23606         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23607         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23608         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23609         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23610         Likewise.
23611         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23612         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23613         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23614         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23615         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23616         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23617         Likewise.
23618         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23619         Likewise.
23620         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23621         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23622         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23623         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23624         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23626         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23627         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23628         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23629         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23630         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23631         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23632         Likewise.
23633         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23634         Likewise.
23635         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23636         Likewise.
23637         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23638         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23639         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23640         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23641         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23642         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23643         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23644         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23645         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23646         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23647         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23648         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23649         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23650         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23651         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23652         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23653         Likewise.
23654         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23655         Likewise.
23656         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23657         Likewise.
23658         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23659         Likewise.
23660         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23661         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23662         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23663         Likewise.
23664         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23665         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23666         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23667         * sysdeps/posix/sleep.c: Likewise.
23668         * sysdeps/posix/tempname.c: Likewise.
23669         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23670         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23671         Likewise.
23672         * sysdeps/powerpc/powerpc32/dl-machine.h
23673         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23674         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23676         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23677         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23678         Likewise.
23679         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23680         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23681         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23682         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23683         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23684         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23685         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23686         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23687         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23688         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23689         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23690         (elf_machine_lazy_rel): Likewise.
23691         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23692         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23693         (elf_machine_lazy_rel): Likewise.
23694         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23695         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23696         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23697         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23698         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23699         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23700         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23701         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23702         Likewise.
23703         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23704         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23705         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23706         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23707         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23708         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23709         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23710         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23711         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23712         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23713         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23714         Likewise.
23715         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23716         (__posix_fallocate64_l64): Likewise.
23717         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23718         (posix_fallocate): Likewise.
23719         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23720         Likewise.
23721         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23722         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23723         (getifaddrs_internal): Likewise.
23724         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23725         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23726         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23727         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23728         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23729         (__posix_fallocate64_l64): Likewise.
23730         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23731         Likewise.
23732         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23733         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23734         (__get_clockfreq): Likewise.
23735         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23736         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23737         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23738         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23739         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23740         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23741         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23742         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23743         Likewise.
23744         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23745         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23746         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23747         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23748         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23749         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23750         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23751         Likewise.
23752         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23753         (posix_fallocate): Likewise.
23754         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23755         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23756         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23757         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23758         (elf_machine_rela, elf_machine_rela_relative)
23759         (elf_machine_lazy_rel): Likewise.
23760         * time/asctime.c (asctime_internal): Likewise.
23761         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23762         * time/tzset.c (__tzset_parse_tz): Likewise.
23763         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23764         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23765         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23766         * wcsmbs/wcsmbsload.h: Likewise.
23768         [BZ #15894]
23769         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23771         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23772         (arena_get2): Remove THREAD_STATS conditionals.
23773         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23774         (__malloc_stats, int): Likewise.
23776 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23778         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23779         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23781         * manual/setjmp.texi: Fix typos/grammar errors.
23783         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23784         Only return early when n is <= 0.  Delete unused return statement.
23786         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23787         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23788         * debug/tst-longjmp_chk3.c: New file.
23790         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23791         (test_main): Replace code with set_fortify_handler call.
23792         * debug/test-strcpy_chk.c: Likewise.
23793         * debug/tst-chk1.c: Likewise.
23794         * debug/tst-longjmp_chk.c: Likewise.
23795         * test-skeleton.c: Include fcntl.h & paths.h
23796         (set_fortify_handler): Define.
23798         * debug/tst-longjmp_chk.c: Add header comment and include
23799         ../test-skeleton.c.
23800         (do_test): Mark static.
23801         (TEST_FUNCTION): Define.
23803         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23804         (IP_PMTUDISC_INTERFACE): Likewise.
23805         (IP_MULTICAST_IF): Likewise.
23806         (IP_MULTICAST_TTL): Likewise.
23807         (IP_MULTICAST_LOOP): Likewise.
23808         (IP_ADD_MEMBERSHIP): Likewise.
23809         (IP_DROP_MEMBERSHIP): Likewise.
23810         (IP_UNBLOCK_SOURCE): Likewise.
23811         (IP_BLOCK_SOURCE): Likewise.
23812         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23813         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23814         (IP_MSFILTER): Likewise.
23815         (MCAST_JOIN_GROUP): Likewise.
23816         (MCAST_BLOCK_SOURCE): Likewise.
23817         (MCAST_UNBLOCK_SOURCE): Likewise.
23818         (MCAST_LEAVE_GROUP): Likewise.
23819         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23820         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23821         (MCAST_MSFILTER): Likewise.
23822         (IP_MULTICAST_ALL): Likewise.
23823         (IP_UNICAST_IF): Likewise.
23825         * timezone/Makefile: Delete $(have-ksh) check.
23826         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23827         * timezone/tzselect.ksh: Add +x mode bits.
23829         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23830         (ANON_INODE_FS_MAGIC): Likewise.
23831         (BDEVFS_MAGIC): Likewise.
23832         (BINFMTFS_MAGIC): Likewise.
23833         (BTRFS_TEST_MAGIC): Likewise.
23834         (CRAMFS_MAGIC_WEND): Likewise.
23835         (DEBUGFS_MAGIC): Likewise.
23836         (ECRYPTFS_SUPER_MAGIC): Likewise.
23837         (EXT3_SUPER_MAGIC): Likewise.
23838         (EXT4_SUPER_MAGIC): Likewise.
23839         (FUTEXFS_SUPER_MAGIC): Likewise.
23840         (HOSTFS_SUPER_MAGIC): Likewise.
23841         (HUGETLBFS_MAGIC): Likewise.
23842         (MINIX3_SUPER_MAGIC): Likewise.
23843         (MTD_INODE_FS_MAGIC): Likewise.
23844         (NILFS_SUPER_MAGIC): Likewise.
23845         (OPENPROM_SUPER_MAGIC): Likewise.
23846         (PIPEFS_MAGIC): Likewise.
23847         (PSTOREFS_MAGIC): Likewise.
23848         (QNX6_SUPER_MAGIC): Likewise.
23849         (RAMFS_MAGIC): Likewise.
23850         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23851         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23852         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23853         (SECURITYFS_MAGIC): Likewise.
23854         (SELINUX_MAGIC): Likewise.
23855         (SMACK_MAGIC): Likewise.
23856         (SOCKFS_MAGIC): Likewise.
23857         (SQUASHFS_MAGIC): Likewise.
23858         (STACK_END_MAGIC): Likewise.
23859         (TMPFS_MAGIC): Likewise.
23860         (USBDEVICE_SUPER_MAGIC): Likewise.
23861         (V9FS_MAGIC): Likewise.
23862         (XENFS_SUPER_MAGIC): Likewise.
23863         (CRAMFS_MAGIC): Fix typo in comment.
23864         (EXT2_SUPER_MAGIC): Update comment.
23865         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23867 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23869         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23870         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23871         * sysdeps/unix/sysv/linux/arm: Move directory from
23872         ports/sysdeps/unix/sysv/linux/arm.
23873         * README: Update listing for arm-*-linux-gnueabi.
23875         * README: Remove mention of am33.
23877 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23879         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23880         than the comma operator, to avoid "rhs of comma has no effect"
23881         compiler warnings.
23882         (__sigfillset, __sigandset, __sigorset): Likewise.
23883         * include/signal.h (__sigemptyset): Likewise.
23884         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23886 2014-02-07  Allan McRae  <allan@archlinux.org>
23888         * version.h (RELEASE): Set to "development".
23889         (VERSION): Set to "2.19.90"
23890         * NEWS: Add 2.20 section.
23892 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23894         [BZ #16529]
23895         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23897 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23899         * manual/contrib.texi: Update entry for Carlos O'Donell,
23900         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23902 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23904         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23906         * sysdeps/unix/sysv/linux/kernel-features.h
23907         [__LINUX_KERNEL_VERSION >= 0x020621]
23908         (__ASSUME_PROC_PID_TASK_COMM): Define.
23910 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23912         [BZ #16398]
23913         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23914         conversion when destination buffer does not have enough space.
23915         * libio/tst-ftell-partial-wide.c: New test case.
23916         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23918         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23919         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23920         Leonard and Allan McRae.
23922 2014-02-04  David S. Miller  <davem@davemloft.net>
23924         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23925         32-bit.
23927 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23930         New file
23931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23932         New file
23933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23934         New file.
23935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23936         New file.
23937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23938         New file.
23939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23940         New file.
23941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23942         New file.
23943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23944         New file.
23945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23946         New file.
23947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23948         New file.
23949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23950         New file.
23951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23952         New file.
23953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23954         New file.
23956 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23958         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23959         * shlib-versions: Likewise.
23961 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23962             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23964         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23965         (abilist-pattern): New variable, set to %-le.abilist.
23967         * Makerules (abilist-pattern): New variable.
23968         (vpath): Use $(abilist-pattern) in place of %.abilist.
23969         (check-abi-% pattern rule): Likewise.
23970         (check-abi, update-abi): Likewise.
23972 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23974         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23976 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23978         * manual/startup.texi: Add next, previous, and top entries for
23979         the `Program Arguments' and `Environment Variables' nodes.
23981 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23983         * manual/macros.texi: Add comments before MTASC-safety macros.
23985         * manual/users.texi: Document MTASC-safety properties.
23987         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23988         (pthread_getspecific, pthread_setspecific): Format with
23989         @deftypefun, and add @safety note.
23990         * manual/signal.texi: Move comments that analyze the above
23991         functions to their home place.
23993 2014-02-03  Allan McRae  <allan@archlinux.org>
23995         * po/sl.po: Update Slovenian translation from translation project.
23997 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23999         * manual/time.texi (timegm): Add missing blank after @c.
24000         Reported by Joseph Myers <joseph@codesourcery.com>.
24002 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
24004         * manual/check-safety.sh: New.
24005         * manual/Makefile ($(objpfx)stamp-summary): Run it.
24007         * manual/terminal.texi: Document MTASC-safety properties.
24009         * manual/filesys.texi: Document MTASC-safety properties.
24011         * manual/errno.texi: Document MTASC-safety properties.
24013         * manual/intro.texi: Document safety identifiers and
24014         conditionals.
24016         * manual/string.texi (wcstok): Fix prototype.
24017         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24019         * manual/time.texi: Document MTASC-safety properties.
24021         * manual/string.texi: Document MTASC-safety properties.
24023         * manual/threads.texi: Document MTASC-safety properties.
24025         * manual/stdio.texi: Document MTASC-safety properties.
24027         * manual/syslog.texi: Document MTASC-safety properties.
24029         * manual/sysinfo.texi: Document MTASC-safety properties.
24031         * manual/startup.texi: Document MTASC-safety properties.
24033         * manual/socket.texi: Document MTASC-safety properties.
24035         * manual/signal.texi: Document MTASC-safety properties.
24037 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
24039         * manual/setjmp.texi: Document MTASC-safety properties.
24041         * manual/search.texi: Document MTASC-safety properties.
24043         * manual/resource.texi: Document MTASC-safety properties.
24045         * manual/process.texi: Document MTASC-safety properties.
24047         * manual/platform.texi: Document MTASC-safety properties.
24049         * manual/pipe.texi: Document MTASC-safety properties.
24051         * manual/pattern.texi: Document MTASC-safety properties.
24053         * manual/message.texi: Document MTASC-safety properties.
24055         [BZ #12751]
24056         * manual/memory.texi: Document MTASC-safety properties.
24058         * manual/math.texi: Document MTASC-safety properties.
24060         * manual/locale.texi: Document MTASC-safety properties.
24062         * manual/llio.texi: Document MTASC-safety properties.
24064         * manual/libdl.texi: New.
24066         * manual/lang.texi: Document MTASC-safety properties.
24068         * manual/job.texi: Document MTASC-safety properties.
24070         * manual/getopt.texi: Document MTASC-safety properties.
24072         * manual/ctype.texi: Document MTASC-safety properties.
24074 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
24076         [BZ #16046]
24077         * csu/libc-tls.c (static_map): Remove variable.
24078         (__libc_setup_tls): Use main executable's link map for TLS data.
24079         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24080         casing for LM_ID_BASE and GL(dl_nns).
24081         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24082         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
24083         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24084         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24085         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24086         member.
24087         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24088         l_phnum members.
24090 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
24092         * manual/debug.texi: Document MTASC-safety properties.
24094 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
24096         [BZ #16510]
24097         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24098         of __x86_64__ when disabling x87 inline functions.
24100 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
24102         * manual/charset.texi: Document MTASC-safety properties.
24104         * manual/crypt.texi: Document MTASC-safety properties.
24106         * manual/conf.texi: Document MTASC-safety properties.
24108         * manual/arith.texi: Document MTASC-safety properties.
24110         * manual/argp.texi: Document MTASC-safety properties.
24112         * manual/macros.texi: Introduce macros to document multi
24113         thread, asynchronous signal and asynchronous cancellation
24114         safety properties.
24115         * manual/intro.texi: Introduce the properties themselves.
24117 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24119         * sysdeps/sh/sh4/Makefile: New file.
24121 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
24123         * math/gen-libm-test.pl ($srcdir): New variable.
24124         ($auto_input): Use it.
24126 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24128         [BZ #16506]
24129         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24130         access beyond array bounds when parsing netgroups file.
24132         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24133         the old buffer before realloc.
24135 2014-01-27  Allan McRae  <allan@archlinux.org>
24137         * po/fr.po: Update French translation from translation project.
24139 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24141         * sysdeps/sh/libm-test-ulps: Regenerate.
24143 2014-01-24  David S. Miller  <davem@davemloft.net>
24145         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24147 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24149         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24150         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24152 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24154         [BZ #16474]
24155         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24156         string pointers after reallocation.
24158 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24160         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24161         __SH4A__ instead of __SH_FPU_ANY__.
24163 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24165         * sysdeps/sh/fpu_control.h: New file.
24166         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24167         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24168         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24169         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24170         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24171         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24172         * sysdeps/sh/sys/ucontext.h: Remove.
24173         * sysdeps/sh/sys: Remove directory.
24175 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24177         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24178         s390/sys/ucontext.h.
24179         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24180         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24182 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
24184         [BZ #15605]
24185         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24187 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24189         [BZ#16431]
24190         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24191         Adjust the vDSO correctly for internal calls.
24192         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24194 2014-01-20  Allan McRae  <allan@archlinux.org>
24196         * po/ca.po: Update Catalan translation from translation project.
24198 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
24200         * sysdeps/s390/sotruss-lib.c: New file.
24202 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24204         [BZ#16430]
24205         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24206         (__GI___gettimeofday): Alias for a different internal symbol to avoid
24207         local calls issues by not having a PLT stub required for IFUNC calls.
24208         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24210 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
24212         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24213         * math/test-fpucw-static.c: Likewise.
24215 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24217         [BZ #16453]
24218         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24220 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24222         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24223         implementation for powerpc.
24225 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
24227         [BZ #14782]
24228         * sysdeps/posix/system.c (__libc_system): Do not enable
24229         asynchronous cancellation.
24231 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24233         [BZ #16427]
24234         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24235         handling only for numbers special also in the IEEE case.
24237 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24239         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24241 2014-01-11  Allan McRae  <allan@archlinux.org>
24243         * po/bg.po: Update Bulgarian translation from translation project.
24245         * po/de.po: Update German translation from translation project.
24247 2014-01-10  Roland McGrath  <roland@hack.frob.com>
24249         * sysdeps/generic/gcc-compat.h: New file.
24251 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24253         * benchtests/asin-inputs: Correct slow inputs.
24254         * benchtests/acos-inputs: Likewise.
24256 2014-01-10  Allan McRae  <allan@archlinux.org>
24258         * po:sv.po: Update Swedish translation from translation project.
24260         * po/vi.po: Update Vietnamese translation from translation project.
24262         * po/eo.po: Update Esperanto translation from translation project.
24264         * po/cs.po: Update Czech translation from translation project.
24266         * po/nl.po: Update Dutch translation from translation project.
24268         * po/pl.po: Update Polish translation from translation project.
24270         * po/ru.po: Update Russian translation from translation project.
24272         * po/uk.po: Update Ukrainian translation from translation project.
24274 2014-01-08  Brooks Moses  <bmoses@google.com>
24276         * elf/dl-load.c: Fix comment typo.
24278 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
24280         * po/header.pot: Rename to...
24281         * po/pot.header: ... this.
24282         * po/Makefile: Use pot.header.
24284 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
24285             Maxim Kuvyrkov  <maxim@kugelworks.com>
24287         [BZ #16394]
24288         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24289         SRC and DEST against LEN.
24291 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24293         [BZ #16414]
24294         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24295         implementation.
24296         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24298 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24302 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
24304         [BZ #16408]
24305         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24306         for large positive arguments.
24308 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
24310         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24312         * math/auto-libm-test-in: Mark various tests with
24313         xfail-rounding:ldbl-128ibm.
24314         * math/auto-libm-test-out: Regenerated.
24316         [BZ #16407]
24317         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24318         Increase overflow threshold.
24320 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
24322         [BZ #14286]
24323         * stdio-common/vfprintf.c: Check for integer overflow.
24325 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24327         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24328         the first argument and return value of __tls_get_addr_internal.
24330 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24332         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24333         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24335 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24337         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24338         * sysdeps/s390/rtld-global-offsets.sym: New file.
24339         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24340         GLIBC_2.19 symbol.
24341         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24342         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24343         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24344         ... this.
24345         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24346         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24347         ... this.
24348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24349         Regenerate.
24350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24351         Regenerate.
24352         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24353         halfs of GPRs for high_gprs contexts.
24354         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24355         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
24356         field.
24357         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24358         uc_flags field.
24359         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24360         64 bit versions:
24361         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24362         for high GPRs (uc_high_gprs) and for future extensions
24363         (__reserved).
24364         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24365         for future extensions (__reserved).
24366         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24367         64 bit versions:
24368         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24369         SC_HIGHGPRS offset definition.
24370         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24371         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24373         * Versions.def: Add GLIBC_2.19 for libpthread.
24374         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24375         siglongjmp for libpthread with GLIBC_2.19 symver.
24376         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24377         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24378         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24379         * sysdeps/s390/__longjmp.c: New file.
24380         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24381         * sysdeps/s390/longjmp.c: New file.
24382         * sysdeps/s390/setjmp.S: New file.
24383         * sysdeps/s390/sigjmp.S: New file.
24384         * sysdeps/s390/v1-longjmp.c: New file.
24385         * sysdeps/s390/v1-setjmp.h: New file.
24386         * sysdeps/s390/v1-sigjmp.c: New file.
24387         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24388         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24389         GLIBC_2.19 version.
24390         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24391         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24392         versioned symbols for ____longjmp_chk.
24393         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24394         Likewise.
24395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24396         Regenerate.
24397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24398         Regenerate.
24399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24400         Regenerate.
24401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24402         Regenerate.
24403         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24404         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24405         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24406         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24407         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24408         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24409         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24410         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24411         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24412         * sysdeps/s390/rtld-__longjmp.c: New file.
24413         * sysdeps/s390/rtld-setjmp.S: New file.
24415 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
24417         [BZ #16400]
24418         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24419         Return -__logl (x) for small positive arguments without evaluating
24420         a polynomial.
24422 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
24424         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24425         Rename to ...
24426         (__ptrace_peeksiginfo_args): ... this.
24427         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24428         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24429         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24431 2014-01-06  Allan McRae  <allan@archlinux.org>
24433         * inet/netinet/in.h: Fix typo in comment.
24435 2014-01-05  Andreas Jaeger  <aj@suse.de>
24437         * sysdeps/i386/fpu/libm-test-ulps: Update.
24439 2014-01-05  Allan McRae  <allan@archlinux.org>
24441         * po/libc.pot: Regenerated.
24443         * malloc/memusagestat.c: Fix gettext call formatting.
24445 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
24447         * nscd/nscd.c: Improve usage() output.
24449 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
24451         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24452         * sysdeps/unix/sysv/linux/configure: Regenerated.
24453         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24454         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24456 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24458         [BZ #16390]
24459         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24460         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24462 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24464         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24465         extra tokens at end of #undef directive.
24466         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24467         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24468         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24470 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
24472         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24474         * math/auto-libm-test-in: Mark various tests with
24475         xfail-rounding:ldbl-128ibm.
24476         * math/auto-libm-test-out: Regenerated.
24478 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
24480         [BZ #16386]
24481         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24482         numbers with subnormal high part when calculating exponent.
24484         [BZ #16385]
24485         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24486         fabs.
24488         [BZ #16384]
24489         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24490         M_LN2l.
24491         (__ieee754_acoshl): Use __log1pl not __log1p.
24493 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24495         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24496         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24497         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24498         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24499         (reused_arena, arena_get2): Convert to GNU style.
24500         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24501         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24502         (memalign_check, __malloc_set_state): Likewise.
24503         * malloc/mallocbug.c (main): Likewise.
24504         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24505         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24506         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24507         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24508         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24509         (__posix_memalign, malloc_info): Likewise.
24510         * malloc/malloc.h: Likewise.
24511         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24512         (mallochook, memalignhook, reallochook, mabort): Likewise.
24513         * malloc/mcheck.h: Likewise.
24514         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24515         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24516         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24517         * malloc/morecore.c (__default_morecore): Likewise.
24518         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24519         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24520         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24521         (print_and_abort): Likewise.
24522         * malloc/obstack.h: Likewise.
24523         * malloc/set-freeres.c (__libc_freeres): Likewise.
24524         * malloc/tst-mallocstate.c (main): Likewise.
24525         * malloc/tst-mtrace.c (main): Likewise.
24526         * malloc/tst-realloc.c (do_test): Likewise.
24528 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24530         [BZ #16366]
24531         * nscd/netgroupcache.c (do_notfound): New function.
24532         (addgetnetgrentX): Use it.
24534         [BZ # 16365]
24535         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24536         NSS_STATUS_NOTFOUND.
24538 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24540         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24543 2014-01-01  Allan McRae  <allan@archlinux.org>
24545         * scripts/update-copyrights: Update configure input file suffix.
24547         * NEWS: Update copyright year.
24548         * catgets/gencat.c: Likewise.
24549         * csu/version.c: Likewise.
24550         * debug/catchsegv.sh: Likewise.
24551         * debug/pcprofiledump.c: Likewise.
24552         * debug/xtrace.sh: Likewise.
24553         * elf/ldconfig.c: Likewise.
24554         * elf/ldd.bash.in: Likewise.
24555         * elf/pldd.c: Likewise.
24556         * elf/sotruss.ksh: Likewise.
24557         * elf/sprof.c: Likewise.
24558         * iconv/iconv_prog.c: Likewise.
24559         * iconv/iconvconfig.c: Likewise.
24560         * locale/programs/locale.c: Likewise.
24561         * locale/programs/localedef.c: Likewise.
24562         * login/programs/pt_chown.c: Likewise.
24563         * malloc/memusage.sh: Likewise.
24564         * malloc/memusagestat.c: Likewise.
24565         * malloc/mtrace.pl: Likewise.
24566         * manual/libc.texinfo: Likewise.
24567         * nscd/nscd.c: Likewise.
24568         * nss/getent.c: Likewise.
24569         * nss/makedb.c: Likewise.
24570         * posix/getconf.c: Likewise.
24571         * scripts/test-installation.pl: Likewise.
24573         * All files with FSF copyright notices: Update copyright dates
24574         using scripts/update-copyrights.
24575         * intl/plural.c: Regenerated.
24576         * locale/programs/charmap-kw.h: Likewise.
24577         * locale/programs/locfile-kw.h: Likewise.
24579 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24581         * sysdeps/unix/sysv/linux/configure: Regenerated.
24582         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24583         the linux/fanotify.h header.
24584         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24585         HAVE_LINUX_FANOTIFY_H is defined.
24587 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24589         * benchtests/cos-inputs: New inputs.
24590         * benchtests/sin-inputs: Likewise.
24592         * benchtests/atan-inputs: New inputs. Fix name of multiple
24593         precision fallback inputs.
24595         * benchtests/atanh-inputs: New inputs.
24596         * benchtests/tanh-inputs: Likewise.
24598         * benchtests/acosh-inputs: New inputs.
24599         * benchtests/asinh-inputs: Likewise.
24601         * benchtests/cosh-inputs: New inputs.
24602         * benchtests/sinh-inputs: Likewise.
24604         * benchtests/acos-inputs: Add more inputs.
24605         * benchtests/asin-inputs: Likewise.
24607 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24609         [BZ #16375]
24610         * manual/arith.texi: Fix spelling.
24611         * manual/charset.texi: Likewise.
24612         * manual/errno.texi: Likewise.
24613         * manual/filesys.texi: Likewise.
24614         * manual/lang.texi: Likewise.
24615         * manual/llio.texi: Likewise.
24616         * manual/locale.texi: Likewise.
24617         * manual/message.texi: Likewise.
24618         * manual/resource.texi: Likewise.
24619         * manual/search.texi: Likewise.
24620         * manual/setjmp.texi: Likewise.
24621         * manual/stdio.texi: Likewise.
24622         * manual/string.texi: Likewise.
24623         * manual/sysinfo.texi: Likewise.
24624         * manual/time.texi: Likewise.
24626 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24628         * po/sl.po: New file.
24630 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24632         * .gitignore: Add core/.gdbinit/.gdb_history.
24634 2013-12-27  Allan McRae  <allan@archlinux.org>
24636         [BZ #16369]
24637         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24638         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24640 2013-12-24  Brooks Moses  <bmoses@google.com>
24642         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24643         all compilers that claim C++98 compliance, not just GCC.
24644         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24645         Likewise.
24647 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24649         * NEWS: Restore accidentally deleted bug-fix entries.
24651 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24652             Ondřej Bílka  <neleai@seznam.cz>
24654         [BZ #15073]
24655         * malloc/malloc.c (_int_free): Perform sanity check only if we
24656         have_lock.
24658 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24660         [BZ #12986]
24661         * manual/stdio.texi (String Input Conversions): Clarify that character
24662         classes are not supported.
24664 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24668 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24670         [BZ #16337]
24671         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24672         Calculate results for small negative arguments directly rather
24673         than using reflection formula with special underflow handling.
24675         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24676         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24677         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24678         (fchflags): Likewise.
24679         (revoke): Likewise.
24680         (setlogin): Likewise.
24681         (sigaltstack): Likewise.
24682         (wait4): Likewise.
24683         (sigblock): Remove.
24684         (sigsetmask): Likewise.
24685         (wait3): Likewise.
24686         (waitpid): Likewise.
24687         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24688         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24689         file.
24690         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24691         * sysdeps/unix/bsd/Makefile: ... here.
24692         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24693         * sysdeps/unix/bsd/Versions: ... here.
24694         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24695         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24696         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24697         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24698         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24699         * sysdeps/unix/bsd/sigblock.c: ... here.
24700         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24701         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24702         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24703         * sysdeps/unix/bsd/sigvec.c: ... here.
24704         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24705         * sysdeps/unix/bsd/tcdrain.c: ... here.
24706         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24707         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24708         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24709         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24710         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24711         * sysdeps/unix/bsd/wait.c: ... here.
24712         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24713         * sysdeps/unix/bsd/wait3.c: ... here.
24714         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24715         * sysdeps/unix/bsd/waitpid.c: ... here.
24717 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24719         [BZ #16356]
24720         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24721         round-to-nearest for [!USE_AS_EXPM1L].
24722         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24723         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24724         more tests of exp and exp10.  Expect some exp10 tests to miss
24725         exceptions or fail in directed rounding modes.
24726         * math/auto-libm-test-out: Regenerated.
24727         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24728         (exp10_test_tonearest): New function.
24729         (exp10_towardzero_test_data): New array.
24730         (exp10_test_towardzero): New function.
24731         (exp10_downward_test_data): New array.
24732         (exp10_test_downward): New function.
24733         (exp10_upward_test_data): New array.
24734         (exp10_test_upward): New function.
24735         (main): Call the new functions.
24736         * sysdeps/i386/fpu/libm-test-ulps: Update.
24737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24739 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24741         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24742         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24743         * math/auto-libm-test-out: Regenerated.
24744         * math/libm-test.inc (acosh_test_data): Add more tests.
24745         (atanh_test_data): Likewise.
24746         (ceil_test_data): Likewise.
24747         (copysign_test_data): Likewise.
24748         * sysdeps/i386/fpu/libm-test-ulps: Update.
24749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24751         * timezone/checktab.awk: Update from tzcode 2013i.
24752         * timezone/private.h: Likewise.
24753         * timezone/scheck.c: Likewise.
24754         * timezone/tzfile.h: Likewise.
24755         * timezone/tzselect.ksh: Likewise.
24756         * timezone/zdump.c: Likewise.
24757         * timezone/zic.c: Likewise.
24759         * math/auto-libm-test-in: Add tests of cpow.
24760         * math/auto-libm-test-out: Regenerated.
24761         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24762         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24763         mpc_cc_c.
24764         (func_calc_desc): Add mpc_cc_c union field.
24765         (test_functions): Add cpow.
24766         (special_fill_2pi): New function.
24767         (special_real_inputs): Add 2pi.
24768         (calc_generic_results): Handle mpc_cc_c.
24769         * sysdeps/i386/fpu/libm-test-ulps: Update.
24770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24772         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24773         csqrt, ctan and ctanh.
24774         * math/auto-libm-test-out: Regenerated.
24775         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24776         (TEST_COND_x86): Likewise.
24777         (ccos_test_data): Use AUTO_TESTS_c_c.
24778         (ccosh_test_data): Likewise.
24779         (cexp_test_data): Likewise.
24780         (clog_test_data): Likewise.
24781         (csqrt_test_data): Likewise.
24782         (ctan_test_data): Likewise.
24783         (ctan_tonearest_test_data): Likewise.
24784         (ctan_towardzero_test_data): Likewise.
24785         (ctan_downward_test_data): Likewise.
24786         (ctan_upward_test_data): Likewise.
24787         (ctanh_test_data): Likewise.
24788         (ctanh_tonearest_test_data): Likewise.
24789         (ctanh_towardzero_test_data): Likewise.
24790         (ctanh_downward_test_data): Likewise.
24791         (ctanh_upward_test_data): Likewise.
24792         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24793         mpc_c_c.
24794         (func_calc_desc): Add mpc_c_c union field.
24795         (FUNC_mpc_c_c): New macro.
24796         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24797         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24798         ctanh.
24799         (special_fill_min_subnorm_p120): New function.
24800         (special_real_inputs): Add min_subnorm_p120.
24801         (calc_generic_results): Handle mpc_c_c.
24802         * sysdeps/i386/fpu/libm-test-ulps: Update.
24803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24805 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24807         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24808         (do_sin_slow): New functions.
24809         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24810         (cslow2, csloww1, csloww2): Use the new functions.
24812         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24813         Use M to change sign of result instead of X.  Assume X is
24814         positive.
24815         (csloww1): Likewise.
24816         (__sin): Adjust.
24817         (__cos): Adjust.
24819         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24820         arguments A and DA.
24821         (__sin): Adjust.
24822         (__cos): Likewise.
24824         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24825         (__cos): Likewise.
24826         (sloww1): Don't adjust sign of DX.
24827         (csloww1): Likewise.
24828         (sloww2): Use X directly and don't adjust sign of DX.
24829         (csloww2): Likewise.
24831 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24833         * math/auto-libm-test-in: Add tests of cabs and carg.
24834         * math/auto-libm-test-out: Regenerated.
24835         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24836         (carg_test_data): Likewise.
24837         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24838         mpc_c_f.
24839         (func_calc_desc): Add mpc_c_f union field.
24840         (test_functions): Add cabs and carg.
24841         (calc_generic_results): Handle mpc_c_f.
24843         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24844         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24845         as a macro and a compat symbol.
24846         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24847         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24848         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24849         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24850         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24851         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24852         not use .hidden.
24853         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24854         Likewise.
24855         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24856         Likewise.
24857         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24858         Likewise.
24859         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24860         Likewise.
24861         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24862         Likewise.
24863         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24864         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24865         from GLIBC_2.3.2.
24867 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24871 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24873         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24874         trailing whitespace removed.
24875         * scripts/config.guess: Update to version 2013-11-29.
24876         * scripts/config.sub: Update to version 2013-10-01.
24878         * math/auto-libm-test-in: Add tests of sincos.
24879         * math/auto-libm-test-out: Regenerated.
24880         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24881         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24882         mpfr_f_11.
24883         (func_calc_desc): Add mpfr_f_11 union field.
24884         (test_functions): Add sincos.
24885         (calc_generic_results): Handle mpfr_f_11.
24886         * sysdeps/i386/fpu/libm-test-ulps: Update.
24887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24889 2013-12-19  Andreas Schwab  <schwab@suse.de>
24891         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24892         CALL_MCOUNT.
24893         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24894         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24895         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24897 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24899         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24900         * sysdeps/i386/fpu/libm-test-ulps: Update.
24901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24903         [BZ #16293]
24904         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24905         round-to-nearest mode when using frndint.
24906         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24907         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24908         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24909         Likewise.
24910         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24911         sinh test to fail.
24912         * math/auto-libm-test-out: Regenerated.
24913         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24914         (TEST_COND_x86): Likewise.
24915         (expm1_tonearest_test_data): New array.
24916         (expm1_test_tonearest): New function.
24917         (expm1_towardzero_test_data): New array.
24918         (expm1_test_towardzero): New function.
24919         (expm1_downward_test_data): New array.
24920         (expm1_test_downward): New function.
24921         (expm1_upward_test_data): New array.
24922         (expm1_test_upward): New function.
24923         (main): Run the new test functions.
24924         * sysdeps/i386/fpu/libm-test-ulps: Update.
24925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24927         * include/features.h: Update comment documenting feature test
24928         macros.  Mention _DEFAULT_SOURCE in comment.
24929         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24930         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24931         _BSD_SOURCE and _SVID_SOURCE.
24932         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24933         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24934         !_SVID_SOURCE]: Likewise.
24935         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24936         (__USE_POSIX_IMPLICITLY): Define.
24937         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24938         (_POSIX_SOURCE): Undefine and redefine.
24939         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24940         (_POSIX_C_SOURCE): Likewise.
24941         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24942         (Feature Test Macros): Update documentation of default features.
24944 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24946         * benchtests/Makefile: Add bench-strtok.
24947         * benchtests/bench-strtok.c: New file: strtok benchtest.
24949 2013-12-19  Allan McRae  <allan@archlinux.org>
24951         * manual/install.texi: Suppress menu for plain text output.
24952         * INSTALL: Regenerated.
24954 2013-12-18  Brooks Moses  <bmoses@google.com>
24956         [BZ #15846]
24957         * misc/getauxval.c: Include errno.h.
24958         (__getauxval): Set errno to ENOENT if the requested type is not
24959         found.
24960         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24961         don't declare with __attribute_const__.
24962         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24963         * manual/startup.texi: Document that getauxval sets errno.
24965 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24967         * math/auto-libm-test-in: Add tests of jn and yn.
24968         * math/auto-libm-test-out: Regenerated.
24969         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24970         (yn_test_data): Likewise.
24971         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24972         mpfr_if_f.
24973         (func_calc_desc): Add mpfr_if_f union field.
24974         (FUNC_mpfr_if_f): New macro.
24975         (test_functions): Add jn and yn.
24976         (calc_generic_results): Assert type of second input for
24977         mpfr_ff_f.  Handle mpfr_if_f.
24978         (output_for_one_input_case): Disable all checking for arguments
24979         fitting floating-point types in case of an integer argument.
24980         * sysdeps/i386/fpu/libm-test-ulps: Update.
24981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24984         Don't expect fegetround reference in libm.so.
24986 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24988         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24989         $(config-cflags-nofma).
24991 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24993         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24994         * math/auto-libm-test-out: Regenerated.
24996         [BZ #16338]
24997         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24998         to determine exponent and adjust argument to have exponent of -1.
24999         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25000         log2.
25001         * math/auto-libm-test-out: Regenerated.
25002         * sysdeps/i386/fpu/libm-test-ulps: Update.
25003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25005 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
25007         * manual/probes.texi: Remove cases when per-thread arenas are
25008         disabled.
25010 2013-12-18  Andreas Schwab  <schwab@suse.de>
25012         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25013         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25014         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25015         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25016         * sysdeps/i386/i686/multiarch/Makefile: Update.
25017         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25019 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25021         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25022         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25024 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
25026         [BZ #15968]
25027         Support TZ transition times < 00:00:00.
25028         This is needed for version-3 tz-format files; it supports time
25029         stamps past 2037 for America/Godthab (the only entry in the tz
25030         database for which this change is relevant).
25031         * manual/time.texi (TZ Variable): Document transition times
25032         from -167:59:59 through -00:00:01.
25033         * time/tzset.c (tz_rule): Time of day is now signed.
25034         (__tzset_parse_tz): Parse negative time of day.
25036         Document TZ transition times >= 25:00:00.
25037         * manual/time.texi (TZ Variable): Document transition times from
25038         25:00:00 through 167:59:59.  These are already supported, and this
25039         support will help with version-3 tz-format files.
25041         * manual/time.texi (TZ Variable): Modernize North America example
25042         to reflect current (i.e., 2007-and-later) daylight saving rules.
25044         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25046 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25048         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25049         * sysdeps/unix/bsd/bits/stat.h: Likewise.
25050         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25051         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25052         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25053         * sysdeps/unix/bsd/bsdstat.h: Likewise.
25054         * sysdeps/unix/bsd/clock.c: Likewise.
25055         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25056         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25057         * sysdeps/unix/bsd/init-posix.c: Likewise.
25058         * sysdeps/unix/bsd/poll.c: Likewise.
25059         * sysdeps/unix/bsd/ptsname.c: Likewise.
25060         * sysdeps/unix/bsd/seekdir.c: Likewise.
25061         * sysdeps/unix/bsd/setegid.c: Likewise.
25062         * sysdeps/unix/bsd/seteuid.c: Likewise.
25063         * sysdeps/unix/bsd/setgid.c: Likewise.
25064         * sysdeps/unix/bsd/setrgid.c: Likewise.
25065         * sysdeps/unix/bsd/setruid.c: Likewise.
25066         * sysdeps/unix/bsd/setsid.c: Likewise.
25067         * sysdeps/unix/bsd/setuid.c: Likewise.
25068         * sysdeps/unix/bsd/sigaction.c: Likewise.
25069         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25070         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25071         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25072         * sysdeps/unix/bsd/telldir.c: Likewise.
25073         * sysdeps/unix/bsd/times.c: Likewise.
25074         * sysdeps/unix/bsd/usleep.c: Likewise.
25076         * misc/Makefile (install-lib): Remove libbsd-compat.a.
25077         ($(objpfx)libbsd-compat.a): Remove rule.
25079         * include/features.h (__FAVOR_BSD): Do not define.
25080         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25081         features conflicting with POSIX.
25082         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25083         (_BSD_SOURCE): Remove description of not being a subset of other
25084         feature test macros.
25085         * manual/job.texi (getpgrp): Do not document BSD version.
25086         (getpgid): Do not document by reference to BSD getpgrp.
25087         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25088         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25089         * signal/signal.h [__FAVOR_BSD]: Likewise.
25090         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25091         instead of making contents conditional on [__FAVOR_BSD].
25092         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25094 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25098 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
25100         [BZ #16314]
25101         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25102         values below 2**-450, not 2**-500.
25103         * math/auto-libm-test-in: Don't allow spurious underflow from
25104         hypot.
25105         * math/auto-libm-test-out: Regenerated.
25107         [BZ #16316]
25108         [BZ #16330]
25109         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25110         values of ha and hb and sort them after adjusting subnormal
25111         arguments.
25112         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25113         Likewise.
25114         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25115         values of ea and eb and sort them after adjusting subnormal
25116         arguments.
25117         * math/auto-libm-test-in: Do not expect some hypot tests of
25118         subnormals to fail.  Add more hypot tests.
25119         * math/auto-libm-test-out: Regenerated.
25121 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25123         [BZ #13304]
25124         * sysdeps/sh/s_fma.c: New file.
25125         * sysdeps/sh/s_fmaf.c: New file.
25126         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
25127         version.
25128         * sysdeps/sh/Implies: Add sh/soft-fp.
25130 2013-12-16  Roland McGrath  <roland@hack.frob.com>
25132         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
25133         level of indirection to members `objname', `errstring', `malloced'.
25134         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25135         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
25136         it as the __longjmp argument (just pass 1 instead).
25137         (_dl_catch_error): Initialize C with argument pointers and address of
25138         volatile local ERRCODE rather than copying values out of C at return.
25140 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
25142         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25143         * math/auto-libm-test-out: Regenerated.
25144         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25145         (hypot_test_data): Likewise.
25146         (pow_test_data): Likewise.
25147         (pow_tonearest_test_data): Likewise.
25148         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25149         mpfr_ff_f.
25150         (func_calc_desc): Add mpfr_ff_f union field.
25151         (FUNC_mpfr_ff_f): New macro.
25152         (test_functions): Add atan2, hypot and pow.
25153         (special_fill_min): New function.
25154         (special_fill_minus_min): Likewise.
25155         (special_fill_min_subnorm): Likewise.
25156         (special_fill_minus_min_subnorm): Likewise.
25157         (special_real_inputs): Add min, -min, min_subnorm and
25158         -min_subnorm.
25159         (calc_generic_results): Handle mpfr_ff_f.
25160         * sysdeps/i386/fpu/libm-test-ulps: Update.
25161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25163 2013-12-16  Will Newton  <will.newton@linaro.org>
25165         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25166         (Aligned Memory Blocks): Add documentation for aligned_alloc
25167         and suggest it as an alternative to posix_memalign.
25168         (Hooks for Malloc): Document __memalign_hook is also called
25169         for aligned_alloc.  (Summary of Malloc): Add summary for
25170         aligned alloc.  Document __memalign_hook is also called
25171         for aligned_alloc.
25173 2013-12-16  Will Newton  <will.newton@linaro.org>
25175         * manual/memory.texi (Malloc Examples): Clarify default
25176         alignment documentation.  Suggest posix_memalign rather
25177         than memalign or valloc.
25178         (Aligned Memory Blocks): Remove suggestion to use memalign
25179         or valloc.  Remove obsolete comment about BSD.
25180         Document memalign errno values and mark the function obsolete.
25181         Document posix_memalign returned error codes.  Mark valloc
25182         as obsolete.  (Hooks for Malloc): __memalign_hook is also
25183         called for posix_memalign and valloc.
25184         (Summary of Malloc): Add posix_memalign to function summary.
25185         __memalign_hook is also called for posix_memalign and valloc.
25187 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25189         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25190         TAYLOR_SIN.
25191         (__sin): Adjust.
25192         (__cos): Likewise.
25193         (sloww): Use mynumber union.  Expand ternary operator into
25194         if-else statements.
25195         (cslow): use mynumber union.
25197 2013-12-16  Allan McRae  <allan@archlinux.org>
25199         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25200         * configure: Regenerated.
25202         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25204         [BZ #14120]
25205         * configure.ac: Added --enable-maintainer-mode. Check for
25206         autoconf when enabled.
25207         * configure: Regenerated.
25209         * nscd/nscd.service: New file.
25210         * nscd/nscd.tmpfiles: New file.
25212 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
25214         [BZ #12100]
25215         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25216         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25217         * sysdeps/x86_64/multiarch/strstr.c: ... here.
25218         (strstr): Add __strstr_sse2_unaligned ifunc.
25219         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25220         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25221         (strcasestr): Remove __strcasestr_sse42 ifunc.
25222         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25224         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25226 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25228         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25229         * sysdeps/sh/bits/fenv.h: ... here.
25230         * sysdeps/sh/sh4/fpu/bits: Remove directory.
25232 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25234         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25237         hypotf multiarch implementations.
25238         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25239         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25240         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25241         multiarch hypot for PPC64.
25242         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25243         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25244         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25245         multiarch hypotf for PPC64.
25247         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25248         modff multiarch implementations.
25249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25252         multiarch modf for PPC64.
25253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25256         multiarch modff for PPC64.
25258         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25259         and logl multiarch implementations.
25260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25263         multiarch logb for PPC64.
25264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25267         multiarch logb for PPC64.
25268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25271         multiarch logb for PPC64.
25273         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25274         isinff multiarch implementation.
25275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25276         file.
25277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25279         multiarch isinf for PPC64.
25280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25281         file.
25282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25283         multiarch isinff for PPC64.
25285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25286         finitef multiarch implementation.
25287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25288         file.
25289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25291         multiarch finite for PPC64.
25292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25293         file.
25294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25295         multiarch finitef for PPC64.
25297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25298         lrint multiarch implementation.
25299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25300         file.
25301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25303         multiarch llrint for PPC64.
25304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25305         multiarch lrint for PPC64.
25307         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25308         copysignf multiarch implementation.
25309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25310         file.
25311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25312         file.
25313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25314         multiarch copysign for PPC64.
25315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25316         multiarch copysignf for PPC64.
25318         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25319         multiarch implementation.
25320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25321         file.
25322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25323         file.
25324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25325         file.
25326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25327         file.
25328         multiarch llround for PPC64.
25329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25330         multiarch trunc for PPC64.
25331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25332         multiarch truncf for PPC64.
25334         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25335         multiarch implementation.
25336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25337         file.
25338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25339         file.
25340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25341         file.
25342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25343         file.
25344         multiarch llround for PPC64.
25345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25346         multiarch round for PPC64.
25347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25348         multiarch roundf for PPC64.
25350         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25351         multiarch implementation.
25352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25353         file.
25354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25355         file.
25356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25357         file.
25358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25359         file.
25360         multiarch llround for PPC64.
25361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25362         multiarch floor for PPC64.
25363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25364         multiarch floorf for PPC64.
25366         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25367         multiarch implementation.
25368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25369         file.
25370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25371         file.
25372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25373         file.
25374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25375         file.
25376         multiarch llround for PPC64.
25377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25378         multiarch ceil for PPC64.
25379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25380         multiarch ceilf for PPC64.
25382         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25383         multiarch implementation.
25384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25385         file.
25386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25387         file.
25388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25389         file.
25390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25391         multiarch llround for PPC64.
25392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25393         multiarch lround for PPC64.
25395         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25396         multiarch implementation.
25397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25400         file.
25401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25404         multiarch isnan for PPC64.
25405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25406         multiarch isnanf for PPC64.
25408         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25409         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25410         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25411         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25412         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25415         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25416         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25417         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25418         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25421         multiarch implementations.
25422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25423         (__libc_ifunc_impl_list): Likewise.
25424         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25425         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25426         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25427         multiarch stpcpy for PPC64.
25429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25430         multiarch implementations.
25431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25432         (__libc_ifunc_impl_list): Likewise.
25433         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25434         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25435         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25436         multiarch strcpy for PPC64.
25438         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25439         redefine function name.
25440         (_wordcopy_fwd_dest_aligned): Likewise.
25441         (_wordcopy_bwd_aligned): Likewise.
25442         (_wordcopy_bwd_dest_aligned): Likewise.
25443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25444         multiarch implementations.
25445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25446         (__libc_ifunc_impl_list): Likewise.
25447         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25448         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25449         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25450         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25451         multiarch wcscpy for PPC64.
25453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25454         multiarch implementations.
25455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25456         (__libc_ifunc_impl_list): Likewise.
25457         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25458         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25459         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25460         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25461         multiarch wcscpy for PPC64.
25463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25464         multiarch implementations.
25465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25466         (__libc_ifunc_impl_list): Likewise.
25467         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25468         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25469         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25470         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25471         multiarch wcsrchr for PPC64.
25473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25474         multiarch implementations.
25475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25476         (__libc_ifunc_impl_list): Likewise.
25477         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25478         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25479         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25480         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25481         multiarch wcschr for PPC64.
25483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25484         multiarch implementations.
25485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25486         (__libc_ifunc_impl_list): Likewise.
25487         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25488         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25489         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25490         multiarch strchrnul for PPC64.
25492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25493         implementations.
25494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25495         (__libc_ifunc_impl_list): Likewise.
25496         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25497         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25498         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25499         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25500         strchr for PPC64.
25502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25503         implementations.
25504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25505         (__libc_ifunc_impl_list): Likewise.
25506         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25507         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25508         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25509         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25510         strncmp for PPC64.
25512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25513         multiarch implementations.
25514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25515         (__libc_ifunc_impl_list): Likewise.
25516         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25517         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25518         strncasecmp for PPC64.
25519         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25520         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25521         multiarch strncasecmp_l for PPC64.
25523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25524         multiarch implementations.
25525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25526         (__libc_ifunc_impl_list): Likewise.
25527         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25528         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25529         multiarch strcasecmp for PPC64.
25530         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25531         file.
25532         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25533         multiarch strcasecmp_l for PPC64.
25535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25536         implementations.
25537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25538         (__libc_ifunc_impl_list): Likewise.
25539         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25540         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25541         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25542         strnlen for PPC64.
25544         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25545         implementations.
25546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25547         (__libc_ifunc_impl_list): Likewise.
25548         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25549         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25550         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25551         strlen for PPC64.
25553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25554         implementations.
25555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25556         (__libc_ifunc_impl_list): Likewise.
25557         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25558         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25559         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25560         rawmemrchr for PPC64.
25562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25563         implementation.
25564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25565         (__libc_ifunc_impl_list): Likewise.
25566         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25567         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25568         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25569         memrchr for PPC64.
25571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25572         implementation.
25573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25574         (__libc_ifunc_impl_list): Likewise.
25575         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25576         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25577         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25578         memchr for PPC64.
25580         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25581         implementation.
25582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25583         (__libc_ifunc_impl_list): Likewise.
25584         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25585         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25586         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25587         mempcpy for PPC64.
25589         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25590         avoid cretion of __bzero symbol.
25591         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25592         Likewise.
25593         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25594         Likewise.
25595         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25596         Likewise.
25597         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25598         multiarch implementations.
25599         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25600         (__libc_ifunc_impl_list): Likewise.
25601         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25602         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25603         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25604         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25605         bzero for PPC32.
25606         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25607         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25608         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25609         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25610         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25611         memset for PPC64.
25612         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25614         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25616         implementations.
25617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25618         (__libc_ifunc_impl_list): Likewise.
25619         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25620         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25621         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25622         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25623         memcmp for PPC64.
25625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25626         multiarch for POWER/PPC64.
25627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25628         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25629         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25630         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25631         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25632         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25633         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25634         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25635         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25636         memcpy for PPC64.
25638         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25639         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25640         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25641         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25642         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25643         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25644         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25645         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25646         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25647         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25648         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25649         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25650         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25651         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25652         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25661 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25663         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25665 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25667         * benchtests/Makefile (bench): Add exp2 and log2.
25668         (LDLIBS-bench-exp2): Add -lm.
25669         (LDLIBS-bench-log2): Likewise.
25670         * benchtests/exp2-inputs: New inputs file.
25671         * benchtests/log2-inputs: New inputs file.
25672         * benchtests/log-inputs: Add new inputs.
25673         * benchtests/tan-inputs: Likewise.
25675 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25677         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25678         definition...
25679         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25680         (csloww2): ... from here.
25682         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25683         instead of structures.
25684         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25685         (POLYNOMIAL): Likewise.
25686         (TAYLOR_SLOW): Likewise.
25687         (__sin): Likewise.
25688         (__cos): Likewise.
25689         (slow1): Likewise.
25690         (slow2): Likewise.
25691         (sloww): Likewise.
25692         (sloww1); Likewise.
25693         (sloww2): Likewise.
25694         (bsloww1): Likewise.
25695         (bsloww2): Likewise.
25696         (cslow2): Likewise.
25697         (csloww): Likewise.
25698         (csloww1): Likewise.
25699         (csloww2): Likewise.
25701 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25703         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25704         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25705         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25706         * malloc/hooks.c (realloc_check): Likewise.
25708         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25709         * malloc/arena.c: Remove PER_THREAD conditional.
25710         [!PER_THREAD]: Remove code.
25711         (ptmalloc_unlock_all2): Likewise.
25712         (ptmalloc_init): Likewise.
25713         (_int_new_arena): Likewise.
25714         (arena_get2): Likewise.
25715         * malloc/hooks.c (__malloc_get_state): Likewise.
25716         (__malloc_set_state): Likewise.
25717         * malloc/malloc.c: Likewise.
25718         (struct malloc_state): Likewise.
25719         (struct malloc_par): Likewise.
25720         (__libc_realloc): Likewise.
25721         (__libc_mallopt): Likewise.
25723 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25725         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25727 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25729         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25730         macro to a function.  Check for zero perturb_byte.
25731         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25733         * malloc/malloc.c: (force_reg): Remove.
25734         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25735         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25736         force_reg by atomic_forced_read.
25737         * malloc/arena.c (ptmalloc_init): Likewise.
25738         * malloc/hooks.c (top_check): Likewise.
25740 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25744 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25748 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25750         * math/auto-libm-test-in: Add tests of lgamma.
25751         * math/auto-libm-test-out: Regenerated.
25752         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25753         (M_LOG_2_SQRT_PIl): Likewise.
25754         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25755         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25756         mpfr_f_f1.
25757         (func_calc_desc): Add mpfr_f_f1 union field.
25758         (ARGS1): New macro.
25759         (ARGS2): Likewise.
25760         (ARGS3): Likewise.
25761         (ARGS4): Likewise.
25762         (RET1): Likewise.
25763         (RET2): Likewise.
25764         (CALC): Likewise.
25765         (FUNC): Likewise.
25766         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25767         (test_functions): Add lgamma.
25768         (calc_generic_results): Handle mpfr_f_f1.
25769         * sysdeps/i386/fpu/libm-test-ulps: Update.
25770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25772 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25774         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25775         __mpn_add_n for PowerPC64/POWER7.
25776         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25777         __mpn_sub_n for PowerPC64/POWER7.
25779         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25780         __mpn_addmul_1 for PowerPC64.
25781         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25782         __mpn_submul_1 for PowerPC64.
25783         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25784         for PowerPC64.
25785         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25786         for PowerPC64.
25788 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25790         [BZ #15089]
25791         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25793 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25795         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25797         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25798         add multiarch folders.
25799         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25800         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25801         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25802         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25803         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25804         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25805         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25806         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25807         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25808         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25809         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25818         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25820         New file.
25821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25822         New file.
25823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25824         multiarch __ieee754_hypot for PowerPC32.
25825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25826         New file.
25827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25828         New file.
25829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25830         multiarch __ieee754_hypotf for PowerPC32.
25832         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25833         long_double_symbol only if __logbl is defined.
25834         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25835         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25836         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25837         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25838         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25839         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25840         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25841         path for implementation.
25842         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25843         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25845         logb, and logbl multiarch implementations for PowerPC32.
25846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25847         file.
25848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25849         file.
25850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25851         multiarch logb for PowerPC32.
25852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25853         file.
25854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25855         file.
25856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25857         multiarch logbf for PowerPC32.
25858         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25860         file.
25861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25862         multiarch logbl implementation for PowerPC32.
25864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25865         and modff multiarch implementations.
25866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25867         New file.
25868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25869         New file.
25870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25871         multiarch modf for PowerPC32.
25872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25873         New file.
25874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25875         New file.
25876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25877         multiarch modff for PowerPC32.
25879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25880         and lrintf multiarch implementations.
25881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25882         New file.
25883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25884         New file.
25885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25886         multiarch lrint for PowerPC32.
25887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25888         file: multiarch lrintf for PowerPC32.
25890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25891         and lroundf multiarch implementations.
25892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25893         New file.
25894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25895         New file.
25896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25897         New file.
25898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25899         multiarch lround for PowerPC32.
25900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25901         file: multiarch lroundf for PowerPC32.
25903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25904         copysign and copysignf multiarch implementations.
25905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25906         New file.
25907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25908         New file.
25909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25910         file: multiarch copysign for PowerPC32.
25911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25912         file: multiarch copysignf for PowerPC32.
25914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25915         and truncf multiarch implementations.
25916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25917         New file.
25918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25919         file.
25920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25921         multiarch trunc for PowerPC32.
25922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25923         New file.
25924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25925         New file.
25926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25927         multiarch truncf for PowerPC32.
25929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25930         and roundf multiarch implementations.
25931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25932         New file.
25933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25934         file.
25935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25936         multiarch round for PowerPC32.
25937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25938         New file.
25939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25940         New file.
25941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25942         multiarch roundf for PowerPC32.
25944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25945         and floorf multiarch implementations.
25946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25947         New file.
25948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25949         file.
25950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25951         multiarch floor for PowerPC32.
25952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25953         New file.
25954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25955         New file.
25956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25957         multiarch floorf for PowerPC32.
25959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25960         and ceilf multiarch implementations.
25961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25962         New file.
25963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25964         file.
25965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25966         multiarch ceil for PowerPC32.
25967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25968         New file.
25969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25970         file.
25971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25972         multiarch ceilf for PowerPC32.
25974         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25975         is defined.
25976         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25977         FINITEF is defined.
25978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25979         and finitef multiarch implementations.
25980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25981         New file.
25982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25983         file.
25984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25985         multiarch finite for PowerPC32.
25986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25987         New file.
25988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25989         file: multiarch finitef for PowerPC32.
25991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25992         and isinff multiarch implementations.
25993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25994         file.
25995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25996         file.
25997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25998         multiarch isinf for PowerPC32.
25999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26000         New file.
26001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26002         multiarch isinff for PowerPC32.
26004         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26005         alias when __isnan is defined.
26006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26007         and isnanf multiarch implementations.
26008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26009         file.
26010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26011         file.
26012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26013         file.
26014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26015         file.
26016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26017         multiarch isnan for PowerPC32.
26018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26019         New file.
26020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26021         New file.
26022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26023         multiarch isnanf for PowerPC32.
26025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26026         and sqrtf multiarch implementations.
26027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26028         file.
26029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26030         file.
26031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26032         multiarch sqrt for PowerPC32.
26033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26034         file.
26035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26036         file.
26037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26038         multiarch sqrtf for PowerPC32.
26040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26041         and llroundf multiarch implementations.
26042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26043         New file.
26044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26045         New file.
26046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26047         New file.
26048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26049         file: multiarch llround for PowerPC32.
26050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26051         file: multiarch llroundf for PowerPC32.
26053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26054         multiarch PowerPC32 fpu implementations.
26055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26056         New file.
26057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26058         New file.
26059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26060         multiarch llrint for PowerPC32.
26061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26062         New file.
26063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26064         New file.
26065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26066         file.
26068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26070         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26071         file.
26072         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26073         file.
26074         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26075         file.
26076         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26077         multiarch wordcopy for PPC32.
26078         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26079         wordcopy objects.
26080         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26081         (__libc_ifunc_impl_list): Likewise.
26082         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26083         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26084         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26085         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26086         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26087         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26089         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26090         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26091         file.
26092         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26093         file.
26094         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26095         file.
26096         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26097         multiarch wcscpy for PPC32.
26098         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26099         multiarch objects.
26100         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26101         (__libc_ifunc_impl_list): Likewise.
26102         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26103         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26104         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26105         sysdeps/powerpc/power6/wcscpy.c.
26107         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26109         file.
26110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26111         file.
26112         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26113         file.
26114         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26115         multiarch wcsrchr for PPC32.
26116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26117         multiarch objects.
26118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26119         (__libc_ifunc_impl_list): Likewise.
26120         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26121         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26122         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26123         sysdeps/powerpc/power6/wcsrchr.c.
26125         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26126         file.
26127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26128         file.
26129         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26131         multiarch wcschr for PPc32.
26132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26133         multiarch objects.
26134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26135         (__libc_ifunc_impl_list): Likewise.
26136         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26137         * sysdeps/powerpc/power6/wcschr.c: ... to here.
26138         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26139         sysdeps/powerpc/power6/wcschr.c.
26141         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26142         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26143         file.
26144         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26145         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26146         file: multiarch strchr for PPC32.
26147         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26148         multiarch objects.
26149         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26150         (__libc_ifunc_impl_list): Likewise.
26152         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26153         name.
26154         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26155         file.
26156         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26157         file.
26158         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26159         multiarch strchrnul for PPC32.
26160         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26161         multiarch objects.
26162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26163         (__libc_ifunc_impl_list): Likewise.
26165         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26166         file.
26167         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26168         multiarch strncasecmp for PPC32.
26169         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26170         file.
26171         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26172         multiarch strncasecmp_l for PPC32.
26173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26174         strncasecmp multiarch objects.
26175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26176         (__libc_ifunc_impl_list): Likewise.
26178         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26179         file.
26180         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26181         multiarch strncasecmp for PPC32.
26182         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26183         New file.
26184         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26185         multiarch strcasecmp_l for PPC32.
26186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26187         multiarch objects.
26188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26189         (__libc_ifunc_impl_list): Likewise.
26191         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26192         file.
26193         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26194         file.
26195         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26196         multiarch strncmp for PPC32.
26197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26198         multiarch objects.
26199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26200         (__libc_ifunc_impl_list): Likewise.
26202         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26203         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26204         file.
26205         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26206         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26208         multiarch objects.
26209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26210         (__libc_ifunc_impl_list): Likewise.
26212         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26213         file.
26214         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26215         file.
26216         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26218         multiarch objects.
26219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26220         (__libc_ifunc_impl_list): Likewise.
26222         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26223         file.
26224         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26225         file.
26226         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26227         multiarch rawmemchr for PPC32.
26228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26229         multiarch objects.
26230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26231         (__libc_ifunc_impl_list): Likewise.
26233         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26234         file.
26235         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26236         file.
26237         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26238         file: memrchr multiarch for PPC32.
26239         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26240         multiarch objects.
26241         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26242         (__libc_ifunc_impl_list): Likewise.
26244         * string/memchr.c (__memchr): Using macro to redefine symbol name.
26245         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26246         file.
26247         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26248         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26249         multiarch memchr for PPC32.
26250         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26251         multiarch objects.
26252         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26253         (__libc_ifunc_impl_list): Likewise.
26255         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26256         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26257         file.
26258         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26259         file.
26260         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26261         file: multiarch mempcpy for PPC32.
26262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26263         multiarch objects.
26264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26265         (__libc_ifunc_impl_list): Likewise.
26267         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26268         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26269         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26270         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26271         multiarch bzero for PPC32.
26272         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26273         file.
26274         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26275         file.
26276         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26277         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26278         file: multiarch memset for PPC32.
26279         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26280         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26281         memset multiarch objects.
26282         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26283         (__libc_ifunc_impl_list): Likewise.
26285         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26286         file.
26287         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26288         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26289         memcmp for PPC32.
26290         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26291         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26292         multiarch objects.
26293         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26294         (__libc_ifunc_impl_list): Likewise.
26296         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26298         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26299         file.
26300         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26301         file.
26302         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26303         file.
26304         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26305         multiarch memcpy for PPC32.
26306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26307         multiarch objects.
26308         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26309         (__libc_ifunc_impl_list): Likewise.
26311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26312         support multiarch for POWER/PPC32.
26313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26314         Likewise.
26315         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26317         Implies file to make multiarch folder appers before the fpu and
26318         default folder for power4 configuration.
26320 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26322         * scripts/bench.pl: Append volatile keyword to type.
26324 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26326         * sysdeps/sh/sotruss-lib.c: New file.
26327         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26329 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26333 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
26335         [BZ #6810]
26336         * math/w_tgamma.c: Include <errno.h>.
26337         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
26338         * math/w_tgammaf.c: Include <errno.h>.
26339         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
26340         * math/w_tgammal.c: Include <errno.h>.
26341         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
26342         * math/auto-libm-test-in: Do not allow missing errno on tgamma
26343         underflow.  Add more tgamma tests.
26344         * math/auto-libm-test-out: Regenerated.
26345         * sysdeps/i386/fpu/libm-test-ulps: Update.
26346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26348         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26349         sin, sinh, tan, tanh, tgamma, y0 and y1.
26350         * math/auto-libm-test-out: Regenerated.
26351         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26352         (TEST_COND_x86): Likewise.
26353         (M_E2l): Remove macro.
26354         (M_E3l): Likewise.
26355         (M_2_SQRT_PIl): Likewise.
26356         (M_SQRT_PIl): Likewise.
26357         (M_1_DIV_El): Likewise.
26358         (log_test_data): Use AUTO_TESTS_f_f.
26359         (log10_test_data): Likewise.
26360         (log1p_test_data): Likewise.
26361         (log2_test_data): Likewise.
26362         (sin_test_data): Likewise.
26363         (sin_tonearest_test_data): Likewise.
26364         (sin_towardzero_test_data): Likewise.
26365         (sin_downward_test_data): Likewise.
26366         (sin_upward_test_data): Likewise.
26367         (sinh_test_data): Likewise.
26368         (sinh_tonearest_test_data): Likewise.
26369         (sinh_towardzero_test_data): Likewise.
26370         (sinh_downward_test_data): Likewise.
26371         (sinh_upward_test_data): Likewise.
26372         (tan_test_data): Likewise.
26373         (tan_tonearest_test_data): Likewise.
26374         (tan_towardzero_test_data): Likewise.
26375         (tan_downward_test_data): Likewise.
26376         (tan_upward_test_data): Likewise.
26377         (tanh_test_data): Likewise.
26378         (tgamma_test_data): Likewise.
26379         (y0_test_data): Likewise.
26380         (y1_test_data): Likewise.
26381         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26382         (special_real_inputs): Add pi/4.
26383         * sysdeps/i386/fpu/libm-test-ulps: Update.
26384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26386 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26388         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26389         "longjmp_target" static probes.
26390         (__longjmp): Rename to __longjmp_symbol.
26391         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26392         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26393         on which longjmp to generate.
26394         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26395         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26396         probe.
26397         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26398         (__sigjmp_save): Rename to __sigjmp_save_symbol.
26399         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26400         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26401         and __sigjmp_save_symbol based on which sigsetjmp to generated.
26402         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26404         __longjmp_symbol based on which __longjmp to generate.
26405         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26406         probe.
26407         (setjmp): Rename to setjmp_symbol.
26408         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26409         (_setjmp): Rename to _setjmp_symbol.
26410         (__sigsetjmp): Rename to __sigsetjmp_symbol.
26411         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26412         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26413         which setjmp to generate.
26414         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26415         "longjmp_target" static probes.
26417 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26419         * benchtests/README: Add note about output arguments.
26420         * benchtests/bench-sincos.c: Remove file.
26421         * benchtests/sincos-inputs: New file.
26422         * scripts/bench.pl: Identify output arguments and define
26423         static variables for them.
26425         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26427         [BZ #15941]
26428         * Makefile (INSTALL): Add install-plain.texi as the primary
26429         dependency.
26430         * manual/install-plain.texi: New file.
26431         * manual/install.texi: Include node directive only for
26432         non-plaintext output.
26434 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
26436         * stdlib/longlong.h: Update from GCC.
26438         [BZ #6807]
26439         [BZ #15901]
26440         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26441         * math/w_j0f.c (y0f): Likewise.
26442         * math/w_j0l.c (__y0l): Likewise.
26443         * math/w_j1.c (y1): Likewise.
26444         * math/w_j1f.c (y1f): Likewise.
26445         * math/w_j1l.c (__y1l): Likewise
26446         * math/w_jn.c (yn): Likewise.
26447         * math/w_jnf.c (ynf): Likewise.
26448         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26449         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
26450         value for Bessel function domain errors outside _SVID_ mode.
26451         Adjust sign of return value for yn (negative integer, 0).
26452         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26453         by zero in return for negative x and set sign appropriately for
26454         negative n.
26455         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26456         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26457         * math/libm-test.inc (y0_test_data): Add more tests and adjust
26458         expectations in error cases.
26459         (y1_test_data): Likewise.
26460         (yn_test_data): Likewise.
26461         * sysdeps/i386/fpu/libm-test-ulps: Update.
26462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26464 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26466         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26467         "64" to "64-v1".  Add "64-v2".
26468         (abi-64-options): Rename to ...
26469         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
26470         (abi-64-condition): Rename to ...
26471         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
26472         (abi-64-ld-soname): Rename to ...
26473         (abi-64-v1-ld-soname): ... this.
26474         (abi-64-v2-options): Define.
26475         (abi-64-v2-condition): Likewise.
26476         (abi-64-v2-ld-soname): Likewise.
26477         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26478         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26483 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26484             Alan Modra  <amodra@gmail.com>
26486         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26487         New versions for use with the ELFv2 ABI.
26488         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26489         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26490         declaration.
26491         (struct La_ppc64v2_retval): Likewise.
26492         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26493         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26494         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26495         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26496         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26497         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26498         Do not save or restore CR.
26499         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26500         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26501         return values for ELFv2 ABI.  Fix location of FPR return registers.
26502         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26503         updated values for _CALL_ELF == 2.
26504         (La_regs, La_retval, int_retval): Likewise.
26506 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26508         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26509         (FRAME_MIN_SIZE_PARM): Likewise.
26510         (FRAME_BACKCHAIN): Likewise.
26511         (FRAME_CR_SAVE): Likewise.
26512         (FRAME_LR_SAVE): Likewise.
26513         (FRAME_TOC_SAVE): Likewise.
26514         (FRAME_PARM_SAVE): Likewise.
26515         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26516         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26517         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26518         (call_mcount_parm_offset): New macro.
26519         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26520         (PROF): Use symbolic stack frame offsets.
26521         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26522         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26523         Redefine in terms of FRAME_MIN_SIZE.
26524         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26525         (_dl_profile_resolve): Likewise.  Update comment.
26526         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26527         symbols stack frame offsets.
26528         (__sigsetjmp): Likewise.
26529         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26530         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26531         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26532         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26535         (FRAME_BACKCHAIN): Remove.
26536         (FRAME_CR_SAVE): Likewise.
26537         (FRAME_LR_SAVE): Likewise.
26538         (FRAME_COMPILER_DW): Likewise.
26539         (FRAME_LINKER_DW): Likewise.
26540         (FRAME_TOC_SAVE): Likewise.
26541         (FRAME_PARM_SAVE): Likewise.
26542         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26543         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26544         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26546         (CHECK_SP): Use symbolic stack frame offsets.
26547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26548         zone" instead of caller's parameter save area for temp storage.
26549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26550         Likewise.  Also, use symbolic stack frame offsets.
26551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26552         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26553         our own stack frame instead of the caller's.
26554         (__socket): Use symbolic stack frame offsets.
26556 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26557             Alan Modra  <amodra@gmail.com>
26559         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26560         Define.
26561         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26562         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26563         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26564         New function.
26565         (elf_machine_fixup_plt): Call it.
26566         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26567         reloc arguments.
26568         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26569         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26570         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26571         r2 before calling target.
26573 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26574             Alan Modra  <amodra@gmail.com>
26576         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26577         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26578         versions of macros to support ELFv2 ABI.
26579         (LOCALENTRY): New macro.
26580         (ENTRY, EALIGN): Use it.
26581         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26582         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26583         fall through into ENTRY entry point.
26584         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26585         Only define if _CALL_ELF != 2.
26587         (elf_machine_matches_host): Verify ABI version matches.
26588         (RTLD_START): Use LOCALENTRY.
26589         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26590         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26591         (PLT_ENTRY_WORDS): New macro.
26592         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26593         (elf_machine_runtime_setup): Support ELFv2 ABI.
26594         (elf_machine_fixup_plt): Likewise.
26595         (elf_machine_plt_conflict): Likewise.
26596         (resolve_ifunc): Likewise.
26597         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26598         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26599         Likewise.
26600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26601         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26603         (makecontext): Support ELFv2 ABI.
26604         * elf/elf.h (EF_PPC64_ABI): Define.
26606 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26608         * sysdeps/powerpc/powerpc64/sysdep.h
26609         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26610         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26611         (ENTRY) [ASSEMBLER]: ... but instead here ...
26612         (EALIGN) [ASSEMBLER]: ... and here.
26613         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26614         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26615         (ENTRY_2) [!ASSEMBLER]: Use it.
26616         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26617         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26618         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26619         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26620         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26622         Use PPC64_LOAD_FUNCPTR.
26624         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26626 2013-12-04  Alan Modra  <amodra@gmail.com>
26628         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26629         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26630         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26631         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26633         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26634         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26635         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26636         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26637         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26638         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26640 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26643         (__makecontext): Fix incorrect CFI when backtracing out of
26644         context created via makecontext.
26645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26646         (__setcontext): Fix incorrect CFI during switch to new context.
26647         (__novec_setcontext): Likewise.
26649 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26651         [BZ #4772]
26652         * time/strptime_l.c (__strptime_internal): Allow modifiers
26653         in strptime.
26654         * time/tst-strptime.c (day_tests): Add testcase.
26656 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26658         * scripts/bench.pl: Skip over blank lines.
26660 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26662         [BZ #926]
26663         * manual/time.texi (Calendar Time): Clarify what timezone functions
26664         use.
26666 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26670 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26672         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26673         implementation.
26674         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26675         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26676         * debug/memset_chk.c (__memset_chk): Likewise.
26677         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26678         * debug/strncpy_chk.c: Likewise.
26680 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26682         [BZ #15268]
26683         [BZ #15425]
26684         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26685         (__ieee754_exp): For possibly underflowing results, check size of
26686         result and force underflow exception if required.
26687         * math/auto-libm-test-in: Add more tests of exp.
26688         * math/auto-libm-test-out: Regenerated.
26689         * sysdeps/i386/fpu/libm-test-ulps: Update.
26690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26692         [BZ #16283]
26693         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26694         * math/w_exp2f.c (__exp2f): Likewise.
26695         * math/w_exp2l.c (__exp2l): Likewise.
26696         * math/auto-libm-test-in: Do not allow missing errno on exp2
26697         underflow.
26698         * math/auto-libm-test-out: Regenerated.
26700 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26702         [BZ #16274]
26703         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26704         handle filename validation.
26705         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26706         (do_open): Delete.
26708 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26710         [BZ #6786]
26711         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26712         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26713         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26714         <float.h>.
26715         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26716         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26717         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26718         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26719         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26720         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26721         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26722         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26723         Add more erfc tests.
26724         * math/auto-libm-test-out: Regenerated.
26725         * sysdeps/i386/fpu/libm-test-ulps: Update.
26726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26728         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26729         exp2, expm1, j0 and j1.
26730         * math/auto-libm-test-out: Regenerated.
26731         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26732         (erfc_test_data): Likewise.
26733         (exp_test_data): Likewise.
26734         (exp_tonearest_test_data): Likewise.
26735         (exp_towardzero_test_data): Likewise.
26736         (exp_downward_test_data): Likewise.
26737         (exp_upward_test_data): Likewise.
26738         (exp10_test_data): Likewise.
26739         (exp2_test_data): Likewise.
26740         (expm1_test_data): Likewise.
26741         (j0_test_data): Likewise.
26742         (j1_test_data): Likewise.
26743         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26744         (input_flag_type): Add flag_xfail_rounding.
26745         (input_flags): Add xfail-rounding.
26746         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26747         (output_for_one_input_case): Handle flag_xfail_rounding.
26748         * sysdeps/i386/fpu/libm-test-ulps: Update.
26749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26751 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26753         [BZ #16289]
26754         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26755         division by 0.
26757 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26759         [BZ #16195]
26760         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26761         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26762         (STAP_PROBE0): New macro.
26763         (STAP_PROBE1): Likewise.
26764         (STAP_PROBE2): Likewise.
26765         (STAP_PROBE3): Likewise.
26766         (STAP_PROBE4): Likewise.
26768 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26770         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26772 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26774         * benchtests/Makefile (bench): Add sqrt.
26775         (LDLIBS-bench-sqrt): New.
26776         * benchtests/sqrt-input: New.
26778 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26780         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26781         (GAIH_EAI): Likewise.
26782         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26783         (gaih_inet): Likewise.
26784         (getaddrinfo): Don't use GAIH_EAI.
26786         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26787         (struct gaih): Remove definition.
26789 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26791         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26792         Use HERRNOP directly.
26794 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26798 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26800         * math/gen-auto-libm-tests.c (test_functions): Add more
26801         single-argument functions.
26802         (special_fill_pi_2): New function.
26803         (special_fill_minus_pi_2): Likewise.
26804         (special_fill_pi_6): Likewise.
26805         (special_fill_minus_pi_6): Likewise.
26806         (special_fill_pi_3): Likewise.
26807         (special_fill_2pi_3): Likewise.
26808         (special_fill_e): Likewise.
26809         (special_fill_1_e): Likewise.
26810         (special_fill_e_minus_1): Likewise.
26811         (special_real_inputs): Add more special inputs.
26812         (output_for_one_input_case): Do not require ERANGE on underflow to
26813         zero if round-to-nearest result does not underflow to zero, unless
26814         exact results required.
26815         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26816         atan, atanh, cbrt, cos and cosh.
26817         * math/auto-libm-test-out: Regenerated.
26818         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26819         (acos_tonearest_test_data): Likewise.
26820         (acos_towardzero_test_data): Likewise.
26821         (acos_downward_test_data): Likewise.
26822         (acos_upward_test_data): Likewise.
26823         (acosh_test_data): Likewise.
26824         (asin_test_data): Likewise.
26825         (asin_tonearest_test_data): Likewise.
26826         (asin_towardzero_test_data): Likewise.
26827         (asin_upward_test_data): Likewise.
26828         (asinh_test_data): Likewise.
26829         (atan_test_data): Likewise.
26830         (atanh_test_data): Likewise.
26831         (cbrt_test_data): Likewise.
26832         (cos_test_data): Likewise.
26833         (cos_tonearest_test_data): Likewise.
26834         (cos_towardzero_test_data): Likewise.
26835         (cos_downward_test_data): Likewise.
26836         (cos_upward_test_data): Likewise.
26837         (cosh_test_data): Likewise.
26838         (cosh_tonearest_test_data): Likewise.
26839         (cosh_towardzero_test_data): Likewise.
26840         (cosh_downward_test_data): Likewise.
26841         (cosh_upward_test_data): Likewise.
26842         * sysdeps/i386/fpu/libm-test-ulps: Update.
26843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26845 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26847         [BZ #6787]
26848         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26849         * math/w_exp10f.c (__exp10f): Likewise.
26850         * math/w_exp10l.c (__exp10l): Likewise.
26851         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26852         errno settings in existing tests.
26854         [BZ #14032]
26855         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26856         precision control set to double precision.
26857         * sysdeps/i386/fpu/w_sqrt.c: New file.
26858         * math/auto-libm-test-in: Add more tests.
26859         * math/auto-libm-test-out: Update.
26861         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26862         (sqrt_test_tonearest): New function.
26863         (sqrt_towardzero_test_data): New variable.
26864         (sqrt_test_towardzero): New function.
26865         (sqrt_downward_test_data): New variable.
26866         (sqrt_test_downward): New function.
26867         (sqrt_upward_test_data): New variable.
26868         (sqrt_test_upward): New function.
26869         (main): Call the new functions.
26871         * math/gen-auto-libm-tests.c: New file.
26872         * math/auto-libm-test-in: Likewise.
26873         * math/auto-libm-test-out: New generated file.
26874         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26875         variables.
26876         (%beautify): Add generated representations of zero.
26877         (top level): Set $auto_input and call parse_auto_input.
26878         (beautify): Remove trailing "f" from hex float constants.
26879         (parse_args): Handle XFAIL_TEST.
26880         (convert_condition): New function.
26881         (or_value): Likewise.
26882         (or_cond_value): Likewise.
26883         (generate_testfile): Handle AUTO_TESTS_* lines.
26884         (parse_auto_input): New function.
26885         * math/libm-test.inc (XFAIL_TEST): New macro.
26886         (ERRNO_UNCHANGED): Update value.
26887         (ERRNO_EDOM): Likewise.
26888         (ERRNO_ERANGE): Likewise.
26889         (IGNORE_RESULT): Likewise.
26890         (TEST_COND_flt_32): New macro.
26891         (TEST_COND_dbl_64): Likewise.
26892         (TEST_COND_ldbl_96_intel): Likewise.
26893         (TEST_COND_ldbl_96_m68k): Likewise.
26894         (TEST_COND_ldbl_128): Likewise.
26895         (TEST_COND_ldbl_128ibm): Likewise.
26896         (TEST_COND_long32): Likewise.
26897         (TEST_COND_long64): Likewise.
26898         (TEST_COND_before_rounding): Likewise.
26899         (TEST_COND_after_rounding): Likewise.
26900         (enable_test): Handle XFAIL_TEST flag.
26901         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26902         with finite results.
26903         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26904         auto-libm-test-out.
26906 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26907             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26909         [BZ #16214]
26910         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26911         __tls_get_addr_internal instead of __tls_get_offset in order to
26912         avoid GOT pointer dependency.  Make rtld export
26913         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26914         __tls_get_addr since we are a __tls_get_offset platform.
26915         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26916         GOT pointer being set up before.
26917         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26919 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26921         * manual/math.texi (Errors in Math Functions): Document accuracy
26922         goals.
26924         [BZ #15004]
26925         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26926         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26927         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26928         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26929         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26930         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26931         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26932         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26933         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26934         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26935         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26936         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26937         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26938         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26939         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26940         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26942         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26943         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26944         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26945         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26946         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26947         Likewise.
26948         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26949         Likewise.
26950         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26951         Likewise.
26952         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26953         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26954         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26955         atomic-feupdateenv and flt-rounds.
26956         * sysdeps/powerpc/nofpu/Versions (libc): Add
26957         __atomic_feholdexcept, __atomic_feclearexcept,
26958         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26959         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26960         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26961         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26962         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26963         here.
26964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26965         Update.
26967         * manual/arith.texi (FP Exceptions): Document that exceptions may
26968         not be raised when matherr is used.
26969         (Math Error Reporting): Document overflow in directed rounding
26970         modes.  Document that errno may not be set when finite values are
26971         returned on overflow.  Document intent to set errno on underflow
26972         only for underflow to zero.
26974         [BZ #16271]
26975         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26976         round-to-nearest then adjust result for other rounding modes.
26977         * include/fenv.h (fegetround): Use libm_hidden_proto.
26978         * math/fegetround.c (fegetround): Use libm_hidden_def.
26979         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26980         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26981         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26982         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26983         Likewise.
26984         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26985         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26986         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26987         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26989 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26991         [BZ #16077]
26992         * nss/Versions (libnss_files): Add
26993         _nss_files_gethostbyname3_r.
26994         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26995         New function.
26996         (HOST_DB_LOOKUP): Remove macro.
26997         (_nss_files_gethostbyname_r): Implement function without the
26998         HOST_DB_LOOKUP macro.
26999         (_nss_files_gethostbyname2_r): Likewise.
27001 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
27003         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27005 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
27007         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27008         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27009         warning.
27011 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27013         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27014         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27015         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27016         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27017         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27018         __fe_nomask_env_priv and attribute_hidden.
27019         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27020         (libc_feupdateenv_test_ppc): Likewise.
27021         (libc_feresetround_ppc): Likewise.
27022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27023         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27024         compat_symbol macro.
27025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27026         (__fe_nomask_env): Likewise.
27027         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27029 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27031         * string/Makefile: Remove ifunc tests.
27032         * string/test-string.h: Define TEST_IFUNC.
27033         * string/test-bcopy-ifunc.c: Remove.
27034         * string/test-bzero-ifunc.c: Likewise.
27035         * string/test-memccpy-ifunc.c: Likewise.
27036         * string/test-memchr-ifunc.c: Likewise.
27037         * string/test-memcmp-ifunc.c: Likewise.
27038         * string/test-memcpy-ifunc.c: Likewise.
27039         * string/test-memmem-ifunc.c: Likewise.
27040         * string/test-memmove-ifunc.c: Likewise.
27041         * string/test-mempcpy-ifunc.c: Likewise.
27042         * string/test-memrchr-ifunc.c: Likewise.
27043         * string/test-memset-ifunc.c: Likewise.
27044         * string/test-rawmemchr-ifunc.c: Likewise.
27045         * string/test-stpcpy-ifunc.c: Likewise.
27046         * string/test-stpncpy-ifunc.c: Likewise.
27047         * string/test-strcasecmp-ifunc.c: Likewise.
27048         * string/test-strcasestr-ifunc.c: Likewise.
27049         * string/test-strcat-ifunc.c: Likewise.
27050         * string/test-strchr-ifunc.c: Likewise.
27051         * string/test-strchrnul-ifunc.c: Likewise.
27052         * string/test-strcmp-ifunc.c: Likewise.
27053         * string/test-strcpy-ifunc.c: Likewise.
27054         * string/test-strcspn-ifunc.c: Likewise.
27055         * string/test-strlen-ifunc.c: Likewise.
27056         * string/test-strncasecmp-ifunc.c: Likewise.
27057         * string/test-strncat-ifunc.c: Likewise.
27058         * string/test-strncmp-ifunc.c: Likewise.
27059         * string/test-strncpy-ifunc.c: Likewise.
27060         * string/test-strnlen-ifunc.c: Likewise.
27061         * string/test-strpbrk-ifunc.c: Likewise.
27062         * string/test-strrchr-ifunc.c: Likewise.
27063         * string/test-strspn-ifunc.c: Likewise.
27064         * string/test-strstr-ifunc.c: Likewise.
27066 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27068         * benchtests/Makefile: Remove ifunc tests.
27069         * benchtests/bench-string.h: Define TEST_IFUNC.
27070         * benchtests/bench-bcopy-ifunc.c: Remove.
27071         * benchtests/bench-bzero-ifunc.c: Likewise.
27072         * benchtests/bench-memccpy-ifunc.c: Likewise.
27073         * benchtests/bench-memchr-ifunc.c: Likewise.
27074         * benchtests/bench-memcmp-ifunc.c: Likewise.
27075         * benchtests/bench-memcpy-ifunc.c: Likewise.
27076         * benchtests/bench-memmem-ifunc.c: Likewise.
27077         * benchtests/bench-memmove-ifunc.c: Likewise.
27078         * benchtests/bench-mempcpy-ifunc.c: Likewise.
27079         * benchtests/bench-memrchr-ifunc.c: Likewise.
27080         * benchtests/bench-memset-ifunc.c: Likewise.
27081         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27082         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27083         * benchtests/bench-stpcpy-ifunc.c: Likewise.
27084         * benchtests/bench-stpncpy-ifunc.c: Likewise.
27085         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27086         * benchtests/bench-strcasestr-ifunc.c: Likewise.
27087         * benchtests/bench-strcat-ifunc.c: Likewise.
27088         * benchtests/bench-strchr-ifunc.c: Likewise.
27089         * benchtests/bench-strchrnul-ifunc.c: Likewise.
27090         * benchtests/bench-strcmp-ifunc.c: Likewise.
27091         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27092         * benchtests/bench-strcpy-ifunc.c: Likewise.
27093         * benchtests/bench-strcspn-ifunc.c: Likewise.
27094         * benchtests/bench-strlen-ifunc.c: Likewise.
27095         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27096         * benchtests/bench-strncat-ifunc.c: Likewise.
27097         * benchtests/bench-strncmp-ifunc.c: Likewise.
27098         * benchtests/bench-strncpy-ifunc.c: Likewise.
27099         * benchtests/bench-strnlen-ifunc.c: Likewise.
27100         * benchtests/bench-strpbrk-ifunc.c: Likewise.
27101         * benchtests/bench-strrchr-ifunc.c: Likewise.
27102         * benchtests/bench-strsep-ifunc.c: Likewise.
27103         * benchtests/bench-strspn-ifunc.c: Likewise.
27104         * benchtests/bench-strstr-ifunc.c: Likewise.
27106 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27108         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27110 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
27112         * resolv/netdb.h: Use __glibc_reserved instead __unused.
27113         * rt/aio.h: Likewise.
27114         * sysdeps/gnu/bits/utmp.h: Likewise.
27115         * sysdeps/gnu/bits/utmpx.h: Likewise.
27116         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27117         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27118         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27119         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27120         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27121         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27122         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27123         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27124         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27125         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27126         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27127         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27128         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27130         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27131         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27132         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27133         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27134         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27135         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27136         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27137         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27138         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27139         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27140         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27141         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27142         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27143         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27144         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27145         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27146         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27147         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27148         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27149         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27150         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27151         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27152         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27153         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27154         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27155         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27156         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27157         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27159 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
27161         [BZ #16245]
27162         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27163         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27165 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
27167         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27168         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27169         Likewise.
27171 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27173         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27174         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27175         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27176         (__fesetround): Remove define.
27177         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27178         rounding and exceptions handling.
27179         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27180         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27181         (__fe_nomask_env): Likewise.
27182         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27183         __fegetround instead of fegetround.
27184         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27185         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27187 2013-11-21  Roland McGrath  <roland@hack.frob.com>
27189         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27190         it's there.
27192         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27194 2013-11-21  Meador Inge  <meadori@codesourcery.com>
27196         [BZ #11157]
27197         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27198         (encrypt_r): Likewise.
27199         * malloc/obstack.h (obstack_free): Likewise.
27200         * posix/unistd.h (encrypt): Likewise.
27202 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
27204         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27205         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27206         DL_CALL_DT_FINI() that call the functions directly.
27207         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27208         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27209         * elf/dl-fini.c: Likewise.
27211 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
27213         * malloc/hooks.c (memalign_check): Add alignment rounding.
27214         * malloc/malloc.c (_mid_memalign): New function.
27215         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27216         Implement by calling _mid_memalign.
27217         * manual/probes.texi (Memory Allocation Probes): Remove
27218         memory_valloc_retry and memory_pvalloc_retry.
27220 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27222         * locale/programs/locarchive.c (open_archive): Add const
27223         qualifier to ARCHIVEFNAME and copy default fname to
27224         DEFAULT_FNAME.
27226         [BZ #15601]
27227         * libio/tst-widetext.input: Rename Oriya to Odia.
27228         * locale/iso-639.def: Likewise.
27230         * manual/probes.texi (Mathematical Function Probes): Add
27231         documentation for sin, cos, asin and acos probes.
27232         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27233         (__sin32): Add slowasin probe.
27234         (__cos32): Add slowacos probe.
27235         (__mpsin): Add slowsin probe.
27236         (__mpcos): Add slowcos probe.
27238 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
27240         [BZ #15483]
27241         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27242         thread-local __sim_exceptions_thread and global
27243         __sim_exceptions_global.
27244         (__sim_disabled_exceptions): Change to thread-local
27245         __sim_disabled_exceptions_thread and global
27246         __sim_disabled_exceptions_global.
27247         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27248         and global __sim_round_mode_global.
27249         (__simulate_exceptions): Use thread-local floating-point state and
27250         set global state from it as needed.
27251         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27252         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27253         __sim_round_mode_thread.
27254         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27255         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27256         and global __sim_exceptions_global.
27257         (__sim_disabled_exceptions): Change to thread-local
27258         __sim_disabled_exceptions_thread and global
27259         __sim_disabled_exceptions_global.
27260         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27261         and global __sim_round_mode_global.
27262         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27263         (SIM_SET_GLOBAL): Likewise.
27264         * sysdeps/powerpc/soft-fp/sfp-machine.h
27265         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27266         __sim_round_mode_thread.
27267         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27268         __sim_disabled_exceptions_thread.
27269         (__sim_exceptions): Change to __sim_exceptions_thread.
27270         (__sim_disabled_exceptions): Change to
27271         __sim_disabled_exceptions_thread.
27272         (__sim_round_mode): Change to __sim_round_mode_thread.
27273         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27274         thread-local floating-point state and set global state from it as
27275         needed.
27276         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27277         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27278         (__sim_disabled_exceptions): Remove extern declaration.
27279         (feenableexcept): Use thread-local floating-point state and set
27280         global state from it as needed.
27281         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27282         extern declaration.
27283         (__sim_disabled_exceptions): Likewise.
27284         (__sim_round_mode): Likewise.
27285         (__fegetenv): Use thread-local floating-point state.
27286         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27287         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27288         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27289         floating-point state and set global state from it as needed.
27290         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27291         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27292         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27293         Likewise.
27294         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27295         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27296         Likewise.
27297         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27298         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27299         Use __sim_round_mode_thread.
27300         * math/test-fenv-tls.c: New file.
27301         * math/Makefile (tests): Add test-fenv-tls.
27302         ($(objpfx)test-fenv-tls): Depend on
27303         $(common-objpfx)nptl/libpthread.so.
27305 2013-11-19  Andreas Schwab  <schwab@suse.de>
27307         * locale/programs/locale.c (show_info): Decode wordarray elements.
27308         * locale/categories.def (LC_MONETARY): Add element for
27309         _NL_MONETARY_CRNCYSTR.
27310         * locale/C-monetary.c (conversion_rate): New variable.
27311         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27312         element.
27314 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
27316         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27317         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27319 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27321         * elf/Makefile (tst-auxv): New test.
27322         * elf/tst-auxv.c: New
27323         * elf/rtld.c (dl_main): Adjust AT_EXECFN
27325 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
27327         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27328         (hidden_proto): Caller changed.
27329         (hidden_tls_proto): New macro.
27330         (libc_hidden_tls_proto): Likewise.
27331         (rtld_hidden_tls_proto): Likewise.
27332         (libm_hidden_tls_proto): Likewise.
27333         (libresolv_hidden_tls_proto): Likewise.
27334         (librt_hidden_tls_proto): Likewise.
27335         (libdl_hidden_tls_proto): Likewise.
27336         (libnss_files_hidden_tls_proto): Likewise.
27337         (libnsl_hidden_tls_proto): Likewise.
27338         (libnss_nisplus_hidden_tls_proto): Likewise.
27339         (libutil_hidden_tls_proto): Likewise.
27341 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
27343         [BZ #10253]
27344         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27345         (decompose_rpath): Defer expansion to fillin_rpath.
27346         (_dl_init_paths): Pass linkmap to fillin_rpath.
27348 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27350         * benchtests/Makefile: Add strsep.
27351         * benchtests/bench-strsep.c: New file: strsep benchtest.
27352         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27354 2013-11-18  Andreas Schwab  <schwab@suse.de>
27356         * locale/programs/locale.c (show_info) [case byte]: Check for
27357         '\377' instead of '\177'.
27358         * locale/C-monetary.c (not_available): Always use "\377".
27359         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27360         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
27361         detect unavailable sign_posn locale elements.
27362         * locale/localeconv.c (__localeconv): For grouping and
27363         mon_grouping handle "\177" and "\377" like no grouping.
27364         (INT_ELEM): New macro.  Use it to set all numeric members.
27365         * locale/programs/ld-monetary.c (monetary_read)
27366         <tok_mon_grouping>: Normalize single -1 to the empty string.
27367         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27368         Likewise.
27370 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27372         [BZ #16055]
27373         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27374         when we match (nil).
27375         * stdio-common/tst-sscanf.c (struct test): Add testcase.
27377 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
27379         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27380         (NO_TEST_INLINE): Update value.
27381         (ERRNO_UNCHANGED): Likewise.
27382         (ERRNO_EDOM): Likewise.
27383         (ERRNO_ERANGE): Likewise.
27384         (IGNORE_RESULT): Likewise.
27385         (check_float_internal): Check signs of NaN results if
27386         TEST_NAN_SIGN used.
27387         (check_complex): Pass TEST_NAN_SIGN flag through to second
27388         check_float_internal call.
27389         (copysign_test_data): Add tests with quiet NaNs as second
27390         argument.  Use TEST_NAN_SIGN.
27391         (fabs_test_data): Add test of negative quiet NaN argument.  Use
27392         TEST_NAN_SIGN.
27393         (signbit_test_data): Add tests of quiet NaN argument.
27394         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27396         * math/gen-libm-test.pl (show_exceptions): Take extra argument
27397         $ignore_result.
27398         (parse_args): Handle function results specified as IGNORE.
27399         * math/libm-test.inc (IGNORE_RESULT): New macro.
27400         (check_float_internal): Do not check numerical result if flag
27401         IGNORE_RESULT set.
27402         (check_complex): Pass through IGNORE_RESULT to second
27403         check_float_internal call.
27404         (check_int): Do not check numerical result if flag IGNORE_RESULT
27405         set.
27406         (check_long): Likewise.
27407         (check_bool): Likewise.
27408         (check_longlong): Likewise.
27409         (lrint_test_data): Add tests of infinite and NaN arguments.
27410         (lrint_tonearest_test_data): Likewise.
27411         (lrint_towardzero_test_data): Likewise.
27412         (lrint_downward_test_data): Likewise.
27413         (lrint_upward_test_data): Likewise.
27414         (llrint_test_data): Likewise.
27415         (llrint_tonearest_test_data): Likewise.
27416         (llrint_towardzero_test_data): Likewise.
27417         (llrint_downward_test_data): Likewise.
27418         (llrint_upward_test_data): Likewise.
27419         (lround_test_data): Likewise.
27420         (llround_test_data): Likewise.
27422         * math/libm-test.inc (NO_TEST_INLINE): New macro.
27423         (ERRNO_UNCHANGED): Update value.
27424         (ERRNO_EDOM): Likewise.
27425         (ERRNO_ERANGE): Likewise.
27426         (NO_TEST_INLINE_FLOAT): New macro.
27427         (NO_TEST_INLINE_DOUBLE): Likewise.
27428         (enable_test): New function.
27429         (RUN_TEST_f_f): Check enable_test before running test.
27430         (RUN_TEST_2_f): Likewise.
27431         (RUN_TEST_fff_f): Likewise.
27432         (RUN_TEST_c_f): Likewise.
27433         (RUN_TEST_f_f1): Likewise.
27434         (RUN_TEST_fF_f1): Likewise.
27435         (RUN_TEST_fI_f1): Likewise.
27436         (RUN_TEST_ffI_f1): Likewise.
27437         (RUN_TEST_c_c): Likewise.
27438         (RUN_TEST_cc_c): Likewise.
27439         (RUN_TEST_f_i): Likewise.
27440         (RUN_TEST_f_i_tg): Likewise.
27441         (RUN_TEST_ff_i_tg): Likewise.
27442         (RUN_TEST_f_b): Likewise.
27443         (RUN_TEST_f_b_tg): Likewise.
27444         (RUN_TEST_f_l): Likewise.
27445         (RUN_TEST_f_L): Likewise.
27446         (RUN_TEST_fFF_11): Likewise.
27447         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27448         conditionals.
27449         (cosh_test_data): Likewise.
27450         (exp_test_data): Likewise.
27451         (expm1_test_data): Likewise.
27452         (hypot_test_data): Likewise.
27453         (pow_test_data): Likewise.
27454         (sinh_test_data): Likewise.
27455         (tanh_test_data): Likewise.
27456         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27457         flags argument.
27459         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27460         tests with quiet NaN input and output.
27461         (acosh_test_data): Likewise.
27462         (asin_test_data): Likewise.
27463         (asinh_test_data): Likewise.
27464         (atan_test_data): Likewise.
27465         (atanh_test_data): Likewise.
27466         (atan2_test_data): Likewise.
27467         (cbrt_test_data): Likewise.
27468         (cos_test_data): Likewise.
27469         (cosh_test_data): Likewise.
27470         (erf_test_data): Likewise.
27471         (erfc_test_data): Likewise.
27472         (exp_test_data): Likewise.
27473         (exp10_test_data): Likewise.
27474         (exp2_test_data): Likewise.
27475         (expm1_test_data): Likewise.
27476         (hypot_test_data): Likewise.
27477         (j0_test_data): Likewise.
27478         (j1_test_data): Likewise.
27479         (jn_test_data): Likewise.
27480         (lgamma_test_data): Likewise.
27481         (log_test_data): Likewise.
27482         (log10_test_data): Likewise.
27483         (log1p_test_data): Likewise.
27484         (log2_test_data): Likewise.
27485         (pow_test_data): Likewise.
27486         (scalb_test_data): Likewise.
27487         (sin_test_data): Likewise.
27488         (sincos_test_data): Likewise.
27489         (sinh_test_data): Likewise.
27490         (tan_test_data): Likewise.
27491         (tanh_test_data): Likewise.
27492         (tgamma_test_data): Likewise.
27493         (y0_test_data): Likewise.
27494         (y1_test_data): Likewise.
27495         (yn_test_data): Likewise.
27497         [BZ #16167]
27498         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27499         argument being NaN and avoid computations with second argument in
27500         that case.
27501         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27502         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27503         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27505 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27507         * locale/iso-639.def: Add Chitwani Tharu (the).
27509 2013-11-14  Andreas Schwab  <schwab@suse.de>
27511         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27512         word instead of empty string.
27514 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27517         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27519         (__fe_nomask_env): Likewise.
27521 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27523         * benchtests/bench-timing.h: Include time.h.
27525 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27527         [BZ #15997]
27528         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27529         to 3.4.0 for x32.
27530         * sysdeps/unix/sysv/linux/configure: Regenerated.
27532 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27534         [BZ #16151]
27535         * stdlib/strtod_l.c (round_and_return): Do not consider
27536         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27537         exponent one less than half the least subnormal exponent.
27538         * stdlib/test-strtod-round-data: Add more tests.
27539         * stdlib/tst-strtod-round.c (tests): Regenerated.
27541 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27543         [BZ #14143]
27544         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27545         (__fe_mask_env): Likewise.
27546         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27547         libm_hidden_proto and add function prototype.
27548         (__fe_mask_env): Add function prototype.
27549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27550         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27552         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27554         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27556 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27558         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27559         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27561 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27563         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27564         of htab_find_slot().
27566 2013-11-11  David S. Miller  <davem@davemloft.net>
27568         [BZ #16150]
27569         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27570         symbol in the non-vis3 case in static builds.
27571         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27572         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27573         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27574         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27576 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27578         [BZ #387]
27579         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27580         it is empty.
27582 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27584         * benchtests/Makefile: Add bench-strtod.
27585         * benchtests/bench-strtod.c: New file: strtod benchtest
27587 2013-11-11  Andreas Schwab  <schwab@suse.de>
27589         [BZ #16153]
27590         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27591         terminating NUL in key length.
27593 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27595         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27596         Add artificial ODP entry for vDSO symbol for PPC64.
27597         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27598         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27600 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27602         [BZ #15374]
27603         * nss/getent.c (services_keys): Recognize services starting with digit.
27605 2013-11-06  David S. Miller  <davem@davemloft.net>
27607         [BZ #15985]
27608         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27609         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27611 2013-11-06  Will Newton  <will.newton@linaro.org>
27613         * manual/memory.texi (Malloc Examples): Remove register
27614         keyword from examples.
27616 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27618         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27620 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27622         [BZ #6981]
27623         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27624         depending on [__GCC_IEC_559 > 0].
27625         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27626         depending on [__GCC_IEC_559_COMPLEX > 0].
27628 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27630         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27631         to iso-639.def.
27633 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27635         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27637 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27639         [BZ #16112]
27640         * malloc/malloc (malloc_info): Do not handle first bin as
27641         special case.
27643 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27645         * locale/iso-639.def: Add Central Nahuatl (nhn).
27647 2013-11-01  Bruno Haible  <bruno@clisp.org>
27649         [BZ #7003]
27650         * manual/math.texi (BSD Random): Specify range upper bound as
27651         in POSIX.
27653 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27655         * locale/iso-639.def: Add Meadow Mari (mhr).
27657 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27659         [BZ #14752], [BZ #15763]
27660         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27661         Validate name.
27662         * rt/tst_shm.c: Add test for escaping directory.
27664 2013-10-31  Andreas Schwab  <schwab@suse.de>
27666         [BZ #15917]
27667         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27668         followed by 'x' as part of digit sequence.
27669         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27671 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27673         [BZ #16037]
27674         * configure.ac: allow GNU Make 4.0 and greater.
27675         * configure: Regenerated.
27677 2013-10-30  Will Newton  <will.newton@linaro.org>
27679         [BZ #16038]
27680         * malloc/hooks.c (memalign_check): Limit alignment to the
27681         maximum representable power of two.
27682         * malloc/malloc.c (__libc_memalign): Likewise.
27683         * malloc/tst-memalign.c (do_test): Add test for very
27684         large alignment values.
27685         * malloc/tst-posix_memalign.c (do_test): Likewise.
27687 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27689         [BZ #11087]
27690         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27691         (munmap_chunk): Likewise.
27692         (mremap_chunk): Likewise.
27694 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27696         [BZ #15799]
27697         * stdlib/div.c (div): Remove obsolete code.
27698         * stdlib/ldiv.c (ldiv): Likewise.
27699         * stdlib/lldiv.c (lldiv): Likewise.
27701 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27703         [BZ #16071]
27704         * nss/nss_files/files-XXX.c (get_contents_ret): New
27705         enumerator.
27706         (get_contents): New function.
27707         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27709 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27711         * configure.in: Moved to ...
27712         * configure.ac: ... here. Change reference to configure.in
27713         to configure.ac.
27714         * sysdeps/arm/preconfigure.ac: ... here.
27715         configure.in to configure.ac.
27716         * sysdeps/gnu/configure.in: Moved to ...
27717         * sysdeps/gnu/configure.ac: ... here.
27718         * sysdeps/i386/configure.in: Moved to ...
27719         * sysdeps/i386/configure.ac: ... here.
27720         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27721         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27722         * sysdeps/mach/configure.in: Moved to ...
27723         * sysdeps/mach/configure.ac: ... here.
27724         * sysdeps/mach/hurd/configure.in: Moved to ...
27725         * sysdeps/mach/hurd/configure.ac: ... here.
27726         * sysdeps/powerpc/configure.in: Moved to ...
27727         * sysdeps/powerpc/configure.ac: ... here.
27728         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27729         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27730         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27731         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27732         * sysdeps/s390/s390-32/configure.in: Moved to ...
27733         * sysdeps/s390/s390-32/configure.ac: ... here.
27734         * sysdeps/s390/s390-64/configure.in: Moved to ...
27735         * sysdeps/s390/s390-64/configure.ac: ... here.
27736         * sysdeps/sh/configure.in: Moved to ...
27737         * sysdeps/sh/configure.ac: ... here.
27738         * sysdeps/sparc/configure.in: Moved to ...
27739         * sysdeps/sparc/configure.ac: ... here.
27740         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27741         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27742         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27743         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27744         * sysdeps/x86_64/configure.in: Moved to ...
27745         * sysdeps/x86_64/configure.ac: ... here.
27746         * sysdeps/x86_64/preconfigure.in: Moved to ...
27747         * sysdeps/x86_64/preconfigure.ac: ... here.
27748         * aclocal.m4: Change reference to configure.in to configure.ac.
27749         * config.h.in: Likewise.
27750         * manual/install.texi: Likewise.
27751         * manual/maint.texi: Likewise.
27752         * Makefile: Likewise.
27753         * malloc/Makefile: Likewise.
27754         * nscd/Makefile: Likewise.
27755         * Makeconfig: Change reference to configure.in and
27756         preconfigure.in to configure.ac and preconfigure.ac
27757         respectively.
27758         * INSTALL: Regenerated.
27759         * configure: Likewise.
27760         * sysdeps/gnu/configure: Likewise.
27761         * sysdeps/i386/configure: Likewise.
27762         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27763         * sysdeps/mach/configure: Likewise.
27764         * sysdeps/mach/hurd/configure: Likewise.
27765         * sysdeps/powerpc/configure: Likewise.
27766         * sysdeps/powerpc/powerpc32/configure: Likewise.
27767         * sysdeps/powerpc/powerpc64/configure: Likewise.
27768         * sysdeps/s390/s390-32/configure: Likewise.
27769         * sysdeps/s390/s390-64/configure: Likewise.
27770         * sysdeps/sh/configure: Likewise.
27771         * sysdeps/sparc/configure: Likewise.
27772         * sysdeps/unix/sysv/linux/configure: Likewise.
27773         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27774         * sysdeps/x86_64/configure: Likewise.
27775         * sysdeps/x86_64/preconfigure: Likewise.
27777 2013-10-29  Andreas Schwab  <schwab@suse.de>
27779         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27781 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27783         * benchtests/pow-inputs: Add new inputs.
27785         * benchtests/exp-inputs: Add new inputs.
27787         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27788         conditional check for return value.
27789         (__cos32): Likewise.
27791 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27793         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27794         to provide a boost for large inputs with word alignment.
27795         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27796         implementation based on optimized PPC64 strcpy.
27797         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27798         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27799         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27800         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27802 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27804         [BZ #2801]
27805         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27807 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27809         [BZ #14876]
27810         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27811         * time/tst-strptime.c (day_tests): Add testcase.
27813 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27815         [BZ #14029]
27816         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27818 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27820         [BZ #16074]
27821         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27822         MAP_FAILED on error.
27824 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27826         [BZ #16072]
27827         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27828         heap for large requests.
27830 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27832         [BZ #9954]
27833         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27834         result if the result has no associated interface.
27835         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27836         interface for all 127.X.Y.Z addresses.
27838 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27840         * locale/iso-639.def: Add Ligurian (lij)
27842 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27844         [BZ #15825]
27845         * sunrpc/rpc_main.c: Document rpcgen -5.
27847 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27849         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27851 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27853         [BZ #10278]
27854         * posix/glob.c: Match only directories when trailing slash is present.
27855         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27856         (main): Add testcase.
27858 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27860         [BZ #15670]
27861         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27863 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27865         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27866         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27867         AUTH_DES and cindex for FIPS 140-2.
27868         (DES Encryption): Add cindex FIPS 46-3.
27870         * locale/locarchive.h (struct locarhandle): Add fname.
27871         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27872         if an optional argument was specified to --list-archive,
27873         otherwise NULL.
27874         * locale/programs/locarchive.c (show_archive_content): Take new
27875         argument fname and pass it via ah.fname to open_archive.
27876         * locale/programs/localedef.h: Update decl.
27877         (open_archive): If AH->fname is non-null, open that file
27878         rather than the default file name, and don't ignore ENOENT.
27879         (create_archive): Set AH.fname to NULL.
27880         (delete_locales_from_archive): Likewise.
27881         (add_locales_to_archive): Likewise.
27882         * locale/programs/locfile.c (write_all_categories): Likewise.
27884 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27885             Aldy Hernandez  <aldyh@redhat.com>
27887         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27888         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27889         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27890         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27891         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27892         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27893         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27894         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27895         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27896         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27897         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27898         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27899         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27900         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27901         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27902         Likewise.
27903         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27904         Likewise.
27905         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27906         Likewise.
27907         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27908         Likewise.
27909         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27910         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27911         Likewise.
27912         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27913         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27914         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27915         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27916         Likewise.
27917         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27918         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27919         * sysdeps/powerpc/preconfigure: Likewise.
27920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27921         Likewise.
27922         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27923         Replace contents of file by #include of <fenv_libc.h>.
27924         * sysdeps/powerpc/soft-fp/sfp-machine.h
27925         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27926         and <sys/prctl.h>.
27927         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27928         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27929         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27930         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27931         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27932         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27933         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27934         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27935         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27936         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27937         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27938         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27940         Allow copysignl PLT reference to be missing.
27942 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27943             Joseph Myers  <joseph@codesourcery.com
27945         [BZ #15948]
27946         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27947         single character.
27948         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27950 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27952         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27953         * elf/tst-tls1.c: Likewise.
27954         * elf/tst-tls10.h: Likewise.
27955         * elf/tst-tls14.c: Likewise.
27956         * elf/tst-tls2.c: Likewise.
27957         * elf/tst-tls3.c: Likewise.
27958         * elf/tst-tls4.c: Likewise.
27959         * elf/tst-tls5.c: Likewise.
27960         * elf/tst-tls6.c: Likewise.
27961         * elf/tst-tls7.c: Likewise.
27962         * elf/tst-tls8.c: Likewise.
27963         * elf/tst-tls9.c: Likewise.
27964         * elf/tst-tlsmod1.c: Likewise.
27965         * elf/tst-tlsmod13.c: Likewise.
27966         * elf/tst-tlsmod13a.c: Likewise.
27967         * elf/tst-tlsmod14a.c: Likewise.
27968         * elf/tst-tlsmod16a.c: Likewise.
27969         * elf/tst-tlsmod16b.c: Likewise.
27970         * elf/tst-tlsmod2.c: Likewise.
27971         * elf/tst-tlsmod3.c: Likewise.
27972         * elf/tst-tlsmod4.c: Likewise.
27973         * elf/tst-tlsmod5.c: Likewise.
27974         * elf/tst-tlsmod6.c: Likewise.
27976 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27978         [BZ #12486]
27979         * malloc/malloc.c: remove checks for statistics.
27981 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27983         [BZ #15277]
27984         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27985         * inet/tst-network.c: Add testcase.
27987 2013-10-17  Andreas Schwab  <schwab@suse.de>
27989         [BZ #15218]
27990         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27991         to determine canonical name.
27993 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27995         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27996         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27997         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27998         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27999         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28000         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28001         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28002         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28003         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28004         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28005         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28006         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28007         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28008         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28009         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28010         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28011         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28012         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28013         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28014         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28015         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28016         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28017         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28018         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28019         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28020         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28021         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28022         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28023         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28024         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28025         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28026         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28027         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28028         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28029         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28030         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28031         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28032         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28033         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28034         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28035         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28036         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28037         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28038         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28039         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28040         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28041         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28042         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28043         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28044         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28045         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28046         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28047         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28048         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28049         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28050         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28051         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28052         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28054 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
28056         [BZ #16041]
28057         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28058         make result into a quiet NaN.
28060 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
28062         * soft-fp/adddf3.c: Fix horizontal whitespace.
28063         * soft-fp/addsf3.c: Likewise.
28064         * soft-fp/addtf3.c: Likewise.
28065         * soft-fp/divdf3.c: Likewise.
28066         * soft-fp/divsf3.c: Likewise.
28067         * soft-fp/divtf3.c: Likewise.
28068         * soft-fp/double.h: Likewise.
28069         * soft-fp/eqdf2.c: Likewise.
28070         * soft-fp/eqsf2.c: Likewise.
28071         * soft-fp/eqtf2.c: Likewise.
28072         * soft-fp/extenddftf2.c: Likewise.
28073         * soft-fp/extended.h: Likewise.
28074         * soft-fp/extendsfdf2.c: Likewise.
28075         * soft-fp/extendsftf2.c: Likewise.
28076         * soft-fp/extendxftf2.c: Likewise.
28077         * soft-fp/fixdfdi.c: Likewise.
28078         * soft-fp/fixdfsi.c: Likewise.
28079         * soft-fp/fixdfti.c: Likewise.
28080         * soft-fp/fixsfdi.c: Likewise.
28081         * soft-fp/fixsfsi.c: Likewise.
28082         * soft-fp/fixsfti.c: Likewise.
28083         * soft-fp/fixtfdi.c: Likewise.
28084         * soft-fp/fixtfsi.c: Likewise.
28085         * soft-fp/fixtfti.c: Likewise.
28086         * soft-fp/fixunsdfdi.c: Likewise.
28087         * soft-fp/fixunsdfsi.c: Likewise.
28088         * soft-fp/fixunsdfti.c: Likewise.
28089         * soft-fp/fixunssfdi.c: Likewise.
28090         * soft-fp/fixunssfsi.c: Likewise.
28091         * soft-fp/fixunssfti.c: Likewise.
28092         * soft-fp/fixunstfdi.c: Likewise.
28093         * soft-fp/fixunstfsi.c: Likewise.
28094         * soft-fp/fixunstfti.c: Likewise.
28095         * soft-fp/floatdidf.c: Likewise.
28096         * soft-fp/floatdisf.c: Likewise.
28097         * soft-fp/floatditf.c: Likewise.
28098         * soft-fp/floatsidf.c: Likewise.
28099         * soft-fp/floatsisf.c: Likewise.
28100         * soft-fp/floatsitf.c: Likewise.
28101         * soft-fp/floattidf.c: Likewise.
28102         * soft-fp/floattisf.c: Likewise.
28103         * soft-fp/floattitf.c: Likewise.
28104         * soft-fp/floatundidf.c: Likewise.
28105         * soft-fp/floatundisf.c: Likewise.
28106         * soft-fp/floatunditf.c: Likewise.
28107         * soft-fp/floatunsidf.c: Likewise.
28108         * soft-fp/floatunsisf.c: Likewise.
28109         * soft-fp/floatunsitf.c: Likewise.
28110         * soft-fp/floatuntidf.c: Likewise.
28111         * soft-fp/floatuntisf.c: Likewise.
28112         * soft-fp/floatuntitf.c: Likewise.
28113         * soft-fp/fmadf4.c: Likewise.
28114         * soft-fp/fmasf4.c: Likewise.
28115         * soft-fp/fmatf4.c: Likewise.
28116         * soft-fp/gedf2.c: Likewise.
28117         * soft-fp/gesf2.c: Likewise.
28118         * soft-fp/getf2.c: Likewise.
28119         * soft-fp/ledf2.c: Likewise.
28120         * soft-fp/lesf2.c: Likewise.
28121         * soft-fp/letf2.c: Likewise.
28122         * soft-fp/muldf3.c: Likewise.
28123         * soft-fp/mulsf3.c: Likewise.
28124         * soft-fp/multf3.c: Likewise.
28125         * soft-fp/negdf2.c: Likewise.
28126         * soft-fp/negsf2.c: Likewise.
28127         * soft-fp/negtf2.c: Likewise.
28128         * soft-fp/op-1.h: Likewise.
28129         * soft-fp/op-2.h: Likewise.
28130         * soft-fp/op-4.h: Likewise.
28131         * soft-fp/op-8.h: Likewise.
28132         * soft-fp/op-common.h: Likewise.
28133         * soft-fp/quad.h: Likewise.
28134         * soft-fp/single.h: Likewise.
28135         * soft-fp/soft-fp.h: Likewise.
28136         * soft-fp/sqrtdf2.c: Likewise.
28137         * soft-fp/sqrtsf2.c: Likewise.
28138         * soft-fp/sqrttf2.c: Likewise.
28139         * soft-fp/subdf3.c: Likewise.
28140         * soft-fp/subsf3.c: Likewise.
28141         * soft-fp/subtf3.c: Likewise.
28142         * soft-fp/truncdfsf2.c: Likewise.
28143         * soft-fp/trunctfdf2.c: Likewise.
28144         * soft-fp/trunctfsf2.c: Likewise.
28145         * soft-fp/trunctfxf2.c: Likewise.
28146         * soft-fp/unorddf2.c: Likewise.
28147         * soft-fp/unordsf2.c: Likewise.
28148         * soft-fp/unordtf2.c: Likewise.
28150 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
28152         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28153         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28155 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
28157         * elf/dl-libc.c: Clear initfini list after freeing.
28159 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
28161         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28162         * soft-fp/addsf3.c: Likewise.
28163         * soft-fp/addtf3.c: Likewise.
28164         * soft-fp/divdf3.c: Likewise.
28165         * soft-fp/divsf3.c: Likewise.
28166         * soft-fp/divtf3.c: Likewise.
28167         * soft-fp/double.h: Likewise.
28168         * soft-fp/eqdf2.c: Likewise.
28169         * soft-fp/eqsf2.c: Likewise.
28170         * soft-fp/eqtf2.c: Likewise.
28171         * soft-fp/extenddftf2.c: Likewise.
28172         * soft-fp/extended.h: Likewise.
28173         * soft-fp/extendsfdf2.c: Likewise.
28174         * soft-fp/extendsftf2.c: Likewise.
28175         * soft-fp/extendxftf2.c: Likewise.
28176         * soft-fp/fixdfdi.c: Likewise.
28177         * soft-fp/fixdfsi.c: Likewise.
28178         * soft-fp/fixdfti.c: Likewise.
28179         * soft-fp/fixsfdi.c: Likewise.
28180         * soft-fp/fixsfsi.c: Likewise.
28181         * soft-fp/fixsfti.c: Likewise.
28182         * soft-fp/fixtfdi.c: Likewise.
28183         * soft-fp/fixtfsi.c: Likewise.
28184         * soft-fp/fixtfti.c: Likewise.
28185         * soft-fp/fixunsdfdi.c: Likewise.
28186         * soft-fp/fixunsdfsi.c: Likewise.
28187         * soft-fp/fixunsdfti.c: Likewise.
28188         * soft-fp/fixunssfdi.c: Likewise.
28189         * soft-fp/fixunssfsi.c: Likewise.
28190         * soft-fp/fixunssfti.c: Likewise.
28191         * soft-fp/fixunstfdi.c: Likewise.
28192         * soft-fp/fixunstfsi.c: Likewise.
28193         * soft-fp/fixunstfti.c: Likewise.
28194         * soft-fp/floatdidf.c: Likewise.
28195         * soft-fp/floatdisf.c: Likewise.
28196         * soft-fp/floatditf.c: Likewise.
28197         * soft-fp/floatsidf.c: Likewise.
28198         * soft-fp/floatsisf.c: Likewise.
28199         * soft-fp/floatsitf.c: Likewise.
28200         * soft-fp/floattidf.c: Likewise.
28201         * soft-fp/floattisf.c: Likewise.
28202         * soft-fp/floattitf.c: Likewise.
28203         * soft-fp/floatundidf.c: Likewise.
28204         * soft-fp/floatundisf.c: Likewise.
28205         * soft-fp/floatunsidf.c: Likewise.
28206         * soft-fp/floatunsisf.c: Likewise.
28207         * soft-fp/floatuntidf.c: Likewise.
28208         * soft-fp/floatuntisf.c: Likewise.
28209         * soft-fp/floatuntitf.c: Likewise.
28210         * soft-fp/fmadf4.c: Likewise.
28211         * soft-fp/fmasf4.c: Likewise.
28212         * soft-fp/fmatf4.c: Likewise.
28213         * soft-fp/gedf2.c: Likewise.
28214         * soft-fp/gesf2.c: Likewise.
28215         * soft-fp/getf2.c: Likewise.
28216         * soft-fp/ledf2.c: Likewise.
28217         * soft-fp/lesf2.c: Likewise.
28218         * soft-fp/letf2.c: Likewise.
28219         * soft-fp/muldf3.c: Likewise.
28220         * soft-fp/mulsf3.c: Likewise.
28221         * soft-fp/multf3.c: Likewise.
28222         * soft-fp/negdf2.c: Likewise.
28223         * soft-fp/negsf2.c: Likewise.
28224         * soft-fp/negtf2.c: Likewise.
28225         * soft-fp/op-1.h: Likewise.
28226         * soft-fp/op-2.h: Likewise.
28227         * soft-fp/op-4.h: Likewise.
28228         * soft-fp/op-8.h: Likewise.
28229         * soft-fp/op-common.h: Likewise.
28230         * soft-fp/quad.h: Likewise.
28231         * soft-fp/single.h: Likewise.
28232         * soft-fp/soft-fp.h: Likewise.
28233         * soft-fp/sqrtdf2.c: Likewise.
28234         * soft-fp/sqrtsf2.c: Likewise.
28235         * soft-fp/sqrttf2.c: Likewise.
28236         * soft-fp/subdf3.c: Likewise.
28237         * soft-fp/subsf3.c: Likewise.
28238         * soft-fp/subtf3.c: Likewise.
28239         * soft-fp/truncdfsf2.c: Likewise.
28240         * soft-fp/trunctfdf2.c: Likewise.
28241         * soft-fp/trunctfsf2.c: Likewise.
28242         * soft-fp/trunctfxf2.c: Likewise.
28243         * soft-fp/unorddf2.c: Likewise.
28244         * soft-fp/unordsf2.c: Likewise.
28245         * soft-fp/unordtf2.c: Likewise.
28247 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
28249         [BZ #15672]
28250         * misc/error.c (error_tail): Fix possible buffer overflow.
28252 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
28254         [BZ #13028]
28255         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28256         address.
28258 2013-10-14  P. J. McDermott  <pj@pehjota.net>
28260         [BZ #832]
28261         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
28262         testing pipefail option.
28264 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28266         * soft-fp/double.h: Indent preprocessor directives inside #if.
28267         * soft-fp/extended.h: Likewise.
28268         * soft-fp/op-2.h: Likewise.
28269         * soft-fp/op-4.h: Likewise.
28270         * soft-fp/op-common.h: Likewise.
28271         * soft-fp/quad.h: Likewise.
28272         * soft-fp/single.h: Likewise.
28273         * soft-fp/soft-fp.h: Likewise.
28275 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
28277         * iconv/iconv_prog.c: Fix typos.
28278         * stdio-common/psiginfo-data.h: Likewise.
28280 2013-10-12   Reuben Thomas <rrt@sc3d.org>
28282         [BZ #15764]
28283         * locale/setlocale.c: Fix typo.
28285 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
28287         [BZ #16036]
28288         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28289         signaling NaN arguments.
28290         * soft-fp/unordsf2.c (__unordsf2): Likewise.
28291         * soft-fp/unordtf2.c (__unordtf2): Likewise.
28293         [BZ #14910]
28294         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28295         unordered operands.
28296         * soft-fp/gesf2.c (__gesf2): Likewise.
28297         * soft-fp/getf2.c (__getf2): Likewise.
28298         * soft-fp/ledf2.c (__ledf2): Likewise.
28299         * soft-fp/lesf2.c (__lesf2): Likewise.
28300         * soft-fp/letf2.c (__letf2): Likewise.
28302         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28303         * soft-fp/eqsf2.c (__eqsf2): Likewise.
28304         * soft-fp/eqtf2.c (__eqtf2): Likewise.
28305         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28306         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28307         * soft-fp/fixdfti.c (__fixdfti): Likewise.
28308         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28309         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28310         * soft-fp/fixsfti.c (__fixsfti): Likewise.
28311         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28312         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28313         * soft-fp/fixtfti.c (__fixtfti): Likewise.
28314         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28315         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28316         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28317         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28318         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28319         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28320         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28321         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28322         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28323         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28324         * soft-fp/floatdisf.c (__floatdisf): Likewise.
28325         * soft-fp/floatsisf.c (__floatsisf): Likewise.
28326         * soft-fp/floattidf.c (__floattidf): Likewise.
28327         * soft-fp/floattisf.c (__floattisf): Likewise.
28328         * soft-fp/floattitf.c (__floattitf): Likewise.
28329         * soft-fp/floatundidf.c (__floatundidf): Likewise.
28330         * soft-fp/floatundisf.c (__floatundisf): Likewise.
28331         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28332         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28333         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28334         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28335         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28336         * soft-fp/gesf2.c (__gesf2): Likewise.
28337         * soft-fp/getf2.c (__getf2): Likewise.
28338         * soft-fp/ledf2.c (__ledf2): Likewise.
28339         * soft-fp/lesf2.c (__lesf2): Likewise.
28340         * soft-fp/letf2.c (__letf2): Likewise.
28342         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28343         Undefine and redefine.
28344         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28345         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28346         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28347         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28348         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28349         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28350         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28351         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28352         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28353         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28354         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28355         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28356         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28357         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28358         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28360         [BZ #16032]
28361         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28362         without decrementing exponent if mantissa >= that for the
28363         denominator, not >.
28364         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28365         denominator, not >.  Decrement exponent in < case instead of
28366         incrementing in >= case.
28367         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28368         without decrementing exponent if mantissa >= that for the
28369         denominator, not >.
28371         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28372         computing saturated result for unsigned overflow.
28374 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28375             Jeff Law  <law@redhat.com>
28377         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28378         (atan2Mp): Add systemtap probe marker.
28379         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28380         (__ieee754_log): Add systemtap probe marker.
28381         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28382         (atanMp): Add systemtap probe marker.
28383         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28384         (tanMp): Add systemtap probe marker.
28385         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28386         (__slowexp): Add systemtap probe marker.
28387         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28388         (__slowpow): Add systemtap probe marker.
28389         * manual/probes.texi: Document probes.
28391 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
28393         [BZ #15362]
28394         * libio/fileops.c (_IO_new_file_write): Return count of bytes
28395         written.
28396         (_IO_new_file_xsputn): Don't return EOF if nothing has been
28397         written.
28398         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28399         written to buffer but not flushed.
28400         * libio/iofwrite_u.c:  Likewise.
28401         * libio/iopadn.c:  Return bytes returned even if EOF was
28402         encountered.
28403         * libio/iowpadn.c:  Likewise.
28404         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28405         if _IO_padn does not write the whole buffer.
28406         [!COMPILE_WPRINTF] (PAD): Likewise.
28408 2013-10-10  David S. Miller  <davem@davemloft.net>
28410         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28411         directory block.
28413 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28415         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
28416         instead of FSF address.
28417         * soft-fp/fixdfti.c: Likewise.
28418         * soft-fp/fixsfti.c: Likewise.
28419         * soft-fp/fixtfti.c: Likewise.
28420         * soft-fp/fixunsdfti.c: Likewise.
28421         * soft-fp/fixunssfti.c: Likewise.
28422         * soft-fp/fixunstfti.c: Likewise.
28423         * soft-fp/floattidf.c: Likewise.
28424         * soft-fp/floattisf.c: Likewise.
28425         * soft-fp/floattitf.c: Likewise.
28426         * soft-fp/floatuntidf.c: Likewise.
28427         * soft-fp/floatuntisf.c: Likewise.
28428         * soft-fp/floatuntitf.c: Likewise.
28429         * soft-fp/trunctfxf2.c: Likewise.
28431         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
28432         * soft-fp/fixdfti.c: Likewise.
28433         * soft-fp/fixsfti.c: Likewise.
28434         * soft-fp/fixtfti.c: Likewise.
28435         * soft-fp/fixunsdfti.c: Likewise.
28436         * soft-fp/fixunssfti.c: Likewise.
28437         * soft-fp/fixunstfti.c: Likewise.
28438         * soft-fp/floattidf.c: Likewise.
28439         * soft-fp/floattisf.c: Likewise.
28440         * soft-fp/floattitf.c: Likewise.
28441         * soft-fp/floatuntidf.c: Likewise.
28442         * soft-fp/floatuntisf.c: Likewise.
28443         * soft-fp/floatuntitf.c: Likewise.
28444         * soft-fp/trunctfxf2.c: Likewise.
28446 2013-10-10  David S. Miller  <davem@davemloft.net>
28448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28450 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
28452         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28453         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28454         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28455         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28456         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28457         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28458         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28460         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28461         for NaNs before doing comparisons on argument.
28462         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28463         Likewise.
28465 2013-10-10  Will Newton  <will.newton@linaro.org>
28467         * malloc/hooks.c (memalign_check): Ensure the value of bytes
28468         passed to _int_memalign does not overflow.
28470 2013-10-10  Torvald Riegel  <triegel@redhat.com>
28472         * scripts/bench.pl: Add include-sources directive.
28473         * benchtests/README: Update documentation.
28475 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
28477         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28478         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28479         instead of FP_INIT_ROUNDMODE.
28480         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28481         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28483         [BZ #16034]
28484         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
28485         copy class of input value.
28486         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
28487         not handle exceptions.
28488         * soft-fp/negsf2.c (__negsf2): Likewise.
28489         * soft-fp/negtf2.c (__negtf2): Likewise.
28490         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28492 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28494         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28495         semicolon.  From Linux kernel.
28497 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28499         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28501 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28503         [BZ #156]
28504         * manual/socket.texi: Added statement about buffer
28505         for gethostbyname2_r.
28507 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28509         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28510         Use .p2align directive instead, throughout.
28511         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28512         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28513         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28514         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28515         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28516         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28517         * sysdeps/x86_64/strchr.S: Likewise.
28518         * sysdeps/x86_64/strrchr.S: Likewise.
28520 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28522         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28524         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28526         * sysdeps/generic/math_private.h (__mpsin1): Remove
28527         declaration.
28528         (__mpcos1): Likewise.
28529         (__mpsin): New argument __range_reduce.
28530         (__mpcos): Likewise.
28531         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28532         (slow): Use __mpsin and __mpcos.
28533         (slow1): Likewise.
28534         (slow2): Likewise.
28535         (sloww): Likewise.
28536         (sloww1): Likewise.
28537         (sloww2): Likewise.
28538         (bsloww): Likewise.
28539         (bsloww1): Likewise.
28540         (bsloww2): Likewise.
28541         (cslow2): Likewise.
28542         (csloww): Likewise.
28543         (csloww1): Likewise.
28544         (csloww2): Likewise.
28545         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28546         range_reduce.  Merge in __mpsin1.
28547         (__mpcos): Likewise.
28548         (__mpsin1): Remove.
28549         (__mpcos1): Likewise.
28551 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28553         * locale/loadlocale.c (_nl_intern_locale_data): Use
28554         LOCFILE_ALIGNED_P.
28555         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28556         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28557         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28558         obstack data is appropriately aligned.
28559         (obstack_int32_grow_fast): Likewise.
28560         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28561         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28562         (add_locale_uint32_array): Likewise.
28564 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28566         * benchtests/Makefile: Remove ARGLIST and RET variables.
28567         ($(objpfx)bench-%.c): Pass only function name to the script.
28568         * benchtests/README: Update documentation.
28569         * benchtests/acos-inputs: Add new directives.
28570         * benchtests/acosh-inputs: Likewise.
28571         * benchtests/asin-inputs: Likewise.
28572         * benchtests/asinh-inputs: Likewise.
28573         * benchtests/atan-inputs: Likewise.
28574         * benchtests/atanh-inputs: Likewise.
28575         * benchtests/cos-inputs: Likewise.
28576         * benchtests/cosh-inputs: Likewise.
28577         * benchtests/exp-inputs: Likewise.
28578         * benchtests/log-inputs: Likewise.
28579         * benchtests/pow-inputs: Likewise.
28580         * benchtests/rint-inputs: Likewise.
28581         * benchtests/sin-inputs: Likewise.
28582         * benchtests/sinh-inputs: Likewise.
28583         * benchtests/tan-inputs: Likewise.
28584         * benchtests/tanh-inputs: Likewise.
28585         * scripts/bench.pl: Add support for new directives.
28587 2013-10-07  Alan Modra  <amodra@gmail.com>
28589         * README: Fix careless merge.
28591 2013-10-05  Alan Modra  <amodra@gmail.com>
28593         * NEWS: Mention powerpc64le support and bugs fixed.
28594         * README: Both big-endian and little-endian powerpc64 supported.
28596 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28598         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28599         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28600         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28601         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28603 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28605         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28606         match prototype.
28608 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28610         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28611         Move -mhard-float appending from
28612         ports/sysdeps/powerpc/powerpc32/Makefile.
28613         [$(with-fp) = yes] (ASFLAGS): Likewise.
28614         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28615         * sysdeps/powerpc/nofpu: Move directory from
28616         ports/sysdeps/powerpc/nofpu.
28617         * sysdeps/powerpc/soft-fp: Move directory from
28618         ports/sysdeps/powerpc/soft-fp.
28619         * sysdeps/powerpc/powerpc32/405: Move directory from
28620         ports/sysdeps/powerpc/powerpc32/405.
28621         * sysdeps/powerpc/powerpc32/440: Move directory from
28622         ports/sysdeps/powerpc/powerpc32/440.
28623         * sysdeps/powerpc/powerpc32/464: Move directory from
28624         ports/sysdeps/powerpc/powerpc32/464.
28625         * sysdeps/powerpc/powerpc32/476: Move directory from
28626         ports/sysdeps/powerpc/powerpc32/476.
28627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28628         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28630         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28632         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28634         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28636         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28637         * README: Update for powerpc-*-linux-gnu software floating point
28638         support in libc.
28640         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28641         case to powerpc/powerpc32*.
28642         * sysdeps/unix/sysv/linux/configure: Regenerated.
28644         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28645         (_FPU_MASK_OM): Define as 0x04.
28646         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28647         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28648         0x00c10080.
28649         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28650         0x0000003c.
28651         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28654         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28655         getcontext_e500.
28656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28657         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28658         setcontext_e500.
28659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28660         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28661         and setcontext_e500.
28663 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28665         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28667 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28669         * manual/threads.texi (Default Thread Attributes): Fix typo.
28671 2013-10-04  Will Newton  <will.newton@linaro.org>
28673         * malloc/Makefile: Add tst-memalign.
28674         * malloc/tst-memalign.c: New file.
28676         * malloc/tst-posix_memalign.c: Add comments.
28677         (do_test): Add comments and call free on all potentially
28678         allocated pointers. Add space after cast.
28680         * malloc/tst-pvalloc.c: Add comments.
28681         (do_test): Add comments and call free on all potentially
28682         allocated pointers. Remove duplicate check for NULL pointer.
28683         Add space after cast.
28685         * malloc/tst-valloc.c: Add comments.
28686         (do_test): Add comments and call free on all potentially
28687         allocated pointers. Remove duplicate check for NULL pointer.
28688         Add space after cast.
28690 2013-10-04  Alan Modra  <amodra@gmail.com>
28692         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28693         Use stdint types in rather than __attribute__((mode())).
28694         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28696 2013-10-04  Alan Modra  <amodra@gmail.com>
28698         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28699         Correct handling of unaligned relocs for little-endian.
28700         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28702 2013-10-04  Alan Modra  <amodra@gmail.com>
28704         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28705         * configure: Regenerate.
28706         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28707         * shlib-versions: Likewise.
28709 2013-10-04  Alan Modra  <amodra@gmail.com>
28711         * string/tester.c (test_memrchr): Increment reported test cycle.
28713 2013-10-04  Alan Modra  <amodra@gmail.com>
28715         * string/test-memcpy.c (do_one_test): When reporting errors, print
28716         string address and don't overrun end of string.
28718 2013-10-04  Alan Modra  <amodra@gmail.com>
28720         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28721         insrdi.  Make better use of reg selection to speed exit slightly.
28722         Schedule entry path a little better.  Remove useless "are we done"
28723         checks on entry to main loop.  Handle wrapping around zero address.
28724         Correct main loop count.  Handle single left-over word from main
28725         loop inline rather than by using loop_small.  Remove extra word
28726         case in loop_small caused by wrong loop count.  Add little-endian
28727         support.
28728         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28729         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28730         cache hint.
28731         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28732         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28733         support.  Avoid rlwimi.
28734         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28736 2013-10-04  Alan Modra  <amodra@gmail.com>
28738         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28739         insrdi.  Formatting.
28740         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28741         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28742         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28743         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28744         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28745         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28747 2013-10-04  Alan Modra  <amodra@gmail.com>
28749         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28750         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28751         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28752         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28753         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28754         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28755         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28756         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28757         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28758         use of regs.  Use power7 mtocrf.  Tidy function tails.
28760 2013-10-04  Alan Modra  <amodra@gmail.com>
28762         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28763         Formatting.  Consistently use rXXX register defines or rN defines.
28764         Use early exit labels that avoid restoring unused non-volatile regs.
28765         Make cr field use more consistent with rWORDn compares.  Rename
28766         regs used as shift registers for unaligned loop, using rN defines
28767         for short lifetime/multiple use regs.
28768         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28769         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28770         addi 1,1,64 to pop stack frame.  Simplify return value code.
28771         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28773 2013-10-04  Alan Modra  <amodra@gmail.com>
28775         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28776         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28777         rather than rlwimi.
28778         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28779         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28780         little-endian support.  Correct typos.
28781         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28782         rather than rlwimi.
28783         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28784         in loop and entry code to keep "and." results.
28785         (strchr): Add little-endian support.  Comment.  Move cntlzd
28786         earlier in tail.
28787         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28789 2013-10-04  Alan Modra  <amodra@gmail.com>
28791         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28792         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28793         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28794         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28796 2013-10-04  Alan Modra  <amodra@gmail.com>
28798         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28799         (rTMP): Define as r11.
28800         (strcmp): Add little-endian support.  Optimise tail.
28801         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28802         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28803         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28804         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28805         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28806         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28807         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28809 2013-10-04  Alan Modra  <amodra@gmail.com>
28811         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28812         little-endian support.  Remove unnecessary "are we done" tests.
28813         Handle "s" wrapping around zero and extremely large "size".
28814         Correct main loop count.  Handle single left-over word from main
28815         loop inline rather than by using small_loop.  Correct comments.
28816         Delete "zero" tail, use "end_max" instead.
28817         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28819 2013-10-04  Alan Modra  <amodra@gmail.com>
28821         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28822         support.  Don't branch over align.
28823         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28824         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28825         support.  Rearrange tmp reg use to suit.  Comment.
28826         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28828 2013-10-04  Alan Modra  <amodra@gmail.com>
28830         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28832 2013-10-04  Alan Modra  <amodra@gmail.com>
28834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28835         conditional form of branch and link when obtaining pc.
28836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28838 2013-10-04  Alan Modra  <amodra@gmail.com>
28840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28841         HIWORD/LOWORD.
28842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28845 2013-10-04  Alan Modra  <amodra@gmail.com>
28847         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28848         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28849         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28850         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28851         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28852         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28853         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28854         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28855         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28856         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28858 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28859             Alistair Popple <alistair@ozlabs.au.ibm.com>
28860             Alan Modra <amodra@gmail.com>
28862         [BZ #15723]
28863         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28864         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28865         _dl_hwcap access for little-endian.
28866         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28867         destroy vmx regs when saving unaligned.
28868         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28869         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28870         destroy vmx regs when saving unaligned.
28872 2013-10-04  Alan Modra  <amodra@gmail.com>
28874         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28875         Don't use a union to pack hi/low value.
28877 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28879         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28880         for little-endian.
28881         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28882         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28883         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28884         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28885         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28887 2013-10-04  Alan Modra  <amodra@gmail.com>
28889         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28890         constants to usual value for .cst8 section, and remove redundant
28891         high address load.
28892         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28893         constant for 0x1p52.  Load little-endian words of double from
28894         correct stack offsets.
28896 2013-10-04  Alan Modra  <amodra@gmail.com>
28898         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28899         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28900         words of double from correct stack offsets.
28901         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28902         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28903         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28904         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28905         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28906         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28907         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28908         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28909         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28910         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28911         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28912         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28913         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28914         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28915         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28916         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28917         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28919 2013-10-04  Alan Modra  <amodra@gmail.com>
28921         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28922         64-bit int/double union.
28923         (_FPU_SETCW): Likewise.
28924         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28925         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28927 2013-10-04  Alan Modra  <amodra@gmail.com>
28929         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28930         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28932 2013-10-04  Alan Modra  <amodra@gmail.com>
28934         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28935         use vector int constants.
28936         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28938 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28940         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28941         array with long long.
28942         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28943         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28944         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28945         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28946         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28947         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28948         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28949         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28950         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28951         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28952         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28953         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28954         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28956 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28958         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28959         (__signbit): Likewise.  Correct for little-endian.
28960         (__signbitl): Call __signbit.
28961         (lrint): Correct for little-endian.
28962         (lrintf): Call lrint.
28964 2013-10-04  Alan Modra  <amodra@gmail.com>
28966         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28967         union 32-bit int array member with 64-bit int array.
28968         (t515, tm256): Double rather than long double.
28969         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28971 2013-10-04  Alan Modra  <amodra@gmail.com>
28973         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28974         Delete.
28975         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28976         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28977         version of math_ldbl.h.
28979 2013-10-04  Alan Modra  <amodra@gmail.com>
28981         [BZ #15734], [BZ #15735]
28982         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28983         all uses of ieee875 long double macros and unions.  Simplify test
28984         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28985         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28986         normalize after ldbl_extract_mantissa, and don't add hidden bit
28987         already handled.  Don't treat low word of ieee854 mantissa like
28988         low word of IBM long double and mask off bit when testing for
28989         zero.
28990         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28991         all uses of ieee875 long double macros and unions.  Simplify tests
28992         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28993         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28994         two1022, instead use their values.  Recognise that tests for large
28995         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28996         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28997         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28998         test for 0.0L and nan.  Correct negation.
28999         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29000         ieee875 long double macros and unions.  Correct output for large
29001         magnitude x.  Correct absolute value calculation.
29002         (__erfcl): Likewise.
29003         * math/libm-test.inc: Add tests for errors discovered in IBM long
29004         double versions of fmodl, remainderl, erfl and erfcl.
29006 2013-10-04  Alan Modra  <amodra@gmail.com>
29008         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29009         all uses of ieee854 long double macros and unions.  Simplify tests
29010         for long doubles that are fully specified by the high double.
29011         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29012         Likewise.
29013         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29014         Remove dead code too.
29015         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29016         (__ieee754_ynl): Likewise.
29017         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29018         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29019         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29020         Remove dead code too.
29021         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29022         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29023         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29024         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29025         Simplify.
29026         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29027         Simplify.
29028         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29029         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29030         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29031         Comment on variable precision.
29032         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29033         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29034         Likewise.
29035         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29036         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29037         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29038         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29039         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29041 2013-10-04  Alan Modra  <amodra@gmail.com>
29043         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29044         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29045         all uses of ieee854 long double macros and unions.
29046         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29047         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29048         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29049         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29050         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29051         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29052         Likewise.
29053         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29054         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29055         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29056         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29057         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29058         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29059         Simplify sign and nan test too.
29060         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29061         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29062         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29063         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29064         Likewise.
29065         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29066         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29067         Likewise.
29068         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29069         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29070         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29071         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29072         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29073         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29075 2013-10-04  Alan Modra  <amodra@gmail.com>
29077         * stdio-common/printf_size.c (__printf_size): Don't use
29078         union ieee854_long_double in fpnum union.
29079         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
29080         signbit macro to retrieve sign from long double.
29081         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29082         retrieve sign from long double.
29083         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29084         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29085         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29086         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29087         * math/test-misc.c (main): Don't use union ieee854_long_double.
29089 2013-10-04  Alan Modra  <amodra@gmail.com>
29091         [BZ #15680]
29092         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29093         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29094         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29095         calculation.  Remove unnecessary test for denormal exponent.
29096         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29097         Correct handling of denormals.  Avoid undefined shift behaviour.
29098         Correct normalisation of low mantissa when low double is denormal.
29099         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29100         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
29101         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29102         Correct normalisation of low mantissa.  Test for overflow of high
29103         mantissa and normalise.
29104         (ldbl_nearbyint): Use more readable constant for two52.
29105         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29106         (__mpn_construct_long_double): Fix test for overflow of high
29107         mantissa and correct normalisation.  Avoid undefined shift.
29109 2013-10-04  Alan Modra  <amodra@gmail.com>
29111         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29112         (union ibm_extended_long_double): Define as an array of ieee754_double.
29113         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29114         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29115         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29116         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29117         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29118         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29119         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29120         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29121         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29122         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29123         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29125 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
29127         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29128         page size instead of calling getpagesize.
29130         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29131         (LOCFILE_ALIGN_MASK): Likewise.
29132         (LOCFILE_ALIGN_UP): Likewise.
29133         (LOCFILE_ALIGNED_P): Likewise.
29134         * locale/programs/ld-collate.c (collate_output): Use the new
29135         macros instead of __alignof__ (int32_t).
29136         * locale/weight.h (findidx): Likewise.
29138 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
29140         [BZ #431]
29141         * manual/string.texi: Fix strncat and wcsncat.
29143 2013-10-03  Brooks Moses  <bmoses@google.com>
29145         [BZ #15915]
29146         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29147         * Makerules: ...here, and adjust associated comments.
29149 2013-10-02  Will Newton  <will.newton@linaro.org>
29151         * malloc/Makefile: Add tst-pvalloc.
29152         * malloc/tst-pvalloc.c: New file.
29154 2013-10-02  Will Newton  <will.newton@linaro.org>
29156         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29157         improve test coverage.
29159 2013-10-02  Will Newton  <will.newton@linaro.org>
29161         * malloc/Makefile: Add tst-posix_memalign.
29162         * malloc/tst-posix_memalign.c: New file.
29164 2013-10-01  Eric Blake  <eblake@redhat.com>
29166         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29167         Use __THROWNL rather than __THROW on static functions.
29169 2013-09-30  Petr Machata  <pmachata@redhat.com>
29171         * elf/elf.h (R_AARCH64_ABS16): New macro.
29172         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29173         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29174         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29175         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29176         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29177         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29178         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29179         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29180         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29181         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29182         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29183         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29184         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29185         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29186         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29187         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29188         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29189         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29190         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29191         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29192         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29193         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29194         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29195         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29196         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29197         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29198         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29199         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29200         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29201         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29202         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29203         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29204         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29205         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29206         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29207         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29208         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29209         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29210         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29211         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29212         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29213         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29214         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29215         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29216         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29217         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29218         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29219         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29220         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29221         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29222         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29223         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29224         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29225         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29226         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29227         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29228         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29229         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29230         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29231         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29232         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29233         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29234         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29235         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29236         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29237         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29238         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29239         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29240         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29241         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29242         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29243         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29244         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29245         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29246         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29247         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29248         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29249         (R_AARCH64_TLSDESC_LDR): Likewise.
29250         (R_AARCH64_TLSDESC_ADD): Likewise.
29251         (R_AARCH64_TLSDESC_CALL): Likewise.
29253 2013-09-30  Andreas Schwab  <schwab@suse.de>
29255         [BZ #15048]
29256         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29257         the nss database lookup.
29258         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29259         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29261 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
29263         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29265 2013-09-28  P. J. McDermott  <pj@pehjota.net>
29267         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29268         ${Bash-specific parameter/pattern/string} parameter expansion.
29269         * sysdeps/unix/make-syscalls.sh: Likewise.
29271 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29273         * sysdeps/sh/stackguard-macros.h: New file.
29275 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
29277         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29278         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29279         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29280         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29281         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29282         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29284 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29286         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29287         Fix thread ID register.
29289 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
29291         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29292         [POSIX || UNIX98]: Require rather than permitting all symbols from
29293         <time.h>.
29294         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29295         element of struct sched_param.
29296         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29297         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29298         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29299         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29300         constant.
29302 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
29304         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29305         argument calculation.
29307 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29309         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29310         Expect macro.
29311         [POSIX] (pthread_attr_t): Do not require type.
29312         [POSIX] (pthread_cond_t): Likewise.
29313         [POSIX] (pthread_condattr_t): Likewise.
29314         [POSIX] (pthread_key_t): Likewise.
29315         [POSIX] (pthread_mutex_t): Likewise.
29316         [POSIX] (pthread_mutexattr_t): Likewise.
29317         [POSIX] (pthread_once_t): Likewise.
29318         [POSIX] (pthread_t): Likewise.
29319         [POSIX-based standards] (pthread_atfork): Expect function.
29321 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
29322             Richard Sandiford  <richard@codesourcery.com>
29324         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29325         (swap_endianness_p): New extern variable.
29326         (set_big_endian): New inline function.
29327         (maybe_swap_uint32): Likewise.
29328         (maybe_swap_uint32_array): Likewise.
29329         (maybe_swap_uint32_obstack): Likewise.
29330         * locale/programs/locfile.c: Include <stdbool.h>.
29331         (swap_endianness_p): New variable.
29332         (add_locale_uint32): Call maybe_swap_uint32.
29333         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29334         (write_locale_data): Call maybe_swap_uint32_array.
29335         * locale/programs/ld-collate.c (obstack_int32_grow): Call
29336         maybe_swap_uint32.
29337         (obstack_int32_grow_fast): Likewise.
29338         (output_weightwc): Call maybe_swap_uint32_obstack.
29339         (collate_output): Likewise.
29340         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29341         (OPT_LITTLE_ENDIAN): Likewise.
29342         (options): Add --little-endian and --big-endian options.
29343         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29344         * locale/programs/locarchive.c: Include "locfile.h".
29345         (GET): New macro.
29346         (SET): Likewise.
29347         (INC): Likewise.
29348         (create_archive): Use the new macros to access fields of
29349         structures directly mapped from or written to locale archives.
29350         (oldlocrecentcmp): Likewise.
29351         (enlarge_archive): Likewise.
29352         (insert_name): Likewise.
29353         (add_alias): Likewise.
29354         (add_locale): Likewise.
29355         (delete_locales_from_archive): Likewise.
29356         (show_archive_content): Likewise.
29357         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
29358         locale data.
29360 2013-09-24  Roland McGrath  <roland@hack.frob.com>
29362         * manual/freemanuals.texi: Updated from (newly) canonical copy at
29363         http://www.gnu.org/doc/freemanuals.texi.
29364         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29366 2013-09-24  Will Newton  <will.newton@linaro.org>
29368         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29369         macro.
29371 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
29373         * locale/hashval.h (compute_hashval): Interpret bytes of key as
29374         unsigned char.
29376 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
29378         * manual/threads.texi (POSIX Threads): Fix a typo.
29380 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29382         [BZ #14547]
29383         * string/tst-strcoll-overflow.c: New test case.
29384         * string/Makefile (xtests): Add tst-strcoll-overflow.
29385         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29386         cache if string sizes may cause integer overflow.
29388         [BZ #14547]
29389         * string/strcoll_l.c (coll_seq): New members rule, idx,
29390         save_idx and back_us.
29391         (get_next_seq_nocache): New function.
29392         (do_compare_nocache): New function.
29393         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29394         when malloc fails.
29396 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
29398         [BZ #15754]
29399         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29400         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29401         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29403         [BZ #15754]
29404         * elf/Makefile (tests): Add tst-ptrguard1.
29405         (tests-static): Add tst-ptrguard1-static.
29406         (tst-ptrguard1-ARGS): Define.
29407         (tst-ptrguard1-static-ARGS): Define.
29408         * elf/tst-ptrguard1.c: New file.
29409         * elf/tst-ptrguard1-static.c: New file.
29410         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29411         * sysdeps/i386/stackguard-macros.h: Likewise.
29412         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29413         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29414         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29415         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29416         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29417         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29419 2013-09-23  Hector Marco  <hecmargi@upv.es>
29420             Ismael Ripoll  <iripoll@disca.upv.es>
29421             Carlos O'Donell  <carlos@redhat.com>
29423         [BZ #15754]
29424         * sysdeps/generic/stackguard-macros.h: Define
29425         __pointer_chk_guard_local and POINTER_CHK_GUARD.
29426         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29427         Define __pointer_chk_guard_local.
29428         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29429         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29431 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
29433         [BZ #15859]
29434         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29436 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
29438         * include/string.h (__ffs): Declare as hidden.
29439         * string/ffs.c (__ffs): Define as hidden.
29440         * sysdeps/i386/ffs.c (__ffs): Likewise.
29441         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29442         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29443         * sysdeps/s390/ffs.c (__ffs): Likewise.
29444         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29446 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
29448         * NEWS: Mention malloc probes.
29450         * malloc/arena.c (new_heap): New memory_heap_new probe.
29451         (grow_heap): New memory_heap_more probe.
29452         (shrink_heap): New memory_heap_less probe.
29453         (heap_trim): New memory_heap_free probe.
29454         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29455         (systrim): New memory_sbrk_less probe.
29456         * manual/probes.texi: Document them.
29458         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29459         * manual/probes.texi: Document it.
29461         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29462         (__libc_realloc): Add memory_realloc_retry probe.
29463         (__libc_memalign): Add memory_memalign_retry probe.
29464         (__libc_valloc): Add memory_valloc_retry probe.
29465         (__libc_pvalloc): Add memory_pvalloc_retry probe.
29466         (__libc_calloc): Add memory_calloc_retry probe.
29467         * manual/probes.texi: Document them.
29469         * malloc/arena.c (get_free_list): Add probe
29470         memory_arena_reuse_free_list.
29471         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29472         and memory_arena_reuse.
29473         (arena_get2) [!PER_THREAD]: Likewise.
29474         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29475         memory_arena_reuse_realloc.
29476         * manual/probes.texi: Document them.
29478         * malloc/malloc.c (__libc_free): Add
29479         memory_mallopt_free_dyn_thresholds probe.
29480         (__libc_mallopt): Add multiple memory_mallopt probes.
29481         * manual/probes.texi: Document them.
29483         * malloc/malloc.c: Include stap-probe.h.
29484         (__libc_mallopt): Add memory_mallopt probe.
29485         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29486         * manual/probes.texi: New.
29487         * manual/Makefile (chapters): Add probes.
29488         * manual/threads.texi: Set next node.
29490 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
29492         [BZ #15963, #13985]
29493         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29494         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29495         Add `Chinese' to `nan' entry name.
29497 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29499         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29500         (POLYNOMIAL): Likewise.
29501         (TAYLOR_SINCOS): Likewise.
29502         (TAYLOR_SLOW): Likewise.
29503         (__sin): Use TAYLOR_SINCOS.
29504         (__cos): Likewise.
29505         (slow): Use TAYLOR_SLOW.
29506         (sloww): Likewise.
29507         (bsloww): Likewise.
29508         (csloww): Likewise.
29510 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29512         * stdlib/strtod_l.c: Fix buffer overrun.
29514 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29516         * benchtests/Makefile (bench): Add sincos.
29517         * benchtests/bench-sincos.c: New file.
29519         * math/libm-test.inc (cos_test_data): New test inputs.
29520         (sin_test_data): Likewise.
29522         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29523         macro.
29524         (__sin): Use it.
29525         (__cos): Likewise.
29526         (slow1): Likewise.
29527         (slow2): Likewise.
29528         (sloww1): Likewise.
29529         (sloww2): Likewise.
29530         (bsloww1): Likewise.
29531         (bsloww2): Likewise.
29532         (cslow2): Likewise.
29533         (csloww1): Likewise.
29534         (csloww2): Likewise.
29536         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29537         function.
29538         (__sin): Use it.
29539         (__cos): Likewise.
29541         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29542         gotos.
29543         (__cos): Likewise.
29545 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29547         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29548         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29549         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29550         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29551         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29552         * elf/cache.c (print_entry): Handle the new cache flags.
29554 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29555             Aldy Hernandez  <aldyh@redhat.com>
29557         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29558         Change condition to [_SOFT_FLOAT].
29559         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29561         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29562         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29563         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29564         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29565         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29566         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29567         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29568         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29569         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29570         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29571         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29572         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29573         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29574         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29575         declaration.
29577 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29579         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29580         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29581         (__longjmp): Use LOAD_GP to load saved GPRs.
29582         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29583         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29584         (__sigsetjmp): Use SAVE_GP to save GPRs.
29586         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29587         Do not append -msoft-float.
29588         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29590 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29592         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29594 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29596         [BZ #15966]
29597         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29598         (_FPU_GETCW): Use initial "__" on variable and field names but not
29599         on macro parameter name.
29600         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29601         parentheses around reference to macro parameter.
29603 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29605         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29606         prototype.
29607         (ctype_startup): Use uint32_t in cast and sizeof for
29608         ctype->charnames.
29610 2013-09-11  Jia Liu  <proljc@gmail.com>
29612         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29613         __daddr_t_defined.
29614         [__FreeBSD__]: Likewise.
29616 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29618         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29619         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29620         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29621         (strchr): Remove __strchr_sse42 ifunc selection.
29622         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29623         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29625 2013-09-11  Will Newton  <will.newton@linaro.org>
29627         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29628         parameter to RES. Remove hardcoded 1000 value.
29629         * benchtests/bench-skeleton.c (main): Pass RES parameter
29630         to TIMING_INIT and multiply result by 1000.
29632 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29636 2013-09-11  Andreas Schwab  <schwab@suse.de>
29638         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29639         if not defined.
29640         (O_TMPFILE) [__USE_GNU]: Define.
29641         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29642         Define.
29644 2013-09-11  Will Newton  <will.newton@linaro.org>
29646         [BZ #15857]
29647         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29648         does not overflow.
29650 2013-09-11  Will Newton  <will.newton@linaro.org>
29652         [BZ #15856]
29653         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29654         does not overflow.
29656 2013-09-11  Will Newton  <will.newton@linaro.org>
29658         [BZ #15855]
29659         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29660         does not overflow.
29662 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29664         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29665         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29666         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29667         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29668         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29670 2013-09-10  Allan McRae  <allan@archlinux.org>
29672         [BZ #15748]
29673         * manual/arith.texi (Parsing of Floats): Clarify
29674         cross-reference.
29676         [BZ #15849]
29677         * manual/install.texi (Running make install): Mention
29678         --enable-pt-chown.
29679         * INSTALL: Regenerated.
29681 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29683         * csu/init-first.c (_init): Remove the !SHARED condition around
29684         FPU control word initialization.
29685         * elf/dl-support.c (_dl_fpu_control): New variable.
29686         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29687         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29688         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29689         * math/test-fpucw-static.c: New file.
29690         * math/test-fpucw-ieee.c: New file.
29691         * math/test-fpucw-ieee-static.c: New file.
29692         * math/Makefile (tests): Add `test-fpucw-ieee' and
29693         `$(tests-static)'.
29694         (tests-static): New variable.
29695         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29696         dependency to...
29697         [($(build-shared),yes)]
29698         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29699         ... this.
29700         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29701         New dependency.
29703 2013-09-09  Allan McRae  <allan@archlinux.org>
29705         [BZ #15939]
29706         * manual/string.texi (Collation Functions): Fix typo in
29707         strcoll example.
29708         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29710         [BZ #15893]
29711         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29713         [BZ #15892]
29714         * libio/memstream.c (open_memstream): Fix memory leak.
29715         * libio/wmemstream.c (open_wmemstream): Likewise.
29717         [BZ #15895]
29718         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29720 2013-09-09  Will Newton  <will.newton@linaro.org>
29722         * malloc/Makefile: Add tst-realloc to tests.
29723         * malloc/tst-realloc.c: New file.
29725 2013-09-09  Allan McRae  <allan@archlinux.org>
29727         [BZ #15844]
29728         * COPYING: Update from GNU website to fix FSF address.
29729         * COPYING.LIB: Likewise.
29731 2013-09-06  David S. Miller  <davem@davemloft.net>
29733         * po/zh_TW.po: Update Chinese (traditional) translation from
29734         translation project.
29736 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29737             Joseph Myers  <joseph@codesourcery.com>
29739         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29740         "localeinfo.h".
29741         (obstack_chunk_alloc): New macro.
29742         (obstack_chunk_free): Likewise.
29743         (record_offset): New function.
29744         (init_locale_data): Likewise.
29745         (align_locale_data): Likewise.
29746         (add_locale_empty): Likewise.
29747         (add_locale_raw_data): Likewise.
29748         (add_locale_raw_obstack): Likewise.
29749         (add_locale_string): Likewise.
29750         (add_locale_wstring): Likewise.
29751         (add_locale_uint32): Likewise.
29752         (add_locale_uint32_array): Likewise.
29753         (add_locale_char): Likewise.
29754         (start_locale_structure): Likewise.
29755         (end_locale_structure): Likewise.
29756         (start_locale_prelude): Likewise.
29757         (end_locale_prelude): Likewise.
29758         (write_locale_data): Take locale_file structure rather than an
29759         iovec.
29760         * locale/programs/locfile.h: Include "obstack.h".
29761         (struct locale_file): Change to store locale file contents instead
29762         of header.
29763         (init_locale_data): New prototype.
29764         (align_locale_data): Likewise.
29765         (add_locale_empty): Likewise.
29766         (add_locale_raw_data): Likewise.
29767         (add_locale_raw_obstack): Likewise.
29768         (add_locale_string): Likewise.
29769         (add_locale_wstring): Likewise.
29770         (add_locale_uint32): Likewise.
29771         (add_locale_uint32_array): Likewise.
29772         (add_locale_char): Likewise.
29773         (start_locale_structure): Likewise.
29774         (end_locale_structure): Likewise.
29775         (start_locale_prelude): Likewise.
29776         (end_locale_prelude): Likewise.
29777         (write_locale_data): Update prototype.
29778         * locale/programs/3level.h (struct TABLE): Remove result field.
29779         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29780         Use new locale_file interface.
29781         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29782         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29783         * locale/programs/ld-address.c (address_output): Use new
29784         locale_file interface.
29785         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29786         NO_ADD_LOCALE.
29787         (collate_finish): Don't call collseq_table_finalize.
29788         (collate_output): Use new locale_file interface.
29789         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29790         in file.
29791         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29792         (TABLE): Move defines earlier in file.
29793         (ELEMENT): Likewise.
29794         (DEFAULT): Likewise.
29795         (wctrans_table_add): Move macro and inline function earlier in
29796         file.
29797         (struct wctype_table): Move type earlier in file.
29798         (add_locale_wctype_table): New static prototype.
29799         (struct locale_ctype_t): Use logical types instead of struct iovec
29800         pointers for members.
29801         (ctype_output): Use new locale_file interface.
29802         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29803         new locale_file interface.
29804         (allocate_arrays): Update for use of new locale_file interface.
29805         * locale/programs/ld-identification.c (identification_output): Use
29806         new locale_file interface.
29807         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29808         * locale/programs/ld-messages.c (messages_output): Likewise.
29809         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29810         * locale/programs/ld-name.c (name_output): Likewise.
29811         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29812         * locale/programs/ld-paper.c (paper_output): Likewise.
29813         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29814         * locale/programs/ld-time.c (time_output): Likewise.
29816 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29818         * benchtests/Makefile: Add memrchr benchmark.
29819         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29820         benchmark as memrchr.
29821         * benchtests/bench-memrchr-ifunc.c: New file.
29822         * benchtests/bench-memrchr.c: New file.
29824 2013-09-06   Will Newton  <will.newton@linaro.org>
29826         * benchtests/Makefile (string-bench): Add memcpy.
29828 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29829             Cong Wang  <amwang@redhat.com>
29831         [BZ #15850]
29832         * sysdeps/unix/sysv/linux/bits/in.h
29833         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29834         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29835         before __USE_KERNEL_IPV6_DEFS uses.
29836         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29837         IPPROTO_BEETPH.
29838         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29839         sockaddr_in6, or ipv6_mreq.
29841 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29843         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29844         memory access for final bytes in some large inputs.
29845         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29847 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29849         * string/test-memrchr.c: New file.
29850         * string/test-memrchr-ifunc.c: New file.
29851         * string/Makefile: Add new memrchr testcase.
29853 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29855         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29856         fanotify_init returns EPERM.
29858 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29860         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29861         errors.
29862         (top level): Treat second token from macro or constant entries for
29863         allowed headers as allowed.
29864         * include/complex.h: Condition internal declarations on
29865         [!_ISOMAC].
29866         * include/fenv.h: Condition include of <stdbool.h> and internal
29867         declarations on [!_ISOMAC].
29869 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29871         [BZ #15923]
29872         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29874 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29876         * configure.in (--enable-versioning): Remove configure option.
29877         (libc_cv_asm_symver_directive): Remove configure test.
29878         (libc_cv_ld_version_script_option): Likewise.
29879         (VERSIONING): Remove variable and AC_SUBST.
29880         (DO_VERSIONING): Remove AC_DEFINE.
29881         * configure: Regenerated.
29882         * config.h.in (DO_VERSIONING): Remove macro.
29883         * Makerules [$(versioning) = yes]: Change conditionals to
29884         [$(build-shared) = yes].
29885         * config.make.in (versioning): Remove variable.
29886         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29887         [$(build-shared) = yes].
29888         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29889         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29890         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29891         [$(build-shared) = yes].
29892         * extra-lib.mk [$(versioning) = yes]: Likewise.
29893         * hurd/Makefile [$(versioning) = yes]: Likewise.
29894         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29895         [SHARED].
29896         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29897         [SHARED].
29898         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29899         [SHARED && !NO_HIDDEN].
29900         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29901         [SHARED].
29902         [SHARED && DO_VERSIONING]: Likewise..
29903         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29904         [$(build-shared) = yes].
29905         * manual/install.texi (--disable-versioning): Remove
29906         documentation.
29907         * INSTALL: Regenerated.
29908         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29909         to [SHARED].
29910         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29911         [$(build-shared) = yes].
29912         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29913         * sysdeps/i386/i686/multiarch/strstr-c.c
29914         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29915         [SHARED && !NO_HIDDEN].
29916         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29917         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29918         * sysdeps/powerpc/powerpc32/dl-machine.c
29919         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29920         * sysdeps/powerpc/powerpc32/sysdep.h
29921         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29922         to [SHARED && PIC && !NO_HIDDEN].
29923         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29924         conditional to [SHARED].
29926 2013-09-04   Will Newton  <will.newton@linaro.org>
29928         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29929         * benchtests/bench-string.h: Include bench-timing.h instead
29930         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29931         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29932         call to HP_TIMING_DIFF_INIT.
29933         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29934         instead of hp-timing.h macros.
29935         * benchtests/bench-memchr.c: Likewise.
29936         * benchtests/bench-memcmp.c: Likewise.
29937         * benchtests/bench-memcpy.c: Likewise.
29938         * benchtests/bench-memmem.c: Likewise.
29939         * benchtests/bench-memmove.c: Likewise.
29940         * benchtests/bench-memset.c: Likewise.
29941         * benchtests/bench-rawmemchr.c: Likewise.
29942         * benchtests/bench-strcasecmp.c: Likewise.
29943         * benchtests/bench-strcasestr.c: Likewise.
29944         * benchtests/bench-strcat.c: Likewise.
29945         * benchtests/bench-strchr.c: Likewise.
29946         * benchtests/bench-strcmp.c: Likewise.
29947         * benchtests/bench-strcpy.c: Likewise.
29948         * benchtests/bench-strcpy_chk.c: Likewise.
29949         * benchtests/bench-strlen.c: Likewise.
29950         * benchtests/bench-strncasecmp.c: Likewise.
29951         * benchtests/bench-strncat.c: Likewise.
29952         * benchtests/bench-strncmp.c: Likewise.
29953         * benchtests/bench-strncpy.c: Likewise.
29954         * benchtests/bench-strnlen.c: Likewise.
29955         * benchtests/bench-strpbrk.c: Likewise.
29956         * benchtests/bench-strrchr.c: Likewise.
29957         * benchtests/bench-strspn.c: Likewise.
29958         * benchtests/bench-strstr.c: Likewise.
29960 2013-09-04  Will Newton  <will.newton@linaro.org>
29962         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29964 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29966         [BZ #15427]
29967         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29968         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29969         * math/libm-test.inc (lgamma_test_data): Add more tests.
29970         * sysdeps/i386/fpu/libm-test-ulps: Update.
29971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29973 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29975         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29976         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29977         Add ifunc.
29978         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29979         Add strcmp-sse2-unaligned
29980         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29982 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29984         * Versions.def (libc): Add GLIBC_2.19.
29986 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29988         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29989         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29991 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29993         [BZ #14155]
29994         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29995         intermediate calculations in recurrence.
29996         (__ieee754_ynf): Likewise.
29997         * math/libm-test.inc (jn_test_data): Do not allow spurious
29998         underflow exception.  Add more tests.
29999         (yn_test_data): Add more tests.
30000         * sysdeps/i386/fpu/libm-test-ulps: Update.
30001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30003 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
30005         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30007 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30009         * csu/init-first.c: Fix then/than typos.
30010         * locale/programs/ld-collate.c: Likewise.
30011         * locale/programs/linereader.h: Likewise.
30012         * manual/charset.texi: Likewise.
30013         * manual/filesys.texi: Likewise.
30014         * manual/stdio.texi: Likewise.
30015         * manual/string.texi: Likewise.
30016         * stdlib/fmtmsg.c: Likewise.
30017         * sysdeps/i386/stpncpy.S: Likewise.
30018         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30019         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30020         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30021         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30023 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
30025         * elf/dl-open.c: Fix typos.
30026         * iconvdata/gbbig5.c: Likewise.
30027         * iconvdata/iso-2022-jp.c: Likewise.
30028         * iconv/gconv_int.h: Likewise.
30029         * iconv/loop.c: Likewise.
30030         * nis/rpcsvc/nis.h: Likewise.
30031         * resolv/ns_name.c: Likewise.
30032         * stdio-common/vfscanf.c: Likewise.
30033         * streams/stropts.h: Likewise.
30034         * sunrpc/rpc_thread.c: Likewise.
30035         * sysdeps/i386/strpbrk.S: Likewise.
30036         * sysdeps/ieee754/k_standard.c: Likewise.
30037         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30038         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30039         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30040         * sysdeps/mach/hurd/profil.c: Likewise.
30041         * sysdeps/s390/dl-procinfo.h: Likewise.
30042         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30043         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30044         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30045         * sysdeps/x86_64/dl-trampoline.S: Likewise.
30046         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30048 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
30050         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30051         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30053 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
30055         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30056         aix specific files.
30057         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30058         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30059         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30060         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30061         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30062         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30063         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30064         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30066 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30067             Roland McGrath  <roland@hack.frob.com>
30069         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30070         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30072 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30074         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30075         __executable_start symbol instead of _start.
30077 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
30079         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30080         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30081         Move macros to...
30082         * sysdeps/gnu/ldsodefs.h: ... this new file.
30084         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30085         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30086         instead of ELFOSABI_LINUX.
30088         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30089         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30090         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30091         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30092         Likewise.
30093         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30094         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30095         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30096         Likewise.
30097         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30098         (ibm_extended_long_double): Add ieee_nan member.
30099         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30100         (do_test): New function.
30102         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30103         TEST_TRUNC.
30104         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30105         functions, renamed from truncdfsf_test, trunctfsf_test,
30106         trunctfdf_test.
30107         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30108         functions.
30109         (do_test): Run all these.
30111 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
30113         * argp/argp-help.c: Fix typos.
30114         * argp/argp-parse.c: Likewise.
30115         * debug/backtracesyms.c: Likewise.
30116         * elf/elf.h: Likewise.
30117         * malloc/malloc.c: Likewise.
30118         * nis/nis_print.c: Likewise.
30119         * resolv/res_comp.c: Likewise.
30120         * stdlib/stdlib.h: Likewise.
30121         * sunrpc/clnt_tcp.c: Likewise.
30122         * sunrpc/clnt_udp.c: Likewise.
30123         * sunrpc/clnt_unix.c: Likewise.
30124         * sysdeps/unix/bsd/ptsname.c: Likewise.
30125         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30126         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30128         Likewise.
30129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30130         Likewise.
30131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30132         Likewise.
30133         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30135 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30137         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30138         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30140 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
30142         [BZ #15897]
30143         * dlfcn/Makefile (tests): Add bug-dl-leaf.
30144         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30145         ($(objpfx)bug-dl-leaf): New rule.
30146         ($(objpfx)bug-dl-leaf.so): Likewise.
30147         ($(objpfx)bug-dl-leaf.out): Likewise.
30148         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30149         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30150         * dlfcn/bug-dl-leaf.c: New test.
30151         * dlfcn/bug-dl-leaf-lib.c: Likewise.
30152         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30153         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30154         (dlclose): Likewise.
30155         (dlmopen): Likewise.
30157 2013-08-27  Roland McGrath  <roland@hack.frob.com>
30159         * include/netdb.h [!_ISOMAC]:
30160         Don't include <tls.h>.
30161         (h_errno, __libc_h_errno): Move declaration and macros out of
30162         [_LIBC_REENTRANT].
30164         * include/resolv.h [_RESOLV_H_]:
30165         Don't include <tls.h>.
30166         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30167         * resolv/res_libc.c: Don't include <tls.h>.
30168         (_res): Use __attribute__ ((nocommon)) in place of
30169         __attribute__ ((section (".bss"))).
30171         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30172         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30174         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30176         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30177         only under [SIOCGIFCONF && SIOCGIFNETMASK].
30179         * resolv/res_mkquery.c: Include <sys/time.h>.
30181         * inet/ifreq.c: Moved to ...
30182         * sysdeps/unix/ifreq.c: ... here.
30183         * inet/ifreq.c: New file, true stub version.
30185         * socket/sa_len.c: New file.
30186         * socket/Makefile (aux): Add it.
30187         * sysdeps/unix/sysv/linux/Makefile
30188         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30189         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30190         and #include <socket/sa_len.c>.
30191         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30192         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30194         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30195         * bits/socket.h: ... here.
30197         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30198         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30199         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30201 2013-08-27  Andreas Schwab  <schwab@suse.de>
30203         [BZ #15736]
30204         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30205         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30206         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30207         * string/test-strcasecmp.c (test_main): Run tests in several
30208         locales.
30209         * string/test-strncasecmp.c (test_main): Likewise.
30211         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30212         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30213         to __strcasecmp_nonascii and __strncasecmp_nonascii.
30214         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30215         (__strncasecmp_ssse3) [PIC]: Likewise.
30217 2013-08-26  Roland McGrath  <roland@hack.frob.com>
30219         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30221         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30222         instead of explicitly declaring xdecrypt.
30223         * nis/nss_nis/nis-publickey.c: Likewise.
30225 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30227         [BZ #15890]
30228         * nscd/aicache.c: Include res_hconf.h.
30229         (addhstaiX): Initialize res_hconf.
30231 2013-08-26  Andreas Schwab  <schwab@suse.de>
30233         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30234         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30236 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30238         * nscd/aicache.c (addhstaiX): Fix indentation.
30240 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
30242         * configure.ac: Quote $build_pt_chown test.
30243         * configure: Regenerated.
30245 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
30247         [BZ #15532]
30248         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30249         * math/s_cexpf.c (__cexpf): Likewise.
30250         * math/s_cexpl.c (__cexpl): Likewise.
30251         * math/libm-test.inc (cexp_test_data): Correct expected return
30252         value for NaN + i0.  Add another test.
30254 2013-08-22  David S. Miller  <davem@davemloft.net>
30256         * po/ca.po: Update Catalan translation from translation project.
30257         * po/uk.po: Add Ukrainian translations from translation project.
30259 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
30261         [BZ #15797]
30262         * math/s_fdim.c (__fdim): Check for infinite arguments if result
30263         is infinite, not alongside NaN test.
30264         * math/s_fdimf.c (__fdimf): Likewise.
30265         * math/s_fdiml.c (__fdiml): Likewise.
30266         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
30267         errno is unchanged.
30269 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
30271         * argp/argp-help.c: Fix typos.
30272         * crypt/speeds.c: Likewise.
30273         * csu/check_fds.c: Likewise.
30274         * elf/dl-load.c: Likewise.
30275         * elf/dl-open.c: Likewise.
30276         * elf/reldep3.c: Likewise.
30277         * elf/reldep.c: Likewise.
30278         * elf/sprof.c: Likewise.
30279         * iconv/iconv_charmap.c: Likewise.
30280         * iconv/skeleton.c: Likewise.
30281         * iconv/strtab.c: Likewise.
30282         * io/lockf64.c: Likewise.
30283         * libio/libioP.h: Likewise.
30284         * resolv/gai_notify.c: Likewise.
30285         * resolv/ns_name.c: Likewise.
30286         * resolv/ns_samedomain.c: Likewise.
30287         * resolv/res_send.c: Likewise.
30288         * stdlib/random.c: Likewise.
30289         * sunrpc/rpc/xdr.h: Likewise.
30290         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30291         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30292         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30293         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30294         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30295         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30296         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30297         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30298         * sysdeps/mach/hurd/check_fds.c: Likewise.
30299         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30300         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30301         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30302         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30303         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30304         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30305         * sysdeps/pthread/aio_notify.c: Likewise.
30306         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30307         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30308         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30309         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30310         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30312 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30314         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30315         version if bit_Slow_SSE4_2 is set.
30316         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30317         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30319 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30321         [BZ #15867]
30322         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30323         trampoline stack frame information.
30324         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30325         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30326         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30327         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30328         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30329         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30330         (_libc_vdso_platform_setup): Initialize the signal trampolines.
30331         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30332         sa_flags value.
30333         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30334         interrupting a syscall and set with option SA_SIGINFO.
30336 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30338         [BZ #15531]
30339         * math/s_cproj.c (__cproj): Only return an infinity if one part of
30340         argument is infinite.
30341         * math/s_cprojf.c (__cprojf): Likewise.
30342         * math/s_cprojl.c (__cprojl): Likewise.
30343         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30344         * math/libm-test.inc (cproj_test_data): Add more tests.
30346         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30348         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30349         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30350         size.  Use __ffs to determine corresponding shift.
30352 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
30353             Roland McGrath  <roland@hack.frob.com>
30355         * Makefile (INSTALL): Remove trailing blank lines from output of
30356         makeinfo.
30358 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30360         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30361         Align 32 bit compat elf_greg to 8 bytes.
30363 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
30365         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30367 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30369         * string/strcoll_l.c (coll_seq): New structure.
30370         (get_next_seq_cached): New function.
30371         (get_next_seq): New function.
30372         (do_compare): New function.
30373         (STRCOLL): Use GNU style definition.  Simplify implementation
30374         by using get_next_seq, get_next_seq_cached and do_compare.
30376 2013-08-16  Florian Weimer  <fweimer@redhat.com>
30378         [BZ #14699]
30379         CVE-2013-4237
30380         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30381         member.
30382         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30383         member.
30384         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30385         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30386         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
30387         conditional.
30388         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30389         GETDENTS_64BIT_ALIGNED.
30390         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30391         * manual/filesys.texi (Reading/Closing Directory): Document
30392         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
30393         strongly.
30394         * manual/conf.texi (Limits for Files): Add portability note to
30395         NAME_MAX, PATH_MAX.
30396         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30398 2013-08-13  Andreas Schwab  <schwab@suse.de>
30400         [BZ #15749]
30401         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30402         of fabs.
30403         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30404         LDBL_MAX_EXP >= 16384]: Add tests for it.
30406 2013-08-12  David S. Miller  <davem@davemloft.net>
30408         * version.h (RELEASE): Set to "development".
30409         (VERSION): Set to "2.18.90".
30410         * NEWS: Add 2.19 section.
30412 2013-08-03  David S. Miller  <davem@davemloft.net>
30414         * po/ko.po: Update Korean translation from translation project.
30416 2013-08-01  David S. Miller  <davem@davemloft.net>
30418         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
30419         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30420         Bilka.
30422 2013-07-30  David S. Miller  <davem@davemloft.net>
30424         * po/fr.po: Update French translation from translation project.
30426 2013-07-28  David S. Miller  <davem@davemloft.net>
30428         * po/cs.po: Update Czech translation from translation project.
30430         * po/sv.po: Update Swedish translation from translation project.
30432 2013-07-27  David S. Miller  <davem@davemloft.net>
30434         * po/eo.po: Update Esperanto translation from translation project.
30436         * po/vi.po: Update Vietnamese translation from translation project.
30438         * po/de.po: Update German translation from translation project.
30440 2013-07-26  David S. Miller  <davem@davemloft.net>
30442         * po/bg.po: Update Bulgarian translation from translation project.
30444         * po/nl.po: Update Dutch translation from translation project.
30445         * po/pl.po: Update Polish translation from translation project.
30446         * po/ru.po: Update Russian translation from translation project.
30448 2013-07-24  David S. Miller  <davem@davemloft.net>
30450         * po/libc.pot: Update.
30452 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30454         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30455         variable page size.
30456         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30457         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30458         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30460 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30462         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30464 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30465             Andreas Schwab  <schwab@suse.de>
30466             Roland McGrath  <roland@hack.frob.com>
30467             Joseph Myers  <joseph@codesourcery.com>
30468             Carlos O'Donell  <carlos@redhat.com>
30470         [BZ #15755]
30471         * config.h.in: Define HAVE_PT_CHOWN.
30472         * config.make.in (build-pt-chown): New variable.
30473         * configure.in (--enable-pt_chown): New configure option.
30474         * configure: Regenerate.
30475         * login/Makefile: Include Makeconfig.  Build pt_chown only if
30476         build-pt-chown is enabled.
30477         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30478         pt_chown to fix pty ownership.
30479         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30480         CLOSE_ALL_FDS.
30481         * manual/install.texi (Configuring and compiling): Mention
30482         --enable-pt_chown. Add @findex for grantpt.
30483         * INSTALL: Regenerate.
30485 2013-07-20  David S. Miller  <davem@davemloft.net>
30487         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30488         difference between 32-bit and 64-bit.
30490 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
30492         [BZ #15711]
30493         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30494         Avoid system header dependency with -ffreestanding.
30495         ($(objpfx)bits/syscall%d): Likewise.
30497 2013-07-13  David S. Miller  <davem@davemloft.net>
30499         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30500         underflows from atanl/atan2l due to bug 15319.
30501         (casinh_test_data): Likewise.
30503 2013-07-07  David S. Miller  <davem@davemloft.net>
30505         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30507 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30509         * sysdeps/i386/fpu/libm-test-ulps: Update.
30510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30512 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30514         * configure.in (--enable-lock-elision): Fix message text.
30515         * INSTALL: Regenerate.
30516         * configure: Regenerate.
30518 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30522 2013-07-03  Andreas Jaeger  <aj@suse.de>
30524         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30525         define.
30526         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30527         (ptrace_peeksiginfo_args): Add.
30528         (__ptrace_peeksiginfo_flags): Add.
30529         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30530         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30531         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30533 2013-07-03  Allan McRae  <allan@archlinux.org>
30535         * sysdeps/i386/fpu/libm-test-ulps: Update.
30537 2013-07-02  David S. Miller  <davem@davemloft.net>
30539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30541 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30543         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30545 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30547         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30550 2013-07-02  Andi Kleen <ak@linux.intel.com>
30552         * config.h.in (ENABLE_LOCK_ELISION): Add.
30553         * configure.in (--enable-lock-elision): Add option.
30554         * manual/install.texi: Document --enable lock elision.
30555         * configure: Regenerate
30556         * INSTALL: Regenerate.
30558 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30560         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30561         SSE4.2 strcasecmp for libc.a.
30562         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30564 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30566         [BZ #13304]
30567         * soft-fp/op-common.h (_FP_FMA): New macro.
30568         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30569         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30570         (_FP_MUL_MEAT_1_imm): ... here.
30571         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30572         (_FP_MUL_MEAT_1_wide): ... here.
30573         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30574         (_FP_MUL_MEAT_1_hard): ... here.
30575         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30576         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30577         (_FP_MUL_MEAT_2_wide): ... here.
30578         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30579         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30580         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30581         (_FP_MUL_MEAT_2_gmp): ... here.
30582         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30583         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30584         (_FP_MUL_MEAT_4_wide): ... here.
30585         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30586         (_FP_MUL_MEAT_4_gmp): ... here.
30587         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30588         (_FP_WFRACBITS_DW_S): Likewise.
30589         (_FP_WFRACXBITS_DW_S): Likewise.
30590         (_FP_HIGHBIT_DW_S): Likewise.
30591         (FP_FMA_S): Likewise.
30592         (_FP_FRAC_HIGH_DW_S): Likewise.
30593         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30594         (_FP_WFRACBITS_DW_D): Likewise.
30595         (_FP_WFRACXBITS_DW_D): Likewise.
30596         (_FP_HIGHBIT_DW_D): Likewise.
30597         (FP_FMA_D): Likewise.
30598         (_FP_FRAC_HIGH_DW_D): Likewise.
30599         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30600         (_FP_WFRACBITS_DW_E): Likewise.
30601         (_FP_WFRACXBITS_DW_E): Likewise.
30602         (_FP_HIGHBIT_DW_E): Likewise.
30603         (FP_FMA_E): Likewise.
30604         (_FP_FRAC_HIGH_DW_E): Likewise.
30605         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30606         (_FP_WFRACBITS_DW_Q): Likewise.
30607         (_FP_WFRACXBITS_DW_Q): Likewise.
30608         (_FP_HIGHBIT_DW_Q): Likewise.
30609         (FP_FMA_Q): Likewise.
30610         (_FP_FRAC_HIGH_DW_Q): Likewise.
30611         * soft-fp/fmasf4.c: New file.
30612         * soft-fp/fmadf4.c: Likewise.
30613         * soft-fp/fmatf4.c: Likewise.
30615 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30617         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30618         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30619         Silvermont.
30620         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30621         macro.
30622         (index_Slow_SSE4_2): Likewise.
30623         (index_Prefer_PMINUB_for_stringop): Likewise.
30624         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30625         bit_Slow_SSE4_2 is set.
30626         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30627         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30629 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30631         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30632         rtld_global._dl_hwcap2.
30633         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30634         POWER8.
30635         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30636         POWER8 feature descriptions defined in _dl_hwcap2.
30637         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30638         string handling for POWER8 feature bits.
30639         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30640         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30641         _dl_powerpc_cap_flags.
30642         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30643         * sysdeps/powerpc/rtld-global-offsets.sym
30644         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30645         _dl_hwcap2 in the rtld_global_ro structure.
30647 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30649         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30650         hardware capabilities in support of AT_HWCAP2.
30651         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30652         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30653         GLRO(dl_hwcap2).
30654         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30655         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30656         explicitly the unknown a_type display mechanism is used.
30657         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30658         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30659         struct member.
30660         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30661         to macro prototype for AT_HWCAP2 support.
30662         * sysdeps/i386/dl-procinfo.h: Likewise.
30663         * sysdeps/s390/dl-procinfo.h: Likewise.
30664         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30665         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30666         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30667         return -1 for unknown a_type display fallback.
30668         * sysdeps/sparc/dl-procinfo.h: Likewise.
30669         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30670         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30672 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30674         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30675         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30677 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30679         [BZ #12492]
30680         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30681         mprotect making __stack_prot writable.
30683 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30684             Joseph Myers  <joseph@codesourcery.com>
30686         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30687         as being properly aligned.
30689 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30691         * dlfcn/modstatic5.c: New file.
30692         * dlfcn/tststatic5.c: New file.
30693         * dlfcn/Makefile (tests): Add tststatic5.
30694         (tests-static): Likewise.
30695         (modules-names): Add modstatic5.
30696         (tststatic5-ENV): New variable.
30697         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30699         [BZ #15022]
30700         * elf/dl-support.c (_dl_main_map): New variable.
30701         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30702         (_dl_nns, _dl_load_adds): Set to 1.
30703         (_dl_initial_searchlist): Refer to _dl_main_map.
30704         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30705         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30706         call to _dl_get_origin.
30707         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30708         around call_map.
30709         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30710         * dlfcn/modstatic3.c: New file.
30711         * dlfcn/tststatic3.c: New file.
30712         * dlfcn/tststatic4.c: New file.
30713         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30714         (tests-static): Likewise.
30715         (modules-names): Add modstatic3.
30716         (tststatic3-ENV, tststatic4-ENV): New variables.
30717         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30718         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30720 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30722         * configure.in (CC): Require GCC version 4.4 or later.
30723         * configure: Regenerated.
30724         * manual/install.texi (Tools for Compilation): Update GCC version
30725         requirement.
30726         * INSTALL: Regenerated.
30728 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30730         [BZ #15674]
30731         * string/test-memcmp.c (check2): New.
30732         (main): Call check2.
30734         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30736 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30738         [BZ #15022]
30739         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30740         over to...
30741         (dl_open_worker) [!SHARED]: ... here.
30743 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30745         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30747 2013-06-25  Richard Henderson  <rth@redhat.com>
30749         * locale/programs/locarchive.c: Include <libc-internal.h>
30751 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30753         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30754         trailing whitespace removed.
30756 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30758         [BZ #10283]
30759         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30760         * locale/programs/locarchive.c: Include libc-mmap.h.
30761         (prepare_address_space): Take two new outputs (the mmap base and len).
30762         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30763         values.
30764         (create_archive): Declare new mmap base and len values for
30765         prepare_address_space, and store the result in ah.
30766         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30767         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30768         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30769         Declare new mmap base and len values for
30770         prepare_address_space, and store the result in new_ah.
30771         (open_archive): Declare new mmap base and len values for
30772         prepare_address_space, and store the result in ah.
30773         (close_archive): If ah->mmap_base is not NULL, use that and
30774         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30775         * sysdeps/generic/libc-mmap.h: New file.
30777 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30779         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30780         (ALIGN_UP): Likewise.
30781         (PTR_ALIGN_DOWN): Likewise.
30782         (PTR_ALIGN_UP): Likewise.
30784 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30786         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30787         entry mapped to PPC_PLATFORM_POWER8.
30788         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30789         POWER8.
30790         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30791         (_dl_string_platform): Add case for exporting platform position for
30792         POWER8.
30793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30794         search path to sysdeps/powerpc/powerpc32/power8 directory.
30795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30796         search path to sysdeps/powerpc/powerpc64/power8 directory.
30797         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30798         power7 directories.
30799         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30800         power7 directories.
30802 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30804         * INSTALL: Regenerate.
30806         * nscd/connections.c (nscd_init): Fix comment.
30808 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30810         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30812         [BZ #15667]
30813         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30814         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30816 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30818         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30819         DL_DST_REQ_STATIC.
30820         (DL_DST_REQ_STATIC): Remove macro.
30822 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30824         [BZ #7006]
30825         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30826         with a shift of 0 bits.
30828 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30830         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30831         $(tststatic-ENV).
30833 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30835         [BZ #15655]
30836         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30838 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30840         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30841         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30842         accepts -fno-tree-loop-distribute-patterns.
30843         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30844         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30845         recursive call.
30846         * string/memset.c (memset): Likewise.
30847         * string/test-memmove.c (simple_memmove): Disable loop transformation
30848         to library calls.
30849         * string/test-memset.c (simple_memset): Likewise.
30850         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30851         * benchtests/bench-memset.c (simple_memset): Likewise.
30852         * configure: Regenerated.
30854 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30856         * math/test-misc.c (main): Ignore fesetround failure when failures
30857         of subsequent rounding tests would be ignored.
30859         [BZ #15654]
30860         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30861         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30862         * math/fegetenv.c (__fegetenv): Return 0.
30863         * math/fegetexcept.c (fegetexcept): Return 0.
30864         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30865         FE_TONEAREST.
30866         * math/feholdexcpt.c (feholdexcept): Return 0.
30867         * math/fesetenv.c (__fesetenv): Return 0.
30868         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30869         argument FE_TONEAREST.
30870         * math/feupdateenv.c (__feupdateenv): Return 0.
30871         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30873 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30875         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30876         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30877         ($(objpfx)rtld-%.os rules): Use them.
30879 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30881         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30882         fields.
30884 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30886         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30887         length of target pattern, then descending length of dependency pattern.
30888         * configure.in (AWK): Require gawk 3.1.2 or newer.
30889         * manual/install.texi (Tools for Compilation): Say that we do.
30890         * configure: Regenerated.
30892         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30893         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30894         * scripts/sysd-rules.awk: ... this new script.
30895         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30896         than a glob-style pattern.
30898 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30900         * math/test-misc.c (main): Do not treat incorrectly rounded
30901         conversions as failure unless ROUNDING_TESTS passes.
30903 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30905         [BZ #15631]
30906         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30907         restore exception state around main square root computation, then
30908         check for inexactness explicitly.
30910         * math/libm-test.inc (fma_test_data): Add another test.
30912 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30914         * manual/threads.texi (Non-POSIX Extensions): New document
30915         node.  Document pthread_getattr_default_np and
30916         pthread_setattr_default_np.
30918         * Versions.def (libpthread): Add GLIBC_2.18.
30919         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30921         Likewise.
30922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30923         Likewise.
30924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30925         Likewise.
30926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30927         Likewise.
30928         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30929         Likewise.
30930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30931         Likewise.
30932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30933         Likewise.
30934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30935         Likewise.
30936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30937         Likewise.
30939 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30942         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30944 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30945             H.J. Lu  <hjl.tools@gmail.com>
30947         [BZ #15627]
30948         * sysdeps/x86_64/rtld-memset.c: Remove file.
30949         * sysdeps/x86_64/rtld-memset.S: New file.
30951 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30953         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30954         (test_in_one_mode): Take arguments for whether the rounding mode
30955         is supported for each floating-point type.
30956         (do_test): Pass new arguments to test_in_one_mode using
30957         ROUNDING_TESTS.
30959 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30961         * posix/tst-waitid.c (do_test): Distinguish different instances of
30962         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30963         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30964         before entering the kernel for waitpid.
30966 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30968         * NEWS: Fix note on clock function precision.  Text by Roland
30969         McGrath.
30971 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30973         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30974         it into place only when and if the sanity check passes.
30976 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30978         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30979         output for whether conversion result is exact.  Take argument
30980         indicating whether type is IBM long double.
30981         (round_for_all): Change need_exact field to ibm_ld.
30982         * stdlib/tst-strtod-round.c (struct exactness): New type.
30983         (struct test): Change bool ld_ok field to struct exactness exact.
30984         (TEST): Update all definitions for change to field.
30985         (tests): Regenerate array contents.
30986         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30987         field value.  Check for IBM long double here.
30988         (do_test): Update calls to test_in_one_mode.
30990 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30992         [BZ #12515]
30993         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30994         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30996 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30998         [BZ #15605]
30999         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31000         generated by the compiler on loop optimizations.
31001         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31002         general definitions.
31004 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
31006         * math/bug-nextafter.c: Include <math-tests.h>.
31007         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31008         the relevant type.
31009         * math/bug-nexttoward.c: Include <math-tests.h>.
31010         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31011         the relevant type.
31012         * math/test-misc.c: Include <math-tests.h>.
31013         (main): Only test for exceptions if EXCEPTION_TESTS is true for
31014         the relevant type.
31016 2013-06-12  Andreas Jaeger  <aj@suse.de>
31018         * po/ia.po: Update Interlingua translation from translation
31019         project.
31021 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31023         * include/fenv.h: Include stdbool.h.
31024         (struct rm_ctx): New structure.
31025         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31026         Define macro.
31027         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31028         (SET_RESTORE_ROUNDF): Likewise.
31029         (SET_RESTORE_ROUNDL): Likewise.
31030         (SET_RESTORE_ROUND_NOEX): Likewise.
31031         (SET_RESTORE_ROUND_NOEXF): Likewise.
31032         (SET_RESTORE_ROUND_NOEXL): Likewise.
31033         (SET_RESTORE_ROUND_53BIT): Likewise.
31034         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31035         (libc_feresetround_noexf_ctx): Likewise.
31036         (libc_feresetround_noexl_ctx): Likewise.
31037         (libc_feholdsetround_53bit_ctx): Likewise.
31038         (libc_feresetround_53bit_ctx): Likewise.
31039         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31040         (libc_feholdexcept_setround_sse_ctx): New function.
31041         (libc_fesetenv_sse_ctx): Likewise.
31042         (libc_feupdateenv_sse_ctx): Likewise.
31043         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31044         (libc_feholdexcept_setround_387_ctx): Likewise.
31045         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31046         (libc_feholdsetround_387_prec_ctx): Likewise.
31047         (libc_feholdsetround_387_ctx): Likewise.
31048         (libc_feholdsetround_387_53bit_ctx): Likewise.
31049         (libc_feholdsetround_sse_ctx): Likewise.
31050         (libc_feresetround_sse_ctx): Likewise.
31051         (libc_feresetround_387_ctx): Likewise.
31052         (libc_feupdateenv_387_ctx): Likewise.
31053         (libc_feholdexcept_setroundf_ctx): Define macro.
31054         (libc_fesetenvf_ctx): Likewise.
31055         (libc_feupdateenvf_ctx): Likewise.
31056         (libc_feholdsetroundf_ctx): Likewise.
31057         (libc_feresetroundf_ctx): Likewise.
31058         (libc_feholdexcept_setround_ctx): Likewise.
31059         (libc_fesetenv_ctx): Likewise.
31060         (libc_feupdateenv_ctx): Likewise.
31061         (libc_feholdsetround_ctx): Likewise.
31062         (libc_feresetround_ctx): Likewise.
31063         (libc_feholdexcept_setroundl_ctx): Likewise.
31064         (libc_feupdateenvl_ctx): Likewise.
31065         (libc_feholdsetroundl_ctx): Likewise.
31066         (libc_feresetroundl_ctx): Likewise.
31067         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31068         (libc_feresetround_53bit_ctx): Likewise.
31070 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31072         * locale/iso-639.def: Convert to UTF-8.
31074 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
31076         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31077         (EXCEPTION_TESTS_double): Likewise.
31078         (EXCEPTION_TESTS_long_double): Likewise.
31079         (EXCEPTION_TESTS): Likewise.
31080         * math/libm-test.inc (test_exceptions): Only test exceptions if
31081         EXCEPTION_TESTS (FLOAT).
31083 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31085         * benchtests/Makefile (string-bench): Add strcpy_chk and
31086         stpcpy_chk.
31087         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31088         * benchtests/bench-stpcpy_chk.c: New file.
31089         * benchtests/bench-strcpy_chk-ifunc.c: New file.
31090         * benchtests/bench-strcpy_chk.c: New file.
31091         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31092         code.
31093         (do_test): Likewise.
31095 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31097         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31098         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31099         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31100         with tabs where appropriate.
31101         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31102         dl-procinfo.h.
31103         [PPC_PLATFORM_PPC440]: Likewise.
31104         [PPC_PLATFORM_PPC464]: Likewise.
31105         [PPC_PLATFORM_PPC476]: Likewise.
31106         (_dl_string_platform): Add support for detecting ppc405, ppc440,
31107         ppc464, and ppc476 platform strings merging from ports/
31108         dl-procinfo.h.
31110 2013-06-11  Andreas Schwab  <schwab@suse.de>
31112         [BZ #14991]
31113         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31114         (from_ucs4_idx): Regenerate.
31115         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31116         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31117         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31118         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31119         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31120         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31121         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31122         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31123         from FROM_LOOP and TO_LOOP specific macros.
31124         (BODY): Handle combining characters.
31125         * iconvdata/BIG5HKSCS.irreversible: Update.
31126         * iconvdata/BIG5HKSCS.precomposed: New file.
31127         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31128         characters.
31129         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31131 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31133         * include/sys/time.h: Fix indentation and add copyright header.
31135         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31136         (do_test): Likewise.
31137         * string/test-memchr.c (do_one_test): Likewise.
31138         (do_test): Likewise.
31139         * string/test-memcmp.c (do_one_test): Likewise.
31140         (do_test): Likewise.
31141         * string/test-memcpy.c (do_one_test): Likewise.
31142         (do_test): Likewise.
31143         * string/test-memmem.c (do_one_test): Likewise.
31144         (do_test): Likewise.
31145         (do_random_tests): Likewise.
31146         * string/test-memmove.c (do_one_test): Likewise.
31147         (do_test): Likewise.
31148         * string/test-memset.c (do_one_test): Likewise.
31149         (do_test): Likewise.
31150         * string/test-rawmemchr.c (do_one_test): Likewise.
31151         (do_test): Likewise.
31152         * string/test-strcasecmp.c (do_one_test): Likewise.
31153         (do_test): Likewise.
31154         * string/test-strcasestr.c (do_one_test): Likewise.
31155         (do_test): Likewise.
31156         * string/test-strcat.c (do_one_test): Likewise.
31157         (do_test): Likewise.
31158         * string/test-strchr.c (do_one_test): Likewise.
31159         (do_test): Likewise.
31160         * string/test-strcmp.c (do_one_test): Likewise.
31161         (do_test): Likewise.
31162         * string/test-strcpy.c (do_one_test): Likewise.
31163         (do_test): Likewise.
31164         * string/test-string.h: Likewise.
31165         (test_init): Likewise.
31166         * string/test-strlen.c (do_one_test): Likewise.
31167         (do_test): Likewise.
31168         * string/test-strncasecmp.c (do_one_test): Likewise.
31169         (do_test): Likewise.
31170         * string/test-strncat.c (do_one_test): Likewise.
31171         (do_test): Likewise.
31172         * string/test-strncmp.c (do_one_test): Likewise.
31173         (do_test_limit): Likewise.
31174         (do_test): Likewise.
31175         * string/test-strncpy.c (do_one_test): Likewise.
31176         (do_test): Likewise.
31177         * string/test-strnlen.c (do_one_test): Likewise.
31178         (do_test): Likewise.
31179         * string/test-strpbrk.c (do_one_test): Likewise.
31180         (do_test): Likewise.
31181         * string/test-strrchr.c (do_one_test): Likewise.
31182         (do_test): Likewise.
31183         * string/test-strspn.c (do_one_test): Likewise.
31184         (do_test): Likewise.
31185         * string/test-strstr.c (do_one_test): Likewise.
31186         (do_test): Likewise.
31188         * benchtests/Makefile (string-bench): Add string benchmarks.
31189         * benchtests/bench-bcopy-ifunc.c: New file.
31190         * benchtests/bench-bcopy.c: New file.
31191         * benchtests/bench-bzero-ifunc.c: New file.
31192         * benchtests/bench-bzero.c: New file.
31193         * benchtests/bench-memccpy-ifunc.c: New file.
31194         * benchtests/bench-memccpy.c: New file.
31195         * benchtests/bench-memchr-ifunc.c: New file.
31196         * benchtests/bench-memchr.c: New file.
31197         * benchtests/bench-memcmp-ifunc.c: New file.
31198         * benchtests/bench-memcmp.c: New file.
31199         * benchtests/bench-memmem-ifunc.c: New file.
31200         * benchtests/bench-memmem.c: New file.
31201         * benchtests/bench-memmove-ifunc.c: New file.
31202         * benchtests/bench-memmove.c: New file.
31203         * benchtests/bench-mempcpy-ifunc.c: New file.
31204         * benchtests/bench-mempcpy.c: New file.
31205         * benchtests/bench-memset-ifunc.c: New file.
31206         * benchtests/bench-memset.c: New file.
31207         * benchtests/bench-rawmemchr-ifunc.c: New file.
31208         * benchtests/bench-rawmemchr.c: New file.
31209         * benchtests/bench-stpcpy-ifunc.c: New file.
31210         * benchtests/bench-stpcpy.c: New file.
31211         * benchtests/bench-stpncpy-ifunc.c: New file.
31212         * benchtests/bench-stpncpy.c: New file.
31213         * benchtests/bench-strcasecmp-ifunc.c: New file.
31214         * benchtests/bench-strcasecmp.c: New file.
31215         * benchtests/bench-strcasestr-ifunc.c: New file.
31216         * benchtests/bench-strcasestr.c: New file.
31217         * benchtests/bench-strcat-ifunc.c: New file.
31218         * benchtests/bench-strcat.c: New file.
31219         * benchtests/bench-strchr-ifunc.c: New file.
31220         * benchtests/bench-strchr.c: New file.
31221         * benchtests/bench-strchrnul-ifunc.c: New file.
31222         * benchtests/bench-strchrnul.c: New file.
31223         * benchtests/bench-strcmp-ifunc.c: New file.
31224         * benchtests/bench-strcmp.c: New file.
31225         * benchtests/bench-strcpy-ifunc.c: New file.
31226         * benchtests/bench-strcpy.c: New file.
31227         * benchtests/bench-strcspn-ifunc.c: New file.
31228         * benchtests/bench-strcspn.c: New file.
31229         * benchtests/bench-strlen-ifunc.c: New file.
31230         * benchtests/bench-strlen.c: New file.
31231         * benchtests/bench-strncasecmp-ifunc.c: New file.
31232         * benchtests/bench-strncasecmp.c: New file.
31233         * benchtests/bench-strncat-ifunc.c: New file.
31234         * benchtests/bench-strncat.c: New file.
31235         * benchtests/bench-strncmp-ifunc.c: New file.
31236         * benchtests/bench-strncmp.c: New file.
31237         * benchtests/bench-strncpy-ifunc.c: New file.
31238         * benchtests/bench-strncpy.c: New file.
31239         * benchtests/bench-strnlen-ifunc.c: New file.
31240         * benchtests/bench-strnlen.c: New file.
31241         * benchtests/bench-strpbrk-ifunc.c: New file.
31242         * benchtests/bench-strpbrk.c: New file.
31243         * benchtests/bench-strrchr-ifunc.c: New file.
31244         * benchtests/bench-strrchr.c: New file.
31245         * benchtests/bench-strspn-ifunc.c: New file.
31246         * benchtests/bench-strspn.c: New file.
31247         * benchtests/bench-strstr-ifunc.c: New file.
31248         * benchtests/bench-strstr.c: New file.
31250         * benchtests/Makefile: Disable parallel execution of targets.
31251         (string-bench): Add memcpy.
31252         (benchset): New variable to store a list of benchmark sets.
31253         (bench-func): Renamed from bench.
31254         (bench-set): New target.
31255         (bench): Depend on bench-func and bench-set.
31256         * benchtests/README: Add section on benchmark sets.
31257         * benchtests/bench-memcpy-ifunc.c: New file.
31258         * benchtests/bench-memcpy.c: New file.
31259         * benchtests/bench-string.h: New file.
31261 2013-06-11  Andreas Schwab  <schwab@suse.de>
31263         [BZ #15577]
31264         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31265         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31266         values in the triple.
31267         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31268         terminator in the group key.
31270 2013-06-11  Andreas Jaeger  <aj@suse.de>
31272         * po/zh_TW.po: Update Chinese (traditional) translation from
31273         translation project.
31275 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31277         * include/time.h (__clock_gettime): Add libc_hidden_proto.
31278         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31279         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
31280         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31281         (clock_getcpuclockid): Likewise.
31282         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31283         Add weak_alias and libc_hidden_def.
31284         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31285         * rt/clock_gettime.c (clock_gettime): Rename to
31286         __clock_gettime.  Add weak_alias and libc_hidden_def.
31287         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31288         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31289         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
31290         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31291         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31292         Likewise.
31293         * rt/clock_settime.c (clock_settime): Rename to
31294         __clock_settime.  Add weak_alias and libc_hidden_def.
31295         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31297 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
31299         * mach/err_boot.sub: Remove trailing whitespace.
31300         * mach/err_ipc.sub: Likewise.
31301         * mach/err_mach.sub: Likewise.
31303         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31304         (ROUNDING_TESTS_double): Likewise.
31305         (ROUNDING_TESTS_long_double): Likewise.
31306         (ROUNDING_TESTS): Likewise.
31307         * math/libm-test.inc: Include <math-tests.h>.
31308         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31309         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31310         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31311         (IF_ROUND_INIT_FE_UPWARD): Likewise.
31313 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31315         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31316         of assigning.
31318 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
31320         * sysdeps/gnu/errlist.awk: Do not generate space at end of
31321         otherwise empty TRANS lines.
31322         * sysdeps/gnu/errlist.c: Regenerated.
31324         * catgets/gencat.c (error_print): Use (void) in function
31325         definition.
31326         * crypt/crypt_util.c (__init_des): Likewise.
31327         * crypt/speeds.c (Stop): Likewise.
31328         (main): Likewise.
31329         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31330         * inet/ruserpass.c (token): Likewise.
31331         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31332         * intl/localealias.c (extend_alias_table): Likewise.
31333         * intl/plural-exp.c (init_germanic_plural): Likewise.
31334         * libio/fcloseall.c (__fcloseall): Likewise.
31335         * libio/genops.c (_IO_flush_all): Likewise.
31336         (_IO_flush_all_linebuffered): Likewise.
31337         (_IO_cleanup): Likewise.
31338         (_IO_iter_begin): Likewise.
31339         (_IO_iter_end): Likewise.
31340         (_IO_list_lock): Likewise.
31341         (_IO_list_unlock): Likewise.
31342         (_IO_list_resetlock): Likewise.
31343         * libio/getchar.c (getchar): Likewise.
31344         * libio/getchar_u.c (getchar_unlocked): Likewise.
31345         * libio/getwchar.c (getwchar): Likewise.
31346         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31347         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31348         * login/getpt.c (__getpt): Likewise.
31349         * login/tst-utmp.c (main): Likewise.
31350         * malloc/hooks.c (__malloc_check_init): Likewise.
31351         * malloc/malloc.c (__malloc_stats): Likewise.
31352         * malloc/mtrace.c (tr_break): Likewise.
31353         (mtrace): Likewise.
31354         (muntrace): Likewise.
31355         * misc/fstab.c (endfsent): Likewise.
31356         * misc/getclktck.c (__getclktck): Likewise.
31357         * misc/getdtsz.c (__getdtablesize): Likewise.
31358         * misc/gethostid.c (gethostid): Likewise.
31359         * misc/getpagesize.c (__getpagesize): Likewise.
31360         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31361         (__get_nprocs): Likewise.
31362         (__get_phys_pages): Likewise.
31363         (__get_avphys_pages): Likewise.
31364         * misc/getttyent.c (getttyent): Likewise.
31365         (setttyent): Likewise.
31366         (endttyent): Likewise.
31367         * misc/getusershell.c (getusershell): Likewise.
31368         (endusershell): Likewise.
31369         (setusershell): Likewise.
31370         (initshells): Likewise.
31371         * misc/hsearch.c (__hdestroy): Likewise.
31372         * misc/sync.c (sync): Likewise.
31373         * misc/syslog.c (closelog_internal): Likewise.
31374         (closelog): Likewise.
31375         * misc/ttyslot.c (ttyslot): Likewise.
31376         * misc/vhangup.c (vhangup): Likewise.
31377         * posix/fork.c (__fork): Likewise.
31378         * posix/getegid.c (__getegid): Likewise.
31379         * posix/geteuid.c (__geteuid): Likewise.
31380         * posix/getgid.c (__getgid): Likewise.
31381         * posix/getpid.c (__getpid): Likewise.
31382         * posix/getppid.c (__getppid): Likewise.
31383         * posix/getuid.c (__getuid): Likewise.
31384         * posix/pause.c (pause): Likewise.
31385         * posix/setpgrp.c (setpgrp): Likewise.
31386         * posix/setsid.c (__setsid): Likewise.
31387         * posix/test-vfork.c (noop): Likewise.
31388         * resolv/gethnamaddr.c (_endhtent): Likewise.
31389         (_gethtent): Likewise.
31390         (ht_endhostent): Likewise.
31391         (gethostent): Likewise.
31392         (dns_service): Likewise.
31393         * stdlib/drand48.c (drand48): Likewise.
31394         * stdlib/lrand48.c (lrand48): Likewise.
31395         * stdlib/mrand48.c (mrand48): Likewise.
31396         * stdlib/rand.c (rand): Likewise.
31397         * stdlib/random.c (__random): Likewise.
31398         * stdlib/setenv.c (clearenv): Likewise.
31399         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31400         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31401         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31402         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31403         (__get_nprocs): Likewise.
31404         (__get_phys_pages): Likewise.
31405         (__get_avphys_pages): Likewise.
31406         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31407         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31408         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31409         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31410         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31411         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31412         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31413         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31414         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31415         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31416         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31417         * sysdeps/mach/hurd/sync.c (sync): Likewise.
31418         * sysdeps/posix/clock.c (clock): Likewise.
31419         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31420         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31421         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31422         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31423         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31424         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31425         (__get_nprocs_conf): Likewise.
31426         (__get_phys_pages): Likewise.
31427         (__get_avphys_pages): Likewise.
31428         * time/clock.c (clock): Likewise.
31429         * time/tzset.c (__tzname_max): Likewise.
31431 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
31433         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31434         (__bswap_32): Do not use "register".
31435         * crypt/crypt.c (_ufc_doit_r): Likewise.
31436         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31437         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31438         * gmon/gmon.c (__monstartup): Likewise.
31439         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31440         * hurd/hurdmalloc.c (more_memory): Likewise.
31441         (malloc): Likewise.
31442         (free): Likewise.
31443         (realloc): Likewise.
31444         (malloc_fork_prepare): Likewise.
31445         (malloc_fork_parent): Likewise.
31446         (malloc_fork_child): Likewise.
31447         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31448         (_svcauth_des): Likewise.
31449         * inet/inet_lnaof.c (inet_lnaof): Likewise.
31450         * inet/inet_net.c (inet_network): Likewise.
31451         * inet/inet_netof.c (inet_netof): Likewise.
31452         * inet/rcmd.c (__validuser2_sa): Likewise.
31453         * io/fts.c (fts_open): Likewise.
31454         (fts_load): Likewise.
31455         (fts_close): Likewise.
31456         (fts_read): Likewise.
31457         (fts_children): Likewise.
31458         (fts_build): Likewise.
31459         (fts_stat): Likewise.
31460         (fts_sort): Likewise.
31461         (fts_alloc): Likewise.
31462         (fts_lfree): Likewise.
31463         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31464         (_IO_file_xsgetn): Likewise.
31465         (_IO_file_xsgetn_mmap): Likewise.
31466         * libio/iofopncook.c (_IO_cookie_read): Likewise.
31467         (_IO_cookie_write): Likewise.
31468         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31469         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31470         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31471         * malloc/obstack.c (_obstack_begin): Likewise.
31472         (_obstack_begin_1): Likewise.
31473         (_obstack_newchunk): Likewise.
31474         (_obstack_allocated_p): Likewise.
31475         (obstack_free): Likewise.
31476         (_obstack_memory_used): Likewise.
31477         * misc/getttyent.c (getttynam): Likewise.
31478         (getttyent): Likewise.
31479         (skip): Likewise.
31480         (value): Likewise.
31481         * misc/getusershell.c (initshells): Likewise.
31482         * misc/syslog.c (__vsyslog_chk): Likewise.
31483         * misc/ttyslot.c (ttyslot): Likewise.
31484         * nis/nis_hash.c (__nis_hash): Likewise.
31485         * posix/fnmatch_loop.c (FCT): Likewise.
31486         * posix/getconf.c (print_all): Likewise.
31487         (main): Likewise.
31488         * posix/getopt.c (exchange): Likewise.
31489         * posix/glob.c (globfree): Likewise.
31490         (prefix_array): Likewise.
31491         (__glob_pattern_type): Likewise.
31492         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31493         (NS_GET32): Likewise.
31494         (NS_PUT16): Likewise.
31495         (NS_PUT32): Likewise.
31496         * resolv/gethnamaddr.c (getanswer): Likewise.
31497         (gethostbyname2): Likewise.
31498         (gethostbyaddr): Likewise.
31499         (_gethtent): Likewise.
31500         (_gethtbyname2): Likewise.
31501         (_gethtbyaddr): Likewise.
31502         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31503         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31504         * resolv/res_init.c (__res_vinit): Likewise.
31505         (net_mask): Likewise.
31506         * resolv/res_mkquery.c (outchar): Likewise.
31507         (PRINT): Likewise.
31508         * stdio-common/printf_fp.c (outchar): Likewise.
31509         (PRINT): Likewise.
31510         * stdio-common/printf_fphex.c (outchar): Likewise.
31511         (PRINT): Likewise.
31512         * stdio-common/printf_size.c (outchar): Likewise.
31513         (PRINT): Likewise.
31514         * stdio-common/test_rdwr.c (main): Likewise.
31515         * stdio-common/tfformat.c (matches): Likewise.
31516         * stdio-common/vfprintf.c (outchar): Likewise.
31517         (printf_unknown): Likewise.
31518         (buffered_vfprintf): Likewise.
31519         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31520         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31521         (ReadFile): Likewise.
31522         * stdlib/qsort.c (SWAP): Likewise.
31523         (_quicksort): Likewise.
31524         * stdlib/setenv.c (__add_to_environ): Likewise.
31525         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31526         * stdlib/strtol_l.c (__strtol_l): Likewise.
31527         * stdlib/tst-strtod.c (main): Likewise.
31528         * stdlib/tst-strtol.c (main): Likewise.
31529         * stdlib/tst-strtoll.c (main): Likewise.
31530         * string/bits/string2.h (__strcmp_cc): Likewise.
31531         (__strcmp_cg): Likewise.
31532         (__strcspn_c1): Likewise.
31533         (__strcspn_c2): Likewise.
31534         (__strcspn_c3): Likewise.
31535         (__strspn_c1): Likewise.
31536         (__strspn_c2): Likewise.
31537         (__strspn_c3): Likewise.
31538         (__strsep_1c): Likewise.
31539         (__strsep_2c): Likewise.
31540         (__strsep_3c): Likewise.
31541         * string/memccpy.c (__memccpy): Likewise.
31542         * string/stpcpy.c (__stpcpy): Likewise.
31543         * string/strcmp.c (strcmp): Likewise.
31544         * string/strrchr.c (strrchr): Likewise.
31545         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31546         Likewise.
31547         * sysdeps/mach/hurd/getcwd.c
31548         (_hurd_canonicalize_directory_name_internal): Likewise.
31549         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31550         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31551         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31552         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31553         Likewise, in both definitions.
31554         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31555         definitions.
31556         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31557         64] (__bswap_64): Likewise.
31558         * time/test_time.c (main): Likewise.
31559         * time/tzfile.c (__tzfile_read): Likewise.
31560         (__tzfile_compute): Likewise.
31561         * time/tzset.c (__tzset_parse_tz): Likewise.
31562         (tzset_internal): Likewise.
31563         (compute_change): Likewise.
31564         * wcsmbs/wcscat.c (__wcscat): Likewise.
31565         * wcsmbs/wcschr.c (wcschr): Likewise.
31566         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31567         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31568         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31569         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31570         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31571         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31572         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31573         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31574         * wcsmbs/wmemset.c (wmemset): Likewise.
31576 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31578         * scripts/config.guess: Update to version 2013-05-16.
31579         * scripts/config.sub: Update to version 2013-04-24.
31580         * scripts/install-sh: Update to version 2011-11-20.07.
31581         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31582         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31584 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31586         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31587         * elf/sln.c: Likewise.
31588         * hurd/hurd/ioctl.h: Likewise.
31589         * hurd/hurdmalloc.c: Likewise.
31590         * hurd/xattr.c: Likewise.
31591         * include/shlib-compat.h: Likewise.
31592         * inet/ruserpass.c: Likewise.
31593         * libio/iofgets_u.c: Likewise.
31594         * libio/iofgetws_u.c: Likewise.
31595         * locale/programs/ld-identification.c: Likewise.
31596         * locale/programs/ld-time.c: Likewise.
31597         * mach/msg-destroy.c: Likewise.
31598         * nss/nss_files/files-netgrp.c: Likewise.
31599         * resolv/res_data.c: Likewise.
31600         * soft-fp/op-1.h: Likewise.
31601         * soft-fp/op-2.h: Likewise.
31602         * soft-fp/op-4.h: Likewise.
31603         * soft-fp/op-common.h: Likewise.
31604         * stdio-common/printf_fphex.c: Likewise.
31605         * stdlib/strtod_l.c: Likewise.
31606         * sunrpc/rpc/clnt.h: Likewise.
31607         * sysdeps/generic/framestate.c: Likewise.
31608         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31609         * sysdeps/i386/bsd-setjmp.S: Likewise.
31610         * sysdeps/i386/__longjmp.S: Likewise.
31611         * sysdeps/i386/setjmp.S: Likewise.
31612         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31613         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31614         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31615         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31616         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31617         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31618         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31619         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31620         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31621         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31622         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31623         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31624         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31625         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31626         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31627         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31628         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31629         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31630         * sysdeps/ieee754/support.c: Likewise.
31631         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31632         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31633         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31634         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31635         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31636         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31637         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31638         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31639         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31640         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31641         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31642         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31643         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31644         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31645         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31646         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31647         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31650 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31652         * posix/transbug.c: Remove executable mode.
31654 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31656         * crypt/speeds.c: Remove trailing whitespace.
31657         * dlfcn/default.c: Likewise.
31658         * elf/ifuncdep2.c: Likewise.
31659         * elf/ifuncmain1.c: Likewise.
31660         * elf/ifuncmain1vis.c: Likewise.
31661         * elf/testobj.h: Likewise.
31662         * elf/tst-stackguard1.c: Likewise.
31663         * gmon/sys/gmon.h: Likewise.
31664         * hurd/hurdmsg.c: Likewise.
31665         * hurd/new-fd.c: Likewise.
31666         * hurd/ports-get.c: Likewise.
31667         * iconvdata/ibm1008_420.c: Likewise.
31668         * inet/tst-getni1.c: Likewise.
31669         * inet/tst-getni2.c: Likewise.
31670         * libio/ioungetc.c: Likewise.
31671         * libio/wfiledoalloc.c: Likewise.
31672         * manual/libm-err-tab.pl: Likewise.
31673         * math/w_dremf.c: Likewise.
31674         * misc/ftruncate.c: Likewise.
31675         * posix/bug-glob2.c: Likewise.
31676         * posix/tst-pcre.c: Likewise.
31677         * posix/wait4.c: Likewise.
31678         * resolv/README: Likewise.
31679         * resolv/res_debug.h: Likewise.
31680         * resolv/tst-inet_ntop.c: Likewise.
31681         * setjmp/bug269-setjmp.c: Likewise.
31682         * soft-fp/extended.h: Likewise.
31683         * soft-fp/op-1.h: Likewise.
31684         * soft-fp/op-2.h: Likewise.
31685         * soft-fp/op-4.h: Likewise.
31686         * soft-fp/op-8.h: Likewise.
31687         * soft-fp/testit.c: Likewise.
31688         * stdio-common/bug16.c: Likewise.
31689         * stdlib/random.c: Likewise.
31690         * sunrpc/rpcsvc/rquota.x: Likewise.
31691         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31692         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31693         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31694         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31695         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31696         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31697         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31698         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31699         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31700         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31701         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31702         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31703         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31704         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31705         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31706         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31707         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31708         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31709         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31710         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31711         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31712         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31713         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31714         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31715         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31716         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31717         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31718         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31719         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31720         * sysdeps/ieee754/s_lib_version.c: Likewise.
31721         * sysdeps/mach/hurd/check_fds.c: Likewise.
31722         * sysdeps/mach/hurd/getsockname.c: Likewise.
31723         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31724         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31725         * sysdeps/powerpc/bits/link.h: Likewise.
31726         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31727         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31728         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31729         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31730         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31731         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31732         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31733         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31734         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31735         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31736         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31737         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31738         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31739         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31740         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31741         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31742         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31743         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31744         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31745         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31746         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31747         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31748         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31749         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31750         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31751         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31752         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31753         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31754         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31755         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31756         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31757         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31758         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31759         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31760         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31761         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31762         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31763         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31764         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31765         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31766         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31767         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31768         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31769         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31770         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31771         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31772         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31773         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31774         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31775         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31776         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31777         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31778         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31779         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31780         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31781         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31782         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31783         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31784         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31785         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31786         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31787         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31788         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31789         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31790         * sysdeps/powerpc/sysdep.h: Likewise.
31791         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31792         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31793         * sysdeps/sh/dl-trampoline.S: Likewise.
31794         * sysdeps/sh/memset.S: Likewise.
31795         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31796         * sysdeps/sh/strlen.S: Likewise.
31797         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31798         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31799         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31800         * sysdeps/sparc/sparc32/rem.S: Likewise.
31801         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31802         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31803         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31804         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31805         * sysdeps/sparc/sparc32/urem.S: Likewise.
31806         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31807         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31808         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31809         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31810         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31811         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31812         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31813         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31814         * sysdeps/unix/bsd/times.c: Likewise.
31815         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31816         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31820         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31821         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31822         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31823         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31824         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31825         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31826         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31827         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31828         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31829         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31830         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31831         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31832         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31833         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31834         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31835         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31836         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31837         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31838         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31839         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31840         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31841         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31842         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31843         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31844         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31845         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31846         * sysdeps/x86_64/strcspn.S: Likewise.
31848 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31850         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31851         generated file.  Regenerate properly from gen-translit.pl.
31852         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31853         locale/C-translit.h.
31855 2013-06-05  Andreas Schwab  <schwab@suse.de>
31857         [BZ #15100]
31858         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31859         week as 6 instead of -1.
31860         * time/tst-strptime.c (day_tests): Add test case.
31862 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31864         * sysdeps/generic/math_private.h
31865         (libc_feholdexcept_setround_53bit): Replace with
31866         libc_feholdsetround_53bit.
31867         (libc_feupdateenv_53bit): Replace with
31868         libc_feresetround_53bit.
31869         (SET_RESTORE_ROUND_53BIT): Adjust.
31871 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31873         * string/test-strchrnul.c: Add copyright header.
31875         * posix/tst-getaddrinfo4.c: Increase test timeout.
31877 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31879         [BZ #15536]
31880         * math/libm-test.inc (MAX_EXP): Remove
31881         (MIN_EXP): Define.
31882         (ulp): Use MIN_EXP - MANT_DIG.
31883         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31885 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31887         * po/be.po: Revert last change.
31888         * po/zh_CN.po: Likewise.
31889         * po/header.pot: Likewise.
31891 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31893         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31894         link-libc-deps to empty as target-specific variable.
31895         * Makerules (link-libc-args): New variable.
31896         (libc-for-link): Likewise.
31897         (link-libc-deps): Likewise.
31898         (lib%.so): Depend on $(link-libc-deps).  Link with
31899         $(link-libc-args).
31900         (build-module): Link with $(link-libc-args).
31901         (build-module-asneeded): Likewise.
31902         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31903         list of objects.
31904         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31905         target-specific variable.
31906         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31907         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31908         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31909         libc.
31910         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31911         libc and ld.so.
31912         ($(objpfx)libpcprofile.so): Likewise.
31913         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31914         libc_nonshared.a.
31915         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31916         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31917         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31918         $(link-libc-deps).
31919         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31920         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31921         * login/Makefile ($(objpfx)libutil.so): Likewise.
31922         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31923         * math/Makefile ($(objpfx)libm.so): Likewise.
31924         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31925         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31926         variable instead of depending directly on libc.
31927         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31928         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31929         $(link-libc-deps).
31930         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31931         libc.
31932         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31933         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31934         ($(objpfx)libanl.so): Likewise.
31935         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31936         ld.so.
31937         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31938         $(link-libc-deps).
31939         * sysdeps/i386/fpu/Makefile: Remove file.
31940         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31941         ($(objpfx)libm.so): Remove dependency on ld.so.
31943 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31945         [BZ # 15553]
31946         * nis/yp_xdr.c (XDRMAXNAME): Define.
31947         (XDRMAXRECORD): Define.
31948         (xdr_domainname): Use XDRMAXNAME.
31949         (xdr_mapname): Likewise.
31950         (xdr_peername): Likewise.
31951         (xdr_keydat): Use XDRMAXRECORD.
31952         (xdr_valdat): Likewise.
31954 2013-05-30  Jeff Law  <law@redhat.com>
31956         [BZ #14256]
31957         * manual/errno.texi (ESTALE): Update to account for more than
31958         just NFS file systems.
31959         * sysdeps/gnu/errlist.c: Regenerated.
31961 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31963         [BZ #15465]
31964         * elf/Makefile (tests): Add tst-null-argv.
31965         (modules-names):  Add tst-null-argv-lib.
31966         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31967         (tst-null-argv-ENV): Set environment for tst-null-argv.
31968         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31969         (RTLD_PROGNAME): New macro.
31970         * elf/tst-null-argv.c: New test case.
31971         * elf/tst-null-argv-lib.c: Library for test case.
31972         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31973         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31974         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31975         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31976         * elf/dl-init.c (call_init): Likewise.
31977         (_dl_init): Likewise.
31978         * elf/dl-load.c (print_search_path): Likewise.
31979         (_dl_map_object): Likewise.
31980         * elf/dl-lookup.c (do_lookup_x): Likewise.
31981         (add_dependency): Likewise.
31982         (_dl_lookup_symbol_x): Likewise.
31983         (_dl_debug_bindings): Likewise.
31984         * elf/dl-open.c (_dl_show_scope): Likewise.
31985         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31986         * elf/dl-version.c (match_symbol): Likewise.
31987         (_dl_check_map_versions): Likewise.
31988         * elf/rtld.c (dl_main): Likewise.
31989         (print_unresolved): Use RTLD_PROGNAME.
31990         (print_missing_version): Likewise.
31991         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31992         (elf_machine_rela): Likewise.
31993         * sysdeps/powerpc/powerpc32/dl-machine.c
31994         (__process_machine_rela): Likewise.
31995         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31996         Likewise.
31997         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31998         Likewise.
31999         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32000         Likewise.
32001         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32002         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32003         Likewise.
32004         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32005         Likewise.
32006         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32008 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
32010         * po/be.po: Add descriptive title.
32011         * po/zh_CN.po: Likewise.
32012         * po/header.pot: Likewise.
32014 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
32016         * locale/programs/locarchive.c (create_archive): Inlucde fname in
32017         error message.
32018         (enlarge_archive): Likewise.
32020 2013-05-28  Ben North  <ben@redfrontdoor.org>
32022         * manual/arith.texi (frexp): It is the magnitude of the return
32023         value which lies in [0.5, 1), not the return value itself.
32025 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32029 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
32031         * stdio-common/bug26.c (main): Correct fscanf template.
32033         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32034         declare _dl_skip_args.
32036         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32037         Don't declare.
32039         * manual/platform.texi: Add missing @end deftypefun.
32041 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32043         [BZ #15529]
32044         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32045         bit of mantissa of 2^16382.
32046         * math/libm-test.inc (hypot_test_data): Add more tests.
32048         * math/libm-test.inc: Add drem and pow10 to list of tested
32049         functions.
32050         (pow10_test): New function.
32051         (drem_test): Likewise.
32052         (drem_test_tonearest): Likewise.
32053         (drem_test_towardzero): Likewise.
32054         (drem_test_downward): Likewise.
32055         (drem_test_upward): Likewise.
32056         (main): Call the new functions.
32058         * math/libm-test.inc (finite_test_data): Remove.
32059         (finite_test): Run tests from isfinite_test_data.
32060         (gamma_test_data): Remove.
32061         (gamma_test): Run tests from lgamma_test_data.
32062         * sysdeps/i386/fpu/libm-test-ulps: Update.
32063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32065 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32067         * manual/platform.texi: Add PowerPC PPR function set documentation.
32068         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32069         implementation.
32071 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
32073         * math/libm-test.inc (MAX_EXP): Define.
32074         (ULPDIFF): Define.
32075         (ulp): New function.
32076         (check_float_internal): Use ULPDIFF.
32077         (cpow_test): Disable failing test.
32078         (check_ulp): Test ulp() implemetnation.
32079         (main): Call check_ulp before starting tests.
32081 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
32083         * math/gen-libm-test.pl (generate_testfile): Do not handle
32084         START_DATA and END_DATA.
32085         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32086         END_DATA.
32087         (acos_tonearest_test_data): Likewise.
32088         (acos_towardzero_test_data): Likewise.
32089         (acos_downward_test_data): Likewise.
32090         (acos_upward_test_data): Likewise.
32091         (acosh_test_data): Likewise.
32092         (asin_test_data): Likewise.
32093         (asin_tonearest_test_data): Likewise.
32094         (asin_towardzero_test_data): Likewise.
32095         (asin_downward_test_data): Likewise.
32096         (asin_upward_test_data): Likewise.
32097         (asinh_test_data): Likewise.
32098         (atan_test_data): Likewise.
32099         (atanh_test_data): Likewise.
32100         (atan2_test_data): Likewise.
32101         (cabs_test_data): Likewise.
32102         (cacos_test_data): Likewise.
32103         (cacosh_test_data): Likewise.
32104         (carg_test_data): Likewise.
32105         (casin_test_data): Likewise.
32106         (casinh_test_data): Likewise.
32107         (catan_test_data): Likewise.
32108         (catanh_test_data): Likewise.
32109         (cbrt_test_data): Likewise.
32110         (ccos_test_data): Likewise.
32111         (ccosh_test_data): Likewise.
32112         (ceil_test_data): Likewise.
32113         (cexp_test_data): Likewise.
32114         (cimag_test_data): Likewise.
32115         (clog_test_data): Likewise.
32116         (clog10_test_data): Likewise.
32117         (conj_test_data): Likewise.
32118         (copysign_test_data): Likewise.
32119         (cos_test_data): Likewise.
32120         (cos_tonearest_test_data): Likewise.
32121         (cos_towardzero_test_data): Likewise.
32122         (cos_downward_test_data): Likewise.
32123         (cos_upward_test_data): Likewise.
32124         (cosh_test_data): Likewise.
32125         (cosh_tonearest_test_data): Likewise.
32126         (cosh_towardzero_test_data): Likewise.
32127         (cosh_downward_test_data): Likewise.
32128         (cosh_upward_test_data): Likewise.
32129         (cpow_test_data): Likewise.
32130         (cproj_test_data): Likewise.
32131         (creal_test_data): Likewise.
32132         (csin_test_data): Likewise.
32133         (csinh_test_data): Likewise.
32134         (csqrt_test_data): Likewise.
32135         (ctan_test_data): Likewise.
32136         (ctan_tonearest_test_data): Likewise.
32137         (ctan_towardzero_test_data): Likewise.
32138         (ctan_downward_test_data): Likewise.
32139         (ctan_upward_test_data): Likewise.
32140         (ctanh_test_data): Likewise.
32141         (ctanh_tonearest_test_data): Likewise.
32142         (ctanh_towardzero_test_data): Likewise.
32143         (ctanh_downward_test_data): Likewise.
32144         (ctanh_upward_test_data): Likewise.
32145         (erf_test_data): Likewise.
32146         (erfc_test_data): Likewise.
32147         (exp_test_data): Likewise.
32148         (exp_tonearest_test_data): Likewise.
32149         (exp_towardzero_test_data): Likewise.
32150         (exp_downward_test_data): Likewise.
32151         (exp_upward_test_data): Likewise.
32152         (exp10_test_data): Likewise.
32153         (exp2_test_data): Likewise.
32154         (expm1_test_data): Likewise.
32155         (fabs_test_data): Likewise.
32156         (fdim_test_data): Likewise.
32157         (finite_test_data): Likewise.
32158         (floor_test_data): Likewise.
32159         (fma_test_data): Likewise.
32160         (fma_towardzero_test_data): Likewise.
32161         (fma_downward_test_data): Likewise.
32162         (fma_upward_test_data): Likewise.
32163         (fmax_test_data): Likewise.
32164         (fmin_test_data): Likewise.
32165         (fmod_test_data): Likewise.
32166         (fpclassify_test_data): Likewise.
32167         (frexp_test_data): Likewise.
32168         (gamma_test_data): Likewise.
32169         (hypot_test_data): Likewise.
32170         (ilogb_test_data): Likewise.
32171         (isfinite_test_data): Likewise.
32172         (isgreater_test_data): Likewise.
32173         (isgreaterequal_test_data): Likewise.
32174         (isinf_test_data): Likewise.
32175         (isless_test_data): Likewise.
32176         (islessequal_test_data): Likewise.
32177         (islessgreater_test_data): Likewise.
32178         (isnan_test_data): Likewise.
32179         (isnormal_test_data): Likewise.
32180         (issignaling_test_data): Likewise.
32181         (isunordered_test_data): Likewise.
32182         (j0_test_data): Likewise.
32183         (j1_test_data): Likewise.
32184         (jn_test_data): Likewise.
32185         (ldexp_test_data): Likewise.
32186         (lgamma_test_data): Likewise.
32187         (lrint_test_data): Likewise.
32188         (lrint_tonearest_test_data): Likewise.
32189         (lrint_towardzero_test_data): Likewise.
32190         (lrint_downward_test_data): Likewise.
32191         (lrint_upward_test_data): Likewise.
32192         (llrint_test_data): Likewise.
32193         (llrint_tonearest_test_data): Likewise.
32194         (llrint_towardzero_test_data): Likewise.
32195         (llrint_downward_test_data): Likewise.
32196         (llrint_upward_test_data): Likewise.
32197         (log_test_data): Likewise.
32198         (log10_test_data): Likewise.
32199         (log1p_test_data): Likewise.
32200         (log2_test_data): Likewise.
32201         (logb_test_data): Likewise.
32202         (logb_downward_test_data): Likewise.
32203         (lround_test_data): Likewise.
32204         (llround_test_data): Likewise.
32205         (modf_test_data): Likewise.
32206         (nearbyint_test_data): Likewise.
32207         (nextafter_test_data): Likewise.
32208         (nexttoward_test_data): Likewise.
32209         (pow_test_data): Likewise.
32210         (pow_tonearest_test_data): Likewise.
32211         (pow_towardzero_test_data): Likewise.
32212         (pow_downward_test_data): Likewise.
32213         (pow_upward_test_data): Likewise.
32214         (remainder_test_data): Likewise.
32215         (remainder_tonearest_test_data): Likewise.
32216         (remainder_towardzero_test_data): Likewise.
32217         (remainder_downward_test_data): Likewise.
32218         (remainder_upward_test_data): Likewise.
32219         (remquo_test_data): Likewise.
32220         (rint_test_data): Likewise.
32221         (rint_tonearest_test_data): Likewise.
32222         (rint_towardzero_test_data): Likewise.
32223         (rint_downward_test_data): Likewise.
32224         (rint_upward_test_data): Likewise.
32225         (round_test_data): Likewise.
32226         (scalb_test_data): Likewise.
32227         (scalbn_test_data): Likewise.
32228         (scalbln_test_data): Likewise.
32229         (signbit_test_data): Likewise.
32230         (sin_test_data): Likewise.
32231         (sin_tonearest_test_data): Likewise.
32232         (sin_towardzero_test_data): Likewise.
32233         (sin_downward_test_data): Likewise.
32234         (sin_upward_test_data): Likewise.
32235         (sincos_test_data): Likewise.
32236         (sinh_test_data): Likewise.
32237         (sinh_tonearest_test_data): Likewise.
32238         (sinh_towardzero_test_data): Likewise.
32239         (sinh_downward_test_data): Likewise.
32240         (sinh_upward_test_data): Likewise.
32241         (sqrt_test_data): Likewise.
32242         (tan_test_data): Likewise.
32243         (tan_tonearest_test_data): Likewise.
32244         (tan_towardzero_test_data): Likewise.
32245         (tan_downward_test_data): Likewise.
32246         (tan_upward_test_data): Likewise.
32247         (tanh_test_data): Likewise.
32248         (tgamma_test_data): Likewise.
32249         (trunc_test_data): Likewise.
32250         (y0_test_data): Likewise.
32251         (y1_test_data): Likewise.
32252         (yn_test_data): Likewise.
32253         (significand_test_data): Likewise.
32255         * math/gen-libm-test.pl (@functions): Remove variable.
32256         (generate_testfile): Don't handle START and END lines.
32257         * math/libm-test.inc (START): New macro.
32258         (END): Likewise.
32259         (END_COMPLEX): Likewise.
32260         (acos_test): Use END macro without arguments.
32261         (acos_test_tonearest): Likewise.
32262         (acos_test_towardzero): Likewise.
32263         (acos_test_downward): Likewise.
32264         (acos_test_upward): Likewise.
32265         (acosh_test): Likewise.
32266         (asin_test): Likewise.
32267         (asin_test_tonearest): Likewise.
32268         (asin_test_towardzero): Likewise.
32269         (asin_test_downward): Likewise.
32270         (asin_test_upward): Likewise.
32271         (asinh_test): Likewise.
32272         (atan_test): Likewise.
32273         (atanh_test): Likewise.
32274         (atan2_test): Likewise.
32275         (cabs_test): Likewise.
32276         (cacos_test): Use END_COMPLEX macro without arguments.
32277         (cacosh_test): Likewise.
32278         (carg_test): Use END macro without arguments.
32279         (casin_test): Use END_COMPLEX macro without arguments.
32280         (casinh_test): Likewise.
32281         (catan_test): Likewise.
32282         (catanh_test): Likewise.
32283         (cbrt_test): Use END macro without arguments.
32284         (ccos_test): Use END_COMPLEX macro without arguments.
32285         (ccosh_test): Likewise.
32286         (ceil_test): Use END macro without arguments.
32287         (cexp_test): Use END_COMPLEX macro without arguments.
32288         (cimag_test): Use END macro without arguments.
32289         (clog_test): Use END_COMPLEX macro without arguments.
32290         (clog10_test): Likewise.
32291         (conj_test): Likewise.
32292         (copysign_test): Use END macro without arguments.
32293         (cos_test): Likewise.
32294         (cos_test_tonearest): Likewise.
32295         (cos_test_towardzero): Likewise.
32296         (cos_test_downward): Likewise.
32297         (cos_test_upward): Likewise.
32298         (cosh_test): Likewise.
32299         (cosh_test_tonearest): Likewise.
32300         (cosh_test_towardzero): Likewise.
32301         (cosh_test_downward): Likewise.
32302         (cosh_test_upward): Likewise.
32303         (cpow_test): Use END_COMPLEX macro without arguments.
32304         (cproj_test): Likewise.
32305         (creal_test): Use END macro without arguments.
32306         (csin_test): Use END_COMPLEX macro without arguments.
32307         (csinh_test): Likewise.
32308         (csqrt_test): Likewise.
32309         (ctan_test): Likewise.
32310         (ctan_test_tonearest): Likewise.
32311         (ctan_test_towardzero): Likewise.
32312         (ctan_test_downward): Likewise.
32313         (ctan_test_upward): Likewise.
32314         (ctanh_test): Likewise.
32315         (ctanh_test_tonearest): Likewise.
32316         (ctanh_test_towardzero): Likewise.
32317         (ctanh_test_downward): Likewise.
32318         (ctanh_test_upward): Likewise.
32319         (erf_test): Use END macro without arguments.
32320         (erfc_test): Likewise.
32321         (exp_test): Likewise.
32322         (exp_test_tonearest): Likewise.
32323         (exp_test_towardzero): Likewise.
32324         (exp_test_downward): Likewise.
32325         (exp_test_upward): Likewise.
32326         (exp10_test): Likewise.
32327         (exp2_test): Likewise.
32328         (expm1_test): Likewise.
32329         (fabs_test): Likewise.
32330         (fdim_test): Likewise.
32331         (finite_test): Likewise.
32332         (floor_test): Likewise.
32333         (fma_test): Likewise.
32334         (fma_test_towardzero): Likewise.
32335         (fma_test_downward): Likewise.
32336         (fma_test_upward): Likewise.
32337         (fmax_test): Likewise.
32338         (fmin_test): Likewise.
32339         (fmod_test): Likewise.
32340         (fpclassify_test): Likewise.
32341         (frexp_test): Likewise.
32342         (gamma_test): Likewise.
32343         (hypot_test): Likewise.
32344         (ilogb_test): Likewise.
32345         (isfinite_test): Likewise.
32346         (isgreater_test): Likewise.
32347         (isgreaterequal_test): Likewise.
32348         (isinf_test): Likewise.
32349         (isless_test): Likewise.
32350         (islessequal_test): Likewise.
32351         (islessgreater_test): Likewise.
32352         (isnan_test): Likewise.
32353         (isnormal_test): Likewise.
32354         (issignaling_test): Likewise.
32355         (isunordered_test): Likewise.
32356         (j0_test): Likewise.
32357         (j1_test): Likewise.
32358         (jn_test): Likewise.
32359         (ldexp_test): Likewise.
32360         (lgamma_test): Likewise.
32361         (lrint_test): Likewise.
32362         (lrint_test_tonearest): Likewise.
32363         (lrint_test_towardzero): Likewise.
32364         (lrint_test_downward): Likewise.
32365         (lrint_test_upward): Likewise.
32366         (llrint_test): Likewise.
32367         (llrint_test_tonearest): Likewise.
32368         (llrint_test_towardzero): Likewise.
32369         (llrint_test_downward): Likewise.
32370         (llrint_test_upward): Likewise.
32371         (log_test): Likewise.
32372         (log10_test): Likewise.
32373         (log1p_test): Likewise.
32374         (log2_test): Likewise.
32375         (logb_test): Likewise.
32376         (logb_test_downward): Likewise.
32377         (lround_test): Likewise.
32378         (llround_test): Likewise.
32379         (modf_test): Likewise.
32380         (nearbyint_test): Likewise.
32381         (nextafter_test): Likewise.
32382         (nexttoward_test): Likewise.
32383         (pow_test): Likewise.
32384         (pow_test_tonearest): Likewise.
32385         (pow_test_towardzero): Likewise.
32386         (pow_test_downward): Likewise.
32387         (pow_test_upward): Likewise.
32388         (remainder_test): Likewise.
32389         (remainder_test_tonearest): Likewise.
32390         (remainder_test_towardzero): Likewise.
32391         (remainder_test_downward): Likewise.
32392         (remainder_test_upward): Likewise.
32393         (remquo_test): Likewise.
32394         (rint_test): Likewise.
32395         (rint_test_tonearest): Likewise.
32396         (rint_test_towardzero): Likewise.
32397         (rint_test_downward): Likewise.
32398         (rint_test_upward): Likewise.
32399         (round_test): Likewise.
32400         (scalb_test): Likewise.
32401         (scalbn_test): Likewise.
32402         (scalbln_test): Likewise.
32403         (signbit_test): Likewise.
32404         (sin_test): Likewise.
32405         (sin_test_tonearest): Likewise.
32406         (sin_test_towardzero): Likewise.
32407         (sin_test_downward): Likewise.
32408         (sin_test_upward): Likewise.
32409         (sincos_test): Likewise.
32410         (sinh_test): Likewise.
32411         (sinh_test_tonearest): Likewise.
32412         (sinh_test_towardzero): Likewise.
32413         (sinh_test_downward): Likewise.
32414         (sinh_test_upward): Likewise.
32415         (sqrt_test): Likewise.
32416         (tan_test): Likewise.
32417         (tan_test_tonearest): Likewise.
32418         (tan_test_towardzero): Likewise.
32419         (tan_test_downward): Likewise.
32420         (tan_test_upward): Likewise.
32421         (tanh_test): Likewise.
32422         (tgamma_test): Likewise.
32423         (trunc_test): Likewise.
32424         (y0_test): Likewise.
32425         (y1_test): Likewise.
32426         (yn_test): Likewise.
32427         (significand_test): Likewise.
32429 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
32431         [BZ #15381]
32432         * libio/genops.c (_IO_no_init): Initialize wide struct info.
32434 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32436         [BZ #14894]
32437         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32438         __ppc_mdoio and __ppc_mdoom.
32439         * manual/platform.texi: Document new functions __ppc_yield,
32440         __ppc_mdoio and __ppc_mdoom.
32442 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
32444         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32445         (main): Mention "tls" pseudo-hwcap is legacy.
32446         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32448 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32450         * math/gen-libm-test.pl (parse_args): Output only string of
32451         arguments as text for test name, not full call or descriptions of
32452         tests for extra outputs.
32453         (generate_testfile): Do not pass function name to parse_args.
32454         Generate this_func variable from START.
32455         * math/libm-test.inc (struct test_f_f_data): Rename test_name
32456         field to arg_str.
32457         (struct test_ff_f_data): Likewise.
32458         (test_ff_f_data_nexttoward): Likewise.
32459         (struct test_fi_f_data): Likewise.
32460         (struct test_fl_f_data): Likewise.
32461         (struct test_if_f_data): Likewise.
32462         (struct test_fff_f_data): Likewise.
32463         (struct test_c_f_data): Likewise.
32464         (struct test_f_f1_data): Likewise.  Remove field extra_name.
32465         (struct test_fF_f1_data): Likewise.
32466         (struct test_ffI_f1_data): Likewise.
32467         (struct test_c_c_data): Rename test_name field to arg_str.
32468         (struct test_cc_c_data): Likewise.
32469         (struct test_f_i_data): Likewise.
32470         (struct test_ff_i_data): Likewise.
32471         (struct test_f_l_data): Likewise.
32472         (struct test_f_L_data): Likewise.
32473         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
32474         and extra2_name.
32475         (COMMON_TEST_SETUP): New macro.
32476         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32477         (COMMON_TEST_CLEANUP): Likewise.
32478         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32479         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
32480         macros.
32481         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32482         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
32483         macros.
32484         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32485         (RUN_TEST_fff_f): Take argument string.  Call new setup and
32486         cleanup macros.
32487         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32488         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
32489         macros.
32490         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32491         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
32492         macros.
32493         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32494         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32495         cleanup macros.
32496         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32497         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32498         cleanup macros.
32499         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32500         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32501         cleanup macros.
32502         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32503         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32504         macros.
32505         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32506         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32507         macros.
32508         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32509         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32510         macros.
32511         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32512         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32513         cleanup macros.
32514         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32515         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32516         cleanup macros.
32517         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32518         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32519         macros.
32520         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32521         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32522         cleanup macros.
32523         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32524         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32525         macros.
32526         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32527         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32528         macros.
32529         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32530         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32531         cleanup macros.
32532         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32534 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32536         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32537         to _sifields.sigfault.
32538         (si_addr_lsb): Define new macro.
32539         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32540         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32541         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32543 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32545         [BZ #15441]
32546         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32547         returns -1.
32548         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32549         null return -1.
32550         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32551         loading the domain.
32553 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32555         * math/gen-libm-test.pl (parse_args): Do not include expected
32556         result in test name.
32557         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32558         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32559         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32560         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32561         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32564 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32566         * benchtests/Makefile: Sort function entries.
32568         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32569         tanh, asinh, acosh, atanh.
32570         * benchtests/acos-inputs: New file.
32571         * benchtests/acosh-inputs: New file.
32572         * benchtests/asin-inputs: New file.
32573         * benchtests/asinh-inputs: New file.
32574         * benchtests/atanh-inputs: New file.
32575         * benchtests/cosh-inputs: New file.
32576         * benchtests/log-inputs: New file.
32577         * benchtests/sinh-inputs: New file.
32578         * benchtests/tanh-inputs: New file.
32580 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32582         [BZ #15339]
32583         * posix/tst-getaddrinfo4.c: New test.
32584         * posix/Makefile (tests): Add it.
32586 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32588         [BZ #15339]
32589         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32590         when no services were used.
32591         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32592         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32594 2013-05-21  Andreas Schwab  <schwab@suse.de>
32596         [BZ #15014]
32597         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32598         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32599         successful.
32600         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32601         redundant variable declarations and reallocation of buffer when
32602         parsing as IPv6 address.  Always set NSS status when called from
32603         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32604         buffer too small.  Correct computation of needed size.
32605         * nss/Makefile (tests): Add test-digits-dots.
32606         * nss/test-digits-dots.c: New test.
32608 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32610         * benchtests/Makefile: Remove instructions for adding
32611         benchmark tests.
32612         * benchtests/README: New file to explain how to execute and
32613         enhance the benchmark tests.
32615 2013-05-21  Andreas Schwab  <schwab@suse.de>
32617         [BZ #15493]
32618         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32619         * setjmp/tst-sigsetjmp.c: New test.
32621 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32623         * sysdeps/x86_64/memset.S (memset): New implementation.
32624         (__bzero): Likewise.
32625         (__memset_tail): New function.
32627 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32629         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32630         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32631         __memcpy_sse2_unaligned ifunc selection.
32632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32633         Add memcpy-sse2-unaligned.S.
32634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32635         Add: __memcpy_sse2_unaligned.
32637 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32639         [BZ #15490]
32640         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32641         math_force_eval before restoring floating-point envrionment.
32642         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32643         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32644         Likewise.
32645         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32646         <math_private.h>.
32647         (__nearbyintl): Use math_force_eval before restoring
32648         floating-point environment.
32649         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32651         * math/gen-libm-test.pl (special_functions): Remove.
32652         (parse_args): Don't handle TEST_extra.  Handle functions with no
32653         return value.
32654         * math/libm-test.inc (struct test_sincos_data): Replace with
32655         struct test_fFF_11_data.
32656         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32657         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32658         (sincos_test_data): Change element type to struct
32659         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32660         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32661         RUN_TEST_LOOP_sincos.
32662         * math/README.libm-test: Don't mention special handling of
32663         individual functions.
32664         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32665         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32666         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32667         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32668         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32671         * math/gen-libm-test.pl (get_variable): Remove function.
32672         (parse_args): Don't show pointer parameters to call in test
32673         names.  Use "extra output N" in test names for extra outputs
32674         rather than naming variables.
32676 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32678         [BZ #15488]
32679         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32680         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32681         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32682         double tests.
32683         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32684         disable.
32685         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32686         check_long_double.
32688         * math/gen-libm-test.pl (@tests): Remove variable.
32689         ($count): Likewise.
32690         (new_test): Remove function.
32691         (show_exceptions): New function.
32692         (special_functions): Use show_exceptions instead of new_test.
32693         (parse_args): Likewise.
32694         (generate_testfile): Pass only function name in generated call to
32695         print_max_error or print_complex_max_error.
32696         (get_ulps): Do not handle complex tests specially.
32697         (output_test): Rename to ...
32698         (get_all_ulps_for_test): ... this.  Return a string rather than
32699         printing to a file.  Require ulps to be present.
32700         (output_ulps): Generate arrays rather than #defines.
32701         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32702         (struct ulp_data): New type.
32703         (BUILD_COMPLEX_ULP): Remove macro.
32704         (compare_ulp_data): New function.
32705         (find_ulps): Likewise.
32706         (find_test_ulps): Likewise.
32707         (find_function_ulps): Likewise.
32708         (find_complex_function_ulps): Likewise.
32709         (print_max_error): Determine allowed ulps using
32710         find_function_ulps.
32711         (print_complex_max_error): Determine allowed ulps using
32712         find_complex_function_ulps.
32713         (check_float_internal): Determine max ulps using find_test_ulps.
32714         (check_float): Do not take max_ulp parameter.  Update call to
32715         check_float_internal.
32716         (check_complex): Likewise.
32717         (check_int): Do not take max_ulp parameter.
32718         (check_long): Likewise.
32719         (check_bool): Likewise.
32720         (check_longlong): Likewise.
32721         (struct test_f_f_data): Remove max_ulp field.
32722         (struct test_ff_f_data): Likewise.
32723         (struct test_ff_f_data_nexttoward): Likewise.
32724         (struct test_fi_f_data): Likewise.
32725         (struct test_fl_f_data): Likewise.
32726         (struct test_if_f_data): Likewise.
32727         (struct test_fff_f_data): Likewise.
32728         (struct test_c_f_data): Likewise.
32729         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32730         (struct test_fF_f1_data): Likewise.
32731         (struct test_ffI_f1_data): Likewise.
32732         (struct test_c_c_data): Remove max_ulp field.
32733         (struct test_cc_c_data): Likewise.
32734         (struct test_f_i_data): Likewise.
32735         (struct test_ff_i_data): Likewise.
32736         (struct test_f_l_data): Likewise.
32737         (struct test_f_L_data): Likewise.
32738         (struct test_sincos_data): Likewise.
32739         (RUN_TEST_f_f): Do not handle ulps.
32740         (RUN_TEST_LOOP_f_f): Likewise.
32741         (RUN_TEST_2_f): Likewise.
32742         (RUN_TEST_LOOP_2_f): Likewise.
32743         (RUN_TEST_fff_f): Likewise.
32744         (RUN_TEST_LOOP_fff_f): Likewise.
32745         (RUN_TEST_c_f): Likewise.
32746         (RUN_TEST_LOOP_c_f): Likewise.
32747         (RUN_TEST_f_f1): Likewise.
32748         (RUN_TEST_LOOP_f_f1): Likewise.
32749         (RUN_TEST_fF_f1): Likewise.
32750         (RUN_TEST_LOOP_fF_f1): Likewise.
32751         (RUN_TEST_fI_f1): Likewise.
32752         (RUN_TEST_LOOP_fI_f1): Likewise.
32753         (RUN_TEST_ffI_f1): Likewise.
32754         (RUN_TEST_LOOP_ffI_f1): Likewise.
32755         (RUN_TEST_c_c): Likewise.
32756         (RUN_TEST_LOOP_c_c): Likewise.
32757         (RUN_TEST_cc_c): Likewise.
32758         (RUN_TEST_LOOP_cc_c): Likewise.
32759         (RUN_TEST_f_i): Likewise.
32760         (RUN_TEST_LOOP_f_i): Likewise.
32761         (RUN_TEST_f_i_tg): Likewise.
32762         (RUN_TEST_LOOP_f_i_tg): Likewise.
32763         (RUN_TEST_ff_i_tg): Likewise.
32764         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32765         (RUN_TEST_f_b): Likewise.
32766         (RUN_TEST_LOOP_f_b): Likewise.
32767         (RUN_TEST_f_b_tg): Likewise.
32768         (RUN_TEST_LOOP_f_b_tg): Likewise.
32769         (RUN_TEST_f_l): Likewise.
32770         (RUN_TEST_LOOP_f_l): Likewise.
32771         (RUN_TEST_f_L): Likewise.
32772         (RUN_TEST_LOOP_f_L): Likewise.
32773         (RUN_TEST_sincos): Likewise.
32774         (RUN_TEST_LOOP_sincos): Likewise.
32776 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32778         [BZ #15480]
32779         [BZ #15485]
32780         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32781         main case of finite arguments, set rounding mode to FE_TONEAREST
32782         and discard exceptions.
32783         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32784         exceptions.
32785         (remainder_tonearest_test_data): New variable.
32786         (remainder_test_tonearest): New function.
32787         (remainder_towardzero_test_data): New variable.
32788         (remainder_test_towardzero): New function.
32789         (remainder_downward_test_data): New variable.
32790         (remainder_test_downward): New function.
32791         (remainder_upward_test_data): New variable.
32792         (remainder_test_upward): New function.
32793         (main): Call the new test functions.
32795         * math/libm-test.inc (struct test_f_f1_data): Remove field
32796         extra_init.
32797         (struct test_fF_f1_data): Likewise.
32798         (struct test_ffI_f1_data): Likewise.
32799         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32800         based on value of EXTRA_EXPECTED.
32801         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32802         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32803         EXTRA_VAR based on value of EXTRA_EXPECTED.
32804         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32805         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32806         EXTRA_VAR based on value of EXTRA_EXPECTED.
32807         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32808         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32809         EXTRA_VAR based on value of EXTRA_EXPECTED.
32810         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32811         * math/gen-libm-test.pl (parse_args): Don't output initializers
32812         for extra output values.
32814         * math/libm-test.inc (check_int): Expect result to be exactly
32815         equal to expected value and do not handle ulps.
32816         (check_long): Likewise.
32817         (check_longlong): Likewise.
32819         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32820         exceptions.
32821         (cimag_test_data): Likewise.
32822         (conj_test_data): Likewise.
32823         (copysign_test_data): Likewise.
32824         (cproj_test_data): Likewise.
32825         (creal_test_data): Likewise.
32826         (fabs_test_data): Likewise.
32827         (fdim_test_data): Likewise.
32828         (finite_test_data): Likewise.
32829         (floor_test_data): Likewise.
32830         (fmax_test_data): Likewise.
32831         (fmin_test_data): Likewise.
32832         (fmod_test_data): Likewise.
32833         (fpclassify_test_data): Likewise.
32834         (frexp_test_data): Likewise.
32835         (ilogb_test_data): Likewise.
32836         (isfinite_test_data): Likewise.
32837         (isgreater_test_data): Likewise.
32838         (isgreaterequal_test_data): Likewise.
32839         (isinf_test_data): Likewise.
32840         (isless_test_data): Likewise.
32841         (islessequal_test_data): Likewise.
32842         (islessgreater_test_data): Likewise.
32843         (isnan_test_data): Likewise.
32844         (isnormal_test_data): Likewise.
32845         (issignaling_test_data): Likewise.
32846         (isunordered_test_data): Likewise.
32847         (ldexp_test_data): Likewise.
32848         (lrint_test_data): Likewise.
32849         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32850         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32851         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32852         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32853         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32854         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32855         test input.
32856         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32857         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32858         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32859         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32860         that test input.
32861         (lrint_downward_test_data): Test for "inexact" exceptions.
32862         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32863         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32864         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32865         test input.
32866         (lrint_upward_test_data): Test for "inexact" exceptions.
32867         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32868         test input.
32869         (llrint_test_data): Test for "inexact" exceptions.
32870         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32871         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32872         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32873         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32874         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32875         (llrint_downward_test_data): Test for "inexact" exceptions.
32876         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32877         (llrint_upward_test_data): Test for "inexact" exceptions.
32878         (logb_test_data): Likewise.
32879         (logb_downward_test_data): Likewise.
32880         (nextafter_test_data): Likewise.
32881         (nexttoward_test_data): Likewise.
32882         (remainder_test_data): Likewise.
32883         (remquo_test_data): Likewise.
32884         (scalbn_test_data): Likewise.
32885         (scalbln_test_data): Likewise.
32886         (signbit_test_data): Likewise.
32887         (sqrt_test_data): Likewise.
32888         (significand_test_data): Likewise.
32890 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32892         [BZ #15424]
32893         * benchtests/bench-modf.c (struct args): Mark arg0 as
32894         volatile.
32895         * scripts/bench.pl: Mark members of struct args as volatile.
32897 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32899         [BZ # 15497]
32900         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32901         negative infinity on POWER6 or lower.
32902         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32904 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32906         [BZ #15442]
32907         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32908         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32909         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32910         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32911         (_FP_SETQNAN): New macro.
32912         (_FP_SETQNAN_SEMIRAW): Likewise.
32913         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32914         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32915         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32916         (FP_EXTEND): Use _FP_FRAC_SNANP.
32917         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32918         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32919         into account.
32920         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32921         New macro.
32922         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32923         Likewise.
32925 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32927         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32928         with DIVIDE_BY_ZERO_EXCEPTION.
32929         (gamma_test_data): Likewise.
32930         (lgamma_test_data): Likewise.
32931         (log_test_data): Likewise.
32932         (log10_test_data): Likewise.
32933         (log2_test_data): Likewise.
32934         (tgamma_test_data): Likewise.
32936         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32937         (acos_test_tonearest): Likewise.
32938         (acos_test_towardzero): Likewise.
32939         (acos_test_downward): Likewise.
32940         (acos_test_upward): Likewise.
32941         (acosh_test): Likewise.
32942         (asin_test): Likewise.
32943         (asin_test_tonearest): Likewise.
32944         (asin_test_towardzero): Likewise.
32945         (asin_test_downward): Likewise.
32946         (asin_test_upward): Likewise.
32947         (asinh_test): Likewise.
32948         (atan_test): Likewise.
32949         (atanh_test): Likewise.
32950         (atan2_test): Likewise.
32951         (cabs_test): Likewise.
32952         (cacos_test): Likewise.
32953         (cacosh_test): Likewise.
32954         (casin_test): Likewise.
32955         (casinh_test): Likewise.
32956         (catan_test): Likewise.
32957         (catanh_test): Likewise.
32958         (cbrt_test): Likewise.
32959         (ccos_test): Likewise.
32960         (ccosh_test): Likewise.
32961         (cexp_test): Likewise.
32962         (clog_test): Likewise.
32963         (clog10_test): Likewise.
32964         (cos_test): Likewise.
32965         (cos_test_tonearest): Likewise.
32966         (cos_test_towardzero): Likewise.
32967         (cos_test_downward): Likewise.
32968         (cos_test_upward): Likewise.
32969         (cosh_test): Likewise.
32970         (cosh_test_tonearest): Likewise.
32971         (cosh_test_towardzero): Likewise.
32972         (cosh_test_downward): Likewise.
32973         (cosh_test_upward): Likewise.
32974         (cpow_test): Likewise.
32975         (csin_test): Likewise.
32976         (csinh_test): Likewise.
32977         (csqrt_test): Likewise.
32978         (ctan_test): Likewise.
32979         (ctan_test_tonearest): Likewise.
32980         (ctan_test_towardzero): Likewise.
32981         (ctan_test_downward): Likewise.
32982         (ctan_test_upward): Likewise.
32983         (ctanh_test): Likewise.
32984         (ctanh_test_tonearest): Likewise.
32985         (ctanh_test_towardzero): Likewise.
32986         (ctanh_test_downward): Likewise.
32987         (ctanh_test_upward): Likewise.
32988         (erf_test): Likewise.
32989         (erfc_test): Likewise.
32990         (exp_test): Likewise.
32991         (exp_test_tonearest): Likewise.
32992         (exp_test_towardzero): Likewise.
32993         (exp_test_downward): Likewise.
32994         (exp_test_upward): Likewise.
32995         (exp10_test): Likewise.
32996         (exp2_test): Likewise.
32997         (expm1_test): Likewise.
32998         (fmod_test): Likewise.
32999         (gamma_test): Likewise.
33000         (hypot_test): Likewise.
33001         (j0_test): Likewise.
33002         (j1_test): Likewise.
33003         (jn_test): Likewise.
33004         (lgamma_test): Likewise.
33005         (log_test): Likewise.
33006         (log10_test): Likewise.
33007         (log1p_test): Likewise.
33008         (log2_test): Likewise.
33009         (logb_test_downward): Likewise.
33010         (pow_test): Likewise.
33011         (pow_test_tonearest): Likewise.
33012         (pow_test_towardzero): Likewise.
33013         (pow_test_downward): Likewise.
33014         (pow_test_upward): Likewise.
33015         (remainder_test): Likewise.
33016         (remquo_test): Likewise.
33017         (sin_test): Likewise.
33018         (sin_test_tonearest): Likewise.
33019         (sin_test_towardzero): Likewise.
33020         (sin_test_downward): Likewise.
33021         (sin_test_upward): Likewise.
33022         (sincos_test): Likewise.
33023         (sinh_test): Likewise.
33024         (sinh_test_tonearest): Likewise.
33025         (sinh_test_towardzero): Likewise.
33026         (sinh_test_downward): Likewise.
33027         (sinh_test_upward): Likewise.
33028         (sqrt_test): Likewise.
33029         (tan_test): Likewise.
33030         (tan_test_tonearest): Likewise.
33031         (tan_test_towardzero): Likewise.
33032         (tan_test_downward): Likewise.
33033         (tan_test_upward): Likewise.
33034         (tanh_test): Likewise.
33035         (tgamma_test): Likewise.
33036         (y0_test): Likewise.
33037         (y1_test): Likewise.
33038         (yn_test): Likewise.
33040         * math/gen-libm-test.pl (adjust_arg): Remove function.
33041         (special_function): Remove argument $in_func.  Only handle
33042         generating output for tables of tests, not inside functions.
33043         (parse_args): Likewise.
33044         (generate_testfile): Remove variable $in_func.  Update call to
33045         parse_args.
33046         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33047         (MINUS_ZERO_INIT): Rename macro to minus_zero.
33048         (PLUS_INFTY_INIT): Rename macro to plus_infty.
33049         (MINUS_INFTY_INIT): Rename macro to minus_infty.
33050         (QNAN_VALUE_INIT): Rename macro to qnan_value.
33051         (MAX_VALUE_INIT): Rename macro to max_value.
33052         (MIN_VALUE_INIT): Rename macro to min_value.
33053         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33054         (plus_zero): Remove variable.
33055         (minus_zero): Likewise.
33056         (plus_infty): Likewise.
33057         (minus_infty): Likewise.
33058         (qnan_value): Likewise.
33059         (max_value): Likewise.
33060         (min_value): Likewise.
33061         (min_subnorm_value): Likewise.
33063 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33065         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33066         uint64_t or uint32_t usage.
33067         * crypt/sha256-block.c: Likewise.
33068         * crypt/sha256-crypt.c: Likewise.
33069         * crypt/sha256.c: Likewise.
33070         * crypt/sha512-block.c: Likewise.
33071         * crypt/sha512-crypt.c: Likewise.
33072         * crypt/sha512.c: Likewise.
33073         * debug/backtrace-tst.c: Likewise.
33074         * debug/pcprofiledump.c: Likewise.
33075         * elf/cache.c: Likewise.
33076         * elf/dl-cache.c: Likewise.
33077         * elf/dl-misc.c: Likewise.
33078         * elf/dl-profile.c: Likewise.
33079         * elf/dl-support.c: Likewise.
33080         * elf/ldconfig.c: Likewise.
33081         * elf/sprof.c: Likewise.
33082         * iconv/dummy-repertoire.c: Likewise.
33083         * iconv/iconv_charmap.c: Likewise.
33084         * iconv/skeleton.c: Likewise.
33085         * iconvdata/8bit-generic.c: Likewise.
33086         * iconvdata/cp737.h: Likewise.
33087         * iconvdata/cp775.h: Likewise.
33088         * iconvdata/ibm1008.h: Likewise.
33089         * iconvdata/ibm1025.h: Likewise.
33090         * iconvdata/ibm1046.h: Likewise.
33091         * iconvdata/ibm1097.h: Likewise.
33092         * iconvdata/ibm1112.h: Likewise.
33093         * iconvdata/ibm1122.h: Likewise.
33094         * iconvdata/ibm1123.h: Likewise.
33095         * iconvdata/ibm1124.h: Likewise.
33096         * iconvdata/ibm1129.h: Likewise.
33097         * iconvdata/ibm1130.h: Likewise.
33098         * iconvdata/ibm1132.h: Likewise.
33099         * iconvdata/ibm1133.h: Likewise.
33100         * iconvdata/ibm1137.h: Likewise.
33101         * iconvdata/ibm1140.h: Likewise.
33102         * iconvdata/ibm1141.h: Likewise.
33103         * iconvdata/ibm1142.h: Likewise.
33104         * iconvdata/ibm1143.h: Likewise.
33105         * iconvdata/ibm1144.h: Likewise.
33106         * iconvdata/ibm1145.h: Likewise.
33107         * iconvdata/ibm1146.h: Likewise.
33108         * iconvdata/ibm1147.h: Likewise.
33109         * iconvdata/ibm1148.h: Likewise.
33110         * iconvdata/ibm1149.h: Likewise.
33111         * iconvdata/ibm1153.h: Likewise.
33112         * iconvdata/ibm1154.h: Likewise.
33113         * iconvdata/ibm1155.h: Likewise.
33114         * iconvdata/ibm1156.h: Likewise.
33115         * iconvdata/ibm1157.h: Likewise.
33116         * iconvdata/ibm1158.h: Likewise.
33117         * iconvdata/ibm1160.h: Likewise.
33118         * iconvdata/ibm1161.h: Likewise.
33119         * iconvdata/ibm1162.h: Likewise.
33120         * iconvdata/ibm1163.h: Likewise.
33121         * iconvdata/ibm1164.h: Likewise.
33122         * iconvdata/ibm1166.h: Likewise.
33123         * iconvdata/ibm1167.h: Likewise.
33124         * iconvdata/ibm12712.h: Likewise.
33125         * iconvdata/ibm1390.h: Likewise.
33126         * iconvdata/ibm1399.h: Likewise.
33127         * iconvdata/ibm16804.h: Likewise.
33128         * iconvdata/ibm4517.h: Likewise.
33129         * iconvdata/ibm4899.h: Likewise.
33130         * iconvdata/ibm4909.h: Likewise.
33131         * iconvdata/ibm4971.h: Likewise.
33132         * iconvdata/ibm5347.h: Likewise.
33133         * iconvdata/ibm803.h: Likewise.
33134         * iconvdata/ibm856.h: Likewise.
33135         * iconvdata/ibm901.h: Likewise.
33136         * iconvdata/ibm902.h: Likewise.
33137         * iconvdata/ibm9030.h: Likewise.
33138         * iconvdata/ibm9066.h: Likewise.
33139         * iconvdata/ibm921.h: Likewise.
33140         * iconvdata/ibm922.h: Likewise.
33141         * iconvdata/ibm9448.h: Likewise.
33142         * iconvdata/isiri-3342.h: Likewise.
33143         * iconvdata/jis0201.h: Likewise.
33144         * include/link.h: Likewise.
33145         * include/netdb.h: Likewise.
33146         * inet/check_native.c: Likewise.
33147         * inet/check_pf.c: Likewise.
33148         * inet/getipv4sourcefilter.c: Likewise.
33149         * inet/getnameinfo.c: Likewise.
33150         * inet/getsourcefilter.c: Likewise.
33151         * inet/htonl.c: Likewise.
33152         * inet/setipv4sourcefilter.c: Likewise.
33153         * inet/setsourcefilter.c: Likewise.
33154         * inet/test-inet6_opt.c: Likewise.
33155         * inet/tst-network.c: Likewise.
33156         * locale/C-collate.c: Likewise.
33157         * locale/C-ctype.c: Likewise.
33158         * locale/C-time.c: Likewise.
33159         * locale/C-translit.h: Likewise.
33160         * locale/loadarchive.c: Likewise.
33161         * locale/programs/3level.h: Likewise.
33162         * locale/programs/charmap.c: Likewise.
33163         * locale/programs/charmap.h: Likewise.
33164         * locale/programs/ld-address.c: Likewise.
33165         * locale/programs/ld-collate.c: Likewise.
33166         * locale/programs/ld-ctype.c: Likewise.
33167         * locale/programs/ld-identification.c: Likewise.
33168         * locale/programs/ld-measurement.c: Likewise.
33169         * locale/programs/ld-messages.c: Likewise.
33170         * locale/programs/ld-monetary.c: Likewise.
33171         * locale/programs/ld-name.c: Likewise.
33172         * locale/programs/ld-numeric.c: Likewise.
33173         * locale/programs/ld-paper.c: Likewise.
33174         * locale/programs/ld-telephone.c: Likewise.
33175         * locale/programs/ld-time.c: Likewise.
33176         * locale/programs/linereader.c: Likewise.
33177         * locale/programs/locale.c: Likewise.
33178         * locale/programs/locarchive.c: Likewise.
33179         * locale/programs/locfile.h: Likewise.
33180         * locale/programs/repertoire.c: Likewise.
33181         * locale/programs/simple-hash.c: Likewise.
33182         * locale/programs/simple-hash.h: Likewise.
33183         * malloc/memusage.c: Likewise.
33184         * malloc/memusagestat.c: Likewise.
33185         * nis/nis_defaults.c: Likewise.
33186         * nis/nis_hash.c: Likewise.
33187         * nis/nis_print.c: Likewise.
33188         * nis/nis_xdr.c: Likewise.
33189         * nscd/connections.c: Likewise.
33190         * nscd/hstcache.c: Likewise.
33191         * nscd/nscd_gethst_r.c: Likewise.
33192         * nscd/nscd_getserv_r.c: Likewise.
33193         * nscd/nscd_helper.c: Likewise.
33194         * nscd/servicescache.c: Likewise.
33195         * nss/makedb.c: Likewise.
33196         * nss/nss_db/db-XXX.c: Likewise.
33197         * nss/nss_db/db-initgroups.c: Likewise.
33198         * nss/nss_db/db-netgrp.c: Likewise.
33199         * nss/nss_files/files-network.c: Likewise.
33200         * nss/nss_files/files-parse.c: Likewise.
33201         * posix/bug-regex5.c: Likewise.
33202         * posix/fnmatch_loop.c: Likewise.
33203         * posix/regcomp.c: Likewise.
33204         * posix/regexec.c: Likewise.
33205         * posix/tst-rfc3484-2.c: Likewise.
33206         * posix/tst-rfc3484-3.c: Likewise.
33207         * posix/tst-rfc3484.c: Likewise.
33208         * resolv/nss_dns/dns-canon.c: Likewise.
33209         * resolv/nss_dns/dns-network.c: Likewise.
33210         * resolv/res_init.c: Likewise.
33211         * resolv/res_mkquery.c: Likewise.
33212         * resolv/tst-aton.c: Likewise.
33213         * stdlib/cxa_atexit.c: Likewise.
33214         * stdlib/cxa_finalize.c: Likewise.
33215         * stdlib/gen-fpioconst.c: Likewise.
33216         * stdlib/strtol_l.c: Likewise.
33217         * string/tst-endian.c: Likewise.
33218         * sunrpc/auth_des.c: Likewise.
33219         * sunrpc/clnt_udp.c: Likewise.
33220         * sunrpc/rtime.c: Likewise.
33221         * sunrpc/svcauth_des.c: Likewise.
33222         * sunrpc/xdr.c: Likewise.
33223         * sunrpc/xdr_intXX_t.c: Likewise.
33224         * sunrpc/xdr_rec.c: Likewise.
33225         * sysdeps/generic/ldconfig.h: Likewise.
33226         * sysdeps/generic/ldsodefs.h: Likewise.
33227         * sysdeps/generic/memusage.h: Likewise.
33228         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33229         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33230         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33231         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33232         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33233         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33234         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33235         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33236         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33237         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33238         * sysdeps/posix/getaddrinfo.c: Likewise.
33239         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33240         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33241         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33242         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33243         * sysdeps/powerpc/test-gettimebase.c: Likewise.
33244         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33245         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33246         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33247         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33248         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33249         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33250         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33251         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33252         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33253         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33254         * sysdeps/x86_64/dl-tls.h: Likewise.
33255         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33256         * time/alt_digit.c: Likewise.
33257         * time/era.c: Likewise.
33258         * wcsmbs/tst-c16c32-1.c: Likewise.
33260 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33262         * math/libm-test.inc (struct test_sincos_data): New type.
33263         (RUN_TEST_LOOP_sincos): New macro.
33264         (sincos_test_data): New variable.
33265         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33267 2013-05-16  Richard Henderson  <rth@redhat.com>
33269         * math/atest-exp2.c (LIMB64): New macro.
33270         (CONSTSZ): New macro.
33271         (mp_exp1, mp_exp_m1, mp_log2): New variables.
33272         (hexdig): Move ...
33273         (print_mpn_fp): ... to function scope.
33274         (read_mpn_hex): Remove.
33275         (get_log2): Remove.
33276         (exp2_mpn): Use mp_log2.
33277         (main): Use mp_exp1.
33279 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
33281         * math/libm-test.inc: Remove comment about not testing "inexact"
33282         exceptions.
33283         (INEXACT_EXCEPTION): New macro.
33284         (NO_INEXACT_EXCEPTION): Likewise.
33285         (INVALID_EXCEPTION_OK): Update value.
33286         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33287         (OVERFLOW_EXCEPTION_OK): Likewise.
33288         (UNDERFLOW_EXCEPTION_OK): Likewise.
33289         (IGNORE_ZERO_INF_SIGN): Likewise.
33290         (ERRNO_UNCHANGED): Likewise.
33291         (ERRNO_EDOM): Likewise.
33292         (ERRNO_ERANGE): Likewise.
33293         (test_exceptions): Handle testing "inexact" exceptions.
33294         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33295         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33296         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33297         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33298         INEXACT_EXCEPTION.
33299         (rint_towardzero_test_data): Likewise.
33300         (rint_downward_test_data): Likewise.
33301         (rint_upward_test_data): Likewise.
33303         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33304         with OVERFLOW_EXCEPTION.
33305         (exp10_test_data): Likewise.
33306         (exp2_test_data): Likewise.
33307         (expm1_test_data): Likewise.
33308         (lgamma_test_data): Likewise.
33309         (pow_test_data): Likewise.
33310         (tgamma_test_data): Likewise.
33311         (yn_test_data): Remove duplicate test of overflow.
33313         * math/libm-test.inc (struct test_cc_c_data): New type.
33314         (RUN_TEST_LOOP_cc_c): New macro.
33315         (cpow_test_data): New variable.
33316         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33318         * math/libm-test.inc (struct test_f_L_data): New type.
33319         (RUN_TEST_LOOP_f_L): New macro.
33320         (llrint_test_data): New variable.
33321         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33322         (llrint_tonearest_test_data): New variable.
33323         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33324         (llrint_towardzero_test_data): New variable.
33325         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33326         (llrint_downward_test_data): New variable.
33327         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33328         (llrint_upward_test_data): New variable.
33329         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33330         (llround_test_data): New variable.
33331         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33333 2013-05-13  Peter Collingbourne  <pcc@google.com>
33335         * math/atest-exp2.c (get_log2): Remove const attribute.
33337 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33339         * math/libm-test.inc (struct test_f_l_data): New type.
33340         (RUN_TEST_LOOP_f_l): New macro.
33341         (lrint_test_data): New variable.
33342         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33343         (lrint_tonearest_test_data): New variable.
33344         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33345         (lrint_towardzero_test_data): New variable.
33346         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33347         (lrint_downward_test_data): New variable.
33348         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33349         (lrint_upward_test_data): New variable.
33350         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33351         (lround_test_data): New variable.
33352         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33354 2013-05-15  Peter Collingbourne  <pcc@google.com>
33356         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33357         (EXTRACT_WORDS64) Use where appropriate.
33358         (INSERT_WORDS64) Likewise.
33360         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33361         constraints with x constraints.
33362         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33364         * malloc/obstack.c (_obstack_compat): Add initializer.
33366 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33368         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33369         si_trapno and add si_addr_lsb to _sifields.sigfault.
33370         (si_trapno): Remove macro.
33371         (si_addr_lsb): Define new macro.
33372         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33374 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
33376         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33377         instead of TEST_f_l.
33378         (llrint_test_tonearest): Likewise.
33379         (llrint_test_towardzero): Likewise.
33380         (llrint_test_downward): Likewise.
33381         (llrint_test_upward): Likewise.
33382         (llround_test): Likewise.
33384         * math/libm-test.inc (struct test_f_i_data): Add comment.
33385         (RUN_TEST_LOOP_f_b): New macro.
33386         (RUN_TEST_LOOP_f_b_tg): Likewise.
33387         (finite_test_data): New variable.
33388         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33389         (isfinite_test_data): New variable.
33390         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33391         (isinf_test_data): New variable.
33392         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33393         (isnan_test_data): New variable.
33394         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33395         (isnormal_test_data): New variable.
33396         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33397         (issignaling_test_data): New variable.
33398         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33399         (signbit_test_data): New variable.
33400         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33402         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33403         with INVALID_EXCEPTION.
33404         (acosh_test_data): Likewise.
33405         (asin_test_data): Likewise.
33406         (atanh_test_data): Likewise.
33407         (fmod_test_data): Likewise.
33408         (log_test_data): Likewise.
33409         (log10_test_data): Likewise.
33410         (log2_test_data): Likewise.
33411         (pow_test_data): Likewise.
33412         (sqrt_test_data): Likewise.
33413         (y0_test_data): Likewise.
33414         (y1_test_data): Likewise.
33415         (yn_test_data): Likewise.
33417         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33418         function contents.
33420         * math/libm-test.inc (struct test_ff_i_data): New type.
33421         (RUN_TEST_LOOP_ff_i_tg): New macro.
33422         (isgreater_test_data): New variable.
33423         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33424         (isgreaterequal_test_data): New variable.
33425         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33426         (isless_test_data): New variable.
33427         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33428         (islessequal_test_data): New variable.
33429         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33430         (islessgreater_test_data): New variable.
33431         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33432         (isunordered_test_data): New variable.
33433         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33435 2013-05-14  David S. Miller  <davem@davemloft.net>
33437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33439 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
33441         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33443         * math/libm-test.inc (struct test_fF_f1_data): Change type of
33444         extra_test to int.
33445         (struct test_f_i_data): Change type of max_ulp to int.
33447         * math/libm-test.inc (test_ffI_f1_data): New type.
33448         (RUN_TEST_LOOP_ffI_f1): New macro.
33449         (remquo_test_data): New variable.
33450         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33452         * setjmp/tst-setjmp-fp.c: New file.
33453         * setjmp/Makefile (tests): Add tst-setjmp-fp.
33454         (link-libm): New variable.
33455         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33457         * math/libm-test.inc (struct test_f_i_data): New type.
33458         (RUN_TEST_LOOP_f_i): New macro.
33459         (RUN_TEST_LOOP_f_i_tg): Likewise.
33460         (fpclassify_test_data): New variable.
33461         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33462         (ilogb_test_data): New variable.
33463         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33465         * math/libm-test.inc (scalbln_test): Correct function name in END
33466         call.
33468         * math/libm-test.inc (struct test_f_f1_data): Add comment.
33469         (RUN_TEST_LOOP_fI_f1): New macro.
33470         (frexp_test_data): New variable.
33471         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33473         * math/libm-test.inc (struct test_fF_f1_data): New type.
33474         (RUN_TEST_LOOP_fF_f1): New macro.
33475         (modf_test_data): New variable.
33476         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33478         * math/libm-test.inc (struct test_f_f1_data): New type.
33479         (RUN_TEST_LOOP_f_f1): New macro.
33480         (gamma_test_data): New variable.
33481         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33482         (lgamma_test_data): New variable.
33483         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33485 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
33487         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33488         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33489         (main): Comment "tls" pseudo-hwcap.
33491 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33493         * math/libm-test.inc (struct test_fl_f_data): New type.
33494         (RUN_TEST_LOOP_fl_f): New variable.
33495         (scalbln_test_data): New variable.
33496         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33498         * math/libm-test.inc (struct test_fi_f_data): New type.
33499         (RUN_TEST_LOOP_fi_f): New macro.
33500         (ldexp_test_data): New variable.
33501         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33502         (scalbn_test_data): New variable.
33503         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33505         * math/libm-test.inc (struct test_c_f_data): New type.
33506         (RUN_TEST_LOOP_c_f): New macro.
33507         (cabs_test_data): New variable.
33508         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33509         (carg_test_data): New variable.
33510         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33511         (cimag_test_data): New variable.
33512         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33513         (creal_test_data): New variable.
33514         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33516         * math/libm-test.inc (struct test_if_f_data): New type.
33517         (RUN_TEST_LOOP_if_f): New macro.
33518         (jn_test_data): New variable.
33519         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33520         (yn_test_data): New variable.
33521         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33523         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33525 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33527         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33528         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33530 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33532         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33533         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33534         (bench-deps): Add bench-timing.h.
33535         * benchtests-bench-skeleton.c: Include bench-timing.h.
33536         (main): Use TIMING_* macros instead of clock_gettime.
33537         * benchtests/bench-timing.h: New file.
33539         [BZ #14582]
33540         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33541         Renamed from _LIB_VERSION.
33542         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33544 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33546         * math/libm-test.inc (struct test_fff_f_data): New type.
33547         (RUN_TEST_LOOP_fff_f): New macro.
33548         (fma_test_data): New variable.
33549         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33550         (fma_towardzero_test_data): New variable.
33551         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33552         (fma_downward_test_data): New variable.
33553         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33554         (fma_upward_test_data): New variable.
33555         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33557         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33558         (struct test_c_c_data): New type.
33559         (RUN_TEST_LOOP_c_c): New macro.
33560         (cacos_test_data): New variable.
33561         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33562         (cacosh_test_data): New variable.
33563         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33564         (casin_test_data): New variable.
33565         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33566         (casinh_test_data): New variable.
33567         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33568         (catan_test_data): New variable.
33569         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33570         (catanh_test_data): New variable.
33571         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33572         (ccos_test_data): New variable.
33573         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33574         (ccosh_test_data): New variable.
33575         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33576         (cexp_test_data): New variable.
33577         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33578         (clog_test_data): New variable.
33579         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33580         (clog10_test_data): New variable.
33581         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33582         (conj_test_data): New variable.
33583         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33584         (cproj_test_data): New variable.
33585         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33586         (csin_test_data): New variable.
33587         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33588         (csinh_test_data): New variable.
33589         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33590         (csqrt_test_data): New variable.
33591         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33592         (ctan_test_data): New variable.
33593         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33594         (ctan_tonearest_test_data): New variable.
33595         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33596         (ctan_towardzero_test_data): New variable.
33597         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33598         (ctan_downward_test_data): New variable.
33599         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33600         (ctan_upward_test_data): New variable.
33601         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33602         (ctanh_test_data): New variable.
33603         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33604         (ctanh_tonearest_test_data): New variable.
33605         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33606         (ctanh_towardzero_test_data): New variable.
33607         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33608         (ctanh_downward_test_data): New variable.
33609         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33610         (ctanh_upward_test_data): New variable.
33611         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33612         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33613         of BUILD_COMPLEX.
33615         * math/libm-test.inc (struct test_ff_f_data): New type.
33616         (struct test_ff_f_data_nexttoward): Likewise.
33617         (RUN_TEST_LOOP_2_f): New macro.
33618         (RUN_TEST_LOOP_ff_f): Likewise.
33619         (atan2_test_data): New variable.
33620         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33621         (copysign_test_data): New variable.
33622         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33623         (fdim_test_data): New variable.
33624         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33625         (fmax_test_data): New variable.
33626         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33627         (fmin_test_data): New variable.
33628         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33629         (fmod_test_data): New variable.
33630         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33631         (hypot_test_data): New variable.
33632         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33633         (nextafter_test_data): New variable.
33634         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33635         (nexttoward_test_data): New variable.
33636         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33637         (pow_test_data): New variable.
33638         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33639         (pow_tonearest_test_data): New variable.
33640         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33641         (pow_towardzero_test_data): New variable.
33642         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33643         (pow_downward_test_data): New variable.
33644         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33645         (pow_upward_test_data): New variable.
33646         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33647         (remainder_test_data): New variable.
33648         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33649         (scalb_test_data): New variable.
33650         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33651         * sysdeps/i386/fpu/libm-test-ulps: Update.
33653 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33655         * math/libm-test.inc (fma_test): Use max_value instead of local
33656         variable fltmax.
33657         (nextafter_test): Likewise.
33659         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33660         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33661         (acos_downward_test_data): New variable.
33662         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33663         (acos_upward_test_data): New variable.
33664         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33665         (acosh_test_data): New variable.
33666         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33667         (asin_test_data): New variable.
33668         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33669         (asin_tonearest_test_data): New variable.
33670         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33671         (asin_towardzero_test_data): New variable.
33672         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33673         (asin_downward_test_data): New variable.
33674         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33675         (asin_upward_test_data): New variable.
33676         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33677         (asinh_test_data): New variable.
33678         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33679         (atan_test_data): New variable.
33680         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33681         (atanh_test_data): New variable.
33682         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33683         (cbrt_test_data): New variable.
33684         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33685         (ceil_test_data): New variable.
33686         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33687         (cos_test_data): New variable.
33688         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33689         (cos_tonearest_test_data): New variable.
33690         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33691         (cos_towardzero_test_data): New variable.
33692         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33693         (cos_downward_test_data): New variable.
33694         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33695         (cos_upward_test_data): New variable.
33696         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33697         (cosh_test_data): New variable.
33698         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33699         (cosh_tonearest_test_data): New variable.
33700         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33701         (cosh_towardzero_test_data): New variable.
33702         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33703         (cosh_downward_test_data): New variable.
33704         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33705         (cosh_upward_test_data): New variable.
33706         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33707         (erf_test_data): New variable.
33708         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33709         (erfc_test_data): New variable.
33710         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33711         (exp_test_data): New variable.
33712         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33713         (exp_tonearest_test_data): New variable.
33714         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33715         (exp_towardzero_test_data): New variable.
33716         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33717         (exp_downward_test_data): New variable.
33718         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33719         (exp_upward_test_data): New variable.
33720         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33721         (exp10_test_data): New variable.
33722         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33723         (exp2_test_data): New variable.
33724         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33725         (expm1_test_data): New variable.
33726         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33727         (fabs_test_data): New variable.
33728         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33729         (floor_test_data): New variable.
33730         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33731         (j0_test_data): New variable.
33732         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33733         (j1_test_data): New variable.
33734         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33735         (log_test_data): New variable.
33736         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33737         (log10_test_data): New variable.
33738         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33739         (log1p_test_data): New variable.
33740         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33741         (log2_test_data): New variable.
33742         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33743         (logb_test_data): New variable.
33744         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33745         (logb_downward_test_data): New variable.
33746         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33747         (nearbyint_test_data): New variable.
33748         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33749         (rint_test_data): New variable.
33750         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33751         (rint_tonearest_test_data): New variable.
33752         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33753         (rint_towardzero_test_data): New variable.
33754         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33755         (rint_downward_test_data): New variable.
33756         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33757         (rint_upward_test_data): New variable.
33758         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33759         (round_test_data): New variable.
33760         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33761         (sin_test_data): New variable.
33762         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33763         (sin_tonearest_test_data): New variable.
33764         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33765         (sin_towardzero_test_data): New variable.
33766         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33767         (sin_downward_test_data): New variable.
33768         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33769         (sin_upward_test_data): New variable.
33770         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33771         (sinh_test_data): New variable.
33772         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33773         (sinh_tonearest_test_data): New variable.
33774         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33775         (sinh_towardzero_test_data): New variable.
33776         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33777         (sinh_downward_test_data): New variable.
33778         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33779         (sinh_upward_test_data): New variable.
33780         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33781         (sqrt_test_data): New variable.
33782         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33783         (tan_test_data): New variable.
33784         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33785         (tan_tonearest_test_data): New variable.
33786         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33787         (tan_towardzero_test_data): New variable.
33788         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33789         (tan_downward_test_data): New variable.
33790         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33791         (tan_upward_test_data): New variable.
33792         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33793         (tanh_test_data): New variable.
33794         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33795         (tgamma_test_data): New variable.
33796         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33797         (trunc_test_data): New variable.
33798         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33799         (y0_test_data): New variable.
33800         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33801         (y1_test_data): New variable.
33802         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33803         (significand_test_data): New variable.
33804         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33806 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33808         [BZ #12387]
33809         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33811 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33813         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33815 2013-05-10  Andreas Jaeger  <aj@suse.de>
33817         [BZ #15448]
33818         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33819         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33821 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33823         * math/gen-libm-test.pl (adjust_arg): New function.
33824         (special_functions): Handle generating output in both functions
33825         and arrays.
33826         (parse_args): Likewise.
33827         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33828         $in_func argument to parse_args.
33829         * math/libm-test.inc (struct test_f_f_data): New type.
33830         (IF_ROUND_INIT_): New macro.
33831         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33832         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33833         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33834         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33835         (ROUND_RESTORE_): Likewise.
33836         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33837         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33838         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33839         (ROUND_RESTORE_FE_UPWARD): Likewise.
33840         (RUN_TEST_LOOP_f_f): New macro.
33841         (acos_test_data): New variable.
33842         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33843         (acos_tonearest_test_data): New variable.
33844         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33846 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33848         * benchtests/bench-skeleton.c (startup): Fix coding style.
33850 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33852         [BZ #6809]
33853         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33854         negative infinity argument.
33855         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33856         negative infinity argument.
33857         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33858         negative infinity argument.
33859         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33860         domain errors.
33862 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33864         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33865         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33866         * iconv/iconv_prog.c (main): Likewise.
33867         * locale/programs/charmap-dir.c (charmap_readdir)
33868         (fopen_uncompressed): Likewise.
33869         * locale/programs/locfile.c (siblings_uncached)
33870         (write_locale_data): Use lstat64 instead of lstat.
33871         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33872         stat.
33874 2013-05-10  Andreas Jaeger  <aj@suse.de>
33876         [BZ #15395]
33877         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33878         localization.
33879         Include <locale.h>.
33881 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33883         * elf/dl-close.c (_dl_close_worker): Add comments.
33885 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33887         [BZ #15359]
33888         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33889         high part of pi/2.
33890         (__ieee754_rem_pio2l): Update comments.
33892         [BZ #15429]
33893         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33894         high part of pi/2.
33895         (__ieee754_rem_pio2l): Update comments.
33897         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33898         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33900         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33901         M_PI_4l.
33903         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33904         (M_PI_34_LOG10El): Likewise.
33905         (M_PI2_LOG10El): Likewise.
33906         (M_PI4_LOG10El): Likewise.
33907         (M_PI_LOG10El): Likewise.
33909 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33913 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33915         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33916         (MINUS_ZERO_INIT): Likewise.
33917         (PLUS_INFTY_INIT): Likewise.
33918         (MINUS_INFTY_INIT): Likewise.
33919         (QNAN_VALUE_INIT): Likewise.
33920         (MAX_VALUE_INIT): Likewise.
33921         (MIN_VALUE_INIT): Likewise.
33922         (MIN_SUBNORM_VALUE_INIT): Likewise.
33923         (plus_zero): Initialize with PLUS_ZERO_INIT.
33924         (minus_zero): Initialize with MINUS_ZERO_INIT.
33925         (plus_infty): Initialize with PLUS_INFTY_INIT.
33926         (minus_infty): Initialize with MINUS_INFTY_INIT.
33927         (qnan_value): Initialize with QNAN_VALUE_INIT.
33928         (max_value): Initialize with MAX_VALUE_INIT.
33929         (min_value): Initialize with MIN_VALUE_INIT.
33930         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33932         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33933         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33934         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33935         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33937         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33938         (RUN_TEST_2_f): Likewise.
33939         (RUN_TEST_ff_f): Likewise.
33940         (RUN_TEST_fi_f): Likewise.
33941         (RUN_TEST_fl_f): Likewise.
33942         (RUN_TEST_fff_f): Likewise.
33943         (RUN_TEST_c_f): Likewise.
33944         (RUN_TEST_f_f1): Likewise.
33945         (RUN_TEST_fF_f1): Likewise.
33946         (RUN_TEST_fI_f1): Likewise.
33947         (RUN_TEST_ffI_f1): Likewise.
33948         (RUN_TEST_c_c): Likewise.
33949         (RUN_TEST_cc_c): Likewise.
33950         (RUN_TEST_f_i): Likewise.
33951         (RUN_TEST_f_i_tg): Likewise.
33952         (RUN_TEST_ff_i_tg): Likewise.
33953         (RUN_TEST_f_b): Likewise.
33954         (RUN_TEST_f_b_tg): Likewise.
33955         (RUN_TEST_f_l): Likewise.
33956         (RUN_TEST_f_L): Likewise.
33957         (RUN_TEST_sincos): Likewise.
33958         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33959         whether to show exceptions.  Do not include ");\n" in return
33960         value.
33961         (special_functions): Output call to RUN_TEST_sincos instead of
33962         check_float calls.  Update calls to new_test.
33963         (parse_args): Output call to single RUN_TEST_* macro instead of
33964         check_* calls and other assignments.  Update calls to new_test.
33966         [BZ #2546]
33967         [BZ #2560]
33968         [BZ #5159]
33969         [BZ #15426]
33970         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33971         input to result for tgamma overflow.
33972         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33973         (gamma_coeff): New variable.
33974         (NCOEFF): New macro.
33975         (gamma_positive): New function.
33976         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33977         underflow here.  Use gamma_positive instead of exp (lgamma) for
33978         other arguments.
33979         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33980         (gamma_coeff): New variable.
33981         (NCOEFF): New macro.
33982         (gammaf_positive): New function.
33983         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33984         underflow here.  Use gamma_positive instead of exp (lgamma) for
33985         other arguments.
33986         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33987         (gamma_coeff): New variable.
33988         (NCOEFF): New macro.
33989         (gammal_positive): New function.
33990         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33991         underflow here.  Use gamma_positive instead of exp (lgamma) for
33992         other arguments.
33993         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33994         (gamma_coeff): New variable.
33995         (NCOEFF): New macro.
33996         (gammal_positive): New function.
33997         (__ieee754_gammal_r): Handle positive infinity, overflow and
33998         underflow here.  Handle NaN the same as positive infinity.  Remove
33999         check x < 0xffffffff for negative integers.  Use gamma_positive
34000         instead of exp (lgamma) for other arguments.
34001         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34002         (gamma_coeff): New variable.
34003         (NCOEFF): New macro.
34004         (gammal_positive): New function.
34005         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34006         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34007         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34008         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34009         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34010         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34011         * sysdeps/generic/math_private.h (__gamma_productf): New
34012         prototype.
34013         (__gamma_product): Likewise.
34014         (__gamma_productl): Likewise.
34015         * math/Makefile (libm-calls): Add gamma_product.
34016         * math/libm-test.inc (tgamma_test): Add more tests.
34017         * sysdeps/i386/fpu/libm-test-ulps: Update.
34018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34020 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
34022         * benchtests/bench-skeleton.c (main): Preheat CPU.
34024 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
34026         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34028 2013-05-07  Roland McGrath  <roland@hack.frob.com>
34030         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34031         and _dl_skip_args_internal.
34033 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
34035         * manual/message.texi (Message Translation): Talk about users.
34036         Message to key mapping impacts design.
34038 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34040         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34042         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34044         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34045         * sysdeps/wordsize-64/glob64.c: ... here.
34047         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34048         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34049         New macros.
34051         * debug/getlogin_r_chk.c: Moved to ...
34052         * login/getlogin_r_chk.c: ... here.
34053         * debug/Makefile (routines): Move getlogin_r_chk to ...
34054         * login/Makefile (routines): ... here.
34055         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34056         * login/Versions (libc: GLIBC_2.4): ... here.
34058         * io/poll.c (__poll): Renamed from poll.
34059         Add libc_hidden_def.
34060         (poll): Define as weak alias.
34062         * debug/ptsname_r_chk.c: Moved to ...
34063         * login/ptsname_r_chk.c: ... here.
34064         * debug/Makefile (routines): Move ptsname_r_chk to ...
34065         * login/Makefile (routines): ... here.
34066         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34067         * login/Versions (libc: GLIBC_2.4): ... here.
34069         * posix/getlogin.c: Moved to ...
34070         * login/getlogin.c: ... here.
34071         * posix/getlogin_r.c: Moved to ...
34072         * login/getlogin_r.c: ... here.
34073         * posix/getlogin_r.c: Moved to ...
34074         * login/getlogin_r.c: ... here.
34075         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34076         * login/Makefile (routines): ... here.
34077         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34078         * login/Versions (libc: GLIBC_2.0): ... here.
34080         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34081         (setrlimit): Define as weak alias.
34083         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34084         Call __ names for open, ftruncate, and close.
34085         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34086         (truncate): Define as weak alias.
34088 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
34090         * math/gen-libm-test.pl (parse_args): Initialize x before each
34091         test of frexp, modf and remquo.
34093         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34094         test signgam value.
34096 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34098         [BZ #15418]
34099         [BZ #15419]
34100         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34101         internal tests.
34102         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34104 2013-05-06  Roland McGrath  <roland@hack.frob.com>
34106         * elf/dl-writev.h: New file.
34107         * elf/dl-misc.c: Include it.
34108         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34109         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34111 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
34113         * math/libm-test.inc (noXFails): Remove variable.
34114         (noXPasses): Likewise.
34115         (BUILD_COMPLEX_INT): Remove macro.
34116         (print_screen): Remove xfail argument.
34117         (print_screen_max_error): Likewise.
34118         (update_stats): Likewise.
34119         (print_max_error): Likewise.  Update calls to other affected
34120         functions.
34121         (print_complex_max_error): Likewise.
34122         (test_single_exception): Update calls to print_screen.
34123         (test_single_errno): Likewise.
34124         (check_float_internal): Remove xfail argument.  Update calls to
34125         other affected functions.
34126         (check_float): Likewise.
34127         (check_complex): Likewise.
34128         (check_int): Likewise.
34129         (check_long): Likewise.
34130         (check_bool): Likewise.
34131         (check_longlong): Likewise.
34132         (main): Don't print noXFails and noXPasses.
34133         * math/gen-libm-test.pl (top level): Don't mention expected
34134         failure handling in comment.
34135         (new_test): Don't handle expected failures.
34136         (parse_args): Don't mention expected failure handling in comment.
34137         (generate_testfile): Don't handle expected failures.
34138         (parse_ulps): Likewise.
34139         (print_ulps_file): Likewise.
34140         (get_failure): Remove function.
34141         (output_test): Don't handle expected failures.
34142         * make/README.libm-test: Don't mention expected failure handling.
34144         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
34145         (minus_zero): Likewise.
34146         (plus_infty): Likewise.
34147         (minus_infty): Likewise.
34148         (qnan_value): Likewise.
34149         (max_value): Likewise.
34150         (min_value): Likewise.
34151         (min_subnorm_value): Likewise.
34152         (initialize): Do not initialize those variables dynamically.
34154 2013-05-03  Roland McGrath  <roland@hack.frob.com>
34156         * io/open.c (__open_2): Moved to ...
34157         * io/open_2.c: ... this new file.
34158         * io/open64.c (__open64_2): Moved to ...
34159         * io/open64_2.c: ... this new file.
34160         * io/openat.c (__openat_2): Moved to ...
34161         * io/openat_2.c: ... this new file.
34162         * io/openat64.c (__openat64_2): Moved to ...
34163         * io/openat64_2.c: ... this new file.
34164         * io/Makefile (routines): Add them.
34165         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34166         * sysdeps/unix/sysv/linux/open_2.c: File removed.
34167         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34168         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34169         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34170         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34171         (__openat64): Add hidden_ver.
34172         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34173         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34175         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34176         Separately conditionalize setting of GLRO(dl_sysinfo) so
34177         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34178         as well, but the actual setting is only under [NEED_DL_SYSINFO].
34180 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34182         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34183         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34184         definition.
34185         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34186         * sysdeps/unix/sysv/linux/powerpc/init-first.c
34187         (_libc_vdso_platform_setup): Add __vdso_time initialization.
34188         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34189         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34191 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
34193         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34194         test signgam value.
34196         * math/libm-test.inc (hypot_test): Do not use
34197         IGNORE_ZERO_INF_SIGN.
34199 2013-05-03  Andreas Jaeger  <aj@suse.de>
34201         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34202         Linux 3.9.
34203         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34204         (PF_MAX): Adjust for VSOCK change.
34206 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34210 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
34212         [BZ #15264]
34213         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34214         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34215         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34217 2013-05-02  David S. Miller  <davem@davemloft.net>
34219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34221 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
34223         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34225 2013-05-01  Roland McGrath  <roland@hack.frob.com>
34227         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34229 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
34231         [BZ #14952]
34232         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34233         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34234         Use __attribute__ ((__gnu_inline__)).
34235         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34236         Don't use __attribute__ ((__gnu_inline__)).
34238 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
34240         [BZ #15423]
34241         * math/s_catan.c (__catan): Handle small real or imaginary part of
34242         input specially to avoid spurious underflow.
34243         * math/s_catanf.c (__catanf): Likewise.
34244         * math/s_catanh.c (__catanh): Likewise.
34245         * math/s_catanhf.c (__catanhf): Likewise.
34246         * math/s_catanhl.c (__catanhl): Likewise.
34247         * math/s_catanl.c (__catanl): Likewise.
34248         * math/libm-test.inc (catan_test): Add more tests.
34249         (catanh_test): Likewise.
34250         * sysdeps/i386/fpu/libm-test-ulps: Update.
34251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34253 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34257 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
34259         [BZ #15416]
34260         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34261         accurately for denominator in atan2.
34262         * math/s_catanf.c (__catanf): Likewise.
34263         * math/s_catanh.c (__catanh): Likewise.
34264         * math/s_catanhf.c (__catanhf): Likewise.
34265         * math/s_catanhl.c (__catanhl): Likewise.
34266         * math/s_catanl.c (__catanl): Likewise.
34267         * math/libm-test.inc (catan_test): Add more tests.
34268         (catanh_test): Likewise.
34269         * sysdeps/i386/fpu/libm-test-ulps: Update.
34270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34272 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34274         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34276         * benchtests/Makefile (bench): Remove slow benchmarks.
34277         * benchtests/atan-inputs: Add slow benchmark inputs.
34278         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34279         (BENCH_FUNC): Accept variant offset.
34280         (VARIANT): Define.
34281         * benchtests/bench-skeleton.c (main): Run benchmark for each
34282         variant.
34283         * benchtests/cos-inputs: Add slow benchmark inputs.
34284         * benchtests/exp-inputs: Likewise.
34285         * benchtests/pow-inputs: Likewise.
34286         * benchtests/sin-inputs: Likewise.
34287         * benchtests/slowatan-inputs: Remove.
34288         * benchtests/slowatan.c: Remove.
34289         * benchtests/slowcos-inputs: Remove.
34290         * benchtests/slowcos.c: Remove.
34291         * benchtests/slowexp-inputs: Remove.
34292         * benchtests/slowexp.c: Remove.
34293         * benchtests/slowpow-inputs: Remove.
34294         * benchtests/slowpow.c: Remove.
34295         * benchtests/slowsin-inputs: Remove.
34296         * benchtests/slowsin.c: Remove.
34297         * benchtests/slowtan-inputs: Remove.
34298         * benchtests/slowtan.c: Remove.
34299         * benchtests/tan-inputs: Add slow benchmark inputs.
34300         * scripts/bench.pl: Parse comments and directives.
34302         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
34303         in CPPFLAGS.
34304         ($(objpfx)bench-%.c): Remove *-ITER.
34305         * benchtests/bench-modf.c: Remove definition of ITER.
34306         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34307         (main): Loop for DURATION seconds instead of fixed number of
34308         iterations.
34309         * scripts/bench.pl: Don't expect iterations in parameters.
34311 2013-04-29  Roland McGrath  <roland@hack.frob.com>
34313         * io/fchdir.c (__fchdir): Renamed from fchdir.
34314         (fchdir): Define as weak alias.
34316 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34318         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34319         (ERRNO_EDOM): Likewise.
34320         (ERRNO_ERANGE): Likewise.
34321         (noErrnoTests): New variable.
34322         (init_max_error): Set errno to 0.
34323         (test_single_errno): New function.
34324         (test_errno): Likewise.
34325         (check_float_internal): Call test_errno.  Set errno to 0.
34326         (check_complex): Refer to errno tests in comment.
34327         (check_int): Call test_errno.  Set errno to 0.
34328         (check_long): Likewise.
34329         (check_bool): Likewise.
34330         (check_longlong): Likewise.
34331         (cos_test): Use ERRNO_* flags for errno tests instead of
34332         check_int.
34333         (expm1_test): Likewise.
34334         (fmod_test): Likewise.
34335         (ilogb_test): Likewise.
34336         (lgamma_test): Likewise.
34337         (pow_test): Likewise.
34338         (remainder_test): Likewise.
34339         (sin_test): Likewise.
34340         (tan_test): Likewise.
34341         (yn_test): Likewise.
34342         (initialize): Set errno to 0.
34343         (main): Print number of errno tests.
34344         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34346 2013-04-29  Andreas Jaeger  <aj@suse.de>
34348         [BZ #15084]
34349         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34350         and RES_USEVC.
34352         [BZ #15085]
34353         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34354         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34355         unimplemented.
34357         [BZ #15380]
34358         * stdlib/random.c (__initstate): Return NULL if
34359         __initstate fails.
34361         [BZ #15086]
34362         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34363         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34364         RES_SNGLKUPREOP.
34366 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34370 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
34372         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34373         of individual tests.
34374         (casin_test): Likewise.
34375         (casinh_test): Likewise.
34377 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
34379         [BZ #15409]
34380         * math/s_catan.c (__catan): Handle arguments with large real or
34381         imaginary part separately without squaring.
34382         * math/s_catanf.c (__catanf): Likewise.
34383         * math/s_catanh.c (__catanh): Likewise.
34384         * math/s_catanhf.c (__catanhf): Likewise.
34385         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34386         and redefine.
34387         (__catanhl): Handle arguments with large real or imaginary part
34388         separately without squaring.
34389         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34390         and redefine.
34391         (__catanl): Handle arguments with large real or imaginary part
34392         separately without squaring.
34393         * math/libm-test.inc (catan_test): Add more tests.
34394         (catanh_test): Likewise.
34395         * sysdeps/i386/fpu/libm-test-ulps: Update.
34396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34398 2013-04-27  Andreas Jaeger  <aj@suse.de>
34400         [BZ #15007]
34401         * stdlib/stdlib.h: Update guards for qecvt.
34402         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34403         <stdlib.h>.
34405 2013-04-27  Allan McRae  <allan@archlinux.org>
34407         * sysdeps/i386/fpu/libm-test-ulps: Update.
34409 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
34411         [BZ #15406]
34412         * math/s_catan.c: Include <float.h>.
34413         (__catan): Ensure underflow exception occurs for underflowed
34414         result.
34415         * math/s_catanf.c: Include <float.h>.
34416         (__catanf): Ensure underflow exception occurs for underflowed
34417         result.
34418         * math/s_catanh.c: Include <float.h>.
34419         (__catanh): Ensure underflow exception occurs for underflowed
34420         result.
34421         * math/s_catanhf.c: Include <float.h>.
34422         (__catanhf): Ensure underflow exception occurs for underflowed
34423         result.
34424         * math/s_catanhl.c: Include <float.h>.
34425         (__catanhl): Ensure underflow exception occurs for underflowed
34426         result.
34427         * math/s_catanl.c: Include <float.h>.
34428         (__catanl): Ensure underflow exception occurs for underflowed
34429         result.
34430         * math/libm-test.inc (catan_test): Add more tests.
34431         (catanh_test): Likewise.
34433         [BZ #15405]
34434         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34435         underflowed result.
34436         * math/s_ccoshf.c (__ccoshf): Likewise.
34437         * math/s_ccoshl.c (__ccoshl): Likewise.
34438         * math/s_csin.c (__csin): Likewise.
34439         * math/s_csinf.c (__csinf): Likewise.
34440         * math/s_csinh.c (__csinh): Likewise.
34441         * math/s_csinhf.c (__csinhf): Likewise.
34442         * math/s_csinhl.c (__csinhl): Likewise.
34443         * math/s_csinl.c (__csinl): Likewise.
34444         * math/libm-test.inc (ccos_test): Add more tests.
34445         (ccosh_test): Likewise.
34446         (csin_test): Likewise.
34447         (csinh_test): Likewise.
34449 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34451         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34452         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34453         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34454         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34455         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34456         powerpc/power5+/fpu folders.
34457         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34460 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34464 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
34466         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34467         additions to variable.
34468         [$(config-machine) = x86_64] (modules-names): Likewise.
34469         ($(objpfx)tst-audit3): Remove dependency.
34470         ($(objpfx)tst-audit3.out): Likewise.
34471         ($(objpfx)tst-audit4): Likewise.
34472         ($(objpfx)tst-audit4.out): Likewise.
34473         ($(objpfx)tst-audit5): Likewise.
34474         ($(objpfx)tst-audit5.out): Likewise.
34475         ($(objpfx)tst-audit6): Likewise.
34476         ($(objpfx)tst-audit6.out): Likewise.
34477         ($(objpfx)tst-audit7): Likewise.
34478         ($(objpfx)tst-audit7.out): Likewise.
34479         (tst-audit3-ENV): Remove variable.
34480         (tst-audit4-ENV): Likewise.
34481         (tst-audit5-ENV): Likewise.
34482         (tst-audit6-ENV): Likewise.
34483         (tst-audit7-ENV): Likewise.
34484         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34485         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34486         addition to variable.
34487         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34488         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34489         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34490         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34491         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34492         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34493         tst-audit3, tst-audit4 and tst-audit5.
34494         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34495         tst-audit6 and tst-audit7.
34496         [$(subdir) = elf] (modules-names): Add audit modules for those
34497         tests.
34498         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34499         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34500         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34501         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34502         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34503         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34504         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34505         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34506         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34507         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34508         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34509         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34510         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34511         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34512         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34513         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34514         Likewise.
34515         [$(subdir) = elf && $(config-cflags-avx) = yes]
34516         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34517         [$(subdir) = elf && $(config-cflags-avx) = yes]
34518         (CFLAGS-tst-auditmod4a.c): Likewise.
34519         [$(subdir) = elf && $(config-cflags-avx) = yes]
34520         (CFLAGS-tst-auditmod4b.c): Likewise.
34521         [$(subdir) = elf && $(config-cflags-avx) = yes]
34522         (CFLAGS-tst-auditmod6b.c): Likewise.
34523         [$(subdir) = elf && $(config-cflags-avx) = yes]
34524         (CFLAGS-tst-auditmod6c.c): Likewise.
34525         [$(subdir) = elf && $(config-cflags-avx) = yes]
34526         (CFLAGS-tst-auditmod7b.c): Likewise.
34527         * elf/tst-audit3.c: Move to ...
34528         * sysdeps/x86_64/tst-audit3.c: ... here.
34529         * elf/tst-audit4.c: Move to ...
34530         * sysdeps/x86_64/tst-audit4.c: ... here.
34531         * elf/tst-audit5.c: Move to ...
34532         * sysdeps/x86_64/tst-audit5.c: ... here.
34533         * elf/tst-audit6.c: Move to ...
34534         * sysdeps/x86_64/tst-audit6.c: ... here.
34535         * elf/tst-audit7.c: Move to ...
34536         * sysdeps/x86_64/tst-audit7.c: ... here.
34537         * elf/tst-auditmod3a.c: Move to ...
34538         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34539         * elf/tst-auditmod3b.c: Move to ...
34540         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34541         * elf/tst-auditmod4a.c: Move to ...
34542         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34543         * elf/tst-auditmod4b.c: Move to ...
34544         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34545         * elf/tst-auditmod5a.c: Move to ...
34546         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34547         * elf/tst-auditmod5b.c: Move to ...
34548         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34549         * elf/tst-auditmod6a.c: Move to ...
34550         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34551         * elf/tst-auditmod6b.c: Move to ...
34552         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34553         * elf/tst-auditmod6c.c: Move to ...
34554         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34555         * elf/tst-auditmod7a.c: Move to ...
34556         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34557         * elf/tst-auditmod7b.c: Move to ...
34558         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34560 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34562         [BZ #15366]
34563         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34564         define unconditionally.
34565         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34566         define unconditionally.
34567         (INT8_C, INT16_C, etc.): Likewise.
34569 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34571         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34572         __ehdr_start with hidden visibility.
34574         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34576 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34578         * math/libm-test.inc (cos_test): Use accurate hex constants.
34579         (sincost_test): Likewise.
34581 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34583         * math/libm-test.inc (catan_test): Add more tests.
34584         (catanh_test): Likewise.
34586         * math/s_catanf.c (__catanf): Use suffixed floating-point
34587         constants.
34588         * math/s_catanhf.c (__catanhf): Likewise.
34589         * math/s_catanhl.c (__catanhl): Likewise.
34590         * math/s_catanl.c (__catanl): Likewise.
34592         [BZ #15394]
34593         * math/s_catan.c (__catan): Calculate imaginary part of result
34594         with log1p not log unless computing log of number close to 0.
34595         * math/s_catanf.c (__catanf): Likewise.
34596         * math/s_catanl.c (__catanl): Likewise.
34597         * math/s_catanh.c (__catanh): Calculate real part of result with
34598         log1p not log unless computing log of number close to 0.
34599         * math/s_catanhf.c (__catanhf): Likewise.
34600         * math/s_catanhl.c (__catanhl): Likewise.
34601         * math/libm-test.inc (catan_test): Add more tests.
34602         (catanh_test): Likewise.
34603         * sysdeps/i386/fpu/libm-test-ulps: Update.
34604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34606 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34608         * benchtests/Makefile: Mention files in which fast and slow
34609         paths of math functions are implemented.
34611 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34613         * sysdeps/posix/timespec_get.c: New file.
34615 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34617         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34618         POWER.
34619         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34620         for POWER.
34621         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34622         powerpc/power5/fpu folders.
34623         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34624         * benchtests/Makefile: Add modf testcase.
34625         * benchtests/bench-modf.c: New file: Benchmark test for mo
34627 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34629         [BZ #14888]
34630         * time/Makefile (tests): Add tst-strptime-whitespace.
34631         * time/strptime_l.c (get_number): Use ISSPACE.
34632         (__strptime_internal): Likewise.
34633         * time/tst-strptime-whitespace.c: New test case.
34635 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34637         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34638         member.
34639         (_nss_files_init): Set it here.
34641 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34643         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34644         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34645         unsigned.
34647 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34649         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34651 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34653         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34654         size just once.
34656 2013-04-21  David S. Miller  <davem@davemloft.net>
34658         * po/ru.po: Update Russion translation from translation project.
34660 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34662         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34663         and setfsgid.
34665 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34667         * configure.in: Remove i386 configure warning. Remove i386 case.
34668         * configure: Regenerate.
34669         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34670         Add example to error message.
34671         * sysdeps/i386/configure: Regenerate.
34673 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34675         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34676         slowtan.
34677         * benchtests/cos-inputs: New file.
34678         * benchtests/slowcos-inputs: New file.
34679         * benchtests/slowcos.c: New file.
34680         * benchtests/slowtan-inputs: New file.
34681         * benchtests/slowtan.c: New file.
34682         * benchtests/tan-inputs: New file.
34684 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34686         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34687         considered kosher.
34689 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34691         * benchtests/Makefile: Include cppflags-iterator.mk to add
34692         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34694         * Makefile.in (bench-clean): New target.
34695         * benchtests/Makefile (bench-clean): Likewise.
34697 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34699         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34701 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34703         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34705 2013-04-15  Andreas Schwab  <schwab@suse.de>
34707         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34708         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34709         * nscd/pwdcache.c (cache_addpw): Likewise.
34710         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34711         more than recsize.
34713 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34715         * benchtests/Makefile (bench): Write all output to
34716         bench-out.tmp together.
34718 2013-04-15  Andreas Schwab  <schwab@suse.de>
34720         * nscd/nscd.c (main): Don't fork again after closing files.
34722 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34724         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34726         * benchtests/Rules (bench-deps): Collect dependencies into a
34727         single variable.  Add Makefile to dependencies.
34728         ($(objpfx)bench-%.c): Depend on bench-deps.
34730 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34731             Xavier Roche  <roche+kml2@exalead.com>
34733         [BZ #15361]
34734         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34735         just that it's a file descriptor.
34736         * manual/llio.texi (Synchronizing AIO Operations): Update description
34737         for EBADF error from aio_fsync.
34739 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34741         * Rules (bench): Move target definition...
34742         * benchtests/Makefile: ... here.
34744 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34746         * math/libm-test.inc (cos_test): Fix PI/2 test.
34747         (sincos_test): Likewise.
34748         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34749         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34751 2013-04-11  Andreas Schwab  <schwab@suse.de>
34753         [BZ #13988]
34754         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34755         accept exponent character only when digits were seen.
34756         * stdio-common/Makefile (tests): Add bug26.
34757         * stdio-common/bug26.c: New file.
34759         [BZ #14293]
34760         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34761         non-freeable.
34763 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34765         * Makeconfig (rtld-prefix): Define built linker prefix.
34766         * Rules (run-bench): Use it.
34767         * math/Makefile (run-regen-ulps): Likewise.
34769         * Rules (bench): Remove eval.
34771 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34772             Roland McGrath  <roland@hack.frob.com>
34773             Ondrej Bilka  <neleai@seznam.cz>
34775         [BZ #15346]
34776         * time/getdate.c: Include ctype.h and alloca.h.
34777         (__getdate_r): Trim leading and trailing spaces of input.
34778         * time/tst-getdate.c (tests): Add tests with leading and
34779         trailing spaces.
34781 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34783         [BZ #14280]
34784         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34785         when computing value.
34787 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34789         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34790         Use testrun.sh to run libm tests.
34792         [BZ #15309]
34793         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34795 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34797         [BZ #15264]
34798         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34800 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34802         * Makefile.in (regen-ulps): New target.
34803         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34804         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34805         [ifneq (no,$(PERL)] (regen-ulps): New target.
34806         [ifeq (no,$(PERL)] (regen-ulps): New target.
34807         * math/libm-test.inc (ulps_file_name): Define.
34808         (output_dir): New variable.
34809         (options): Add "output-dir" option.
34810         (parse_opt): Handle 'o' case.
34811         (main): If output_dir is non-NULL use it as a prefix
34812         otherwise use "".
34813         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34815 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34817         [BZ #10060, #10062]
34818         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34819         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34820         fail configure if __sync_val_compare_and_swap is not inlined.
34821         * sysdeps/i386/configure: Regenerate.
34822         * configure.in: Build for i686 when configured for i386.
34823         * configure: Regenerate.
34824         * README: Remove i386 reference.
34826 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34828         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34829         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34831 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34833         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34834         (lmsnanval): New variables.
34835         (F): Add conversion tests.
34836         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34837         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34839         * stdio-common/tstdiomisc.c (F): Properly collect individual
34840         tests' results.
34842         [BZ #14686, #15336]
34843         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34844         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34845         Instead, use input NaN values or generate a qNaN by arithmetic
34846         operation.  Also fix bugs to comply with the standard.
34847         * math/libm-test.inc (remainder_test): Add more tests.
34849         [BZ #15335, #15342]
34850         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34851         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34852         input NaN values or generate a qNaN by arithmetic operation.
34854         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34855         unreachable code.
34857         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34858         definitions.
34860 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34862         [BZ #14478]
34863         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34864         underflowed result.
34865         * math/s_cexpf.c (__cexpf): Likewise.
34866         * math/s_cexpl.c (__cexpl): Likewise.
34867         * math/libm-test.inc (cexp_test): Add more tests.
34869 2013-04-03  Andreas Schwab  <schwab@suse.de>
34871         [BZ #15330]
34872         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34873         order arrays from heap if bigger than alloca cutoff.
34875 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34877         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34878         (SNAN_TESTS_double): Refer to GCC PR56831.
34879         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34880         GCC PR56828.
34882 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34884         * Rules (bench): Move bench.out after the run is complete.
34886         * Rules (bench): Echo currently running benchmark.
34888         * benchtests/Makefile (bench): Add atan and slowatan.
34889         * benchtests/atan-inputs: New file.
34890         * benchtests/slowatan-inputs: New file.
34891         * benchtests/slowatan.c: New file.
34893         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34894         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34895         its value.
34897         [BZ #15305]
34898         * sysdeps/unix/sysv/linux/kernel-features.h
34899         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34900         __ASSUME_XFS_RESTRICTED_CHOWN.
34901         * sysdeps/unix/sysv/linux/pathconf.c
34902         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34903         Save and restore errno.
34905 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34907         [BZ #15327]
34908         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34909         arguments using __kernel_casinh.
34910         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34911         arguments using __kernel_casinhf.
34912         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34913         arguments using __kernel_casinhl.
34914         * math/libm-test.inc (cacosh_test): Add more tests.
34915         * sysdeps/i386/fpu/libm-test-ulps: Update.
34916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34918 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34920         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34921         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34923         * bench/Makefile (bench): Add sin and slowsin.
34924         * benchtests/sin-inputs: New file.
34925         * benchtests/slowsin-inputs: New file.
34926         * benchtests/slowsin.c: New file.
34928         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34929         (bench): Add slowexp and slowpow.
34930         (exp-ITER): Increase iterations.
34931         (pow-ITER): Likewise.
34932         * benchtests/exp-inputs: Change input.
34933         * benchtests/pow-inputs: Likewise.
34934         * benchtests/slowexp-inputs: New file.
34935         * benchtests/slowexp.c: New file.
34936         * benchtests/slowpow-inputs: New file.
34937         * benchtests/slowpow.c: New file.
34939 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34941         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34942         instructions.
34943         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34944         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34945         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34946         * benchtests/Makefile: Add rint benchtest.
34947         * benchtests/rint-inputs: Input for rint benchtest.
34949 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34951         * Versions.def (libm): Add GLIBC_2.18.
34952         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34953         hidden libm prototypes.
34954         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34955         * math/Makefile (libm-calls): Add s_issignaling.
34956         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34957         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34958         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34959         declaration.
34960         * math/math.h [__USE_GNU] (issignaling): New macro.
34961         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34962         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34963         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34964         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34965         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34966         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34967         * manual/arith.texi (issignaling): New section.
34968         * manual/libm-err-tab.pl (@all_functions): Update comment.
34969         * math/gen-libm-test.pl (parse_args): Apply special handling for
34970         issignaling.
34971         * math/libm-test.inc (print_float, issignaling_test): New
34972         functions.
34973         (check_float_internal): Add issignaling checks.
34974         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34975         default definition.
34976         * sysdeps/powerpc/math-tests.h: New file.
34977         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34978         tests.
34979         * math/test-snan.c (TEST_FUNC): Likewise.
34981 2013-03-30  David S. Miller  <davem@davemloft.net>
34983         * po/de.po: Update from translation team.
34985 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34987         [BZ #10357]
34988         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34989         imaginary part less than 1.0 and real part less than 0.5
34990         specially.
34991         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34992         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34993         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34994         (cacos_test): Add more tests.
34995         (casin_test): Likewise.
34996         (casinh_test): Likewise.
34997         * sysdeps/i386/fpu/libm-test-ulps: Update.
34998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35000 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35002         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35003         ONE with its value.
35005         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35006         (__pow_mp): Replace ONE and MONE with their values.
35007         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35008         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35009         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35010         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35011         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35012         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35014         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35016         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35017         (__pow_mp): Replace ZERO and MZERO with their values.
35018         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35019         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35020         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35021         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35022         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35023         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35024         (__sqr): Likewise.
35026         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35028         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35030 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35032         * include/stdlib.h [!SHARED] (__call_tls_dtors):
35033         Declare with __attribute__ ((weak)).
35034         * stdlib/exit.c (__libc_atexit) [!SHARED]:
35035         Call __call_tls_dtors only if it's not NULL.
35037 2013-03-28  Roland McGrath  <roland@hack.frob.com>
35039         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35040         didn't do it already, then set _dl_phdr and _dl_phnum based on the
35041         magic __ehdr_start linker symbol if it's defined.
35042         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35043         them up here if it was already done.
35045         * elf/dl-support.c (_dl_phdr): Make pointer to const.
35046         (_dl_aux_init): Use const in cast when setting it.
35047         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35048         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35049         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35051         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35052         Declare them here.
35053         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35054         * csu/libc-tls.c: Nor here.
35055         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35057         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35058         (__libc_message): Never call vsyslog.
35060 2013-03-28  Alan Modra  <amodra@gmail.com>
35062         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35063         Define as empty.
35064         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35065         Likewise.
35067 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35069         [BZ #15214]
35070         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35071         underflow.
35072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35074 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35076         [BZ #15304]
35077         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35078         Don't add gid passed as argument.
35080         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35082 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
35084         [BZ #15307]
35085         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35086         imaginary part between 1.0 and 1.5 and real part less than 0.5
35087         specially.
35088         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35089         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35090         * math/libm-test.inc (cacos_test): Add more tests.
35091         (casin_test): Likewise.
35092         (casinh_test): Likewise.
35093         * sysdeps/i386/fpu/libm-test-ulps: Update.
35094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35096 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35098         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35099         constants.
35100         (norm): Likewise.
35101         (denorm): Likewise.
35102         (__dbl_mp): Likewise.
35103         (add_magnitudes): Likewise.
35104         (sub_magnitudes): Likewise.
35105         (__add): Likewise.
35106         (__sub): Likewise.
35107         (__mul): Likewise.
35108         (__sqr): Likewise.
35109         (__inv): Likewise.
35110         (__dvd): Likewise.
35112         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35113         commented code.
35114         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35115         (__dubcos): Likewise.
35116         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35117         (__ieee754_acos): Likewise.
35118         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35119         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35120         (__exp1): Likewise.
35121         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35122         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35123         (log1): Likewise.
35124         (my_log2): Likewise.
35125         (checkint): Likewise.
35126         * sysdeps/ieee754/dbl-64/e_remainder.c
35127         (__ieee754_remainder): Likewise.
35128         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35129         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35130         (bsloww): Likewise.
35131         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35133         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35134         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35135         MANTISSA_STORE_T to store computations on mantissa.  Use
35136         macros for rounding and division.
35137         (denorm): Likewise.
35138         (__dbl_mp): Likewise.
35139         (add_magnitudes): Likewise.
35140         (sub_magnitudes): Likewise.
35141         (__mul): Likewise.
35142         (__sqr): Likewise.
35143         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35144         powers of two in terms of TWOPOW macro.
35145         (mp_no): Make type of mantissa as MANTISSA_T.
35146         [!RADIXI]: Define RADIXI.
35147         [!TWO52]: Define TWO52.
35148         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35150 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35152         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35153         llroundl symbol when building for PPC32.
35155 2013-03-24  Mark H Weaver  <mhw@netris.org>
35157         * manual/arith.texi (Normalization Functions): Fix prototypes for
35158         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35160 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35162         [BZ #13889]
35163         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35164         high value to check if expl overflow.
35165         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35166         to check for underflow and overflow.
35167         * math/libm-test.inc: Add exp test.
35169 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
35171         [BZ #11120]
35172         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35173         with NOT_IN_libc.
35175 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35177         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35178         symbol.
35180 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
35182         * math/gen-libm-test.pl (parse_args, special_functions): Properly
35183         wrap blocks consisting of several statements.
35185         * sysdeps/generic/math-tests.h: New file.
35186         * sysdeps/i386/fpu/math-tests.h: Likewise.
35187         * math/test-snan.c: Include it.
35188         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35190 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35192         [BZ #15285]
35193         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35194         (__ieee754_j0l): Do not improve calculations using cos of twice
35195         input for inputs above LDBL_MAX / 2.0L.
35196         (__ieee754_y0l): Likewise.
35197         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35198         (__ieee754_j1l): Do not improve calculations using cos of twice
35199         input for inputs above LDBL_MAX / 2.0L.
35200         (__ieee754_y1l): Likewise.
35201         * math/libm-test.inc (j0_test): Add another test.
35202         (j1_test): Likewise.
35203         (y0_test): Likewise.
35204         (y1_test): Likewise.
35205         * sysdeps/i386/fpu/libm-test-ulps: Update.
35207 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35209         * Rules ($(objpfx)bench-%.c): Include code from a C source
35210         file.
35212 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
35214         [BZ #15287]
35215         * math/k_casinh.c (__kernel_casinh): Handle arguments with
35216         imaginary part 1.0 and real part less than 0.5 specially.
35217         * math/k_casinhf.c (__kernel_casinhf): Likewise.
35218         * math/k_casinhl.c (__kernel_casinhl): Likewise.
35219         * math/libm-test.inc (cacos_test): Add more tests.
35220         (casin_test): Likewise.
35221         (casinh_test): Likewise.
35222         * sysdeps/i386/fpu/libm-test-ulps: Update.
35223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35225 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35227         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35228         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35230 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
35232         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35233         * config.make.in (config-cflags-sse4): Remove variable.
35234         (config-cflags-avx): Likewise.
35235         (config-cflags-sse2avx): Likewise.
35236         (config-cflags-novzeroupper): Likewise.
35237         (config-asflags-i686): Likewise.
35238         (have-mfma4): Likewise.
35239         (have-as-vis3): Likewise.
35240         (MIG): Likewise.
35241         * configure.in (MIG): Do not AC_SUBST.
35242         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35243         (libc_cv_cc_sse4): Do not AC_SUBST.
35244         (libc_cv_cc_avx): Likewise.
35245         (libc_cv_cc_sse2avx): Likewise.
35246         (libc_cv_cc_novzeroupper): Likewise.
35247         (libc_cv_cc_fma4): Likewise.
35248         (libc_cv_as_i686): Likewise.
35249         (libc_cv_sparc_as_vis3): Likewise.
35250         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35251         LIBC_CONFIG_VAR.
35252         (config-asflags-i686): Likewise.
35253         (config-cflags-avx): Likewise.
35254         (config-cflags-sse2avx): Likewise.
35255         (have-mfma4): Likewise.
35256         (config-cflags-novzeroupper): Likewise.
35257         * sysdeps/mach/configure.in (MIG): Likewise.
35258         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35259         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35260         LIBC_CONFIG_VAR.
35261         (config-cflags-avx): Likewise.
35262         (config-cflags-sse2avx): Likewise.
35263         (have-mfma4): Likewise.
35264         (config-cflags-novzeroupper): Likewise.
35265         * configure: Regenerated.
35266         * sysdeps/i386/configure: Likewise.
35267         * sysdeps/mach/configure: Likewise.
35268         * sysdeps/sparc/configure: Likewise.
35269         * sysdeps/x86_64/configure: Likewise.
35271 2013-03-20  Roland McGrath  <roland@hack.frob.com>
35273         [BZ #14812]
35274         * locale/programs/localedef.c (options): Put N_ translation marker
35275         on argument names, not just descriptions.
35277 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35279         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35281 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
35283         [BZ #14176]
35284         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35286 2013-03-19  Roland McGrath  <roland@hack.frob.com>
35288         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35289         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35290         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35291         [!BEFORE_ABORT] (before_abort): New function.
35292         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35293         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35294         (writev_for_fatal): New function.
35295         (WRITEV_FOR_FATAL): New macro; call that.
35296         (backtrace_and_maps): New function.
35297         (BEFORE_ABORT): New macro; call that.
35298         (struct str_list): Type removed.
35299         (__libc_message, __libc_fatal): Functions removed.
35300         Include <sysdeps/posix/libc_fatal.c> instead.
35302 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
35304         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35305         constants.
35306         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35307         double constants.
35309 2013-03-19  Andreas Schwab  <schwab@suse.de>
35311         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35312         * sysdeps/gnu/configure: Regenerate.
35314         * configure.in: Substitute libc_cv_rtlddir.
35315         * configure: Regenerate.
35316         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35317         * Makeconfig (rtlddir, inst_rtlddir): New variables.
35318         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35319         * elf/Makefile (install-others, CFLAGS-interp.c)
35320         (ldso_install, common-ldd-rewrite): Likewise.
35321         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35322         $(inst_slibdir)/$(rtld-installed-name).
35323         * scripts/rellns-sh: Add -p option.
35324         * Makerules (make-shlib-link): Use rellns-sh to get relative name
35325         for source.
35327 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35329         * manual/nptl.texi: Renamed to ...
35330         * manual/threads.texi: ... this.
35331         * manual/Makefile (chapters): Update.
35333 2013-03-18  Roland McGrath  <roland@hack.frob.com>
35335         [BZ #14812]
35336         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35337         on argument names, not just descriptions.
35338         * malloc/memusagestat.c (options): Likewise.
35339         * nss/getent.c (options): Likewise.
35341 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
35343         [BZ #14812]
35344         * iconv/iconv_prog.c (options): Put N_ translation marker
35345         on argument names, not just descriptions.
35346         * iconv/iconvconfig.c (options): Likewise.
35348 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
35350         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35351         implementation which is faster on all x86_64 architectures.
35352         Tested on AMD, Intel Nehalem, SNB, IVB.
35353         * sysdeps/x86_64/strnlen.S: Likewise.
35355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35356         Remove all multiarch strlen and strnlen versions.
35357         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35358         Remove strlen and strnlen related parts.
35360         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35361         Inline strlen part.
35362         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35364         * sysdeps/x86_64/multiarch/strlen.S: Remove.
35365         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35366         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35367         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35368         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35369         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35371 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
35373         * manual/memory.texi (Malloc Tunable Parameters):
35374         Sort parameters alphabetically. Add comments for missing entries.
35376 2013-03-17  David S. Miller  <davem@davemloft.net>
35378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35380 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
35382         [BZ #15283]
35383         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35384         for arguments at most half maximum finite value.
35385         * math/libm-test.inc (j0_test): Add more tests.
35386         (j1_test): Likewise.
35387         (y0_test): Likewise.
35388         (y1_test): Likewise.
35389         * sysdeps/i386/fpu/libm-test-ulps: Update.
35390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35392         [BZ #14155]
35393         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35394         1 / x and functions P and Q for arguments above 0x1p256L.
35395         (__ieee754_y0l): Likewise.
35396         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35397         (__ieee754_y1l): Likewise.
35398         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35399         (j1_test): Likewise.
35400         (y0_test): Likewise.
35401         (y1_test): Likewise.
35403 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
35405         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35406         variable.
35408 2013-03-15  Roland McGrath  <roland@hack.frob.com>
35410         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35411         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35412         zero since it's initialized to EXEC_PAGESIZE.
35414         * sysdeps/unix/sysv/linux/ldsodefs.h
35415         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35416         * sysdeps/generic/ldsodefs.h: ... here.
35418 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
35420         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35422         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35423         math/test-snan.c.
35424         * math/test-snan.c: Renamed from
35425         sysdeps/powerpc/fpu/test-powerpc-snan.c.
35426         * math/Makefile (tests): Add test-snan.
35427         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35428         test-powerpc-snan.
35430         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35431         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
35432         functions.
35433         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
35434         __builtin_nan family of functions.
35435         * math/libm-test.inc (initialize): Initialize qnan_value with
35436         __builtin_nan family of functions.
35437         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35438         Remove variables.
35439         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35440         Remove functions.
35441         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
35442         storage class.  Initialize qNaN_var and sNaN_var with
35443         __builtin_nan and __builtin_nans families of functions,
35444         respectively.
35446         * math/libm-test.inc (acosh_test): Also test with qNaN input.
35447         (sqrt_test): Remove duplicate test with qNaN input.
35448         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35449         (round_test, signbit_test, significand_test): Note missing +/-Inf
35450         as well as qNaN tests.
35452         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35453         qNaN_var.  Fix a few strings, too.
35454         * math/libm-test.inc (nan_value): Rename to qnan_value.
35455         * math/gen-libm-test.pl (%beautify): Adjust to that.
35456         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35457         * math/test-misc.c (main): Likewise.
35458         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35459         to __qnan_bytes, and __qnan_union, respectively.
35460         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35461         Likewise.
35462         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35463         and lqnanval, respectively.
35464         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35465         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35466         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35467         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35469         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35470         * math/test-misc.c (main) [__x86_64__]: Enable test for long
35471         doubles.
35473         * math/test-misc.c (main): Fix copy'n'pastos.
35474         * misc/tst-efgcvt.c (special): Likewise.
35476         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35477         Remove declarations.
35479 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35481         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35482         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35483         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35484         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35486 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35488         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35489         macro to return vdso values correctly in IFUNC implementations.
35490         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35491         Optimization by using IFUNC.
35493 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35494             Richard Henderson  <rth@redhat.com>
35495             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35497         * Makefile.in (bench): New target.
35498         * NEWS: Mention the benchmark framework.
35499         * Rules (bench): Likewise.
35500         (binaries-bench): Generate binaries for functions to
35501         benchmark.
35502         * benchtests/Makefile: New makefile for benchmark tests.
35503         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35504         programs.
35505         * benchtests/exp-inputs: New input file for EXP function.
35506         * benchtests/pow-inputs: New input file for POW function.
35507         * scripts/bench.pl: New script to generate source files for
35508         benchmark programs.
35510 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35512         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35513         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35514         computations on mantissa.  Use macros for rounding and
35515         division.
35516         (denorm): Likewise.
35517         (__dbl_mp): Likewise.
35518         (add_magnitudes): Likewise.
35519         (sub_magnitudes): Likewise.
35520         (__mul): Likewise.
35521         (__sqr): Likewise.
35522         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35523         powers of two in terms of TWOPOW macro.
35524         (mp_no): Make type of mantissa as MANTISSA_T.
35525         [!RADIXI]: Define RADIXI.
35526         [!TWO52]: Define TWO52.
35527         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35529         * manual/nptl.texi (cindex): Modify threads to pthreads.
35531 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35533         * sysdeps/x86_64/preconfigure: Regenerated.
35535 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35537         [BZ #14155]
35538         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35539         0x1p28 and above.
35540         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35541         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35542         0x1p28 and above.
35543         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35544         * math/libm-test.inc (j0_test): Do not allow one spurious
35545         underflow exception.
35546         (y1_test): Likewise.
35548 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35550         * manual/Makefile (chapters): Add nptl.
35551         * manual/debug.texi (Debugging Support): Add link to Threads
35552         chapter.
35553         * manual/nptl.texi: New file.
35555         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35557 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35559         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35560         for non-NULL pointer before the memory validity test. Pointed
35561         out by Holger Brunck <holger.brunck@keymile.com>.
35563 2013-03-13  Andreas Schwab  <schwab@suse.de>
35565         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35566         instead of .os.
35568 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35570         * timezone/zic.c: Update from tzcode 2013b.
35572 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35574         * manual/install.texi (Configuring and compiling):
35575         Mention i686 and i586.
35576         * INSTALL: Regenerate.
35578 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35580         * sysdeps/init_array/elf-init.c: New file.
35581         * csu/elf-init.c
35582         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35583         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35585         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35586         __gmon_start__ as global, but as static with a .preinit_array pointer.
35587         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35588         * sysdeps/init_array/crti.S: New file, empty except for comments.
35589         * sysdeps/init_array/crtn.S: Likewise.
35591 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35593         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35594         definining bcopy.
35595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35596         Remove Prefer_SSE_for_memop.
35597         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35598         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35599         HAS_PREFER_SSE_FOR_MEMOP.
35600         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35601         memset-x86-64.
35602         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35603         Remove bzero, memset ifunc support.
35604         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35605         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35606         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35607         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35609 2013-03-11  Andreas Schwab  <schwab@suse.de>
35611         [BZ #15234]
35612         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35613         by SHLIB_COMPAT.
35614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35615         (GLIBC_2.16): Remove pthread_atfork.
35617 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35619         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35620         (ptestcases.h): Likewise.
35622 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35624         * Makeconfig ($(common-objpfx)config.status): Depend on
35625         sysdeps/*/preconfigure{,.in} too.
35627 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35629         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35630         (__free_hook): Use void * instead of __malloc_ptr_t.
35631         (__malloc_hook): Likewise.
35632         (__realloc_hook): Likewise.
35633         (__memalign_hook): Likewise.
35634         (__after_morecore_hook): Likewise.
35635         * malloc/arena.c (save_malloc_hook): Likewise.
35636         (save_free_hook): Likewise.
35637         * malloc/hooks.c (malloc_hook_ini): Likewise.
35638         (realloc_hook_ini): Likewise.
35639         (memalign_hook_ini): Likewise.
35640         * malloc/malloc.c (malloc_hook_ini): Likewise.
35641         (realloc_hook_ini): Likewise.
35642         (memalign_hook_ini): Likewise.
35643         (__free_hook): Likewise.
35644         (__malloc_hook): Likewise.
35645         (__realloc_hook): Likewise.
35646         (__memalign_hook): Likewise.
35647         (__libc_malloc): Likewise.
35648         (__libc_free): Likewise.
35649         (__libc_realloc): Likewise.
35650         (__libc_memalign): Likewise.
35651         (__libc_valloc): Likewise.
35652         (__libc_pvalloc): Likewise.
35653         (__libc_calloc): Likewise.
35654         (__posix_memalign): Likewise.
35655         * malloc/morecore.c (__sbrk): Likewise.
35656         (__default_morecore): Likewise.
35658         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35660         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35661         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35662         __malloc_ptrdiff_t.
35664         * malloc/malloc.h (__malloc_size_t): Remove macro.
35665         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35666         __malloc_size_t.
35667         (old_memalign_hook): Likewise.
35668         (old_realloc_hook): Likewise.
35669         (struct hdr): Likewise.
35670         (flood): Likewise.
35671         (mallochook): Likewise.
35672         (memalignhook): Likewise.
35673         (reallochook): Likewise.
35674         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35675         (tr_old_realloc_hook): Likewise.
35676         (tr_old_memalign_hook): Likewise.
35677         (tr_mallochook): Likewise.
35678         (tr_reallochook): Likewise.
35679         (tr_memalignhook): Likewise.
35681 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35683         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35684         default_ldbl_pack and using as default implementation.
35685         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35686         implementation.
35687         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35688         redundant definition.
35689         (ldbl_insert_mantissa): Likewise.
35690         (ldbl_canonicalize): Likewise.
35691         (ldbl_nearbyint): Likewise.
35692         (ldbl_pack): Rename to ldbl_pack_ppc.
35693         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35694         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35695         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35697 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35700         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35701         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35702         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35704         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35705         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35706         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35708 2013-03-07  Andreas Jaeger  <aj@suse.de>
35710         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35711         bits/mman-linux.h.
35713 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35715         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35716         Include mpa.h and declare __MPEXP.
35717         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35718         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35719         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35720         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35721         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35722         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35723         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35725         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35726         (__slowpow): Use long double EXPL and LOGL functions to
35727         compute POW.
35728         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35729         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35730         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35731         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35732         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35733         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35736         intermediate variable to calculate exponent.
35737         (__sqr): Likewise.
35738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35739         Likewise.
35740         (__sqr): Likewise.
35742         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35743         [!NO__SQR]: Define __sqr.
35744         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35745         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35746         sysdeps/ieee754/dbl-64/mpa.c.
35747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35749         [BZ #12723]
35750         * posix/Makefile (tests): Add tst-pathconf.
35751         * posix/tst-pathconf.c: New test case.
35752         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35753         _PC_PIPE_BUF.
35754         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35756 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35758         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35760 2013-03-06  Andreas Jaeger  <aj@suse.de>
35762         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35763         definition via __MAP_ANONYMOUS.
35765         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35766         it's not part of Linux headers.
35768         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35769         (MAP_HUGE_MASK): Define.
35771         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35772         Define.
35773         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35774         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35775         Define.
35776         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35777         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35778         Define.
35779         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35780         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35781         Define.
35782         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35784         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35785         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35786         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35787         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35788         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35789         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35791         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35792         Handle f2fs.
35794         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35795         Handle f2fs and efivarfs.
35797         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35798         f2fs.
35800         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35801         (EFIVARFS_MAGIC): Add.
35802         (F2FS_LINK_MAX): Add.
35804 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35806         * stdio-common/vfprintf.c: Replace __builtin_expect with
35807         __glibc_unlikely.
35809 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35811         [BZ #13550]
35812         * sysdeps/generic/bp-sym.h: Remove file.
35813         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35814         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35815         <bp-sym.h> and <bp-asm.h>.
35816         (__longjmp): Don't use BP_SYM.
35817         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35818         and <bp-asm.h>.
35819         (memcpy): Don't use BP_SYM.
35820         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35821         <bp-sym.h> and <bp-asm.h>.
35822         (memcpy): Don't use BP_SYM.
35823         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35824         <bp-asm.h>.
35825         (memcpy): Don't use BP_SYM.
35826         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35827         <bp-asm.h>.
35828         (memset): Don't use BP_SYM.
35829         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35830         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35831         (__bzero): Don't use BP_SYM.
35832         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35833         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35834         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35835         <bp-sym.h> and <bp-asm.h>.
35836         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35837         pointers.
35838         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35839         <bp-sym.h> and <bp-asm.h>.
35840         (memcpy): Don't use BP_SYM.
35841         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35842         <bp-sym.h> and <bp-asm.h>.
35843         (memset): Don't use BP_SYM.
35844         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35845         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35846         (__bzero): Don't use BP_SYM.
35847         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35848         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35849         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35850         <bp-sym.h> and <bp-asm.h>.
35851         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35852         pointers.
35853         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35854         <bp-sym.h> and <bp-asm.h>.
35855         (memcpy): Don't use BP_SYM.
35856         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35857         <bp-sym.h> and <bp-asm.h>.
35858         (memset): Don't use BP_SYM.
35859         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35860         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35861         (__bzero): Don't use BP_SYM.
35862         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35863         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35864         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35865         <bp-sym.h> and <bp-asm.h>.
35866         (__memchr): Don't use BP_SYM.
35867         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35868         <bp-sym.h> and <bp-asm.h>.
35869         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35870         pointers.
35871         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35872         <bp-sym.h> and <bp-asm.h>.
35873         (memcpy): Don't use BP_SYM.
35874         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35875         <bp-sym.h> and <bp-asm.h>.
35876         (__mempcpy): Don't use BP_SYM.
35877         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35878         <bp-sym.h> and <bp-asm.h>.
35879         (__memrchr): Don't use BP_SYM.
35880         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35881         <bp-sym.h> and <bp-asm.h>.
35882         (memset): Don't use BP_SYM.
35883         (__bzero): Likewise.
35884         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35885         <bp-sym.h> and <bp-asm.h>.
35886         (__rawmemchr): Don't use BP_SYM.
35887         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35888         <bp-sym.h> and <bp-asm.h>.
35889         (__STRCMP): Don't use BP_SYM.
35890         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35891         <bp-sym.h> and <bp-asm.h>.
35892         (strchr): Don't use BP_SYM.
35893         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35894         <bp-sym.h> and <bp-asm.h>.
35895         (__strchrnul): Don't use BP_SYM.
35896         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35897         <bp-sym.h> and <bp-asm.h>.
35898         (strlen): Don't use BP_SYM.
35899         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35900         <bp-sym.h> and <bp-asm.h>.
35901         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35902         pointers.
35903         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35904         <bp-sym.h> and <bp-asm.h>.
35905         (__strnlen): Don't use BP_SYM.
35906         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35907         <bp-sym.h> and <bp-asm.h>.
35908         (__GI__setjmp): Don't use BP_SYM.
35909         (_setjmp): Likewise.
35910         (__sigsetjmp): Likewise.
35911         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35912         (L(start_addresses)): Don't use BP_SYM.
35913         (_start): Likewise.
35914         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35915         <bp-asm.h>.
35916         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35917         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35918         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35919         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35920         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35921         <bp-asm.h>.
35922         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35923         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35924         about bounded pointers.
35925         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35926         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35927         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35928         <bp-asm.h>.
35929         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35930         about bounded pointers.  Remove GKM FIXME comments.
35931         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35932         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35933         <bp-asm.h>.
35934         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35935         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35936         Remove GKM FIXME comments.
35937         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35938         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35939         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35940         <bp-asm.h>.
35941         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35942         about bounded pointers.  Remove GKM FIXME comment.
35943         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35944         and <bp-asm.h>.
35945         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35946         pointers.
35947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35948         <bp-sym.h> and <bp-asm.h>.
35949         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35951         <bp-sym.h> and <bp-asm.h>.
35952         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35953         comment.
35955 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35957         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35958         call free(NULL).
35960 2013-03-05  David S. Miller  <davem@davemloft.net>
35962         * po/es.po: Update from translation team.
35964 2013-03-05  Andreas Jaeger  <aj@suse.de>
35966         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35967         <bits/mman-linux.h>.
35968         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35969         is fine.
35970         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35971         <bits/mman-linux.h> to end of file.
35972         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35973         is fine.
35974         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35975         <bits/mman-linux.h> to end of file.
35976         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35977         is fine.
35978         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35979         <bits/mman-linux.h> to end of file.
35981         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35982         (MCL_CURRENT, MCL_FUTURE): Define here.
35984 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35986         [BZ #15232]
35987         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35988         attribute_hidden.
35989         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35991 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35993         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35994         fourth parameter needed for rt_sigprocmask syscall.
35995         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35996         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35997         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35998         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35999         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36000         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36002 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
36004         [BZ #13550]
36005         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36006         comment about bounded pointers.
36007         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36008         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36010 2013-03-04  Andreas Jaeger  <aj@suse.de>
36012         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36013         common definitions.
36015         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36016         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36017         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36018         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36019         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36020         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36022 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36024         [BZ #15055]
36025         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36026         __ieee754_sqrl instead of __sqrl.
36028 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
36030         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36031         * sysdeps/powerpc/fpu_control.h: ... here.
36032         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36033         * sysdeps/powerpc/bits/fenvinline.h: ... here.
36034         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36035         * sysdeps/powerpc/bits/mathinline.h: ... here.
36037 2013-03-01  Roland McGrath  <roland@hack.frob.com>
36039         * elf/dl-hwcaps.c (_dl_important_hwcaps):
36040         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36041         to just [NEED_DL_SYSINFO_DSO].
36042         * elf/dl-support.c: Likewise.
36043         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36044         * elf/rtld.c (dl_main): Likewise.
36045         * elf/setup-vdso.h (setup_vdso): Likewise.
36046         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36047         * sysdeps/unix/sysv/linux/dl-sysdep.c
36048         (_dl_discover_osversion): Likewise.
36050 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
36052         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36053         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36055 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36057         * NEWS: Mention libm performance improvements and non-x86 PI
36058         futex support.
36060         * csu/libc-start.c (__pthread_initialize_minimal): Change
36061         function arguments.
36062         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36064 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
36066         [BZ #13550]
36067         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36068         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36069         <bp-sym.h> and <bp-asm.h>.
36070         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36071         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36072         and <bp-asm.h>.
36073         (memcpy): Don't use BP_SYM.
36074         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36075         <bp-asm.h>.
36076         (__mpn_add_n): Don't use BP_SYM.
36077         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36078         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36079         and <bp-asm.h>.
36080         (__mpn_addmul_1): Don't use BP_SYM.
36081         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36082         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36083         <bp-sym.h>.
36084         (_setjmp): Don't use BP_SYM.
36085         (__novmx_setjmp): Likewise.
36086         (__GI__setjmp): Likewise.
36087         (__vmx_setjmp): Likewise.
36088         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36089         <bp-sym.h>.
36090         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36091         (__bzero): Don't use BP_SYM.
36092         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36093         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36094         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36095         <bp-sym.h> and <bp-asm.h>.
36096         (memcpy): Don't use BP_SYM.
36097         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36098         <bp-sym.h> and <bp-asm.h>.
36099         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36100         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36101         <bp-sym.h> and <bp-asm.h>.
36102         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36103         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36104         <bp-asm.h>.
36105         (__mpn_lshift): Don't use BP_SYM.
36106         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36107         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36108         <bp-asm.h>.
36109         (memset): Don't use BP_SYM.
36110         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36111         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36112         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36113         <bp-asm.h>.
36114         (__mpn_mul_1): Don't use BP_SYM.
36115         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36116         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36117         <bp-sym.h> and <bp-asm.h>.
36118         (memcmp): Don't use BP_SYM.
36119         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36120         <bp-sym.h> and <bp-asm.h>.
36121         (memcpy): Don't use BP_SYM.
36122         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36123         <bp-sym.h> and <bp-asm.h>.
36124         (memset): Don't use BP_SYM.
36125         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36126         <bp-sym.h> and <bp-asm.h>.
36127         (strncmp): Don't use BP_SYM.
36128         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36129         <bp-sym.h> and <bp-asm.h>.
36130         (memcpy): Don't use BP_SYM.
36131         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36132         <bp-sym.h> and <bp-asm.h>.
36133         (memset): Don't use BP_SYM.
36134         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36135         <bp-sym.h> and <bp-asm.h>.
36136         (__memchr): Don't use BP_SYM.
36137         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36138         <bp-sym.h> and <bp-asm.h>.
36139         (memcmp): Don't use BP_SYM.
36140         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36141         <bp-sym.h> and <bp-asm.h>.
36142         (memcpy): Don't use BP_SYM.
36143         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36144         <bp-sym.h> and <bp-asm.h>.
36145         (__mempcpy): Don't use BP_SYM.
36146         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36147         <bp-sym.h> and <bp-asm.h>.
36148         (__memrchr): Don't use BP_SYM.
36149         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36150         <bp-sym.h> and <bp-asm.h>.
36151         (memset): Don't use BP_SYM.
36152         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36153         <bp-sym.h> and <bp-asm.h>.
36154         (__rawmemchr): Don't use BP_SYM.
36155         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36156         <bp-sym.h> and <bp-asm.h>.
36157         (__STRCMP): Don't use BP_SYM.
36158         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36159         <bp-sym.h> and <bp-asm.h>.
36160         (strchr): Don't use BP_SYM.
36161         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36162         <bp-sym.h> and <bp-asm.h>.
36163         (__strchrnul): Don't use BP_SYM.
36164         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36165         <bp-sym.h> and <bp-asm.h>.
36166         (strlen): Don't use BP_SYM.
36167         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36168         <bp-sym.h> and <bp-asm.h>.
36169         (strncmp): Don't use BP_SYM.
36170         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36171         <bp-sym.h> and <bp-asm.h>.
36172         (__strnlen): Don't use BP_SYM.
36173         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36174         <bp-asm.h>.
36175         (__mpn_rshift): Don't use BP_SYM.
36176         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36177         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36178         <bp-sym.h> and <bp-asm.h>.
36179         (__sigsetjmp): Don't use BP_SYM.
36180         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36181         (L(start_addresses)): Don't use BP_SYM.
36182         (_start): Likewise.
36183         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36184         <bp-asm.h>.
36185         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36186         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36187         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36188         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36189         <bp-asm.h>.
36190         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36191         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36192         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36193         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36194         <bp-asm.h>.
36195         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36196         comments.
36197         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36198         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36199         <bp-asm.h>.
36200         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
36201         FIXME comments.
36202         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36203         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36204         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36205         <bp-asm.h>.
36206         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
36207         comment.
36208         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36209         and <bp-asm.h>.
36210         (strncmp): Don't use BP_SYM,
36211         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36212         <bp-asm.h>.
36213         (__mpn_sub_n): Don't use BP_SYM.
36214         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36215         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36216         and <bp-asm.h>.
36217         (__mpn_submul_1): Don't use BP_SYM.
36218         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36220         <bp-sym.h> and <bp-asm.h>.
36221         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36223         <bp-sym.h> and <bp-asm.h>.
36224         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
36225         comment.
36227 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36229         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36230         Use ZK to minimize writes to Z.
36231         (sub_magnitudes): Simplify code a bit.
36232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36233         Use ZK to minimize writes to Z.
36234         (sub_magnitudes): Simplify code a bit.
36236 2013-02-27  Roland McGrath  <roland@hack.frob.com>
36238         * csu/gmon-start.c: Add special exception to license text.
36240 2013-02-27  Richard Henderson  <rth@redhat.com>
36242         * scripts/config.guess: Update from config.git.
36243         * scripts/config.sub: Likewise.
36245 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36247         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36249         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36251         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36253         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36255         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36257 2013-02-26  Roland McGrath  <roland@hack.frob.com>
36259         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36260         [$(build-shared = yes].
36262 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36264         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36265         (__mul): Reduce iterations for calculating mantissa.
36267         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36268         MPTWO.
36269         (__mpranred): Likewise.
36271         [BZ #15160]
36272         * malloc/memusagestat.c (main): Draw graphs for heap and stack
36273         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36275 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
36277         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36278         Define __attribute__.
36280 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36282         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36283         unused.
36284         * posix/regex_internal.h (__attribute): Remove.
36285         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36286         (re_string_context_at): Likewise.
36287         (bitset_not): Use __attribute__ and mark function as possibly
36288         unused.
36289         (bitset_merge): Likewise.
36290         (bitset_mask): Likewise.
36291         (re_string_char_size_at): Likewise.
36292         (re_string_wchar_at): Likewise.
36293         (re_string_elem_size_at): Likewise.
36295 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36297         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36298         code.
36299         (cc32): Likewise.
36301         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36302         (__acr): Likewise.
36303         (__cpy): Likewise.
36304         (norm): Likewise.
36305         (denorm): Likewise.
36306         (__dbl_mp): Likewise.
36307         (add_magnitudes): Likewise.
36308         (sub_magnitudes): Likewise.
36309         (__mul): Likewise.
36310         (__inv): Likewise.
36312         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36313         style.
36315         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36316         style.
36318         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36319         code.
36321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36322         up changes with default code.
36323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36324         Likewise.
36326 2013-02-24  Allan McRae  <allan@archlinux.org>
36328         * manual/socket.texi (The Internet Namespace): Order menu items
36329         to match that in the file.
36331         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36332         node listing of the info page menu.
36334 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
36336         [BZ #13550]
36337         * sysdeps/i386/bp-asm.h: Remove file.
36338         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36339         (PARMS): Do not use macros from bp-asm.h.
36340         (S1): Likewise.
36341         (S2): Likewise.
36342         (SIZE): Likewise.
36343         (__mpn_add_n): Do not use BP_SYM
36344         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36345         "bp-asm.h".
36346         (PARMS): Do not use macros from bp-asm.h.
36347         (S1): Likewise.
36348         (SIZE): Likewise.
36349         (__mpn_addmul_1): Do not use BP_SYM
36350         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36351         "bp-asm.h".
36352         (PARMS): Do not use macros from bp-asm.h.
36353         (SIGMSK): Likewise.
36354         (_setjmp): Likewise.  Do not use BP_SYM.
36355         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36356         "bp-asm.h".
36357         (PARMS): Do not use macros from bp-asm.h.
36358         (SIGMSK): Likewise.
36359         (setjmp): Likewise.  Do not use BP_SYM.
36360         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36361         "bp-asm.h".
36362         (PARMS): Do not use macros from bp-asm.h.
36363         (__frexp): Do not use BP_SYM.
36364         (frexp): Likewise.
36365         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36366         "bp-asm.h".
36367         (PARMS): Do not use macros from bp-asm.h.
36368         (__frexpf): Do not use BP_SYM.
36369         (frexpf): Likewise.
36370         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36371         "bp-asm.h".
36372         (PARMS): Do not use macros from bp-asm.h.
36373         (__frexpl): Do not use BP_SYM.
36374         (frexpl): Likewise.
36375         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36376         "bp-asm.h".
36377         (PARMS): Do not use macros from bp-asm.h.
36378         (__remquo): Do not use BP_SYM.
36379         (remquo): Likewise.
36380         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36381         "bp-asm.h".
36382         (PARMS): Do not use macros from bp-asm.h.
36383         (__remquof): Do not use BP_SYM.
36384         (remquof): Likewise.
36385         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36386         "bp-asm.h".
36387         (PARMS): Do not use macros from bp-asm.h.
36388         (__remquol): Do not use BP_SYM.
36389         (remquol): Likewise.
36390         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36391         "bp-asm.h".
36392         (PARMS): Do not use macros from bp-asm.h.
36393         (DEST): Likewise.
36394         (SRC): Likewise.
36395         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
36396         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36397         "bp-asm.h".
36398         (PARMS): Do not use macros from bp-asm.h.
36399         (strlen): Do not use BP_SYM.
36400         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36401         "bp-asm.h".
36402         (PARMS): Do not use macros from bp-asm.h.
36403         (S1): Likewise.
36404         (S2): Likewise.
36405         (SIZE): Likewise.
36406         (__mpn_add_n): Do not use BP_SYM.
36407         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36408         "bp-asm.h".
36409         (PARMS): Do not use macros from bp-asm.h.
36410         (S1): Likewise.
36411         (SIZE): Likewise.
36412         (__mpn_addmul_1): Do not use BP_SYM.
36413         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36414         weak_alias.
36415         (bzero): Likewise.
36416         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36417         "bp-asm.h".
36418         (PARMS): Do not use macros from bp-asm.h.
36419         (S): Likewise.
36420         (SIZE): Likewise.
36421         (__mpn_lshift): Do not use BP_SYM.
36422         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36423         "bp-asm.h".
36424         (PARMS): Do not use macros from bp-asm.h.
36425         (DEST): Likewise.
36426         (SRC): Likewise.
36427         (LEN): Likewise.
36428         (memcpy): Likewise.  Do not use BP_SYM.
36429         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36430         libc_hidden_def and weak_alias.
36431         (mempcpy): Do not use BP_SYM in weak_alias.
36432         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36433         "bp-asm.h".
36434         (PARMS): Do not use macros from bp-asm.h.
36435         (DEST): Likewise.
36436         (LEN): Likewise.
36437         [!BZERO_P] (CHR): Likewise.
36438         (memset): Likewise.  Do not use BP_SYM.
36439         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36440         "bp-asm.h".
36441         (PARMS): Do not use macros from bp-asm.h.
36442         (S1): Likewise.
36443         (SIZE): Likewise.
36444         (__mpn_mul_1): Do not use BP_SYM.
36445         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36446         "bp-asm.h".
36447         (PARMS): Do not use macros from bp-asm.h.
36448         (S): Likewise.
36449         (SIZE): Likewise.
36450         (__mpn_rshift): Do not use BP_SYM.
36451         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36452         "bp-asm.h".
36453         (PARMS): Do not use macros from bp-asm.h.
36454         (STR): Likewise.
36455         (CHR): Likewise.
36456         (strchr): Likewise.  Do not use BP_SYM.
36457         (index): Do not use BP_SYM in weak_alias.
36458         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36459         "bp-asm.h".
36460         (PARMS): Do not use macros from bp-asm.h.
36461         (DEST): Likewise.
36462         (SRC): Likewise.
36463         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
36464         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36465         "bp-asm.h".
36466         (PARMS): Do not use macros from bp-asm.h.
36467         (strlen): Do not use BP_SYM.
36468         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36469         "bp-asm.h".
36470         (PARMS): Do not use macros from bp-asm.h.
36471         (S1): Likewise.
36472         (S2): Likewise.
36473         (SIZE): Likewise.
36474         (__mpn_sub_n): Do not use BP_SYM.
36475         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36476         "bp-asm.h".
36477         (PARMS): Do not use macros from bp-asm.h.
36478         (S1): Likewise.
36479         (SIZE): Likewise.
36480         (__mpn_submul_1): Do not use BP_SYM.
36481         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36482         "bp-asm.h".
36483         (PARMS): Do not use macros from bp-asm.h.
36484         (S1): Likewise.
36485         (S2): Likewise.
36486         (SIZE): Likewise.
36487         (__mpn_add_n): Do not use BP_SYM.
36488         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36489         weak_alias.
36490         (bzero): Likewise.
36491         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36492         "bp-asm.h".
36493         (PARMS): Do not use macros from bp-asm.h.
36494         (BLK2): Likewise.
36495         (LEN): Likewise.
36496         (memcmp): Do not use BP_SYM.
36497         (bcmp): Do not use BP_SYM in weak_alias.
36498         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36499         "bp-asm.h".
36500         (PARMS): Do not use macros from bp-asm.h.
36501         (DEST): Likewise.
36502         (SRC): Likewise.
36503         (LEN): Likewise.
36504         (memcpy): Likewise.  Do not use BP_SYM.
36505         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36506         "bp-asm.h".
36507         (PARMS): Do not use macros from bp-asm.h.
36508         (DEST): Likewise.
36509         (SRC): Likewise.
36510         (LEN): Likewise.
36511         (memmove): Likewise.  Do not use BP_SYM.
36512         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36513         "bp-asm.h".
36514         (PARMS): Do not use macros from bp-asm.h.
36515         (DEST): Likewise.
36516         (SRC): Likewise.
36517         (LEN): Likewise.
36518         (__mempcpy): Likewise.  Do not use BP_SYM.
36519         (mempcpy): Do not use BP_SYM in weak_alias.
36520         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36521         "bp-asm.h".
36522         (PARMS): Do not use macros from bp-asm.h.
36523         (DEST): Likewise.
36524         (LEN): Likewise.
36525         [!BZERO_P] (CHR): Likewise.
36526         (memset): Likewise.  Do not use BP_SYM.
36527         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36528         "bp-asm.h".
36529         (PARMS): Do not use macros from bp-asm.h.
36530         (STR2): Likewise.
36531         (strcmp): Do not use BP_SYM.
36532         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36533         "bp-asm.h".
36534         (PARMS): Do not use macros from bp-asm.h.
36535         (STR): Likewise.
36536         (DELIM): Likewise.
36537         [USE_AS_STRTOK_R] (SAVE): Likewise.
36538         (FUNCTION): Likewise.  Do not use BP_SYM.
36539         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36540         aliases.
36541         (strtok_r): Likewise.
36542         (__GI___strtok_r): Likewise.
36543         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36544         (PARMS): Do not use macros from bp-asm.h.
36545         (S): Likewise.
36546         (SIZE): Likewise.
36547         (__mpn_lshift): Do not use BP_SYM.
36548         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36549         (PARMS): Do not use macros from bp-asm.h.
36550         (STR): Likewise.
36551         (CHR): Likewise.
36552         (__memchr): Do not use BP_SYM.
36553         (memchr): Do not use BP_SYM in weak_alias.
36554         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36555         (PARMS): Do not use macros from bp-asm.h.
36556         (BLK2): Likewise.
36557         (LEN): Likewise.
36558         (memcmp): Do not use BP_SYM.
36559         (bcmp): Do not use BP_SYM in weak_alias.
36560         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36561         (PARMS): Do not use macros from bp-asm.h.
36562         (S1): Likewise.
36563         (SIZE): Likewise.
36564         (__mpn_mul_1): Do not use BP_SYM.
36565         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36566         "bp-asm.h".
36567         (PARMS): Do not use macros from bp-asm.h.
36568         (STR): Likewise.
36569         (CHR): Likewise.
36570         (__rawmemchr): Do not use BP_SYM.
36571         (rawmemchr): Do not use BP_SYM in weak_alias.
36572         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36573         (PARMS): Do not use macros from bp-asm.h.
36574         (S): Likewise.
36575         (SIZE): Likewise.
36576         (__mpn_rshift): Do not use BP_SYM.
36577         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36578         (PARMS): Do not use macros from bp-asm.h.
36579         (SIGMSK): Likewise.
36580         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36581         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36582         (_start): Do not use BP_SYM.
36583         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36584         (PARMS): Do not use macros from bp-asm.h.
36585         (DEST): Likewise.
36586         (SRC): Likewise.
36587         (__stpcpy): Likewise.  Do not use BP_SYM.
36588         (stpcpy): Do not use BP_SYM in weak_alias.
36589         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36590         "bp-asm.h".
36591         (PARMS): Do not use macros from bp-asm.h.
36592         (DEST): Likewise.
36593         (SRC): Likewise.
36594         (LEN): Likewise.
36595         (__stpncpy): Likewise.  Do not use BP_SYM.
36596         (stpncpy): Do not use BP_SYM in weak_alias.
36597         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36598         (PARMS): Do not use macros from bp-asm.h.
36599         (STR): Likewise.
36600         (CHR): Likewise.
36601         (strchr): Likewise.  Do not use BP_SYM.
36602         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36603         "bp-asm.h".
36604         (PARMS): Do not use macros from bp-asm.h.
36605         (STR): Likewise.
36606         (CHR): Likewise.
36607         (__strchrnul): Likewise.  Do not use BP_SYM.
36608         (strchrnul): Do not use BP_SYM in weak_alias.
36609         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36610         "bp-asm.h".
36611         (PARMS): Do not use macros from bp-asm.h.
36612         (STOP): Likewise.
36613         (strcspn): Do not use BP_SYM.
36614         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36615         "bp-asm.h".
36616         (PARMS): Do not use macros from bp-asm.h.
36617         (STR): Likewise.
36618         (STOP): Likewise.
36619         (strpbrk): Likewise.  Do not use BP_SYM.
36620         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36621         "bp-asm.h".
36622         (PARMS): Do not use macros from bp-asm.h.
36623         (STR): Likewise.
36624         (CHR): Likewise.
36625         (strrchr): Likewise.  Do not use BP_SYM.
36626         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36627         (PARMS): Do not use macros from bp-asm.h.
36628         (SKIP): Likewise.
36629         (strspn): Do not use BP_SYM.
36630         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36631         (PARMS): Do not use macros from bp-asm.h.
36632         (STR): Likewise.
36633         (DELIM): Likewise.
36634         (SAVE): Likewise.
36635         (FUNCTION): Likewise.  Do not use BP_SYM.
36636         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36637         aliases.
36638         (strtok_r): Likewise.
36639         (__GI___strtok_r): Likewise.
36640         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36641         (PARMS): Do not use macros from bp-asm.h.
36642         (S1): Likewise.
36643         (S2): Likewise.
36644         (SIZE): Likewise.
36645         (__mpn_sub_n): Do not use BP_SYM.
36646         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36647         "bp-asm.h".
36648         (PARMS): Do not use macros from bp-asm.h.
36649         (S1): Likewise.
36650         (SIZE): Likewise.
36651         (__mpn_submul_1): Do not use BP_SYM.
36652         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36653         <bp-sym.h>.
36654         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36655         and <bp-asm.h>.
36656         (PARMS): Do not use macros from bp-asm.h.
36657         (FLAGS): Likewise.
36658         (PTID): Likewise.
36659         (TLS): Likewise.
36660         (CTID): Likewise.
36661         (__clone): Do not use BP_SYM.
36662         (clone): Do not use BP_SYM in weak_alias.
36663         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36664         and <bp-asm.h>.
36665         (PARMS): Do not use macros from bp-asm.h.
36666         (LEN): Likewise.
36667         (__mmap64): Do not use BP_SYM.
36668         (mmap64): Do not use BP_SYM in weak_alias.
36669         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36670         <bp-sym.h> and <bp-asm.h>.
36671         (PARMS): Do not use macros from bp-asm.h.
36672         (__posix_fadvise64_l64): Do not use BP_SYM.
36673         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36674         (PARMS): Do not use macros from bp-asm.h.
36675         (NSOPS): Likewise.
36676         (semtimedop): Do not use BP_SYM.
36677         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36678         and <bp-asm.h>.
36680 2013-02-21  Allan McRae  <allan@archlinux.org>
36682         * manual/message.texi (Charset conversion in gettext):
36683         Move @end statement to beginning of line.
36685 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36687         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36688         static.
36689         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36690         Likewise.
36692         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36693         (denorm): Likewise.
36694         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36697 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36699         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36700         tail-call to the resolved function if pltexit isn't needed.
36702 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36704         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36705         or Y being zero as being unlikely.
36706         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36707         Likewise.
36709 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36711         * manual/nss.texi (System Databases and Name Service Switch):
36712         Remove frobnicate @pxref.
36714 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36716         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36717         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36719 2013-02-20  Petr Machata  <pmachata@redhat.com>
36721         * elf/elf.h (R_ARM_TARGET1): New macro.
36722         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36723         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36724         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36725         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36726         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36727         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36728         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36729         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36730         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36731         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36732         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36733         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36734         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36735         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36736         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36737         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36738         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36739         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36740         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36741         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36742         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36743         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36744         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36745         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36746         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36747         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36748         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36749         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36750         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36751         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36752         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36753         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36754         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36755         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36756         (R_ARM_THM_GOT_BREL12): Likewise.
36757         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36758         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36759         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36760         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36761         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36762         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36763         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36764         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36765         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36767 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36769         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36770         __attribute_used__ to __attribute__ ((unused)).
36772 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36774         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36775         powerpc mpa.c.
36776         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36777         comment formatting.
36778         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36780 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36782         [BZ #13550]
36783         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36784         Remove macro.
36785         (ENTER): Remove both macro definitions.
36786         (LEAVE): Likewise.
36787         (CHECK_BOUNDS_LOW): Likewise.
36788         (CHECK_BOUNDS_HIGH): Likewise.
36789         (CHECK_BOUNDS_BOTH): Likewise.
36790         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36791         (RETURN_BOUNDED_POINTER): Likewise.
36792         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36793         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36794         (POP_ERRNO_LOCATION_RETURN): Likewise.
36795         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36796         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36797         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36798         macros.
36799         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36800         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36801         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36802         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36803         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36804         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36805         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36806         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36807         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36808         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36809         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36810         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36811         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36812         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36813         removed macros.
36814         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36815         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36816         macros.
36817         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36818         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36819         * sysdeps/i386/i586/memset.S (memset): Likewise.
36820         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36821         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36822         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36823         macros.
36824         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36825         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36826         Change uses of L(2) to L(out).
36827         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36828         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36829         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36830         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36831         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36832         removed macros.
36833         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36834         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36835         macros.
36836         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36837         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36838         (RETURN): Do not use macro LEAVE.
36839         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36840         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36841         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36842         * sysdeps/i386/i686/memset.S (memset): Likewise.
36843         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36844         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36845         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36846         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36847         Likewise.
36848         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36849         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36850         L(1_2) and L(1_3) into L(1).
36851         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36852         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36853         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36854         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36855         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36856         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36857         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36858         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36859         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36860         macros.
36861         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36862         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36863         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36864         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36865         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36866         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36867         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36868         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36869         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36870         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36871         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36872         * sysdeps/i386/strspn.S (strspn): Likewise.
36873         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36874         conditional code.
36875         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36876         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36877         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36878         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36879         L(1_3) into L(1_1).
36880         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36881         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36882         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36883         macros.
36884         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36886 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36888         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36889         macro.
36891 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36893         * math/atest-exp.c (exp_mpn): Remove ROUND.
36894         * math/atest-exp2.c (exp_mpn): Likewise.
36895         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36897         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36898         * stdlib/tst-tls-atexit-lib.c: Likewise.
36899         * stdlib/tst-tls-atexit.c: Likewise.
36901 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36903         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36904         and __attribute_alloc_size__.
36906 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36908         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36909         __attribute_alloc_size__.
36910         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36911         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36913 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36915         * include/programs/xmalloc.h: New file.
36916         * catgets/gencat.c: Include it.
36917         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36918         * elf/pldd.c: Likewise.
36919         * iconv/iconv_charmap.c: Likewise.
36920         * iconv/iconvconfig.c: Likewise.
36921         * iconv/strtab.c: Likewise.
36922         * locale/programs/locale.c: Likewise.
36923         * locale/programs/localedef.h: Likewise.
36924         * locale/programs/simple-hash.c: Likewise.
36925         * nscd/nscd.h: Likewise.
36926         * nss/makedb.c: Likewise.
36927         * sysdeps/generic/ldconfig.h: Likewise.
36929 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36931         * Versions.def: Add GLIBC_2.18.
36932         * include/link.h (struct link_map): New member l_tls_dtor_count.
36933         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36934         (__call_tls_dtors): Likewise.
36935         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36936         __cxa_thread_atexit_impl.
36937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36938         Likewise.
36939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36940         Likewise.
36941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36942         Likewise.
36943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36944         Likewise.
36945         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36947         Likewise.
36948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36949         Likewise.
36950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36952         Likewise.
36953         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36954         (tests): Add test case tst-tls-atexit.
36955         (modules-names): Add shared library for tst-tls-atexit.
36956         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36957         (GLIBC_PRIVATE): Add __call_tls_dtors.
36958         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36959         for libstdc++.
36960         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36961         * stdlib/tst-tls-atexit.c: New test case.
36962         * stdlib/tst-tls-atexit-lib.c: New test case.
36964         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36966         * elf/Versions (ld): Add _dl_find_dso_for_object.
36967         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36968         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36969         (dl_open_worker): Use _dl_find_dso_for_object.
36970         * elf/dl-sym.c (do_sym): Likewise.
36971         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36973 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36975         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36976         Syntactic changes only.
36977         (_dl_runtime_profile): Do a tail-call to the resolved function.
36979 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36981         [BZ #13550]
36982         * sysdeps/x86_64/bp-asm.h: Remove file.
36983         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36984         <bp-sym.h> and <bp-asm.h>.
36985         (__clone): Do not use BP_SYM.
36986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36987         <bp-sym.h> and <bp-asm.h>.
36988         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36989         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36990         "bp-asm.h".
36991         (_setjmp): Do not use BP_SYM.
36992         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36993         "bp-asm.h".
36994         (setjmp): Do not use BP_SYM.
36995         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36996         libc_hidden_def.
36997         (mempcpy): Do not use BP_SYM in weak_alias.
36998         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36999         "bp-asm.h".
37000         (strchr): Do not use BP_SYM.
37001         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37002         "bp-asm.h".
37003         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37004         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37005         (_start): Do not use BP_SYM.
37006         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37007         "bp-asm.h".
37008         (strcat): Do not use BP_SYM.
37009         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37010         "bp-asm.h".
37011         (STRCMP): Do not use BP_SYM.
37012         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37013         "bp-asm.h".
37014         (STRCPY): Do not use BP_SYM.
37015         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37016         "bp-asm.h".
37017         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37018         "bp-asm.h".
37019         (FUNCTION): Do not use BP_SYM.
37020         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37021         weak_alias.
37022         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37024 2013-02-17  Andreas Jaeger  <aj@suse.de>
37026         * time/Versions: Sort entries.
37027         * string/Versions: Likewise.
37028         * resolv/Versions: Likewise.
37029         * posix/Versions: Likewise.
37030         * iconv/Versions: Likewise.
37031         * elf/Versions: Likewise.
37032         * wcsmbs/Versions: Likewise.
37034 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37036         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37037         loop termination condition.
37039         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37040         variable to calculate EZ.
37041         (__sqr): Likewise.
37043         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37044         the lower precision input.
37046 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
37048         [BZ #13550]
37049         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37050         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37051         (run-via-rtld-prefix): Do not handle %-bp tests.
37052         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37053         (all-object-suffixes): Remove .ob.
37054         (bppfx): Remove variable.
37055         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37056         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37057         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37058         [$(build-bounded) = yes] (libtype.ob): Likewise.
37059         * Makerules (elide-routines.ob): Remove variable.
37060         (do-tests-clean): Do not handle *-bp.out.
37061         (common-mostlyclean): Do not handle *-bp and *-bp.out.
37062         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37063         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37064         (tests): Do not include $(tests-bp.out).
37065         (xtests): Do not include $(xtests-bp.out).
37066         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37067         [$(build-bounded) = yes] ($(addprefix
37068         $(objpfx),$(binaries-bounded))): Remove rule.
37069         ($(objpfx)%-bp.out): Remove rule.
37070         * config.make.in (build-bounded): Remove variable.
37071         * crypt/Makefile [$(build-bounded) = yes]
37072         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37073         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37074         append to variable.
37075         [$(build-bounded) = yes] (install-lib): Likewise.
37076         [$(build-bounded) = yes] (generated): Likewise.
37077         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37078         Remove rule.
37079         * intl/Makefile [$(build-bounded) = yes]
37080         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37081         * math/Makefile [$(build-bounded) = yes]
37082         ($(tests:%=$(objpfx)%-bp): Likewise.
37083         * misc/Makefile [$(build-bounded) = yes]
37084         ($(objpfx)tst-tsearch-bp): Likewise.
37085         * nptl/Makeconfig (bounded-thread-library): Remove variable.
37086         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37087         Remove dependency.
37088         * string/Makefile (o-objects.ob): Remove variable.
37089         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37090         (CFLAGS-.ob): Remove variable.
37091         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37092         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37093         both definitions of variable.
37094         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37095         (ASFLAGS-.ob): Remove variable.
37097 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
37099         [BZ #13550]
37100         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37101         Remove __BOUNDED_POINTERS__ from condition.
37102         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37103         * string/bits/string2.h [!__NO_STRING_INLINES &&
37104         !__BOUNDED_POINTERS__]: Likewise.
37105         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37106         Likewise.
37107         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37108         Remove conditional code.
37109         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37110         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37111         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37112         condition.
37114         [BZ #13550]
37115         * csu/libc-start.c: Do not include <bp-sym.h>.
37116         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37117         * elf/dl-open.c: Do not include <bp-sym.h>.
37118         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37119         * math/fegetenv.c: Do not include <bp-sym.h>.
37120         (fegetenv): Do not use BP_SYM in versioned symbols.
37121         * nptl/sysdeps/pthread/bits/libc-lockP.h
37122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37123         <bp-sym.h>.
37124         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37125         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37126         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37127         (__pthread_mutex_destroy): Likewise.
37128         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37129         (__pthread_mutex_lock): Likewise.
37130         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37131         (__pthread_mutex_trylock): Likewise.
37132         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37133         (__pthread_mutex_unlock): Likewise.
37134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37135         (__pthread_mutexattr_init): Likewise.
37136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37137         (__pthread_mutexattr_destroy): Likewise.
37138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37139         (__pthread_mutexattr_settype): Likewise.
37140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37141         (__pthread_rwlock_init): Likewise.
37142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37143         (__pthread_rwlock_destroy): Likewise.
37144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37145         (__pthread_rwlock_rdlock): Likewise.
37146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37147         (__pthread_rwlock_tryrdlock): Likewise.
37148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37149         (__pthread_rwlock_wrlock): Likewise.
37150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37151         (__pthread_rwlock_trywrlock): Likewise.
37152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37153         (__pthread_rwlock_unlock): Likewise.
37154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37155         (__pthread_key_create): Likewise.
37156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37157         (__pthread_setspecific): Likewise.
37158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37159         (__pthread_getspecific): Likewise.
37160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37161         Likewise.
37162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37163         (_pthread_cleanup_push_defer): Likewise.
37164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37165         (_pthread_cleanup_pop_restore): Likewise.
37166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37167         (pthread_setcancelstate): Likewise.
37168         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37169         <bp-sym.h>.
37170         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37171         (memchr): Do not use BP_SYM in weak_alias.
37172         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37173         (fegetenv): Do not use BP_SYM in versioned symbols.
37174         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37175         (fesetenv): Do not use BP_SYM in versioned symbols.
37176         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37177         (feupdateenv): Do not use BP_SYM in versioned symbols.
37178         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37179         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37180         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37181         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37182         (open64): Do not use BP_SYM in weak_alias.
37183         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37184         (fegetenv): Do not use BP_SYM in versioned symbols.
37185         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37186         (fesetenv): Do not use BP_SYM in versioned symbols.
37187         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37188         (feupdateenv): Do not use BP_SYM in versioned symbols.
37189         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37190         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37191         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37192         (feraiseexcept): Do not use BP_SYM in versioned symbols.
37193         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37194         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37195         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37196         <bp-sym.h>.
37197         (__libc_start_main): Do not use BP_SYM.
37199 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37202         redundant return line.
37203         (norm): Likewise.
37204         (denorm): Likewise.
37205         (dbl_mp): Likewise.
37206         (sub_magnitudes): Likewise.
37207         (__add): Likewise.
37208         (__sub): Likewise.
37209         (__mul): Likewise.
37210         (__inv): Likewise.
37211         (__dvd): Likewise.
37212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37213         (norm): Likewise.
37214         (denorm): Likewise.
37215         (dbl_mp): Likewise.
37216         (sub_magnitudes): Likewise.
37217         (__add): Likewise.
37218         (__sub): Likewise.
37219         (__mul): Likewise.
37220         (__inv): Likewise.
37221         (__dvd): Likewise.
37223         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37224         instead of __mul.
37225         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37226         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37227         (cc32): Likewise.
37229         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37230         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37231         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37232         of __mul for squares.
37233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37234         function
37235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37236         Likewise.
37237         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37238         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37240 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
37242         [BZ #13550]
37243         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37244         code.
37245         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37246         prototype or function definition.  Rename ubp_* variables and
37247         parameters.  Remove argv definitions conditional on
37248         [__BOUNDED_POINTERS__].
37249         * debug/backtrace.c (__backtrace): Do not use __unbounded.
37250         * elf/dl-runtime.c (_dl_fixup): Likewise.
37251         * include/set-hooks.h (RUN_HOOK): Likewise.
37252         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37253         definition.
37254         * string/strcpy.c (strcpy): Do not use __unbounded.
37255         * sysdeps/generic/frame.h (struct layout): Likewise.
37256         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37257         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37258         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37259         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37260         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37261         (__backtrace): Likewise.
37262         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37263         use __ptrvalue.
37264         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37265         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37266         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37267         Likewise.
37268         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37269         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37270         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37271         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37272         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37273         Do not use __unbounded.
37274         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37275         Rename __unboundedrlimits parameter to rlimits in prototype.
37276         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37277         Do not use __unbounded.
37278         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37279         not use __ptrvalue.
37280         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37281         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37282         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37283         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37284         __ptrvalue or __unbounded.
37285         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37286         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37287         use __unbounded.
37288         (__new_msgctl): Do not use __ptrvalue.
37289         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37290         __unbounded.
37291         (__libc_msgrcv): Do not use __ptrvalue.
37292         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37293         startup_info): Do not use __unbounded.
37294         (__libc_start_main): Likewise.  Rename ubp_* variables and
37295         parameters.  Remove argv definitions conditional on
37296         [__BOUNDED_POINTERS__].
37297         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37298         __ptrvalue.
37299         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37300         use __unbounded.
37301         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37302         or __ptrvalue.
37303         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37304         use __unbounded.
37305         (__new_shmctl): Do not use __ptrvalue.
37306         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37307         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37308         Likewise.
37309         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37310         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37311         (__libc_sigaction): Likewise.
37312         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37313         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37314         Likewise.
37315         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37317 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
37319         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37321         * string/mempcpy.c: Implement by calling memcpy.
37323 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
37325         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37328         evaluation.
37330         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37331         values in the mantissa.
37333         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37334         minimize writes to Z.
37335         (sub_magnitudes): Simplify code a bit.
37337 2013-02-12  Roland McGrath  <roland@hack.frob.com>
37339         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37340         from the message.  The linker prefixes all warnings with that already.
37342 2013-02-12  Andreas Schwab  <schwab@suse.de>
37344         [BZ #15078]
37345         * posix/regexec.c (extend_buffers): Add parameter min_len.
37346         (check_matching): Pass minimum needed length.
37347         (clean_state_log_if_needed): Likewise.
37348         (get_subexp): Likewise.
37349         * posix/Makefile (tests): Add bug-regex34.
37350         (bug-regex34-ENV): Define.
37351         * posix/bug-regex34.c: New file.
37353         [BZ #11561]
37354         * posix/regcomp.c (parse_bracket_exp): When looking up collating
37355         elements compare against the byte sequence of it, not its name.
37356         * posix/Makefile (tests): Add bug-regex35.
37357         (bug-regex35-ENV): Define.
37358         * posix/bug-regex35.c: New file.
37360 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37362         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
37363         comment.
37364         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37365         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37366         (CHECK_EOL): Add undef.
37368 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
37370         * bits/stdlib-bsearch.h: New file.
37371         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37372         * stdlib/stdlib.h: Likewise.
37374 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37376         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37377         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37378         declaration.
37379         * manual/search.texi (Array Search Function): Add missing const in
37380         lfind prototype.
37381         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37382         declaration to use rlim_t.
37383         (Basic Scheduling Functions): Remove erroneous const from
37384         sched_getparam prototype.  Remove erroneous * from
37385         sched_get_priority_max and sched_get_priority_min prototypes.
37386         (Resource Usage): Fix summary @comment on vtimes to refer to
37387         sys/vtimes.h rather than vtimes.h.
37388         Add missing *s in vtimes prototype.
37389         (Limits on Resources): Fix ulimit prototype to return long int.
37390         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37391         prototypes to use long int rather than double.
37392         (BSD Random): Fix initstate and setstate to use char *, not void *.
37393         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37394         prototype to make second argument 'struct aiocb64 *const[]'.
37395         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37396         (Status of AIO Operations): Remove erroneous const in aio_return and
37397         aio_return64 prototypes.
37398         (Synchronizing I/O): Fix sync prototype to return void.
37399         * manual/startup.texi (Suboptions): Remove an erroneous const in
37400         getsubopt prototype.
37401         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37402         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37403         use size_t rather than int.
37404         (Scanning All Users): Likewise for getpwent_r.
37405         (Setting Groups): Add missing const to setgroups prototype.
37406         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37407         * manual/socket.texi (Host Names): Fix gethostbyaddr and
37408         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37409         'const void *' rather than 'const char *'.
37410         (Host Address Functions): Likewise for inet_ntop.
37411         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37412         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37413         ssize_t for return value.
37414         (Sending Data): Likewise for send, sendto, sendmsg.
37415         (Socket Option Functions): Add a missing const in setsockopt prototype.
37416         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37417         use wchar_t for the argument.
37418         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37419         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37420         take no arguments.
37421         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37422         double/float/long double for second argument.
37423         Fix return types of significand, significandf, significandl.
37424         * manual/filesys.texi (Setting Permissions): Use mode_t for second
37425         argument in fchmod prototype.
37426         (File Owner): Use uid_t and gid_t in fchown prototype.
37427         (File Times): Add const to utimes, futimes, and lutimes prototypes.
37428         (Making Special Files): Use mode_t and dev_t in mknod prototype.
37429         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37430         use 'const struct dirent **' as argument types to CMP function pointer
37431         argument.
37432         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37433         (File Times): Fix summary magic @comment for struct utimbuf and utime
37434         to refer to utime.h, not time.h.
37435         * manual/string.texi (Argz Functions): Add missing const in
37436         argz_extract and argz_next prototypes.
37437         (Finding Tokens in a String): Likewise for basename.
37438         (String/Array Comparison): Fix typo in wcscasecmp prototype.
37439         (Copying and Concatenation): Fix typo in wmemmove prototype.
37440         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37441         (Signal Stack): Remove erroneous const in sigstack prototype.
37442         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37443         prototype.
37444         (Simple Calendar Time): Likewise for stime.
37445         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37446         prototype.
37447         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37448         say sys/sysctl.h instead.
37449         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37450         and vsyslog prototypes.
37452 2013-02-11  Tom de Vries  <tom@codesourcery.com>
37454         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37455         Remove.
37457 2013-02-11  Roland McGrath  <roland@hack.frob.com>
37459         * misc/sys/mman.h: Fix typo in mremap comment.
37461 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37463         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37464         the '\0' terminator.
37466 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37468         [BZ #13550]
37469         * debug/segfault.c: Don't include <bp-checks.h>.
37470         * sysdeps/generic/bp-checks.h: Remove file.
37471         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37472         (__GETDENTS): Don't use CHECK_N.
37473         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37474         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37475         (__getgroups): Don't use CHECK_N.
37476         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37477         (setgroups): Don't use CHECK_N.
37478         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37479         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37480         (__libc_msgrcv): Don't use CHECK_N.
37481         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37482         (__libc_msgsnd): Don't use CHECK_N.
37483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37484         <bp-checks.h>.
37485         (__libc_pread): Don't use CHECK_N.
37486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37487         include <bp-checks.h>.
37488         (__libc_pread64): Don't use CHECK_N.
37489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37490         include <bp-checks.h>.
37491         (__libc_pwrite): Don't use CHECK_N.
37492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37493         include <bp-checks.h>.
37494         (__libc_pwrite64): Don't use CHECK_N.
37495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37496         <bp-checks.h>.
37497         (__libc_pread): Don't use CHECK_N.
37498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37499         include <bp-checks.h>.
37500         (__libc_pread64): Don't use CHECK_N.
37501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37502         include <bp-checks.h>.
37503         (__libc_pwrite): Don't use CHECK_N.
37504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37505         include <bp-checks.h>.
37506         (__libc_pwrite64): Don't use CHECK_N.
37507         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37508         (do_pread): Don't use CHECK_N.
37509         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37510         (do_pread64): Don't use CHECK_N.
37511         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37512         (do_pwrite): Don't use CHECK_N.
37513         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37514         (do_pwrite64): Don't use CHECK_N.
37515         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37516         (__libc_readv): Don't use CHECK_N.
37517         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37518         (semop): Don't use CHECK_N.
37519         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37520         <bp-checks.h>.
37521         (semtimedop): Don't use CHECK_N.
37522         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37523         (__libc_pread): Don't use CHECK_N.
37524         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37525         <bp-checks.h>.
37526         (__libc_pread64): Don't use CHECK_N.
37527         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37528         <bp-checks.h>.
37529         (__libc_pwrite): Don't use CHECK_N.
37530         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37531         <bp-checks.h>.
37532         (__libc_pwrite64): Don't use CHECK_N.
37533         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37534         <bp-checks.h>.
37535         (__libc_msgrcv): Don't use CHECK_N.
37536         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37537         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37538         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37539         (__libc_writev): Don't use CHECK_N.
37541 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37543         * string/strcpy.c: Removed unused variable.
37545         * Makeconfig (+sysdep-includes): Define with := rather than =.
37546         Use an existing include/ subdir of each sysdeps dir before it.
37548 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37550         * nscd/connection.c (register_traced_file): Comment function.
37551         [HAVE_INOTIFY] (union __inev): Define.
37552         [HAVE_INOTIFY] (inotify_check_files): New function.
37553         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37554         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37555         clear_db_cache.
37556         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37558 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37560         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37561         loaded if not already and that a failure is permanent.
37563 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37565         [BZ #15006]
37566         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37567         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37569 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37571         [BZ #13550]
37572         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37573         (CHECK_1_NULL_OK): Likewise.
37574         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37575         (__fxstat): Do not use CHECK_1.
37576         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37577         <bp-checks.h>.
37578         (___fxstat64): Do not use CHECK_1.
37579         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37580         <bp-checks.h>.
37581         (__fxstatat): Do not use CHECK_1.
37582         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37583         <bp-checks.h>.
37584         (__fxstatat64): Do not use CHECK_1.
37585         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37586         <bp-checks.h>.
37587         (__fxstat): Do not use CHECK_1.
37588         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37589         <bp-checks.h>.
37590         (__fxstatat): Do not use CHECK_1.
37591         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37592         <bp-checks.h>.
37593         (__getresgid): Do not use CHECK_1.
37594         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37595         <bp-checks.h>.
37596         (__getresuid): Do not use CHECK_1.
37597         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37598         <bp-checks.h>.
37599         (__lxstat): Do not use CHECK_1.
37600         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37601         <bp-checks.h>.
37602         (__old_msgctl): Do not use CHECK_1.
37603         (__new_msgctl): Likewise.
37604         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37605         <bp-checks.h>.
37606         (__new_setrlimit): Do not use CHECK_1.
37607         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37608         <bp-checks.h>.
37609         (__old_shmctl): Do not use CHECK_1.
37610         (__new_shmctl): Likewise.
37611         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37612         <bp-checks.h>.
37613         (__xstat): Do not use CHECK_1.
37614         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37615         (__lxstat): Do not use CHECK_1.
37616         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37617         <bp-checks.h>.
37618         (___lxstat64): Do not use CHECK_1.
37619         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37620         (__old_msgctl): Do not use CHECK_1.
37621         (__new_msgctl): Likewise.
37622         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37623         <bp-checks.h>.
37624         (__gettimeofday): Do not use CHECK_1.
37625         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37626         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37627         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37628         <bp-checks.h>.
37629         (__gettimeofday): Do not use CHECK_1.
37630         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37631         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37632         (__new_shmctl): Do not use CHECK_1.
37633         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37634         <bp-checks.h>.
37635         (do_sigtimedwait): Do not use CHECK_1.
37636         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37637         <bp-checks.h>.
37638         (do_sigwaitinfo): Do not use CHECK_1.
37639         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37640         <bp-checks.h>.
37641         (msgctl): Do not use CHECK_1.
37642         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37643         <bp-checks.h>.
37644         (shmctl): Do not use CHECK_1.
37645         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37646         (ustat): Do not use CHECK_1.
37647         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37648         <bp-checks.h>.
37649         (__fxstat): Do not use CHECK_1.
37650         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37651         <bp-checks.h>.
37652         (__fxstatat): Do not use CHECK_1.
37653         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37654         <bp-checks.h>.
37655         (__lxstat): Do not use CHECK_1.
37656         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37657         <bp-checks.h>.
37658         (__xstat): Do not use CHECK_1.
37659         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37660         (__xstat): Do not use CHECK_1.
37661         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37662         (___xstat64): Do not use CHECK_1.
37664         [BZ #13550]
37665         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37666         definitions.
37667         (CHECK_BOUNDS_HIGH): Likewise.
37668         * string/strcpy.c: Do not include <bp-checks.h>.
37669         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37671 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37673         * nscd/nscd-client.h (__nscd_drop_map_ref):
37674         Add __attribute__ ((unused)).
37675         * nis/nss-nisplus.h (niserr2nss): Likewise.
37677         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37678         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37680         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37681         Remove inline keyword.
37682         * include/rounding-mode.h (round_away): Likewise.
37683         * libio/wfileops.c (adjust_wide_data): Likewise.
37684         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37685         (__m128i_strloadu_tolower): Likewise.
37686         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37687         (__m128i_strloadu_tolower): Likewise.
37688         * time/mktime.c (ydhms_diff): Likewise.
37689         * locale/elem-hash.h (elem_hash): Likewise.
37690         * locale/setlocale.c (setdata): Likewise.
37691         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37692         (re_string_wchar_at): Likewise.
37693         (bitset_not, bitset_merge, bitset_mask): Likewise.
37694         [!(__GNUC__ > 3)] (inline): Remove macro.
37695         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37696         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37697         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37698         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37699         * string/memcmp.c (memcmp_bytes): Likewise.
37700         * locale/programs/locarchive.c (compute_hashval): Likewise.
37701         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37702         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37703         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37704         * nss/getent.c (print_rpc, print_protocols): Likewise.
37705         (print_passwd, print_group, print_aliases): Likewise.
37706         * nis/nss-nisplus.h (niserr2nss): Likewise.
37707         * nscd/connections.c (restart_p): Likewise.
37708         Change return type to bool.
37710 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37712         * Makeconfig (all-Depend-files): Add existing
37713         $(sorted-subdirs:=/Depend) files.
37714         (all-subdirs): Remove nss.
37715         * sysdeps/unix/inet/Subdirs: Add it here instead.
37716         * hesiod/Depend: New file.
37718         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37719         instead of calling alloca.
37721         * io/lseek.c (__lseek): Rename to __libc_lseek.
37722         Define __lseek as an alias.
37724         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37726 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37728         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37729         else clause and remove check for non-standard endianness.
37731 2013-02-04  David S. Miller  <davem@davemloft.net>
37733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37735 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37737         [BZ #13550]
37738         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37739         (__ubp_memchr): Remove prototype.
37740         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37741         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37742         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37743         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37744         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37745         Remove alias.
37746         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37747         (__ubp_memchr): Likewise.
37748         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37749         (__ubp_memchr): Likewise.
37750         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37751         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37752         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37753         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37754         CHECK_STRING.
37755         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37756         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37757         (__getcwd): Do not use CHECK_STRING.
37758         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37759         <bp-checks.h>.
37760         (__real_chown): Do not use CHECK_STRING.
37761         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37762         <bp-checks.h>.
37763         (fchownat): Do not use CHECK_STRING.
37764         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37765         CHECK_STRING.
37766         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37767         <bp-checks.h>.
37768         (__lchown): Do not use CHECK_STRING.
37769         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37770         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37771         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37772         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37774         include <bp-checks.h>.
37775         (truncate64): Do not use CHECK_STRING.
37776         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37777         <bp-checks.h>.
37778         (__real_chown): Do not use CHECK_STRING.
37779         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37780         <bp-checks.h>.
37781         (__lchown): Do not use CHECK_STRING.
37782         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37783         <bp-checks.h>.
37784         (__chown): Do not use CHECK_STRING.
37785         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37786         <bp-checks.h>.
37787         (truncate64): Do not use CHECK_STRING.
37788         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37789         Likewise.
37790         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37791         (__xmknod): Do not use CHECK_STRING.
37792         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37793         <bp-checks.h>.
37794         (__xmknodat): Do not use CHECK_STRING.
37795         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37796         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37798 2013-02-04  Andreas Schwab  <schwab@suse.de>
37800         [BZ #14142]
37801         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37802         * include/netdb.h: Likewise for h_errno.
37803         * elf/tst-stackguard1.c: Include <tls.h>.
37805 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37807         * elf/link.h (struct link_map): Extend the l_addr comment.
37808         * include/link.h (struct link_map): Likewise.
37810 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37812         [BZ #13550]
37813         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37814         (BOUNDED_1): Remove macro.
37815         * debug/backtrace.c: Don't include <bp-checks.h>.
37816         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37817         (__backtrace): Likewise.
37818         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37819         <bp-checks.h>.
37820         (__backtrace): Don't use BOUNDED_1.
37821         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37822         <bp-checks.h>.
37823         (__backtrace): Don't use BOUNDED_1.
37824         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37825         (__backtrace): Don't use BOUNDED_1.
37826         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37827         (shmat): Don't use BOUNDED_N.
37829 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37831         [BZ #13550]
37832         * sysdeps/generic/bp-start.h: Remove file.
37833         * csu/libc-start.c: Don't include <bp-start.h>.
37834         (LIBC_START_MAIN): Set up __environ directly instead of using
37835         INIT_ARGV_and_ENVIRON.
37836         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37837         <bp-start.h>.
37839         [BZ #13550]
37840         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37841         definitions.
37842         (CHECK_FCNTL): Likewise.
37843         (CHECK_N_PAGES): Likewise.
37845         [BZ #13550]
37846         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37847         definitions.
37848         (CHECK_SIGSET_NULL_OK): Likewise.
37849         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37850         <bp-checks.h>.
37851         (sigpending): Don't use CHECK_SIGSET.
37852         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37853         <bp-checks.h>.
37854         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37855         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37856         <bp-checks.h>.
37857         (do_sigsuspend): Don't use CHECK_SIGSET.
37858         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37859         use CHECK_SIGSET.
37860         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37861         (do_sigwait): Don't use CHECK_SIGSET.
37862         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37863         use CHECK_SIGSET.
37864         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37865         include <bp-checks.h>.
37866         (sigpending): Don't use CHECK_SIGSET.
37867         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37868         include <bp-checks.h>.
37869         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37870         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37871         <bp-checks.h>.
37872         (sigpending): Don't use CHECK_SIGSET.
37873         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37874         <bp-checks.h>.
37875         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37877         [BZ #13550]
37878         * sysdeps/generic/bp-semctl.h: Remove file.
37879         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37880         <bp-checks.h> and <bp-semctl.h>.
37881         (__old_semctl): Don't use CHECK_SEMCTL.
37882         (__new_semctl): Likewise.
37883         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37884         and <bp-semctl.h>.
37885         (__old_semctl): Don't use CHECK_SEMCTL.
37886         (__new_semctl): Likewise.
37887         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37888         <bp-checks.h> and <bp-semctl.h>.
37889         (__old_semctl): Don't use CHECK_SEMCTL.
37890         (__new_semctl): Likewise.
37891         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37892         <bp-checks.h> and <bp-semctl.h>.
37893         (semctl): Don't use CHECK_SEMCTL.
37895         [BZ #13550]
37896         * Makerules (elide-bp-thunks): Remove variable.
37897         (elide-routines.oS): Don't use $(elide-bp-thunks).
37898         (elide-routines.os): Likewise.
37899         (elide-routines.o): Likewise.
37900         (elide-routines.op): Likewise.
37901         (elide-routines.og): Likewise.
37902         (objects): Don't use $(bp-thunks).
37903         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37904         include.
37905         (common-generated): Do not add s-proto-bp.d.
37906         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37907         (int): Likewise.
37908         (typ): Likewise.
37909         Do not generate makefile rules for bounded-pointer thunks.
37910         * sysdeps/generic/bp-thunks.h: Remove file.
37911         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37912         * sysdeps/unix/s-proto-bp.S: Likewise.
37914         [BZ #15062]
37915         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37916         parts of result separately when argument is not close to line from
37917         -i to i and one part of argument is small.
37918         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37919         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37920         * math/libm-test.inc (cacos_test): Add more tests.
37921         (casin_test): Likewise.
37922         (casinh_test): Likewise.
37923         * sysdeps/i386/fpu/libm-test-ulps: Update.
37924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37926 2013-01-31  David S. Miller  <davem@davemloft.net>
37928         * po/de.po: Update from translation team.
37930 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37932         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37934 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37936         * configure.in (_AC_PROG_CC_C89): New definition.
37937         * configure: Regenerate.
37939         * configure.in (AC_PROG_CPP): New definition.
37940         * configure: Regenerate.
37942 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37944         * debug/tst-backtrace.h: New file.
37945         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37946         (ret): Remove variable.
37947         (x): Likewise.
37948         (FAIL): Remove macro.
37949         (NO_INLINE): Likewise.
37950         (fn1): Use match function instead of strstr.
37951         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37952         (ret): Remove variable.
37953         (x): Likewise.
37954         (FAIL): Remove macro.
37955         (NO_INLINE): Likewise.
37956         (fn): Use match function instead of strstr.
37957         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37958         (ret): Remove variable.
37959         (x): Likewise.
37960         (FAIL): Remove macro.
37961         (NO_INLINE): Likewise.
37962         (handle_signal): Use match function instead of strstr.
37963         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37964         (ret): Remove variable.
37965         (x): Likewise.
37966         (FAIL): Remove macro.
37967         (NO_INLINE): Likewise.
37968         (handle_signal): Use match function instead of strstr.
37970 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37972         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37974 2013-01-23  David S. Miller  <davem@davemloft.net>
37976         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37977         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37978         argument of CAS if possible.
37979         * sysdeps/sparc/sparc64/bits/atomic.h
37980         (__arch_compare_and_exchange_val_32_acq): Likewise.
37981         (__arch_compare_and_exchange_val_64_acq): Likewise.
37983 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37985         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37986         * sysdeps/posix/ulimit.c: ... this.
37987         Include <limits.h>.
37988         * sysdeps/unix/bsd/ulimit.c: Remove file.
37990 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37992         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37993         (LDFLAGS-tst-array5): Likewise.
37995 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37997         [BZ #15036]
37998         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37999         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38000         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38001         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38003 2013-01-21  David S. Miller  <davem@davemloft.net>
38005         * sysdeps/sparc/backtrace.c: New file.
38006         * sysdeps/sparc/sparc32/backtrace.h: New file.
38007         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38008         * sysdeps/sparc/sparc64/backtrace.h: New file.
38009         * sysdeps/sparc/sparc64/backtrace.c: Delete.
38010         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38011         -funwind-tables.
38013 2013-01-21  Andreas Schwab  <schwab@suse.de>
38015         [BZ #15020]
38016         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38017         closed its stdout.
38019 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
38021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38022         "mpa2.h".
38023         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38025 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
38026             Mark Mitchell  <mark@codesourcery.com>
38027             Tom de Vries  <tom@codesourcery.com>
38028             Paul Pluzhnikov  <ppluzhnikov@google.com>
38030         * debug/tst-backtrace2.c: New file.
38031         * debug/tst-backtrace3.c: Likewise.
38032         * debug/tst-backtrace4.c: Likewise.
38033         * debug/tst-backtrace5.c: Likewise.
38034         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38035         (CFLAGS-tst-backtrace3.c): Likewise.
38036         (CFLAGS-tst-backtrace4.c): Likewise.
38037         (CFLAGS-tst-backtrace5.c): Likewise.
38038         (LDFLAGS-tst-backtrace2): Likewise.
38039         (LDFLAGS-tst-backtrace3): Likewise.
38040         (LDFLAGS-tst-backtrace4): Likewise.
38041         (LDFLAGS-tst-backtrace5): Likewise.
38042         (tests): Add new tests tst-backtrace2, tst-backtrace3,
38043         tst-backtrace4 and tst-backtrace5.
38045 2013-01-18  Anton Blanchard  <anton@samba.org>
38046             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38048         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38049         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38050         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38051         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38053         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38054         "+r" and remove output regs list as redundant.  Add explicit inline
38055         asm to specify register of return val to work around compiler codegen
38056         bug.  Remove (int) cast on return value.  Add return type parameter to
38057         use in macro so that this macro does not truncate return value for
38058         64-bit values.
38059         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38060         pass to INTERNAL_VSYSCALL_NCS.
38061         (INLINE_VSYSCALL): Add 'long int' as return type to
38062         INTERNAL_VSYSCALL_NCS macro invocation.
38063         (INTERNAL_VSYSCALL): Add 'long int' as return type to
38064         INTERNAL_VSYSCALL_NCS macro invocation.
38065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38067 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38069         [BZ #14496]
38070         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38071         Fix application of SIMD FP exception mask.
38073         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38074         mp_no from a power of two.
38075         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38076         __mpexp_twomm1.  Use __pow_mp.
38078         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38079         multiplication.
38081 2013-01-17  David S. Miller  <davem@davemloft.net>
38083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38085 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38087         [BZ #15023]
38088         * include/complex.h: Condition contents on [!_COMPLEX_H].
38089         (__kernel_casinhf): New prototype.
38090         (__kernel_casinh): Likewise.
38091         (__kernel_casinhl): Likewise.
38092         * math/Makefile (libm_calls): Add k_casinh.
38093         * math/k_casinh.c: New file.
38094         * math/k_casinhf.c: Likewise.
38095         * math/k_casinhl.c: Likewise.
38096         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38097         finite nonzero arguments.
38098         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38099         finite nonzero arguments.
38100         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38101         finite nonzero arguments.
38102         * math/s_casinh.c: Do not include <float.h>.
38103         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38104         * math/s_casinhf.c: Do not include <float.h>.
38105         (__casinhf): Move code for finite nonzero arguments to
38106         k_casinhf.c.
38107         * math/s_casinhl.c: Do not include <float.h>.
38108         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38109         redefine.
38110         (__casinhl): Move code for finite nonzero arguments to
38111         k_casinhl.c.
38112         * math/libm-test.inc (cacos_test): Add more tests.
38113         * sysdeps/i386/fpu/libm-test-ulps: Update.
38114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38116 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
38118         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38119         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38120         [!HAVE_MREMAP]: Remove [defined linux] case.
38121         * malloc/arena.c: Do not include <malloc-sysdep.h>.
38123 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38125         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38127 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
38129         * elf/elf.h (R_386_SIZE32): New relocation.
38130         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38131         R_386_SIZE32.
38132         (elf_machine_rela): Likewise.
38133         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38134         R_X86_64_SIZE64 and R_X86_64_SIZE32.
38136 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
38138         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38139         (FP_FAST_FMA): Do not define.
38140         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38141         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38142         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38143         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38144         !_SOFT_FLOAT]: Likewise.
38145         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38146         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38147         value.
38148         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38149         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38150         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38151         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38152         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38153         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38154         file.
38156 2013-01-16  Andreas Schwab  <schwab@suse.de>
38158         [BZ #14327]
38159         * include/stdlib.h (__mktemp): Add declaration.
38160         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38161         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38163 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38165         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38166         definitions.
38167         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38168         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38169         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38170         definitions here.
38171         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38172         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38173         definitions.
38174         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38175         and ONE.
38176         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38177         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38178         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38179         definitions.
38180         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38181         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38182         definitions.
38183         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38185         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38187 2013-01-15  David S. Miller  <davem@davemloft.net>
38189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38190         trunc{,f} to libm-sysdep_routes.
38191         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38193         file.
38194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38196         file.
38197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38198         file.
38199         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38200         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38201         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38202         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38203         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38204         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38205         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38206         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38209         nearbyint{,f} to libm-sysdep_routes.
38210         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38212         New file.
38213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38214         file.
38215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38216         New file.
38217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38218         file.
38219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38221         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38222         file.
38223         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38224         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38225         file.
38226         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38227         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38228         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38230         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38231         libc_feholdexcept and libc_fesetenv.
38233 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
38235         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38237 2013-01-14  David S. Miller  <davem@davemloft.net>
38239         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38240         (SPARC_ASM_VIS2_IFUNC): Likewise.
38241         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38243         use of 'siam' instruction.
38244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38245         Likewise.
38246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38247         Likewise.
38248         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38249         Likewise.
38250         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38251         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38252         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38253         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38255         file.
38256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38257         file.
38258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38259         file.
38260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38261         file.
38262         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38263         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38264         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38265         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38267         new VIS2 routines.
38268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38271         Likewise.
38272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38277         routines to libm-sysdep_routines.
38278         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38281         fdim/fdimf to libm-sysdep_routines.
38282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38283         file.
38284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38286         file.
38287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38290         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38291         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38292         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38293         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38295 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38297         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38298         to optimize copies.
38300         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38301         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38304         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38305         local variable MPTWO.
38306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38307         Likewise.
38309 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38311         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38312         GLOB_NOESCAPE.
38314 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38316         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38318 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
38320         * manual/pattern.texi (glob_t): Document gl_flags.
38321         (glob64_t): Likewise.
38323 2013-01-11  David S. Miller  <davem@davemloft.net>
38325         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38326         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38327         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
38328         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38329         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38330         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38331         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38332         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38333         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38334         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38335         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38336         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38337         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38339         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38340         sparc V9 rather than using V8 code.
38341         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38342         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38344         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38345         Move to...
38346         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38347         Here.
38349 2013-01-11  Roland McGrath  <roland@hack.frob.com>
38351         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38352         not in the main loop.
38353         * configure: Regenerated.
38355 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
38357         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38358         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38359         to just #else.
38360         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
38361         [!__GLIBC_HAVE_LONG_LONG] case.
38362         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38363         condition to just #else.
38364         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38365         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38366         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38367         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38368         unconditional.
38369         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38370         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38371         #elif condition to just #else.
38372         * sysdeps/unix/sysv/linux/sys/sysmacros.h
38373         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38374         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38375         #elif condition to just #else.
38377 2013-01-11  Steve Ellcey  <sellcey@mips.com>
38379         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38380         (EF_MIPS_ARCH_64): Fix value.
38381         (EF_MIPS_ARCH_32R2): New.
38382         (EF_MIPS_ARCH_64R2): New.
38384 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
38386         * Makeconfig (+link-pie-before-libc): New.
38387         (+link-pie-after-libc): Likewise.
38388         (+link-pie-tests): Likewise.
38389         (+link-pie): Rewritten.
38390         (link-before-libc): Remove $(config-LDFLAGS).
38391         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38392         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38393         (config-LDFLAGS): Renamed to ...
38394         (rtld-LDFLAGS): This.
38395         (rtld-tests-LDFLAGS): New macro.
38396         (link-libc-rpath-link): Likewise.
38397         (link-libc-tests-rpath-link): Likewise.
38398         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38399         (link-libc): Prepand $(link-libc-rpath-link).
38400         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38401         (test-program-prefix): New macro.
38402         (test-via-rtld-prefix): Likewise.
38403         (test-program-cmd): Likewise.
38404         (host-test-program-cmd): Likewise.
38405         * Makefile ($(common-objpfx)testrun.sh): Replace
38406         $(run-program-prefix) with $(test-program-prefix).
38407         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38408         $(rtld-LDFLAGS).
38409         ($(common-objpfx)shlib.lds): Likewise.
38410         (build-module-helper): Likewise.
38411         ($(common-objpfx)format.lds): Likewise.
38412         * Rules (binaries-pie-tests): New.
38413         (binaries-pie-notests): Likewise.
38414         (binaries-pie): Rewritten.
38415         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38416         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38417         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38418         (make-test-out): Replace $(host-built-program-cmd) with
38419         $(host-test-program-cmd).
38420         * config.make.in (build-hardcoded-path-in-tests): New variable.
38421         * configure.in (--enable-hardcoded-path-in-tests): New configure
38422         option.
38423         (hardcoded_path_in_tests): New AC_SUBST.
38424         * configure: Regenerated.
38425         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38426         $(built-program-cmd) with $(test-program-cmd).
38427         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38428         (test_program_cmd): This.
38429         * elf/Makefile ($(objpfx)order.out): Run test with
38430         $(test-program-prefix).
38431         ($(objpfx)order2.out): Likewise.
38432         ($(objpfx)tst-initorder.out): Likewise.
38433         ($(objpfx)tst-initorder2.out): Likewise.
38434         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38435         $(test-program-cmd).
38436         ($(objpfx)tst-array1-static.out): Likewise.
38437         ($(objpfx)tst-array2.out): Likewise.
38438         ($(objpfx)tst-array3.out): Likewise.
38439         ($(objpfx)tst-array4.out): Likewise.
38440         ($(objpfx)tst-array5.out): Likewise.
38441         ($(objpfx)tst-array5-static.out): Likewise.
38442         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38443         $(test-program-cmd).
38444         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38445         $(run-program-prefix) with $(test-program-prefix).
38446         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38447         (test_program_prefix): This.
38448         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38449         $(run-program-prefix) with $(test-program-prefix).
38450         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38451         (test_program_prefix): This.
38452         * iconvdata/tst-tables.sh: Likewise.
38453         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38454         $(run-program-prefix) with $(test-program-prefix).
38455         ($(objpfx)tst-translit.out): Likewise.
38456         ($(objpfx)tst-gettext2.out): Likewise.
38457         ($(objpfx)tst-gettext4.out): Likewise.
38458         ($(objpfx)tst-gettext6.out): Likewise.
38459         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38460         (test_program_prefix): This.
38461         * intl/tst-gettext2.sh: Likewise.
38462         * intl/tst-gettext4.sh  Likewise.
38463         * intl/tst-gettext6.sh: Likewise.
38464         * intl/tst-translit.sh: Likewise.
38465         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38466         with $(test-program-cmd).
38467         * libio/Makefile ($(objpfx)test-freopen.out): Replace
38468         $(run-program-prefix) with $(test-program-prefix).
38469         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38470         (test_program_prefix): This.
38471         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38472         $(run-program-prefix) with $(test-program-prefix).
38473         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38474         (test_program_prefix): This.
38475         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38476         * posix/Makefile ($(objpfx)globtest.out): Replace
38477         $(run-via-rtld-prefix) and $(test-wrapper) with
38478         $(test-program-prefix) and $(test-via-rtld-prefix).
38479         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38480         $(test-program-prefix).
38481         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38482         $(host-test-program-cmd).
38483         (tst-spawn-ARGS): Likewise.
38484         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38485         $(test-program-prefix).
38486         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38487         (test_via_rtld_prefix): This.
38488         (test_wrapper): Renamed to ...
38489         (test_program_prefix): This.
38490         (run_program_prefix): Replaced by test_program_prefix.
38491         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38492         (test_program_prefix): This.
38493         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38494         with $(host-test-program-cmd).
38495         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38496         $(run-program-prefix) with $(test-program-prefix).
38497         ($(objpfx)tst-printf.out): Likewise.
38498         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38499         $(test-program-cmd).
38500         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38501         (test_program_prefix): This.
38502         * stdio-common/tst-unbputc.sh: Likewise.
38503         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38504         $(run-program-prefix) with $(test-program-prefix).
38505         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38506         (test_program_prefix): This.
38507         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38508         $(built-program-cmd) with $(test-program-cmd).
38510 2013-01-11  Andreas Jaeger  <aj@suse.de>
38512         [BZ #15003]
38513         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38514         value. Sync with Linux 3.7.
38516 2013-01-10  David S. Miller  <davem@davemloft.net>
38518         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38519         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38520         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38522 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38524         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38525         never set.
38526         * configure: Regenerated.
38528 2013-01-10  David S. Miller  <davem@davemloft.net>
38530         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38531         sparc V9 rather than using V8 code.
38532         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38533         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38535 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38537         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38538         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38539         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38540         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38541         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38542         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38543         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38544         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38545         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38546         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38547         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38548         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38549         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38550         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38551         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38552         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38553         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38554         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38555         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38556         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38557         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38558         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38559         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38560         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38561         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38562         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38563         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38565 2013-01-10  David S. Miller  <davem@davemloft.net>
38567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38569 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38571         * posix/Makefile (tests-static): New variable.
38572         (tests): Add $(tests-static).
38573         (tst-exec-static-ARGS): New variable.
38574         (tst-spawn-static-ARGS): Likewise.
38575         * posix/tst-exec-static.c: New file.
38576         * posix/tst-spawn-static.c: Likewise.
38577         * posix/tst-exec.c: Support run directly.
38578         * posix/tst-spawn.c: Likewise.
38580 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38582         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38583         long.
38584         * math/bits/mathcalls.h (llrint): Likewise.
38585         (llround): Likewise.
38586         * stdlib/stdlib.h (struct drand48_data): Likewise.
38587         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38588         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38589         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38590         Likewise.
38591         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38592         Likewise.
38593         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38594         (elf_greg_t): Likewise.
38595         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38596         (__jmp_buf): Likewise.
38597         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38598         definitions.
38599         (llrint): Likewise, for all definitions.
38600         (llrintl): Likewise.
38602         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38603         Remove [__GNUC__] condition.
38604         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38605         condition to just [__USE_ISOC99].
38606         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38608 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38610         [BZ #14200]
38611         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38612         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38613         defined.
38614         (_POSIX_V6_ILP32_OFF32): Likewise.
38615         (_XBS5_ILP32_OFF32): Likewise.
38616         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38617         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38619 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38621         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38623         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38624         doubles __mpexp_twomm1.  Adjust usage.
38625         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38626         Remove.
38628 2013-01-10  Andreas Schwab  <schwab@suse.de>
38630         [BZ #14964]
38631         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38632         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38634 2013-01-09  David S. Miller  <davem@davemloft.net>
38636         [BZ #15003]
38637         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38638         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38639         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38640         (TCP_FASTOPEN): Define.
38641         (tcp_repair_opt): New structure.
38642         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38643         enum values.
38644         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38645         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38646         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38647         (tcp_cookie_transactions): New structure.
38649 2013-01-09  Anton Blanchard  <anton@samba.org>
38651         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38652         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38653         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38654         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38656 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38658         * include/features.h (__USE_ANSI): Remove.
38660 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38662         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38664         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38666 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38668         * sysdeps/s390/fpu/libm-test-ulps: Update.
38670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38672         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38673         (__acr): Likewise.
38674         (__cpy): Likewise.
38675         (norm): Likewise.
38676         (denorm): Likewise.
38677         (__mp_dbl): Likewise.
38678         (__dbl_mp): Likewise.
38679         (add_magnitudes): Likewise.
38680         (sub_magnitudes): Likewise.
38681         (__add): Likewise.
38682         (__sub): Likewise.
38683         (__mul): Likewise.
38684         (__inv): Likewise.
38685         (__dvd): Likewise.
38686         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38687         (__acr): Likewise.
38688         (__cpy): Likewise.
38689         (norm): Likewise.
38690         (denorm): Likewise.
38691         (__mp_dbl): Likewise.
38692         (__dbl_mp): Likewise.
38693         (add_magnitudes): Likewise.
38694         (sub_magnitudes): Likewise.
38695         (__add): Likewise.
38696         (__sub): Likewise.
38697         (__mul): Likewise.
38698         (__inv): Likewise.
38699         (__dvd): Likewise.
38700         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38701         (__acr): Likewise.
38702         (__cpy): Likewise.
38703         (norm): Likewise.
38704         (denorm): Likewise.
38705         (__mp_dbl): Likewise.
38706         (__dbl_mp): Likewise.
38707         (add_magnitudes): Likewise.
38708         (sub_magnitudes): Likewise.
38709         (__add): Likewise.
38710         (__sub): Likewise.
38711         (__mul): Likewise.
38712         (__inv): Likewise.
38713         (__dvd): Likewise.
38715 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38717         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38718         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38719         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38720         2 && __USE_EXTERN_INLINES]: Likewise.
38722 2013-01-08  Andreas Jaeger  <aj@suse.de>
38724         [BZ# 14985]
38725         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38726         Remove.
38727         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38728         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38730 2013-01-07  Anton Blanchard  <anton@samba.org>
38732         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38733         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38734         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38735         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38736         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38737         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38738         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38739         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38741         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38742         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38743         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38744         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38745         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38746         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38747         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38748         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38749         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38750         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38751         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38752         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38753         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38754         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38755         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38756         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38757         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38758         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38759         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38760         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38761         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38762         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38764         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38765         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38766         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38767         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38768         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38769         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38770         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38771         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38772         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38773         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38774         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38776 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38778         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38779         (__MALLOC_PMT): Likewise.
38780         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38781         [__GNUC__], only on [_LIBC].
38782         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38783         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38784         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38785         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38786         forward declaration.
38787         (realloc_hook_ini): Likewise.
38788         (memalign_hook_ini): Likewise.
38789         (__libc_memalign): Do not use __MALLOC_PMT in variable
38790         declaration.
38791         (__libc_valloc): Likewise.
38792         (__libc_pvalloc): Likewise.
38793         (__libc_calloc): Likewise.
38794         (__posix_memalign): Likewise.
38796         [BZ #14996]
38797         * math/s_casinh.c: Include <float.h>.
38798         (__casinh): Do not do computation with squaring and square root
38799         for large arguments.
38800         * math/s_casinhf.c: Include <float.h>.
38801         (__casinhf): Do not do computation with squaring and square root
38802         for large arguments.
38803         * math/s_casinhl.c: Include <float.h>.
38804         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38805         (__casinhl): Do not do computation with squaring and square root
38806         for large arguments.
38807         * math/libm-test.inc (casin_test): Add more tests.
38808         (casinh_test): Likewise.
38809         * sysdeps/i386/fpu/libm-test-ulps: Update.
38810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38812 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38814         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38815         (__x86_64_raw_data_cache_size): Likewise.
38816         (__x86_64_data_cache_size_half): Likewise.
38817         (__x86_64_raw_data_cache_size_half): Likewise.
38818         (__x86_64_shared_cache_size): Likewise.
38819         (__x86_64_raw_shared_cache_size): Likewise.
38820         (__x86_64_shared_cache_size_half): Likewise.
38821         (__x86_64_raw_shared_cache_size_half): Likewise.
38822         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38823         to ...
38824         (__x86_data_cache_size): This.
38825         (__x86_64_raw_data_cache_size): Renamed to ...
38826         (__x86_raw_data_cache_size): This.
38827         (__x86_64_data_cache_size_half): Renamed to ...
38828         (__x86_data_cache_size_half): This.
38829         (__x86_64_raw_data_cache_size_half): Renamed to ...
38830         (__x86_raw_data_cache_size_half): This.
38831         (__x86_64_shared_cache_size): Renamed to ...
38832         (__x86_shared_cache_size): This.
38833         (__x86_64_raw_shared_cache_size): Renamed to ...
38834         (__x86_raw_shared_cache_size): This.
38835         (__x86_64_shared_cache_size_half): Renamed to ...
38836         (__x86_shared_cache_size_half): This.
38837         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38838         (__x86_raw_shared_cache_size_half): This.
38839         * sysdeps/x86_64/memcpy.S: Updated.
38840         * sysdeps/x86_64/memset.S: Likewise.
38841         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38842         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38843         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38845 2013-01-04  David S. Miller  <davem@davemloft.net>
38847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38849 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38851         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38852         1 to avoid redefinition warning.
38853         (__USE_GNU): Don't define.
38854         (init_signaling_nan): Protoize.
38856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38858 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38860         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38862         (__cpymn): Likewise.
38863         (norm): Remove commented code.
38864         (denorm): Likewise.
38865         (__mp_dbl): Likewise.
38866         (__inv): Likewise.
38867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38868         (__cpymn): Likewise.
38869         (norm): Remove commented code.
38870         (denorm): Likewise.
38871         (__mp_dbl): Likewise.
38872         (__inv): Likewise.
38874         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38875         mp_no value for 1.0 and 2.0.
38876         (norm): Use RADIXI instead of radixi.d.
38877         (denorm): Likewise.
38878         (__mul): Use 0.0 instead of zero.d.
38879         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38880         mp_no value for 1.0 and 2.0.
38881         (norm): Use RADIXI instead of radixi.d.
38882         (denorm): Likewise.
38883         (__mul): Use 0.0 instead of zero.d.
38885 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38887         [BZ #14994]
38888         * math/s_casinh.c (__casinh): Reduce finite argument to first
38889         quadrant then set signs of results at the end.
38890         * math/s_casinhf.c (__casinhf): Likewise.
38891         * math/s_casinhl.c (__casinhl): Likewise.
38892         * math/libm-test.inc (casin_test): Add more tests.
38893         (casinh_test): Likewise.
38894         * sysdeps/i386/fpu/libm-test-ulps: Update.
38895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38897 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38899         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38901         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38903         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38904         declarations.
38905         (denorm): Likewise.
38906         (__mp_dbl): Likewise.
38907         (__inv): Likewise.
38909         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38910         and adjust the header comment.
38912         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38913         variable name from declaration.
38915 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38918         Initialize COMMON_CPUID_INDEX_7 element.
38919         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38920         (CPUID_RTM): Likewise.
38921         (HAS_RTM): Likewise.
38922         (COMMON_CPUID_INDEX_7): New enum.
38924 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38926         [BZ #14981]
38927         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38928         size is zero, record memory as freed.
38930 2013-01-03  Andreas Jaeger  <aj@suse.de>
38932         * po/ia.po: Add new Interlingua translation.
38934 2012-01-03  Allan McRae  <allan@archlinux.org>
38936         * locale/programs/localedef.c: Fix description of '--posix' flag.
38938 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38940         * NEWS: Update dates in second copyright notice.
38941         * README: Update copyright dates in example.
38942         * manual/libc.texinfo: Update copyright dates.
38943         * scripts/test-installation.pl: Update copyright date in --version
38944         output.
38946         * hurd/ctty-input.c: Fix copyright notice formatting.
38947         * hurd/ctty-output.c: Likewise.
38948         * hurd/dtable.c: Likewise.
38949         * hurd/hurd-raise.c: Likewise.
38950         * hurd/hurdprio.c: Likewise.
38951         * hurd/msgportdemux.c: Likewise.
38952         * misc/sys/file.h: Likewise.
38953         * misc/sys/ioctl.h: Likewise.
38954         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38955         * sysdeps/mach/hurd/chdir.c: Likewise.
38956         * sysdeps/mach/hurd/fchdir.c: Likewise.
38957         * sysdeps/mach/hurd/rename.c: Likewise.
38958         * sysdeps/mach/hurd/rmdir.c: Likewise.
38959         * sysdeps/mach/hurd/seekdir.c: Likewise.
38960         * sysdeps/mach/hurd/setsid.c: Likewise.
38961         * sysdeps/posix/wait3.c: Likewise.
38963         * All files with FSF copyright notices: Update copyright dates
38964         using scripts/update-copyrights.
38965         * intl/plural.c: Regenerated.
38966         * locale/programs/charmap-kw.h: Likewise.
38967         * locale/programs/locfile-kw.h: Likewise.
38969 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38971         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38972         four values.
38974         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38975         calculation loop and add branch prediction.
38977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38978         check access beyond bounds of m1np.
38980         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38981         MPTWO.
38982         (__inv): Remove local variable MPTWO to use the global
38983         constant.
38984         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38985         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38986         variable MPTWO.
38987         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38988         MP3HALFS static const.
38990 2013-01-01  David S. Miller  <davem@davemloft.net>
38992         * po/ca.po: Update from translation team.
38994 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38996         * scripts/update-copyrights: New file.
38997         * Makeconfig: Reformat copyright notice.
38998         * ctype/ctype.h: Likewise.
38999         * debug/swprintf_chk.c: Likewise.
39000         * elf/dl-cache.c: Likewise.
39001         * elf/dl-debug.c: Likewise.
39002         * elf/dl-object.c: Likewise.
39003         * grp/initgroups.c: Likewise.
39004         * hurd/Makefile: Likewise.
39005         * hurd/hurd/signal.h: Likewise.
39006         * hurd/hurdfault.c: Likewise.
39007         * hurd/hurdioctl.c: Likewise.
39008         * hurd/hurdlookup.c: Likewise.
39009         * hurd/intr-msg.c: Likewise.
39010         * iconv/gconv_open.c: Likewise.
39011         * libio/swprintf.c: Likewise.
39012         * locale/lc-ctype.c: Likewise.
39013         * locale/nl_langinfo.c: Likewise.
39014         * mach/Machrules: Likewise.
39015         * mach/Makefile: Likewise.
39016         * malloc/obstack.h: Likewise.
39017         * manual/Makefile: Likewise.
39018         * manual/tsort.awk: Likewise.
39019         * misc/bits/stab.def: Likewise.
39020         * nis/nis_print_group_entry.c: Likewise.
39021         * nis/nis_table.c: Likewise.
39022         * nis/nss_compat/compat-pwd.c: Likewise.
39023         * nis/nss_compat/compat-spwd.c: Likewise.
39024         * po/Makefile: Likewise.
39025         * posix/fnmatch.c: Likewise.
39026         * posix/regex.h: Likewise.
39027         * resolv/Makefile: Likewise.
39028         * resolv/nss_dns/dns-network.c: Likewise.
39029         * resolv/res_hconf.c: Likewise.
39030         * scripts/gen-sorted.awk: Likewise.
39031         * soft-fp/soft-fp.h: Likewise.
39032         * stdio-common/printf.h: Likewise.
39033         * stdlib/monetary.h: Likewise.
39034         * stdlib/random.c: Likewise.
39035         * stdlib/random_r.c: Likewise.
39036         * sysdeps/generic/Makefile: Likewise.
39037         * sysdeps/gnu/Makefile: Likewise.
39038         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39039         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39040         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39041         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39042         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39043         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39044         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39045         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39046         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39047         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39048         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39049         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39050         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39051         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39052         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39053         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39054         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39055         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39056         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39057         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39058         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39059         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39060         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39061         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39062         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39063         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39064         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39065         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39066         * sysdeps/mach/hurd/errnos.awk: Likewise.
39067         * sysdeps/mach/hurd/fork.c: Likewise.
39068         * sysdeps/mach/hurd/getcwd.c: Likewise.
39069         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39070         * sysdeps/mach/hurd/mmap.c: Likewise.
39071         * sysdeps/mach/hurd/utimes.c: Likewise.
39072         * sysdeps/mach/hurd/xmknod.c: Likewise.
39073         * sysdeps/posix/profil.c: Likewise.
39074         * sysdeps/posix/readdir_r.c: Likewise.
39075         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39076         * sysdeps/powerpc/bits/setjmp.h: Likewise.
39077         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39078         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39080         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39081         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39082         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39083         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39084         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39085         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39086         * sysdeps/pthread/lio_listio.c: Likewise.
39087         * sysdeps/sparc/dl-procinfo.h: Likewise.
39088         * sysdeps/unix/i386/sysdep.S: Likewise.
39089         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39090         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39091         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39092         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39094         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39095         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39096         * sysdeps/unix/sysv/linux/speed.c: Likewise.
39097         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39098         * sysdeps/wordsize-32/divdi3.c: Likewise.
39099         * time/sys/time.h: Likewise.
39100         * wcsmbs/Makefile: Likewise.
39102 2013-01-01  David S. Miller  <davem@davemloft.net>
39104         * po/fr.po: Update from translation team.
39106         * catgets/gencat.c: Update copyright year.
39107         * csu/version.c: Likewise.
39108         * debug/catchsegv.sh: Likewise.
39109         * debug/pcprofiledump.c: Likewise.
39110         * debug/xtrace.sh: Likewise.
39111         * elf/ldconfig.c: Likewise.
39112         * elf/ldd.bash.in: Likewise.
39113         * elf/pldd.c: Likewise.
39114         * elf/sotruss.ksh: Likewise.
39115         * elf/sprof.c: Likewise.
39116         * iconv/iconv_prog.c: Likewise.
39117         * iconv/iconvconfig.c: Likewise.
39118         * locale/programs/locale.c: Likewise.
39119         * locale/programs/localedef.c: Likewise.
39120         * login/programs/pt_chown.c: Likewise.
39121         * malloc/memusage.sh: Likewise.
39122         * malloc/memusagestat.c: Likewise.
39123         * malloc/mtrace.pl: Likewise.
39124         * nscd/nscd.c: Likewise.
39125         * nss/getent.c: Likewise.
39126         * nss/makedb.c: Likewise.
39127         * posix/getconf.c: Likewise.
39129 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
39131         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39132         numbers.
39134 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
39136         * math/bits/mathcalls.h (modf): Use __nonnull.
39138 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39140         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39141         (split): Use macro CN instead of the bare value.
39142         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39143         could be used.
39144         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39145         instead of the bare value.
39146         (power1): Likewise.
39148 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39150         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39151         __ATAN_TWOM.
39152         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39154         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39155         their values.
39156         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39157         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39158         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39159         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39161 2012-12-28  Andreas Jaeger  <aj@suse.de>
39163         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
39164         values are from Linux 3.7.
39166         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39167         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
39169 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39171         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39172         TRUE case.
39174         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39175         (norm): Likewise.
39176         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39177         variables with preprocessor constants.
39178         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39179         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39180         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39182 2012-12-27  Bruno Haible  <bruno@clisp.org>
39184         [BZ #14317]
39185         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39186         only if needed.
39188 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39190         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39191         and use variable directly.
39192         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39194         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39195         MPONE.
39196         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39197         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39198         variable MPONE.
39199         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39200         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39201         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39202         include directive.  Remove local variable MPONE.
39203         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39204         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39205         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39207 2012-12-25  David S. Miller  <davem@davemloft.net>
39209         * version.h (RELEASE): Set to "development".
39210         (VERSION): Set to "2.17.90".
39211         * NEWS: Add 2.18 section.
39213 2012-12-21  David S. Miller  <davem@davemloft.net>
39215         * po/hr.po: Update from translation team.
39217 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39219         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39221 2012-12-19  Steve Ellcey  <sellcey@mips.com>
39223         * NEWS:  Mention new memcpy for MIPS.
39225 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39227         * manual/contrib.texi (Contributors): Spelling correction.
39229 2012-12-15  David S. Miller  <davem@davemloft.net>
39231         * po/ru.po: Update from translation team.
39233 2012-12-13  David S. Miller  <davem@davemloft.net>
39235         * NEWS: Mention IFUNC testsuite enhancements.
39237         * po/pl.po: Update from translation team.
39238         * po/bg.po: Likewise.
39240         * manual/contrib.texi (Contributors): Update entries for Hongjiu
39241         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
39243 2012-12-11  David S. Miller  <davem@davemloft.net>
39245         * po/sv.po: Update from translation team.
39247         * po/vi.po: Update from translation team.
39249         * po/cs.po: Update from translation team.
39251         * po/de.po: Update from translation team.
39252         * po/eo.po: Likewise.
39253         * po/nl.po: Likewise.
39255 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39257         [BZ #14246]
39258         * manual/argp.texi (Argp Helper Functions): Move node to follow
39259         Argp Parsing State.
39261         [BZ #14872]
39262         * manual/conf.texi (Limits on File System Capacity): Mention if
39263         terminating null is included in the max size.
39265 2012-12-10  Andreas Jaeger  <aj@suse.de>
39267         * po/cs.po: Update from translation team.
39269 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39271         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39272         void pointer and cast to uintptr_t.
39273         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39274         path.
39275         * sysdeps/s390/s390-64/memcpy.S: Likewise.
39276         * sysdeps/s390/s390-64/memset.S: Likewise.
39278 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
39280         [BZ #14833]
39281         * menual/message.texi (Message Translation): Fix typos.
39282         (Helper programs for gettext): Likewise.
39284 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
39286         [BZ #14898]
39287         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39288         Change to -1.
39290 2012-12-07  David S. Miller  <davem@davemloft.net>
39292         * po/libc.pot: Update.
39294 2012-12-07  Richard Henderson  <rth@redhat.com>
39296         [BZ #10114]
39297         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39298         normal/normal case to before the switch.
39299         (_FP_DIV): Likewise.
39301 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
39302             Mike Frysinger  <vapier@gentoo.org>
39304         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39305         check for __NR_fadvise64_64.
39307 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
39309         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39310         0, not just to plain "0" as a statement.
39311         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39312         with cw.
39314 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
39316         * NEWS: Use sourceware.org in Bugzilla URL.
39318 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39321         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39323         * stdio-common/tst-put-error.c (do_test): Add newline to the
39324         padded test to ensure flush.
39326 2012-12-05  Jeff Law  <law@redhat.com>
39328         * sunrpc/etc.rpc (fedfs_admin): Add entry.
39330 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
39332         * README: Don't refer to ports add-on as distributed separately.
39333         Mention AArch64 in list of systems supported in the ports add-on.
39335         * LICENSES: Add more non-FSF copyright and license notices.
39337         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39338         ((unused)).
39340         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39342         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39343         10000 as width of padded output.
39345 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39347         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39349         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39350         variable LX with __attribute__ ((unused)).
39351         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39352         Likewise.
39353         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39354         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39355         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39356         with __attribute__ ((unused)).
39358 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
39360         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39362 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
39364         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39365         (CFLAGS-nldbl-acos.c): New variable.
39366         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39367         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39368         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39369         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39370         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39371         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39372         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39373         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39374         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39375         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39376         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39377         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39378         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39379         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39380         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39381         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39382         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39383         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39384         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39385         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39386         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39387         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39388         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39389         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39390         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39391         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39392         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39393         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39394         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39395         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39396         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39397         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39398         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39399         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39400         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39401         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39402         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39403         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39404         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39405         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39406         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39407         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39408         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39409         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39410         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39411         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39412         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39413         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39414         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39415         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39416         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39417         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39418         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39419         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39420         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39421         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39422         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39423         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39424         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39425         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39426         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39427         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39428         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39429         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39430         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39431         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39432         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39433         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39434         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39435         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39436         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39437         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39438         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39439         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39440         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39441         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39442         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39443         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39444         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39445         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39446         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39447         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39448         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39449         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39450         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39451         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39452         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39453         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39454         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39455         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39456         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39457         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39458         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39459         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39460         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39461         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39462         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39465         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39467         [BZ #14914]
39468         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39469         whole low double instead of just low 47 bits when splitting values
39470         into two parts.
39472 2012-12-03  Allan McRae  <allan@archlinux.org>
39474         * manual/stdio.texi (Predefined Printf Handlers): Remove
39475         @hsep and @vsep usage.
39477 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
39479         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39480         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39482 2012-12-03  Jeff Law  <law@redhat.com>
39484         * time/sys/time.h (settimeofday): Do not mark TV argument
39485         as __nonnull.
39487 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
39489         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39490         when currently writing and seek to current position when not.
39491         * libio/Makefile (tests): Remove bug-fclose1.
39492         * libio/bug-fclose1.c: Delete.
39494 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39496         * manual/arith.texi (feenableexcept): Fix typo.
39497         (fedisableexcept): Likewise.
39499 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39501         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39502         second, differently-typed declaration, rather than a cast.
39504 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39506         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39507         * include/rpc/svc.h: ... here.
39509 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39511         [BZ #13013]
39512         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39513         depending n and resplen2 to catch cases where answer
39514         equals answerp2.
39516 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39518         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39519         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39521 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39523         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39525 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39527         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39529 2012-11-28  Jeff Law  <law@redhat.com>
39531         [BZ #13761]
39532         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39533         dataset_temporary.  Track alloca usage into alloca_used.
39534         If dataset is large allocate and release it via malloc/free.
39536 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39538         [BZ #14197]
39539         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39541 2012-11-28  David S. Miller  <davem@davemloft.net>
39543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39545 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39547         [BZ #14803]
39548         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39549         of pi/2 rounded to nearest to 64 bits.
39550         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39551         nearest to 64 bits.
39552         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39553         bits.
39555 2012-11-28  Jeff Law <law@redhat.com>
39556             Martin Osvald <mosvald@redhat.com>
39558         [BZ #14889]
39559         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39560         * sunrpc/svc.c: Include time.h.
39561         (__svc_accept_failed): New function.
39562         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39563         any reason other than EINTR, call __svc_accept_failed.
39564         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39565         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39567 2012-11-28  Andreas Schwab  <schwab@suse.de>
39569         * scripts/abilist.awk: Also handle indirect functions in .opd
39570         section.
39572 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39574         [BZ #13881]
39575         * sysdeps/x86/fpu/powl_helper.c: New file.
39576         * sysdeps/x86/fpu/Makefile: Likewise.
39577         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39578         (p3): New object.
39579         (__ieee754_powl): Use __powl_helper for finite arguments except
39580         integer exponents below 8.
39581         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39582         (p3): New object.
39583         (__ieee754_powl): Use __powl_helper for finite arguments except
39584         integer exponents below 8.
39585         * math/libm-test.inc (pow_test): Add more tests and enable some
39586         previously disabled tests.
39587         * sysdeps/i386/fpu/libm-test-ulps: Update.
39588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39590 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39591             Carlos O'Donell  <carlos_odonell@mentor.com>
39593         * nss/makedb.c (is_prime): Assert that input is odd and greater
39594         than 4.  Note that fact in a comment too.
39595         (next_prime): Add 4 to input.
39597 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39599         [BZ #11741]
39600         * libio/Makefile (tests): Add test case tst-fwrite-error.
39601         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39602         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39603         * libio/tst-fwrite-error.c: New test case.
39605 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39607         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39608         before casting to void *.
39609         * include/libc-internal.h (__pointer_type): New macro.
39610         (__integer_if_pointer_type_sub): Likewise.
39611         (__integer_if_pointer_type): Likewise.
39612         (cast_to_integer): Likewise.
39613         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39614         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39615         before casting to atomic64_t.
39616         (atomic_exchange_acq): Likewise.
39617         (__arch_exchange_and_add_body): Likewise.
39618         (__arch_add_body): Likewise.
39619         (atomic_add_negative): Likewise.
39620         (atomic_add_zero): Likewise.
39622 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39624         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39625         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39626         (add_fdes): Likewise.
39627         (linear_search_fdes): Likewise.
39628         (binary_search_unencoded_fdes): Likewise.
39630 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39632         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39634 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39636         * configure.in: Autodetect C++ header directories.
39637         * configure: Regenerated.
39639 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39641         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39643 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39647 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39649         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39650         LDBL_MANT_DIG == 106]: Disable some tests.
39651         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39652         Likewise.
39653         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39654         Likewise.
39656         [BZ #14871]
39657         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39658         input for small inputs.  Return +/- pi/2 for large inputs.
39659         * math/libm-test.inc (atan_test): Add more tests.
39661         * sysdeps/generic/unwind-dw2-fde-glibc.c
39662         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39663         __attribute__ ((unused)).
39665         [BZ #14645]
39666         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39667         x * y if x and y are nonzero and z is zero.
39669         [BZ #14811]
39670         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39671         nonzero exponents with absolute value below 0x1p-117 to +/-
39672         0x1p-117.
39674         [BZ #14869]
39675         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39676         up arguments below 2**-450, not just those below 2**-500.
39677         * math/libm-test.inc (hypot_test): Add another test.
39679         [BZ #14868]
39680         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39681         Return a+b for ratio over 2**120, not 2**60.
39682         * math/libm-test.inc (hypot_test): Add another test.
39684         * math/libm-test.inc (clog_test): Use
39685         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39686         (clog10_test): Likewise.
39688         [BZ #6778]
39689         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39691 2012-11-22  Andreas Schwab  <schwab@suse.de>
39693         * sysdeps/i386/fpu/libm-test-ulps: Update.
39695 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39697         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39698         printf output with newline.
39700 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39702         [BZ #14865]
39703         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39704         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39705         -z nodlopen, -z initfirst and -z execstack support.
39706         * configure: Regenerated.
39708         * elf/elf.h (DF_1_NODIRECT): New macro.
39709         (DF_1_IGNMULDEF): Likewise.
39710         (DF_1_NOKSYMS): Likewise.
39711         (DF_1_NOHDR): Likewise.
39712         (DF_1_EDITED): Likewise.
39713         (DF_1_NORELOC): Likewise.
39714         (DF_1_SYMINTPOSE): Likewise.
39715         (DF_1_GLOBAUDIT): Likewise.
39716         (DF_1_SINGLETON): Likewise.
39717         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39718         DT_1_SUPPORTED_MASK bits.
39719         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39721 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39723         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39725 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39727         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39728         macro.
39730         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39731         (sendmmsg): Move declarations...
39732         * socket/sys/socket.h: ... here.
39733         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39734         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39735         include it from...
39736         * socket/recvmmsg.c: ... this new file.
39737         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39738         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39739         definition of __sendmmsg hidden.
39740         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39741         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39742         Move ENOSYS stub into and include it from...
39743         * socket/sendmmsg.c: ... this new file.
39744         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39745         (sysdep_routines): Move recvmmsg and sendmmsg...
39746         * socket/Makefile (routines): ... here.
39747         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39748         (GLIBC_PRIVATE): Add __sendmmsg.
39749         * include/sys/socket.h (__sendmmsg): Add declarations.
39750         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39751         sendmmsg.
39753 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39755         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39756         variable I1 with __attribute__ ((unused)).
39757         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39759 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39761         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39762         DUMMY variables with __attribute__ ((unused)).
39764         * bits/byteswap.h: Include <bits/types.h>.
39765         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39767 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39769         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39770         string_t.  Do not manually set errno.
39771         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39772         length with __strnlen.  Make sure to both set errno and return it on
39773         failure.
39775 2012-11-19  David S. Miller  <davem@davemloft.net>
39777         With help from Joseph Myers.
39778         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39779         very large arguments properly.
39780         * math/libm-test.inc (atan_test): New tests.
39781         (atan2_test): New tests.
39782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39783         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39785 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39787         [BZ #14856]
39788         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39789         Define to 3.
39791         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39792         [POSIX] (EADDRNOTAVAIL): Likewise.
39793         [POSIX] (EAFNOSUPPORT): Likewise.
39794         [POSIX] (EALREADY): Likewise.
39795         [POSIX] (ECONNABORTED): Likewise.
39796         [POSIX] (ECONNREFUSED): Likewise.
39797         [POSIX] (ECONNRESET): Likewise.
39798         [POSIX] (EDESTADDRREQ): Likewise.
39799         [POSIX] (EDQUOT): Likewise.
39800         [POSIX] (EHOSTUNREACH): Likewise.
39801         [POSIX] (EIDRM): Likewise.
39802         [POSIX] (EISCONN): Likewise.
39803         [POSIX] (ELOOP): Likewise.
39804         [POSIX] (EMULTIHOP): Likewise.
39805         [POSIX] (ENETDOWN): Likewise.
39806         [POSIX] (ENETUNREACH): Likewise.
39807         [POSIX] (ENOBUFS): Likewise.
39808         [POSIX] (ENODATA): Likewise.
39809         [POSIX] (ENOLINK): Likewise.
39810         [POSIX] (ENOMSG): Likewise.
39811         [POSIX] (ENOPROTOOPT): Likewise.
39812         [POSIX] (ENOSR): Likewise.
39813         [POSIX] (ENOSTR): Likewise.
39814         [POSIX] (ENOTCONN): Likewise.
39815         [POSIX] (ENOTSOCK): Likewise.
39816         [POSIX] (EOPNOTSUPP): Likewise.
39817         [POSIX] (EOVERFLOW): Likewise.
39818         [POSIX] (EPROTO): Likewise.
39819         [POSIX] (EPROTONOSUPPORT): Likewise.
39820         [POSIX] (EPROTOTYPE): Likewise.
39821         [POSIX] (ESTALE): Likewise.
39822         [POSIX] (ETIME): Likewise.
39823         [POSIX] (ETXTBSY): Likewise.
39824         [POSIX] (EWOULDBLOCK): Likewise.
39825         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39826         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39827         [POSIX] (SEEK_CUR): Likewise.
39828         [POSIX] (SEEK_END): Likewise.
39829         [POSIX || UNIX98] (mode_t): Do not require.
39830         [POSIX] (off_t): Likewise.
39831         [POSIX] (pid_t): Likewise.
39832         [POSIX] (sys/stat.h): Do not allow header.
39833         [POSIX] (unistd.h): Likewise.
39834         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39835         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39836         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39837         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39838         require.
39839         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39840         sigevent): Specify elements.
39841         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39842         entry.
39843         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39844         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39846         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39847         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39848         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39849         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39850         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39851         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39852         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39853         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39854         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39855         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39856         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39857         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39858         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39859         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39860         Likewise.
39861         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39862         Likewise.
39863         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39864         Likewise.
39865         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39866         Likewise.
39867         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39868         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39869         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39870         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39871         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39872         Specify lower bound on value.
39873         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39874         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39875         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39876         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39877         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39878         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39879         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39880         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39881         value.
39882         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39883         as optional.
39884         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39885         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39886         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39887         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39888         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39889         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39890         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39891         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39892         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39893         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39894         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39895         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39896         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39897         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39898         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39899         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39900         entry.
39901         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39902         optional.
39903         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39904         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39905         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39906         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39907         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39908         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39909         Likewise.
39910         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39911         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39912         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39913         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39914         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39915         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39916         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39917         as optional.
39918         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39919         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39920         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39921         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39922         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39923         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39924         specify as optional.
39925         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39926         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39927         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39928         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39929         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39930         [XPG3] (NL_LANGMAX): Likewise.
39931         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39932         [POSIX || XPG3] (NL_NMAX): Likewise.
39933         [POSIX || XPG3] (NL_SETMAX): Likewise.
39934         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39935         [XPG3] (NZERO): Likewise.
39936         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39937         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39938         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39939         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39940         (REG_ERANGE): Expect.
39941         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39942         optional-constant.
39943         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39944         Use (void) in prototype.
39945         [POSIX] (*_t): Allow.
39946         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39947         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39948         (WRDE_BADVAL): Expect.
39950         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39951         expect.
39952         [XPG3 || XPG4] (O_RSYNC): Likewise.
39953         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39954         Likewise.
39955         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39956         [XPG3 || XPG4] (sigqueue): Likewise.
39957         [XPG3 || XPG4] (sigtimedwait): Likewise.
39958         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39959         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39960         [XPG3 || XPG4] (vsnprintf): Likewise.
39961         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39962         Likewise.
39963         [XPG3 || XPG4] (blksize_t): Likewise.
39964         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39965         Likewise.
39966         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39967         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39968         [XPG3 || XPG4] (struct itimerspec): Likewise.
39969         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39970         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39971         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39972         [XPG3 || XPG4] (clockid_t): Likewise.
39973         [XPG3 || XPG4] (timer_t): Likewise.
39974         [XPG3 || XPG4] (clock_getres): Likewise.
39975         [XPG3 || XPG4] (clock_gettime): Likewise.
39976         [XPG3 || XPG4] (clock_settime): Likewise.
39977         [XPG3 || XPG4] (nanosleep): Likewise.
39978         [XPG3 || XPG4] (timer_create): Likewise.
39979         [XPG3 || XPG4] (timer_delete): Likewise.
39980         [XPG3 || XPG4] (timer_gettime): Likewise.
39981         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39982         [XPG3 || XPG4] (timer_settime): Likewise.
39983         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39984         [XPG3 || XPG4] (getlogin_r): Likewise.
39985         [XPG3 || XPG4] (pread): Likewise.
39986         [XPG3 || XPG4] (pthread_atfork): Likewise.
39987         [XPG3 || XPG4] (pwrite): Likewise.
39989         [BZ #14835]
39990         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39991         <bits/siginfo.h>.
39993 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39995         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39996         finalizing MALLSTREAM.
39998         * sysdeps/mach/hurd/syncfs.c: New file.
40000 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40002         [BZ #14719]
40003         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40004         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40005         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40006         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40007         (_nss_dns_gethostbyname4_r): Likewise.
40008         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40009         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40011 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
40013         [BZ #13763]
40014         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40016 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
40018         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40019         * elf/cache.c (print_entry): Print ",AArch64" for
40020         FLAG_AARCH64_LIB64
40022         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40023         * elf/cache.c (print_entry): Print ",hard-float" for
40024         FLAG_ARM_LIBHF.
40026 2012-11-18  David S. Miller  <davem@davemloft.net>
40028         With help from Joseph Myers.
40029         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40030         cutoff to 2**-13.
40031         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40032         cutoff to 2**-25.
40033         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40034         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40035         small.
40036         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40037         * math/libm-test.inc (y0_test): New tests.
40038         (y1_test): New tests.
40039         * sysdeps/i386/fpu/libm-test-ulps: Update.
40040         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40043 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
40045         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40046         64-bit targets.
40047         * configure: Regenerated.
40049 2012-11-17  David S. Miller  <davem@davemloft.net>
40051         [BZ #14811]
40052         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40053         nonzero exponents with absolute value below 0x1p-128 to +/-
40054         0x1p-128.
40056 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
40058         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40060         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40062         * posix/getconf-speclist.c: New file.
40063         * posix/posix-envs.def: Likewise.
40064         * posix/confstr.c (START_ENV_GROUP): New macro.
40065         (END_ENV_GROUP): Likewise.
40066         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40067         (KNOWN_PRESENT_ENV_STRING): Likewise.
40068         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40069         (UNKNOWN_ENVIRONMENT): Likewise.
40070         (confstr): Include posix-envs.def instead of handling
40071         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40072         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40073         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40074         (END_ENV_GROUP): Likewise.
40075         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40076         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40077         (UNKNOWN_ENVIRONMENT): Likewise.
40078         (__sysconf): Include posix-envs.def instead of handling associated
40079         cases directly here.
40080         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40081         preprocessing getconf-speclist.c rather than running getconf or
40082         generating empty file.
40084 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
40086         * scripts/check-local-headers.sh: Ignore 'mach' headers.
40088 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
40090         [BZ #14672]
40091         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40093 2012-11-16  David S. Miller  <davem@davemloft.net>
40095         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40096         smaller than LDBL_EPSILON/2.0L, just return xm1.
40098 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
40100         * elf/tst-array1.c (init): Set constructor priority to 1000.
40101         (fini): Set destructor priority to 1000.
40102         * elf/tst-array2dep.c: Likewise.
40104 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40106         [BZ #11741]
40107         * libio/fileops.c (_IO_new_file_write): Correctly return error.
40108         (_IO_new_file_xsputn): Also return EOF if none of the input
40109         data was written when overflow failed.
40110         * libio/iopadn.c (_IO_padn): Likewise.
40111         * libio/iowpadn.c (_IO_wpadn): Likewise.
40112         * stdio-common/tst-put-error.c: Add copyright notice.
40113         (do_test): Add case for printing padded string.
40114         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40115         _IO_padn returned error.
40116         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40117         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40118         return EOF.
40120 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40122         * libio/libioP.h: Add comment note that the references to C++
40123         bits are now obsolete.
40125 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40127         * math/libm-test.inc (check_complex): Use asprintf.
40129 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
40131         * debug/pcprofiledump.c (print_version): Update copyright year.
40132         * malloc/memusagestat.c (print_version): Likewise.
40134 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
40136         [BZ #14831]
40137         * elf/Makefile (tests): Add tst-audit8.
40138         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40139         ($(objpfx)tst-audit8.out): New target.
40140         (tst-audit8-ENV): New variable.
40141         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40142         audit if l_reloc_result is NULL.
40143         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40144         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40145         * elf/tst-audit8.c: New file.
40147 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40149         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40150         * misc/Makefile (CFLAGS-select.c): Define.
40151         * posix/Makefile (CFLAGS-pause.c): Define.
40153 2012-11-13  David S. Miller  <davem@davemloft.net>
40155         * crypt/Makefile: Move test targets after toplevel Rules
40156         inclusion.  Grab any necessary sysdep routines when linking.
40157         * crypt/md5.c (md5_process_block): Remove define, we will always
40158         name it __md5_process_block.
40159         (md5_finish_ctx): Update md5_process_block call.
40160         (md5_stream): Likewise.
40161         (md5_process_bytes): Likewise.
40162         (md5_process_block): Rename to __md5_process_block and move to ...
40163         * crypt/md5-block.c: ... here.
40164         * crypt/sha256.c (sha256_process_block): Move to ...
40165         * crypt/sha256-block.c: ... here.
40166         * crypt/sha512.c (sha512_process_block): Move to ...
40167         * crypt/sha512-block.c: ... here.
40168         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40169         path.
40170         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40171         * sysdeps/sparc/sparc64/multiarch/Makefile
40172         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40173         crypt subdir.
40174         (localedef-aux): Add md5 crypto assembler when in locale subdir.
40175         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40176         multiarch changes.
40177         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40178         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40179         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40180         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40181         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40182         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40183         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40184         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40185         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40186         file.
40187         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40188         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40189         file.
40190         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40192 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
40194         * timezone/tzselect.ksh: Update from tzcode git revision
40195         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40196         * timezone/zdump.c: Likewise.
40197         * timezone/zic.c: Likewise.
40198         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40199         in TZVERSION setting, not $(PKGVERSION).
40200         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
40201         REPORT_BUGS_TO settings.
40203         [BZ #14838]
40204         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40205         macro.
40207 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40209         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40210         detection to immediately after _FP_ROUND().
40211         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40212         bits are 0.
40214 2012-11-11  David S. Miller  <davem@davemloft.net>
40216         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40217         inttypes.h
40218         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40219         __close rather than their public counterparts.
40221 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
40223         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40224         file.
40225         [UNIX98] (sem_timedwait): Do not expect.
40226         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40227         [XPG4 || UNIX98] (sockatmark): Do not expect.
40228         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40229         (clock_getcpuclockid): Do not expect.
40230         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40231         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40232         Do not expect.
40233         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40234         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40235         [UNIX98] (vwscanf): Likewise.
40236         [UNIX98] (vswscanf): Likewise.
40238 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
40240         * timezone/version.h: Remove file.
40241         * timezone/README: Do not refer to version.h.
40242         * timezone/Makefile ($(objpfx)zic.o): New dependency on
40243         $(objpfx)version.h.
40244         ($(objpfx)zdump.o): Likewise.
40245         ($(objpfx)version.h): New target.
40247         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40248         2012i.
40249         * timezone/README: Don't mention modification to tzselect.ksh.
40250         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40251         work on unmodified tzselect.ksh.  Substitute version numbers in
40252         tzselect.ksh.
40254         * Makefile (format-me): Remove.
40255         (INSTALL): Adjust indentation.  Use commands directly instead of
40256         using $(format-me).
40258         * aclocal.m4 (ACX_PKGVERSION): New macro.
40259         (ACX_BUGURL): Likewise.
40260         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40261         (PKGVERSION): New AC_DEFINE_UNQUOTED.
40262         (REPORT_BUGS_TO): Likewise.
40263         * configure: Regenerated.
40264         * config.h.in (PKGVERSION): New macro.
40265         (REPORT_BUGS_TO): Likewise.
40266         * config.make.in (PKGVERSION): New variable.
40267         (PKGVERSION_TEXI): Likewise.
40268         (REPORT_BUGS_TO): Likewise.
40269         (REPORT_BUGS_TEXI): Likewise.
40270         * Makefile (format-me): Use -I$(common-objpfx)manual.
40271         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40272         ($(common-objpfx)manual/%): New target.
40273         (manual/%): Remove target.
40274         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40275         (print_version): Use PKGVERSION.
40276         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40277         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40278         and REPORT_BUGS_TO.
40279         ($(objpfx)xtrace): Likewise.
40280         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40281         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40282         (print_version): Use PKGVERSION.
40283         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40284         (do_version): Use PKGVERSION.
40285         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40286         REPORT_BUGS_TO.
40287         (common-ldd-rewrite): Likewise.
40288         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40289         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40290         (print_version): Use PKGVERSION.
40291         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40292         * elf/pldd.c (argp_program_bug_address): Remove variable.
40293         (more_help): New function.
40294         (argp): Use more_help.
40295         (print_version): Use PKGVERSION.
40296         * elf/sln.c (main): Use PKGVERSION.
40297         (usage): Use REPORT_BUGS_TO.
40298         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40299         (top level): Use PKGVERSION.
40300         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40301         (print_version): Use PKGVERSION.
40302         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40303         (print_version): Use PKGVERSION.
40304         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40305         (print_version): Use PKGVERSION.
40306         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40307         (print_version): Use PKGVERSION.
40308         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40309         (print_version): Use PKGVERSION.
40310         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40311         (print_version): Use PKGVERSION.
40312         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40313         and BUGURL.
40314         ($(objpfx)memusage): Likewise.
40315         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40316         (do_version): Use PKGVERSION.
40317         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40318         (print_version): Use PKGVERSION.
40319         * malloc/mtrace.pl ($PACKAGE): Remove variable.
40320         ($PKGVERSION): New variable.
40321         ($REPORT_BUGS_TO): Likewise.
40322         (usage): Use $REPORT_BUGS_TO.
40323         (top level): Use $PKGVERSION.
40324         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40325         ($(objpfx)pkgvers.texi): New rule.
40326         ($(objpfx)stamp-pkgvers): Likewise.
40327         * manual/install.texi: Include pkgvers.texi.
40328         (--with-pkgversion): Document new configure option.
40329         (--with-bugurl): Likewise.
40330         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40331         than necessarily for this particular distribution.  Use
40332         REPORT_BUGS_TO for where to report bugs.
40333         * INSTALL: Regenerated.
40334         * manual/libc.texinfo: Include pkgvers.texi.
40335         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40336         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40337         (print_version): Use PKGVERSION.
40338         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40339         (print_version): Use PKGVERSION.
40340         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40341         (print_version): Use PKGVERSION.
40342         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40343         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40344         macro.
40345         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40346         (print_version): Use PKGVERSION.
40347         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40348         (print_version): Use PKGVERSION.
40349         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40350         and PKGVERSION.
40352         * timezone/checktab.awk: Update from tzcode 2012i.
40353         * timezone/ialloc.c: Likewise.
40354         * timezone/private.h: Likewise.
40355         * timezone/scheck.c: Likewise.
40356         * timezone/tzfile.h: Likewise.
40357         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40358         (TZVERSION): Hardcode tzcode version number.
40359         * timezone/zdump.c: Update from tzcode 2012i.
40360         * timezone/zic.c: Likewise.
40361         * timezone/version.h: New file.
40362         * timezone/README: Describe version.h.  Update upstream location.
40364         [BZ #14824]
40365         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40366         (mktemp): Enable declaration.
40367         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40368         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40369         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40370         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40371         Likewise.
40372         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40373         Likewise.
40374         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40375         Likewise.
40376         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40377         Likewise.
40378         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40379         Likewise.
40380         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40381         Likewise.
40383         [BZ #14821]
40384         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40385         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
40386         for copies of such integer values.
40387         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40388         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40390 2012-11-09  Andreas Jaeger  <aj@suse.de>
40392         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40393         definitions and declarations that are provided by
40394         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40396 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40398         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40399         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40400         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40401         definition.
40403 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40405         * elf/elf.h: Update comment before AArch64 relocations.
40407 2012-11-07  David S. Miller  <davem@davemloft.net>
40409         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40410         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40411         (__start_context): Declare.
40412         (__makecontext_ret): Delete.
40413         (__makecontext): Hook up __start_context instead of
40414         __makecontext_ret.
40415         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40416         (sysdep_routines): Add __start_context when in stdlib.
40418 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40420         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40421         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40422         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
40423         hardcoded "nm".
40424         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
40425         (READELF): New variable.  Use it instead of hardcoded "readelf".
40427 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40429         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40430         * sysdeps/x86/Makefile: Here.
40431         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40432         * sysdeps/x86/tst-xmmymm.sh: This.
40434 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40436         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40437         expectations.
40438         [UNIX98] (pthread_barrier_t): Do not expect.
40439         [UNIX98] (pthread_barrierattr_t): Likewise.
40440         [UNIX98] (pthread_spinlock_t): Likewise.
40441         [UNIX98] (pthread_barrier_destroy): Likewise.
40442         [UNIX98] (pthread_barrier_init): Likewise.
40443         [UNIX98] (pthread_barrier_wait): Likewise.
40444         [UNIX98] (pthread_barrierattr_destroy): Likewise.
40445         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40446         [UNIX98] (pthread_barrierattr_init): Likewise.
40447         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40448         [UNIX98] (pthread_getcpuclockid): Likewise.
40449         [UNIX98] (pthread_mutex_timedlock): Likewise.
40450         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40451         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40452         [UNIX98] (pthread_sigmask): Likewise.
40453         [UNIX98] (pthread_spin_destroy): Likewise.
40454         [UNIX98] (pthread_spin_init): Likewise.
40455         [UNIX98] (pthread_spin_lock): Likewise.
40456         [UNIX98] (pthread_spin_trylock): Likewise.
40457         [UNIX98] (pthread_spin_unlock): Likewise.
40458         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40459         Do not expect.
40460         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40461         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40462         [XPG3 || XPG4] (pthread_cond_t): Likewise.
40463         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40464         [XPG3 || XPG4] (pthread_key_t): Likewise.
40465         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40466         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40467         [XPG3 || XPG4] (pthread_once_t): Likewise.
40468         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40469         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40470         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40471         [XPG3 || XPG4] (pthread_t): Likewise.
40473         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40474         not expect.
40475         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40477         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40478         Change function return type to int.
40480         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40481         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40482         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40483         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40484         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40485         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40486         [!POSIX] (posix_madvise): Likewise.
40487         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40488         && !UNIX98].
40489         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40490         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40491         (mode_t): Likewise.
40492         (posix_mem_offset): Likewise.
40493         (posix_typed_mem_get_info): Likewise.
40494         (posix_typed_mem_open): Likewise.
40496         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40497         Change condition to [XOPEN2K8].
40499         * conform/conformtest.pl: Preprocess allow-header data with -x c
40500         instead of from stdin.
40501         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40502         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40503         [C99-based standards] (cerfc): Likewise.
40504         [C99-based standards] (cexp2): Likewise.
40505         [C99-based standards] (cexpm1): Likewise.
40506         [C99-based standards] (clog10): Likewise.
40507         [C99-based standards] (clog1p): Likewise.
40508         [C99-based standards] (clog2): Likewise.
40509         [C99-based standards] (clgamma): Likewise.
40510         [C99-based standards] (ctgamma): Likewise.
40511         [C99-based standards] (cerff): Likewise.
40512         [C99-based standards] (cerfcf): Likewise.
40513         [C99-based standards] (cexp2f): Likewise.
40514         [C99-based standards] (cexpm1f): Likewise.
40515         [C99-based standards] (clog10f): Likewise.
40516         [C99-based standards] (clog1pf): Likewise.
40517         [C99-based standards] (clog2f): Likewise.
40518         [C99-based standards] (clgammaf): Likewise.
40519         [C99-based standards] (ctgammaf): Likewise.
40520         [C99-based standards] (cerfl): Likewise.
40521         [C99-based standards] (cerfcl): Likewise.
40522         [C99-based standards] (cexp2l): Likewise.
40523         [C99-based standards] (cexpm1l): Likewise.
40524         [C99-based standards] (clog10l): Likewise.
40525         [C99-based standards] (clog1pl): Likewise.
40526         [C99-based standards] (clog2l): Likewise.
40527         [C99-based standards] (clgammal): Likewise.
40528         [C99-based standards] (ctgammal): Likewise.
40529         * conform/data/inttypes.h-data [C99-based standards]: Include
40530         stdint.h-data.  Remove all expectations for stdint.h contents.
40531         [C99-based standards] (PRI*): Do not allow.
40532         [C99-based standards] (SCN*): Likewise.
40533         [C99-based standards] (*_t): Likewise.
40534         [C99-based-standards] (PRId8): Expect macro.
40535         [C99-based-standards] (PRIi8): Likewise.
40536         [C99-based-standards] (PRIo8): Likewise.
40537         [C99-based-standards] (PRIu8): Likewise.
40538         [C99-based-standards] (PRIx8): Likewise.
40539         [C99-based-standards] (PRIX8): Likewise.
40540         [C99-based-standards] (SCNd8): Likewise.
40541         [C99-based-standards] (SCNi8): Likewise.
40542         [C99-based-standards] (SCNo8): Likewise.
40543         [C99-based-standards] (SCNu8): Likewise.
40544         [C99-based-standards] (SCNx8): Likewise.
40545         [C99-based-standards] (PRIdLEAST8): Likewise.
40546         [C99-based-standards] (PRIiLEAST8): Likewise.
40547         [C99-based-standards] (PRIoLEAST8): Likewise.
40548         [C99-based-standards] (PRIuLEAST8): Likewise.
40549         [C99-based-standards] (PRIxLEAST8): Likewise.
40550         [C99-based-standards] (PRIXLEAST8): Likewise.
40551         [C99-based-standards] (SCNdLEAST8): Likewise.
40552         [C99-based-standards] (SCNiLEAST8): Likewise.
40553         [C99-based-standards] (SCNoLEAST8): Likewise.
40554         [C99-based-standards] (SCNuLEAST8): Likewise.
40555         [C99-based-standards] (SCNxLEAST8): Likewise.
40556         [C99-based-standards] (PRIdFAST8): Likewise.
40557         [C99-based-standards] (PRIiFAST8): Likewise.
40558         [C99-based-standards] (PRIoFAST8): Likewise.
40559         [C99-based-standards] (PRIuFAST8): Likewise.
40560         [C99-based-standards] (PRIxFAST8): Likewise.
40561         [C99-based-standards] (PRIXFAST8): Likewise.
40562         [C99-based-standards] (SCNdFAST8): Likewise.
40563         [C99-based-standards] (SCNiFAST8): Likewise.
40564         [C99-based-standards] (SCNoFAST8): Likewise.
40565         [C99-based-standards] (SCNuFAST8): Likewise.
40566         [C99-based-standards] (SCNxFAST8): Likewise.
40567         [C99-based-standards] (PRId16): Likewise.
40568         [C99-based-standards] (PRIi16): Likewise.
40569         [C99-based-standards] (PRIo16): Likewise.
40570         [C99-based-standards] (PRIu16): Likewise.
40571         [C99-based-standards] (PRIx16): Likewise.
40572         [C99-based-standards] (PRIX16): Likewise.
40573         [C99-based-standards] (SCNd16): Likewise.
40574         [C99-based-standards] (SCNi16): Likewise.
40575         [C99-based-standards] (SCNo16): Likewise.
40576         [C99-based-standards] (SCNu16): Likewise.
40577         [C99-based-standards] (SCNx16): Likewise.
40578         [C99-based-standards] (PRIdLEAST16): Likewise.
40579         [C99-based-standards] (PRIiLEAST16): Likewise.
40580         [C99-based-standards] (PRIoLEAST16): Likewise.
40581         [C99-based-standards] (PRIuLEAST16): Likewise.
40582         [C99-based-standards] (PRIxLEAST16): Likewise.
40583         [C99-based-standards] (PRIXLEAST16): Likewise.
40584         [C99-based-standards] (SCNdLEAST16): Likewise.
40585         [C99-based-standards] (SCNiLEAST16): Likewise.
40586         [C99-based-standards] (SCNoLEAST16): Likewise.
40587         [C99-based-standards] (SCNuLEAST16): Likewise.
40588         [C99-based-standards] (SCNxLEAST16): Likewise.
40589         [C99-based-standards] (PRIdFAST16): Likewise.
40590         [C99-based-standards] (PRIiFAST16): Likewise.
40591         [C99-based-standards] (PRIoFAST16): Likewise.
40592         [C99-based-standards] (PRIuFAST16): Likewise.
40593         [C99-based-standards] (PRIxFAST16): Likewise.
40594         [C99-based-standards] (PRIXFAST16): Likewise.
40595         [C99-based-standards] (SCNdFAST16): Likewise.
40596         [C99-based-standards] (SCNiFAST16): Likewise.
40597         [C99-based-standards] (SCNoFAST16): Likewise.
40598         [C99-based-standards] (SCNuFAST16): Likewise.
40599         [C99-based-standards] (SCNxFAST16): Likewise.
40600         [C99-based-standards] (PRId32): Likewise.
40601         [C99-based-standards] (PRIi32): Likewise.
40602         [C99-based-standards] (PRIo32): Likewise.
40603         [C99-based-standards] (PRIu32): Likewise.
40604         [C99-based-standards] (PRIx32): Likewise.
40605         [C99-based-standards] (PRIX32): Likewise.
40606         [C99-based-standards] (SCNd32): Likewise.
40607         [C99-based-standards] (SCNi32): Likewise.
40608         [C99-based-standards] (SCNo32): Likewise.
40609         [C99-based-standards] (SCNu32): Likewise.
40610         [C99-based-standards] (SCNx32): Likewise.
40611         [C99-based-standards] (PRIdLEAST32): Likewise.
40612         [C99-based-standards] (PRIiLEAST32): Likewise.
40613         [C99-based-standards] (PRIoLEAST32): Likewise.
40614         [C99-based-standards] (PRIuLEAST32): Likewise.
40615         [C99-based-standards] (PRIxLEAST32): Likewise.
40616         [C99-based-standards] (PRIXLEAST32): Likewise.
40617         [C99-based-standards] (SCNdLEAST32): Likewise.
40618         [C99-based-standards] (SCNiLEAST32): Likewise.
40619         [C99-based-standards] (SCNoLEAST32): Likewise.
40620         [C99-based-standards] (SCNuLEAST32): Likewise.
40621         [C99-based-standards] (SCNxLEAST32): Likewise.
40622         [C99-based-standards] (PRIdFAST32): Likewise.
40623         [C99-based-standards] (PRIiFAST32): Likewise.
40624         [C99-based-standards] (PRIoFAST32): Likewise.
40625         [C99-based-standards] (PRIuFAST32): Likewise.
40626         [C99-based-standards] (PRIxFAST32): Likewise.
40627         [C99-based-standards] (PRIXFAST32): Likewise.
40628         [C99-based-standards] (SCNdFAST32): Likewise.
40629         [C99-based-standards] (SCNiFAST32): Likewise.
40630         [C99-based-standards] (SCNoFAST32): Likewise.
40631         [C99-based-standards] (SCNuFAST32): Likewise.
40632         [C99-based-standards] (SCNxFAST32): Likewise.
40633         [C99-based-standards] (PRId64): Likewise.
40634         [C99-based-standards] (PRIi64): Likewise.
40635         [C99-based-standards] (PRIo64): Likewise.
40636         [C99-based-standards] (PRIu64): Likewise.
40637         [C99-based-standards] (PRIx64): Likewise.
40638         [C99-based-standards] (PRIX64): Likewise.
40639         [C99-based-standards] (SCNd64): Likewise.
40640         [C99-based-standards] (SCNi64): Likewise.
40641         [C99-based-standards] (SCNo64): Likewise.
40642         [C99-based-standards] (SCNu64): Likewise.
40643         [C99-based-standards] (SCNx64): Likewise.
40644         [C99-based-standards] (PRIdLEAST64): Likewise.
40645         [C99-based-standards] (PRIiLEAST64): Likewise.
40646         [C99-based-standards] (PRIoLEAST64): Likewise.
40647         [C99-based-standards] (PRIuLEAST64): Likewise.
40648         [C99-based-standards] (PRIxLEAST64): Likewise.
40649         [C99-based-standards] (PRIXLEAST64): Likewise.
40650         [C99-based-standards] (SCNdLEAST64): Likewise.
40651         [C99-based-standards] (SCNiLEAST64): Likewise.
40652         [C99-based-standards] (SCNoLEAST64): Likewise.
40653         [C99-based-standards] (SCNuLEAST64): Likewise.
40654         [C99-based-standards] (SCNxLEAST64): Likewise.
40655         [C99-based-standards] (PRIdFAST64): Likewise.
40656         [C99-based-standards] (PRIiFAST64): Likewise.
40657         [C99-based-standards] (PRIoFAST64): Likewise.
40658         [C99-based-standards] (PRIuFAST64): Likewise.
40659         [C99-based-standards] (PRIxFAST64): Likewise.
40660         [C99-based-standards] (PRIXFAST64): Likewise.
40661         [C99-based-standards] (SCNdFAST64): Likewise.
40662         [C99-based-standards] (SCNiFAST64): Likewise.
40663         [C99-based-standards] (SCNoFAST64): Likewise.
40664         [C99-based-standards] (SCNuFAST64): Likewise.
40665         [C99-based-standards] (SCNxFAST64): Likewise.
40666         [C99-based-standards] (PRIdMAX): Likewise.
40667         [C99-based-standards] (PRIiMAX): Likewise.
40668         [C99-based-standards] (PRIoMAX): Likewise.
40669         [C99-based-standards] (PRIuMAX): Likewise.
40670         [C99-based-standards] (PRIxMAX): Likewise.
40671         [C99-based-standards] (PRIXMAX): Likewise.
40672         [C99-based-standards] (SCNdMAX): Likewise.
40673         [C99-based-standards] (SCNiMAX): Likewise.
40674         [C99-based-standards] (SCNoMAX): Likewise.
40675         [C99-based-standards] (SCNuMAX): Likewise.
40676         [C99-based-standards] (SCNxMAX): Likewise.
40677         [C99-based-standards] (PRIdPTR): Likewise.
40678         [C99-based-standards] (PRIiPTR): Likewise.
40679         [C99-based-standards] (PRIoPTR): Likewise.
40680         [C99-based-standards] (PRIuPTR): Likewise.
40681         [C99-based-standards] (PRIxPTR): Likewise.
40682         [C99-based-standards] (PRIXPTR): Likewise.
40683         [C99-based-standards] (SCNdPTR): Likewise.
40684         [C99-based-standards] (SCNiPTR): Likewise.
40685         [C99-based-standards] (SCNoPTR): Likewise.
40686         [C99-based-standards] (SCNuPTR): Likewise.
40687         [C99-based-standards] (SCNxPTR): Likewise.
40688         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40689         allow.
40690         * conform/data/stdint.h-data: Update comments to clarify
40691         requirements.
40692         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40693         type.
40694         [C99-based standards] (INT8_MAX): Likewise.
40695         [C99-based standards] (INT16_MIN): Likewise.
40696         [C99-based standards] (INT16_MAX): Likewise.
40697         [C99-based standards] (INT32_MIN): Likewise.
40698         [C99-based standards] (INT32_MAX): Likewise.
40699         [C99-based standards] (INT64_MIN): Likewise.
40700         [C99-based standards] (INT64_MAX): Likewise.
40701         [C99-based standards] (UINT8_MAX): Likewise.
40702         [C99-based standards] (UINT16_MAX): Likewise.
40703         [C99-based standards] (UINT32_MAX): Likewise.
40704         [C99-based standards] (UINT64_MAX): Likewise.
40705         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40706         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40707         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40708         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40709         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40710         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40711         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40712         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40713         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40714         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40715         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40716         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40717         [C99-based standards] (INT_FAST8_MIN): Likewise.
40718         [C99-based standards] (INT_FAST8_MAX): Likewise.
40719         [C99-based standards] (INT_FAST16_MIN): Likewise.
40720         [C99-based standards] (INT_FAST16_MAX): Likewise.
40721         [C99-based standards] (INT_FAST32_MIN): Likewise.
40722         [C99-based standards] (INT_FAST32_MAX): Likewise.
40723         [C99-based standards] (INT_FAST64_MIN): Likewise.
40724         [C99-based standards] (INT_FAST64_MAX): Likewise.
40725         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40726         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40727         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40728         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40729         [C99-based standards] (INTPTR_MIN): Likewise.
40730         [C99-based standards] (INTPTR_MAX): Likewise.
40731         [C99-based standards] (UINTPTR_MAX): Likewise.
40732         [C99-based standards] (INTMAX_MIN): Likewise.
40733         [C99-based standards] (INTMAX_MAX): Likewise.
40734         [C99-based standards] (UINTMAX_MAX): Likewise.
40735         [C99-based standards] (PTRDIFF_MIN): Likewise.
40736         [C99-based standards] (PTRDIFF_MAX): Likewise.
40737         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40738         [C99-based standards] (SIZE_MAX): Likewise.
40739         [C99-based standards] (WCHAR_MAX): Likewise.
40740         [C99-based standards] (WINT_MAX): Likewise.
40741         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40742         constraint on value.
40743         [C99-based standards] (WCHAR_MIN): Likewise.
40744         [C99-based standards] (WINT_MIN): Likewise.
40745         [C99-based standards] (*_t): Allow.
40746         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40747         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40748         Include math.h-data and complex.h-data.  Remove all expectations
40749         of math.h and complex.h contents.
40750         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40751         at end of line.
40752         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40753         (struct tm): Expect tag.
40754         [C99-based-standards] (wcstof): Expect function.
40755         [C99-based-standards] (wcstold): Likewise.
40756         [C99-based-standards] (wcstoll): Likewise.
40757         [C99-based-standards] (wcstoull): Likewise.
40758         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40759         macro-int-constant.  Specify type.
40760         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40761         constraint on value.
40762         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40763         Specify type.
40764         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40765         Specify value.
40766         [ISO C standards]: Do not allow headers.
40767         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40768         wcs[abcdefghijklmnopqrstuvwxyz]*.
40769         [ISO C standards] (*_t): Do not allow.
40770         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40771         Expect function.
40772         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40773         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40774         Specify type.
40775         [ISO C standards]: Do not allow headers.
40776         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40777         is[abcdefghijklmnopqrstuvwxyz]*.
40778         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40779         to[abcdefghijklmnopqrstuvwxyz]*.
40780         [ISO C standards] (*_t): Do not allow.
40781         * conform/data/stdalign.h-data: New file.
40782         * conform/data/stdbool.h-data: Likewise.
40783         * conform/data/stdnoreturn.h-data: Likewise.
40785 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40787         [BZ #14815]
40788         * manual/filesys.texi (Directory Entries): Typo fix.
40789         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40791 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40793         * elf/elf.h (EM_AARCH64): New macro.
40794         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40795         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40796         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40797         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40798         (R_AARCH64_TLSDESC): Likewise.
40799         (NT_ARM_TLS): Likewise.
40800         (NT_ARM_HW_BREAK): Likewise.
40801         (NT_ARM_HW_WATCH): Likewise.
40803 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40805         [BZ #14811]
40806         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40807         (__ieee754_powl): Saturate nonzero exponents with absolute value
40808         below 0x1p-79 to +/- 0x1p-79.
40809         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40810         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40811         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40812         nonzero exponents with absolute value below 0x1p-32 to +/-
40813         0x1p-32.
40814         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40815         (__ieee754_powl): Saturate nonzero exponents with absolute value
40816         below 0x1p-79 to +/- 0x1p-79.
40817         * math/libm-test.inc (pow_test): Add more tests.
40819 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40821         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40822         _dl_s390_cap_flags with kernel. Increase string length.
40823         (_dl_s390_platforms): Add z196 and zEC12.
40825 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40827         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40828         Change XOPEN21K to XOPEN2K.
40830 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40832         * string/memmove.c: Use memcpy when possible.
40834 2012-11-06  Andreas Jaeger  <aj@suse.de>
40836         * po/eo.po: Update from translation team.
40838 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40840         [BZ #14793]
40841         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40842         exponent and small x and y exponents, scale x or y up.  Increase
40843         by 2 the exponent used in scaling up.
40844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40845         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40846         * math/libm-test.inc (fma_test): Add more tests.
40847         (fma_test_towardzero): Likewise.
40848         (fma_test_downward): Likewise.
40849         (fma_test_upward): Likewise.
40851 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40853         [BZ #14805]
40854         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40855         fenv_t *.
40857         [BZ #14801]
40858         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40859         namespace for names of struct fields.
40860         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40861         fenv_t fields.
40862         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40863         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40865 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40867         [BZ #3665]
40868         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40870 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40872         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40873         PTR_DEMANGLE.
40875         [BZ #5246]
40876         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40877         PTR_DEMANGLE.
40879 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40881         [BZ #14797]
40882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40883         definitely overflow as x * y not x * y + z.
40884         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40885         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40886         * math/libm-test.inc (fma_test): Add more tests.
40887         (fma_test_towardzero): Likewise.
40888         (fma_test_downward): Likewise.
40889         (fma_test_upward): Likewise.
40891 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40893         [BZ #157]
40895         * include/stub-tag.h: Remove file.
40896         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40897         '#include' of it.
40898         * manual/maint.texi (Porting): Don't reference it.
40899         * Makerules ($(objpfx)stubs): Likewise.
40900         * dirent/closedir.c: Don't include <stub-tag.h>.
40901         * dirent/dirfd.c: Likewise.
40902         * dirent/fdopendir.c: Likewise.
40903         * dirent/getdents.c: Likewise.
40904         * dirent/getdents64.c: Likewise.
40905         * dirent/opendir.c: Likewise.
40906         * dirent/readdir.c: Likewise.
40907         * dirent/readdir64.c: Likewise.
40908         * dirent/readdir64_r.c: Likewise.
40909         * dirent/readdir_r.c: Likewise.
40910         * dirent/rewinddir.c: Likewise.
40911         * dirent/seekdir.c: Likewise.
40912         * dirent/telldir.c: Likewise.
40913         * gmon/profil.c: Likewise.
40914         * grp/setgroups.c: Likewise.
40915         * inet/if_index.c: Likewise.
40916         * io/access.c: Likewise.
40917         * io/chdir.c: Likewise.
40918         * io/chmod.c: Likewise.
40919         * io/chown.c: Likewise.
40920         * io/close.c: Likewise.
40921         * io/dup.c: Likewise.
40922         * io/dup2.c: Likewise.
40923         * io/dup3.c: Likewise.
40924         * io/euidaccess.c: Likewise.
40925         * io/faccessat.c: Likewise.
40926         * io/fchdir.c: Likewise.
40927         * io/fchmod.c: Likewise.
40928         * io/fchmodat.c: Likewise.
40929         * io/fchown.c: Likewise.
40930         * io/fchownat.c: Likewise.
40931         * io/fcntl.c: Likewise.
40932         * io/flock.c: Likewise.
40933         * io/fstatfs.c: Likewise.
40934         * io/fstatfs64.c: Likewise.
40935         * io/fstatvfs.c: Likewise.
40936         * io/fstatvfs64.c: Likewise.
40937         * io/futimens.c: Likewise.
40938         * io/fxstat.c: Likewise.
40939         * io/fxstat64.c: Likewise.
40940         * io/fxstatat.c: Likewise.
40941         * io/fxstatat64.c: Likewise.
40942         * io/getcwd.c: Likewise.
40943         * io/isatty.c: Likewise.
40944         * io/lchmod.c: Likewise.
40945         * io/lchown.c: Likewise.
40946         * io/link.c: Likewise.
40947         * io/linkat.c: Likewise.
40948         * io/lseek.c: Likewise.
40949         * io/lseek64.c: Likewise.
40950         * io/lxstat64.c: Likewise.
40951         * io/mkdir.c: Likewise.
40952         * io/mkdirat.c: Likewise.
40953         * io/mkfifo.c: Likewise.
40954         * io/mkfifoat.c: Likewise.
40955         * io/open.c: Likewise.
40956         * io/open64.c: Likewise.
40957         * io/openat.c: Likewise.
40958         * io/openat64.c: Likewise.
40959         * io/pipe.c: Likewise.
40960         * io/pipe2.c: Likewise.
40961         * io/poll.c: Likewise.
40962         * io/posix_fadvise.c: Likewise.
40963         * io/posix_fadvise64.c: Likewise.
40964         * io/posix_fallocate.c: Likewise.
40965         * io/posix_fallocate64.c: Likewise.
40966         * io/read.c: Likewise.
40967         * io/readlink.c: Likewise.
40968         * io/readlinkat.c: Likewise.
40969         * io/rmdir.c: Likewise.
40970         * io/sendfile.c: Likewise.
40971         * io/sendfile64.c: Likewise.
40972         * io/statfs.c: Likewise.
40973         * io/statfs64.c: Likewise.
40974         * io/statvfs.c: Likewise.
40975         * io/statvfs64.c: Likewise.
40976         * io/symlink.c: Likewise.
40977         * io/symlinkat.c: Likewise.
40978         * io/ttyname.c: Likewise.
40979         * io/ttyname_r.c: Likewise.
40980         * io/umask.c: Likewise.
40981         * io/unlink.c: Likewise.
40982         * io/unlinkat.c: Likewise.
40983         * io/utime.c: Likewise.
40984         * io/utimensat.c: Likewise.
40985         * io/write.c: Likewise.
40986         * io/xmknod.c: Likewise.
40987         * io/xmknodat.c: Likewise.
40988         * io/xstat.c: Likewise.
40989         * io/xstat64.c: Likewise.
40990         * login/getpt.c: Likewise.
40991         * login/grantpt.c: Likewise.
40992         * login/unlockpt.c: Likewise.
40993         * math/e_acoshl.c: Likewise.
40994         * math/e_acosl.c: Likewise.
40995         * math/e_asinl.c: Likewise.
40996         * math/e_atan2l.c: Likewise.
40997         * math/e_atanhl.c: Likewise.
40998         * math/e_coshl.c: Likewise.
40999         * math/e_expl.c: Likewise.
41000         * math/e_fmodl.c: Likewise.
41001         * math/e_gammal_r.c: Likewise.
41002         * math/e_hypotl.c: Likewise.
41003         * math/e_j0l.c: Likewise.
41004         * math/e_j1l.c: Likewise.
41005         * math/e_jnl.c: Likewise.
41006         * math/e_lgammal_r.c: Likewise.
41007         * math/e_log10l.c: Likewise.
41008         * math/e_log2l.c: Likewise.
41009         * math/e_logl.c: Likewise.
41010         * math/e_powl.c: Likewise.
41011         * math/e_rem_pio2l.c: Likewise.
41012         * math/e_sinhl.c: Likewise.
41013         * math/e_sqrtl.c: Likewise.
41014         * math/fclrexcpt.c: Likewise.
41015         * math/fedisblxcpt.c: Likewise.
41016         * math/feenablxcpt.c: Likewise.
41017         * math/fegetenv.c: Likewise.
41018         * math/fegetexcept.c: Likewise.
41019         * math/fegetround.c: Likewise.
41020         * math/feholdexcpt.c: Likewise.
41021         * math/fesetenv.c: Likewise.
41022         * math/fesetround.c: Likewise.
41023         * math/feupdateenv.c: Likewise.
41024         * math/fgetexcptflg.c: Likewise.
41025         * math/fraiseexcpt.c: Likewise.
41026         * math/fsetexcptflg.c: Likewise.
41027         * math/ftestexcept.c: Likewise.
41028         * math/k_cosl.c: Likewise.
41029         * math/k_rem_pio2l.c: Likewise.
41030         * math/k_sinl.c: Likewise.
41031         * math/k_tanl.c: Likewise.
41032         * math/s_asinhl.c: Likewise.
41033         * math/s_atanl.c: Likewise.
41034         * math/s_cbrtl.c: Likewise.
41035         * math/s_erfl.c: Likewise.
41036         * math/s_expm1l.c: Likewise.
41037         * math/s_log1pl.c: Likewise.
41038         * math/s_tanhl.c: Likewise.
41039         * misc/acct.c: Likewise.
41040         * misc/brk.c: Likewise.
41041         * misc/chflags.c: Likewise.
41042         * misc/chroot.c: Likewise.
41043         * misc/fchflags.c: Likewise.
41044         * misc/fgetxattr.c: Likewise.
41045         * misc/flistxattr.c: Likewise.
41046         * misc/fremovexattr.c: Likewise.
41047         * misc/fsetxattr.c: Likewise.
41048         * misc/fsync.c: Likewise.
41049         * misc/ftruncate.c: Likewise.
41050         * misc/futimes.c: Likewise.
41051         * misc/futimesat.c: Likewise.
41052         * misc/getdomain.c: Likewise.
41053         * misc/getdtsz.c: Likewise.
41054         * misc/gethostid.c: Likewise.
41055         * misc/gethostname.c: Likewise.
41056         * misc/getloadavg.c: Likewise.
41057         * misc/getpagesize.c: Likewise.
41058         * misc/getsysstats.c: Likewise.
41059         * misc/getxattr.c: Likewise.
41060         * misc/gtty.c: Likewise.
41061         * misc/ioctl.c: Likewise.
41062         * misc/lgetxattr.c: Likewise.
41063         * misc/listxattr.c: Likewise.
41064         * misc/llistxattr.c: Likewise.
41065         * misc/lremovexattr.c: Likewise.
41066         * misc/lsetxattr.c: Likewise.
41067         * misc/lutimes.c: Likewise.
41068         * misc/madvise.c: Likewise.
41069         * misc/mincore.c: Likewise.
41070         * misc/mlock.c: Likewise.
41071         * misc/mlockall.c: Likewise.
41072         * misc/mmap.c: Likewise.
41073         * misc/mprotect.c: Likewise.
41074         * misc/msync.c: Likewise.
41075         * misc/munlock.c: Likewise.
41076         * misc/munlockall.c: Likewise.
41077         * misc/munmap.c: Likewise.
41078         * misc/preadv.c: Likewise.
41079         * misc/preadv64.c: Likewise.
41080         * misc/ptrace.c: Likewise.
41081         * misc/pwritev.c: Likewise.
41082         * misc/pwritev64.c: Likewise.
41083         * misc/readv.c: Likewise.
41084         * misc/reboot.c: Likewise.
41085         * misc/remap_file_pages.c: Likewise.
41086         * misc/removexattr.c: Likewise.
41087         * misc/revoke.c: Likewise.
41088         * misc/select.c: Likewise.
41089         * misc/setdomain.c: Likewise.
41090         * misc/setegid.c: Likewise.
41091         * misc/seteuid.c: Likewise.
41092         * misc/sethostid.c: Likewise.
41093         * misc/sethostname.c: Likewise.
41094         * misc/setregid.c: Likewise.
41095         * misc/setreuid.c: Likewise.
41096         * misc/setxattr.c: Likewise.
41097         * misc/sstk.c: Likewise.
41098         * misc/stty.c: Likewise.
41099         * misc/swapoff.c: Likewise.
41100         * misc/swapon.c: Likewise.
41101         * misc/sync.c: Likewise.
41102         * misc/syncfs.c: Likewise.
41103         * misc/syscall.c: Likewise.
41104         * misc/truncate.c: Likewise.
41105         * misc/ualarm.c: Likewise.
41106         * misc/usleep.c: Likewise.
41107         * misc/ustat.c: Likewise.
41108         * misc/utimes.c: Likewise.
41109         * misc/vhangup.c: Likewise.
41110         * misc/writev.c: Likewise.
41111         * posix/_exit.c: Likewise.
41112         * posix/alarm.c: Likewise.
41113         * posix/execve.c: Likewise.
41114         * posix/fexecve.c: Likewise.
41115         * posix/fork.c: Likewise.
41116         * posix/fpathconf.c: Likewise.
41117         * posix/getaddrinfo.c: Likewise.
41118         * posix/getegid.c: Likewise.
41119         * posix/geteuid.c: Likewise.
41120         * posix/getgid.c: Likewise.
41121         * posix/getgroups.c: Likewise.
41122         * posix/getlogin.c: Likewise.
41123         * posix/getlogin_r.c: Likewise.
41124         * posix/getpgid.c: Likewise.
41125         * posix/getpid.c: Likewise.
41126         * posix/getppid.c: Likewise.
41127         * posix/getresgid.c: Likewise.
41128         * posix/getresuid.c: Likewise.
41129         * posix/getsid.c: Likewise.
41130         * posix/getuid.c: Likewise.
41131         * posix/glob64.c: Likewise.
41132         * posix/nanosleep.c: Likewise.
41133         * posix/pathconf.c: Likewise.
41134         * posix/pause.c: Likewise.
41135         * posix/posix_madvise.c: Likewise.
41136         * posix/pread.c: Likewise.
41137         * posix/pread64.c: Likewise.
41138         * posix/pwrite.c: Likewise.
41139         * posix/pwrite64.c: Likewise.
41140         * posix/sched_getaffinity.c: Likewise.
41141         * posix/sched_getp.c: Likewise.
41142         * posix/sched_gets.c: Likewise.
41143         * posix/sched_primax.c: Likewise.
41144         * posix/sched_primin.c: Likewise.
41145         * posix/sched_rr_gi.c: Likewise.
41146         * posix/sched_setaffinity.c: Likewise.
41147         * posix/sched_setp.c: Likewise.
41148         * posix/sched_sets.c: Likewise.
41149         * posix/sched_yield.c: Likewise.
41150         * posix/setgid.c: Likewise.
41151         * posix/setlogin.c: Likewise.
41152         * posix/setpgid.c: Likewise.
41153         * posix/setresgid.c: Likewise.
41154         * posix/setresuid.c: Likewise.
41155         * posix/setsid.c: Likewise.
41156         * posix/setuid.c: Likewise.
41157         * posix/sleep.c: Likewise.
41158         * posix/spawni.c: Likewise.
41159         * posix/sysconf.c: Likewise.
41160         * posix/times.c: Likewise.
41161         * posix/wait.c: Likewise.
41162         * posix/wait3.c: Likewise.
41163         * posix/wait4.c: Likewise.
41164         * posix/waitpid.c: Likewise.
41165         * resolv/gai_sigqueue.c: Likewise.
41166         * resource/getpriority.c: Likewise.
41167         * resource/getrlimit.c: Likewise.
41168         * resource/getrusage.c: Likewise.
41169         * resource/nice.c: Likewise.
41170         * resource/setpriority.c: Likewise.
41171         * resource/setrlimit.c: Likewise.
41172         * resource/ulimit.c: Likewise.
41173         * rt/aio_cancel.c: Likewise.
41174         * rt/aio_fsync.c: Likewise.
41175         * rt/aio_read.c: Likewise.
41176         * rt/aio_sigqueue.c: Likewise.
41177         * rt/aio_suspend.c: Likewise.
41178         * rt/aio_write.c: Likewise.
41179         * rt/clock_getres.c: Likewise.
41180         * rt/clock_gettime.c: Likewise.
41181         * rt/clock_nanosleep.c: Likewise.
41182         * rt/clock_settime.c: Likewise.
41183         * rt/lio_listio.c: Likewise.
41184         * rt/mq_close.c: Likewise.
41185         * rt/mq_getattr.c: Likewise.
41186         * rt/mq_notify.c: Likewise.
41187         * rt/mq_open.c: Likewise.
41188         * rt/mq_receive.c: Likewise.
41189         * rt/mq_send.c: Likewise.
41190         * rt/mq_setattr.c: Likewise.
41191         * rt/mq_timedreceive.c: Likewise.
41192         * rt/mq_timedsend.c: Likewise.
41193         * rt/mq_unlink.c: Likewise.
41194         * rt/shm_open.c: Likewise.
41195         * rt/shm_unlink.c: Likewise.
41196         * rt/timer_create.c: Likewise.
41197         * rt/timer_delete.c: Likewise.
41198         * rt/timer_getoverr.c: Likewise.
41199         * rt/timer_gettime.c: Likewise.
41200         * rt/timer_settime.c: Likewise.
41201         * setjmp/__longjmp.c: Likewise.
41202         * setjmp/setjmp.c: Likewise.
41203         * signal/kill.c: Likewise.
41204         * signal/killpg.c: Likewise.
41205         * signal/raise.c: Likewise.
41206         * signal/sigaction.c: Likewise.
41207         * signal/sigaltstack.c: Likewise.
41208         * signal/sigblock.c: Likewise.
41209         * signal/sigignore.c: Likewise.
41210         * signal/sigintr.c: Likewise.
41211         * signal/signal.c: Likewise.
41212         * signal/sigpause.c: Likewise.
41213         * signal/sigpending.c: Likewise.
41214         * signal/sigqueue.c: Likewise.
41215         * signal/sigreturn.c: Likewise.
41216         * signal/sigset.c: Likewise.
41217         * signal/sigsetmask.c: Likewise.
41218         * signal/sigstack.c: Likewise.
41219         * signal/sigsuspend.c: Likewise.
41220         * signal/sigtimedwait.c: Likewise.
41221         * signal/sigvec.c: Likewise.
41222         * signal/sigwait.c: Likewise.
41223         * signal/sigwaitinfo.c: Likewise.
41224         * signal/sysv_signal.c: Likewise.
41225         * socket/accept.c: Likewise.
41226         * socket/accept4.c: Likewise.
41227         * socket/bind.c: Likewise.
41228         * socket/connect.c: Likewise.
41229         * socket/getpeername.c: Likewise.
41230         * socket/getsockname.c: Likewise.
41231         * socket/getsockopt.c: Likewise.
41232         * socket/isfdtype.c: Likewise.
41233         * socket/listen.c: Likewise.
41234         * socket/recv.c: Likewise.
41235         * socket/recvfrom.c: Likewise.
41236         * socket/recvmsg.c: Likewise.
41237         * socket/send.c: Likewise.
41238         * socket/sendmsg.c: Likewise.
41239         * socket/sendto.c: Likewise.
41240         * socket/setsockopt.c: Likewise.
41241         * socket/shutdown.c: Likewise.
41242         * socket/sockatmark.c: Likewise.
41243         * socket/socket.c: Likewise.
41244         * socket/socketpair.c: Likewise.
41245         * stdio-common/ctermid.c: Likewise.
41246         * stdio-common/cuserid.c: Likewise.
41247         * stdio-common/remove.c: Likewise.
41248         * stdio-common/rename.c: Likewise.
41249         * stdio-common/renameat.c: Likewise.
41250         * stdio-common/tempname.c: Likewise.
41251         * stdlib/getcontext.c: Likewise.
41252         * stdlib/makecontext.c: Likewise.
41253         * stdlib/setcontext.c: Likewise.
41254         * stdlib/swapcontext.c: Likewise.
41255         * stdlib/system.c: Likewise.
41256         * streams/fattach.c: Likewise.
41257         * streams/fdetach.c: Likewise.
41258         * streams/getmsg.c: Likewise.
41259         * streams/getpmsg.c: Likewise.
41260         * streams/putmsg.c: Likewise.
41261         * streams/putpmsg.c: Likewise.
41262         * sysdeps/unix/bsd/getpt.c: Likewise.
41263         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41264         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41265         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41267         Likewise.
41268         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41269         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41270         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41271         * sysvipc/msgctl.c: Likewise.
41272         * sysvipc/msgget.c: Likewise.
41273         * sysvipc/msgrcv.c: Likewise.
41274         * sysvipc/msgsnd.c: Likewise.
41275         * sysvipc/semctl.c: Likewise.
41276         * sysvipc/semget.c: Likewise.
41277         * sysvipc/semop.c: Likewise.
41278         * sysvipc/semtimedop.c: Likewise.
41279         * sysvipc/shmat.c: Likewise.
41280         * sysvipc/shmctl.c: Likewise.
41281         * sysvipc/shmdt.c: Likewise.
41282         * sysvipc/shmget.c: Likewise.
41283         * termios/tcdrain.c: Likewise.
41284         * termios/tcflow.c: Likewise.
41285         * termios/tcflush.c: Likewise.
41286         * termios/tcgetattr.c: Likewise.
41287         * termios/tcgetpgrp.c: Likewise.
41288         * termios/tcsendbrk.c: Likewise.
41289         * termios/tcsetattr.c: Likewise.
41290         * termios/tcsetpgrp.c: Likewise.
41291         * time/adjtime.c: Likewise.
41292         * time/clock.c: Likewise.
41293         * time/getitimer.c: Likewise.
41294         * time/gettimeofday.c: Likewise.
41295         * time/setitimer.c: Likewise.
41296         * time/settimeofday.c: Likewise.
41297         * time/stime.c: Likewise.
41298         * time/time.c: Likewise.
41300 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
41302         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41303         /usr/old/bin.
41305         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41306         instead of spaces.
41307         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41309 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
41311         [BZ #14796]
41312         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41313         FE_TONEAREST before applying Dekker multiplication and Knuth
41314         addition.  Clear inexact exceptions and check for exact zero
41315         results afterwards.
41316         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41317         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41318         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41319         * math/libm-test.inc (fma_test): Add more tests.
41320         (fma_test_towardzero): Likewise.
41321         (fma_test_downward): Likewise.
41322         (fma_test_upward): Likewise.
41323         * sysdeps/generic/math_private.h (default_libc_fesetround): New
41324         function.
41325         (libc_fesetround): New macro.
41326         (libc_fesetroundf): Likewise.
41327         (libc_fesetroundl): Likewise.
41328         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41329         function.
41330         (libc_fesetround_387): Likewise.
41331         (libc_fesetroundf): New macro.
41332         (libc_fesetround): Likewise.
41333         (libc_fesetroundl): Likewise.
41334         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41335         function.
41336         (libc_fesetroundf): New macro.
41337         (libc_fesetround): Likewise.
41338         (libc_fesetroundl): Likewise.
41339         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41340         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41341         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41342         libm_hidden_ver.
41343         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41344         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41345         libm_hidden_def.
41346         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41347         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41348         libm_hidden_ver.
41349         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41350         libm_hidden_def.
41352         [BZ #3439]
41353         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41354         integer constant usable in #if and use that to give value to enum
41355         constant.
41356         (FE_DIVBYZERO): Likewise.
41357         (FE_UNDERFLOW): Likewise.
41358         (FE_OVERFLOW): Likewise.
41359         (FE_INVALID): Likewise.
41360         (FE_INVALID_SNAN): Likewise.
41361         (FE_INVALID_ISI): Likewise.
41362         (FE_INVALID_IDI): Likewise.
41363         (FE_INVALID_ZDZ): Likewise.
41364         (FE_INVALID_IMZ): Likewise.
41365         (FE_INVALID_COMPARE): Likewise.
41366         (FE_INVALID_SOFTWARE): Likewise.
41367         (FE_INVALID_SQRT): Likewise.
41368         (FE_INVALID_INTEGER_CONVERSION): Likewise.
41369         (FE_TONEAREST): Likewise.
41370         (FE_TOWARDZERO): Likewise.
41371         (FE_UPWARD): Likewise.
41372         (FE_DOWNWARD): Likewise.
41373         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41374         (FE_DIVBYZERO): Likewise.
41375         (FE_OVERFLOW): Likewise.
41376         (FE_UNDERFLOW): Likewise.
41377         (FE_INEXACT): Likewise.
41378         (FE_TONEAREST): Likewise.
41379         (FE_DOWNWARD): Likewise.
41380         (FE_UPWARD): Likewise.
41381         (FE_TOWARDZERO): Likewise.
41382         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41383         (FE_UNDERFLOW): Likewise.
41384         (FE_OVERFLOW): Likewise.
41385         (FE_DIVBYZERO): Likewise.
41386         (FE_INVALID): Likewise.
41387         (FE_TONEAREST): Likewise.
41388         (FE_TOWARDZERO): Likewise.
41389         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41390         (FE_OVERFLOW): Likewise.
41391         (FE_UNDERFLOW): Likewise.
41392         (FE_DIVBYZERO): Likewise.
41393         (FE_INEXACT): Likewise.
41394         (FE_TONEAREST): Likewise.
41395         (FE_TOWARDZERO): Likewise.
41396         (FE_UPWARD): Likewise.
41397         (FE_DOWNWARD): Likewise.
41398         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41399         (FE_DIVBYZERO): Likewise.
41400         (FE_OVERFLOW): Likewise.
41401         (FE_UNDERFLOW): Likewise.
41402         (FE_INEXACT): Likewise.
41403         (FE_TONEAREST): Likewise.
41404         (FE_DOWNWARD): Likewise.
41405         (FE_UPWARD): Likewise.
41406         (FE_TOWARDZERO): Likewise.
41408 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
41410         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41412 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
41414         * scripts/cross-test-ssh.sh (command): Use newlines to separate
41415         commands.  Quote $PWD.
41416         (blacklist_exports): Don't use remove_newlines.  Replace "declare
41417         -x" by "export".
41418         (remove_newlines): Remove.
41420 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
41422         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41423         * stdlib/stdlib.h (atof): Moved to ...
41424         * include/bits/stdlib-float.h: Here.  New file.
41425         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41426         * stdlib/bits/stdlib-float.h: New file.
41427         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41428         -mno-sse -mno-mmx.
41429         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41430         <xmmintrin.h>.
41432 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41434         * conform/conformtest.pl (@headers): Add fenv.h.
41435         * conform/data/fenv.h-data: New file.
41436         * include/fenv.h [_ISOMAC]: Disable all contents of file except
41437         include of <math/fenv.h>.
41439         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41440         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41441         && !UNIX98].  Enables tests for XOPEN2K8.
41442         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41443         POSIX2008]: Likewise.
41445         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41446         (struct rusage): Do not expect type or its members.
41448         [BZ #3439]
41449         * math/math.h (FP_NAN): Define macro to integer constant usable in
41450         #if and use that to give value to enum constant.
41451         (FP_INFINITE): Likewise.
41452         (FP_ZERO): Likewise.
41453         (FP_SUBNORMAL): Likewise.
41454         (FP_NORMAL): Likewise.
41456 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
41458         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41459         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41460         arguments.
41462 2012-11-02  Roland McGrath  <roland@hack.frob.com>
41464         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41465         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41466         autoconf-time if not.
41467         * configure.in: Remove AC_PREREQ.
41469 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41471         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41472         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41473         of the internal implementation.
41475 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
41477         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41478         except include of <misc/sys/syslog.h>.
41480 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41483         function returns with a NULL context exit with zero.
41485 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41487         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41489 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
41491         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41492         (run_program_cmd): This.
41493         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41494         (tst_langinfo): New variable.  Use it.
41496 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41498         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41499         floating point opcodes.
41501 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41503         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41504         variable.
41506         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41508         * sysdeps/mach/hurd/powerpc: Remove directory.
41509         * sysdeps/mach/powerpc: Likewise.
41511 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41513         * scripts/check-local-headers.sh: Ignore c++ headers.
41515 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41517         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41518         __libc_cleanup_region_start argument.
41520 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41522         [BZ #14784]
41523         [BZ #14785]
41524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41525         x * y using scaling, not as x * y + z.
41526         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41527         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41528         * math/libm-test.inc (fma_test): Add more tests.
41529         (fma_test_towardzero): Likewise.
41530         (fma_test_downward): Likewise.
41531         (fma_test_upward): Likewise.
41533 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41535         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41537 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41539         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41540         New variable.
41542 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41544         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41546 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41549         Fix sort order.
41550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41551         Likewise.
41553 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41556         Fix the order of the list for glibc 2.17.
41557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41558         Likewise.
41560 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41564 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41566         [BZ #14610]
41567         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41568         for low part of x being zero before using __atanl (y).
41569         * math/libm-test.inc (atan2_test): Add another test.
41571         * manual/install.texi (Configuring and compiling): Document
41572         general use of test-wrapper and test-wrapper-env.
41573         * INSTALL: Regenerated.
41575         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41576         (__fma): Do not extract and scale down low bits on after-rounding
41577         systems when result rounded to normal precision would have normal
41578         exponent.
41579         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41580         (__fmal): Do not extract and scale down low bits on after-rounding
41581         systems when result rounded to normal precision would have normal
41582         exponent.
41583         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41584         (__fmal): Do not extract and scale down low bits on after-rounding
41585         systems when result rounded to normal precision would have normal
41586         exponent.
41587         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41588         macro.
41589         (fma_test): Add more tests.
41590         (fma_test_towardzero): Likewise.
41591         (fma_test_downward): Likewise.
41592         (fma_test_upward): Likewise.
41594 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41596         * sysdeps/i386/tininess.h: Renamed to ...
41597         * sysdeps/x86/tininess.h: This.
41598         * sysdeps/x86_64/tininess.h: Removed.
41600 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41602         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41603         input.  Use $(build-program-cmd).
41604         ($(objpfx)tst-array1-static.out): Likewise.
41605         ($(objpfx)tst-array2.out): Likewise.
41606         ($(objpfx)tst-array3.out): Likewise.
41607         ($(objpfx)tst-array4.out): Likewise.
41608         ($(objpfx)tst-array5.out): Likewise.
41609         ($(objpfx)tst-array5-static.out): Likewise.
41611 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41613         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41614         if defined.
41616         * nss/nsswitch.h (nss_interface_function): Provide new
41617         macro for use with NSS functions.
41618         * grp/initgroups.c: Use new macro.
41619         * nss/getXXbyYY.c: Likewise.
41620         * nss/getXXbyYY_r.c: Likewise.
41621         * nss/getXXent.c: Likewise.
41622         * nss/getXXent_r.c: Likewise.
41623         * sysdeps/posix/getaddrinfo.c: Likewise.
41625 2012-10-30  Andreas Jaeger  <aj@suse.de>
41627         * po/ru.po: Update Russion translation from translation project.
41629 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41631         [BZ #14152]
41632         [BZ #14783]
41633         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41634         result and shift together with sticky bit instead of replicating
41635         round-to-nearest rounding.
41636         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41637         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41638         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41639         missing underflow exceptions.
41640         (fma_test_towardzero): Add more tests.
41641         (fma_test_downward): Likewise.
41642         (fma_test_upward): Likewise.
41644         [BZ #14047]
41645         * sysdeps/generic/tininess.h: New file.
41646         * sysdeps/i386/tininess.h: Likewise.
41647         * sysdeps/sh/tininess.h: Likewise.
41648         * sysdeps/x86_64/tininess.h: Likewise.
41649         * stdlib/tst-strtod-underflow.c: Likewise.
41650         * stdlib/tst-tininess.c: Likewise.
41651         * stdlib/strtod_l.c: Include <tininess.h>.
41652         (round_and_return): Do not set errno for exact underflow cases.
41653         Force an underflow exception when setting errno for underflow.
41654         Determine underflow based on rounding to normal precision if
41655         TININESS_AFTER_ROUNDING.
41656         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41657         ERANGE for exact underflow cases.
41658         * stdlib/Makefile (tests): Add tst-tininess and
41659         tst-strtod-underflow.
41660         ($(objpfx)tst-tininess): Use $(link-libm).
41661         ($(objpfx)tst-strtod-underflow): Likewise.
41663 2012-10-30  Andreas Jaeger  <aj@suse.de>
41665         [BZ#14767]
41666         * elf/Makefile (tests): Remove conditional for have-initfini-array
41667         since this is now always required and the variable does not exist
41668         anymore.
41669         (tests-static): Likewise.
41670         (modules-names): Likewise.
41672         * po/eo.po: Add Esperanto translation from translation project.
41674         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41675         merged with constructor/destructor.
41676         (init_array): Likewise.
41677         * elf/tst-array2dep.c (fini_array): Likewise.
41678         (init_array): Likewise.
41680 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41682         * manual/message.texi: Delete @cartouche tags.
41684 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41686         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41687         EOPNOTSUPP.
41688         * sysdeps/mach/hurd/fsync.c: Likewise.
41690         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41691         [_POSIX_REALTIME_SIGNALS]: Change condition to
41692         [_POSIX_REALTIME_SIGNALS > 0].
41694 2012-10-27  Andreas Jaeger  <aj@suse.de>
41696         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41697         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41698         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41699         [__WORDSIZE != 64]: Likewise.
41701 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41703         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41704         *  iconvdata/tst-tables.sh: Likewise.
41706 2012-10-25  David S. Miller  <davem@davemloft.net>
41708         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41709         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41710         of strtoull.
41712         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41713         ifunc-impl-list.c
41714         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41715         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41716         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41717         file.
41719 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41721         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41722         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41723         __getdirentries.
41725 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41726             Jim Blandy  <jimb@codesourcery.com>
41728         * scripts/cross-test-ssh.sh: New file.
41729         * manual/install.texi (Configuring and compiling): Document use of
41730         cross-test-ssh.sh.
41731         * INSTALL: Regenerated.
41733 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41735         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41736         EOPNOTSUPP.
41738 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41740         * Makeconfig (run-program-prefix): Fix comment.
41742 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41743             Jim Blandy  <jimb@codesourcery.com>
41745         * Makeconfig (test-wrapper): New variable,
41746         (test-wrapper-env): Likewise.
41747         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41748         (run-built-tests): Define to yes.
41749         (run-program-prefix): Use $(test-wrapper).
41750         (built-program-cmd): Likewise.
41751         * Rules (make-test-out): Use $(test-wrapper-env) and
41752         $(host-built-program-cmd).
41753         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41754         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41755         tst-pathopt.sh.
41756         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41757         $(test-wrapper-env) to tst-rtld-load-self.sh.
41758         ($(objpfx)order2.out): Use $(test-wrapper).
41759         ($(objpfx)tst-initorder.out): Likewise.
41760         ($(objpfx)tst-initorder2.out): Likewise.
41761         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41762         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41763         (test_wrapper_env): New variable.  Use it to run ld.so.
41764         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41765         Use it to run ld.so.
41766         (test_wrapper_env): Likewise.
41767         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41768         $(test-wrapper) to run-iconv-test.sh.
41769         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41770         (ICONV): Use $test_wrapper.
41771         * posix/Makefile ($(objpfx)globtest.out): Pass
41772         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41773         globtest.sh, not $(run-program-prefix).
41774         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41775         (test_wrapper): Likewise.
41776         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41777         set together with run_via_rtld_prefix.
41778         (run_program_prefix): Define in terms of test_wrapper and
41779         run_via_rtld_prefix.
41781 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41783         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41784         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41785         Targets removed.
41787         [BZ #14743]
41788         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41789         Declare __clock_getres, __clock_gettime, __clock_settime,
41790         __clock_nanosleep, and __clock_getcpuclockid.
41791         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41792         Remove librt_hidden_def (clock_gettime).
41793         * sysdeps/unix/clock_gettime.c: Likewise.
41794         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41795         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41796         * rt/clock_getres.c: Define __clock_getres as an alias.
41797         * sysdeps/posix/clock_getres.c: Likewise.
41798         * rt/clock_settime.c: Define __clock_settime as an alias.
41799         * sysdeps/unix/clock_settime.c: Likewise.
41800         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41801         * sysdeps/unix/clock_nanosleep.c: Likewise.
41802         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41803         * rt/clock-compat.c: New file.
41804         * rt/Makefile (librt-routines): Add clock-compat and move
41805         $(clock-routines) to ...
41806         (routines): ... here, new variable.
41807         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41808         Don't add get_clockfreq here.
41809         * rt/Versions (libc: GLIBC_2.17): New version set.
41810         Add clock_* symbols here.
41811         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41812         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41813         (GLIBC_2.17): Add clock_* symbols.
41814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41816         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41818         Likewise.
41819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41820         Likewise.
41821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41825         * NEWS: Mention the move.
41827         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41828         Use __open, __read, __close rather than their public counterparts.
41829         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41830         (__get_clockfreq_via_cpuinfo): Likewise.
41831         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41832         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41834         * config.h.in (HAVE_IFUNC): New #undef.
41835         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41836         was successful.
41837         * configure: Regenerated.
41839 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41841         * configure.in: Move READELF check to start of file.
41842         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41843         libc_cv_asm_gnu_indirect_function in the process.
41844         * configure: Regenerated.
41846 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41848         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41849         send the output to /dev/null.
41850         (libc_cv_cc_with_libunwind): Likewise.
41851         (libc_cv_as_noexecstack): Likewise.
41852         * configure: Regenerate.
41854 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41856         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41858         * posix/globtest.sh (TMPDIR): Do not set.
41859         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41860         (testout): Likewise.
41862 2012-10-24  Andreas Jaeger  <aj@suse.de>
41864         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41865         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41866         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41867         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41868         posix_fadvise64, posix_fallocate64.
41870         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41871         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41872         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41873         Likewise.
41874         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41875         Likewise.
41876         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41878         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41879         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41880         <bits/fcntl-linux.h>.
41881         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41883         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41884         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41885         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41886         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41887         [__WORDSIZE != 64]: Likewise.
41889 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41891         * Makeconfig (run-built-tests): New variable.
41892         * Rules [$(cross-compiling) = yes]: Change condition to
41893         [$(run-built-tests) = no].
41894         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41895         to [$(run-built-tests) = yes].
41896         * elf/Makefile [$(cross-compiling) = no]: Likewise
41897         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41898         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41899         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41900         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41901         * io/Makefile [$(cross-compiling) = no]: Likewise.
41902         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41903         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41904         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41905         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41906         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41907         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41908         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41909         * string/Makefile [$(cross-compiling) = no]: Likewise.
41911         * posix/Makefile ($(objpfx)globtest.out): Pass
41912         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41913         $(rtld-installed-name).
41914         * posix/globtest.sh (elf_objpfx): Remove variable.
41915         (rtld_installed_name): Likewise.
41916         (library_path): Likewise.
41917         (run_program_prefix): New variable.  Use for running globtest
41918         binary.
41920 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41921             Joseph Myers  <joseph@codesourcery.com>
41923         * Makeconfig (host-built-program-cmd): New variable.
41924         * elf/Makefile (tst-stackguard1-ARGS): Use
41925         $(host-built-program-cmd).
41926         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41927         (tst-spawn-ARGS): Likewise.
41928         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41930 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41931             Jim Blandy  <jimb@codesourcery.com>
41933         * Makeconfig (run-via-rtld-prefix): New variable.
41934         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41935         (built-program-cmd): Likewise.
41937 2012-10-22  Andreas Jaeger  <aj@suse.de>
41939         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41940         __O_RSYNC if it exists, otherwise to O_SYNC.
41942 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41943             Joseph Myers  <joseph@codesourcery.com>
41945         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41946         /dev/null.
41947         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41948         from /dev/null
41949         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41950         /dev/null.
41952 2012-10-22  Andreas Jaeger  <aj@suse.de>
41954         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41955         Define always.
41956         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41958         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41959         bits/fcntl-linux.h.
41961         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41962         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41964         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41965         to __O_LARGEFILE.
41966         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41967         to __O_LARGEFILE.
41969 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41970             Joseph Myers  <joseph@codesourcery.com>
41972         * config.make.in (NM): New variable.
41974 2012-10-21  Andreas Jaeger  <aj@suse.de>
41976         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41977         definitions and declarations that are provided by
41978         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41980 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41982         [BZ #14683]
41983         * elf/Makefile (tests-static): Add tst-leaks1-static.
41984         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41985         ($(objpfx)tst-leaks1-static): New rule.
41986         ($(objpfx)tst-leaks1-static-mem): Likewise.
41987         (tst-leaks1-static-ENV): New macro.
41988         * elf/dl-open.c (dl_open_worker): Check the main application
41989         only if SHARED is defined.
41990         * elf/tst-leaks1-static.c: New file.
41992 2012-10-20  Andreas Jaeger  <aj@suse.de>
41994         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41995         generic values for Linux.
41996         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41997         and declarations that are provided by <bits/fcntl-linux.h> and
41998         include <bits/fcntl-linux.h>.
41999         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42000         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42002 2012-10-20  Roland McGrath  <roland@hack.frob.com>
42004         * io/fcntl.h: Move include of <bits/types.h> to the top and
42005         include it unconditionally.
42007 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
42009         * wcsmbs/Makefile (tests-ifunc): New variable.
42010         (tests): Add $(tests-ifunc).
42011         * wcsmbs/test-wcschr-ifunc.c: New file.
42012         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42013         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42014         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42015         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42016         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42018         * string/Makefile (tests-ifunc): New variable.
42019         (tests): Add $(tests-ifunc).
42020         * string/test-memccpy.c (TEST_NAME): New macro.
42021         * string/test-memchr.c (TEST_NAME): Likewise.
42022         * string/test-memcmp.c (TEST_NAME): Likewise.
42023         * string/test-memcpy.c (TEST_NAME): Likewise.
42024         * string/test-memmem.c (TEST_NAME): Likewise.
42025         * string/test-memmove.c (TEST_NAME): Likewise.
42026         * string/test-memset.c (TEST_NAME): Likewise.
42027         * string/test-rawmemchr.c (TEST_NAME): Likewise.
42028         * string/test-stpcpy.c (TEST_NAME): Likewise.
42029         * string/test-stpncpy.c (TEST_NAME): Likewise.
42030         * string/test-strcasecmp.c (TEST_NAME): Likewise.
42031         * string/test-strcasestr.c (TEST_NAME): Likewise.
42032         * string/test-strcat.c (TEST_NAME): Likewise.
42033         * string/test-strchr.c (TEST_NAME): Likewise.
42034         * string/test-strcmp.c(TEST_NAME): Likewise.
42035         * string/test-strcpy.c (TEST_NAME): Likewise.
42036         * string/test-strcspn.c (TEST_NAME): Likewise.
42037         * string/test-strlen.c (TEST_NAME): Likewise.
42038         * string/test-strncasecmp.c (TEST_NAME): Likewise.
42039         * string/test-strncmp.c (TEST_NAME): Likewise.
42040         * string/test-strncpy.c (TEST_NAME): Likewise.
42041         * string/test-strnlen.c (TEST_NAME): Likewise.
42042         * string/test-strpbrk.c (TEST_NAME): Likewise.
42043         * string/test-strrchr.c (TEST_NAME): Likewise.
42044         * string/test-strspn.c (TEST_NAME): Likewise.
42045         * string/test-strstr.c (TEST_NAME): Likewise.
42046         * string/test-bcopy-ifunc.c: New file.
42047         * string/test-bzero-ifunc.c: Likewise.
42048         * string/test-memccpy-ifunc.c: Likewise.
42049         * string/test-memchr-ifunc.c: Likewise.
42050         * string/test-memcmp-ifunc.c: Likewise.
42051         * string/test-memcpy-ifunc.c: Likewise.
42052         * string/test-memmem-ifunc.c: Likewise.
42053         * string/test-memmove-ifunc.c: Likewise.
42054         * string/test-mempcpy-ifunc.c: Likewise.
42055         * string/test-memset-ifunc.c: Likewise.
42056         * string/test-rawmemchr-ifunc.c: Likewise.
42057         * string/test-stpcpy-ifunc.c: Likewise.
42058         * string/test-stpncpy-ifunc.c: Likewise.
42059         * string/test-strcasecmp-ifunc.c: Likewise.
42060         * string/test-strcasestr-ifunc.c: Likewise.
42061         * string/test-strcat-ifunc.c: Likewise.
42062         * string/test-strchr-ifunc.c: Likewise.
42063         * string/test-strchrnul-ifunc.c: Likewise.
42064         * string/test-strcmp-ifunc.c: Likewise.
42065         * string/test-strcpy-ifunc.c: Likewise.
42066         * string/test-strcspn-ifunc.c: Likewise.
42067         * string/test-strlen-ifunc.c: Likewise.
42068         * string/test-strncasecmp-ifunc.c: Likewise.
42069         * string/test-strncat-ifunc.c: Likewise.
42070         * string/test-strncmp-ifunc.c: Likewise.
42071         * string/test-strncpy-ifunc.c: Likewise.
42072         * string/test-strnlen-ifunc.c: Likewise.
42073         * string/test-strpbrk-ifunc.c: Likewise.
42074         * string/test-strrchr-ifunc.c: Likewise.
42075         * string/test-strspn-ifunc.c: Likewise.
42076         * string/test-strstr-ifunc.c: Likewise.
42078         * debug/Makefile (tests-ifunc): New variable.
42079         (tests): Add $(tests-ifunc).
42080         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42081         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42082         * debug/test-stpcpy_chk-ifunc.c: New file.
42083         * debug/test-strcpy_chk-ifunc.c: Likewise.
42085 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42087         [BZ #13601]
42088         * elf/dl-load.c (open_verify): Retry read if the entire ELF
42089         header is not read in.
42091 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
42093         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
42094         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
42095         directly.  Pass built executable to script as
42096         $(built-program-cmd).
42097         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
42098         $testprogram without using LD_LIBRARY_PATH and $ldso.
42100         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42101         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42102         $(rtld-installed-name).
42103         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42104         (rtld_installed_name): Likewise.
42105         (library_path): Likewise.
42106         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
42107         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42108         $(run-program-prefix) to tst-tables.sh.
42109         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
42110         it to run tst-table-from and tst-table-to.
42111         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42112         Pass it to tst-table.sh.
42113         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42114         $(run-program-prefix) to tst-gettext.sh.
42115         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42116         tst-translit.sh.
42117         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42118         tst-gettext2.sh.
42119         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
42120         to run tst-gettext.
42121         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
42122         to run tst-gettext2.
42123         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
42124         to run tst-translit.
42125         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42126         $(run-program-prefix) to tst-mtrace.sh.
42127         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
42128         to run tst-mtrace.
42129         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42130         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42131         $(rtld-installed-name).
42132         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42133         (rtld_installed_name): Likewise.
42134         (run_program_prefix): New variable.  Use it to run wordexp-test.
42136         * Makeconfig (ARCH): Remove all definitions.
42137         (machine): Likewise.
42138         [ARCH]: Remove conditional code.
42139         [!objdir]: Give error.
42140         [!objdir] (objpfx): Remove.
42141         [!objdir] (common-objpfx): Likewise.
42142         [!objdir] (common-objdir): Likewise.
42143         * configure.in (config_makefile): Remove.  Hardcode Makefile in
42144         AC_CONFIG_FILES call.
42145         * configure: Regenerated.
42147         [BZ #13888]
42148         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42149         or TMPDIR.
42150         (testout): Likewise.
42152         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42153         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42154         $(rtld-installed-name).
42155         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42156         (rtld_installed_name): Likwise.
42157         (runit): Remove function.
42158         (run_getconf): New variable,  Use it for running getconf binary.
42160 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
42162         [BZ #14716]
42163         * string/test-memmem.c (check_result): New function.
42164         (do_one_test): Use it.
42165         (check1): New function.
42166         (test_main): Use it.
42168 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
42170         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42172 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
42174         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42175         (_G_LSEEK64): Likewise.
42176         (_G_MMAP64): Likewise.
42177         (_G_FSTAT64): Likewise.
42178         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42179         (_G_LSEEK64): Likewise.
42180         (_G_MMAP64): Likewise.
42181         (_G_FSTAT64): Likewise.
42182         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42183         unconditional.  Call __mmap64 directly.
42184         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42185         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
42186         __lseek64 directly.
42187         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42188         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
42189         __mmap64 directly.
42190         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42191         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42192         __lseek64 directly.
42193         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42194         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
42195         __lseek64 directly.
42196         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42197         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
42198         __lseek64 directly.
42199         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42200         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
42201         __fxstat64 directly.
42202         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42203         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42204         unconditional.
42205         (freopen64) [!_G_OPEN64]: Remove conditional code.
42206         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42207         unconditional.
42208         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42209         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42210         unconditional.
42211         (ftello64) [!_G_LSEEK64]: Remove conditional code.
42212         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42213         unconditional.
42214         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42215         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42216         unconditional.
42217         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42218         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42219         unconditional.
42220         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42221         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42222         unconditional.
42223         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42224         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42225         unconditional.
42226         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42228 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42230         [BZ #12140]
42231         * manual/memory.texi (Malloc Tunable Parameters): Add note
42232         about free list pointers overwriting some perturb bytes.
42233         Wording suggested by Roland McGrath.
42235 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
42237         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42238         (lgamma_test): Likewise.
42239         (tgamma_test): Likewise.
42241 2012-10-16  Florian Weimer  <fweimer@redhat.com>
42243         [BZ #14700]
42244         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42245         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42247 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
42249         * NEWS: Mention BZ #14716.
42250         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42251         when removing AVAILABLE1_USES_J macro.
42253 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
42255         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42256         (__bswap_64): __uint64_t for unsigned 64-bit int.
42258 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
42260         * include/string.h (memmem): Declare libc hidden alias.
42261         * string/memmem.c (memmem): Define libc hidden alias.
42262         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42263         __read, __close instead of open, read, close.
42265 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
42267         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42268         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42269         global and hidden.
42270         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42271         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42272         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42273         Likewise.
42274         (__rawmemchr_sse2): Likewise.
42275         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42276         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42277         (__strchr_sse2): Likewise.
42278         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42279         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42280         (__strcasecmp_sse2): Likewise.
42281         (__strncasecmp_sse2): Likewise.
42282         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42283         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42284         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42285         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42286         (__strrchr_sse2): Likewise.
42287         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42288         ifunc-impl-list.c.
42289         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42290         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42291         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42292         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42293         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42294         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42295         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42296         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42297         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42298         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42299         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42300         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42301         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42302         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42303         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42304         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42305         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42306         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42307         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42308         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42309         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42310         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42311         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42312         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42313         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42314         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42315         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42316         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42317         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42318         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42320         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42321         global and hidden.
42322         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42323         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42324         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42325         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42326         Likewise.
42327         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42328         Likewise.
42329         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42330         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42331         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42332         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42333         ifunc-impl-list.c.
42334         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42335         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42336         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42337         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42338         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42339         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42340         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42341         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42342         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42343         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42344         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42345         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42346         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42347         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42348         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42349         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42350         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42351         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42352         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42353         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42354         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42355         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42356         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42357         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42358         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42359         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42360         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42361         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42362         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42363         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42364         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42365         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42366         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42367         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42368         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42369         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42370         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42371         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42372         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42373         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42374         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42376         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42377         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42378         * include/ifunc-impl-list.h: New file.
42379         * misc/ifunc-impl-list.c: Likewise.
42380         * misc/Makefile (routines): Add ifunc-impl-list.
42381         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42382         * string/test-string.h: Include <ifunc-impl-list.h>.
42383         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42384         TEST_NAME]: New variables.
42385         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42386         are defined.
42387         (test_init): Call __libc_ifunc_impl_list to initialize
42388         func_list if TEST_IFUNC and TEST_NAME are defined.
42390         * string/Makefile (strop-tests): Add bcopy and bzero.
42391         * string/test-bcopy.c: New file.
42392         * string/test-bzero.c: Likewise.
42393         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42394         defined.
42395         * string/test-memset.c: Support bzero test if TEST_BZERO is
42396         defined.
42397         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42398         __libc_memmove.
42399         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42400         __libc_memset.
42401         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42402         of memset.
42404 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
42406         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42407         * configure: Regenerated.
42409         * Makeconfig (+link-static-before-libc): Don't include
42410         $(link-static-libc).
42412         * libio/libio.h (_IO_pos_t): Remove.
42414 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42416         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
42417         McGrath.
42419 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42421         * crypt/crypt-entry.c: Include fips-private.h.
42422         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42423         * crypt/md5c-test.c (main): Tolerate disabled MD5.
42424         * sysdeps/unix/sysv/linux/fips-private.h: New file.
42425         * sysdeps/generic/fips-private.h: New file, dummy fallback.
42427 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
42429         * crypt/crypt-private.h: Include stdbool.h.
42430         (_ufc_setup_salt_r): Return bool.
42431         * crypt/crypt-entry.c: Include errno.h.
42432         (__crypt_r): Return NULL with EINVAL for bad salt.
42433         * crypt/crypt_util.c (bad_for_salt): New.
42434         (_ufc_setup_salt_r): Check that salt is long enough and within
42435         the specified alphabet.
42436         * crypt/badsalttest.c: New file.
42437         * crypt/Makefile (tests): Add it.
42438         ($(objpfx)badsalttest): New.
42440 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
42442         * NEWS: Add entry for BZ #14602.
42444 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42446         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42447         type-generic.
42448         * math/libm-test.inc: Update comment listing what functions and
42449         macros are tested.
42450         (isgreater_test): New function.
42451         (isgreaterequal_test): Likewise.
42452         (isless_test): Likewise.
42453         (islessequal_test): Likewise.
42454         (islessgreater_test): Likewise.
42455         (isunordered_test): Likewise.
42456         (main): Call the new functions.
42458 2012-10-09  Roland McGrath  <roland@hack.frob.com>
42460         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42461         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42462         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42463         * sysdeps/i386/configure: Regenerated.
42464         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42465         * sysdeps/mach/configure: Regenerated.
42466         * sysdeps/mach/hurd/configure: Regenerated.
42467         * sysdeps/powerpc/configure: Regenerated.
42468         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42469         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42470         * sysdeps/s390/s390-32/configure: Regenerated.
42471         * sysdeps/s390/s390-64/configure: Regenerated.
42472         * sysdeps/sh/configure: Regenerated.
42473         * sysdeps/sparc/configure: Regenerated.
42474         * sysdeps/unix/sysv/linux/configure: Regenerated.
42475         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42476         * sysdeps/x86_64/configure: Regenerated.
42478         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42479         defined.  Don't check if MAP is NULL.
42481 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
42483         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42484         (_G_stat64): Likewise.
42485         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42486         (_G_stat64): Likewise.
42487         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42488         instead of struct _G_stat64.
42489         * libio/fileops.c (mmap_remap_check): Likewise.
42490         (decide_maybe_mmap): Likewise.
42491         (_IO_new_file_seekoff): Likewise.
42492         (_IO_file_stat): Likewise.
42493         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42494         _G_off64_t.
42495         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42496         instead of struct _G_stat64.
42497         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42499 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42501         [BZ #14602]
42502         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42503         Replace with ...
42504         (CHECK_EOL): New macro.
42505         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42506         CHECK_EOL.
42507         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42508         Replace with CHECK_EOL.
42509         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42510         Replace with CHECK_EOL.
42512 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42514         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42515         type-generic.
42516         * math/libm-test.inc: Update comment listing what functions and
42517         macros are tested.
42518         (finite_test): New function.
42519         (isinf_test): Likewise.
42520         (isnan_test): Likewise.
42521         (fpclassify_test): Test subnormal input.
42522         (isfinite_test): Likewise.
42523         (isnormal_test): Likewise.
42524         (main): Call the new functions.
42526 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42528         [BZ #14660]
42529         * Makerules (%.dynsym): Force C locale when running
42530         $(OBJDUMP) --dynamic-syms.
42532 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42534         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42535         <stdint.h>.
42537 2012-10-06  David S. Miller  <davem@davemloft.net>
42539         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42540         upper 32-bits of the length value in %o2 since we use branch-on-register
42541         tests which consider the entire 64-bit register.
42543 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42545         * string/test-strstr.c (check2): Add a test for page boundary.
42547 2012-10-05  David S. Miller  <davem@davemloft.net>
42549         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42550         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42551         file.
42552         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42553         sysdep_routines.
42554         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42555         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42556         and bzero when HWCAP_SPARC_CRYPTO is present.
42558 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42560         [BZ #14602]
42561         * string/test-strstr.c (check2): New function.
42562         (test_main): Call check2.
42564         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42565         and bug-strchr1.
42566         * string/bug-strcasestr1.c (do_test): Moved to ...
42567         * string/test-strcasestr.c (check1): Here.  New function.
42568         (do_one_test): Break out result checking code into ...
42569         (check_result): This.  New function.
42570         (do_one_test): Call check_result.
42571         (test_main): Call check1.
42572         * string/bug-strchr1.c (do_test): Moved to ...
42573         * string/test-strchr.c (check1): Here.  New function.
42574         (do_one_test): Break out result checking code into ...
42575         (check_result): This.  New function.
42576         (do_one_test): Call check_result.
42577         (test_main): Call check1.
42578         * string/bug-strstr1.c (main): Moved to ...
42579         * string/test-strstr.c (check1): Here.  New function.
42580         (do_one_test): Break out result checking code into ...
42581         (check_result): This.  New function.
42582         (do_one_test): Call check_result.
42583         (test_main): Call check1.
42584         * string/bug-strcasestr1.c: Removed.
42585         * string/bug-strchr1.c: Likewise.
42586         * string/bug-strstr1.c: Likewise.
42588         * elf/Makefile (dl-routines): Add hwcaps.
42589         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42590         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42591         (_dl_important_hwcaps): Moved to ...
42592         * elf/dl-hwcaps.c: Here.  New file.
42593         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42595         [BZ #14557]
42596         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42597         if IS_IN_rtld isn't defined.
42599         * elf/dl-support.c (_dl_sysinfo_map): New.
42600         Include "get-dynamic-info.h" and "setup-vdso.h".
42601         (_dl_non_dynamic_init): Call setup_vdso.
42602         * elf/dynamic-link.h: Don't include <assert.h>.
42603         (elf_get_dynamic_info): Moved to ...
42604         * elf/get-dynamic-info.h: Here.  New file.
42605         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42606         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42607         * elf/setup-vdso.h: Here.  New file.
42608         * elf/rtld.c: Include "setup-vdso.h".
42609         (dl_main): Call setup_vdso.
42611 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42613         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42614         creal in comment listing functions tested.  List finite, isinf,
42615         isnan, isless, islessequal, isgreater, isgreaterequal,
42616         islessgreater, isunordered, lgamma_r and pow10 as functions and
42617         macros not tested.  Mention which functions not tested are aliases
42618         for other functions.  Fix typo.  Note that signs of NaNs are not
42619         tested.
42621         * scripts/config.guess: Update from config.git.
42622         * scripts/config.sub: Likewise.
42624 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42626         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42627         * misc/madvise.c (madvise): Renamed to __madvise.
42628         Make madvise a weak alias.
42629         * include/sys/mman.h: Declare __madvise.
42630         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42631         * sysdeps/unix/syscalls.list
42632         (madvise): Make __madvise the strong name, and madvise a weak alias.
42633         * sysdeps/unix/sysv/linux/syscalls.list
42634         (madvise, mmap): Remove redundant entries.
42635         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42636         * malloc/malloc.c (mtrim): Likewise.
42637         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42639 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42641         * sysdeps/mach/hurd/dl-cache.c: File removed.
42642         * config.h.in (USE_LDCONFIG): New #undef.
42643         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42644         * configure: Regenerated.
42645         * elf/Makefile (dl-routines): Add dl-cache only under
42646         [$(use-ldconfig) = yes].
42647         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42648         cache on [USE_LDCONFIG].
42649         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42650         [USE_LDCONFIG].
42651         * elf/rtld.c (dl_main): Likewise.
42653 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42655         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42656         _SC_LEVEL4_CACHE_LINESIZE.
42658 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42660         * sysdeps/unix/bsd/confstr.h: File removed.
42662 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42664         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42665         sys/sdt-config.h.
42667 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42669         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42670         Make 'mapoff' field ElfW(Off) rather than off_t.
42672 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42674         * nscd/Makefile: Remove nscd-cflags and all its users.
42675         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42676         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42678         [BZ #10631]
42679         * malloc.c (malloc_printerr): Clarify error message.
42681 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42683         [BZ #14648]
42684         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42685         Set bit_FMA_Usable if FMA is supported.
42686         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42687         macro.
42688         (bit_FMA4_Usable): Updated.
42689         (index_FMA_Usable): New macro.
42690         (CPUID_FMA): Likewise
42691         (HAS_FMA): Defined with bit_FMA_Usable.
42693 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42695         * bits/types.h (__swblk_t): Type removed.
42696         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42697         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42698         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42699         (__SWBLK_T_TYPE): Likewise.
42700         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42701         (__SWBLK_T_TYPE): Likewise.
42702         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42703         (__SWBLK_T_TYPE): Likewise.
42704         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42705         (__SWBLK_T_TYPE): Likewise.
42707 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42708             Honza Horak <hhorak@redhat.com>
42710         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42711         (xdr_mapname): Use YPMAXMAP as maxsize.
42712         (xdr_peername): Use YPMAXPEER as maxsize.
42713         (xdr_keydat): Use YPAXRECORD as maxsize.
42714         (xdr_valdat): Use YPMAXRECORD as maxsize.
42716 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42718         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42720         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42721         * csu/init-first.c: ... here.
42722         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42723         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42724         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42725         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42726         * sysdeps/i386/init-first.c: File removed.
42727         * sysdeps/sh/init-first.c: File removed.
42729 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42731         [BZ #14645]
42732         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42733         if x * y might underflow to zero and z is zero.
42734         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42735         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42736         * math/libm-test.inc (min_subnorm_value): New variable.
42737         (fma_test): Add more tests.
42738         (fma_test_towardzero): Likewise.
42739         (fma_test_downward): Likewise
42740         (fma_test_upward): Likewise.
42741         (initialize): Set min_subnorm_value.
42743 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42745         [BZ #14638]
42746         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42747         0 + 0.
42748         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42749         mode for addition resulting in exact zero.
42750         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42751         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42752         exact 0 + 0.
42753         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42754         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42755         * math/libm-test.inc (fma_test): Add more tests.
42756         (fma_test_towardzero): New function.
42757         (fma_test_downward): Likewise.
42758         (fma_test_upward): Likewise.
42759         (main): Call the new functions.
42761 2012-09-28  David S. Miller  <davem@davemloft.net>
42763         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42765 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42767         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42768         instead of SIGALRM.
42770         * sysdeps/gnu/_G_config.h: Moved to ...
42771         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42772         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42773         * sysdeps/generic/_G_config.h: ... here.
42775         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42777         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42779         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42780         Conditionalize target on [libnss_test1.so-version].
42782         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42784         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42785         (elfobjdir): Move out of conditionals.
42787         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42788         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42789         (__nss_lookup_function): Conditionalize label remove_from_tree on
42790         [!DO_STATIC_NSS || SHARED], matching its only use.
42792 2012-09-28  David S. Miller  <davem@davemloft.net>
42794         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42795         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42796         file.
42797         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42798         sysdep_routines.
42799         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42800         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42801         when HWCAP_SPARC_CRYPTO is present.
42803 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42805         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42807 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42809         [BZ #6530]
42810         * stdio-common/vfprintf.c (process_string_arg): Revert
42811         2000-07-22 change.
42813 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42815         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42816         for testcase.
42817         * stdio-common/tst-sprintf.c: Include <locale.h>
42818         (main): Test sprintf's handling of incomplete multibyte
42819         characters.
42821 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42823         * elf/dl-runtime.c (VERSYMIDX): Removed.
42824         * elf/dl-version.c (VERSYMIDX): Likewise.
42825         * elf/do-rel.h (VERSYMIDX): Likewise.
42826         (VALIDX): Likewise.
42827         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42828         * elf/rtld.c (VALIDX): Likewise.
42829         (ADDRIDX): Likewise.
42830         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42831         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42832         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42833         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42834         (VALIDX): Likewise.
42835         (ADDRIDX): Likewise.
42837 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42839         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42841 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42843         [BZ #11438]
42844         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42845         to global scope.
42846         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42847         addresses are in the same scope as 192.0.2/24.
42848         * posix/gai.conf: Document new scope table defaults.
42850 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42852         [BZ #5298]
42853         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42854         for ftell.  Compute offsets from write pointers instead.
42855         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42857 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42859         [BZ #14543]
42860         * libio/Makefile (tests): New test case tst-fseek.
42861         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42862         combination works in wide mode.
42863         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42864         state when the external buffer state changes.
42866 2012-09-27  David S. Miller  <davem@davemloft.net>
42868         [BZ #14376]
42869         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42870         pass reloc->r_addend in as the 'high' argument to
42871         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42875 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42877         * rt/tst-aio2.c: Include <pthread.h>.
42878         * rt/tst-aio3.c: Likewise.
42880 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42882         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42884 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42886         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42887         contents on [SHARED].
42889 2012-09-26  Marek Polacek  <polacek@redhat.com>
42891         [BZ #14530]
42892         [BZ #13741]
42893         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42894         for C++ and GCC <4.3 as well as for non GCC compilers.
42896 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42898         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42900 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42902         * Makefile.in (all, install): Declare with .PHONY.
42903         Reported by Michael Hope <michael.hope@linaro.org>.
42905 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42907         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42908         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42909         system header.
42910         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42911         Likewise.
42912         (sydep_routines): Add the new and the internal functions.
42913         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42914         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42916         (GLIBC_2.17): Add the new function.
42917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42918         (GLIBC_2.17): Likewise.
42919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42920         (GLIBC_2.17): Likewise.
42921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42922         (GLIBC_2.17): Likewise.
42923         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42925 2012-09-25  Alan Modra  <amodra@gmail.com>
42927         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42928         Add release barrier before setting once_control to say
42929         initialisation is done.  Add hints on lwarx.  Use macro in
42930         place of isync.
42931         (clear_once_control): Add release barrier.
42933 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42935         [BZ #13629]
42936         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42937         specially.
42938         * math/s_clog10.c (__clog10): Likewise.
42939         * math/s_clog10f.c (__clog10f): Likewise.
42940         * math/s_clog10l.c (__clog10l): Likewise.
42941         * math/s_clogf.c (__clogf): Likewise.
42942         * math/s_clogl.c (__clogl): Likewise.
42943         * math/Makefile (libm-calls): Add x2y2m1.
42944         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42945         (__x2y2m1): Likewise.
42946         (__x2y2m1l): Likewise.
42947         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42948         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42949         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42950         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42951         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42952         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42953         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42954         * sysdeps/i386/fpu/libm-test-ulps: Update.
42955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42957         [BZ #14621]
42958         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42959         int as type of variable DEPTH.
42960         (glob): Use size_t instead of int as type of variables NEWCOUNT
42961         and OLD_PATHC.
42963 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42965         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42966         Add s_sincosf-sse2.
42967         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42968         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42969         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42970         macros for using routine as __sincosf_ia32.
42971         Use macro for function declaration and weak_alias.
42972         * sysdeps/i386/fpu/libm-test-ulps: Update.
42974         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42975         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42977         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42978         subnormal argument.
42979         * math/s_cexpf.c (__cexpf): Likewise.
42980         * math/s_csinf.c (__csinf): Likewise.
42981         * math/s_csinhf.c (__csinhf): Likewise.
42982         * math/s_ctanf.c (__ctanf): Likewise.
42983         * math/s_ctanhf.c (__ctanhf): Likewise.
42984         * math/s_ccosh.c (__ccoshf): Likewise.
42985         * math/s_cexp.c (__cexpl): Likewise.
42986         * math/s_csin.c (__csin): Likewise.
42987         * math/s_csinh.c (__csinh): Likewise.
42988         * math/s_ctan.c (__ctan): Likewise.
42989         * math/s_ctanh.c (ctanh): Likewise.
42990         * math/s_ccoshl.c (__ccoshl): Likewise.
42991         * math/s_cexpl.c (__cexpl): Likewise.
42992         * math/s_csinl.c (__csinl): Likewise.
42993         * math/s_csinhl.c (__csinhl): Likewise.
42994         * math/s_ctanl.c (__ctanl): Likewise.
42995         * math/s_ctanhl.c (__ctanhl): Likewise.
42997 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42999         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43000         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43001         (_IO_off_t): Define to __off_t, not _G_off_t.
43002         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43003         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43004         (_IO_wint_t): Define to wint_t, not _G_wint_t.
43005         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43006         type of __dummy and __dummy2 fields.
43007         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43008         (_G_ssize_t): Likewise.
43009         (_G_off_t): Likewise.
43010         (_G_pid_t): Likewise.
43011         (_G_uid_t): Likewise.
43012         (_G_wchar_t): Likewise.
43013         (_G_wint_t): Likewise.
43014         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43015         (_G_ssize_t): Likewise.
43016         (_G_off_t): Likewise.
43017         (_G_pid_t): Likewise.
43018         (_G_uid_t): Likewise.
43019         (_G_wchar_t): Likewise.
43020         (_G_wint_t): Likewise.
43021         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43022         (_G_ssize_t): Likewise.
43023         (_G_off_t): Likewise.
43024         (_G_pid_t): Likewise.
43025         (_G_uid_t): Likewise.
43026         (_G_wchar_t): Likewise.
43027         (_G_wint_t): Likewise.
43029 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43031         * malloc/arena.c: Include malloc-sysdep.h.
43032         (shrink_heap): Use check_may_shrink_heap to decide if madvise
43033         is sufficient to shrink the heap or an unmap is needed.
43034         * sysdeps/generic/malloc-sysdep.h: New file.  Define
43035         new function check_may_shrink_heap.
43036         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
43037         new function check_may_shrink_heap.
43039 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43041         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43042         comments.
43044 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
43046         * catgets/test-gencat.sh: Add "set -e".
43047         * elf/tst-pathopt.sh: Likewise.
43048         * grp/tst_fgetgrent.sh: Likewise.
43049         * iconvdata/run-iconv-test.sh: Likewise.
43050         * intl/tst-gettext.sh: Likewise.
43051         * intl/tst-gettext2.sh: Likewise.
43052         * intl/tst-gettext4.sh: Likewise.
43053         * intl/tst-gettext6.sh: Likewise.
43054         * intl/tst-translit.sh: Likewise.
43055         * io/ftwtest-sh: Likewise.
43056         * libio/test-freopen.sh: Likewise.
43057         * malloc/tst-mtrace.sh: Likewise.
43058         * posix/globtest.sh: Likewise.
43059         * posix/tst-getconf.sh: Likewise.
43060         * posix/wordexp-tst.sh: Likewise.
43061         * stdio-common/tst-printf.sh: Likewise.
43062         * stdio-common/tst-unbputc.sh: Likewise.
43063         * stdlib/tst-fmtmsg.sh: Likewise.
43064         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43065         * catgets/Makefile: Do not specify -e option when running
43066         testsuite shell scripts.
43067         * elf/Makefile: Likewise.
43068         * grp/Makefile: Likewise.
43069         * iconvdata/Makefile: Likewise.
43070         * intl/Makefile: Likewise.
43071         * io/Makefile: Likewise.
43072         * libio/Makefile: Likewise.
43073         * malloc/Makefile: Likewise.
43074         * posix/Makefile: Likewise.
43075         * stdio-common/Makefile: Likewise.
43076         * stdlib/Makefile: Likewise.
43077         * sysdeps/x86_64/Makefile: Likewise.
43079         * io/ftwtest-sh: Add copyright header.
43080         * posix/globtest.sh: Likewise.
43081         * posix/tst-getconf.sh: Likewise.
43082         * posix/wordexp-tst.sh: Likewise.
43083         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43085 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
43087         [BZ #13679]
43088         * Makeconfig (+link): Defined as $(+link-static) if
43089         $(build-shared) isn't yes.
43090         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43091         isn't yes.
43092         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43094         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43096         [BZ #14562]
43097         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43098         new chunk size with MALLOC_ALIGN_MASK.
43100 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
43102         [BZ #5044]
43103         * stdio-common/printf_fphex.c: Include <stdbool.h> and
43104         <rounding-mode.h>.
43105         (__printf_fphex): Determine rounding using get_rounding_mode and
43106         round_away.
43107         * stdio-common/tst-printf-round.c (struct hex_test): New
43108         structure.
43109         (hex_tests): New variable.
43110         (test_hex_in_one_mode): New function.
43111         (do_test): Also run tests for hex float output.
43113 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
43115         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43116         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43117         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43118         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43119         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43120         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43121         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43122         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43124 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
43126         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43127         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43128         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43129         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43131 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
43133         [BZ #14579]
43134         * elf/rtld.c (dl_main): Limit the check for self loading to normal
43135         mode only.
43136         * elf/tst-rtld-load-self.sh: New test.
43137         * elf/Makefile: Run it.
43139 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
43141         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43142         (tst-writev-ENV): Remove.
43143         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43145 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
43147         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43149 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
43151         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43152         unconditional.
43153         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43154         Likewise.
43155         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43156         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43157         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43158         Likewise.
43160 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
43162         [BZ #14587]
43163         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43164         * config.make.in (have-cpp-asm-debuginfo): Removed.
43165         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43166         * configure: Regenerated.
43168 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
43170         [BZ #5044]
43171         * stdio-common/printf_fp.c: Include <stdbool.h> and
43172         <rounding-mode.h>.
43173         (___printf_fp): Determine rounding using get_rounding_mode and
43174         round_away.
43175         * stdio-common/tst-printf-round.c: New file.
43176         * stdio-common/Makefile (tests): Add tst-printf-round.
43177         (link-libm): New variable.
43178         ($(objpfx)tst-printf-round): Depend in $(link-libm).
43180 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
43182         [BZ #14576]
43183         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43184         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43185         Likewise.
43186         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43187         Likewise.
43189 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
43191         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43192         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43193         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43194         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43196 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
43198         [BZ #14518]
43199         * include/rounding-mode.h: New file.
43200         * sysdeps/generic/get-rounding-mode.h: Likewise.
43201         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43202         * stdlib/strtod_l.c: Include <rounding-mode.h>.
43203         (MAX_VALUE): New macro.
43204         (MIN_VALUE): Likewise.
43205         (overflow_value): New function.
43206         (underflow_value): Likewise.
43207         (round_and_return): Use overflow_value and underflow_value to
43208         determine return values in overflow and underflow cases.  Use
43209         round_away to determine rounding depending on rounding mode.
43210         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43211         determine return values in overflow and underflow cases.
43212         * stdlib/tst-strtod-round.c: Include <fenv.h>.
43213         (struct test_results): New structure.
43214         (struct test): Use struct test_results to store expected results
43215         for all rounding modes.
43216         (TEST): Include expected results for all rounding modes.
43217         (test_in_one_mode): New function.
43218         (do_test): Use test_in_one_mode to compute and check results.
43219         Check results for all rounding modes.
43220         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43221         $(link-libm).
43223 2012-12-09  Allan McRae  <allan@archlinux.org>
43225         * sysdeps/i386/fpu/libm-test-ulps: Update
43227 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
43229         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43230         (_G_int32_t): Likewise.
43231         (_G_uint16_t): Likewise.
43232         (_G_uint32_t): Likewise.
43233         (_G_HAVE_BOOL): Likewise.
43234         (_G_HAVE_ATEXIT): Likewise.
43235         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43236         (_G_HAVE_IO_FILE_OPEN): Likewise.
43237         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43238         (_G_int32_t): Likewise.
43239         (_G_uint16_t): Likewise.
43240         (_G_uint32_t): Likewise.
43241         (_G_HAVE_BOOL): Likewise.
43242         (_G_HAVE_ATEXIT): Likewise.
43243         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43244         (_G_HAVE_IO_FILE_OPEN): Likewise.
43245         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43246         (_G_int32_t): Likewise.
43247         (_G_uint16_t): Likewise.
43248         (_G_uint32_t): Likewise.
43249         (_G_HAVE_BOOL): Likewise.
43250         (_G_HAVE_ATEXIT): Likewise.
43251         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43252         (_G_HAVE_IO_FILE_OPEN): Likewise.
43254 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
43256         * csu/libc-tls.c: Update copyright years.
43258 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
43260         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43261         [!_G_USING_THUNKS]: Remove conditional code.
43262         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43263         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43265         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43266         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43267         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43268         (_G_VTABLE_LABEL_PREFIX): Likewise.
43269         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43270         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43271         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43272         (_G_VTABLE_LABEL_PREFIX): Likewise.
43273         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43274         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43275         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43276         (_G_VTABLE_LABEL_PREFIX): Likewise.
43277         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43279 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
43281         * libio/Makefile: Include ../Makeconfig before tests.
43282         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43283         only if $(build-shared) is yes.
43285         * iconv/gconv_db.c: Update copyright years.
43287 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43289         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43290         unwind info if defined PIC. Fix special cases description.
43291         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43293         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43294         DP_HI_MASK entry.
43295         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43297 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
43299         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43301         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43302         is NULL.
43304         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43305         (LDLIBS-tst-chk4): This.
43306         (LDFLAGS-tst-chk5): Renamed to ...
43307         (LDLIBS-tst-chk5): This.
43308         (LDFLAGS-tst-chk6): Renamed to ...
43309         (LDLIBS-tst-chk6): This.
43310         (LDFLAGS-tst-lfschk4): Renamed to ...
43311         (LDLIBS-tst-lfschk4): This.
43312         (LDFLAGS-tst-lfschk5): Renamed to ...
43313         (LDLIBS-tst-lfschk5): This.
43314         (LDFLAGS-tst-lfschk6): Renamed to ...
43315         (LDLIBS-tst-lfschk6): This.
43317         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43318         on $(common-objpfx)soversions.mk.
43320 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
43322         [BZ #10014]
43323         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43324         example host name.
43326 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43328         * malloc/arena.c (arena_get_retry): New function that gets
43329         another arena for the caller to try its request on.
43330         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43331         current arena cannot fulfill the request.
43332         (__libc_memalign): Likewise.
43333         (__libc_memalign): Likewise.
43334         (__libc_pvalloc): Likewise.
43335         (__libc_calloc): Likewise.
43337 2012-09-05  John Tobey  <john.tobey@gmail.com>
43339         [BZ #13542]
43340         * manual/arith.texi (Operations on Complex): Fix description
43341         of carg branch cut.
43343 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43345         [BZ #10014]
43346         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43347         host name.
43349         [BZ #10038]
43350         * manual/memory.texi (Memory): Make order of menu items match
43351         order of sections.
43353 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43355         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43356         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
43357         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43359 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43361         * csu/libc-tls.c (static_dtv): Renamed to ...
43362         (_dl_static_dtv): This.  Make it global.
43363         (_dl_initial_dtv): Removed.
43364         (__libc_setup_tls): Updated.
43365         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43366         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43367         DL_INITIAL_DTV.
43369 2012-09-06  Petr Machata  <pmachata@redhat.com>
43371         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43372         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43373         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43374         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43376 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43378         [BZ #14545]
43379         * csu/libc-tls.c (_dl_initial_dtv): New variable.
43380         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43381         freeing dtv[-1].
43383 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
43385         [BZ #14544]
43386         * Makeconfig (link-static-before-libc): Replace $(+prector)
43387         with $(+prectorT).
43388         (link-static-after-libc): Replace $(+postctor) with
43389         $(+postctorT).
43390         (link-bounded): Replace $(+prector)/$(+postctor) with
43391         $(+prectorT)/$(+postctorT).
43392         (+prectorT): New macro.
43393         (+postctorT): Likewise.
43395 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
43397         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43398         (round_str): Handle values above the maximum for IBM long double
43399         as inexact.
43400         * stdlib/tst-strtod-round.c (tests): Regenerated.
43402 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43404         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43405         assembler flag.
43406         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43407         zarch_nohighgprs around the zarch optimized routines.
43408         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43409         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43410         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43411         for zarch.
43413 2012-09-05  David S. Miller  <davem@davemloft.net>
43415         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43417         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43418         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43419         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43420         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43421         entries.
43423 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43425         * malloc/arena.c: Fold copyright years.
43426         * malloc/mcheck.c, malloc/memusage.c: Likewise.
43428 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43430         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43432 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43434         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
43436 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43438         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43439         change internal state upon failure.
43441 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
43443         * malloc/mcheck.c (mcheck_check_all): Fix typo.
43444         * malloc/memusage.c (mmap): Likewise.
43445         (mmap64, mremap): Likewise.  Adjust name in comment.
43447 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43449         * libio/fileops.c: Fix typos in comments.
43450         * libio/oldfileops.c: Likewise.
43451         * libio/wfileops.c: Likewise.
43453 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43455         [BZ #1349]
43456         * malloc/Makefile (tests): Add tst-malloc-usable test case.
43457         (tst-malloc-usable-ENV): Set environment for test case.
43458         * malloc/hooks.c (malloc_check_get_size): New function to get
43459         requested size.
43460         * malloc/malloc.c (musable): Use malloc_check_get_size.
43461         * malloc/tst-malloc-usable.c: New test case.
43463 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43465         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43467 2012-09-05  Allan McRae  <allan@archlinux.org>
43469         [BZ #13966]
43470         * configure.in (CXX_SYSINCLUDES): Use compiler output to
43471         determine header location.
43472         * configure: Regenerated.
43474 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43476         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43477         float format.
43478         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43479         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43480         format.
43481         (test): Regenerate.
43483 2012-09-04  David S. Miller  <davem@davemloft.net>
43485         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43486         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43487         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43489 2012-09-04  Florian Weimer  <fweimer@redhat.com>
43491         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43492         failures.
43494         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43496 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43498         [BZ #9914]
43499         * libio/iogetdelim.c: Include <limits.h>.
43500         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43501         + len + 1 would overflow.
43503 2012-09-03  Andreas Jaeger  <aj@suse.de>
43505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43506         * sysdeps/i386/fpu/libm-test-ulps: Update.
43508 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43510         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43511         Add s_sinf-sse2, s_conf-sse2.
43513         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43514         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43515         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43516         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43518         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43519         for using routine as __sinf_ia32.
43520         Use macro for function declaration and weak_alias.
43521         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43522         for using routine as __cosf_ia32.
43523         Use macro for function declaration and weak_alias.
43525         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43526         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43528         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43529         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43530         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43532         * math/libm-test.inc (cos_test): Add more test cases.
43533         (sin_test): Likewise.
43534         (sincos_test): Likewise.
43536 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43538         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43539         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43540         hidden.
43541         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43543 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43545         [BZ #14538]
43546         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43547         first element of the GOT.
43548         (elf_machine_load_address): Return the difference between
43549         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43551 2012-09-01  Allan McRae  <allan@archlinux.org>
43553         [BZ #13412]
43554         * configure.in (AWK): Require gawk version 3.0 or later.
43555         * configure: Regenerated.
43557 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43559         * sysdeps/unix/sysv/linux/kernel-features.h
43560         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43561         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43562         [__NR_clock_getres]: Make code unconditional.
43563         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43564         (clock_getcpuclockid): Remove code left unreachable by removal of
43565         conditionals.
43566         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43567         code unconditional.
43568         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43569         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43570         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43571         Make code unconditional.
43572         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43573         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43574         * sysdeps/unix/sysv/linux/clock_settime.c
43575         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43576         conditional code.
43577         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43578         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43580 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43582         [BZ #14476]
43583         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43584         scripts/test-installation.pl.
43586         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43587         and $ld_so_version if it is set.
43589 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43591         [BZ #14516]
43592         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43593         failure if reading from procfs failed.
43594         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43596 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43598         * sysdeps/unix/sysv/linux/kernel-features.h
43599         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43600         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43601         Remove conditional code.
43602         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43603         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43604         Remove conditional code.
43605         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43606         * sysdeps/unix/sysv/linux/i386/fxstat.c
43607         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43608         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43609         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43610         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43611         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43612         * sysdeps/unix/sysv/linux/i386/lxstat.c
43613         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43614         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43615         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43616         Remove conditional code.
43617         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43618         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43619         Remove conditional code.
43620         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43621         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43622         <kernel-features.h>.
43623         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43624         Remove.
43625         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43626         Remove conditional code.
43627         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43628         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43629         Remove conditional.
43631 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43633         [BZ #5400]
43634         * NEWS: Add fixed bug number.
43636 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43638         [BZ #14519]
43639         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43640         underflowing exponent in case of negative sign.
43641         * stdlib/tst-strtod-round-data: Add more tests.
43642         * stdlib/tst-strtod-round.c (tests): Regenerated.
43644         [BZ #3479]
43645         * stdlib/strtod_l.c (NDIG): Remove.
43646         (HEXNDIG): Likewise.
43647         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43648         smallest representable value.
43649         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43650         lie within an exact representation of 1/2 ulp of the result.
43651         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43652         unconditionally.
43653         (TENS_P9_IDX): Define unconditionally.
43654         (TENS_P9_SIZE): Likewise.
43655         (TENS_P10_IDX): Likewise.
43656         (TENS_P10_SIZE): Likewise.
43657         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43658         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43659         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43660         entries for 10^2^13 and 10^2^14.
43661         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43662         (TENS_P13_IDX): Define.
43663         (TENS_P13_SIZE): Likewise.
43664         (TENS_P14_IDX): Likewise.
43665         (TENS_P14_SIZE): Likewise.
43666         (_fpioconst_pow10): Change array size to
43667         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43668         unconditional.
43669         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43670         1024]: Add entries for 10^2^13 and 10^2^14.
43671         [LAST_POW10 > _LAST_POW10]: Remove #error.
43672         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43673         (_fpioconst_pow10): Change array size to
43674         FPIOCONST_POW10_ARRAY_SIZE.
43675         * stdlib/gen-fpioconst.c: New file.
43676         * stdlib/gen-tst-strtod-round.c: Likewise.
43677         * stdlib/tst-strtod-round-data: Likewise.
43678         * stdlib/tst-strtod-round.c: Likewise.
43679         * stdlib/Makefile (tests): Add tst-strtod-round.
43681         [BZ #14459]
43682         * stdlib/strtod_l.c: Include <stdint.h>.
43683         (NDEBUG): Do not define.
43684         (round_and_return): Change EXPONENT parameter to type intmax_t.
43685         Rearrange calculations to avoid internal overflow possibilities.
43686         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43687         Rearrange calculations to avoid internal overflow possibilities.
43688         Assert that number fits inside MPNSIZE limbs.
43689         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43690         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43691         calculations and add assertions to avoid internal overflow
43692         possibilities.  Add casts to avoid signed/unsigned operations.
43693         * stdlib/tst-strtod-overflow.c: New file.
43694         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43696 2012-08-25  Marek Polacek  <polacek@redhat.com>
43698         * time/time.h: Fix some typos in comments.
43700 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43702         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43703         * posix/tst-rfc3484-2.c: Likewise.
43704         * posix/tst-rfc3484-3.c: Likewise.
43706 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43708         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43709         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43711 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43713         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43714         #include of fxstatat64.c.
43716 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43718         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43719         * shadow/getspent_r.c: Likewise.
43720         * shadow/getspnam.c: Likewise.
43721         * shadow/getspnam_r.c: Likewise.
43722         * gshadow/getsgent.c: Likewise.
43723         * gshadow/getsgent_r.c: Likewise.
43724         * gshadow/getsgnam.c: Likewise.
43725         * gshadow/getsgnam_r.c: Likewise.
43726         * inet/getnetbyad.c: Likewise.
43727         * inet/getnetbyad_r.c: Likewise.
43728         * inet/getnetbynm.c: Likewise.
43729         * inet/getnetbynm_r.c: Likewise.
43730         * inet/getnetent.c: Likewise.
43731         * inet/getnetent_r.c: Likewise.
43732         * inet/getproto.c: Likewise.
43733         * inet/getproto_r.c: Likewise.
43734         * inet/getprtent.c: Likewise.
43735         * inet/getprtent_r.c: Likewise.
43736         * inet/getprtname.c: Likewise.
43737         * inet/getprtname_r.c: Likewise.
43738         * inet/getrpcbyname.c: Likewise.
43739         * inet/getrpcbyname_r.c: Likewise.
43740         * inet/getrpcbynumber.c: Likewise.
43741         * inet/getrpcbynumber_r.c: Likewise.
43742         * inet/getrpcent.c: Likewise.
43743         * inet/getrpcent_r.c: Likewise.
43744         * inet/getaliasent.c: Likewise.
43745         * inet/getaliasent_r.c: Likewise.
43746         * inet/getaliasname.c: Likewise.
43747         * inet/getaliasname_r.c: Likewise.
43748         * nscd/getgrgid_r.c: Likewise.
43749         * nscd/getgrnam_r.c: Likewise.
43750         * nscd/gethstbyad_r.c: Likewise.
43751         * nscd/gethstbynm3_r.c: Likewise.
43752         * nscd/getpwnam_r.c: Likewise.
43753         * nscd/getpwuid_r.c: Likewise.
43754         * nscd/getsrvbynm_r.c: Likewise.
43755         * nscd/getsrvbypt_r.c: Likewise.
43756         * nscd/gai.c: Likewise.
43758         * configure.in (build_nscd): New substituted variable, set
43759         by --disable-build-nscd and defaults to $use_nscd.
43760         * configure: Regenerated.
43761         * config.make.in (build-nscd): New substituted variable.
43762         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43763         Change conditional to require [$(build-nscd) = yes] as well.
43764         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43766         [BZ# 13696]
43767         * configure.in (use_nscd): New substituted variable, set by
43768         --disable-nscd.  If enabled, define USE_NSCD.
43769         * configure: Regenerated.
43770         * config.h.in: Add USE_NSCD.
43771         * config.make.in (use-nscd): New substituted variable.
43772         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43773         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43774         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43775         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43776         (CFLAGS-getgrnam_r.c): Likewise.
43777         (CFLAGS-initgroups.c): Likewise.
43778         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43779         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43780         Variables removed.
43781         * inet/getnetgrent_r.c
43782         (nscd_setnetgrent): New function, broken out of ...
43783         (setnetgrent): ... here.  Call it.
43784         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43785         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43786         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43787         * nscd/Makefile (routines, aux): Move definitions after include of
43788         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43789         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43790         Conditionalize on [USE_NSCD].
43791         (is_nscd, nscd_init_cb): Likewise.
43792         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43793         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43794         * nss/nss_db/db-init.c: Likewise.
43795         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43796         [USE_NSCD].
43797         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43798         (make_request): Use it.
43799         (cache_valid_p): New function.
43800         (__check_pf): Use it.
43801         * NEWS: Add item for --disable-nscd.
43803 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43805         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43806         to support sed >= 4.2.1-20-ga9bf076.
43807         * configure: Regenerated.
43809 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43811         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43812         Conditionalize whole body on [IREL].
43814 2012-08-22  Jeff Law <law@redhat.com>
43816         [BZ #14505]
43817         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43818         if the family is PF_UNSPEC.
43820 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43822         * Makerules (lib-version): Rename from V.
43823         (install-lib-nosubdir): Change V to lib-version.
43825 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43827         [BZ #14252]
43828         * powerpc32/power6/wcschr.c: New file.
43829         * powerpc32/power6/wcscpy.c: New file.
43830         * powerpc32/power6/wcsrchr.c: New file.
43831         * powerpc64/power6/wcschr.c: New file.
43832         * powerpc64/power6/wcscpy.c: New file.
43833         * powerpc64/power6/wcsrchr.c: New file.
43835 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43837         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43838         (two_way_short_needle): Use it.
43839         * string/strstr.c (AVAILABLE1_USES_J): Define.
43840         * string/strcasestr.c: Likewise.
43842         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43843         array references.
43844         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43846         [BZ #11607]
43847         * NEWS: Add an entry.
43848         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43849         define their defaults.
43850         (two_way_short_needle): Detect end-of-string on-the-fly.
43851         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43852         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43853         * string/bug-strcasestr1.c: New test.
43854         * string/Makefile: Run it.
43856 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43858         [BZ #11607]
43859         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43860         the first character.
43862 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43864         * csu/elf-init.c (__libc_csu_irel): Function removed.
43865         * csu/libc-start.c (apply_irel): New function.
43866         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43868 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43870         * sysdeps/unix/sysv/linux/kernel-features.h
43871         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43872         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43873         <kernel-features.h>.
43874         [__NR_fadvise64_64]: Make code unconditional.
43875         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43876         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43877         !__NR_fadvise64_64)]: Likewise.
43878         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43879         !__NR_fadvise64_64))]: Likewise.
43880         [__NR_fadvise64]: Make code unconditional.
43881         [!__NR_fadvise64]: Remove conditional code.
43882         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43883         <kernel-features.h>.
43884         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43885         unconditional.
43886         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43887         conditional code.
43888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43889         not include <kernel-features.h>.
43890         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43891         unconditional.
43892         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43893         conditional code.
43894         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43895         include <kernel-features.h>.
43896         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43897         unconditional.
43898         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43899         conditional code.
43901 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43903         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43904         slight instruction rearrangements per scrollpipe analysis.
43905         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43907 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43909         * manual/syslog.texi (syslog; vsyslog, closelog):
43910         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43911         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43913         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43914         DSOCAPS to match condition on defining it.
43916 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43918         * sysdeps/unix/sysv/linux/kernel-features.h
43919         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43921         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43922         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43924         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43925         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43927         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43928         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43930         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43931         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43933         * sysdeps/unix/sysv/linux/kernel-features.h
43934         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43935         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43936         unconditional.
43937         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43938         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43939         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43940         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43941         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43942         Make code unconditional.
43943         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43944         (__mmap64) [!__NR_mmap2]: Likewise.
43945         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43946         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43947         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43948         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43949         [__NR_mmap2]: Make code unconditional.
43950         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43951         (__mmap64) [!__NR_mmap2]: Likewise.
43953 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43955         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43957 2012-08-18  Andreas Jaeger  <aj@suse.de>
43959         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43961 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43963         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43964         * include/unistd.h (__have_sock_cloexec): Likewise.
43965         (__have_pipe2): Likewise.
43966         (__have_dup3): Likewise.
43968 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43970         [BZ #9685]
43971         * include/unistd.h (__have_pipe2): Change define into an extern int.
43972         (__have_dup3): Likewise.
43973         * socket/have_sock_cloexec.c: Include fcntl.h.
43974         (__have_pipe2): New variable.
43975         (__have_dup3): Likewise.
43977 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43979         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43981 2012-08-17  Marek Polacek  <polacek@redhat.com>
43983         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43984         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43986 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43988         * configure.in: Add AC_SUBST for sysheaders.
43989         * configure: Regenerated.
43990         * config.make.in (sysheaders): New substituted variable.
43992         * sysdeps/unix/mkfifo.c: Moved ...
43993         * sysdeps/posix/mkfifo.c: ... here.
43994         * sysdeps/unix/mkfifoat.c: Moved ...
43995         * sysdeps/posix/mkfifoat.c: ... here.
43997         * sysdeps/unix/utime.c: Moved ...
43998         * sysdeps/posix/utime.c: ... here.
44000         * sysdeps/unix/time.c: Moved ...
44001         * sysdeps/posix/time.c: ... here.
44002         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44003         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44005         * sysdeps/unix/nice.c: Moved ...
44006         * sysdeps/posix/nice.c: ... here.
44008         * sysdeps/unix/alarm.c: Moved ...
44009         * sysdeps/posix/alarm.c: ... here.
44011         * intl/Makefile ($(codeset_mo)): Depend on the input file.
44013 2012-08-17  Jeff Law <law@redhat.com>
44015         * intl/Makefile (codeset_mo): New variable.
44016         ($(codeset_mo)): New target.
44017         (tst-codeset.out): Depend on that.  Remove explicit rule.
44018         (tst-gettext3.out, tst-gettext5.out): Likewise.
44019         (LOCPATH-ENV, tst-codeset-ENV): New variables.
44020         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44021         * intl/tst-codeset.sh: Remove.
44022         * intl/tst-gettext3.sh: Likewise.
44023         * intl/tst-gettext5.sh: Likewise.
44025 2012-08-17  Roland McGrath  <roland@hack.frob.com>
44027         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
44028         * sysdeps/unix/syscalls.list: ... here.
44030         * sysdeps/posix/getaddrinfo.c
44031         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44032         (gaiconf_init, gaiconf_reload): Use them.
44033         [!_STATBUF_ST_NSEC]
44034         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44035         Define using time_t rather than struct timespec.
44037         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44038         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44039         Macros removed.
44040         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44041         [!NO_THREADS].
44042         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44043         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44044         Likewise.
44046         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44047         __libc_cleanup_push argument.
44049         * bits/param.h: New file.
44050         * misc/sys/param.h: New file.
44051         * include/sys/param.h: New file.
44052         * misc/Makefile (headers): Add bits/param.h.
44053         * sysdeps/generic/sys/param.h: File removed.
44054         * sysdeps/unix/sysv/linux/bits/param.h: New file.
44055         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44056         * sysdeps/mach/hurd/bits/param.h: New file.
44057         * sysdeps/mach/hurd/sys/param.h: File removed.
44059         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44060         last change.
44062         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44063         [_IO_MTSAFE_IO].
44064         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44065         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44066         New macros.
44068         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44069         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44070         rather than -D_IO_MTSAFE_IO conditionally.
44071         * stdio-common/Makefile (CPPFLAGS): Likewise.
44072         * wcsmbs/Makefile (CPPFLAGS): Likewise.
44073         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44074         Use $(libio-mtsafe).
44075         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44076         of -D_IO_MTSAFE_IO.
44077         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44078         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44079         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44080         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44081         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44082         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44083         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44084         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44085         (CFLAGS-fread_u_chk.c): Likewise.
44086         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44087         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44088         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44089         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44090         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44091         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44092         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44093         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44094         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44096         * libio/Makefile: Test [$(libc-reentrant) = yes]
44097         instead of [$(filter %REENTRANT, $(defines)) nonempty].
44099         * Makeconfig
44100         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44101         * sysdeps/pthread/configure: File removed.
44102         * sysdeps/pthread/Makeconfig: New file.
44103         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44104         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44106 2012-08-16  Gary Benson  <gbenson@redhat.com>
44108         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44109         unmapping the first object in a namespace.
44111 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44113         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44114         (__internal_setnetgrent): ... this.  Add internal_function to
44115         definition.  Add libc_hidden_def.
44116         (setnetgrent): Update caller.
44117         (internal_endnetgrent): Renamed to ...
44118         (__internal_endnetgrent): ... this.  Add internal_function to
44119         definition.  Add libc_hidden_def.
44120         (endnetgrent): Update caller.
44121         (internal_getnetgrent_r): Renamed to ...
44122         (__internal_getnetgrent_r): ... this.  Add internal_function to
44123         definition.  Add libc_hidden_def.
44124         (__getnetgrent_r): Update caller.
44125         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
44127 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44129         * stdlib/longlong.h: Update from GCC.
44131 2012-08-16  Roland McGrath  <roland@hack.frob.com>
44133         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44134         on _QL, which is set by umul_ppmm but never used.
44135         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44136         variables, which are set by GMP macros but never used.
44137         * stdio-common/_itowa.c (_itowa): Likewise.
44138         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44139         * stdlib/mod_1.c (mpn_mod_1): Likewise.
44141 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
44143         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44144         struct La_sh_regs is not constant.
44145         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44146         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44147         and struct La_sparc64_regs are not constant.
44149 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
44151         * sysdeps/unix/sysv/linux/kernel-features.h
44152         (__ASSUME_POSIX_TIMERS): Remove.
44153         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44154         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44155         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44156         Make code unconditional.
44157         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44158         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44159         Make code unconditional.
44160         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44161         * sysdeps/unix/sysv/linux/clock_nanosleep.c
44162         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44163         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44164         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44165         Make code unconditional.
44166         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44167         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44168         (__libc_missing_posix_timers): Remove.
44170 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44172         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44173         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44175         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44177         * elf/dl-sym.c: Include <stdlib.h>.
44179         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44180         constants, which avoids warnings in 32-bit builds.
44182         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44183         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44185         * misc/lseek.c: File moved to ...
44186         * io/lseek.c: ... here.
44188         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44190         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44191         shifting LEN more than 31 bits at once.
44193 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44195         [BZ #14195]
44196         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44197         segmentation fault for a case of two empty input strings.
44198         * string/test-strncasecmp.c (check1): Renamed to...
44199         (bz12205): ...this.
44200         (bz14195): Add new testcase for two empty input strings and N > 0.
44201         (test_main): Call new testcase, adapt for renamed function.
44203 2012-08-15  Andreas Jaeger  <aj@suse.de>
44205         [BZ #14090]
44206         * crypt/md5test2.c: New test, based on test supplied by Serge
44207         Belyshev <belyshev@depni.sinp.msu.ru>.
44208         * crypt/Makefile (xtests): Add md5test-giant..
44209         * crypt/Makefile ($(objpfx)md5test-giant): Add.
44211 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
44213         [BZ #14090]
44214         * crypt/md5.c (md5_process_block): Don't assume the buffer
44215         length is less than 2**32.
44216         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44217         length is less than 2**64.
44219 2012-08-15  Roland McGrath  <roland@hack.frob.com>
44221         * string/str-two-way.h: Include <sys/param.h>.
44222         (MAX): Macro removed.
44224         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44225         Move #define and #undef of memmove to just before and after
44226         including <string.h>.
44228         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44229         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44230         and after including <string.h>.  Move declarations of
44231         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44232         to before #include "string/memmove.c".
44234         * include/dirent.h: Declare __getdirentries.
44236         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44237         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44239 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
44241         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44242         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44243         * sysdeps/i386/configure: Regenerated.
44244         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44245         STABS_CURRENT_FILE, and STABS_FUN.
44246         (END): Remove call to STABS_FUN_END.
44247         (STABS_CURRENT_FILE1): Delete.
44248         (STABS_CURRENT_FILE): Likewise.
44249         (STABS_FUN): Likewise.
44250         (STABS_FUN_END): Likewise.
44251         (STABS_FUN2): Likewise.
44252         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44253         * sysdeps/x86_64/configure: Regenerated.
44255 2012-08-14  Roland McGrath  <roland@hack.frob.com>
44257         * elf/dl-open.c: Include <atomic.h>.
44258         * elf/dl-lookup.c: Likewise.
44260 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
44262         * sysdeps/unix/sysv/linux/kernel-features.h
44263         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44264         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44265         unconditionally.
44266         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44267         unconditionally.
44268         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44269         condition on __ASSUME_CLONE_THREAD_FLAGS.
44271 2012-08-14  Andreas Jaeger  <aj@suse.de>
44273         * sysdeps/i386/fpu/libm-test-ulps: Update.
44275 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
44277         * include/atomic.h (atomic_exchange_and_add): Split into ...
44278         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44279         New atomic macros.
44281 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
44283         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44285 2012-08-13  Jeff Law <law@redhat.com>
44287         * manual/stdio.texi (snprintf): Clarify handling of the trailing
44288         null byte in the output string.
44290 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
44292         * sysdeps/unix/sysv/linux/kernel-features.h
44293         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44294         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44295         (__ASSUME_ARG_MAX_STACK_BASED): Define.
44296         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44297         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44298         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
44299         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44301 2012-08-09  Jeff Law <law@redhat.com>
44303         [BZ #13939]
44304         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44305         When avoid_arena is set, don't retry in the that arena.  Pick the
44306         next one, whatever it might be.
44307         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44308         (arena_lock): Pass in new parameter to arena_get2.
44309         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44310         arena_get2.
44311         (__libc_malloc): Unify retrying after main arena failure with
44312         __libc_memalign version.
44313         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44315 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
44317         [BZ #14166]
44318         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44319         to __redirect_strstr.
44320         (__strstr_sse42): Use typeof __redirect_strstr.
44321         (__strstr_ia32): Likewise.
44322         (__libc_strstr): New prototype.
44323         (strstr): Renamed to ...
44324         (__libc_strstr): This.
44325         (strstr): New strong alias of __libc_strstr.
44326         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44327         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44328         __redirect_time.
44329         Include <time.h>.
44330         (__libc_time): New prototype.
44331         (time_ifunc): Replace time with __libc_time.
44332         (time): New strong alias and hidden definition of __libc_time.
44333         (__GI_time): Remove strong alias.
44334         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44335         Include <stddef.h>.
44336         (memmove): Redefined to __redirect_memmove.
44337         (__memmove_sse2): Use typeof __redirect_memmove.
44338         (__memmove_ssse3): Likewise.
44339         (__memmove_ssse3_back): Likewise.
44340         (__libc_memmove): New prototype.
44341         (memmove): Renamed to ...
44342         (__libc_memmove): This.
44343         (memmove): New strong alias of __libc_memmove.
44345 2012-08-08  Mark Salter  <msalter@redhat.com>
44347         * elf/elf.h
44348         (R_MN10300_TLS_GD): Define.
44349         (R_MN10300_TLS_LD): Likewise.
44350         (R_MN10300_TLS_LDO): Likewise.
44351         (R_MN10300_TLS_GOTIE): Likewise.
44352         (R_MN10300_TLS_IE): Likewise.
44353         (R_MN10300_TLS_LE): Likewise.
44354         (R_MN10300_TLS_DTPMOD): Likewise.
44355         (R_MN10300_TLS_DTPOFF): Likewise.
44356         (R_MN10300_TLS_TPOFF): Likewise.
44357         (R_MN10300_SYM_DIFF): Likewise.
44358         (R_MN10300_ALIGN): Likewise.
44359         (R_MN10300_NUM): Update.
44361 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
44363         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44364         Remove.
44366 2012-08-08  Roland McGrath  <roland@hack.frob.com>
44368         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44370         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44371         sysdeps/unix -> sysdeps/posix move.
44372         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44374 2012-08-07      Allan McRae     <allan@archlinux.org>
44376         [BZ #14303]
44377         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44378         (SUNOS_CPP): Likewise.
44379         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44380         not found.
44381         (open_input): Call CPP using execvp.
44383 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44385         * sysdeps/unix/sysv/linux/kernel-features.h
44386         (__ASSUME_PROT_GROWSUPDOWN): Remove.
44387         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44388         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44389         (__ASSUME_WAITID_SYSCALL): Likewise.
44390         * sysdeps/unix/sysv/linux/dl-execstack.c
44391         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44392         code unconditional.
44393         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44394         conditional code.
44395         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44396         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44397         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44398         code.
44399         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44400         unconditional.
44401         [__ASSUME_WAITID_SYSCALL]: Likewise.
44402         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44404 2012-08-07  Roland McGrath  <roland@hack.frob.com>
44406         * sysdeps/unix/closedir.c: Renamed to ...
44407         * sysdeps/posix/closedir.c: ... here.
44408         * sysdeps/unix/dirfd.c: Renamed to ...
44409         * sysdeps/posix/dirfd.c: ... here.
44410         * sysdeps/unix/dirstream.h: Renamed to ...
44411         * sysdeps/posix/dirstream.h: ... here.
44412         * sysdeps/unix/fdopendir.c: Renamed to ...
44413         * sysdeps/posix/fdopendir.c: ... here.
44414         * sysdeps/unix/opendir.c: Renamed to ...
44415         * sysdeps/posix/opendir.c: ... here.
44416         * sysdeps/unix/readdir.c: Renamed to ...
44417         * sysdeps/posix/readdir.c: ... here.
44418         * sysdeps/unix/readdir_r.c: Renamed to ...
44419         * sysdeps/posix/readdir_r.c: ... here.
44420         * sysdeps/unix/rewinddir.c: Renamed to ...
44421         * sysdeps/posix/rewinddir.c: ... here.
44422         * sysdeps/unix/seekdir.c: Renamed to ...
44423         * sysdeps/posix/seekdir.c: ... here.
44424         * sysdeps/unix/telldir.c: Renamed to ...
44425         * sysdeps/posix/telldir.c: ... here.
44426         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44427         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44428         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44429         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44431         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44432         * bits/fcntl.h: ... here.
44434         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44435         not 0.
44436         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44437         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44438         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44439         (struct flock): Move l_start, l_len to the beginning.
44440         Use __pid_t for l_pid.
44441         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44442         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44443         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44444         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44445         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44446         [__USE_LARGEFILE64] (struct flock64): New type.
44447         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44449         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44450         * bits/dirent.h: ... here.
44452         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44453         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44455 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
44457         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44458         Change from 2.6.0 to 2.6.16.
44459         * sysdeps/unix/sysv/linux/configure: Regenerated.
44460         * sysdeps/unix/sysv/linux/kernel-features.h
44461         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44462         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44463         version.
44464         (__ASSUME_UTIMES): Likewise.
44465         (__ASSUME_CLONE_STOPPED): Remove.
44466         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44467         architectures, not kernel version.
44468         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44469         (__ASSUME_NO_CLONE_DETACHED): Likewise.
44470         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44471         (__ASSUME_WAITID_SYSCALL): Likewise.
44472         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44473         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44474         * README: State 2.6.16 as minimum Linux kernel version.  Do not
44475         refer to older versions.
44477 2012-08-06  Roland McGrath  <roland@hack.frob.com>
44479         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44480         Define alphasort64 as an alias.
44481         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44482         Define versionsort64 as an alias.
44483         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44484         Define scandir64 as an alias.
44485         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44486         Define scandirat64 as an alias.
44487         * dirent/alphasort64.c (alphasort64):
44488         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44489         * dirent/versionsort64.c: Likewise.
44490         * dirent/scandir64.c: Likewise.
44491         * dirent/scandirat64.c: Likewise.
44492         * sysdeps/wordsize-64/alphasort.c: File removed.
44493         * sysdeps/wordsize-64/alphasort64.c: File removed.
44494         * sysdeps/wordsize-64/scandir.c: File removed.
44495         * sysdeps/wordsize-64/scandir64.c: File removed.
44496         * sysdeps/wordsize-64/scandirat.c: File removed.
44497         * sysdeps/wordsize-64/scandirat64.c: File removed.
44498         * sysdeps/wordsize-64/versionsort.c: File removed.
44499         * sysdeps/wordsize-64/versionsort64.c: File removed.
44500         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44501         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44502         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44503         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44504         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44505         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44506         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44507         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44509         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44510         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44511         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44512         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44513         [defined __arch64__ || defined __sparcv9]
44514         (__INO_T_MATCHES_INO64_T): New macro.
44515         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44516         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44517         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44518         * sysdeps/unix/sysv/linux/bits/dirent.h
44519         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44520         (_DIRENT_MATCHES_DIRENT64): New macro.
44522         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44523         Define lockf64 as an alias.
44524         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44525         Define fseeko64 as an alias.
44526         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44527         Define ftello64 as an alias.
44528         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44529         Define _IO_fgetpos64 and fgetpos64 as aliases.
44530         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44531         Define _IO_fsetpos64 and fsetpos64 as aliases.
44532         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44533         Conditionalize body on this.
44534         * libio/fseeko64.c: Likewise.
44535         * libio/ftello64.c: Likewise.
44536         * libio/iofgetpos64.c: Likewise.
44537         * libio/iofsetpos64.c: Likewise.
44538         * sysdeps/wordsize-64/lockf.c: File removed.
44539         * sysdeps/wordsize-64/lockf64.c: File removed.
44540         * sysdeps/wordsize-64/fseeko.c: File removed.
44541         * sysdeps/wordsize-64/fseeko64.c: File removed.
44542         * sysdeps/wordsize-64/ftello.c: File removed.
44543         * sysdeps/wordsize-64/ftello64.c: File removed.
44544         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44545         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44546         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44547         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44548         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44549         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44550         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44551         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44552         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44553         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44554         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44555         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44556         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44557         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44559         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44560         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44561         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44562         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44563         [defined __arch64__ || defined __sparcv9]
44564         (__OFF_T_MATCHES_OFF64_T): New macro.
44565         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44566         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44567         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44568         (__OFF_T_MATCHES_OFF64_T): New macro.
44570 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44572         * stdlib/secure-getenv.c (__secure_getenv): Replace
44573         GLIBC_2_16 with GLIBC_2_17.
44575 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44577         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44578         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44580 2012-08-03  David S. Miller  <davem@davemloft.net>
44582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44584 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44586         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44587         Remove.
44588         (__ASSUME_CORRECT_SI_PID): Likewise.
44589         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44590         (__ASSUME_TMPFS_NAME): Likewise.
44591         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44592         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44593         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44594         (HAVE_AUX_SECURE): Make definition unconditional.
44595         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44596         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44598 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44600         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44601         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44602         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44603         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44604         __eloop_threshold instead of SYMLOOP_MAX.
44606         * sysdeps/generic/eloop-threshold.h: New file.
44607         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44608         of MAXSYMLINKS.
44609         * elf/chroot_canon.c (chroot_canon): Likewise.
44611 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44613         [BZ #13717]
44614         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44615         Change to 2.6.0 everywhere.
44616         * sysdeps/unix/sysv/linux/configure: Regenerated.
44617         * sysdeps/unix/sysv/linux/kernel-features.h
44618         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44619         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44620         kernel versions.
44621         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44622         (__ASSUME_FUTEX_REQUEUE): Remove.
44623         (__ASSUME_STATFS64): Define unconditionally.
44624         (__ASSUME_AT_SECURE): Likewise.
44625         (__ASSUME_CORRECT_SI_PID): Likewise.
44626         (__ASSUME_TGKILL): Define without depending on kernel version for
44627         i386.
44628         (__ASSUME_UTIMES): Likewise.
44629         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44630         kernel version.
44631         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44632         (__ASSUME_TMPFS_NAME): Likewise.
44633         * README: Update reference to Linux kernel versions.
44635 2012-08-02  Marek Polacek  <polacek@redhat.com>
44637         [BZ# 14150]
44638         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44639         libc_cv_asm_type_prefix with %.
44640         * configure: Regenerated.
44641         * include/libc-symbols.h: Remove comment about
44642         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44643         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44644         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44645         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44646         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44647         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44648         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44649         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44650         * elf/tst-unique2mod1.c: Likewise.
44651         * elf/tst-unique1mod2.c: Likewise.
44652         * elf/tst-unique1mod1.c: Likewise.
44653         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44654         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44655         Replace ASM_TYPE_DIRECTIVE with .type.
44656         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44657         * sysdeps/i386/sysdep.h: Likewise.
44658         * sysdeps/x86_64/sysdep.h: Likewise.
44659         * sysdeps/sh/sysdep.h: Likewise.
44660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44661         Do not define ASM_TYPE_DIRECTIVE.
44662         * sysdeps/powerpc/sysdep.h: Likewise.
44663         * sysdeps/powerpc/powerpc32/sysdep.h:
44664         Replace ASM_TYPE_DIRECTIVE with .type.
44665         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44666         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44667         * sysdeps/i386/fpu/e_powf.S: Likewise.
44668         * sysdeps/i386/fpu/e_expl.S: Likewise.
44669         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44670         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44671         * sysdeps/i386/fpu/e_pow.S: Likewise.
44672         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44673         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44674         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44675         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44676         * sysdeps/i386/fpu/e_log2.S: Likewise.
44677         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44678         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44679         * sysdeps/i386/fpu/e_powl.S: Likewise.
44680         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44681         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44682         * sysdeps/i386/fpu/e_logl.S: Likewise.
44683         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44684         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44685         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44686         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44687         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44688         * sysdeps/i386/fpu/e_log.S: Likewise.
44689         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44690         * sysdeps/i386/fpu/e_logf.S: Likewise.
44691         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44692         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44693         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44694         * sysdeps/i386/fpu/e_log10.S: Likewise.
44695         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44696         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44697         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44698         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44699         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44700         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44701         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44702         * sysdeps/i386/i686/strtok.S: Likewise.
44703         * sysdeps/i386/i386-mcount.S: Likewise.
44704         * sysdeps/i386/strtok.S: Likewise.
44705         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44706         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44707         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44708         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44709         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44710         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44711         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44712         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44713         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44714         * sysdeps/x86_64/_mcount.S: Likewise.
44715         * sysdeps/x86_64/strtok.S: Likewise.
44716         * sysdeps/sh/_mcount.S: Likewise.
44718 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44720         * libio/iofopen.c: Include <fcntl.h>.
44721         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44722         (_IO_fopen64, fopen64): Define as aliases.
44723         * libio/iofopen64.c: Include <fcntl.h>.
44724         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44725         Conditionalize body on this.
44726         * sysdeps/wordsize-64/iofopen.c: File removed.
44727         * sysdeps/wordsize-64/iofopen64.c: File removed.
44729 2012-08-01  Marek Polacek  <polacek@redhat.com>
44731         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44732         Use dlfcn directly instead of a variable.
44733         (binfmt-subdir): Do not define.
44734         (dlfcn): Likewise.
44736 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44738         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44739         Remove all definitions.
44740         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44741         <kernel-features.h>.
44742         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44743         (miss_F_GETOWN_EX): Remove all definitions.
44744         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44745         macro definition.
44746         [!__ASSUME_FCNTL64]: Remove conditional code.
44747         [__ASSUME_FCNTL64]: Make code unconditional.
44748         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44749         <kernel-features.h>.
44750         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44751         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44752         (lockf64) [__NR_fcntl64]: Make code unconditional.
44753         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44755         * sysdeps/unix/sysv/linux/kernel-features.h
44756         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44757         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44758         Make code unconditional.
44759         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44760         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44762         [__NR_vfork]: Make code unconditional.
44763         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44764         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44766         [__NR_vfork]: Make code unconditional.
44767         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44768         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44770 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44772         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44773         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44775         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44776         Define mkstemp64 as an alias.
44777         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44778         Define mkstemps64 as an alias.
44779         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44780         Define mkostemp64 as an alias.
44781         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44782         Define mkostemps64 as an alias.
44783         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44784         Conditionalize body on this.
44785         * misc/mkostemp64.c: Likewise.
44786         * misc/mkostemps64.c: Likewise.
44787         * misc/mkstemps64.c: Likewise.
44788         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44789         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44790         * sysdeps/wordsize-64/mkostemp.c: File removed.
44791         * sysdeps/wordsize-64/mkstemp.c: File removed.
44792         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44793         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44794         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44795         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44797         [BZ #14138]
44798         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44799         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44800         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44801         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44803         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44804         compat_symbol macros from <shlib-compat.h> rather than the underlying
44805         default_symbol_version and symbol_version macros, so that DEFAULT
44806         lines in shlib-versions are respected.
44807         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44809 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44811         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44812         Declare with warn_unused_result.
44813         (setgid, setregid, setegid, setresgid): Likewise.
44814         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44815         Likewise.
44816         * WUR-REPORT: Remove set*id functions.
44818 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44820         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44822 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44824         [BZ #10191]
44825         * include/sys/socket.h (__libc_accept, __libc_accept4):
44826         Add attribute_hidden.
44827         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44829         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44830         use of PTR_MANGLE.
44831         * inet/getnetgrent_r.c (setup): Likewise.
44833         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44835 2012-07-31  David S. Miller  <davem@davemloft.net>
44837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44839 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44841         [BZ #13629]
44842         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44843         value between 1.0 and 2.0 and smaller part has absolute value less
44844         than 1.0.
44845         * math/s_clog10.c (__clog10): Likewise.
44846         * math/s_clog10f.c (__clog10f): Likewise.
44847         * math/s_clog10l.c (__clog10l): Likewise.
44848         * math/s_clogf.c (__clogf): Likewise.
44849         * math/s_clogl.c (__clogl): Likewise.
44850         * math/libm-test.inc (clog_test): Add more tests.
44851         (clog10_test): Likewise.
44852         * sysdeps/i386/fpu/libm-test-ulps: Update.
44853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44855 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44857         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44858         Exit with zero in case no suitable GID is found, and write a
44859         message to standard error.
44861 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44863         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44864         rather than to 1.
44865         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44866         (MAXPATHLEN): Removed.
44867         (NOGROUP, NODEV): New macros.
44868         (setbit, clrbit, isset, isclr): New macros.
44869         (howmany, roundup, powerof2): New macros.
44870         (DEV_BSIZE): New macro.
44872         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44873         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44875         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44876         definition on [!__NO_LONG_DOUBLE_MATH].
44878         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44879         PTR_MANGLE and PTR_DEMANGLE.
44881         * socket/accept4.c (accept4): Rename to __libc_accept4.
44882         Define accept4 as a weak alias.
44884         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44885         on [_DIRENT_HAVE_D_TYPE].
44886         * io/ftw.c (ftw_dir): Likewise.
44888         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44890         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44892         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44893         Use the BSD numbers rather than the arbitrary ones we had.
44894         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44895         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44896         (SIGXCPU, SIGXFSZ): New macros.
44897         (_NSIG): Now 32.
44899         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44900         initializer on [_LIBC_REENTRANT].
44902         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44903         definitions inside [_POSIX_MAPPED_FILES].
44905         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44907         * dirent/opendir.c: Include <fcntl.h>.
44909         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44910         (__libc_getspecific): Likewise.
44911         (__libc_key_create): Likewise.
44913         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44914         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44915         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44916         (tmpfile64): Define as alias.
44917         * sysdeps/wordsize-64/tmpfile.c: File removed.
44918         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44919         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44920         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44922         * stdio-common/vfscanf.c: Include <stdbool.h>.
44923         * nss/makedb.c: Likewise.
44924         * stdio-common/_i18n_number.h: Likewise.
44925         * argp/argp-help.c: Likewise.
44926         * posix/wordexp.c: Likewise.
44927         * sysdeps/posix/spawni.c: Likewise.
44928         * nss/nss_files/files-initgroups.c: Likewise.
44929         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44930         * nss/nss_files/files-initgroups.c: Likewise.
44931         * nss/nss_db/db-netgrp.c: Likewise.
44932         * nss/nss_db/db-initgroups.c: Likewise.
44933         * io/fchmodat.c: Include <sys/stat.h>.
44935         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44936         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44938         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44939         [HAVE_MMAP].
44941         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44942         Add multiple inclusion protection.
44944 2012-07-27  David S. Miller  <davem@davemloft.net>
44946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44948 2012-07-27  Gary Benson  <gbenson@redhat.com>
44950         [BZ #14298]
44951         * elf/rtld.c: Include <stap-probe.h>.
44952         (dl_main): Added static probes "init_start" and "init_complete".
44953         * elf/dl-load.c: Include <stap-probe.h>.
44954         (lose): Take new parameter "nsid".
44955         Added static probe "map_failed".
44956         (_dl_map_object_from_fd): Pass namespace id to lose.
44957         Added static probe "map_start".
44958         (open_verify): Pass namespace id to lose.
44959         * elf/dl-open.c: Include <stap-probe.h>.
44960         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44961         and "reloc_complete".
44962         * elf/dl-close.c: Include <stap-probe.h>.
44963         (_dl_close_worker): Added static probes "unmap_start" and
44964         "unmap_complete".
44965         * elf/rtld-debugger-interface.txt: New file documenting the above.
44967 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44969         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44970         rather than a string variable.
44971         * sunrpc/rpc_main.c (h_output): Likewise.
44972         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44974 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44976         * inet/check_native.c: New file.
44978 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44980         [BZ #13629]
44981         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44982         if larger part has absolute value 1.0.
44983         * math/s_clog10.c (__clog10): Likewise.
44984         * math/s_clog10f.c (__clog10f): Likewise.
44985         * math/s_clog10l.c (__clog10l): Likewise.
44986         * math/s_clogf.c (__clogf): Likewise.
44987         * math/s_clogl.c (__clogl): Likewise.
44988         * math/libm-test.inc (clog_test): Add more tests.
44989         (clog10_test): Likewise.
44990         * sysdeps/i386/fpu/libm-test-ulps: Update.
44991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44993         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44994         (pltexit): Likewise.
44995         (La_regs): Likewise.
44996         (La_retval): Likewise.
44997         (int_retval): Likewise.
44998         Update #error for removed macros to refer only to definitions in
44999         tst-audit.h.
45000         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45001         macro.
45002         (pltexit): Likewise.
45003         (La_regs): Likewise.
45004         (La_retval): Likewise.
45005         (int_retval): Likewise.
45006         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45007         macro.
45008         (pltexit): Likewise.
45009         (La_regs): Likewise.
45010         (La_retval): Likewise.
45011         (int_retval): Likewise.
45012         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45013         macro.
45014         (pltexit): Likewise.
45015         (La_regs): Likewise.
45016         (La_retval): Likewise.
45017         (int_retval): Likewise.
45018         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45019         macro.
45020         (pltexit): Likewise.
45021         (La_regs): Likewise.
45022         (La_retval): Likewise.
45023         (int_retval): Likewise.
45024         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45025         macro.
45026         (pltexit): Likewise.
45027         (La_regs): Likewise.
45028         (La_retval): Likewise.
45029         (int_retval): Likewise.
45030         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45031         macro.
45032         (pltexit): Likewise.
45033         (La_regs): Likewise.
45034         (La_retval): Likewise.
45035         (int_retval): Likewise.
45036         * sysdeps/generic/tst-audit.h: Update comment to refer only to
45037         macro definitions in tst-audit.h.
45038         * sysdeps/i386/tst-audit.h: New file.
45039         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45040         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45041         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45042         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45043         * sysdeps/sh/tst-audit.h: Likewise.
45044         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45045         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45046         * sysdeps/x86_64/tst-audit.h: Likewise.
45048 2012-07-26  Andreas Jaeger  <aj@suse.de>
45050         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45051         ptrace.
45053         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45054         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45055         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45056         PTRACE_O_MASK.
45057         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45058         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45059         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45061         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45062         value.
45064         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45065         _sigsys.
45066         (si_call_addr, si_syscall, si_arch): Define new macro.
45067         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45068         _sigsys.
45069         (si_call_addr, si_syscall, si_arch): Define new marcro.
45070         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45071         _sigsys.
45072         (si_call_addr, si_syscall, si_arch): Define new macro.
45073         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45074         _sigsys.
45075         (si_call_addr, si_syscall, si_arch): Define new macro.
45077 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45079         [BZ #13717]
45080         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45081         Change to 2.4.21 where previously 2.4.1.
45082         * sysdeps/unix/sysv/linux/configure: Regenerated.
45083         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45084         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45085         Linux kernel version.
45086         (__ASSUME_STD_AUXV): Remove.
45087         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45088         kernel version.
45089         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45090         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45091         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45092         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45093         (__ASSUME_NETLINK_SUPPORT): Likewise.
45094         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45095         (__no_netlink_support): Remove conditional definition.
45096         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45097         Remove.
45098         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45099         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45100         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45101         (if_nameindex_ioctl): Remove.
45102         (if_nameindex_netlink): Do not handle __no_netlink_support.
45103         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45104         code.
45105         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45106         Remove conditional code.
45107         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45108         code.
45109         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45110         unconditional.
45111         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45112         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45113         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45114         Remove.
45115         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45116         [!__ASSUME_STD_AUXV]: Remove conditional code.
45117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45118         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45119         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45121         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45122         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45123         code.
45124         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45126         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45127         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45128         conditional code.
45129         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45131         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45132         code.
45133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45134         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45135         conditional code.
45136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45137         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45138         code unconditional.
45139         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45140         conditional code.
45141         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45142         unconditional.
45143         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45144         conditional code.
45145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45146         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45147         unconditional.
45148         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45149         conditional code.
45150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45151         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45152         code unconditional.
45153         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45154         conditional code.
45155         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45156         unconditional.
45157         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45158         conditional code.
45159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45160         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45161         code unconditional.
45162         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45163         conditional code.
45164         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45165         unconditional.
45166         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45167         conditional code.
45169 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
45171         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45172         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45173         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45174         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45175         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45176         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45177         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45178         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45179         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45180         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45181         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45182         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45183         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45184         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45185         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45186         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45187         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45188         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45189         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45190         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45191         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45192         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45193         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45195 2012-07-25  Florian Weimer  <fweimer@redhat.com>
45197         * Versions.def: Add GLIBC_2.17.
45198         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45199         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45200         Introduce __libc_secure_getenv.
45201         * stdlib/Versions (2.17): Add secure_getenv
45202         (GLIBC_PRIVATE): Add __libc_secure_getenv.
45203         * stdlib/secure-getenv.c: Rename __secure_getenv to
45204         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
45205         symbol __secure_getenv for GLIBC_2.0.
45206         * stdlib/tst-secure-getenv.c: New.
45207         * stdlib/Makefile (tests): Add testcase.
45208         * manual/startup.texi (Environment Access): Document
45209         secure_getenv.
45210         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45211         __libc_secure_getenv.
45212         * inet/ruserpass.c (ruserpass): Likewise.
45213         * malloc/mtrace.c (mtrace): Likewise.
45214         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45215         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45216         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45217         * sysdeps/posix/tempname.c: Likewise.  Evaluate
45218         HAVE_SECURE_GETENV.
45219         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45220         __secure_getenv to __libc_secure_getenv.
45221         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45223         Likewise.
45224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45225         Likewise.
45226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45228         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45231         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45234 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
45236         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45237         (struct La_i86_retval): Likewise.
45238         (struct La_x86_64_regs): Likewise.
45239         (struct La_x86_64_retval): Likewise.
45240         (struct La_x32_regs): Likewise.
45241         (struct La_x32_retval): Likewise.
45242         (struct La_ppc32_regs): Likewise.
45243         (struct La_ppc32_retval): Likewise.
45244         (struct La_ppc64_regs): Likewise.
45245         (struct La_ppc64_retval): Likewise.
45246         (struct La_sh_regs): Likewise.
45247         (struct La_sh_retval): Likewise.
45248         (struct La_s390_32_regs): Likewise.
45249         (struct La_s390_32_retval): Likewise.
45250         (struct La_s390_64_regs): Likewise.
45251         (struct La_s390_64_retval): Likewise.
45252         (struct La_sparc32_regs): Likewise.
45253         (struct La_sparc32_retval): Likewise.
45254         (struct La_sparc64_regs): Likewise.
45255         (struct La_sparc64_retval): Likewise.
45256         (struct audit_ifaces): Remove architecture-specific pltenter and
45257         pltexit members.
45258         * sysdeps/i386/ldsodefs.h: New file.
45259         * sysdeps/powerpc/ldsodefs.h: Likewise.
45260         * sysdeps/s390/ldsodefs.h: Likewise.
45261         * sysdeps/sh/ldsodefs.h: Likewise.
45262         * sysdeps/sparc/ldsodefs.h: Likewise.
45263         * sysdeps/x86_64/ldsodefs.h: Likewise.
45265 2012-07-25  Marek Polacek  <polacek@redhat.com>
45267         [BZ #6808]
45268         * math/libm-test.inc (yn_test): Add another test.
45269         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45270         to ERANGE when the result is +-Inf.
45271         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45272         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45273         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45274         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45276 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
45278         * conform/data/time.h-data (NULL): Use macro-constant.  Require
45279         equal to 0.
45280         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
45281         clock_t.
45282         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
45284 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
45286         * configure.in <sysdeps resolving>: Correct printing
45287         Implies_before.
45288         * configure: Regenerate.
45290 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
45292         * math/w_ilogb.c: Include <limits.h>.
45293         * math/w_ilogbl.c: Likewise.
45295 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45297         * manual/lang.texi (__va_copy): Document primarily as ISO C99
45298         va_copy.  Document allowing for unavailable va_copy only as
45299         pre-C99 compatibility.
45300         * manual/string.texi (Copying and Concatenation): Use va_copy
45301         instead of __va_copy in concat example.
45303 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
45305         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45306         (__sendto): Use create_address_port.  Initialize APORT and deallocate
45307         it if not null.
45309         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45310         with O_NOLINK passed to __file_name_lookup.
45312         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45313         with O_NOLINK passed to __file_name_lookup.
45315         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45316         negative N or less than NGIDS.
45318         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45319         type to string_t.  Set ERANGE as errno and return it if NAME is not big
45320         enough.  Use memcpy instead of strncpy.
45322 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
45324         * elf/Makefile (check-data): Remove.
45325         (localplt.data): New vpath directive.
45326         ($(objpfx)check-localplt.out): Use localplt.data from vpath
45327         instead of $(check-data).
45328         * scripts/data/localplt-generic.data: Move to ...
45329         * sysdeps/generic/localplt.data: ... here.
45330         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45331         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45332         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45334         ... here.
45335         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45337         ... here.
45338         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45340         ... here.
45341         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45343         ... here.
45344         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45346         ... here.
45347         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45348         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45349         ... here.
45351 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45353         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45354         PPC32 and PPC64 files.
45355         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45356         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45358 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45360         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45361         __makecontext_ret to ...
45362         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45363         ... here and call exit if uc_link is NULL.  New file.
45364         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45365         __makecontext_ret.S.
45366         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45367         __makecontext_ret to ...
45368         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45369         ... here and call exit if uc_link is NULL.  New file.
45370         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45371         __makecontext_ret.S.
45373 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45375         * elf/elf.h (R_390_IRELATIVE): New definition.
45376         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45377         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
45378         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45379         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45380         (elf_machine_lazy_rel): Likewise.
45381         * sysdeps/s390/dl-irel.h: New file.
45382         * sysdeps/s390/s390-64/memcpy.S: New asm code.
45383         * sysdeps/s390/s390-64/memset.S: New asm code.
45384         * sysdeps/s390/s390-64/memcmp.S: New asm code.
45385         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45386         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45387         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45388         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45389         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45390         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45391         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45392         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45393         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45394         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45395         * sysdeps/s390/s390-32/memcpy.S: New asm code.
45396         * sysdeps/s390/s390-32/memset.S: New asm code.
45397         * sysdeps/s390/s390-32/memcmp.S: New asm code.
45399 2012-07-17  Marek Polacek  <polacek@redhat.com>
45401         [BZ #14349]
45402         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45403         * sysdeps/s390/s390-64/configure.in: Likewise.
45404         * sysdeps/sparc/configure.in: Likewise.
45405         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45406         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45407         * sysdeps/i386/configure.in: Likewise.
45408         * sysdeps/x86_64/configure.in: Likewise.
45409         * sysdeps/sh/configure.in: Likewise.
45410         * sysdeps/s390/s390-32/configure: Regenerated.
45411         * sysdeps/s390/s390-64/configure: Likewise.
45412         * sysdeps/x86_64/configure: Likewise.
45413         * sysdeps/sh/configure: Likewise.
45414         * sysdeps/powerpc/powerpc64/configure: Likewise.
45415         * sysdeps/powerpc/powerpc32/configure: Likewise.
45416         * sysdeps/sparc/configure: Likwise.
45417         * sysdeps/i386/configure: Likewise.
45419         * elf/dl-open.c: Comment fixes.
45421 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
45423         * Makefile [CXX] (check-data): Remove.
45424         [CXX] (c++-types.data): New vpath directive.
45425         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45426         vpath.  Do not allow for C++ type data being missing.
45427         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45428         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45429         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45430         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45431         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45432         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45433         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45435         ... here.
45436         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45438         ... here.
45439         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45441         ... here.
45442         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45444         ... here.
45445         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45447         ... here.
45448         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45450         ... here.
45451         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45453         ... here.
45454         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45457         * elf/tls-macros.h (TLS_LE): Move architecture-specific
45458         definitions to architecture-specific files.
45459         (TLS_IE): Likewise.
45460         (TLS_LD): Likewise.
45461         (TLS_GD): Likewise.
45462         * sysdeps/i386/tls-macros.h: New file.
45463         * sysdeps/powerpc/tls-macros.h: Likewise.
45464         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45465         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45466         * sysdeps/sh/tls-macros.h: Likewise.
45467         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45468         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45469         * sysdeps/x86_64/tls-macros.h: Likewise.
45471 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45473         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45474         zero value for regular exit case.
45476         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45477         (__start_context): Preserve zero value for regular exit case.
45479 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
45480             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45482         * manual/setjmp.texi (setcontext): Clarify normal process
45483         termination when uc_link is the null pointer.
45484         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45485         exit call.
45487 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
45489         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45490         preprocessor.  Test for each exception mask separately.
45492 2012-07-16  Andreas Jaeger  <aj@suse.de>
45494         * po/ru.po: Update from translation team.
45496 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45498         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45499         equal to 0.
45500         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45501         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45502         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45503         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45504         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45506 2012-07-13  Andreas Jaeger  <aj@suse.de>
45508         * po/fr.po: Update from translation team.
45510 2012-07-12  Marek Polacek  <polacek@redhat.com>
45512         [BZ #14173]
45513         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45514         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45515         loop condition.
45517 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45519         [BZ #13717]
45520         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45521         Change to 2.4.1 where previously 2.4.0.
45522         * sysdeps/unix/sysv/linux/configure: Regenerated.
45523         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45524         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45525         version.
45526         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45527         (__ASSUME_AT_CLKTCK): Remove.
45528         (__ASSUME_AT_PAGESIZE): Likewise.
45529         (__ASSUME_AT_XID): Likewise.
45530         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45531         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45532         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45533         unconditionally.
45534         (HAVE_AUX_PAGESIZE): Likewise.
45535         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45536         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45537         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45539 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45541         [BZ #14307]
45542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45543         the temporary buffer used to invoke __gethostbyname2_r,
45544         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45545         host_data / struct gaih_addrtuple.
45546         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45547         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45548         header file nss/nsswitch.h.
45549         * nss/nsswitch.h (global scope): Add definition of implementation
45550         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45551         resolv/nss_dns/dns-host.c).
45553 2012-07-11  Andreas Jaeger  <aj@suse.de>
45555         * po/fr.po: Update from translation team.
45557         * po/sv.po: Update from translation team
45558         * po/fr.po: Another update from translation team.
45560 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45562         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45563         for subnormals or multiply small sinh result by itself.
45564         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45567 2012-07-11  David S. Miller  <davem@davemloft.net>
45569         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45571 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45573         [BZ #14347]
45574         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45575         (INTERNAL_MARK): Shift it here.
45577 2012-07-10  Marek Polacek  <polacek@redhat.com>
45579         [BZ #14151]
45580         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45581         libc_cv_asm_global_directive with .globl.
45582         * configure: Regenerated.
45583         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45584         with .globl.
45585         * sysdeps/i386/configure: Regenerated.
45586         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45587         with .globl.
45588         * sysdeps/x86_64/configure: Regenerated.
45589         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45590         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45591         * elf/tst-unique2mod2.c: Likewise.
45592         * elf/tst-unique2mod1.c: Likewise.
45593         * elf/tst-unique1mod2.c: Likewise.
45594         * elf/tst-unique1mod1.c: Likewise.
45595         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45596         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45597         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45598         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45599         * sysdeps/mach/sysdep.h: Likewise.
45600         * sysdeps/i386/sysdep.h: Likewise.
45601         * sysdeps/i386/i386-mcount.S: Likewise.
45602         * sysdeps/x86_64/_mcount.S: Likewise.
45603         * sysdeps/x86_64/sysdep.h: Likewise.
45604         * sysdeps/sh/_mcount.S: Likewise.
45605         * sysdeps/sh/sysdep.h: Likewise.
45606         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45607         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45608         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45609         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45610         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45611         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45612         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45613         * locale/localeinfo.h: Likewise.
45614         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45615         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45617 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45619         [BZ #14336]
45620         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45621         system".
45622         * manual/message.texi (The Uniforum approach): Likewise.
45623         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45624         (glibc iconv Implementation): Likewise.
45626 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45628         [BZ #14337]
45629         * math/s_clog.c (__clog): Avoid scaling a value down where that
45630         could result in underflow.
45631         * math/s_clog10.c (__clog10): Likewise.
45632         * math/s_clog10f.c (__clog10f): Likewise.
45633         * math/s_clog10l.c (__clog10l): Likewise.
45634         * math/s_clogf.c (__clogf): Likewise.
45635         * math/s_clogl.c (__clogl): Likewise.
45636         * math/libm-test.inc (clog_test): Add more tests.
45637         (clog10_test): Likewise.
45638         * sysdeps/i386/fpu/libm-test-ulps: Update.
45639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45641 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45643         [BZ #14283]
45644         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45645         by 7 not 8 to examine high bit of fractional part.
45647         [BZ #14042]
45648         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45649         for call to __mcount_internal.
45650         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45651         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45652         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45654 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45656         [BZ #14154]
45657         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45658         approximation for values within 0x1p-13f of an odd multiple of
45659         pi/4.
45660         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45661         exception.  Add more tests.
45662         * sysdeps/i386/fpu/libm-test-ulps: Update.
45664         [BZ #6778]
45665         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45666         inputs and return -1 for them.  Do not check for +Inf in case not
45667         reachable for +Inf.
45668         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45669         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45670         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45671         and return -1 for them.  Do not check for +Inf in case not
45672         reachable for +Inf.
45673         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45674         define.
45675         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45676         and return -1 for them.  Do not check for +Inf in case not
45677         reachable for +Inf.
45678         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45679         spurious underflow.
45680         * sysdeps/i386/fpu/libm-test-ulps: Update.
45681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45683 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45685         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45687 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45689         [BZ #14157]
45690         [BZ #14331]
45691         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45692         could result in spurious underflow.  Scale down values above
45693         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45694         * math/s_csqrtf.c (__csqrtf): Likewise.
45695         * math/s_csqrtl.c (__csqrtl): Likewise.
45696         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45697         spurious underflow.
45698         * sysdeps/i386/fpu/libm-test-ulps: Update.
45699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45701 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45703         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45704         xopen-msg.sed.
45705         * catgets/xopen-msg.awk: New file.
45706         * catgets/xopen-msg.sed: Removed.
45708         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45709         po2text.sed.
45710         * intl/po2test.awk: New file.
45711         * intl/po2test.sed: Removed.
45713 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45715         [BZ #14328]
45716         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45717         or multiply small sinh result by itself.
45718         * math/s_ctanf.c (__ctanf): Likewise.
45719         * math/s_ctanh.c (__ctanh): Likewise.
45720         * math/s_ctanhf.c (__ctanhf): Likewise.
45721         * math/s_ctanhl.c (__ctanhl): Likewise.
45722         * math/s_ctanl.c (__ctanl): Likewise.
45723         * math/libm-test.inc (ctan_test_tonearest): New function.
45724         (ctan_test_towardzero): Likewise.
45725         (ctan_test_downward): Likewise.
45726         (ctan_test_upward): Likewise.
45727         (ctanh_test_tonearest): Likewise.
45728         (ctanh_test_towardzero): Likewise.
45729         (ctanh_test_downward): Likewise.
45730         (ctanh_test_upward): Likewise.
45731         (main): Call these new functions.
45732         * sysdeps/i386/fpu/libm-test-ulps: Update.
45733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45735 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45737         * .gitignore: Delete /ports entry.
45739 2012-07-03  Andreas Jaeger  <aj@suse.de>
45741         * po/bg.po: Update from translation team.
45742         * po/cs.po: Likewise.
45743         * po/de.po: Likewise.
45744         * po/hr.po: Likewise.
45745         * po/nl.pl: Likewise.
45746         * po/pl.po: Likewise.
45747         * po/vi.po: Likewise.
45749 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45751         * Makeconfig [!+link] (+link-before-libc): New variable.
45752         [!+link] (+link-after-libc): Likewise.
45753         [!+link] (+link-tests): Likewise.
45754         [!+link] (+link): Define in terms of $(+link-before-libc) and
45755         $(+link-after-libc).
45756         [!+link-static] (+link-static-before-libc): New variable.
45757         [!+link-static] (+link-static-after-libc): Likewise.
45758         [!+link-static] (+link-static-tests): Likewise.
45759         [!+link-static] (+link-static): Define in terms of
45760         $(+link-static-before-libc) and $(+link-static-after-libc).
45761         [build-shared] (link-libc-before-gnulib): New variable.
45762         [build-shared] (link-libc-tests): Likewise.
45763         [build-shared] (link-libc): Define in terms of
45764         $(link-libc-before-gnulib).
45765         [!build-shared] (link-libc-tests): New variable.
45766         (link-libc-static-tests): New variable.
45767         [!gnulib] (gnulib-arch): New variable.
45768         [!gnulib] (gnulib-tests): Likewise.
45769         [!gnulib] (static-gnulib-arch): Likewise.
45770         [!gnulib] (static-gnulib-tests): Likewise.
45771         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45772         Define with "=" instead of ":=".
45773         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45774         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45775         * Rules (binaries-all-notests): New variable.
45776         (binaries-all-tests): Likewise.
45777         (binaries-static-notests): Likewise.
45778         (binaries-static-tests): Likewise.
45779         (binaries-all): Define using $(binaries-all-notests) and
45780         $(binaries-all-tests).
45781         (binaries-static): Define using $(binaries-static-notests) and
45782         $(binaries-static-tests).
45783         (binaries-shared-tests): New variable.
45784         (binaries-shared-notests): Likewise.
45785         (binaries-shared): Remove variable.
45786         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45787         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45788         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45789         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45790         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45791         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45792         * elf/Makefile (sln-modules): New variable.
45793         (extra-objs): Add $(sln-modules:=.o).
45794         (ldconfig-modules): Add static-stubs.
45795         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45796         * elf/static-stubs.c: New file.
45798         [BZ #14283]
45799         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45800         by 7 not 8 to examine high bit of fractional part.  Use volatile
45801         variables when splitting into final array of floats if
45802         __FLT_EVAL_METHOD__ != 0.
45803         * math/libm-test.inc (cos_test): Add another test.
45804         (sin_test): Likewise.
45805         * sysdeps/i386/fpu/libm-test-ulps: Update.
45807         [BZ #14273]
45808         * math/libm-test.inc (cosh_test): Add more tests.
45810         * version.h (RELEASE): Set to "development".
45811         (VERSION): Set to "2.16.90".
45813 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45815         * NEWS: Update copyright. Remove last-updated date.
45816         Mention math library bug fixes and timezone data changes.
45817         * README: Mention GNU/Hurd, x32, and HPPA support status.
45819 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45821         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45823 2012-06-27  Andreas Jaeger  <aj@suse.de>
45825         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45827 2012-06-25  Andreas Jaeger  <aj@suse.de>
45829         * sysdeps/s390/fpu/libm-test-ulps: Update.
45831 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45832             Thomas Schwinge  <thomas@codesourcery.com>
45834         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45835         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45836         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45837         fanotify_mark.
45839 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45841         * sysdeps/mach/start.c: Remove file.
45842         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45843         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45844         * sysdeps/sh/init-first.c: Likewise.
45846         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45847         registers for frame unwinding purposes, add CFI directives.
45848         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45849         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45850         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45851         Likewise.
45853         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45854         __fortify_fail returning.
45855         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45857         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45858         sysdeps/sh/____longjmp_chk.S.
45859         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45860         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45861         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45862         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45864         * sysdeps/sh/abort-instr.h: New file.
45865         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45866         process in case exit returns.
45868         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45869         initialize the GOT register before use.
45871         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45872         calculation of ARGC > 4.
45874         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45875         meaningful names to some local labels.
45877 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45878             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45880         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45881         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45882         (__arch_compare_and_exchange_val_16_acq): Likewise.
45883         (__arch_compare_and_exchange_val_32_acq): Likewise.
45884         (atomic_exchange_and_add): Fix gUSA sequence.
45885         (atomic_add): Likewise.
45886         (atomic_add_negative): Likewise.
45887         (atomic_add_zero): Likewise.
45888         (atomic_bit_test_set): Likewise.
45890 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45892         [BZ #13579]
45893         * include/link.h (struct link_map): Add l_free_initfini.
45894         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45895         l_initfini.
45896         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45897         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45898         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45899         set.
45901 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45903         * configure.in: Use AC_LANG_SOURCE.
45904         * configure: Regenerate.
45906 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45908         * configure.in (libc_cv_localstatedir): New substituted variable.
45909         * configure: Regenerated.
45910         * config.make.in (localstatedir): New variable, substituted from
45911         libc_cv_localstatedir.
45912         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45913         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45914         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45915         * sysdeps/gnu/configure: Regenerated.
45917 2012-06-21  Jeff Law  <law@redhat.com>
45919         [BZ #14277]
45920         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45921         free.  Simplify list management for _LIBC case.
45923 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45925         [BZ #14273]
45926         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45927         Clear sign bit of 64-bit integer value before comparing against
45928         overflow value.
45930         * sysdeps/mach/configure: Regenerated.
45932 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45934         [BZ #14278]
45935         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45937 2012-06-21  Jeff Law  <law@redhat.com>
45939         [BZ #13882]
45940         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45941         uint16_t for elements in the "seen" array to avoid char overflows.
45942         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45943         * elf/dl-open.c (dl_open_worker): Likewise.
45945 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45947         * scripts/list-sources.sh: Scan PORTS for translations.
45948         * po/libc.pot: Regenerated.
45950 2012-06-21  Andreas Jaeger  <aj@suse.de>
45952         [BZ #12194]
45953         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45954         warning.
45955         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45956         * bits/byteswap-16.h (__bswap_16): Likewise.
45957         * bits/byteswap.h (__bswap_constant_16): Likewise.
45959 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45961         [BZ #14117]
45962         * sysdeps/i386/fpu_control.h: Removed.
45963         * sysdeps/x86_64/fpu_control.h: Moved to ...
45964         * sysdeps/x86/fpu_control.h: Here.
45966         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45967         (_FPU_SETCW): Likewise.
45969 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45971         [BZ #14117]
45972         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45973         * sysdeps/x86/fpu/bits/mathinline.h: This.
45974         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45976         [BZ #14050]
45977         [BZ #14117]
45978         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45979         functions if __x86_64__ is defined.
45981 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45983         * string/endian.h: Add !__ASSEMBLER__ condition for including
45984         conversion interfaces.
45986 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45988         [BZ #14241]
45989         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45990         of ABS(x) in calculating zero to negative powers other than odd
45991         integers.
45992         * math/libm-test.inc (pow_test): Add more tests.
45994 2012-06-15  Andreas Jaeger  <aj@suse.de>
45996         * manual/contrib.texi (Contributors): Update entry of Liubov
45997         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45998         Machado Filho.
46000 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
46002         * string/string.h: Add __wur to GNU version of strerror_r.
46004 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
46006         [BZ #14229]
46007         * string/Makefile (tests): Add tst-strtok_r.
46008         * string/tst-strtok_r.c: New file.
46009         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46010         RAX_LP/RDX_LP on SAVE_PTR.
46012 2012-06-14  Roland McGrath  <roland@hack.frob.com>
46014         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46016 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
46018         * libm_test.inc (csqrt_test): Allow more spurious underflow
46019         exceptions.
46020         (j0_test): Likewise.
46021         (j1_test): Likewise.
46022         (y0_test): Likewise.
46023         (y1_test): Likewise.
46025 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
46027         * po/Makefile (libc.pot): Use UTF-8 charset.
46029 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
46031         [BZ #14210]
46032         Suppress sign-conversion warning from FD_SET.
46033         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46034         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46035         not unsigned long int.
46036         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46038 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
46040         [BZ #14050]
46041         [BZ #14117]
46042         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46043         __extern_always_inline instead of __extern_inline.
46044         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46045         (__signbit): Likewise.
46046         (__signbitl): Support C++ namespace.
46047         (lrintf): New inline function.
46048         (lrint): Likewise.
46049         (llrintf): Likewise.
46050         (llrint): Likewise.
46051         (fmaxf): Likewise.
46052         (fmax): Likewise.
46053         (fminf): Likewise.
46054         (fmin): Likewise.
46055         (rint): Likewise.
46056         (rintf): Likewise.
46057         (ceil): Likewise.
46058         (ceilf): Likewise.
46059         (floor): Likewise.
46060         (floorf): Likewise.
46061         (nearbyint): Likewise.
46062         (nearbyintf): Likewise.
46064 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
46066         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46067         non-default versions.
46069 2012-06-11  Roland McGrath  <roland@hack.frob.com>
46071         [BZ #14218]
46072         * manual/argp.texi (Argp): Reword argp_parse description slightly.
46074 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
46076         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46077         (FE_UPWARD, FE_DOWNWARD): Don't define.
46078         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46079         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46081         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46082         reading it.
46083         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46084         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46086 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46088         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46089         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46090         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46091         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46093 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
46095         [BZ #14117]
46096         * sysdeps/i386/fpu/bits/fenv.h: Removed.
46097         * sysdeps/i386/fpu/Implies: New file.
46098         * sysdeps/x86_64/fpu/Implies: Likewise.
46099         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46100         * sysdeps/x86/fpu/bits/fenv.h: This.
46102         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46103         __SSE_MATH__.
46105 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46107         [BZ #14134]
46108         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46109         character 0xffff that matches the last element of the
46110         conversion table.
46112 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46114         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46115         fmodl commit.
46117 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46119         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46120         values higher than 25.6283.
46122 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46124         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46125         subnormal exponent extraction and add some __builtin_expect.
46126         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46127         Fix for subnormal mantissa calculation.
46129 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
46131         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46132         cpu2 is -1 and errno is not ENOSYS.
46134 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
46136         [BZ #14117]
46137         * sysdeps/i386/i486/bits/string.h: Renamed to ...
46138         * sysdeps/x86/bits/string.h: This.
46139         * sysdeps/x86_64/bits/string.h: Removed.
46141         * sysdeps/i386/i486/bits/string.h: Define inline functions only
46142         if not compiling for x86-64, but compiling for >= i486.
46144         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46145         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46147         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46148         New macro from Linux kernel 3.4.0.
46149         (FP_XSTATE_MAGIC2): Likewise.
46150         (FP_XSTATE_MAGIC2_SIZE): Likewise.
46151         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46152         (struct _fpx_sw_bytes): New struct.
46153         (struct _xsave_hdr): Likewise.
46154         (struct _ymmh_state): Likewise.
46155         (struct _xstate): Likewise.
46157         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46158         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46159         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46160         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46161         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46162         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46164         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46165         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46166         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46167         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46168         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46169         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46171 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46173         [BZ #13743]
46174         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46175         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46176         (sysdep_headers): Include sys/platform/ppc.h.
46177         * sysdeps/powerpc/test-gettimebase.c: Test for
46178         __ppc_get_timebase() to catch future ISA opcode/insn changes.
46179         * manual/Makefile (appendices): Include platform.texi.
46180         * manual/contrib.texi (Contributors): Update @node pointers.
46181         * manual/maint.texi (Maintenance): Likewise.
46182         (Platform): New node.
46183         * manual/platform.texi: New file.  Document the new features.
46185 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46186             Jakub Jelinek  <jakub@redhat.com>
46188         [BZ #14188]
46189         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46190         where __builtin_expect is unavailable.
46192 2012-06-03  David S. Miller  <davem@davemloft.net>
46194         * stdlib/longlong.h: Updated from GCC.
46196 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
46198         [BZ #14042]
46199         * sysdeps/powerpc/powerpc32/mcount.c: New file.
46200         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46201         __mcount_internal.
46202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46203         (GLIBC_2.16): Likewise.
46205 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46207         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46209 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46212         (default-abi): New variable.
46213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46214         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46215         variable.
46216         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46217         Likewise.
46218         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46219         Likewise.
46220         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46221         Likewise.
46223         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46224         definition.  Document in comment.
46226 2012-06-01  David S. Miller  <davem@davemloft.net>
46228         * stdlib/longlong.h: Updated from GCC.
46230 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46232         [BZ #14117]
46233         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46234         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46235         sys/debugreg.h sys/io.h here.
46236         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46237         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46238         sys/io.h.
46239         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46240         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46241         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46242         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46243         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46244         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46246         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46247         Define only if __x86_64__ is defined.
46249 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
46251         [BZ #14048]
46252         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46253         Use int64_t for variable i.
46254         * math/libm-test.inc (fmod_test): Add more tests.
46256         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46257         z computation is not scheduled after fetestexcept.
46258         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46259         Use math_force_eval instead of asm to ensure calculation scheduled
46260         before exception test.
46261         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46262         Ensure a1 + u.d computation is not scheduled after fetestexcept.
46264 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
46266         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46267         computation is not scheduled after fetestexcept.
46269 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
46271         [BZ #14117]
46272         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46273         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46275 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46277         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46278         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46280 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46282         [BZ #14117]
46283         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46284         <bits/wordsize.h>.
46285         (__WCHAR_MIN): Support __WORDSIZE == 64.
46286         (__WCHAR_MAX): Likewise.
46288         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46289         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46291         [BZ #14183]
46292         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46293         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46295         [BZ #14117]
46296         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46297         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46299         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46300         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46302         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46303         Defined to 1 if __x86_64__ isn't defined.
46304         (_STAT_VER_LINUX_OLD): New.
46305         (st_atime): Remove duplicate.
46306         (st_mtime): Likewise.
46307         (st_ctime): Likewise.
46309 2012-05-31  David S. Miller  <davem@davemloft.net>
46311         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46312         entries.
46314 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
46316         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46317         gen-libm-test.pl.
46319         [BZ #14132]
46320         * elf/dl-reloc.c: Include <_itoa.h>.
46321         (_dl_reloc_bad_type): Remove use of INTUSE.
46322         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46323         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46324         * stdio-common/psiginfo.c (psiginfo): Likewise.
46325         * stdio-common/psignal.c (psignal): Likewise.
46326         * string/strsignal.c (strsignal): Likewise.
46327         * include/signal.h (_sys_siglist): Declare hidden proto.
46328         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
46329         INTVARDEF with libc_hidden_data_def.
46330         * stdio-common/itoa-udigits.c: Likewise.
46331         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46332         (_itoa_lower_digits_internal): Remove declaration.
46333         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46334         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46335         (_sys_sigabbrev_internal): Remove aliases.
46336         (_sys_siglist): Define hidden alias.
46338 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
46340         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46341         bits/sysctl.h.
46343 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
46345         [BZ #14117]
46346         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46347         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46349         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46350         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46351         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46352         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46353         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46354         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46356         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46357         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46358         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46360         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46361         with __addr.
46362         (insw): Likewise.
46363         (insl): Likewise.
46364         (outsb): Likewise.
46365         (outsw): Likewise.
46366         (outsl): Likewise.
46368         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46369         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46370         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46372         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46373         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46374         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46375         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46376         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46377         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46379         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46380         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46382         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46383         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46385         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46386         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46387         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46389         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46390         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46391         to ...
46392         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46394         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46395         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46396         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46398         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46399         for x86-64.
46400         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46402 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
46404         * math/math.h (M_El): Use two more decimal places.
46405         (M_LOG2El): Likewise.
46406         (M_LOG10El): Likewise.
46407         (M_LN2l): Likewise.
46408         (M_LN10l): Likewise.
46409         (M_PIl): Likewise.
46410         (M_PI_2l): Likewise.
46411         (M_PI_4l): Likewise.
46412         (M_1_PIl): Likewise.
46413         (M_2_PIl): Likewise.
46414         (M_2_SQRTPIl): Likewise.
46415         (M_SQRT2l): Likewise.
46416         (M_SQRT1_2l): Likewise.
46418 2012-05-31  David S. Miller  <davem@davemloft.net>
46420         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46421         values between float registers.
46422         * sysdeps/sparc/sparc64/memset.S: Likewise.
46423         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46425 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
46427         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46428         -D_FORTIFY_SOURCE=1.
46429         (CPPFLAGS-tst-longjmp_chk.c): Define.
46430         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46431         (CPPFLAGS-tst-longjmp_chk2.c): Define.
46432         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46433         CFLAGS-tst-wchar-h.c.
46435 2012-05-31  Marek Polacek  <polacek@redhat.com>
46437         [BZ #14132]
46438         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46439         __endmntent_internal): Remove declaration.
46440         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46441         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46442         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46444 2012-05-30  David S. Miller  <davem@davemloft.net>
46446         * sysdeps/sparc/sparc32/soft-fp/q_util.c
46447         (___Q_simulate_exceptions): Use real FP ops rather than writing
46448         into the %fsr.
46449         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46450         Likewise.
46452 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46454         [BZ #14117]
46455         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46456         * sysdeps/x86/bits/xtitypes.h: This.
46458         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46459         * sysdeps/x86/bits/wordsize.h: This.
46461         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46462         * sysdeps/x86/bits/huge_vall.h: This.
46464         * sysdeps/i386/bits/select.h: Removed.
46465         * sysdeps/x86_64/bits/select.h: Renamed to ...
46466         * sysdeps/x86/bits/select.h: This.
46468         * sysdeps/i386/bits/setjmp.h: Removed.
46469         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46470         * sysdeps/x86/bits/setjmp.h: This.
46472         * sysdeps/i386/bits/mathdef.h: Removed.
46473         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46474         * sysdeps/x86/bits/mathdef.h: This.
46476 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
46478         [BZ #14132]
46479         * include/sys/socket.h (__connect_internal)
46480         (__libc_sa_len_internal): Remove declaration.
46481         (__connect, __libc_sa_len): Declare hidden_proto.
46482         (SA_LEN): Remove use of INTUSE.
46483         * socket/connect.c: Add libc_hidden_def.
46484         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46485         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46486         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46487         alias.
46488         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46489         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46490         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46491         of adding _internal alias.
46493 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46495         [BZ #14117]
46496         * sysdeps/i386/bits/link.h: Removed.
46497         * sysdeps/i386/bits/linkmap.h: Likewise.
46498         * sysdeps/x86_64/bits/link.h: Renamed to ...
46499         * sysdeps/x86/bits/link.h: This.
46500         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46501         * sysdeps/x86/bits/linkmap.h: This.
46503         * sysdeps/i386/bits/endian.h: Removed.
46504         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46505         * sysdeps/x86/bits/endian.h: This.
46507         * sysdeps/i386/bits/byteswap.h: Removed.
46508         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46509         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46510         * sysdeps/x86/bits/byteswap.h: This.
46511         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46512         * sysdeps/x86/bits/byteswap-16.h: This.
46513         * sysdeps/i386/Implies: Add x86.
46514         * sysdeps/x86_64/Implies: Likewise.
46516 2012-05-30  David S. Miller  <davem@davemloft.net>
46518         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46519         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46520         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46521         (FP_TRAPPING_EXCEPTIONS): Define.
46522         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46523         (FP_TRAPPING_EXCEPTIONS): Define.
46524         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46525         subnormals only when inexact has been signalled or underflow
46526         exceptions are enabled.
46527         (_FP_PACK_CANONICAL): Likewise.
46529 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46531         [BZ #14183]
46532         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46533         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46535 2012-05-30  Richard Henderson  <rth@twiddle.net>
46537         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46538         with #ifndef NOT_IN_libc.
46540         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46541         marked to avoid plt entry.
46543 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46545         [BZ #14112]
46546         * Makeconfig (default-abi): New macro.
46547         (abi-includes): Likewise.
46548         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46549         $(abi-$(default-abi)-lib-soname) for soname if defined.
46550         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46551         abi-variants.
46552         * Makefile (installed-stubs): Likewise.
46553         * include/stubs-biarch.h: Removed.
46554         * scripts/lib-names.awk: Only handle one library at a time.
46555         * scripts/soversions.awk: Remove WORDSIZE support.
46556         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46557         entries.
46558         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46559         Removed.
46560         (syscall-list-default-condition): Likewise.
46561         (syscall-list-default-condition): Likewise.
46562         (syscall-list-includes): Likewise.
46563         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46564         syscall-list-* with abi-*.  Handle undefined abi-variants.
46565         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46566         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46567         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46568         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46569         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46570         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46571         Removed.
46572         (syscall-list-32-options): Likewise.
46573         (syscall-list-32-condition): Likewise.
46574         (syscall-list-64-options): Likewise.
46575         (syscall-list-64-condition): Likewise.
46576         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46577         macro.
46578         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46579         Renamed to ...
46580         (abi-*): This.
46581         (abi-64-ld-soname): New macro.
46582         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46583         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46584         Renamed to ...
46585         (abi-*): This.
46586         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46587         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46589 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46591         * sysdeps/unix/sysv/linux/kernel-features.h
46592         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46593         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46594         include <kernel-features.h>.
46595         [!__NR_ftruncate64]: Remove conditional code.
46596         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46597         [__NR_ftruncate64]: Make code unconditional.
46598         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46599         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46600         include <kernel-features.h>.
46601         [!__NR_ftruncate64]: Remove conditional code.
46602         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46603         [__NR_ftruncate64]: Make code unconditional.
46604         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46606         include <kernel-features.h>.
46607         [!__NR_ftruncate64]: Remove conditional code.
46608         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46609         [__NR_ftruncate64]: Make code unconditional.
46610         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46612         include <kernel-features.h>.
46613         [!__NR_ftruncate64]: Remove conditional code.
46614         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46615         [__NR_ftruncate64]: Make code unconditional.
46616         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46618         * configure.in (libc_cv_fpie): Weaken to a compile test using
46619         LIBC_TRY_CC_OPTION.
46620         * configure: Regenerated.
46622 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46628         Refreshed.
46629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46635         Refreshed.
46637 2012-05-27  David S. Miller  <davem@davemloft.net>
46639         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46640         (___Q_zero): New.
46641         (__Q_simulate_exceptions): Return void.  Change to simulate
46642         exceptions by writing into the %fsr.
46643         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46644         (__Qp_handle_exceptions): Likewise.
46645         (numbers): Delete.
46646         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46647         __Qp_handle_exceptions.
46648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46649         __Qp_handle_exceptions.
46650         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46651         as unused and give dummy FP_RND_NEAREST initializer.
46652         (FP_INHIBIT_RESULTS): Define.
46653         (___Q_simulate_exceptions): Update declaration.
46654         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46655         formatting.
46656         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46657         as unused and give dummy FP_RND_NEAREST initializer.
46658         (__Qp_handle_exceptions): Update declaration.
46659         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46660         formatting.
46662 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46664         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46665         the temporary FPU control word.
46666         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46667         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46668         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46669         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46670         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46671         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46672         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46673         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46674         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46675         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46676         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46678 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46680         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46681         fields.
46683 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46685         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46686         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46687         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46688         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46689         Likewise.
46690         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46691         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46692         Likewise.
46694 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46696         * po/h.po: Update from translation team.
46698 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46700         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46702         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46703         handling of denormals.
46704         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46705         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46706         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46707         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46708         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46709         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46710         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46711         Likewise.
46713 2012-05-26  Marek Polacek  <polacek@redhat.com>
46715         [BZ #14152]
46716         * math/libm-test.inc (fma_test): Don't always expect underflow
46717         exception.
46719 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46721         [BZ #12416]
46722         * elf/tst-execstack.c: Include stackinfo.h.
46723         (do_test): Adjust test case to ensure that pthread_getattr_np
46724         behaviour remains the same after marking stack executable.
46726 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46728         * sysdeps/unix/sysv/linux/kernel-features.h
46729         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46730         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46731         kernel-features.h.
46732         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46733         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46734         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46735         kernel-features.h.
46736         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46737         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46739 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46741         * configure.in: Define the default includes to being none.
46742         * configure: Regenerated.
46744 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46746         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46747         * sysdeps/x86_64/setjmp.S: Likewise.
46748         * sysdeps/i386/bsd-setjmp.S: Likewise.
46749         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46750         * sysdeps/i386/setjmp.S: Likewise.
46751         * sysdeps/i386/__longjmp.S: Likewise.
46752         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46753         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46755         * include/stap-probe.h: New file.
46756         * configure.in: Handle --enable-systemtap.
46757         * configure: Regenerated.
46758         * config.h.in (USE_STAP_PROBE): New #undef.
46759         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46760         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46761         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46763 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46765         [BZ #13717]
46766         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46767         to 2.4.0 where earlier.
46768         * sysdeps/unix/sysv/linux/configure: Regenerated.
46769         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46770         <kernel-features.h>.
46771         [__ASSUME_32BITUIDS]: Make code unconditional.
46772         [!__ASSUME_32BITUIDS]: Remove conditional code.
46773         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46774         <kernel-features.h>.
46775         [__ASSUME_32BITUIDS]: Make code unconditional.
46776         [!__ASSUME_32BITUIDS]: Remove conditional code.
46777         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46778         [__ASSUME_32BITUIDS]: Make code unconditional.
46779         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46780         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46781         <kernel-features.h>.
46782         [__ASSUME_32BITUIDS]: Make code unconditional.
46783         [!__ASSUME_32BITUIDS]: Remove conditional code.
46784         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46785         <kernel-features.h>.
46786         [__ASSUME_32BITUIDS]: Make code unconditional.
46787         [!__ASSUME_32BITUIDS]: Remove conditional code.
46788         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46789         <kernel-features.h>.
46790         [__ASSUME_32BITUIDS]: Make code unconditional.
46791         [!__ASSUME_32BITUIDS]: Remove conditional code.
46792         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46793         <kernel-features.h>.
46794         [__ASSUME_32BITUIDS]: Make code unconditional.
46795         [!__ASSUME_32BITUIDS]: Remove conditional code.
46796         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46797         <kernel-features.h>.
46798         [__ASSUME_32BITUIDS]: Make code unconditional.
46799         [!__ASSUME_32BITUIDS]: Remove conditional code.
46800         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46801         <kernel-features.h>.
46802         [__ASSUME_32BITUIDS]: Make code unconditional.
46803         [!__ASSUME_32BITUIDS]: Remove conditional code.
46804         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46805         <kernel-features.h>.
46806         [__ASSUME_32BITUIDS]: Make code unconditional.
46807         [!__ASSUME_32BITUIDS]: Remove conditional code.
46808         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46809         <kernel-features.h>.
46810         [__ASSUME_32BITUIDS]: Make code unconditional.
46811         [!__ASSUME_32BITUIDS]: Remove conditional code.
46812         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46813         <kernel-features.h>.
46814         [__ASSUME_32BITUIDS]: Make code unconditional.
46815         [!__ASSUME_32BITUIDS]: Remove conditional code.
46816         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46817         <kernel-features.h>.
46818         [__ASSUME_32BITUIDS]: Make code unconditional.
46819         [!__ASSUME_32BITUIDS]: Remove conditional code.
46820         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46821         <kernel-features.h>.
46822         [__NR_setresgid] (__setresgid): Do not declare.
46823         [__ASSUME_32BITUIDS]: Make code unconditional.
46824         [!__ASSUME_32BITUIDS]: Remove conditional code.
46825         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46826         <kernel-features.h>.
46827         [__NR_setresuid] (__setresuid): Do not declare.
46828         [__ASSUME_32BITUIDS]: Make code unconditional.
46829         [!__ASSUME_32BITUIDS]: Remove conditional code.
46830         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46831         <kernel-features.h>.
46832         [__ASSUME_32BITUIDS]: Make code unconditional.
46833         [!__ASSUME_32BITUIDS]: Remove conditional code.
46834         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46835         <kernel-features.h>.
46836         [__ASSUME_32BITUIDS]: Make code unconditional.
46837         [!__ASSUME_32BITUIDS]: Remove conditional code.
46838         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46839         <kernel-features.h>.
46840         [__ASSUME_32BITUIDS]: Make code unconditional.
46841         [!__ASSUME_32BITUIDS]: Remove conditional code.
46842         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46843         <kernel-features.h>.
46844         [__ASSUME_32BITUIDS]: Make code unconditional.
46845         [!__ASSUME_32BITUIDS]: Remove conditional code.
46846         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46847         <kernel-features.h>.
46848         [__ASSUME_32BITUIDS]: Make code unconditional.
46849         [!__ASSUME_32BITUIDS]: Remove conditional code.
46850         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46851         <kernel-features.h>.
46852         [__ASSUME_32BITUIDS]: Make code unconditional.
46853         [!__ASSUME_32BITUIDS]: Remove conditional code.
46854         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46855         <kernel-features.h>.
46856         [__ASSUME_32BITUIDS]: Make code unconditional.
46857         [!__ASSUME_32BITUIDS]: Remove conditional code.
46858         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46859         <kernel-features.h>.
46860         [__ASSUME_32BITUIDS]: Make code unconditional.
46861         [!__ASSUME_32BITUIDS]: Remove conditional code.
46862         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46863         <kernel-features.h>.
46864         [__ASSUME_32BITUIDS]: Make code unconditional.
46865         [!__ASSUME_32BITUIDS]: Remove conditional code.
46866         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46867         <kernel-features.h>.
46868         [__ASSUME_32BITUIDS]: Make code unconditional.
46869         [!__ASSUME_32BITUIDS]: Remove conditional code.
46870         * sysdeps/unix/sysv/linux/kernel-features.h
46871         (__ASSUME_SETRESUID_SYSCALL): Remove.
46872         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46873         (__ASSUME_32BITUIDS): Likewise.
46874         (__ASSUME_LDT_WORKS): Likewise.
46875         (__ASSUME_O_DIRECTORY): Likewise.
46876         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46877         architecture but not kernel version.
46878         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46879         (__ASSUME_MMAP2_SYSCALL): Likewise.
46880         (__ASSUME_STAT64_SYSCALL): Likewise.
46881         (__ASSUME_IPC64): Likewise.
46882         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46883         <kernel-features.h>.
46884         [__ASSUME_32BITUIDS]: Make code unconditional.
46885         [!__ASSUME_32BITUIDS]: Remove conditional code.
46886         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46887         <kernel-features.h>.
46888         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46889         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46890         132096]: Remove conditional code.
46891         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46892         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46893         <kernel-features.h>.
46894         [__ASSUME_32BITUIDS]: Make code unconditional.
46895         [!__ASSUME_32BITUIDS]: Remove conditional code.
46896         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46897         <kernel-features.h>.
46898         [__ASSUME_32BITUIDS]: Make code unconditional.
46899         [!__ASSUME_32BITUIDS]: Remove conditional code.
46900         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46901         <kernel-features.h>.
46902         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46903         unconditional.
46904         (__setresgid): Do not declare.
46905         [__ASSUME_32BITUIDS]: Make code unconditional.
46906         [!__ASSUME_32BITUIDS]: Remove conditional code.
46907         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46908         <kernel-features.h>.
46909         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46910         unconditional.
46911         (__setresuid): Do not declare.
46912         [__ASSUME_32BITUIDS]: Make code unconditional.
46913         [!__ASSUME_32BITUIDS]: Remove conditional code.
46914         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46915         <kernel-features.h>.
46916         [__ASSUME_32BITUIDS]: Make code unconditional.
46917         [!__ASSUME_32BITUIDS]: Remove conditional code.
46918         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46919         <kernel-features.h>.
46920         [__ASSUME_32BITUIDS]: Make code unconditional.
46921         [!__ASSUME_32BITUIDS]: Remove conditional code.
46923 2012-05-25  Richard Henderson  <rth@twiddle.net>
46925         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46926         dl_hwcap to ifunc resolver.
46927         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46928         elf_ifunc_invoke.
46929         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46930         dl_hwcap to ifunc resolver.
46931         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46933 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46935         [BZ #14153]
46936         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46937         for |x| <= 2**-26, not 2**-57.
46938         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46939         exception.
46941 2012-05-24  Jeff Law  <law@redhat.com>
46943         * stdio-common/Makefile (tests): Add bug25.
46944         * stdio-common/bug25.c: New test.
46946 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46948         [BZ #13576]
46949         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46950         multiple of MALLOC_ALIGNMENT in size.
46951         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46953 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46955         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46956         Require >= 256.
46957         (FILENAME_MAX): Use macro-int-constant.
46958         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46959         (_IOFBF): Use macro-int-constant.
46960         (_IOLBF): Likewise.
46961         (_IONBF): Likewise.
46962         (SEEK_CUR): Likewise.
46963         (SEEK_END): Likewise.
46964         (SEEK_SET): Likewise.
46965         (TMP_MAX): Likewise.
46966         (EOF): Use macro-int-constant.  Require < 0.
46967         (NULL): Use macro-constant.  Require == 0.
46968         (stdin): Require type to be FILE *.
46969         (stdout): Likewise.
46970         (stderr): Likewise.
46971         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46972         macro-int-constant.
46973         (EXIT_SUCCESS): Likewise.
46974         (NULL): Use macro-constant.  Require == 0.
46975         (RAND_MAX): Use macro-int-constant.
46976         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46977         [C99-based standards] (strtof): Require function.
46978         [C99-based standards] (strtold): Likewise.
46979         [C99-based standards] (strtoll): Likewise.
46980         [C99-based standards] (strtoull): Likewise.
46981         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46982         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46983         [ISO || ISO99 || ISO11] (math.h): Likewise.
46984         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46985         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46986         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46988 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46990         [BZ #14132]
46991         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46992         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46993         * intl/dgettext.c (DCGETTEXT): Likewise.
46994         * intl/gettext.c (DCGETTEXT): Likewise.
46995         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46996         * posix/regex_internal.h (gettext): Likewise.
46997         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46998         Remove declaration.
46999         * include/argz.h (__argz_count_internal)
47000         (__argz_stringify_internal): Remove declaration.
47001         (__argz_count, __argz_stringify): Declare hidden proto.
47002         * intl/dcgettext.c: Remove use of INTDEF.
47003         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47004         * string/argz-stringify.c: Likewise.
47005         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47006         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47007         Declare hidden proto.
47008         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47009         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47010         Declare hidden proto.
47011         * include/stdio.h (__asprintf_internal): Don't declare.
47012         (__asprintf): Don't define as macro.  Declare hidden proto.
47013         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47014         (__fsetlocking): Declare hidden proto.
47015         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47016         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47017         hidden proto.
47018         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47019         (_IO_setlinebuf): Remove use of INTUSE.
47020         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47021         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47022         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47023         Remove declaration.
47024         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47025         (_IO_do_flush): Remove use of INTUSE.
47026         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47027         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47028         (_IO_adjust_column, _IO_least_wmarker)
47029         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47030         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47031         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47032         (_IO_default_doallocate, _IO_wdefault_doallocate)
47033         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47034         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47035         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47036         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47037         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47038         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47039         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47040         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47041         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47042         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47043         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47044         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47045         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47046         proto.
47047         (_IO_flush_all_internal, _IO_adjust_column_internal)
47048         (_IO_default_uflow_internal, _IO_default_finish_internal)
47049         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47050         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47051         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47052         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47053         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47054         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47055         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47056         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47057         (_IO_file_close_internal, _IO_file_close_it_internal)
47058         (_IO_file_underflow_internal, _IO_file_overflow_internal)
47059         (_IO_file_init_internal, _IO_file_attach_internal)
47060         (_IO_file_fopen_internal, _IO_file_read_internal)
47061         (_IO_file_sync_internal, _IO_file_seek_internal)
47062         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47063         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47064         (_IO_str_underflow_internal, _IO_str_overflow_internal)
47065         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47066         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47067         (_IO_list_all_internal, _IO_link_in_internal)
47068         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47069         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47070         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47071         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47072         (_IO_do_write_internal, _IO_padn_internal)
47073         (_IO_getline_info_internal, _IO_getline_internal)
47074         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47075         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47076         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47077         (_IO_vfscanf_internal, _IO_vfprintf_internal)
47078         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47079         (_IO_init_internal, _IO_un_link_internal): Don't declare.
47080         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47081         with libc_hidden_ver, remove use of INTUSE.
47082         * libio/genops.c: Likewise.
47083         * libio/freopen.c: Likewise.
47084         * libio/freopen64.c: Likewise.
47085         * libio/iofclose.c: Likewise.
47086         * libio/iofdopen.c: Likewise.
47087         * libio/iofflush.c: Likewise.
47088         * libio/iofflush_u.c: Likewise.
47089         * libio/iofgets.c: Likewise.
47090         * libio/iofgets_u.c: Likewise.
47091         * libio/iofopen.c: Likewise.
47092         * libio/iofopncook.c: Likewise.
47093         * libio/iofread.c: Likewise.
47094         * libio/iofread_u.c: Likewise.
47095         * libio/ioftell.c: Likewise.
47096         * libio/iofwrite.c: Likewise.
47097         * libio/iogetline.c: Likewise.
47098         * libio/iogets.c: Likewise.
47099         * libio/iogetwline.c: Likewise.
47100         * libio/iopadn.c: Likewise.
47101         * libio/iopopen.c: Likewise.
47102         * libio/ioseekoff.c: Likewise.
47103         * libio/ioseekpos.c: Likewise.
47104         * libio/iosetbuffer.c: Likewise.
47105         * libio/iosetvbuf.c: Likewise.
47106         * libio/ioungetc.c: Likewise.
47107         * libio/ioungetwc.c: Likewise.
47108         * libio/iovdprintf.c: Likewise.
47109         * libio/iovsprintf.c: Likewise.
47110         * libio/iovsscanf.c: Likewise.
47111         * libio/memstream.c: Likewise.
47112         * libio/obprintf.c: Likewise.
47113         * libio/oldfileops.c: Likewise.
47114         * libio/oldiofclose.c: Likewise.
47115         * libio/oldiofdopen.c: Likewise.
47116         * libio/oldiofopen.c: Likewise.
47117         * libio/oldiopopen.c: Likewise.
47118         * libio/oldstdfiles.c: Likewise.
47119         * libio/putc.c: Likewise.
47120         * libio/setbuf.c: Likewise.
47121         * libio/setlinebuf.c: Likewise.
47122         * libio/stdfiles.c: Likewise.
47123         * libio/strops.c: Likewise.
47124         * libio/vasprintf.c: Likewise.
47125         * libio/vscanf.c: Likewise.
47126         * libio/vsnprintf.c: Likewise.
47127         * libio/vswprintf.c: Likewise.
47128         * libio/wfiledoalloc.c: Likewise.
47129         * libio/wfileops.c: Likewise.
47130         * libio/wgenops.c: Likewise.
47131         * libio/wmemstream.c: Likewise.
47132         * libio/wstrops.c: Likewise.
47133         * libio/__fpurge.c: Likewise.
47134         * libio/__fsetlocking.c: Likewise.
47135         * assert/assert.c: Likewise.
47136         * debug/fgets_chk.c: Likewise.
47137         * debug/fgets_u_chk.c: Likewise.
47138         * debug/fread_chk.c: Likewise.
47139         * debug/fread_u_chk.c: Likewise.
47140         * debug/gets_chk.c: Likewise.
47141         * debug/obprintf_chk.c: Likewise.
47142         * debug/vasprintf_chk.c: Likewise.
47143         * debug/vdprintf_chk.c: Likewise.
47144         * debug/vsnprintf_chk.c: Likewise.
47145         * debug/vsprintf_chk.c: Likewise.
47146         * malloc/mtrace.c: Likewise.
47147         * misc/error.c: Likewise.
47148         * misc/syslog.c: Likewise.
47149         * stdio-common/asprintf.c: Likewise.
47150         * stdio-common/fxprintf.c: Likewise.
47151         * stdio-common/getw.c: Likewise.
47152         * stdio-common/isoc99_fscanf.c: Likewise.
47153         * stdio-common/isoc99_scanf.c: Likewise.
47154         * stdio-common/isoc99_vfscanf.c: Likewise.
47155         * stdio-common/isoc99_vscanf.c: Likewise.
47156         * stdio-common/isoc99_vsscanf.c: Likewise.
47157         * stdio-common/printf-prs.c: Likewise.
47158         * stdio-common/printf_fp.c: Likewise.
47159         * stdio-common/printf_fphex.c: Likewise.
47160         * stdio-common/printf_size.c: Likewise.
47161         * stdio-common/putw.c: Likewise.
47162         * stdio-common/scanf.c: Likewise.
47163         * stdio-common/sprintf.c: Likewise.
47164         * stdio-common/tmpfile.c: Likewise.
47165         * stdio-common/vfprintf.c: Likewise.
47166         * stdio-common/vfscanf.c: Likewise.
47167         * stdlib/strfmon_l.c: Likewise.
47168         * sunrpc/openchild.c: Likewise.
47169         * sunrpc/xdr_stdio.c: Likewise.
47170         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47171         * sysdeps/mach/hurd/tmpfile.c: Likewise.
47173 2012-05-24  Roland McGrath  <roland@hack.frob.com>
47175         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47177         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47178         in the third column, to generate for the shared library an IFUNC
47179         that uses _dl_vdso_vsym.
47180         * Makerules (COMPILE.c, compile-stdin.c): New variables.
47181         * Makeconfig (object-suffixes-noshared): New variable.
47183         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47184         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47185         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47186         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47188         [BZ #14132]
47189         * include/sys/time.h (__gettimeofday): Remove macro.
47190         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47191         * time/gettimeofday.c (__gettimeofday): Remove #undef.
47192         Remove INTDEF.
47193         (__gettimeofday): Add libc_hidden_def.
47194         (gettimeofday): Add libc_hidden_weak.
47195         * sysdeps/mach/gettimeofday.c: Likewise.
47196         * sysdeps/posix/gettimeofday.c: Likewise.
47197         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47198         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47199         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47200         (__gettimeofday_internal): Remove strong_alias.
47201         (__gettimeofday): Add libc_hidden_def.
47202         (gettimeofday): Add libc_hidden_weak.
47203         * sysdeps/unix/syscalls.list (gettimeofday):
47204         Remove __gettimeofday_internal alias.
47206 2012-05-24  Daniel Jacobowitz  <drow@false.org>
47207             H.J. Lu  <hongjiu.lu@intel.com>
47209         [BZ #12495]
47210         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47211         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47212         (largebin_index_32_big): New.
47213         (largebin_index): Use it for 16-byte alignment.
47214         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
47215         correction with front_misalign.
47217 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
47219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47221         Likewise.
47222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47223         Likewise.
47224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47225         Likewise.
47226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47227         Likewise.
47228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47229         Likewise.
47230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47231         Likewise.
47232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47233         Likewise.
47234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47235         Likewise.
47236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47237         Likewise.
47238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47239         Likewise.
47240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47241         Likewise.
47242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47243         Likewise.
47245         * scripts/data/c++-types-x32-linux-gnu.data: New file.
47246         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47248 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
47250         [BZ #10846]
47251         [BZ #14036]
47252         * math/libm-test.inc (exp_test): Add test from bug 14036.
47253         (pow_test): Add test from bug 10846.
47255         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47256         and other flags.
47257         (special_function): Do not include flags in test name.
47258         (parse_args): Likewise.
47259         * sysdeps/i386/fpu/libm-test-ulps: Update.
47260         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47261         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47262         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47265         * math/gen-libm-test.pl (%beautify): Add entries for underflow
47266         exceptions.
47267         * math/libm-test.inc ("Philosophy"): Update comment about
47268         exception testing.
47269         (UNDERFLOW_EXCEPTION): New macro.
47270         (UNDERFLOW_EXCEPTION_OK): Likewise.
47271         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47272         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47273         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47274         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47275         (INVALID_EXCEPTION_OK): Update value.
47276         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47277         (OVERFLOW_EXCEPTION_OK): Likewise.
47278         (IGNORE_ZERO_INF_SIGN): Likewise.
47279         (test_exceptions): Handle underflow exceptions.
47280         (acos_test): Update for underflow exception expectations.
47281         (cexp_test): Likewise.
47282         (clog_test): Likewise.
47283         (clog10_test): Likewise.
47284         (csqrt_test): Likewise.
47285         (ctan_test): Likewise.
47286         (ctanh_test): Likewise.
47287         (exp_test): Likewise.
47288         (exp10_test): Likewise.
47289         (exp2_test): Likewise.
47290         (expm1_test): Likewise.
47291         (fma_test): Likewise.
47292         (j0_test): Likewise.
47293         (jn_test): Likewise.
47294         (nexttoward_test): Likewise.
47295         (pow_test): Likewise.
47296         (scalbn_test): Likewise.
47297         (scalbln_test): Likewise.
47298         (tan_test): Likewise.
47299         (y1_test): Likewise.
47300         * sysdeps/i386/fpu/libm-test-ulps: Update.
47301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47303 2012-05-23  David S. Miller  <davem@davemloft.net>
47305         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47306         (__libc_sigaction): Remove unused local variables.
47308 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47310         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47312 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
47314         mktime: avoid signed integer overflow
47315         * time/mktime.c (__mktime_internal): Do not mishandle the case
47316         where diff == INT_MIN.
47318         mktime: simplify computation of average
47319         * time/mktime.c (ranged_convert): Use new time_t_avg function
47320         instead of rolling our own (probably-slower) code.
47322         mktime: do not assume signed right shift propagates sign bit
47323         * time/mktime.c (isdst_differ): New static function.
47324         (__mktime_internal): No need to normalize tm_isdst now.
47325         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47326         tm_isdst values.
47328         mktime: merge another wrapv change from gnulib
47329         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47330         from some compilers.
47332         mktime: remove incorrect attempt at unusual arithmetics
47333         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47334         The code didn't really work on such machines anyway.
47335         (TYPE_MINIMUM): Assume two's complement.
47336         (twos_complement_arithmetic): Verify that long_int and time_t
47337         are two's complement (or unsigned, in the latter case).
47339         mktime: check signed shifts on long_int and time_t, too
47340         * time/mktime.c (SHR): Check that shifts work as desired
47341         on the types long_int and time_t too, as SHR is used on
47342         such types.
47344         mktime: do not assume 'long' is wide enough
47345         * time/mktime.c (verify): Move decl up.
47346         (long_int): New type.
47347         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47348         to remove assumption in the code that 'long' is wide enough to
47349         store year values.  This assumption is not true on x32 and on
47350         some non-glibc platforms.
47352         mktime: merge wrapv change from gnulib
47353         * time/mktime.c (WRAPV): New macro.
47354         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47355         (guess_time_tm, __mktime_internal): Do not assume that signed
47356         integer overflow wraps around; modern compilers generate code
47357         where this assumption is no longer valid.
47359 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47361         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47362         Replace "jmp L(pseudo_end)" with "ret".
47363         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47364         Likewise.
47366 2012-05-23  Andreas Jaeger  <aj@suse.de>
47368         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47369         * sysdeps/unix/sysv/linux/poll.c: Remove file.
47371 2012-05-23  Andreas Jaeger  <aj@suse.de>
47372             Maximilian Attems  <max@stro.at>
47374         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47375         New macros.
47377 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
47379         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47380         code so that pseudo_end is just ret and the stack pointer is
47381         correct also for static library in error case.
47383 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
47385         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47386         move to syscalls.list.
47387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47392         * manual/install.texi (Running make install): Do not mention Linux
47393         kernel version for which pt_chown is not needed.
47394         (Linux): Do not mention problems with nscd with 2.0 kernels.
47395         * INSTALL: Regenerated.
47397 2012-05-23  Andreas Jaeger  <aj@suse.de>
47399         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47400         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47401         macro.
47402         * sysdeps/unix/sysv/linux/s390/bits/mman.h
47403         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47404         * sysdeps/unix/sysv/linux/sh/bits/mman.h
47405         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47406         * sysdeps/unix/sysv/linux/i386/bits/mman.h
47407         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47408         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47409         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47410         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47411         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47412         * sysdeps/unix/sysv/linux/bits/in.h
47413         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47415 2012-05-22  Roland McGrath  <roland@hack.frob.com>
47417         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47418         (PREPARE_VERSION): Just use assert instead, it will be elided
47419         under [NDEBUG] anyway.
47421 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47423         * sysdeps/unix/sysv/linux/Makefile: Include
47424         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47425         (sysdep_routines): Remove sysctl.
47426         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47427         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47428         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47429         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47430         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47432 2012-05-22  Andreas Jaeger  <aj@suse.de>
47434         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47435         that pseudo_end is just ret and the stack pointer is correct also
47436         for static library in error case.
47438 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
47440         [BZ #14122]
47441         * nss/nsswitch.c (defconfig_entries): New variable.
47442         (__nss_database_lookup): Don't leak defconfig entries.
47443         (nss_parse_service_list): Don't leak on error paths.
47444         (free_database_entries): New function.
47445         (free_defconfig): New function.
47446         (free_mem): Move common code to free_database_entries.
47448 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47450         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47451         Add arch_prctl.
47452         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47454         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47455         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47456         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47457         New macro.
47458         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47459         (INTERNAL_SYSCALL_TYPES): Likewise.
47460         (LOAD_ARGS_TYPES_[1-6]): Likewise.
47461         (LOAD_REGS_TYPES_[1-6]): Likewise.
47462         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47463         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47465 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47467         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47468         copysignl for GLIBC_2_0.
47469         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47470         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47471         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47472         logbl for GLIBC_2_0.
47473         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47474         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47476 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47478         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47479         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47481         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47482         Use "neg %eax".
47484         * time/mktime.c: Update copyright years.
47486 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
47488         mktime: merge comment-quoting-style change from gnulib
47489         * time/mktime.c: Quote 'like this' in comments.
47490         The GNU coding standards suggest that we no longer quote `like this',
47491         as "`" and "'" are typically rendered asymmetrically nowadays.
47492         The typical gnulib style is to quote 'like this' when quoting
47493         code, and "like this" when quoting English.
47495         * time/mktime.c (compile-command): Add "-I.".
47497         mktime: merge mktime-internal.h change from gnulib
47498         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47500         mktime: merge time_r change from gnulib
47501         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47503         mktime: merge DEBUG change from gnulib
47504         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47505         case system <time.h> has a #define.
47507         mktime: merge <sys/types.h> change from gnulib
47508         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47509         since <time.t> is now guaranteed to define time_t.
47511         mktime: merge HAVE_CONFIG_H change from gnulib
47512         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47514 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47516         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47517         Use "neg %eax".
47519         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47520         __rlim_t cast.
47521         (struct rusage): Use anonymous union to pad each field to
47522         __syscall_slong_t.
47524 2012-05-21  David S. Miller  <davem@davemloft.net>
47526         * Makefules (o-iterator): Remove .s cases.
47527         (compile-command.s): Delete.
47528         (COMPILE.s): Delete.
47529         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47531 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47533         * configure.in (libc_cv_predef_stack_protector): Only consider
47534         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47535         * configure: Regenerated.
47537 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47539         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47540         New macro.  Use R*LP on int and pointer.
47541         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47542         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47543         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47544         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47546         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47547         [__WORDSIZE_TIME64_COMPAT32] instead of
47548         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47549         (struct utmp): Likewise.
47550         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47551         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47552         Renamed to ...
47553         (__WORDSIZE_TIME64_COMPAT32): This.
47554         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47555         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47556         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47557         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47558         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47559         (__WORDSIZE_TIME64_COMPAT32): New macro.
47561 2012-05-21  Andreas Jaeger  <aj@suse.de>
47563         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47564         only if [SHARED]. Add prototype for __wcschr_ia32.
47566 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47568         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47569         of %rbp unmolested in the jmp_buf while mangling the low bits.
47570         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47571         unmolested high bits of %rbp while demangling the low bits.
47572         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47574 2012-05-21  Andreas Jaeger  <aj@suse.de>
47576         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47577         * sunrpc/svc_simple.c: Use it for registerrpc.
47578         * sunrpc/xcrypt.c: Use it for passwd2des.
47580         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47582 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47584         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47585         Don't define if [__SYSCALL_WORDSIZE != 32].
47586         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47587         New macro.
47589 2012-05-21  Bruno Haible  <bruno@clisp.org>
47590             Andreas Jaeger  <aj@suse.de>
47592         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47593         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47594         inptr and inend for must_buffer_ch.
47595         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47596         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47597         * stdio-common/Makefile (tests): Remove bug15.
47598         (bug15-ENV): Remove macro.
47599         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47600         anymore.
47602 2012-05-19  Andreas Jaeger  <aj@suse.de>
47603             Roland McGrath  <roland@hack.frob.com>
47605         * manual/contrib.texi: Completely rewritten. It contains now an
47606         alphabetical list of contributors and their contributions.
47608 2012-05-21  Richard Henderson  <rth@twiddle.net>
47610         * misc/getauxval.c (__getauxval): Use unsigned long int.
47611         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47612         (getauxval): Use unsigned long int.
47614 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47616         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47618 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47620         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47621         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47622         __alignof__ (long double).
47624 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47628 2012-05-20  Richard Henderson  <rth@twiddle.net>
47630         * misc/getauxval.c: New file.
47631         * misc/sys/auxv.h: New file.
47632         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47633         (routines): Add getauxval.
47634         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47635         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47636         * elf/dl-sysdep.c (_dl_auxv): Remove.
47637         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47638         * elf/dl-support.c (_dl_auxv): New variable.
47639         (_dl_aux_init): Initialize it.
47640         * manual/startup.texi (Auxiliary Vector): New node.
47641         * sysdeps/generic/bits/hwcap.h: New file.
47642         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47643         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47644         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47645         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47646         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47647         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47649         Update.
47650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47653         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47659 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47663 2012-05-19  David S. Miller  <davem@davemloft.net>
47665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47667 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47669         [BZ #14123]
47670         * math/s_ccosh.c: Include <float.h>
47671         (__ccosh): Avoid internal overflow calculating sinh and cosh
47672         values before multiplying by sin and cos values.
47673         * math/s_ccoshf.c: Likewise.
47674         * math/s_ccoshl.c: Likewise.
47675         * math/s_csin.c: Likewise.
47676         * math/s_csinf.c: Likewise.
47677         * math/s_csinl.c: Likewise.
47678         * math/s_csinh.c: Likewise.
47679         * math/s_csinhf.c: Likewise.
47680         * math/s_csinhl.c: Likewise.
47681         * math/libm-test.inc (ccos_test): Add more tests.
47682         (ccosh_test): Likewise.
47683         (csin_test): Likewise.
47684         (csinh_test): Likewise.
47685         * sysdeps/i386/fpu/libm-test-ulps: Update.
47686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47688 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47690         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47691         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47693         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47695 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47697         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47698         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47699         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47700         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47701         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47702         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47703         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47704         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47705         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47706         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47707         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47708         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47709         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47710         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47711         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47712         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47713         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47714         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47715         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47716         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47717         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47718         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47719         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47720         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47721         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47722         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47723         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47724         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47725         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47726         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47727         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47729 2012-05-18  Andreas Jaeger  <aj@suse.de>
47731         * csu/.gitignore: Delete.
47733 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47735         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47736         (timex): Use __syscall_slong_t.
47738 2012-05-18  Andreas Jaeger  <aj@suse.de>
47739             Carlos O'Donell  <carlos_odonell@mentor.com>
47741         * manual/install.texi (Configuring and compiling): Update
47742         description about files modified in the source directory.
47743         * INSTALL: Regenerated.
47745 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47747         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47748         value.  Use "or" to set return value to -1.
47749         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47750         negate return value.
47752 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47754         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47755         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47756         failure if the compiler has Graphite support disabled.
47757         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47758         Likewise.
47759         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47760         (CFLAGS-memmove.c): Likewise.
47761         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47762         Likewise.
47764 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47766         * sysdeps/x86_64/x32/_itoa.h: New file.
47768         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47769         getdents system call only if kernel and user dirents have the
47770         same d_ino and d_off.
47772         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47773         LLONG_MAX != LONG_MAX.
47774         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47775         (_fitoa_word): Likewise.
47777         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47778         years.
47779         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47780         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47781         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47783         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47784         include <bits/wordsize.h>.  Check __x86_64__ instead of
47785         __WORDSIZE.
47786         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47787         if __x86_64__ is defined.  Use anonymous union on fpstate.
47789         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47790         anonymous union.
47792 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47794         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47795         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47796         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47797         Refer to _rtld_local_ro instead of _rtld_global_ro.
47798         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47799         Likewise.
47800         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47801         Likewise.
47802         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47803         Likewise.
47804         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47805         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47806         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47808         * sysdeps/powerpc/powerpc32/dl-machine.c
47809         (__elf_machine_runtime_setup) [PROF]: Don't reference
47810         _dl_prof_resolve.
47812 2012-05-18  Andreas Jaeger  <aj@suse.de>
47814         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47815         function only available for GCCs before 3.4 since GCC 3.4
47816         introduced a builtin.
47817         (lrint): Likewise.
47818         (llrintf): Likewise.
47819         (llrint): Likewise.
47820         (fmaxf): Likewise.
47821         (fmax): Likewise.
47822         (fminf): Likewise.
47823         (fmin): Likewise.
47824         (rint): Likewise.
47825         (rintf): Likewise.
47826         (nearbyint): Likewise.
47827         (nearbyintf): Likewise.
47828         (ceil): Likewise.
47829         (ceilf): Likewise.
47830         (floor): Likewise.
47831         (floorf): Likewise.
47833 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47835         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47836         on both fields and cast pointer to __syscall_ulong_t.
47838         * bits/types.h (__fsword_t): New type.
47839         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47840         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47841         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47842         (__FSWORD_T_TYPE): Likewise.
47843         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47844         (__FSWORD_T_TYPE): Likewise.
47845         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47846         (__FSWORD_T_TYPE): Likewise.
47847         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47848         (__FSWORD_T_TYPE): Likewise.
47849         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47850         __SWORD_TYPE with __fsword_t.
47851         (statfs64): Likewise.
47853 2012-05-17  David S. Miller  <davem@davemloft.net>
47855         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47857 2012-05-17  Andreas Jaeger  <aj@suse.de>
47859         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47860         warning.
47862 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47864         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47866 2012-05-17  Andreas Jaeger  <aj@suse.de>
47868         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47869         when it is used.
47871 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47873         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47875 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47877         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47878         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47880 2012-05-17  Andreas Jaeger  <aj@suse.de>
47881             Carlos O'Donell  <carlos_odonell@mentor.com>
47883         [BZ #14059]
47884         * sysdeps/x86_64/multiarch/init-arch.h
47885         (bit_YMM_Usable): Rename to...
47886         (bit_AVX_Usable): ... this.
47887         (bit_FMA4_Usable): New macro.
47888         (bit_XMM_state): New macro.
47889         (bit_YMM_state): New macro.
47890         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47891         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47892         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47893         (CPUID_OSXSAVE): New macro.
47894         (CPUID_AVX): New macro.
47895         (CPUID_FMA4): New macro.
47896         (index_YMM_Usable): Rename to...
47897         (index_AVX_Usable): ... this.
47898         (HAS_AVX): Use HAS_ARCH_FEATURE.
47899         (HAS_FMA4): Likewise.
47900         (HAS_YMM_USABLE): Remove.
47901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47902         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47903         are present.
47904         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47905         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47906         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47907         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47908         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47910 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47912         * math/libm-test.c: Support platforms without multiple rounding modes.
47913         * math/bug-nextafter.c: Support platforms without FP exceptions.
47914         * math/bug-nexttoward.c: Likewise.
47915         * math/test-fenv.c: Likewise.
47916         * math/test-misc.c: Likewise.
47917         * stdlib/bug-getcontext.c: Likewise.
47919 2012-05-17  Andreas Jaeger  <aj@suse.de>
47921         * manual/examples/search.c (critter_cmp): Change signature to
47922         avoid warnings.
47923         * manual/string.texi (Collation Functions): Likewise.
47925 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47927         * bits/types.h: Fold copyright years.
47928         * bits/typesizes.h: Likewise.
47929         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47930         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47931         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47932         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47933         * time/time.h: Likewise.
47935 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47937         [BZ #208]
47938         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47939         in instead of returning them.  Return void.
47940         (__libc_mallinfo): Accumulate over all arenas.
47941         (__malloc_stats): Adjust for change in int_mallinfo interface.
47943 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47945         [BZ #10375]
47946         * configure.in (NM): Add AC_CHECK_TOOL for it.
47947         (libc_extra_cflags): New substituted variable.
47948         Check for -fstack-protector being used implicitly.
47949         * configure: Regenerated.
47950         * config.make.in (config-extra-cflags): New variable,
47951         gets @libc_extra_cflags@.
47952         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47954         [BZ #10375]
47955         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47956         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47957         * configure: Regenerated.
47958         * config.make.in (CPPUNDEFS): New substituted variable.
47959         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47960         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47961         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47963 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47965         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47966         (mq_attr): Use __syscall_slong_t.
47968 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47970         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47971         Check __x86_64__ instead of __WORDSIZE.
47972         (_STAT_VER_LINUX): Likewise.
47973         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47974         __syscall_ulong_t and __syscall_slong_t.
47975         (stat64): Likewise.
47977 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47979         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47981 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47983         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47985 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47987         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47988         __syscall_ulong_t.
47990         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47991         include <bits/wordsize.h>.  Check __x86_64__ instead of
47992         __WORDSIZE.
47993         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47994         defined.
47995         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47997         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47998         include <bits/wordsize.h>.  Check __x86_64__ instead of
47999         __WORDSIZE.
48000         (user_regs_struct): Use "__extension__ unsigned long long"
48001         instead of "unsigned long" if __x86_64__ is defined.
48002         (user): Likewise.  Pad after pointer field if __ILP32__ is
48003         defined.
48005 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
48007         * configure.in (makeinfo): Require version 4.5 or later.  Allow
48008         versions 5 to 9.
48009         * configure: Regenerated.
48010         * manual/install.texi (texinfo): Increase version requirement to
48011         4.5 or later.
48012         * INSTALL: Regenerated.
48014         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48016 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
48018         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48020         * sysdeps/x86_64/x32/ffs.c: New file.
48022         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48023         __syscall_ulong_t.
48024         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48025         defined.  Use __syscall_ulong_t.
48026         (shminfo): Use __syscall_ulong_t.
48027         (shm_info): Likewise.
48029         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48030         __syscall_ulong_t.
48032         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48033         <bits/wordsize.h>.
48034         (msgqnum_t): Use __syscall_ulong_t.
48035         (msglen_t): Likewise.
48036         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
48037         __syscall_ulong_t.
48039         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48040         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48042         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48044         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48045         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48047         * sysvipc/sys/msg.h (msgbuf): Replace long int with
48048         __syscall_slong_t.
48050         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48051         include <bits/wordsize.h>.  Check __x86_64__ instead of
48052         __WORDSIZE.
48054         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48055         "unsigned long long int" if __x86_64__ is defined.
48056         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48058         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48059         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48060         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48062         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48063         <stdint.h>.
48064         (GET_PC): Cast to uintptr_t first.
48065         (GET_FRAME): Likewise.
48066         (GET_STACK): Likewise.
48068         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48069         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48070         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48071         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48072         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48073         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48074         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48075         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48076         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48077         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48078         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48079         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48080         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48081         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48082         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48083         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48084         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48085         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48086         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48087         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48088         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48089         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48090         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48091         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48092         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48093         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48094         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48095         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48096         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48098 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
48100         * Makerules (+depfiles): Also collect depfiles from .oS in
48101         $(extra-objs).
48102         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48103         .oS, $(libnldbl-routines)).
48105         * Makerules (native-compile-mkdep-flags): Define.
48106         * sunrpc/Makefile (extra-objs): Add $(addprefix
48107         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48108         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48109         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
48110         calling $(make-target-directory).
48112 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48114         * bits/types.h (__snseconds_t): Removed.
48115         * time/time.h (struct timespec): Replace __snseconds_t with
48116         __syscall_slong_t.
48117         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48118         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48119         Likewise.
48120         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48121         (__SNSECONDS_T_TYPE): Likewise.
48122         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48123         (__SNSECONDS_T_TYPE): Likewise.
48124         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48125         (__SNSECONDS_T_TYPE): Likewise.
48127 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48129         * sysdeps/mach/hurd/bits/typesizes.h
48130         (__SYSCALL_SLONG_TYPE): New macro.
48131         (__SYSCALL_ULONG_TYPE): Likewise.
48133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48135         * bits/types.h (__syscall_slong_t): New type.
48136         (__syscall_ulong_t): Likewise.
48138         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48139         (__SYSCALL_ULONG_TYPE): Likewise.
48140         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48141         (__SYSCALL_SLONG_TYPE): Likewise.
48142         (__SYSCALL_ULONG_TYPE): Likewise.
48143         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48144         (__SYSCALL_SLONG_TYPE): Likewise.
48145         (__SYSCALL_ULONG_TYPE): Likewise.
48146         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48147         (__SYSCALL_SLONG_TYPE): Likewise.
48148         (__SYSCALL_ULONG_TYPE): Likewise.
48150 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48152         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48153         Add sigaltstack-offsets.sym.
48154         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48155         <sigaltstack-offsets.h>.
48156         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
48157         longjmp_msg pointer.
48158         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
48159         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48160         signal stack.
48161         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48163 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48165         * elf/stackguard-macros.h: Remove file.
48166         * sysdeps/generic/stackguard-macros.h: New file.
48167         * sysdeps/i386/stackguard-macros.h: Likewise.
48168         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48169         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48170         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48171         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48172         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48173         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48174         * sysdeps/x86_64/stackguard-macros.h: Likewise.
48175         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48176         <elf/stackguard-macros.h>.
48178         [BZ #14109]
48179         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48180         __aligned__ in attribute.
48181         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48182         (gregset_t): Likewise.
48184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48186         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48187         * sysdeps/x86_64/64/Implies-after: Here.  New file.
48188         * sysdeps/x86_64/x32/Implies-after: New file.
48190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48192         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48193         and access return value for _dl_profile_fixup.  Use R10_LP to
48194         load frame size.
48196 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48198         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48202         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48203         * sysdeps/x86_64/x32/sysdep.h: New file.
48205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48207         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48208         * sysdeps/x86_64/setjmp.S: Likewise.
48210 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48212         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48213         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48214         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48215         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48216         remove unused global constant.
48218 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
48220         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48221         include of <not-cancel.h>.
48223 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48225         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48227 2012-05-15  Jeff Law  <law@redhat.com>
48228             Andreas Jaeger  <aj@suse.de>
48230         [BZ #13594]
48231         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48232         out from...
48233         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48234         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48235         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48236         code changing __hst_map_handle.map.
48238 2012-05-15  Roland McGrath  <roland@hack.frob.com>
48240         * configure.in (sysnames): Look for Implies-before and Implies-after
48241         files.
48242         * configure: Regenerated.
48244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48246         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48247         8-byte data alignment with LP_SIZE alignment.
48249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48251         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48252         into R10_LP.
48254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48256         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48260         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48261         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48262         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48263         Likewise.
48264         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48266 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48268         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48269         (stackinfo_sub_sp): Likewise.
48271 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48273         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48274         RAX_LP.
48276 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48278         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48279         into R*_LP.
48281 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48283         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48284         sizes into R*_LP.
48286 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48288         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48292         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48293         into R11_LP and load __x86_64_shared_cache_size_half into
48294         R8_LP.
48296 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
48298         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48299         R8_LP.
48301 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48303         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48304         logb for POWER7.
48305         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48306         logbf for POWER7.
48307         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48308         logbl for POWER7.
48309         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48310         powerpc32/power7/fpu/s_logb.c via #include.
48311         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48312         powerpc32/power7/fpu/s_logbf.c via #include.
48313         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48314         powerpc32/power7/fpu/s_logbl.c via #include.
48316 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
48318         * README.libm: Remove file.
48320 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48322         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48323         count for x32.  Use R*_LP and omit operand-size suffix.
48325 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48327         * shlib-versions: Move x86_64-.*-linux.* entries to ...
48328         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
48329         * sysdeps/x86_64/x32/shlib-versions: New file.
48331 2012-05-14  Roland McGrath  <roland@hack.frob.com>
48333         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48334         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48335         Use _dl_fatal_printf instead.
48337 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48339         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48340         set if not set by the user.  Do not allow for being unset.
48341         * sysdeps/unix/sysv/linux/configure: Regenerated.
48343 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48345         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48346         the `q' suffix from lea and replace .quad with ASM_ADDR.
48348 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48350         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48351         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
48352         instead of $17.
48353         (PTR_DEMANGLE): Likewise.
48355 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48357         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48358         (LP_OP): Likewise.
48359         (ASM_ADDR): Likewise.
48360         (RAX_LP): Likewise.
48361         (RBP_LP): Likewise.
48362         (RBX_LP): Likewise.
48363         (RCX_LP): Likewise.
48364         (RDI_LP): Likewise.
48365         (RSI_LP): Likewise.
48366         (RSP_LP): Likewise.
48367         (R8_LP): Likewise.
48368         (R9_LP): Likewise.
48369         (R10_LP): Likewise.
48370         (R10_LP): Likewise.
48371         (R11_LP): Likewise.
48372         (R12_LP): Likewise.
48373         (R13_LP): Likewise.
48374         (R14_LP): Likewise.
48375         (R15_LP): Likewise.
48377 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48379         * sysdeps/x86_64/x32/dl-machine.h: New file.
48381 2012-05-14  Andreas Jaeger  <aj@suse.de>
48383         * manual/Makefile (subdir): Remove export of subdir.
48384         (all): Remove target.
48385         (.PHONY): Remove all from list.
48386         (mkinstalldirs): Remove.
48387         (.PHONY): Remove installdirs from list.
48388         ($(inst_infodir)/libc.info): Use make-target-directory.
48389         (installdirs): Remove.
48390         (subdir_%): Remove.
48391         (glibc-targets): Remove.
48392         (lib): Remove.
48393         (stubs): Remove.
48394         ($(objpfx)stubs ../po/manual.pot): Remove.
48395         ($(objpfx)stamp%): Remove.
48396         (make-target-directory): Remove.
48397         (subdir_install): Remove.
48398         (routines): Remove.
48399         (aux): Remove.
48400         (sources): Remove.
48401         (objects): Remove.
48402         (headers): Remove.
48404         [BZ #13750]
48405         * manual/.gitignore: Remove, it's not needed anymore.
48406         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48407         all files in it.
48408         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48409         directory.
48410         (texis): Renamed to $(objpfx)texis.
48411         (texis-path): New, contains path to generated files.
48412         (chapters.%): Use texis-path for complete path, add extra argument
48413         libc-texinfo.sh.
48414         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48415         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48416         (summary,texi, stamp-summary): Use complete path of
48417         files. Generate files in build dir.
48418         (dir-add.texi): Build in build dir.
48419         (libm-err.texi,stamp-libm-err): Likewise.
48420         (version.texi, stamp-version): Likewise.
48421         (.%c.texi): Likewise.
48422         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48423         (mostlyclean): Remove target.
48424         (realclean): Remove target.
48425         (generated): Add new variable with contents from mostlyclean and
48426         realclean, remove entries duplicated in common-mostlyclean, add
48427         stamp-libm-err and stamp-version.
48428         (generated-dirs): Add libc directory.
48429         ($(inst_infodir)/libc.info): Install files from build dir.
48431         * manual/install.texi (Configuring and compiling): Adjust since
48432         the info files are not part of the tar ball anymore.
48434 2012-05-14  Andreas Jaeger  <aj@suse.de>
48436         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48437         variable.
48439 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
48441         [BZ #13717]
48442         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48443         to 2.2.0 where earlier.
48444         * sysdeps/unix/sysv/linux/configure: Regenerated.
48445         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48446         Remove conditional code.
48447         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48448         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48449         Remove conditional code.
48450         [!__NR_lchown]: Likewise.
48451         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48452         [__NR_lchown]: Likewise.
48453         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48454         comment referencing __ASSUME_LCHOWN_SYSCALL.
48455         * sysdeps/unix/sysv/linux/i386/sigaction.c
48456         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48457         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48458         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48459         Remove conditional code.
48460         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48461         (__protocol_available): Remove #if 0 code.
48462         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48463         conditional code.
48464         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48465         * sysdeps/unix/sysv/linux/kernel-features.h
48466         (__ASSUME_GETCWD_SYSCALL): Don't define.
48467         (__ASSUME_REALTIME_SIGNALS): Likewise.
48468         (__ASSUME_PREAD_SYSCALL): Likewise.
48469         (__ASSUME_PWRITE_SYSCALL): Likewise.
48470         (__ASSUME_POLL_SYSCALL): Likewise.
48471         (__ASSUME_LCHOWN_SYSCALL): Likewise.
48472         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48473         non-SPARC.
48474         (__ASSUME_SIOCGIFNAME): Don't define.
48475         (__ASSUME_MSG_NOSIGNAL): Likewise.
48476         (__ASSUME_SENDFILE): Define unconditionally.
48477         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48478         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48479         conditional code.
48480         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48481         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48482         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48483         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48484         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48485         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48486         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48488         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48489         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48491         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48492         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48494         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48495         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48497         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48498         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48500         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48501         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48503         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48504         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48506         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48507         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48509         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48510         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48511         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48512         Remove conditional code.
48513         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48514         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48515         Remove conditional code.
48516         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48517         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48518         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48519         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48520         Remove conditional code.
48521         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48522         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48523         Remove conditional code.
48524         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48525         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48526         Remove conditional code.
48527         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48528         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48529         Remove conditional code.
48530         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48531         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48532         Remove conditional code.
48533         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48534         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48535         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48536         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48537         * sysdeps/unix/sysv/linux/sigaction.c
48538         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48539         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48540         * sysdeps/unix/sysv/linux/sigpending.c
48541         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48542         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48543         * sysdeps/unix/sysv/linux/sigprocmask.c
48544         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48545         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48546         * sysdeps/unix/sysv/linux/sigsuspend.c
48547         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48548         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48549         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48550         (__libc_missing_rt_sigs): Remove.
48551         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48552         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48553         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48554         Remove conditional code.
48555         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48556         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48557         return 1.
48558         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48559         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48560         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48561         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48563 2012-05-14  Andreas Jaeger  <aj@suse.de>
48565         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48566         it's not used in glibc.
48567         (__coshm1): Likewise.
48568         (__acosh1p): Likewise.
48569         (__sgn): Likewise.
48571         * manual/string.texi (Copying and Concatenation): Add missing
48572         variable in concat example.
48573         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48575 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48577         [BZ #14103]
48578         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48579         __builtin_clzl with __builtin_clzll.
48581 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48583         [BZ #14104]
48584         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48585         libc_freeres_ptr.
48587 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48589         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48590         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48591         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48592         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48594 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48596         * NEWS: Update ia64 info.
48598 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48600         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48601         used as bcopy.
48603 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48605         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48606         * sysdeps/unix/syscalls.list (dup3): Likewise.
48607         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48608         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48610 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48612         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48613         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48615 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48617         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48618         thread pointer.
48619         (TLS_IE): Use mov/add instead of movq/addq to load thread
48620         pointer.
48621         (TLS_GD_PREFIX): New.
48622         (TLS_GD): Use it.
48624 2012-05-11  David S. Miller  <davem@davemloft.net>
48626         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48627         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48628         (_FPU_SETCW): Likewise.
48630 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48632         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48633         is 32-byte aligned.
48635 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48637         [BZ #11837]
48638         * iconvdata/gb18030.c: Update tables.
48639         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48640         characters specially.
48641         (BODY for TO_LOOP): Add encoding of missing ranges.
48643 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48645         [BZ #13673]
48646         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48647         * sysdeps/mach/hurd/dup3.c: Likewise.
48648         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48649         * sysdeps/powerpc/memmove.c:: Likewise.
48651 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48653         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48654         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48656 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48658         * elf/elf.h (R_X86_64_RELATIVE64): New.
48659         (R_X86_64_NUM): Updated.
48660         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48661         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48662         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48663         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48664         tst-quad1pie tst-quad2pie
48665         (modules-names): Add tst-quadmod1 tst-quadmod2.
48666         ($(objpfx)tst-quad1): New dependency.
48667         ($(objpfx)tst-quad2): Likewise.
48668         ($(objpfx)tst-quad1pie): Likewise.
48669         ($(objpfx)tst-quad2pie): Likewise.
48670         * sysdeps/x86_64/tst-quad1.c: New file.
48671         * sysdeps/x86_64/tst-quad1pie.c: New file.
48672         * sysdeps/x86_64/tst-quad2.c: Likewise.
48673         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48674         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48675         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48676         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48677         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48679 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48681         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48682         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48683         * streams/stropts.h (t_scalar_t): Define type.
48685         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48686         (_PATH_PRESERVE): Set to "/var/lib".
48687         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48689         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48690         instead of int.
48692         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48693         if __dir_mkfile succeeded.
48695         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48696         checking for _hurd_dtablesize.  Unlock it right after having
48697         finished _hurd_dtable allocation.
48699 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48701         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48702         * sysdeps/mach/hurd/configure: Regenerated.
48703         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48704         special-casing to...
48705         * sysdeps/gnu/configure.in: ... this new file.
48706         * sysdeps/unix/sysv/linux/configure: Regenerated.
48707         * sysdeps/gnu/configure: New generated file.
48709         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48710         for Linux: use nsec instead of usec, as well as:
48711         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48712         members of type struct timespec.
48713         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48714         New macros.
48715         (struct stat64): Likewise.
48716         (_STATBUF_ST_NSEC): New macro.
48717         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48719         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48720         __strtoul_internal rather than strtoul.
48722 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48724         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48725         and reject them.
48727 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48729         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48730         which preserves existing values.
48731         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48733 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48735         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48736         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48737         greater than FD_SETSIZE.
48739 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48741         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48742         allocated, call __vm_protect to finish enabling the existing space, and
48743         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48744         allocate the remainder.
48746 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48748         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48749         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48751 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48753         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48754         sysdeps/mach/hurd/readlink.c.
48756         * posix/tst-sysconf.c (posix_options): Only use
48757         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48758         _POSIX_SYNCHRONIZED_IO when they are defined
48759         * sysdeps/mach/hurd/bits/posix_opt.h:
48760         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48761         (_XOPEN_REALTIME): Undefine macro.
48762         (_XOPEN_REALTIME_THREADS): Undefine macro.
48763         (_XOPEN_SHM): Undefine macro.
48764         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48765         macro to -1.
48766         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48767         macro to -1.
48768         (_POSIX_ASYNC_IO): Undefine macro.
48769         (_POSIX_PRIORITIZED_IO): Undefine macro.
48770         (_POSIX_SPIN_LOCKS): Define macro to -1.
48772         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48773         SA_NODEFER, SA_RESETHAND.
48774         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48775         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48776         F_DUPFD_CLOEXEC.
48778 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48780         * elf/Makefile (pldd-modules): Define unconditionally.
48782 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48784         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48788         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48789         Return ENOENT when name is empty.
48790         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48792 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48794         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48796         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48798 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48800         Fix mlock in all cases except non-readable pages.
48801         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48802         instead of VM_PROT_ALL as parameter to __vm_wire function.
48804         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48805         (__mkdir): When path is `/', just fail with EEXIST.
48806         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48808 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48810         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48811         <sys/uio.h> (for writev).
48812         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48813         and <sys/param.h> (for MIN).
48815 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48817         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48818         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48819         if interrupted.
48821 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48823         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48824         Depend on against $(link-rpcuserlibs).
48826 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48828         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48829         (__libc_stack_end): Do not use attribute_relro.
48830         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48831         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48832         to libthread-provided value.
48833         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48834         attribute_relro.
48836 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48838         [BZ #3748]
48839         * bits/libc-lock.h (__libc_once_get): New macro.
48840         * sysdeps/mach/bits/libc-lock.h: Likewise.
48841         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48842         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48843         instead of using implementation details.
48845         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48846         * libio/freopen.c: Likewise.
48847         * libio/freopen64.c: Likewise.
48848         * misc/syslog.c: Likewise.
48849         * nscd/connections.c: Likewise.
48850         * nscd/netgroupcache.c: Likewise.
48851         * sysdeps/posix/getcwd.c: Likewise.
48853 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48855         * math/w_ilogbf.c: Add #include <limits.h>.
48857 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48859         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48860         path instead of returning without unlocking.
48862         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48863         immediate-write ioctls.
48864         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48866 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48868         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48869         __builtin_frame_address instead of making assumptions about the
48870         location of the return address relative to DATA.  Force early load of
48871         the return address.
48872         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48873         __builtin_frame_address.
48875         dup3 for GNU Hurd.
48876         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48877         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48878         implement dup3 and do some further code clean-ups.
48879         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48880         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48882 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48884         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48886         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48887         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48888         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48889         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48890         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48891         d->port.lock.
48893         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48894         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48895         when handler == SIG_ERR, not when handler != SIG_ERR.
48897 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48899         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48900         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48901         definitions.
48903         accept4 for GNU Hurd.
48904         * include/sys/socket.h (__libc_accept4): New prototype.
48905         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48906         to implement __libc_accept4.
48907         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48908         __libc_accept4.
48909         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48911         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48912         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48913         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48914         signal-defines.sym.
48916 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48918         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48920 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48922         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48923         assertion on O_CLOEXEC flag.
48924         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48925         * hurd/intern-fd.c: Likewise.
48926         * hurd/port2fd.c: Likewise.
48928 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48930         [BZ #3906]
48931         * bits/in.h (IPV6_PKTINFO): Define new macro.
48932         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48934 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48936         [BZ #13954]
48937         [BZ #13955]
48938         [BZ #13956]
48939         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48940         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48941         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48942         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48943         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48944         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48945         * math/libm-test.inc (logb_test) : Additional logb tests.
48947 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48948             Andreas Jaeger  <aj@suse.de>
48950         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48951         * configure: Regenerated.
48952         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48953         * config.make.in (link-obsolete-rpc): New substituted variable.
48954         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48955         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48956         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48957         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48958         so that libc.a contains the symbols.
48959         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48960         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48961         * sunrpc/auth_none.c: Likewise.
48962         * sunrpc/auth_unix.c: Likewise.
48963         * sunrpc/authdes_prot.c: Likewise.
48964         * sunrpc/authuxprot.c: Likewise.
48965         * sunrpc/clnt_gen.c: Likewise.
48966         * sunrpc/clnt_perr.c: Likewise.
48967         * sunrpc/clnt_raw.c: Likewise.
48968         * sunrpc/clnt_simp.c: Likewise.
48969         * sunrpc/clnt_tcp.c: Likewise.
48970         * sunrpc/clnt_udp.c: Likewise.
48971         * sunrpc/clnt_unix.c: Likewise.
48972         * sunrpc/des_crypt.c: Likewise.
48973         * sunrpc/des_soft.c: Likewise.
48974         * sunrpc/get_myaddr.c: Likewise.
48975         * sunrpc/key_call.c: Likewise.
48976         * sunrpc/key_prot.c: Likewise.
48977         * sunrpc/netname.c: Likewise.
48978         * sunrpc/pm_getmaps.c: Likewise.
48979         * sunrpc/pm_getport.c: Likewise.
48980         * sunrpc/pmap_clnt.c: Likewise.
48981         * sunrpc/pmap_prot.c: Likewise.
48982         * sunrpc/pmap_prot2.c: Likewise.
48983         * sunrpc/pmap_rmt.c: Likewise.
48984         * sunrpc/publickey.c: Likewise.
48985         * sunrpc/rpc_cmsg.c: Likewise.
48986         * sunrpc/rpc_common.c: Likewise.
48987         * sunrpc/rpc_dtable.c: Likewise.
48988         * sunrpc/rpc_prot.c: Likewise.
48989         * sunrpc/rpc_thread.c: Likewise.
48990         * sunrpc/rtime.c: Likewise.
48991         * sunrpc/svc.c: Likewise.
48992         * sunrpc/svc_auth.c: Likewise.
48993         * sunrpc/svc_raw.c: Likewise.
48994         * sunrpc/svc_run.c: Likewise.
48995         * sunrpc/svc_tcp.c: Likewise.
48996         * sunrpc/svc_udp.c: Likewise.
48997         * sunrpc/svc_unix.c: Likewise.
48998         * sunrpc/svcauth_des.c: Likewise.
48999         * sunrpc/xcrypt.c: Likewise.
49000         * sunrpc/xdr.c: Likewise.
49001         * sunrpc/xdr_array.c: Likewise.
49002         * sunrpc/xdr_float.c: Likewise.
49003         * sunrpc/xdr_intXX_t.c: Likewise.
49004         * sunrpc/xdr_mem.c: Likewise.
49005         * sunrpc/xdr_rec.c: Likewise.
49006         * sunrpc/xdr_ref.c: Likewise.
49007         * sunrpc/xdr_sizeof.c: Likewise.
49008         * sunrpc/xdr_stdio.c: Likewise.
49010 2012-05-10  Roland McGrath  <roland@hack.frob.com>
49012         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49013         change.  Update copyright years.
49015 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49017         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49019 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
49020             Joseph Myers  <joseph@codesourcery.com>
49021             Paul Pluzhnikov  <ppluzhnikov@google.com>
49023         [BZ #14012]
49024         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49025         requiring rpcgen.
49026         [cross-compiling] (extra-libs): Likewise.
49027         [cross-compiling] (extra-libs-others): Likewise.
49028         [cross-compiling] (librpcsvc-routines): Likewise.
49029         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49030         [cross-compiling] (omit-deps): Likewise.
49031         (sunrpc-CPPFLAGS): New variable.
49032         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49033         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49034         (cross-rpcgen-objs): New variable.
49035         (extra-objs): Append $(cross-rpcgen-objs).
49036         ($(cross-rpcgen-objs)): New rule.
49037         ($(objpfx)cross-rpcgen): Likewise.
49038         (rpcgen-cmd): Define to use $(built-program-file).  Expand
49039         comment.
49040         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49041         ($(objpfx)x%.stmp): Likewise.
49042         * sunrpc/proto.h [IS_IN_build] (_): Define.
49043         [IS_IN_build] (_libc_intl_domainname): Likewise.
49045 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
49047         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49048         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49049         and R_X86_64_TPOFF64.
49051 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
49053         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49054         sysdeps/unix/sysv/syscalls.list.
49055         (stime): Likewise.
49056         (utime): Likewise.
49057         * sysdeps/unix/sysv/syscalls.list: Remove file.
49059 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
49061         [BZ #3440]
49062         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49063         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49064         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49065         (__LC_IDENTIFICATION): Make these macros useful in #if
49066         expressions, as required by C99.
49068 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
49070         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49071         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
49072         after this.
49074 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
49076         * stdlib/longlong.h: Updated from GCC.
49078 2012-05-09  Andreas Jaeger  <aj@suse.de>
49080         * nscd/nscd.c (run_modes): Make named enum, reorder so that
49081         default is first entry.
49082         (run_mode): Set type.
49083         (main): Remove informal message about syslog.
49084         (options): Fix typo.
49086         [BZ #14053]
49087         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49088         to asm.
49089         (lrint): Likewise.
49090         (llrintf): Likewise.
49091         (llrint): Likewise.
49092         (rint): Likewise.
49093         (rintf): Likewise.
49094         (nearbyint): Likewise.
49095         (nearbyintf): Likewise.
49097 2012-05-09  Andreas Jaeger  <aj@suse.de>
49098             Pedro Alves  <palves@redhat.com>
49100         * nscd/nscd.c (run_mode): Use enum.
49101         (main): Cleanup coding style issue.
49103 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
49104             Andreas Jaeger  <aj@suse.de>
49106         * nscd/nscd.c (go_background): Replaced with...
49107         (run_mode): ... this.
49108         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49109         (options): Add -F --foreground.
49110         (main): Implement it.
49111         (parse_opt): Parse it.
49113 2012-05-09  Andreas Jaeger  <aj@suse.de>
49115         [BZ #14083]
49116         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49117         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49118         -Wconversion warning.
49119         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49120         Likewise.
49122 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
49124         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
49125         == 0.
49126         (LC_ALL): Use macro-int-constant.
49127         (LC_COLLATE): Likewise.
49128         (LC_CTYPE): Likewise.
49129         (LC_MESSAGES): Likewise.
49130         (LC_MONETARY): Likewise.
49131         (LC_NUMERIC): Likewise.
49132         (LC_TIME): Likewise.
49133         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49134         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49135         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49136         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49137         Specify type.
49138         [C99-based standards] (float_t): Expect type.
49139         [C99-based standards] (double_t): Expect type.
49140         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
49141         type.
49142         [C99-based standards] (HUGE_VALL): Likewise.
49143         [C99-based standards] (INFINITY): Likewise.
49144         [C99-based standards] (NAN): Likewise.
49145         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49146         [C99-based standards] (FP_NAN): Likewise.
49147         [C99-based standards] (FP_NORMAL): Likewise.
49148         [C99-based standards] (FP_SUBNORMAL): Likewise.
49149         [C99-based standards] (FP_ZERO): Likewise.
49150         [C99-based standards] (FP_FAST_FMA): Use
49151         optional-macro-int-constant.  Specify type.  Require == 1.
49152         [C99-based standards] (FP_FAST_FMAF): Likewise.
49153         [C99-based standards] (FP_FAST_FMAL): Likewise.
49154         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49155         [C99-based standards] (FP_ILOGBNAN): Likewise.
49156         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49157         Specify type.
49158         [C99-based standards] (MATH_ERREXCEPT): Likewise.
49159         [C99-based standards] (math_errhandling): Specify type.
49160         [ISO99 || ISO11] (signgam): Do not allow.
49161         [non-C99-based standards] (copysignf): Do not allow.
49162         [non-C99-based standards] (exp2f): Likewise.
49163         [non-C99-based standards] (log2f): Likewise.
49164         [non-C99-based standards] (modff): Allow.
49165         [non-C99-based standards] (erff): Do not allow.
49166         [non-C99-based standards] (erfcf): Likewise.
49167         [non-C99-based standards] (gammaf): Likewise.
49168         [non-C99-based standards] (hypotf): Likewise.
49169         [non-C99-based standards] (j0f): Likewise.
49170         [non-C99-based standards] (j1f): Likewise.
49171         [non-C99-based standards] (jnf): Likewise.
49172         [non-C99-based standards] (lgammaf): Likewise.
49173         [non-C99-based standards] (tgammaf): Likewise.
49174         [non-C99-based standards] (y0f): Likewise.
49175         [non-C99-based standards] (y1f): Likewise.
49176         [non-C99-based standards] (ynf): Likewise.
49177         [non-C99-based standards] (isnanf): Likewise.
49178         [non-C99-based standards] (acoshf): Likewise.
49179         [non-C99-based standards] (asinhf): Likewise.
49180         [non-C99-based standards] (atanhf): Likewise.
49181         [non-C99-based standards] (cbrtf): Likewise.
49182         [non-C99-based standards] (expm1f): Likewise.
49183         [non-C99-based standards] (ilogbf): Likewise.
49184         [non-C99-based standards] (log1pf): Likewise.
49185         [non-C99-based standards] (logbf): Likewise.
49186         [non-C99-based standards] (nextafterf): Likewise.
49187         [non-C99-based standards] (remainderf): Likewise.
49188         [non-C99-based standards] (rintf): Likewise.
49189         [non-C99-based standards] (scalbf): Likewise.
49190         [non-C99-based standards] (copysignl): Likewise.
49191         [non-C99-based standards] (exp2l): Likewise.
49192         [non-C99-based standards] (log2l): Likewise.
49193         [non-C99-based standards] (modfl): Allow.
49194         [non-C99-based standards] (erfl): Do not allow.
49195         [non-C99-based standards] (erfcl): Likewise.
49196         [non-C99-based standards] (gammal): Likewise.
49197         [non-C99-based standards] (hypotl): Likewise.
49198         [non-C99-based standards] (j0l): Likewise.
49199         [non-C99-based standards] (j1l): Likewise.
49200         [non-C99-based standards] (jnl): Likewise.
49201         [non-C99-based standards] (lgammal): Likewise.
49202         [non-C99-based standards] (tgammal): Likewise.
49203         [non-C99-based standards] (y0l): Likewise.
49204         [non-C99-based standards] (y1l): Likewise.
49205         [non-C99-based standards] (ynl): Likewise.
49206         [non-C99-based standards] (isnanl): Likewise.
49207         [non-C99-based standards] (acoshl): Likewise.
49208         [non-C99-based standards] (asinhl): Likewise.
49209         [non-C99-based standards] (atanhl): Likewise.
49210         [non-C99-based standards] (cbrtl): Likewise.
49211         [non-C99-based standards] (expm1l): Likewise.
49212         [non-C99-based standards] (ilogbl): Likewise.
49213         [non-C99-based standards] (log1pl): Likewise.
49214         [non-C99-based standards] (logbl): Likewise.
49215         [non-C99-based standards] (nextafterl): Likewise.
49216         [non-C99-based standards] (remainderl): Likewise.
49217         [non-C99-based standards] (rintl): Likewise.
49218         [non-C99-based standards] (scalbl): Likewise.
49219         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49220         [non-C99-based standards] (FP_*): Do not allow.
49221         [C99-based standards] (FP_*): Change to
49222         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49223         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49224         allow.
49225         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49226         (SIG_ERR): Likewise.
49227         [X/Open-based standards] (SIG_HOLD): Likewise.
49228         (SIG_IGN): Likewise.
49229         (SIGABRT): Use macro-int-constant.  Specify type.  Require
49230         positive value.
49231         (SIGFPE): Likewise.
49232         (SIGILL): Likewise.
49233         (SIGINT): Likewise.
49234         (SIGSEGV): Likewise.
49235         (SIGTER): Likewise.
49236         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49237         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49238         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49239         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49240         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49241         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49242         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49243         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49244         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49245         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49246         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49247         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49248         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49249         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49250         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49251         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49252         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49253         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49254         [X/Open-based standards] (SIGTRAP): Likewise.
49255         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49256         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49257         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49258         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49259         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49260         allow.
49262 2012-05-08  Ian Wienand  <ianw@vmware.com>
49264         [BZ #14080]
49265         * time/tzset.c (__tzset_parse_tz): Update default rules for
49266         daylight time changes in the Energy Policy Act of 2005.
49268 2012-05-09  Andreas Jaeger  <aj@suse.de>
49270         [BZ #13983]
49271         * elf/ldconfig.c (parse_conf): Change string to make clear that
49272         ldconfig only issued a warning if ld.so.conf does not exist.
49274 2012-05-08  David S. Miller  <davem@davemloft.net>
49276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49277         movxtod instead of popping the value on the stack.
49279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49281 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
49283         * config.h.in: Add HAVE_ARM_PCS_VFP.
49285 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
49287         [BZ #13979]
49288         * include/features.h: Warn if user requests __FORTIFY_SOURCE
49289         checking but the checks are disabled for any reason.
49291 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
49293         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49294         and ELF64_R_TYPE with ELFW(R_TYPE).
49296 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
49298         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49299         (ulimit): Likewise.
49301         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49302         (settimeofday): Likewise.
49304 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
49306         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
49307         a struct th_u2 inside the union, and move tu_block/tu_code into
49308         a new th_u3 union of tu_block/tu_code inside of that.  Move
49309         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
49310         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
49311         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49312         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49313         (th_stuff): Change to th_u1.tu_stuff.
49314         (th_data): Define.
49315         (th_msg): Change to th_u1.th_u2.tu_data.
49317 2012-05-07  David S. Miller  <davem@davemloft.net>
49319         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49321         [BZ #14074]
49322         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49323         (SETUP_PIC_REG): Use it.
49324         (SETUP_PIC_REG_LEAF): Use it.
49326 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
49328         [BZ #13885]
49329         [BZ #13923]
49330         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49331         USE_AS_EXPM1L.
49332         (EXPL_FINITE): Likewise.
49333         (FLDLOG): Likewise.
49334         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49335         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49336         e_expl.S.
49337         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49338         USE_AS_EXPM1L.
49339         (EXPL_FINITE): Likewise.
49340         (FLDLOG): Likewise.
49341         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49342         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49343         e_expl.S.
49344         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
49345         test of -max_value argument for long double.
49346         * sysdeps/i386/fpu/libm-test-ulps: Update.
49347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49349 2012-05-06  David S. Miller  <davem@davemloft.net>
49351         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49352         quad soft-float symbols whose references which are compiler
49353         generated.
49354         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49356 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
49358         [BZ #13884]
49359         [BZ #13914]
49360         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49361         USE_AS_EXP10L.
49362         (EXPL_FINITE): Likewise.
49363         (FLDLOG): Likewise.
49364         (c0): Likewise.
49365         (c1): Likewise.
49366         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49367         Adjust comments for base varying.
49368         (__expl_finite): Change alias to EXPL_FINITE.
49369         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49370         e_expl.S.
49371         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49372         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49373         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49374         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49375         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49376         USE_AS_EXP10L.
49377         (EXPL_FINITE): Likewise.
49378         (FLDLOG): Likewise.
49379         (c0): Likewise.
49380         (c1): Likewise.
49381         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
49382         Adjust comments for base varying.
49383         (__expl_finite): Change alias to EXPL_FINITE.
49384         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
49385         tests for bugs.
49386         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49388         [BZ #14064]
49389         * math/libm-test.inc (check_float_internal): Correct ulp
49390         calculation for subnormal expected results.
49392 2012-05-06  Andreas Jaeger  <aj@suse.de>
49394         * Makeconfig (+math-flags): New, set to -frounding-math.
49395         (+cflags): Add +math-flags so that all of glibc gets compiled with
49396         it.
49398         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49400 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
49402         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49403         Disable one test.
49405         [BZ #13787]
49406         [BZ #13922]
49407         [BZ #14036]
49408         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49409         (__ieee754_expl): Allow for and saturate large arguments.
49410         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49411         (u_threshold): Likewise.
49412         (__exp): Call __ieee754_exp before checking for overflow and
49413         underflow.
49414         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49415         (u_threshold): Likewise.
49416         (__expf): Call __ieee754_expf before checking for overflow and
49417         underflow.
49418         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49419         (u_threshold): Likewise.
49420         (__expl): Call __ieee754_expl before checking for overflow and
49421         underflow.
49422         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49423         (__ieee754_expl): Allow for and saturate large arguments.
49424         * math/libm-test.inc (exp_test): Add another test.  Do not allow
49425         missing overflow exception on overflow.
49426         (expm1_test): Do not allow missing overflow exception on overflow.
49428         * sysdeps/i386/fpu/e_expl.c: Move to ...
49429         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
49430         rather than using inline asm.
49431         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49432         * sysdeps/x86_64/fpu/e_expl.S: Copy from
49433         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49435         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49436         (nice): Likewise.
49437         (poll): Likewise.
49438         (signal): Likewise.
49439         (time): Likewise.
49440         (times): Likewise.
49442 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49444         * sysdeps/unix/syscalls.list (adjtime): Add entry from
49445         sysdeps/unix/common/syscalls.list.
49446         (fchmod): Likewise.
49447         (fchown): Likewise.
49448         (ftruncate): Likewise.
49449         (getrusage): Likewise.
49450         (gettimeofday): Likewise.
49451         (setpgid): Likewise.
49452         (setregid): Likewise.
49453         (setreuid): Likewise.
49454         (sigaction): Likewise.
49455         (truncate): Likewise.
49456         (vhangup): Likewise.
49457         * sysdeps/unix/common/syscalls.list: Remove file.
49458         * sysdeps/unix/bsd/Implies: Don't include unix/common.
49459         * sysdeps/unix/sysv/linux/Implies: Likewise.
49461 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
49463         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49465         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49466         Moved to ...
49467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49468         Here.
49469         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49470         to ...
49471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49472         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49473         to ...
49474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49475         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49476         to ...
49477         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49478         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49479         to ...
49480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49481         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49482         to ...
49483         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49484         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49485         to ...
49486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49487         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49488         to ...
49489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49490         Here.
49491         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49492         to ...
49493         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49494         Here.
49495         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49496         to ...
49497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49498         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49499         Moved to ...
49500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49501         Here.
49502         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49503         to ...
49504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49506 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49508         * sysdeps/unix/common/bits/dirent.h: Remove file.
49509         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49511         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49512         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49513         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49514         * sysdeps/unix/bsd/isatty.c: Likewise.
49515         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49516         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49517         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49519 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49521         [BZ #13563]
49522         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49523         long double comparison inaccuracies.
49524         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49527 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49529         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49530         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49532 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49534         [BZ #14049]
49535         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49536         nonzero digits before rounding a hex value.
49537         * stdlib/tst-strtod.c (tests): Add another test.
49539 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49541         * sysdeps/s390/fpu/libm-test-ulps: Update.
49543 2012-05-03  Andreas Jaeger  <aj@suse.de>
49545         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49546         does not get optimized out.
49547         (malloc_opt_barrier): New.
49549 2012-05-03  Andreas Jaeger  <aj@suse.de>
49550             Roland McGrath  <roland@hack.frob.com>
49552         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49553         intermediate file deletion.
49554         (generated): Add .symlist files.
49556 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49558         [BZ #13775]
49559         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49560         Redirect under this condition.
49561         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49562         [__USE_GNU] (__dprintf_chk): Not under this condition.
49563         [__USE_GNU] (__vdprintf_chk): Likewise.
49564         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49565         under this condition.
49566         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49567         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49568         [__USE_XOPEN2K8] (vdprintf): Likewise.
49569         [__USE_GNU] (__dprintf_chk): Not under this condition.
49570         [__USE_GNU] (__vdprintf_chk): Likewise.
49571         [__USE_GNU] (dprintf): Likewise.
49572         [__USE_GNU] (vdprintf): Likewise.
49574 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49576         * elf/Makefile (common-generated): Set this instead of generated for
49577         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49578         $(all-built-dso)-derived lists.
49580 2012-05-03  Andreas Jaeger  <aj@suse.de>
49582         * sysdeps/i386/fpu/libm-test-ulps: Update.
49584         * FAQ: Removed.
49585         * FAQ.in: Likewise.
49586         * scripts/gen-FAQ.pl: Likewise.
49587         * manual/install.texi (Installation): Point to online location of
49588         FAQ.
49589         * Makefile (files-for-dist): Remove FAQ.
49590         (FAQ): Remove.
49592 2012-05-02  Allan McRae  <allan@archlinux.org>
49594         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49595         (LDFLAGS-reldepmod5.so): Likewise.
49596         (LDFLAGS-reldep6mod1.so): Likewise.
49597         (LDFLAGS-reldep6mod4.so): Likewise.
49598         (LDFLAGS-reldep8mod3.so): Likewise.
49599         (LDFLAGS-unload4mod1.so): Likewise.
49600         (LDFLAGS-unload4mod2.so): Likewise.
49601         (LDFLAGS-tst-initorder): Likewise.
49602         (LDFLAGS-tst-initordera2.so): Likewise.
49603         (LDFLAGS-tst-initordera3.so): Likewise.
49604         (LDFLAGS-tst-initordera4.so): Likewise.
49605         (LDFLAGS-tst-initorderb2.so): Likewise.
49606         (LDFLAGS-noload): Likewise.
49607         (LDFLAGS-next): Likewise.
49608         (LDFLAGS-order2mod1.so): Likewise.
49609         (LDFLAGS-order2mod2.so): Likewise.
49610         (LDFLAGS-tst-initorder2): Likewise.
49611         (LDFLAGS-tst-initorder2a.so): Likewise.
49612         (LDFLAGS-tst-initorder2b.so): Likewise.
49613         (LDFLAGS-tst-initorder2c.so): Likewise.
49614         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49616 2012-05-02  David S. Miller  <davem@davemloft.net>
49618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49620 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49622         [BZ #14055]
49623         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49625 2012-05-02  Andreas Jaeger  <aj@suse.de>
49627         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49628         since we manipulate rounding mode.
49629         (CPPFLAGS-test-idouble.c): Likewise.
49630         (CPPFLAGS-test-ifloat.c): Likewise.
49631         (CFLAGS-test-ldouble.c): Likewise.
49632         (CFLAGS-test-double.c): Likewise.
49633         (CFLAGS-test-float.c): Likewise.
49634         (CFLAGS-test-misc.c): Likewise.
49635         (CFLAGS-test-test-fenv.c): Likewise.
49637 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49639         [BZ #2550]
49640         [BZ #2570]
49641         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49642         comparisons to determine direction to adjust input.
49644 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49646         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49647         output to the target.
49649         * scripts/localplt.awk: New file.
49650         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49651         (check-localplt-CFLAGS): Variable removed.
49652         ($(all-built-dso:=.jmprel)): New static pattern rule.
49653         (generated): Add those targets.
49654         (localplt-built-dso): New variable.
49655         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49657         * elf/check-localplt.c: File removed.
49659         * scripts/check-execstack.awk: New file.
49660         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49661         (check-execstack-CFLAGS): Variable removed.
49662         ($(objpfx)check-execstack.h): Target removed.
49663         ($(objpfx)execstack-default): New target.
49664         (generated): Add that instead of check-execstack.h.
49665         ($(all-built-dso:=.phdr)): New static pattern rule.
49666         (generated): Add those targets.
49667         * elf/check-execstack.c: File removed.
49669         * scripts/check-textrel.awk: New file.
49670         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49671         (check-textrel-CFLAGS): Variable removed.
49672         (all-built-dso): Use := to define.o
49673         ($(all-built-dso:=.dyn)): New static pattern rule.
49674         (generated): Add those targets.
49675         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49676         * config.make.in (READELF): New substituted variable.
49677         * elf/check-textrel.c: File removed.
49679 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49681         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49682         allow.
49683         * conform/data/ctype.h-data [C99-based standards] (isblank):
49684         Expect function.
49685         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49686         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49687         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49688         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49689         Specify type.  Require positive value.
49690         (EILSEQ): Likewise.
49691         (ERANGE): Likewise.
49692         [ISO || POSIX] (EILSEQ): Do not expect.
49693         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49694         Specify type.  Require positive value.
49695         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49696         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49697         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49698         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49699         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49700         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49701         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49702         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49703         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49704         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49705         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49706         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49707         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49708         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49709         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49710         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49711         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49712         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49713         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49714         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49715         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49716         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49717         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49718         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49719         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49720         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49721         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49722         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49723         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49724         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49725         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49726         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49727         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49728         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49729         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49730         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49731         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49732         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49733         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49734         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49735         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49736         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49737         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49738         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49739         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49740         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49741         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49742         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49743         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49744         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49745         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49746         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49747         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49748         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49749         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49750         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49751         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49752         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49753         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49754         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49755         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49756         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49757         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49758         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49759         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49760         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49761         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49762         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49763         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49764         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49765         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49766         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49767         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49768         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49769         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49770         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49771         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49772         Require >= 2.
49773         (FLT_ROUNDS): Expect as macro, not constant.
49774         (FLT_MANT_DIG): Use macro-int-constant.
49775         (DBL_MANT_DIG): Likewise.
49776         (LDBL_MANT_DIG): Likewise.
49777         (FLT_DIG): Likewise.
49778         (DBL_DIG): Likewise.
49779         (LDBL_DIG): Likewise.
49780         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49781         (DBL_MIN_EXP): Likewise.
49782         (LDBL_MIN_EXP): Likewise.
49783         (FLT_MAX_EXP): Use macro-int-constant.
49784         (DBL_MAX_EXP): Likewise.
49785         (LDBL_MAX_EXP): Likewise.
49786         (FLT_MAX_10_EXP): Likewise.
49787         (DBL_MAX_10_EXP): Likewise.
49788         (LDBL_MAX_10_EXP): Likewise.
49789         (FLT_MAX): Use macro-constant.
49790         (DBL_MAX): Likewise.
49791         (LDBL_MAX): Likewise.
49792         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49793         (DBL_EPSILON): Likewise.
49794         (LDBL_EPSILON): Likewise.
49795         (FLT_MIN): Likewise.
49796         (DBL_MIN): Likewise.
49797         (LDBL_MIN): Likewise.
49798         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49799         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49800         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49801         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49802         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49803         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49804         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49805         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49806         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49807         [ISO11] (FLT_TRUE_MIN): Likewise.
49808         [ISO11] (LDBL_TRUE_MIN): Likewise.
49809         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49810         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49811         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49812         (SCHAR_MAX): Likewise.
49813         (UCHAR_MAX): Likewise.
49814         (CHAR_MIN): Likewise.
49815         (CHAR_MAX): Likewise.
49816         (MB_LEN_MAX): Use macro-int-constant.
49817         (SHRT_MIN): Use macro-int-constant.  Specify type.
49818         (SHRT_MAX): Likewise.
49819         (USHRT_MAX): Likewise.
49820         (INT_MAX): Likewise.
49821         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49822         bound negative.
49823         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49824         bound with "U".
49825         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49826         bound with "L".
49827         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49828         bound negative.  Suffix upper bound with "L".
49829         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49830         bound with "UL".
49831         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49832         Specify type.
49833         [C99-based standards] (LLONG_MAX): Likewise.
49834         [C99-based standards] (ULLONG_MAX): Likewise.
49835         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49836         == 0.
49837         [ISO11] (max_align_t): Require type.
49838         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49840         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49841         from $CFLAGS, without defining away __attribute__ calls.
49842         (checknamespace): Use $CFLAGS_namespace.
49844         * conform/conformtest.pl (@keywords): Only include C99 keywords
49845         for standards based on C99 or C11.
49847         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49848         Disable tests.
49849         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49850         UNIX98]: Likewise.
49852         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49853         usability of symbols in #if.
49855         * conform/conformtest.pl: If macro or constant types start
49856         "promoted:", expect the symbol to be of the following type
49857         promoted by the integer promotions.
49859         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49860         in one place.  Also handle "macro-constant".
49862         * conform/conformtest.pl: Only accept expected macro values with
49863         "==".  Parse all "macro" lines in one place.
49864         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49866         * conform/conformtest.pl: Handle braced types on "constant" lines
49867         instead of handling "typed-constant".
49868         * conform/data/signal.h-data: Use "constant" instead of
49869         "typed-constant".
49871         * conform/conformtest.pl: Handle "optional-" at start of lines in
49872         one place rather than duplicating several cases.  Handle each
49873         format of "macro" line with initial "optional-".
49875         * conform/conformtest.pl: Only accept expected constant or
49876         optional-constant values with "==".  Parse all "constant" lines in
49877         one place.  Parse all "optional-constant" lines in one place.
49878         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49879         * conform/data/fmtmsg.h-data: Likewise.
49880         * conform/data/netinet/in.h-data: Likewise.
49881         * conform/data/tar.h-data: Likewise.
49882         * conform/data/limits.h-data: Use "==" form on "constant" and
49883         "optional-constant" lines.
49885         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49886         Use -std=c99 for XOPEN2K.
49887         (@knownproblems): Remove.
49888         (newtoken): Don't check %isknown.
49890         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49891         Do not expect macro.
49892         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49893         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49894         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49895         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49896         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49897         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49898         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49899         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49900         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49901         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49902         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49903         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49904         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49905         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49906         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49907         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49908         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49909         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49910         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49911         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49912         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49913         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49914         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49915         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49916         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49917         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49918         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49919         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49920         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49921         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49922         [XPG3] (acosh): Likewise.
49923         [XPG3] (asinh): Likewise.
49924         [XPG3] (atanh): Likewise.
49925         [XPG3] (cbrt): Likewise.
49926         [XPG3] (expm1): Likewise.
49927         [XPG3] (ilogb): Likewise.
49928         [XPG3] (log1p): Likewise.
49929         [XPG3] (logb): Likewise.
49930         [XPG3] (nextafter): Likewise.
49931         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49932         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49933         [XPG3] (remainder): Likewise.
49934         [XPG3] (rint): Likewise.
49935         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49936         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49937         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49938         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49939         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49940         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49941         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49942         [UNIX98 || XOPEN2K] (scalb): Expect.
49943         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49944         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49945         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49946         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49947         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49948         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49949         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49950         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49951         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49952         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49953         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49954         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49955         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49956         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49957         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49958         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49959         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49960         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49961         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49962         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49963         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49964         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49965         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49966         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49967         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49968         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49969         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49970         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49971         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49972         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49973         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49974         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49975         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49976         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49977         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49978         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49979         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49980         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49981         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49982         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49983         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49984         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49985         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49986         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49987         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49988         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49989         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49990         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49991         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49992         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49993         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49994         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49995         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49996         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49997         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49998         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49999         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50000         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50001         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50002         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50003         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50004         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50005         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50006         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50007         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50008         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50009         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50010         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50011         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50012         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50013         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50014         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50015         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50016         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50017         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50018         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50019         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50020         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50021         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50022         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50023         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50024         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50025         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50026         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50027         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50028         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50029         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50030         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50031         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50032         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50033         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50034         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50035         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50036         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50037         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50038         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50039         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50040         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50041         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50042         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50043         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50044         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50045         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50046         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50047         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50048         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50049         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50050         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50051         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50052         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50053         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50054         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50055         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50056         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50057         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50058         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50059         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50060         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50061         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50062         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50063         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50064         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50065         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50066         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50067         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50068         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50069         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50070         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50071         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50072         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50073         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50074         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50075         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50076         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50077         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50078         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50079         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50081         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50082         _XOPEN_SOURCE_EXTENDED for XPG4.
50084         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50086         * Makeconfig (localtime): Remove variable.
50087         (inst_localtime-file): Likewise.
50089 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50092         Update.
50093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50094         Update.
50095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50096         Update.
50097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50098         Update.
50099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50100         Update.
50101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50102         Update.
50103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50104         Update.
50105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50106         Update.
50107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50108         Update.
50110 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
50112         [BZ #2550]
50113         [BZ #2570]
50114         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50115         comparisons to determine direction to adjust input.
50116         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50117         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50118         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50119         Likewise.
50120         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50121         Likewise.
50122         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50123         Likewise.
50124         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50125         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50126         Likewise.
50127         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50128         Likewise.
50129         * math/libm-test.inc (nexttoward_test): Add more tests.
50131 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50133         [BZ #14040]
50134         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50135         in version GLIBC_2.1, not GLIBC_2.0.
50136         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50137         Likewise.
50139 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
50141         [BZ #13942]
50142         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50143         (1 - x) * (1 + x).
50144         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50145         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50146         * math/libm-test.inc (acos_test): Add more tests.
50147         (asin_test): Likewise.
50148         * sysdeps/i386/fpu/libm-test-ulps: Update.
50149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50151         [BZ #14034]
50152         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50153         of square root.
50154         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50155         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50156         * math/libm-test.inc (acos_test_tonearest): New function.
50157         (acos_test_towardzero): Likewise.
50158         (acos_test_downward): Likewise.
50159         (acos_test_upward): Likewise.
50160         (asin_test_tonearest): Likewise.
50161         (asin_test_towardzero): Likewise.
50162         (asin_test_downward): Likewise.
50163         (asin_test_upward): Likewise.
50164         (main): Call the new functions.
50165         * sysdeps/i386/fpu/libm-test-ulps: Update.
50166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50168         [BZ #13884]
50169         [BZ #13924]
50170         * math/e_exp10.c: Include <float.h>.
50171         (__ieee754_exp10): Handle underflow here rather than multiplying
50172         large negative argument by M_LN10.
50173         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50174         of __ieee754_expf.
50175         * math/e_exp10l.c: Include <float.h>.
50176         (__ieee754_exp10l): Handle underflow here rather than multiplying
50177         large negative argument by M_LN10l.
50178         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
50179         spurious overflow exception on underflow.
50181 2012-04-29  Marek Polacek  <polacek@redhat.com>
50183         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50184         (__fortify_function): New macro.
50185         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50186         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50187         __extern_always_inline.
50188         * libio/bits/stdio2.h: Likewise.
50189         * libio/bits/stdio.h: Likewise.
50190         * string/string.h: Likewise.
50191         * string/bits/string3.h: Likewise.
50192         * include/stdio.h: Likewise.
50193         * stdlib/bits/stdlib.h: Likewise.
50194         * stdlib/stdlib.h: Likewise.
50195         * rt/bits/mqueue2.h: Likewise.
50196         * rt/mqueue.h: Likewise.
50197         * posix/bits/unistd.h: Likewise.
50198         * posix/unistd.h: Likewise.
50199         * io/bits/poll2.h: Likewise.
50200         * io/bits/fcntl2.h: Likewise.
50201         * io/fcntl.h: Likewise.
50202         * io/sys/poll.h: Likewise.
50203         * misc/bits/syslog.h: Likewise.
50204         * misc/bits/syslog-ldbl.h: Likewise.
50205         * misc/sys/syslog.h: Likewise.
50206         * socket/bits/socket2.h: Likewise.
50207         * socket/sys/socket.h: Likewise.
50208         * debug/tst-chk1.c: Likewise.
50209         * wcsmbs/bits/wchar2.h: Likewise.
50210         * wcsmbs/bits/wchar-ldbl.h: Likewise.
50211         * wcsmbs/wchar.h: Likewise.
50213 2012-04-29  Andreas Jaeger  <aj@suse.de>
50215         * Makerules (tests): Remove enable-check-abi protection.
50216         (check-abi-warn): Remove.
50217         (check-abi-%): Remove check-abi-warn usage.
50219         * configure.in: Remove check-abi configure option.
50220         * configure: Regenerated.
50221         * config.make.in (enable-check-abi): Remove.
50223 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
50225         [BZ #14033]
50226         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50227         double functions to double *_finite functions.
50229         [BZ #13941]
50230         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50231         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50232         LDBL_MIN_EXP.
50233         * stdio-common/Makefile (tests): Add tst-sprintf3.
50234         * stdio-common/tst-sprintf3.c: New file.
50236         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50237         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50239 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50241         * conform/conformtest.pl: Remove duplicate typed-constant
50242         handling.
50244 2012-04-28  David S. Miller  <davem@davemloft.net>
50246         * Makerules (%.abilist): Add vpath on sysdep_dirs.
50247         (check-abi-%): Remove AWK script prerequisite and explicit
50248         abilist directory.
50249         (check-abi): Rewrite to just diff the symlist with the abilist.
50250         (config-tls, config-abi-config): Delete, no longer used.
50251         (update-abi-%): Remove AWK script and explicit abilist directory.
50252         (update-abi): Rewrite to simply compare and conditionally copy the
50253         symlist and the sysdep abilist file.  Remove update-abi-config
50254         checks.
50255         * abilist/ld.abilist: Remove.
50256         * abilist/libBrokenLocale.abilist: Remove.
50257         * abilist/libanl.abilist: Remove.
50258         * abilist/libcrypt.abilist: Remove.
50259         * abilist/libdl.abilist: Remove.
50260         * abilist/librt.abilist: Remove.
50261         * abilist/libthread_db.abilist: Remove.
50262         * abilist/libutil.abilist: Remove.
50263         * scripts/extract-abilist.awk: Remove.
50264         * scripts/merge-abilist.awk: Remove.
50265         * sysdeps/generic/libcidn.abilist: New file.
50266         * sysdeps/generic/libnss_compat.abilist: New file.
50267         * sysdeps/generic/libnss_db.abilist: New file.
50268         * sysdeps/generic/libnss_dns.abilist: New file.
50269         * sysdeps/generic/libnss_files.abilist: New file.
50270         * sysdeps/generic/libnss_hesiod.abilist: New file.
50271         * sysdeps/generic/libnss_nis.abilist: New file.
50272         * sysdeps/generic/libnss_nisplus.abilist: New file.
50273         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50274         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50275         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50276         file.
50277         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50278         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50279         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50280         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50281         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50282         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50283         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50284         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50285         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50286         file.
50287         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50288         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50289         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50290         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50291         file.
50292         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50293         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50294         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50295         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50296         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50297         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50298         file.
50299         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50300         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50301         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50302         file.
50303         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50304         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50305         New file.
50306         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50307         New file.
50308         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50309         New file.
50310         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50311         New file.
50312         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50313         New file.
50314         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50315         New file.
50316         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50317         New file.
50318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50319         New file.
50320         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50321         New file.
50322         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50323         New file.
50324         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50325         New file.
50326         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50327         New file.
50328         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50329         New file.
50330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50331         file.
50332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50333         New file.
50334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50335         New file.
50336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50337         file.
50338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50339         New file.
50340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50341         New file.
50342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50343         file.
50344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50345         New file.
50346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50347         New file.
50348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50349         New file.
50350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50351         New file.
50352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50353         New file.
50354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50355         New file.
50356         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50358         file.
50359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50360         New file.
50361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50362         file.
50363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50364         file.
50365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50366         file.
50367         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50368         file.
50369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50370         file.
50371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50372         New file.
50373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50374         file.
50375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50376         file.
50377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50378         New file.
50379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50380         file.
50381         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50382         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50383         file.
50384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50385         New file.
50386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50387         file.
50388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50389         file.
50390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50391         file.
50392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50393         file.
50394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50395         file.
50396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50397         New file.
50398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50399         file.
50400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50401         file.
50402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50403         New file.
50404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50405         file.
50406         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50407         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50408         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50409         file.
50410         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50411         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50412         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50413         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50414         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50415         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50416         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50417         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50418         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50419         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50420         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50421         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50422         file.
50423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50424         New file.
50425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50426         file.
50427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50428         file.
50429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50430         file.
50431         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50432         file.
50433         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50434         file.
50435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50436         New file.
50437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50438         New file.
50439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50440         file.
50441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50442         New file.
50443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50444         file.
50445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50447         file.
50448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50449         New file.
50450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50451         file.
50452         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50453         file.
50454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50455         file.
50456         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50457         file.
50458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50459         file.
50460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50461         New file.
50462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50463         New file.
50464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50465         file.
50466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50467         New file.
50468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50469         file.
50471 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
50473         * conform/conformtest.pl: Fix typo in handling typed-constant from
50474         allow-header.
50476 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50478         * README: Cut down references to pre-2.6 Linux kernels and
50479         Linuxthreads.  Update lists of configurations in libc and ports
50480         and sort alphabetically.  Say "or newer" with Linux kernel version
50481         requirements.
50483         * config.h.in [IS_IN_build]: Allow compiling without optimization.
50485 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50487         [BZ #887]
50488         * math/libm-test.inc (logb_test_downward): New test to expose
50489         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50490         rounding mode.
50492 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50494         [BZ #14027]
50495         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50496         to be done.
50497         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50498         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50500 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50502         * sysdeps/unix/i386/brk.S: Remove file.
50503         * sysdeps/unix/i386/dl-brk.S: Likewise.
50504         * sysdeps/unix/i386/pipe.S: Likewise.
50505         * sysdeps/unix/i386/sigreturn.S: Likewise.
50506         * sysdeps/unix/i386/syscall.S: Likewise.
50507         * sysdeps/unix/i386/vfork.S: Likewise.
50508         * sysdeps/unix/i386/wait.S: Likewise.
50510         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50511         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50513         * configure.in (arm*-none*): Do not allow without
50514         --enable-hacker-mode.
50515         (netbsd*): Remove case setting base_os.
50516         (386bsd*): Likewise.
50517         (freebsd*): Likewise.
50518         (bsdi*): Likewise.
50519         (osf*): Likewise.
50520         (sunos*): Likewise.
50521         (ultrix*): Likewise.
50522         (newsos*): Likewise.
50523         (dynix*): Likewise.
50524         (*bsd*): Likewise.
50525         (sysv*): Likewise.
50526         (isc*): Likewise.
50527         (esix*): Likewise.
50528         (sco*): Likewise.
50529         (minix*): Likewise.
50530         (irix4*): Likewise.
50531         (irix6*): Likewise.
50532         (solaris[2-9]*): Likewise.
50533         (none): Likewise.
50534         * configure: Regenerated.
50536 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50538         [BZ #11521]
50539         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50540         overflow or cancellation in calculating denominator.
50541         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50542         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50543         down expression to avoid unexpected rounding in newer GCCs.
50544         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50546 2012-04-26  David S. Miller  <davem@davemloft.net>
50548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50549         long-double compat symbols.
50550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50555         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50556         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50562         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50564 2012-04-25  David S. Miller  <davem@davemloft.net>
50566         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50567         HWCAP_* values only after the memory barriers have been defined.
50568         (atomic_full_barrier): Define.
50569         (atomic_read_barrier): Define.
50570         (atomic_write_barrier): Define.
50572 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50574         * shlib-versions: Add libgcc_s version information.
50575         * sysdeps/generic/libgcc_s.h: Remove.
50576         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50577         libgcc_s.h.
50578         * sysdeps/gnu/unwind-resume.c: Likewise.
50579         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50581 2012-04-25  David S. Miller  <davem@davemloft.net>
50583         * sysdeps/unix/sparc/brk.S: Delete.
50584         * sysdeps/unix/sparc/dl-brk.S: Delete.
50585         * sysdeps/unix/sparc/pipe.S: Delete.
50586         * sysdeps/unix/sparc/sysdep.S: Delete.
50587         * sysdeps/unix/sparc/sysdep.h: Delete.
50588         * sysdeps/unix/sparc/vfork.S: Delete.
50589         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50590         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50591         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50592         (ret_ERRVAL, r0, r1, MOVE): Define.
50593         (JUMPTARGET): Remove.
50594         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50595         sysdeps/unix/sparc/sysdep.h
50596         (ENTRY, END): Remove.
50597         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50599 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50601         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50602         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50603         -DIS_IN_build.
50605         * timezone/README: Update upstream location and email address for
50606         tzcode and tzdata.
50607         * timezone/zdump.c: Update from tzcode 2012b.
50608         * timezone/zic.c: Likewise.
50610         * configure.in (libc_cv_as_needed): Remove test.
50611         * configure: Regenerated.
50612         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50613         conditional definition.
50614         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50615         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50616         * config.make.in (have-as-needed): Remove variable.
50618 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50619             Paul Pluzhnikov  <ppluzhnikov@google.com>
50621         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50622         strings correctly.
50624 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50626         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50627         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50628         * sysdeps/sh/strlen.S: Likewise.
50630 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50632         * sysdeps/unix/fork.S: Remove file.
50633         * sysdeps/unix/i386/fork.S: Likewise.
50634         * sysdeps/unix/sparc/fork.S: Likewise.
50636         * sysdeps/unix/system.c: Remove file.
50637         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50639         * sysdeps/unix/getegid.S: Remove file.
50640         * sysdeps/unix/geteuid.S: Likewise.
50642 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50644         * scripts/check-localplt.awk: New file.
50645         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50646         of diff.
50647         * scripts/data/localplt-generic.data: Add a comment.
50649         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50650         NODE when __dir_mkfile failed.
50651         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50652         Reported by Ludovic Courtès <ludo@gnu.org>.
50654 2012-04-24  Andreas Jaeger  <aj@suse.de>
50656         * Makerules (common-clean): Also remove gen-as-const-headers
50657         files.
50659 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50661         * Makerules (native-compile): Do not change working directory for
50662         build.  Use $(OUTPUT_OPTION) in command.
50663         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50665 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50667         [BZ #13886]
50668         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50669         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50670         * math/libm-test.inc (floor_test): Add more tests.
50671         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50673 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50675         * sysdeps/unix/getdents.c: Remove file.
50676         * sysdeps/unix/sysv/getdents.c: Likewise.
50677         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50679         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50680         sysdeps/unix/mman/syscalls.list.
50681         (mmap): Likewise.
50682         (mprotect): Likewise.
50683         (msync): Likewise.
50684         (munmap): Likewise.
50685         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50686         * sysdeps/unix/mman/syscalls.list: Remove.
50687         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50689         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50690         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50691         * configure: Regenerated.
50692         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50693         $(libgcc_s_suffix).
50694         * config.make.in (libgcc_s_suffix): Remove variable.
50696 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50698         * sysdeps/unix/sysv/gethostname.c: Move to ...
50699         * sysdeps/posix/gethostname.c: ... here.
50701         * sysdeps/unix/execve.S: Remove file.
50703         * sysdeps/unix/_exit.S: Remove file.
50705 2012-04-23  Andreas Jaeger  <aj@suse.de>
50707         [BZ #13739]
50708         * manual/Makefile: Remove make dist support, there's no
50709         need for a stand-alone documentation tar ball.
50710         (TEXI2DVI): Define always, it's not in Makeconfig.
50711         (dist): Removed.
50712         (tar-it): Removed.
50713         (edition): Removed.
50714         (glibc-doc-$(edition).tar): Removed
50715         (%.Z): Removed.
50716         (%.gz): Removed.
50717         (%.uu): Removed.
50718         (ETAGS): Remove, it's in Makeconfig.
50719         (move-if-change): Remove, it's in Makeconfig.
50721 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50723         [BZ #13970]
50724         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50725         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50726         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50727         (strtod_l, strtof_l, strtold_l): Remove __wur.
50728         It is not necessarily an error to ignore strtol's return value.
50729         One can reliably look at the stored endptr to decide whether
50730         the number had valid syntax.
50732 2012-04-21  Andreas Jaeger  <aj@suse.de>
50734         [BZ #13739]
50735         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50737 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50739         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50740         * sysdeps/unix/sysv/Versions: Remove file.
50742 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50744         [BZ #13927]
50745         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50747 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50749         [BZ #7064]
50750         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50751         version from __vm86.
50753 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50755         * sysdeps/unix/common/lxstat.c: Remove file.
50756         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50758         * sysdeps/unix/sysv/Makefile: Remove file.
50760         * sysdeps/unix/sysv/direct.h: Remove file.
50762         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50763         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50764         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50765         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50766         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50767         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50768         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50770         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50772         * sysdeps/unix/xmknod.c: Remove file.
50773         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50775         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50777         * sysdeps/unix/sysv/i386/time.S: Remove file.
50779         * sysdeps/unix/fxstat.c: Remove file.
50780         * sysdeps/unix/xstat.c: Likewise.
50781         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50783         * sysdeps/unix/sysv/sigaction.c: Remove file.
50785         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50786         (sysdep_headers): Remove variable.
50787         [termio.h not in sysdep_headers] (generated): Likewise.
50788         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50789         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50790         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50791         * sysdeps/unix/sysv/tcflow.c: Likewise.
50792         * sysdeps/unix/sysv/tcflush.c: Likewise.
50793         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50794         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50795         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50796         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50797         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50799         * sysdeps/unix/siglist.c: Remove file.
50801         * sysdeps/unix/getppid.S: Remove file.
50803         * sysdeps/unix/mkdir.c: Remove file.
50804         * sysdeps/unix/rmdir.c: Likewise.
50806 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50808         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50809         ERR_MAX value.
50810         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50811         errlist-compat value.
50813 2012-04-18  David S. Miller  <davem@davemloft.net>
50815         * sysdeps/generic/memcopy.h (reg_char): Delete.
50816         * debug/strcat_chk.c: Use char, not reg_char.
50817         * debug/strcpy_chk.c: Likewise.
50818         * debug/strncat_chk.c: Likewise.
50819         * debug/strncpy_chk.c: Likewise.
50820         * string/memchr.c: Likewise.
50821         * string/memrchr.c: Likewise.
50822         * string/rawmemchr.c: Likewise.
50823         * string/strcat.c: Likewise.
50824         * string/strchr.c: Likewise.
50825         * string/strchrnul.c: Likewise.
50826         * string/strcmp.c: Likewise.
50827         * string/strcpy.c: Likewise.
50828         * string/strncat.c: Likewise.
50829         * string/strncmp.c: Likewise.
50830         * string/strncpy.c: Likewise.
50832 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50834         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50835         __builtin_memcopy is called when src and dest ranges are known to not
50836         overlap.
50838 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50840         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50841         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50842         fwd_align_merge macro call.
50843         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50844         bwd_align_merge macro call.
50845         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50847 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50849         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50850         bwd_align_merge macros.
50851         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50852         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50853         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50855 2012-04-18  David S. Miller  <davem@davemloft.net>
50857         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50859 2012-04-18  Andreas Jaeger  <aj@suse.de>
50861         [BZ# 6794]
50862         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50863         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50864         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50866         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50867         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50868         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50870         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50871         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50872         Adjust for changed ldbl-128 files.
50874         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50875         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50876         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50878 2012-04-17  David S. Miller  <davem@davemloft.net>
50880         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50882 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50884         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50885         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50886         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50887         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50888         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50889         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50891 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50893         [BZ #6794]
50894         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50895         * math/libm-test.inc: Add ilogb errno and exception tests.
50896         * math/w_ilogb.c: New file: ilogb wrapper.
50897         * math/w_ilogbf.c: New file: ilogbf wrapper.
50898         * math/w_ilogbl.c: New file: ilogbl wrapper.
50899         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50900         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50901         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50902         exception being thrown with 0.0 as argument.
50903         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50904         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50905         exception being thrown with 0.0 as argument.
50906         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50907         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50908         exception being thrown with 0.0 as argument.
50909         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50910         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50911         exception being thrown with 0.0 as argument.
50912         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50913         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50914         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50915         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50916         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50917         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50918         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50919         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50920         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50922 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50924         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50925         with altivec.
50927 2012-04-16  Marek Polacek  <polacek@redhat.com>
50929         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50931 2012-04-16  Marek Polacek  <polacek@redhat.com>
50933         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50934         operands of fdivp instruction.
50936 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50938         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50939         * elf/tst-auditmod3b.c: Likewise.
50940         * elf/tst-auditmod4b.c: Likewise.
50941         * elf/tst-auditmod5b.c: Likewise.
50942         * elf/tst-auditmod6b.c: Likewise.
50943         * elf/tst-auditmod6c.c: Likewise.
50944         * elf/tst-auditmod7b.c: Likewise.
50945         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50946         * sysdeps/x86_64/preconfigure.in: Likewise.
50947         * sysdeps/x86_64/preconfigure: Regenerated.
50949 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50951         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50952         __ILP32__.
50954 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50956         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50957         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50959 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50961         [BZ #13973]
50962         * locale/iso-639.def: Fix gl language name. Spotted by
50963         Yaron Shahrabani.
50965 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50967         [BZ #2074]
50968         * libio/libio.h (__io_write_fn): Update comment.
50970 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50972         [BZ #2074]
50973         * stdio.texi (Hook Functions): The user provided writer function
50974         is not allowed to return -1.
50976 2012-04-11  David S. Miller  <davem@davemloft.net>
50978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50980 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50982         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50983         Add a leading slash to rtkaio.
50985 2012-04-11  Jim Meyering  <meyering@redhat.com>
50987         [BZ #11959]
50988         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50989         It is not necessarily an error to ignore fwrite's return
50990         value.  One can reliably use ferror to test for errors after
50991         the fact.
50993 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50995         * bits/types.h (__snseconds_t): New type.
50996         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50998         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50999         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51000         (__SNSECONDS_T_TYPE): Likewise.
51001         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51002         (__SNSECONDS_T_TYPE): Likewise.
51003         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51004         (__SNSECONDS_T_TYPE): Likewise.
51006 2012-04-10  Andreas Jaeger  <aj@suse.de>
51008         [BZ #2636]
51009         * manual/time.texi (Processor Time): Return type of times is
51010         elapsed real time since an arbitrary point in the past.
51011         (CPU Time): Move CLK_TCK from here...
51012         (Processor Time): ...to here.  Correct description.
51013         * manual/conf.texi (Constants for Sysconf): Correct description of
51014         _SC_CLK_TCK.
51016 2012-04-10  David S. Miller  <davem@davemloft.net>
51018         [BZ #13967]
51019         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51020         where the is a gap between DT_REL(A) and DT_JMPREL.
51022 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
51024         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51025         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51026         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51028 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51030         * elf/dl-support.c (_dl_inhibit_cache): New variable.
51031         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51032         (dl_main): Handle --inhibit-cache.
51033         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51034         _dl_inhibit_cache.
51035         * elf/dl-load.c (_dl_map_object): Use it.
51036         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51038 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51040         [BZ #13872]
51041         * sysdeps/i386/fpu/e_powl.S (p78): New object.
51042         (__ieee754_powl): Saturate large exponents rather than testing for
51043         overflow of y*log2(x).
51044         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51045         * math/libm-test.inc (pow_test): Do not permit spurious overflow
51046         exceptions.
51048         [BZ #11521]
51049         * math/s_ctan.c: Include <float.h>.
51050         (__ctan): Avoid internal overflow or cancellation in calculating
51051         denominator.
51052         * math/s_ctanf.c: Likewise.
51053         * math/s_ctanl.c: Likewise.
51054         * math/s_ctanh.c: Likewise.
51055         * math/s_ctanhf.c: Likewise.
51056         * math/s_ctanhl.c: Likewise.
51057         * math/libm-test.inc (ctan_test): Add more tests.
51058         (ctanh_test): Likewise.
51059         * sysdeps/i386/fpu/libm-test-ulps: Update.
51060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51062 2012-04-09  Andreas Jaeger  <aj@suse.de>
51064         [BZ #6894]
51065         * manual/filesys.texi (Directory Entries): Mention that d_namlen
51066         is an optional BSD extension.
51068         [BZ #10254]
51069         * manual/stdio.texi (Opening Streams): Document additional fopen
51070         parameters.
51072 2012-04-09  Roland McGrath  <roland@hack.frob.com>
51074         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51075         %eax without telling the compiler.
51077 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
51079         [BZ # 13963]
51080         * manual/install.texi: Use sourceware.org.
51082 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
51084         [BZ #13873]
51085         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51086         (__ieee754_pow): Generate overflow and underflow using huge*huge
51087         and tiny*tiny rather than just returning constant infinity or zero
51088         for large exponents.
51089         * math/libm-test.inc (pow_test): Require overflow exceptions for
51090         applicable cases of large exponents.
51092         [BZ #706]
51093         * sysdeps/i386/fpu/e_pow.S (p10): New object.
51094         (__ieee754_pow): Use iterative multiplication algorithm only for
51095         integer exponents with absolute value below 1024.  Check for odd
51096         integer exponents when using algorithm for real exponents.
51097         * math/libm-test.inc (pow_test): Add more tests.
51098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51100 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
51102         [BZ #13705]
51103         * math/libm-test.inc (exp_test): Do not allow overflow exception
51104         on underflow test.
51106 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
51108         [BZ #13705]
51109         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51110         instead of __kernel_standard_f.
51112 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
51114         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51115         * sysdeps/x86_64/memset_chk.S: Likewise.
51117 2012-04-08  Andreas Jaeger  <aj@suse.de>
51119         [BZ #10153]
51120         * manual/startup.texi (Environment Access): Describe return value
51121         for putenv and setenv.
51123         [BZ #6895]
51124         * manual/filesys.texi (Directory Entries): Add description for
51125         DT_LNK.
51127         [BZ #6890]
51128         * manual/filesys.texi (Directory Entries): Clarify that it's file
51129         system not operating system in the description of DT_UNKNOWN.
51131         [BZ #6578]
51132         * manual/syslog.texi (closelog): Fix reference, it's openlog.
51134 2012-04-08  Stephen Compall  <s11@member.fsf.org>
51136         [BZ #6649]
51137         * manual/llio.texi (Opening and Closing Files): Add cross
51138         reference to explain mode argument.
51140 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
51142         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51143         * sysdeps/x86_64/memset_chk.S: Likewise.
51145 2012-04-07  David S. Miller  <davem@davemloft.net>
51147         * elf/elf.h (R_SPARC_WDISP10): Define.
51148         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51149         R_SPARC_SIZE32.
51150         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51151         R_SPARC_SIZE64 and R_SPARC_H34.
51153 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
51155         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51156         conditions and remove no longer applicable assertion.
51158 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51160         * bits/byteswap.h: Include <features.h>.
51161         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51162         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51164 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
51166         * bits/byteswap.h (__bswap_16): Removed.
51167         Include <bits/byteswap-16.h> to get __bswap_16.
51168         * sysdeps/i386/bits/byteswap.h: Likewise.
51169         * sysdeps/s390/bits/byteswap.h: Likewise.
51170         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51171         * bits/byteswap-16.h: New file.
51172         * sysdeps/i386/bits/byteswap-16.h: Likewise.
51173         * sysdeps/s390/bits/byteswap-16.h: Likewise.
51174         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51175         * string/Makefile (headers): Add bits/byteswap-16.h.
51177 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51179         [BZ #13895]
51180         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51181         extra indirection.
51182         * nss/Makefile (tests-static, tests): Add tst-nss-static.
51183         * nss/tst-nss-static.c: New.
51185 2012-04-06  Robert Millan  <rmh@gnu.org>
51187         [BZ #6486]
51188         * manual/llio.texi (File Position Primitive): lseek
51189         refers to WHENCE when it really means OFFSET.
51191 2012-04-06  Andreas Jaeger  <aj@suse.de>
51193         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51194         strncmp declarations.
51196         * abilist/libc.abilist: Add __poll and __ppoll.
51198 2012-04-05  David S. Miller  <davem@davemloft.net>
51200         * scripts/check-local-headers.sh: Accept a host triplet in the
51201         path matched by the exclude regexp.
51203         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51204         definition.
51205         * sysdeps/powerpc/powerpc32/dl-machine.h
51206         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51207         * sysdeps/s390/s390-32/dl-machine.h
51208         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51209         * sysdeps/sparc/sparc32/dl-machine.h
51210         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51211         * sysdeps/sparc/sparc64/dl-machine.h
51212         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51214         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51215         lazy binding.
51216         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51217         undefined symbol errors.
51219         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51220         DT_NEEDED entries.
51222 2012-04-05  Michael Matz  <matz@suse.de>
51224         [BZ #13592]
51225         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51227 2012-04-05  Andreas Jaeger  <aj@suse.de>
51229         [BZ #13908]
51230         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51231         comment.
51233 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51235         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51236         which ROUND is no valid rounding mode.
51238 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51240         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51241         read again.
51242         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51244 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51246         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51247         an exception using FPU order intentionally.
51249 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
51251         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51252         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51253         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51254         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51256 2012-04-05  Simon Josefsson  <simon@josefsson.org>
51258         [BZ #12340]
51259         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51260         EINVAL when BUFLEN is too smal.
51262 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51264         [BZ #13553]
51265         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51266         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51268 2012-04-03  Andreas Jaeger  <aj@suse.de>
51270         [BZ #13938]
51271         * manual/setjmp.texi (System V contexts): Fix sentence.
51273         [BZ #13926]
51274         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51275         New macro for this case.
51276         [!__GNUC__] (__bswap_64): New inline function for this case.
51277         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51278         * bits/byteswap.h: Likewise.
51279         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51280         ull, guard with __GLIBC_HAVE_LONG_LONG.
51282         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51283         __GLIBC_HAVE_LONG_LONG.
51285         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51286         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51288 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51290         [BZ #13691]
51291         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51292         inptr and inend, rather than using last_ch.
51294 2012-04-02  David S. Miller  <davem@davemloft.net>
51296         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51297         * stdio-common/printf-parse.h (read_int): Change return type to
51298         'int', return -1 on INT_MAX overflow.
51299         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51300         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
51301         overflows INT_MAX.  Check for overflow of in-format-string precision
51302         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
51303         SIZE_MAX not INT_MAX for integer overflow test.
51304         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51305         skip the construct in the format string but do not record anything.
51306         * stdio-common/bug22.c: Adjust to test both width/prevision
51307         INT_MAX overflow as well as total length INT_MAX overflow.  Check
51308         explicitly for proper errno values.
51310 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51312         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51313         CHAR_MAX.
51314         * string/test-strcmp.c [! WIDE]: Likewise.
51315         * time/tst-mktime2.c: Likewise for INT_MAX.
51316         * string/test-string.h: #include <sys/param.h> for MIN.
51318         * csu/init-first.c (__libc_init_first): Call __ctype_init.
51319         * sysdeps/i386/init-first.c (init): Likewise.
51320         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51321         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51322         * sysdeps/sh/init-first.c (init): Likewise.
51324 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
51326         * po/ru.po: Update from translation team.
51327         * po/vi.po: Likewise.
51329 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51331         * resolv/nss_dns/dns-host.c: Merge copyright years.
51333 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51335         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51336         Optimize memcpy with prefetch if
51337         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
51338         src, dst pointers have unequal 16 byte alignments.
51340 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51342         [BZ #13928]
51343         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51344         from a CNAME entry and return the minimum ttl for the query.
51345         (gaih_getanswer_slice): Likewise.
51347 2012-03-30  Jeff Law  <law@redhat.com>
51349         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51350         due to long keys.
51351         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51352         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51354         * resolv/nss_dns/dns-host.c: Update copyright year.
51356 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
51358         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51359         requests to save a system call.  Fix check that all bytes are sent.
51361         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51362         comments for sendmmsg.
51364 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51366         [BZ #13691]
51367         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51368         with only 1 character between 0x0041 and 0x01b0.
51369         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51370         * wcsmbs/tst-mbsnrtowcs.c: New file.
51372 2012-03-29  David S. Miller  <davem@davemloft.net>
51374         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51375         small copies by hand.
51377 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51379         [BZ #13761]
51380         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51381         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51382         group memberships.
51384 2012-03-28  David S. Miller  <davem@davemloft.net>
51386         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51387         that branches into memcpy.
51388         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51389         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51390         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51391         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51392         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51393         bits.
51394         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51395         implementation too.
51396         * sysdeps/sparc/mempcpy.S: New file.
51398         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51399         the IFUNC routine in the libc case.
51400         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51402         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51403         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51404         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51405         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51406         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51407         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51408         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51409         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51411         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51412         loop to 256 bytes instead of 64 bytes and fix test signedness.
51414         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51415         * sysdeps/sparc/sparc32/Makefile: rather than here...
51416         * sysdeps/sparc/sparc64/Makefile: and here.
51418 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
51420         * malloc/mallocbug.c: Avoid warnings about unused variables.
51422 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51424         [BZ #13760]
51425         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51426         in the right place. Discard and retry query if response is
51427         larger than input buffer size.
51429 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
51431         [BZ #369]
51432         [BZ #2678]
51433         [BZ #3866]
51434         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51435         x for large integer exponent.
51436         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51437         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
51438         sign of result as needed afterwards.
51439         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51440         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51441         result for underflowing pow the same as for overflow.
51442         (__kernel_standard_l): Handle powl overflow and underflow here
51443         rather than calling __kernel_standard.
51444         * math/libm-test.inc (pow_test): Add more tests.
51446         [BZ #3868]
51447         [BZ #13879]
51448         [BZ #13910]
51449         [BZ #13911]
51450         [BZ #13912]
51451         [BZ #13913]
51452         [BZ #13915]
51453         [BZ #13916]
51454         [BZ #13917]
51455         [BZ #13918]
51456         [BZ #13919]
51457         [BZ #13920]
51458         [BZ #13921]
51459         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51460         * sysdeps/ieee754/k_standard.c: Include <float.h>.
51461         (__kernel_standard_l): New function.
51462         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51463         __kernel_standard.
51464         * math/w_acosl.c (__acosl): Likewise.
51465         * math/w_asinl.c (__asinl): Likewise.
51466         * math/w_atan2l.c (__atan2l): Likewise.
51467         * math/w_atanhl.c (__atanhl): Likewise.
51468         * math/w_coshl.c (__coshl): Likewise.
51469         * math/w_exp10l.c (__exp10l): Likewise.
51470         * math/w_exp2l.c (__exp2l): Likewise.
51471         * math/w_fmodl.c (__fmodl): Likewise.
51472         * math/w_hypotl.c (__hypotl): Likewise.
51473         * math/w_j0l.c (__j0l, __y0l): Likewise.
51474         * math/w_j1l.c (__j1l, __y1l): Likewise.
51475         * math/w_jnl.c (__jnl, __ynl): Likewise.
51476         * math/w_lgammal.c (__lgammal): Likewise.
51477         * math/w_log10l.c (__log10l): Likewise.
51478         * math/w_log2l.c (__log2l): Likewise.
51479         * math/w_logl.c (__logl): Likewise.
51480         * math/w_powl.c (__powl): Likewise.
51481         * math/w_remainderl.c (__remainderl): Likewise.
51482         * math/w_scalbl.c (sysv_scalbl): Likewise.
51483         * math/w_sinhl.c (__sinhl): Likewise.
51484         * math/w_sqrtl.c (__sqrtl): Likewise.
51485         * math/w_tgammal.c (__tgammal): Likewise.
51486         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51487         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51488         * math/libm-test.inc (acos_test): Add more tests.
51489         (acosh_test): Likewise.
51490         (asin_test): Likewise.
51491         (atanh_test): Likewise.
51492         (exp_test): Likewise.
51493         (exp10_test): Likewise.
51494         (exp2_test): Likewise.
51495         (expm1_test): Likewise.
51496         (lgamma_test): Likewise.
51497         (log_test): Likewise.
51498         (log10_test): Likewise.
51499         (log1p_test): Likewise.
51500         (log2_test): Likewise.
51501         (pow_test): Do not allow some spurious overflow exceptions.
51502         (sqrt_test): Add more tests.
51503         (tgamma_test): Likewise.
51504         (y0_test): Likewise.
51505         (y1_test): Likewise.
51506         (yn_test): Likewise.
51508 2012-03-27  Anton Blanchard  <anton@samba.org>
51510         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51511         MAP_HUGETLB.
51512         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51513         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51514         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51516 2012-03-27  David S. Miller  <davem@davemloft.net>
51518         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51520         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51521         have-as-vis3 check.
51523 2012-03-27  Andreas Jaeger  <aj@suse.de>
51525         * sysdeps/x86_64/elf/configure.in: Moved to ...
51526         * sysdeps/x86_64/configure.in: ... here.
51527         * sysdeps/x86_64/elf/start.S: Moved to ...
51528         * sysdeps/x86_64/start.S: ... here.
51529         * sysdeps/x86_64/elf/configure: Delete.
51531         * sysdeps/x86_64/configure.in: Merge contents from
51532         sysdeps/i386/configure.in (without i686 check).
51534         * sysdeps/i386/elf/Versions: Merge into ...
51535         * sysdeps/i386/Versions: ... this.
51536         * sysdeps/i386/elf/Versions: Delete file.
51537         * sysdeps/i386/elf/start.S: Moved to ...
51538         * sysdeps/i386/start.S: ...here.
51539         * sysdeps/i386/elf/configure.in: Merge into...
51540         * sysdeps/i386/configure.in: ...here.
51541         * sysdeps/i386/elf/configure.in: Delete file.
51542         * sysdeps/i386/elf/configure: Delete file.
51544         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51545         * debug/backtracesyms.c: ... here.
51546         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51547         * debug/backtracesymsfd.c: ... here.
51548         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51549         * sysdeps/generic/ifunc-sel.h: ... here.
51551         * sysdeps/unix/i386/start.c: Delete file.
51552         * sysdeps/unix/sparc/start.c: Delete file.
51553         * sysdeps/unix/start.c: Delete file.
51555         * sysdeps/sh/elf/configure.in: Moved to ...
51556         * sysdeps/sh/configure.in: ... here.
51557         * sysdeps/sh/elf/start.S: Moved to ...
51558         * sysdeps/sh/start.S: ... here.
51559         * sysdeps/sh/elf/configure: Delete file.
51561         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51562         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51563         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51564         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51565         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51566         * sysdeps/powerpc/powerpc64/start.S: here.
51567         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51568         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51569         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51570         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51571         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51573         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51574         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51575         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51576         * sysdeps/powerpc/powerpc32/start.S: ... here.
51577         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51578         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51579         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51581         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51582         * sysdeps/powerpc/ifunc-sel.h: ... here.
51583         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51584         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51586         * sysdeps/sparc/elf/configure.in: Moved to ...
51587         * sysdeps/sparc/configure.in: ... here.
51588         * sysdeps/sparc/elf/configure: Delete file.
51589         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51590         * sysdeps/sparc/sparc32/start.S: ... here.
51591         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51592         * sysdeps/sparc/sparc64/start.S: ... here.
51593         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51594         * sysdeps/sparc/sparc32/Makefile: ... this.
51595         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51596         * sysdeps/sparc/sparc64/Makefile: ... this.
51598         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51599         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51600         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51601         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51602         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51603         * sysdeps/s390/s390-32/setjmp.S: ... here.
51604         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51605         * sysdeps/s390/s390-32/configure.in: ... here.
51606         * sysdeps/s390/s390-32/elf/configure: Delete file.
51607         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51608         * sysdeps/s390/s390-32/start.S: ... here.
51610         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51611         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51612         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51613         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51614         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51615         * sysdeps/s390/s390-64/setjmp.S: ... here.
51616         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51617         * sysdeps/s390/s390-64/configure.in: ... here
51618         * sysdeps/s390/s390-64/elf/configure: Delete file.
51619         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51620         * sysdeps/s390/s390-64/start.S: ... here.
51621         * sysdeps/s390/s390-64/elf/configure: Delete.
51623         * configure.in: Remove support for elf directories in sysdeps.
51625         * configure: Regenerated.
51626         * sysdeps/i386/configure: Regenerated.
51627         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51628         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51629         * sysdeps/s390/s390-32/configure: Regenerated.
51630         * sysdeps/s390/s390-64/configure: Regenerated.
51631         * sysdeps/sh/configure: Regenerated.
51632         * sysdeps/sparc/configure: Regenerated.
51633         * sysdeps/x86_64/configure: Regenerated.
51635 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51639         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51640         denormal result into account.
51642 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51644         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51645         Reported by Allan McRae <allan@archlinux.org>.
51647 2012-03-23  Jeff Law  <law@redhat.com>
51649         * nss/getnssent.c (__nss_getent): Fix typo.
51651 2012-03-23  David S. Miller  <davem@davemloft.net>
51653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51655 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51657         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51658         to pad to uint64_t for each field.
51659         (dl_tls_index): Replace unsigned long with uint64_t.
51661 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51662         Paul Pluzhnikov  <ppluzhnikov@google.com>
51664         [BZ #6528]
51665         * grp/Makefile (otherlibs): Don't set it.
51666         * inet/Makefile (otherlibs): Likewise.
51667         * login/Makefile (otherlibs): Likewise.
51668         * nscd/Makefile (otherlibs): Likewise.
51669         * posix/Makefile (otherlibs): Likewise.
51670         * pwd/Makefile (otherlibs): Likewise.
51671         * rt/Makefile (otherlibs): Likewise.
51672         * sunrpc/Makefile (otherlibs): Likewise.
51673         * nss/Makefile (otherlibs): Likewise.
51674         Add libnss_files to routines and static-only-routines.
51675         ($(objpfx)getent): Remove rule.
51676         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51677         static-only-routines.
51679 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51681         [BZ #13892]
51682         * math/s_cexp.c: Include <float.h>.
51683         (__cexp): Handle exp result overflowing not necessarily
51684         overflowing both real and imaginary parts of result.
51685         * math/s_cexpf.c: Likewise.
51686         * math/s_cexpl.c: Likewise.
51687         * math/libm-test.inc (cexp_test): Add more tests.
51688         * sysdeps/i386/fpu/libm-test-ulps: Update.
51689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51691 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51693         * include/link.h (ELFW): New macro.
51694         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51695         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51697 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51699         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51700         with uint64_t.
51702 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51704         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51705         declaration.
51706         (struct La_x32_retval): Likewise.
51708 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51710         * sysdeps/x86_64/preconfigure.in: New file.
51711         * sysdeps/x86_64/preconfigure: New generated file.
51713 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51715         [BZ #13824]
51716         * math/e_exp2l.c: Include <float.h>.
51717         (__ieee754_exp2l): Handle overflow and underflow cases
51718         separately.  Only pass fractional part of argument to
51719         __ieee754_expl.
51720         * math/libm-test.inc (exp2_test): Add more tests.
51722         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51723         negating x to take absolute value.
51724         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51725         Likewise.
51726         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51727         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51728         Likewise.
51729         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51730         computing low part if x was negated.
51731         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51733 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51735         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51736         la_x32_gnu_pltexit.
51737         (pltexit): Cast int_retval to ptrdiff_t.
51738         * elf/tst-auditmod3b.c: Likewise.
51739         * elf/tst-auditmod4b.c: Likewise.
51740         * elf/tst-auditmod5b.c: Likewise.
51741         * elf/tst-auditmod6b.c: Likewise.
51742         * elf/tst-auditmod6c.c: Likewise.
51743         * elf/tst-auditmod7b.c: Likewise.
51745         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51746         and x32_gnu_pltexit.
51748         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51749         __ELF_NATIVE_CLASS.
51750         (La_x32_regs): New macro.
51751         (La_x32_retval): Likewise.
51752         (la_x32_gnu_pltenter): New function prototype.
51753         (la_x32_gnu_pltexit): Likewise.
51755 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51757         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51758         exponent.
51760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51762         * configure.in (libc_cv_cc_nofma): Check for option to disable
51763         generation of FMA instructions.
51764         * configure: Regenerate.
51765         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51766         * sysdeps/ieee754/dbl-64/Makefile: New file.
51767         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51768         Remove brandred-fma4.
51769         (CFLAGS-brandred-fma4.c): Remove.
51770         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51771         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51772         define.
51773         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51774         define.
51776 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51778         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51779         LLONG_MAX != LONG_MAX.
51780         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51781         (_fitoa_word): Likewise.
51782         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51783         LLONG_MAX != LONG_MAX.
51784         * stdio-common/_itowa.h: Include <_itoa.h>.
51785         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51786         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51787         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51788         only if not defined.
51789         (_ITOA_WORD_TYPE): Likewise.
51790         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51791         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51793 2012-03-21  David S. Miller  <davem@davemloft.net>
51795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51797 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51799         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51800         of x86_64 when setting libc_cv_slibdir, libdir and
51801         libc_cv_localedir.
51802         * sysdeps/unix/sysv/linux/configure: Regenerated.
51804 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51806         * manual/lang.texi (Old Varargs): Remove section.
51807         (How Variadic): Update menu.
51808         (va_start): Do not mention varargs.h.
51810 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51811             Joseph Myers  <joseph@codesourcery.com>
51813         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51814         link test.
51815         * configure: Regenerated.
51817 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51819         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51820         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51821         conformtest.pl
51823 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51825         * NOTES: Remove.
51826         * Makefile (files-for-dist): Remove NOTES.
51827         (NOTES): Remove rule.
51828         * README: Don't refer to NOTES.
51829         * manual/creature.texi: Don't include macros.texi.
51830         * manual/intro.texi (creature.texi): Remove comment referring to
51831         NOTES.
51833         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51834         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51835         * configure: Regenerated.
51836         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51837         LIBC_TRY_CC_OPTION.
51838         (libc_cv_as_i686): Likewise.
51839         (libc_cv_cc_avx): Likewise.
51840         (libc_cv_cc_sse2avx): Likewise.
51841         (libc_cv_cc_fma4): Likewise.
51842         (libc_cv_cc_novzeroupper): Likewise.
51843         * sysdeps/i386/configure: Regenerated.
51845         [BZ #13883]
51846         * sysdeps/i386/fpu/s_cexp.S: Remove.
51847         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51848         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51849         * math/libm-test.inc (cexp_test): Add more tests.
51850         * sysdeps/i386/fpu/libm-test-ulps: Update.
51851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51853 2012-03-21  Allan McRae  <allan@archlinux.org>
51855         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51857 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51859         [BZ #13871]
51860         * math/w_exp2.c: Do not include <float.h>.
51861         (o_threshold, u_threshold): Remove.
51862         (__exp2): Calculate result before checking finiteness and calling
51863         __kernel_standard.
51864         * math/w_exp2f.c: Likewise.
51865         * math/w_exp2l.c: Likewise.
51866         * math/libm-test.inc (exp2_test): Require overflow exception for
51867         1e6 input.
51869         [BZ #3866]
51870         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51871         range of signed 64-bit integers before using fistpll.  Remove
51872         checks for whether integers fit in mantissa bits.
51873         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51874         the range of signed 32-bit integers before using fistpl.  Remove
51875         checks for whether integers fit in mantissa bits.
51876         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51877         (__ieee754_powl): Test for y outside the range of signed 64-bit
51878         integers before using fistpll.  Reduce 64-bit values to 63-bit
51879         ones as needed.
51880         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51881         divide-by-zero is raised for zero to large negative powers.
51882         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51883         (__ieee754_powl): Test for y outside the range of signed 64-bit
51884         integers before using fistpll.  Reduce 64-bit values to 63-bit
51885         ones as needed.
51886         * math/libm-test.inc (pow_test): Add more tests.
51888 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51890         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51891         <stdio-common/_itoa.h>.
51892         * debug/segfault.c: Likewise.
51893         * elf/dl-cache.c: Likewise.
51894         * elf/dl-minimal.c: Likewise.
51895         * elf/dl-misc.c: Likewise.
51896         * elf/dl-sysdep.c: Likewise.
51897         * elf/dl-version.c: Likewise.
51898         * elf/rtld.c: Likewise.
51899         * hurd/hurdsock.c: Likewise.
51900         * hurd/lookup-retry.c: Likewise.
51901         * malloc/malloc.c: Likewise.
51902         * malloc/mtrace.c: Likewise.
51903         * nscd/nscd_getgr_r.c: Likewise.
51904         * nscd/nscd_getpw_r.c: Likewise.
51905         * nscd/nscd_getserv_r.c: Likewise.
51906         * posix/getopt_init.c: Likewise.
51907         * posix/wordexp.c: Likewise.
51908         * stdio-common/_itoa.c: Likewise.
51909         * stdio-common/printf_fphex.c: Likewise.
51910         * stdio-common/vfprintf.c: Likewise.
51911         * string/_strerror.c: Likewise.
51912         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51913         * sysdeps/i386/i686/hp-timing.h: Likewise.
51914         * sysdeps/mach/_strerror.c: Likewise.
51915         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51916         * sysdeps/mach/hurd/sethostid.c: Likewise.
51917         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51918         * sysdeps/mach/xpg-strerror.c: Likewise.
51919         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51920         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51921         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51922         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51923         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51924         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51925         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51926         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51927         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51928         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51929         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51930         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51931         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51932         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51933         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51934         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51935         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51936         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51937         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51938         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51939         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51941         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51943         * stdio-common/_itoa.h: Moved to ...
51944         * sysdeps/generic/_itoa.h: Here.
51946         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51948         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51949         instead of "_itoa.h" and "_itowa.h".
51950         * stdio-common/vfprintf.: Likewise.
51952 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51954         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51955         <bits/wordsize.h>.
51956         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51957         (__signbit): Likwise.
51958         (llrintf): Likwise.
51959         (llrint): Likwise.
51961 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51963         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51964         __WORDSIZE != 64.
51966 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51968         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51969         OVERFLOW_EXCEPTION_OK.
51970         * math/libm-test.inc ("Philosophy"): Update comment about
51971         exception testing.
51972         (OVERFLOW_EXCEPTION): Define.
51973         (OVERFLOW_EXCEPTION_OK): Likewise.
51974         (INVALID_EXCEPTION_OK): Renumber.
51975         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51976         (IGNORE_ZERO_INF_SIGN): Likewise.
51977         (test_exceptions): Handle FE_OVERFLOW.
51978         (exp10_test): Expect overflow exceptions.
51979         (exp2_test): Likewise.
51980         (expm1_test): Likewise.
51981         (nextafter_test): Likewise.
51982         (pow_test): Likewise.
51983         (scalbn_test): Likewise.
51984         (scalbln_test): Likewise.
51986 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51988         * sysdeps/x86_64/bits/atomic.h
51989         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51990         64bit integer.
51991         (atomic_exchange_acq): Likewise.
51992         (__arch_exchange_and_add_body): Likewise.
51993         (__arch_add_body): Likewise.
51994         (atomic_add_negative): Likewise.
51995         (atomic_add_zero): Likewise.
51997 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51999         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52000         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52002 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52004         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52005         Check __x86_64__ instead of __WORDSIZE.
52007 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52009         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52011 2012-03-19  David S. Miller  <davem@davemloft.net>
52013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52015         * sysdeps/sparc/fpu/fenv_private.h: New file.
52016         * sysdeps/sparc/fpu/math_private.h: Use it.
52017         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52018         Remove.
52019         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52020         (libc_feholdexcept_setroundl): Remove.
52021         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52022         Remove.
52023         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52024         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52026 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52028         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52029         int64_t instead of long int.
52030         (INSERT_WORDS64): Likwise.
52032 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
52034         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52035         _Unwind_GetCFA return to _Unwind_Ptr first.
52037 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
52039         [BZ #13629]
52040         * math/s_clog.c: Include <float.h>.
52041         (__clog): Scale large or subnormal inputs.
52042         * math/s_clogf.c: Likewise.
52043         * math/s_clogl.c: Likewise.
52044         * math/s_clog10.c: Include <float.h>.
52045         (M_LOG10_2): Define.
52046         (__clog10): Scale large or subnormal inputs.
52047         * math/s_clog10f.c: Likewise.
52048         * math/s_clog10l.c: Likewise.
52049         * math/libm-test.inc (clog_test): Add more tests.
52050         (clog10_test): Likewise.
52051         * sysdeps/i386/fpu/libm-test-ulps: Update.
52052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52054         [BZ #11451]
52055         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52056         x and y.
52057         * math/libm-test.inc (atan2_test): Add another test.
52059         * Makerules (common-objdir-compile): Remove.
52060         * sysdeps/unix/Makefile (config-generated): Do not add
52061         $(unix-generated) to variable.
52062         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52063         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52064         Remove rule.
52065         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52066         Likewise.
52067         [generic bits/local_lim.h] (before-compile): Do not append to
52068         variable.
52069         [generic bits/local_lim.h] (common-generated): Likewise.
52070         [generic sys/param.h] (before-compile): Do not append to variable.
52071         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52072         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52073         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52074         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52075         include.
52076         [generic sys/param.h] (sys/param.h-includes): Remove variable.
52077         [generic sys/param.h] (sys/param.h-includes): Remove rule.
52078         [generic sys/param.h] ($(addprefix
52079         $(common-objpfx),$(sys/param.h-includes))): Likewise.
52080         [generic sys/param.h] (common-generated): Do not append to
52081         variable.
52082         [generic sys/param.h] (sysdep_headers): Likewise.
52083         [generic bits/errno.h] (before-compile): Do not append to
52084         variable.
52085         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52086         rule.
52087         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52088         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52089         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52090         [generic bits/errno.h] (common-generated): Do not append to
52091         variable.
52092         [generic bits/ioctls.h] (before-compile): Do not append to
52093         variable.
52094         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52095         rule.
52096         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52097         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52098         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52099         rule.
52100         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52101         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52102         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52103         [generic bits/ioctls.h] (common-generated): Do not append to
52104         variable.
52105         [generic sys/syscall.h] (syscall.h): Remove variable.
52106         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52107         rule.
52108         [generic sys/syscall.h] (before-compile): Do not append to
52109         variable.
52110         [generic sys/syscall.h] (common-generated): Likewise.
52111         * sysdeps/unix/errnos-tmpl.c: Remove file.
52112         * sysdeps/unix/errnos.awk: Likewise.
52113         * sysdeps/unix/ioctls-tmpl.c: Likewise.
52114         * sysdeps/unix/ioctls.awk: Likewise.
52115         * sysdeps/unix/mk-local_lim.c: Likewise.
52116         * sysdeps/unix/snarf-ioctls: Likewise.
52118 2012-03-19  Richard Henderson  <rth@twiddle.net>
52120         * sysdeps/i386/fpu/fenv_private.h: New file.
52121         * sysdeps/i386/fpu/math_private.h: Use it.
52122         (math_opt_barrier, math_force_eval): Remove.
52123         (libc_feholdexcept_setround_53bit): Remove.
52124         (libc_feupdateenv_53bit): Remove.
52125         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52126         (math_opt_barrier, math_force_eval): Remove.
52127         (libc_feholdexcept): Remove.
52128         (libc_feholdexcept_setround): Remove.
52129         (libc_fetestexcept, libc_fesetenv): Remove.
52130         (libc_feupdateenv_test): Remove.
52131         (libc_feupdateenv, libc_feholdsetround): Remove.
52132         (libc_feresetround): Remove.
52134         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52135         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52137         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52138         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52139         (libc_feupdateenv_testl): New.
52140         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52141         (libc_feupdateenv_testf): New.
52142         (libc_feupdateenv): Use libc_feupdateenv_test.
52143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52144         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52146         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52147         (libc_feholdsetroundf, libc_feholdsetroundl): New.
52148         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52149         (libc_feresetround_noex): New.
52150         (libc_feresetround_noexf): New.
52151         (libc_feresetround_noexl): New.
52152         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52153         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52154         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52155         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52156         SET_RESTORE_ROUND.
52157         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52158         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52159         (__cos): Likewise.
52160         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52161         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52162         SET_RESTORE_ROUND_NOEX.
52163         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52164         SET_RESTORE_ROUND_NOEXF.
52165         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52166         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52167         (libc_feholdsetroundf): New.
52168         (libc_feresetround, libc_feresetroundf): New.
52170         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52171         (libc_feholdexcept_setround_53bit): Convert from macro to function.
52172         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
52174         * sysdeps/generic/math_private.h: Include <fenv.h>.
52175         (default_libc_feholdexcept): New.
52176         (default_libc_feholdexcept_setround): New.
52177         (default_libc_fesetenv, default_libc_feupdateenv): New.
52178         (libc_feholdexcept): Only define if undefined.
52179         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52180         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52181         (libc_feholdexcept_setroundl): Likewise.
52182         (libc_feholdexcept_setround_53bit): Likewise.
52183         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52184         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52185         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52186         (libc_feupdateenv_53bit): Likewise.
52187         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52188         (libc_feholdexcept): Convert from macro to inline function.
52189         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52190         (libc_fesetenv, libc_feupdateenv): Likewise.
52192         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52193         not previously defined.
52194         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52195         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52196         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52197         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52198         * sysdeps/ieee754/flt-32/math_private.h: New file.
52199         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52200         math_private.h below SET_FLOAT_WORD.
52201         (__isnan, __isinf_ns, __finite): Remove.
52202         (__isnanf, __isinf_nsf, __finitef): Remove.
52204 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
52206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52208 2012-03-17  David S. Miller  <davem@davemloft.net>
52210         [BZ #6471]
52211         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52212         for 2.16.
52214 2012-03-16  David S. Miller  <davem@davemloft.net>
52216         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52217         warnings.
52219         [BZ #6471]
52220         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52221         properly.
52222         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52223         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52224         sysdep_routines when subdir is sysvipc.
52225         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52226         __getshmlba helper.
52228         * sysdeps/sparc/fpu/libm-test/ulps: Update.
52230 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52232         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52233         [__LP64__].
52235 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52237         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52238         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52239         (__lround): Renamed to ...
52240         (__llround): This.  Replace long int with long long int.
52241         Define lround functions as aliases of llround functions.
52242         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52244 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52246         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52247         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
52248         adresses to uintptr_t.  Replace "long int" and "unsigned long
52249         int" with "greg_t" on va_arg.
52251 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52253         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52254         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52256         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52257         Move e_machine check before EI_CLASS check.  Handle x32
52258         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52259         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52260         SKIP_EM_IA_64 and include
52261         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52263         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52264         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52265         (add_system_dir): New macro.
52267         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52268         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52270 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52272         [BZ #2551]
52273         [BZ #2552]
52274         [BZ #2553]
52275         [BZ #2554]
52276         [BZ #2562]
52277         [BZ #2563]
52278         [BZ #2565]
52279         [BZ #2566]
52280         [BZ #2576]
52281         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52282         (y0): Likewise.
52283         * math/w_j0f.c (j0f): Likewise.
52284         (y0f): Likewise.
52285         * math/w_j0l.c (__j0l): Likewise.
52286         (__y0l): Likewise.
52287         * math/w_j1.c (j1): Likewise.
52288         (y1): Likewise.
52289         * math/w_j1f.c (j1f): Likewise.
52290         (y1f): Likewise.
52291         * math/w_j1l.c (__j1l): Likewise.
52292         (__y1l): Likewise.
52293         * math/w_jn.c (jn): Likewise.
52294         (yn): Likewise.
52295         * math/w_jnf.c (jnf): Likewise.
52296         (ynf): Likewise.
52297         * math/w_jnl.c (__jnl): Likewise.
52298         (__ynl): Likewise.
52299         * math/libm-test.inc (j0_test): Add more tests.
52300         (j1_test): Likewise.
52301         (jn_test): Likewise.  Add trailing semicolon to existing test.
52302         (y0_test): Likewise.
52303         (y1_test): Likewise.
52304         * sysdeps/i386/fpu/libm-test-ulps: Update.
52305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52307         [BZ #13851]
52308         [BZ #13854]
52309         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52310         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52311         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52312         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52313         (__tanl): Set errno for infinite argument.
52314         * sysdeps/i386/fpu/mptan.c: Remove.
52315         * sysdeps/i386/fpu/s_tan.S: Likewise.
52316         * sysdeps/i386/fpu/s_tanl.S: Likewise.
52317         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52318         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52319         * math/libm-test.inc (tan_test): Add more tests and enable more
52320         tests for double and long double.
52321         * sysdeps/i386/fpu/libm-test-ulps: Update.
52322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52324 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
52326         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52327         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52329 2012-03-16  Roland McGrath  <roland@hack.frob.com>
52331         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52332         * configure.in: Use it for both main tree and add-ons.
52333         * configure: Regenerated.
52335 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
52337         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52339 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
52341         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52342         in comment.
52344         [BZ #13851]
52345         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52346         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52347         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52348         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52349         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52350         infinite argument.
52351         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52352         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52353         != 0 for prec == 2.
52354         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52355         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52356         * sysdeps/i386/fpu/s_cosl.S: Likewise.
52357         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52358         * sysdeps/i386/fpu/s_sinl.S: Likewise.
52359         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52360         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52361         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52362         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52363         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52364         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52365         * math/libm-test.inc (cos_test): Add more tests and enable more
52366         tests for long double.
52367         (sin_test): Likewise.
52368         (sincos_test): Likewise.
52369         * sysdeps/i386/fpu/libm-test-ulps: Update.
52370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52372 2012-03-16  David S. Miller  <davem@davemloft.net>
52374         * sysdeps/sparc/fpu/math_private.h: New file.
52376 2012-03-15  David S. Miller  <davem@davemloft.net>
52378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52379         file.
52380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52382         file.
52383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52388         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52389         sysdep routines.
52390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52392         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52393         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52395         * sysdeps/sparc/sparc-ifunc.h: New file.
52396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52397         sparc-ifunc.h
52398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52400         Likewise.
52401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52402         Likewise.
52403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52407         Likewise.
52408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52413         Likewise.
52414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52415         Likewise.
52416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52420         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52421         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52422         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52423         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52424         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52425         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52426         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52427         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52430         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52431         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52432         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52433         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52434         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52435         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52436         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52437         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52438         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52439         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52441 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52443         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52444         scaling.
52445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52447 2012-03-15  Andreas Jaeger  <aj@suse.de>
52449         [BZ #13852]
52450         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52451         ieee754/flt-32 implementation for sin, cos and sincos.
52452         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52453         * sysdeps/i386/fpu/s_cosf.S: Likewise.
52454         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52455         * sysdeps/i386/fpu/s_sinf.S: Likewise.
52456         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52457         ieee754/flt-32 implementation for tan.
52459         * math/libm-test.inc (cos_test): Enable some large input tests for
52460         float as well
52461         (sin_test): Likewise.
52462         (sincos_test): Likewise.
52463         (tan_test): Add tests for large input.
52465         * sysdeps/i386/fpu/libm-test-ulps: Update.
52467 2012-03-15  Andreas Jaeger  <aj@suse.de>
52469         [BZ #13658]
52470         * math/libm-test.inc (cos_test): Add more test cases.
52471         (sin_test): Likewise.
52472         (sincos_test): Likewise.
52474 2012-03-15  Andreas Jaeger  <aj@suse.de>
52476         [BZ #13837]
52477         * math/libm-test.inc (cos_test): Add a test case for large input
52478         value.
52479         (sin_test): Likewise.
52480         (sincos_test): Likewise.
52482 2012-03-15  Andreas Jaeger  <aj@suse.de>
52483             Joseph Myers  <joseph@codesourcery.com>
52485         [BZ #13658]
52486         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52487         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52488         * sysdeps/i386/fpu/branred.c: Likewise.
52489         * sysdeps/i386/fpu/dosincos.c: Likewise.
52490         * sysdeps/i386/fpu/mpa.c: Likewise.
52491         * sysdeps/i386/fpu/s_cos.S: Likewise.
52492         * sysdeps/i386/fpu/s_sin.S: Likewise.
52493         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52494         * sysdeps/i386/fpu/sincos32.c: Likewise.
52496         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52497         Define.
52498         (libc_feupdateenv_53bit): Define.
52499         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52500         Define.
52501         (libc_feupdateenv_53bit): Define.
52503         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52504         53 bit (without extend i386 double precision).
52506         * math/libm-test.inc (sincos_test): Add tests for large input.
52507         (sin): Likewise.
52508         (cos): Likewise.
52510         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52512 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52516 2012-03-15  David S. Miller  <davem@davemloft.net>
52518         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52519         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52520         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52521         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52522         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52523         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52526         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52527         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52528         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52529         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52530         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52531         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52532         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52534         file.
52535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52537         file.
52538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52540         file.
52541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52543         file.
52544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52545         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52546         fmin/fmax sysdep routines.
52547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52549 2012-03-14  David S. Miller  <davem@davemloft.net>
52551         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52552         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52553         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52554         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52555         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52556         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52557         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52558         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52559         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52560         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52561         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52562         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52563         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52564         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52565         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52566         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52567         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52568         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52569         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52570         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52571         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52572         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52573         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52574         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52575         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52576         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52577         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52578         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52579         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52580         routines.
52581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52582         file.
52583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52585         file.
52586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52588         file.
52589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52591         file.
52592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52594         file.
52595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52597         file.
52598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52599         file.
52600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52601         file.
52602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52603         file.
52604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52605         New file.
52606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52607         file.
52608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52609         file.
52610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52612         file.
52613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52615         file.
52616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52618         file.
52619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52621         VIS3 routines.
52623         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52624         New file.
52626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52628         * sysdeps/sparc/configure.in: New file.
52629         * sysdeps/sparc/configure: Generate.
52630         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52631         * configure: Regenerate.
52632         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52633         * config.make.in (have-as-vis3): New.
52634         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52635         available use -Av9d instead of -Av9a.
52636         * sysdeps/sparc/sparc64/Makefile: Likewise.
52637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52639         New file.
52640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52641         file.
52642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52643         New file.
52644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52645         file.
52646         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52647         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52648         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52649         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52650         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52652         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52653         fzeros/fnegs to load 0x80000000 into a float register instead of
52654         using the stack.
52655         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52657 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52660         bits/syscall.h.
52661         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52662         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52663         ($(inst_includedir)/bits/syscall.h): Remove rule.
52664         ($(objpfx)bits/syscall.d): Include instead of
52665         $(objpfx)syscall-list.d.
52666         (generated): Change syscall-list.h and syscall-list.d to
52667         bits/syscall.h and bits/syscall.d.
52669 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52671         [BZ #13846]
52672         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52674 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52676         [BZ #13841]
52677         * math/s_csqrt.c: Include <float.h>.
52678         (__csqrt): Scale large or subnormal inputs.
52679         * math/s_csqrtf.c: Likewise.
52680         * math/s_csqrtl.c: Likewise.
52681         * math/libm-test.inc (csqrt_test): Add more tests.
52682         * sysdeps/i386/fpu/libm-test-ulps: Update.
52683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52685         [BZ #13840]
52686         * math/libm-test.inc (hypot_test): Add more tests.
52688 2012-03-13  David S. Miller  <davem@davemloft.net>
52690         [BZ #13840]
52691         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52692         double-precision for the calculation instead of scaling.
52694 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52696         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52697         manipulate bits before adding and subtracting TWO52[sx].
52698         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52699         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52700         Likewise.
52701         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52703 2012-03-13  David S. Miller  <davem@davemloft.net>
52705         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52706         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52707         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52708         rtld-global-offsets.h
52709         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52711         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52712         large parameters.
52714         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52716         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52717         'err' in the ifdef scope in which it is actually used.
52719         * nss/nss_db/db-init.c: Include string.h
52721 2012-03-12  David S. Miller  <davem@davemloft.net>
52723         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52724         masking out of the most significant byte of random value used.
52725         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52726         Fix coding style in previous change.
52728         * sysdeps/unix/sysv/linux/kernel-features.h
52729         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52730         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52731         expression.
52732         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52733         later.
52735 2012-03-11  David S. Miller  <davem@davemloft.net>
52737         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52738         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52739         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52740         for 'resultvar' otherwise things get truncated on 64-bit.
52742         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52743         Fix masking out of the most significant byte of random value used.
52745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52747 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52751 2012-03-09  David S. Miller  <davem@davemloft.net>
52753         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52754         variables with appropriate CPP guards.
52755         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52756         from the frame pointer, not the stack pointer.  Correct layout
52757         comments.  Fix test on resulting framesize and the management of
52758         the outregs buffer for pltexit.  Preserve floating point return
52759         values across _dl_call_pltexit call.
52760         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52761         framesize and the management of the outregs buffer for pltexit.
52762         Preserve floating point return values across _dl_call_pltexit
52763         call.
52764         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52765         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52766         (la_sparc64_gnu_pltexit): New functions.
52767         (print_exit): Fix format string for return register value.
52769 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52771         * sunrpc/Makefile (others): Add rpcgen.
52772         ($(objpfx)rpcgen): Remove special build rule and dependency on
52773         libc.
52774         * sunrpc/rpcgen.c: New file.
52776 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52778         [BZ #13673]
52779         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52780         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52781         * sysdeps/i386/crti.S: Likewise.
52782         * sysdeps/i386/crtn.S: Likewise.
52783         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52784         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52785         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52786         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52787         * sysdeps/sh/crti.S: Likewise.
52788         * sysdeps/sh/crtn.S: Likewise.
52789         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52791         [BZ #13673]
52792         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52793         with URL.
52794         * locale/programs/locfile-kw.gperf: Likewise.
52795         * locale/programs/charmap-kw.h: Regenerated.
52796         * locale/programs/locfile-kw.h: Likewise.
52798         [BZ #13673]
52799         * intl/plural.y: Replace FSF snail mail address with URL.
52800         * intl/plural.c: Regenerated.
52802 2012-03-09  Richard Henderson  <rth@twiddle.net>
52804         * include/math_private.h: Remove file.
52805         * math/math_private.h: Move file ...
52806         * sysdeps/generic/math_private.h: ... here.
52808         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52809         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52810         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52812         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52813         and <math_private.h>.
52814         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52815         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52816         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52817         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52818         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52819         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52820         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52821         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52822         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52823         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52824         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52825         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52826         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52827         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52828         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52829         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52830         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52831         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52832         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52833         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52834         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52835         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52836         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52837         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52838         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52839         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52840         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52841         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52842         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52843         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52844         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52845         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52846         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52847         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52848         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52849         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52850         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52851         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52852         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52853         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52854         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52855         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52856         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52857         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52858         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52859         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52860         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52861         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52862         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52863         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52864         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52865         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52866         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52867         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52868         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52869         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52870         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52871         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52872         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52873         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52874         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52875         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52876         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52877         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52878         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52879         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52880         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52881         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52882         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52883         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52884         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52885         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52886         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52887         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52888         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52889         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52890         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52891         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52892         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52893         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52894         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52895         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52896         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52897         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52898         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52899         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52900         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52901         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52902         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52903         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52904         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52905         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52906         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52907         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52908         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52909         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52910         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52911         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52912         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52913         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52914         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52915         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52916         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52917         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52918         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52919         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52920         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52921         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52922         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52923         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52924         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52925         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52926         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52927         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52928         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52929         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52930         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52931         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52932         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52933         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52934         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52935         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52936         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52937         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52938         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52939         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52940         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52941         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52942         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52943         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52944         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52945         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52946         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52947         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52948         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52949         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52950         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52951         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52952         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52953         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52954         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52955         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52956         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52957         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52958         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52959         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52960         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52961         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52962         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52963         * sysdeps/ieee754/k_standard.c: Likewise.
52964         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52965         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52966         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52967         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52968         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52969         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52970         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52971         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52972         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52973         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52974         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52975         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52976         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52977         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52978         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52979         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52980         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52981         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52982         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52983         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52984         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52985         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52986         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52987         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52988         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52989         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52990         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52991         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52992         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52993         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52994         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52995         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52996         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52997         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52998         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52999         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53000         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53001         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53002         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53003         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53004         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53005         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53006         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53007         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53008         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53009         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53010         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53011         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53012         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53013         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53014         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53015         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53016         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53017         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53018         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53019         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53020         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53021         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53022         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53023         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53024         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53025         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53026         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53027         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53028         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53029         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53030         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53031         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53032         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53033         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53034         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53035         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53036         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53037         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53038         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53039         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53040         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53041         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53042         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53043         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53044         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53045         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53046         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53047         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53048         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53049         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53050         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53051         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53052         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53053         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53054         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53055         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53056         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53057         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53058         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53059         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53060         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53061         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53062         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53063         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53064         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53065         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53066         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53067         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53068         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53069         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53070         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53071         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53072         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53073         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53074         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53075         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53076         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53077         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53078         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53079         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53080         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53081         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53082         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53083         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53084         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53085         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53086         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53087         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53088         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53089         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53090         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53091         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53092         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53093         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53094         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53095         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53096         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53097         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53098         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53099         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53100         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53101         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53102         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53103         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53104         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53105         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53106         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53107         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53108         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53109         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53110         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53111         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53112         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53113         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53114         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53115         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53116         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53117         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53118         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53119         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53120         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53121         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53122         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53123         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53124         * sysdeps/ieee754/s_lib_version.c: Likewise.
53125         * sysdeps/ieee754/s_matherr.c: Likewise.
53126         * sysdeps/ieee754/s_signgam.c: Likewise.
53127         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53128         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53129         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53130         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53131         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53132         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53133         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53134         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53135         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53136         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53137         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53138         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53139         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53140         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53141         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53142         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53143         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53144         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53145         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53146         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53147         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53149 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53151         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53152         * sunrpc/rpc_main.c: Likewise.
53153         * sunrpc/rpc_svcout.c: Likewise.
53155 2012-03-09  David S. Miller  <davem@davemloft.net>
53157         * include/math_private.h: New file.
53159 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
53161         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53162         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53163         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53164         from <bits/socket_type.h>.
53165         (enum __socket_type): Don't define here.
53166         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53167         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53168         bits/socket_type.h.
53170         [BZ #13566]
53171         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53172         checking __USE_GNU.
53174         * Makerules ($(inst_includedir)/%.h): New rule.
53175         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53176         (install-others): Remove variable setting.
53177         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53179 2012-03-08  Richard Henderson  <rth@twiddle.net>
53181         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53182         from macro to inline function; merge with the
53183         !__LIBC_INTERNAL_MATH_INLINES version.
53184         (__ieee754_sqrtf): Likewise.
53186         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53187         to inline function.
53188         (__rintf, __floor, __floorf): Likewise.
53190         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53191         macro to inline function.
53192         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53194         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53195         not <math/math_private.h>.
53197 2012-03-08  David S. Miller  <davem@davemloft.net>
53199         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53200         copyright year.
53201         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53203 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
53205         * resolv/gai_misc.c (handle_requests): Fix struct timespec
53206         normalization.
53207         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53208         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53210 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
53212         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
53213         be defined individually, they must be defined as a block.  Define
53214         S for printing a string instead of hidint the different by using a
53215         macro for adding the 'l'.
53216         * stdio-common/tst-fphex-wide.c: Adjust.
53218 2012-03-07  Marek Polacek  <polacek@redhat.com>
53220         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53222 2012-03-08  Marek Polacek  <polacek@redhat.com>
53224         [BZ #13806]
53225         * stdio-common/Makefile (tests): Add tst-fphex-wide.
53226         * stdio-common/tst-fphex.c: Define a few macros to make the
53227         test reusable.  Use them.
53228         * stdio-common/tst-fphex-wide.c: New file.
53230 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
53232         [BZ #6911]
53233         * manual/macros.texi (gnusystems): New macro.
53234         (nongnusystems): Likewise.
53235         (gnulinuxhurdsystems): Likewise.
53236         (gnuhurdsystems): Likewise..
53237         (gnulinuxsystems): Likewise.
53238         * manual/charset.texi: Use new macros or @theglibc{} to refer to
53239         variants of the GNU system, not "GNU system".
53240         * manual/conf.texi: Likewise.
53241         * manual/errno.texi: Likewise.  Update example of errno macro
53242         expansion.
53243         * manual/filesys.texi: Likewise.
53244         (getumask): Document as specific to GNU/Hurd.
53245         * manual/install.texi: Likewise.  Reword some references to
53246         GNU/Linux.
53247         * manual/intro.texi: Likewise.
53248         * manual/io.texi: Likewise.
53249         (File Name Portability): Detail which constraints are inapplicable
53250         to all GNU systems and which are only inapplicable to GNU/Hurd.
53251         * manual/job.texi: Likewise.
53252         * manual/llio.texi: Likewise.
53253         (O_NOCTTY): Document as present on GNU/Linux.
53254         * manual/maint.texi: Likewise.
53255         * manual/memory.texi: Likewise.
53256         * manual/pattern.texi: Likewise.
53257         * manual/pipe.texi: Likewise.
53258         * manual/process.texi: Likewise.
53259         * manual/resource.texi: Likewise.
53260         (RUSAGE_CHILDREN): Remove statement about specifying a particular
53261         child on GNU/Hurd.
53262         * manual/setjmp.texi: Likewise.
53263         * manual/signal.texi: Likewise.
53264         * manual/startup.texi: Likewise.
53265         * manual/stdio.texi: Likewise.
53266         * manual/terminal.texi: Likewise.
53267         (ONLCR): Document as POSIX.
53268         (OXTABS): Document availability on GNU/Linux as XTABS.
53269         (ONOEOT): Document availability separately from other bits.
53270         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53271         * manual/time.texi: Likewise.
53272         * manual/users.texi: Likewise.
53273         * INSTALL: Regenerated.
53274         * sysdeps/gnu/errlist.c: Regenerated.
53276         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53277         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53278         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
53279         puts.
53280         * configure: Regenerated.
53282 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
53284         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53285         default includes instead of AC_HEADER_CHECK.
53286         * sysdeps/i386/configure: Regenerated.
53288         [BZ #10716]
53289         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53290         * math/s_cacoshf.c (__cacoshf): Likewise.
53291         * math/s_cacoshl.c (__cacoshl): Likewise.
53292         * math/s_casinh.c (__casinh): Set signs of result from argument.
53293         * math/s_casinhf.c (__casinhf): Likewise.
53294         * math/s_casinhl.c (__casinhl): Likewise.
53295         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53296         (casinh_test): Add more tests.
53297         * sysdeps/i386/fpu/libm-test-ulps: Update.
53298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53300 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
53302         * po/zh_TW.po: Update from translation team.
53304         * login/Makefile (distribute): Remove variable.
53305         * catgets/Makefile: Likewise.
53306         * mach/Makefile: Likewise.
53307         * malloc/Makefile: Likewise.
53308         * misc/Makefile: Likewise.
53309         * iconv/Makefile: Likewise.
53310         * nscd/Makefile: Likewise.
53311         * hurd/Makefile: Likewise.
53312         * manual/Makefile: Likewise.
53313         * locale/Makefile: Likewise.
53314         * intl/Makefile: Likewise.
53315         * conform/Makefile: Likewise.
53316         * nss/Makefile: Likewise.
53317         * time/Makefile: Likewise.
53318         * soft-fp/Makefile: Likewise.
53319         * dirent/Makefile: Likewise.
53320         * gmon/Makefile: Likewise.
53321         * po/Makefile: Likewise.
53322         * rt/Makefile: Likewise.
53323         * socket/Makefile: Likewise.
53324         * math/Makefile: Likewise.
53325         * signal/Makefile: Likewise.
53326         * debug/Makefile: Likewise.
53327         * elf/Makefile: Likewise.
53328         * timezone/Makefile: Likewise.
53329         * stdlib/Makefile: Likewise.
53330         * iconvdata/Makefile: Likewise.
53331         * sunrpc/Makefile: Likewise.
53332         * io/Makefile: Likewise.
53333         * argp/Makefile: Likewise.
53334         * inet/Makefile: Likewise.
53335         * hesiod/Makefile: Likewise.
53336         * grp/Makefile: Likewise.
53337         * csu/Makefile: Likewise.
53338         * wctype/Makefile: Likewise.
53339         * crypt/Makefile: Likewise.
53340         * libio/Makefile: Likewise.
53341         * string/Makefile: Likewise.
53342         * nis/Makefile: Likewise.
53343         * resolv/Makefile: Likewise.
53344         * stdio-common/Makefile: Likewise.
53345         * wcsmbs/Makefile: Likewise.
53346         * dlfcn/Makefile: Likewise.
53347         * posix/Makefile: Likewise.
53349         [BZ #6959]
53350         * timezone/Makefile: Don't install timezone files, just the programs
53351         and scripts.
53353 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
53355         * nss/databases.def: Add missing gshadow entry.
53357         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
53359 2012-03-06  Marek Polacek  <polacek@redhat.com>
53361         [BZ #13726]
53362         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53363         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53364         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53365         * stdio-common/tst-long-dbl-fphex.c: New file.
53367 2012-03-06  David S. Miller  <davem@davemloft.net>
53369         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53370         (set_obp_int): New function.
53371         (get_obp_int): New function.
53372         (__get_clockfreq_via_dev_openprom): Likewise.
53373         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53374         Avoid unused variable warnings on 'val' and use builtin_expect.
53375         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53376         __builtin_expect.
53377         (INLINE_CLONE_SYSCALL): Likewise.
53379 2012-03-05  David S. Miller  <davem@davemloft.net>
53381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53383 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
53385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53387         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53388         only for |x| >= 40.
53389         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53391 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
53393         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53394         Replace gettimeofday with __vdso_gettimeofday.
53396         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53397         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53398         __vdso_clock_gettime and __vdso_getcpu.
53400         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53401         time with __vdso_time.
53403 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53405         * manual/lang.texi (size_t): Note types to which size_t may be
53406         equivalent with the GNU C Library, but do not describe when
53407         differences between them are significant.
53409 2012-03-05  Andreas Jaeger  <aj@suse.de>
53411         * sysdeps/i386/fpu/libm-test-ulps: Update.
53413 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
53415         [BZ #3976]
53416         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53417         (__ieee754_pow): Save and restore rounding mode and use
53418         round-to-nearest for main computations.
53419         * math/libm-test.inc (pow_test_tonearest): New function.
53420         (pow_test_towardzero): Likewise.
53421         (pow_test_downward): Likewise.
53422         (pow_test_upward): Likewise.
53423         (main): Call the new functions.
53424         * sysdeps/i386/fpu/libm-test-ulps: Update.
53425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53427         [BZ #3976]
53428         * math/libm-test.inc (cosh_test_tonearest): New function.
53429         (cosh_test_towardzero): Likewise.
53430         (cosh_test_downward): Likewise.
53431         (cosh_test_upward): Likewise.
53432         (sinh_test_tonearest): Likewise.
53433         (sinh_test_towardzero): Likewise.
53434         (sinh_test_downward): Likewise.
53435         (sinh_test_upward): Likewise.
53436         (main): Call the new functions.
53437         * sysdeps/i386/fpu/libm-test-ulps: Update.
53438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53440 2012-03-05  Tom de Vries  <tom@codesourcery.com>
53442         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53443         default stack guard is set in last bytes.
53444         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53446 2012-03-05  Kees Cook  <keescook@chromium.org>
53448         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53450         [BZ #13656]
53451         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53452         possibly allocate from heap instead of stack.
53453         * stdio-common/bug-vfprintf-nargs.c: New file.
53454         * stdio-common/Makefile (tests): Add nargs overflow test.
53456 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
53458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53460 2012-03-03  Marek Polacek  <polacek@redhat.com>
53462         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53463         * math/math_private.h: Likewise.
53464         * stdlib/tst-strtod.c: Likewise.
53465         * sysdeps/i386/i486/bits/atomic.h: Likewise.
53466         * sysdeps/x86_64/bits/atomic.h: Likewise.
53468 2012-03-02  David S. Miller  <davem@davemloft.net>
53470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53474         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53475         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53476         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53477         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53479 2012-03-02  Roland McGrath  <roland@hack.frob.com>
53481         [BZ #13792]
53482         * manual/examples/README: New file, says the example source files
53483         can be used under GPL>=2.
53484         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53485         line containing just "*/".
53486         * manual/examples/add.c: Add copyright header (GPL>=2).
53487         * manual/examples/argp-ex1.c: Likewise.
53488         * manual/examples/argp-ex2.c: Likewise.
53489         * manual/examples/argp-ex3.c: Likewise.
53490         * manual/examples/argp-ex4.c: Likewise.
53491         * manual/examples/atexit.c: Likewise.
53492         * manual/examples/db.c: Likewise.
53493         * manual/examples/dir.c: Likewise.
53494         * manual/examples/dir2.c: Likewise.
53495         * manual/examples/execinfo.c: Likewise.
53496         * manual/examples/filecli.c: Likewise.
53497         * manual/examples/filesrv.c: Likewise.
53498         * manual/examples/fmtmsgexpl.c: Likewise.
53499         * manual/examples/genpass.c: Likewise.
53500         * manual/examples/inetcli.c: Likewise.
53501         * manual/examples/inetsrv.c: Likewise.
53502         * manual/examples/isockad.c: Likewise.
53503         * manual/examples/longopt.c: Likewise.
53504         * manual/examples/memopen.c: Likewise.
53505         * manual/examples/memstrm.c: Likewise.
53506         * manual/examples/mkfsock.c: Likewise.
53507         * manual/examples/mkisock.c: Likewise.
53508         * manual/examples/mygetpass.c: Likewise.
53509         * manual/examples/pipe.c: Likewise.
53510         * manual/examples/popen.c: Likewise.
53511         * manual/examples/rprintf.c: Likewise.
53512         * manual/examples/search.c: Likewise.
53513         * manual/examples/select.c: Likewise.
53514         * manual/examples/setjmp.c: Likewise.
53515         * manual/examples/sigh1.c: Likewise.
53516         * manual/examples/sigusr.c: Likewise.
53517         * manual/examples/stpcpy.c: Likewise.
53518         * manual/examples/strdupa.c: Likewise.
53519         * manual/examples/strftim.c: Likewise.
53520         * manual/examples/strncat.c: Likewise.
53521         * manual/examples/subopt.c: Likewise.
53522         * manual/examples/swapcontext.c: Likewise.
53523         * manual/examples/termios.c: Likewise.
53524         * manual/examples/testopt.c: Likewise.
53525         * manual/examples/testpass.c: Likewise.
53526         * manual/examples/timeval_subtract.c: Likewise.
53528         [BZ #13792]
53529         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53530         function to ...
53531         * manual/timeval_subtract.c.texi: ... here, new file.
53533 2012-03-02  David S. Miller  <davem@davemloft.net>
53535         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53537 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53539         [BZ #3976]
53540         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53541         (__sin): Save and restore rounding mode and use round-to-nearest
53542         for all computations.
53543         (__cos): Save and restore rounding mode and use round-to-nearest
53544         for all computations.
53545         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53546         <fenv.h>.
53547         (tan): Save and restore rounding mode and use round-to-nearest for
53548         all computations.
53549         * math/libm-test.inc (cos_test_tonearest): New function.
53550         (cos_test_towardzero): Likewise.
53551         (cos_test_downward): Likewise.
53552         (cos_test_upward): Likewise.
53553         (sin_test_tonearest): Likewise.
53554         (sin_test_towardzero): Likewise.
53555         (sin_test_downward): Likewise.
53556         (sin_test_upward): Likewise.
53557         (tan_test_tonearest): Likewise.
53558         (tan_test_towardzero): Likewise.
53559         (tan_test_downward): Likewise.
53560         (tan_test_upward): Likewise.
53561         (main): Call the new functions.
53562         * sysdeps/i386/fpu/libm-test-ulps: Update.
53563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53565         [BZ #10135]
53566         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53567         small n, then large n, before computing and testing k+n.
53568         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53569         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53570         Likewise.
53571         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53572         Likewise.
53573         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53574         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53575         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53576         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53577         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53578         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53579         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53580         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53581         * math/libm-test.inc (scalbn_test): Add more tests.
53582         (scalbln_test): Likewise.
53584         * manual/filesys.texi (mode_t): Describe constraints on size and
53585         signedness, not exact equivalence to a particular type.
53586         (ino_t): Likewise.
53587         (ino64_t): Likewise.
53588         (dev_t): Likewise.
53589         (nlink_t): Likewise.
53590         (blkcnt_t): Likewise.
53591         (blkcnt64_t): Likewise.
53592         * manual/llio.texi (off_t): Likewise.
53594         [BZ #3976]
53595         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53596         (__ieee754_exp): Save and restore rounding mode and use
53597         round-to-nearest for all computations.
53598         * math/libm-test.inc (exp_test_tonearest): New function.
53599         (exp_test_towardzero): Likewise.
53600         (exp_test_downward): Likewise.
53601         (exp_test_upward): Likewise.
53602         (main): Call the new functions.
53603         * sysdeps/i386/fpu/libm-test-ulps: Update.
53604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53606 2012-03-01  Chris Demetriou  <cgd@google.com>
53608         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53609         have predictable order.
53611 2012-03-01  David S. Miller  <davem@davemloft.net>
53613         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53615         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53616         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53617         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53618         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53620         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53621         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53622         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53624         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53625         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53626         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53627         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53628         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53632         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53633         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53634         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53636         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53637         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53638         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53639         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53640         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53641         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53642         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53643         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53644         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53645         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53646         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53647         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53648         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53649         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53650         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53651         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53652         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53653         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53654         * sysdeps/sparc/elf/configure: Regenerated.
53656 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53658         * configure.in (AS, LD): Require binutils 2.20 or later.
53659         * configure: Regenerated.
53660         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53661         as required minimum version.
53662         * INSTALL: Regenerated.
53664         [BZ #2541]
53665         [BZ #4108]
53666         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53667         before squaring exponent.
53668         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53669         bottom long double and 27 bits of top long double before squaring
53670         exponent.
53671         * math/libm-test.inc (erfc_test): Add more tests.
53672         * sysdeps/i386/fpu/libm-test-ulps: Update.
53673         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53676 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53678         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53679         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53680         containing bit-fields.
53681         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53682         * soft-fp/single.h (_FP_UNION_S): Likewise.
53683         * soft-fp/double.h (_FP_UNION_D): Likewise.
53685 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53687         [BZ #13786]
53688         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53689         not include ../strcmp.S.
53690         [USE_AS_STRNCASECMP_L]: Likewise.
53691         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53692         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53693         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53694         (__strncasecmp_l_ia32): Define as alias to
53695         __strncasecmp_l_nonascii.
53697         [BZ #5794]
53698         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53699         * sysdeps/i386/fpu/libm-test-ulps: Update.
53700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53702         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53705 2012-02-29  Jeff Law  <law@redhat.com>
53707         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53708         out of bounds read.
53710 2012-02-29  Marek Polacek  <polacek@redhat.com>
53712         [BZ #13706]
53713         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53714         * elf/Makefile: Add rules to run tst-unused-dep.out.
53716 2012-02-28  David S. Miller  <davem@davemloft.net>
53718         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53719         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53720         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53721         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53722         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53723         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53725 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53727         * math/libm-test.inc (llround_test): Move one test from
53728         lround_test.  Use TEST_f_L in moved test.
53729         (lround_test): Move misplaced test to llround_test.  Add testcase
53730         from bug 2561.
53732 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53734         * sysdeps/x86_64/fpu/e_expf.S: New file.
53735         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53737 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53739         [BZ #13637]
53740         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53741         of remain_len that may cause incomplete multi-byte character and
53742         false match.
53743         * posix/bug-regex33.c: New file.
53744         * posix/Makefile (tests): Add bug-regex33.
53746 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53748         * manual/macros.texi: New file.
53749         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53750         * manual/libc.texinfo: Include macros.texi.
53751         * manual/creatute.texi: Likewise.
53752         * manual/install.texi: Likewise.
53753         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53754         @glibcadj{} in references to the GNU C Library.
53755         * manual/charset.texi: Likewise.
53756         * manual/conf.texi: Likewise.
53757         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53758         when not using those macros.
53759         * manual/creature.texi: Likewise.
53760         * manual/crypt.texi: Likewise.
53761         * manual/errno.texi: Likewise.
53762         * manual/filesys.texi: Likewise.
53763         * manual/header.texi: Likewise.
53764         * manual/install.texi: Likewise.
53765         * manual/intro.texi: Likewise.
53766         * manual/io.texi: Likewise.
53767         * manual/job.texi: Likewise.
53768         * manual/lang.texi: Likewise.
53769         * manual/libc.texiinfo: Likewise.
53770         * manual/llio.texi: Likewise.
53771         * manual/locale.texi: Likewise.
53772         * manual/maint.texi: Likewise.
53773         * manual/math.texi: Likewise.
53774         * manual/memory.texi: Likewise.
53775         * manual/message.texi: Likewise.
53776         * manual/nss.texi: Likewise.
53777         * manual/pattern.texi: Likewise.
53778         * manual/process.texi: Likewise.
53779         * manual/resource.texi: Likewise.
53780         * manual/search.texi: Likewise.
53781         * manual/setjmp.texi: Likewise.
53782         * manual/signal.texi: Likewise.
53783         * manual/socket.texi: Likewise.
53784         * manual/startup.texi: Likewise.
53785         * manual/stdio.texi: Likewise.
53786         * manual/string.texi: Likewise.
53787         * manual/sysinfo.texi: Likewise.
53788         * manual/syslog.texi: Likewise.
53789         * manual/terminal.texi: Likewise.
53790         * manual/time.texi: Likewise.
53791         * manual/users.texi: Likewise.
53792         * INSTALL: Regenerated.
53793         * NOTES: Regenerated.
53794         * sysdeps/gnu/errlist.c: Regenerated.
53796 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53798         * include/dirent.h: Include <dirstream.h> before
53799         <dirent/dirent.h>.
53801 2012-02-28  David S. Miller  <davem@davemloft.net>
53803         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53804         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53805         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53806         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53808 2012-02-27  David S. Miller  <davem@davemloft.net>
53810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53812         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53813         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53816         frame pointer instead of stack pointer relative arg slot.
53817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53818         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53819         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53821 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53823         [BZ #3992]
53824         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53826 2012-02-27  David S. Miller  <davem@davemloft.net>
53828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53832         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53833         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53834         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53835         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53837 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53839         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53840         later.  Allow versions 5-9.
53841         * configure: Regenerated.
53842         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53843         required minimum version and 4.6 as recommended version.  Do not
53844         mention bugs in GCC 2.7 and 2.8.
53845         * INSTALL: Regenerated.
53847 2012-02-27  David S. Miller  <davem@davemloft.net>
53849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53853         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53854         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53855         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53856         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53858         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53859         manipulate bits before adding and subtracting TWO112[sx].
53860         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53862 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53864         [BZ #13775]
53865         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53866         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53867         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53868         being in POSIX, because they are in 1003.1-2008.
53870         * rt/tst-aio.c: Include <fcntl.h>.
53871         * rt/tst-aio7.c: Likewise.
53872         * rt/tst-aio64.c: Likewise.
53874         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53876 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53878         * manual/install.texi (--with-headers): Describe headers as
53879         interface headers, not private headers.
53880         (Specific advice for GNU/Linux systems): Describe use of headers
53881         from "make headers_install", not private headers from older
53882         kernels.
53883         * INSTALL: Regenerated.
53884         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53885         Change to 2.6.19.
53886         * sysdeps/unix/sysv/linux/configure: Regenerated.
53888         * manual/llio.texi (fclean): Remove documentation.
53890         * manual/Makefile (libc-texi-generated): New variable.  Include
53891         version.texi.
53892         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53893         $(libc-texi-generated), not duplicated list of files.
53894         (version.texi, stamp-version): New rules.
53895         (realclean): Remove $(libc-texi-generated), not individual files
53896         from that list.  Do not remove dir-add.texinfo.
53897         * manual/libc.texinfo: Comment out uses of edition numbers and
53898         references to printed manual.  Remove last-updated dates.
53899         (EDITION): Comment out.
53900         (ISBN): Likewise.
53901         (VERSION, UPDATED): Remove.
53902         (version.texi): Include.
53904 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53906         * sysdeps/posix/spawni.c: Include <signal.h>.
53907         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53908         * sysdeps/pthread/aio_fsync.c: Likewise.
53910 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53912         * conform/Makefile (tests): Run only when not cross-compiling and
53913         when fast-check is not defined.
53915         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53916         * conform/data/limits.h-data: Fixes for POSIX2008.
53917         * conform/run-conformtest.sh: Run all tests.
53918         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53919         headers.
53920         * include/bits/dlfcn.h: Likewise.
53921         * include/langinfo.h: Likewise.
53922         * include/monetary.h: Likewise.
53923         * include/sys/poll.h: Likewise.
53925         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53926         for __USE_GNU.
53927         * posix/spawn.h: Define __need_sigset_t.
53928         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53929         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53930         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53931         to get sigevent_t only.
53932         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53933         only for __USE_GNU.
53934         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53935         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53936         process_vm_writev only for __USE_GNU.
53937         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53939         * conform/Makefile: For now ignore errors from run-conformtest.
53940         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53941         POSIX to avoid namespace pollution.  Don't prepend headers.
53942         * conform/data/aio.h-data: Fixes for POSIX testing.
53943         * conform/data/fcntl.h-data: Likewise.
53944         * conform/data/glob.h-data: Likewise.
53945         * conform/data/grp.h-data: Likewise.
53946         * conform/data/pthread.h-data: Likewise.
53947         * conform/data/pwd.h-data: Likewise.
53948         * conform/data/signal.h-data: Likewise.
53949         * conform/data/spawn.h-data: Likewise.
53950         * conform/data/stdio.h-data: Likewise.
53951         * conform/data/stdlib.h-data: Likewise.
53952         * conform/data/stropts.h-data: Likewise.
53953         * conform/data/sys/mman.h-data: Likewise.
53954         * conform/data/sys/stat.h-data: Likewise.
53955         * conform/data/sys/types.h-data: Likewise.
53956         * conform/data/sys/wait.h-data: Likewise.
53957         * conform/data/time.h-data: Likewise.
53958         * conform/data/unistd.h-data: Likewise.
53959         * conform/data/utime.h-data: Likewise.
53961         * io/sys/stat.h: fchmod was always in POSIX.
53962         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53963         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53964         * rt/aio.h: Define __need_timespec before including <time.h>.
53965         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53966         struct.  Add forward declaration of pthread_attr_t and use it in
53967         sigevent.
53968         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53969         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53970         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53971         always remove CLK_TCK definition.
53973 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53975         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53977 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53979         * conform/run-conformtest.sh: New file.
53980         * conform/Makefile: Run run-conformtest for tests.
53981         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53982         support.
53984         * conform/data/uchar.h-data: New file.
53985         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53986         * conform/data/arpa/inet.h-data: Likewise.
53987         * conform/data/assert.h-data: Likewise.
53988         * conform/data/complex.h-data: Likewise.
53989         * conform/data/cpio.h-data: Likewise.
53990         * conform/data/ctype.h-data: Likewise.
53991         * conform/data/dirent.h-data: Likewise.
53992         * conform/data/dlfcn.h-data: Likewise.
53993         * conform/data/errno.h-data: Likewise.
53994         * conform/data/fcntl.h-data: Likewise.
53995         * conform/data/float.h-data: Likewise.
53996         * conform/data/fmtmsg.h-data: Likewise.
53997         * conform/data/fnmatch.h-data: Likewise.
53998         * conform/data/ftw.h-data: Likewise.
53999         * conform/data/glob.h-data: Likewise.
54000         * conform/data/grp.h-data: Likewise.
54001         * conform/data/iconv.h-data: Likewise.
54002         * conform/data/inttypes.h-data: Likewise.
54003         * conform/data/langinfo.h-data: Likewise.
54004         * conform/data/libgen.h-data: Likewise.
54005         * conform/data/limits.h-data: Likewise.
54006         * conform/data/locale.h-data: Likewise.
54007         * conform/data/math.h-data: Likewise.
54008         * conform/data/monetary.h-data: Likewise.
54009         * conform/data/mqueue.h-data: Likewise.
54010         * conform/data/ndbm.h-data: Likewise.
54011         * conform/data/net/if.h-data: Likewise.
54012         * conform/data/netdb.h-data: Likewise.
54013         * conform/data/netinet/in.h-data: Likewise.
54014         * conform/data/nl_types.h-data: Likewise.
54015         * conform/data/poll.h-data: Likewise.
54016         * conform/data/pthread.h-data: Likewise.
54017         * conform/data/pwd.h-data: Likewise.
54018         * conform/data/regex.h-data: Likewise.
54019         * conform/data/sched.h-data: Likewise.
54020         * conform/data/search.h-data: Likewise.
54021         * conform/data/semaphore.h-data: Likewise.
54022         * conform/data/setjmp.h-data: Likewise.
54023         * conform/data/signal.h-data: Likewise.
54024         * conform/data/spawn.h-data: Likewise.
54025         * conform/data/stdarg.h-data: Likewise.
54026         * conform/data/stdio.h-data: Likewise.
54027         * conform/data/stdlib.h-data: Likewise.
54028         * conform/data/string.h-data: Likewise.
54029         * conform/data/strings.h-data: Likewise.
54030         * conform/data/stropts.h-data: Likewise.
54031         * conform/data/sys/ipc.h-data: Likewise.
54032         * conform/data/sys/mman.h-data: Likewise.
54033         * conform/data/sys/msg.h-data: Likewise.
54034         * conform/data/sys/resource.h-data: Likewise.
54035         * conform/data/sys/select.h-data: Likewise.
54036         * conform/data/sys/sem.h-data: Likewise.
54037         * conform/data/sys/shm.h-data: Likewise.
54038         * conform/data/sys/socket.h-data: Likewise.
54039         * conform/data/sys/stat.h-data: Likewise.
54040         * conform/data/sys/statvfs.h-data: Likewise.
54041         * conform/data/sys/time.h-data: Likewise.
54042         * conform/data/sys/timeb.h-data: Likewise.
54043         * conform/data/sys/times.h-data: Likewise.
54044         * conform/data/sys/types.h-data: Likewise.
54045         * conform/data/sys/uio.h-data: Likewise.
54046         * conform/data/sys/un.h-data: Likewise.
54047         * conform/data/sys/utsname.h-data: Likewise.
54048         * conform/data/sys/wait.h-data: Likewise.
54049         * conform/data/syslog.h-data: Likewise.
54050         * conform/data/tar.h-data: Likewise.
54051         * conform/data/termios.h-data: Likewise.
54052         * conform/data/utime.h-data: Likewise.
54053         * conform/data/utmpx.h-data: Likewise.
54054         * conform/data/varargs.h-data: Likewise.
54055         * conform/data/wchar.h-data: Likewise.
54056         * conform/data/wctype.h-data: Likewise.
54057         * conform/data/wordexp.h-data: Likewise.
54059         * include/stropts.h: New file.
54060         * include/uchar.h: New file.
54061         * include/aio.h: Changes to allow conformtest.pl to use the headers.
54062         * include/assert.h: Likewise.
54063         * include/ctype.h: Likewise.
54064         * include/dirent.h: Likewise.
54065         * include/dlfcn.h: Likewise.
54066         * include/fcntl.h: Likewise.
54067         * include/fnmatch.h: Likewise.
54068         * include/glob.h: Likewise.
54069         * include/grp.h: Likewise.
54070         * include/libio.h: Likewise.
54071         * include/locale.h: Likewise.
54072         * include/math.h: Likewise.
54073         * include/net/if.h: Likewise.
54074         * include/netdb.h: Likewise.
54075         * include/netinet/in.h: Likewise.
54076         * include/pthread.h: Likewise.
54077         * include/pwd.h: Likewise.
54078         * include/regex.h: Likewise.
54079         * include/sched.h: Likewise.
54080         * include/search.h: Likewise.
54081         * include/setjmp.h: Likewise.
54082         * include/signal.h: Likewise.
54083         * include/stdio.h: Likewise.
54084         * include/stdlib.h: Likewise.
54085         * include/string.h: Likewise.
54086         * include/sys/cdefs.h: Likewise.
54087         * include/sys/mman.h: Likewise.
54088         * include/sys/msg.h: Likewise.
54089         * include/sys/resource.h: Likewise.
54090         * include/sys/select.h: Likewise.
54091         * include/sys/socket.h: Likewise.
54092         * include/sys/stat.h: Likewise.
54093         * include/sys/statvfs.h: Likewise.
54094         * include/sys/time.h: Likewise.
54095         * include/sys/times.h: Likewise.
54096         * include/sys/uio.h: Likewise.
54097         * include/sys/utsname.h: Likewise.
54098         * include/sys/wait.h: Likewise.
54099         * include/termios.h: Likewise.
54100         * include/time.h: Likewise.
54101         * include/ulimit.h: Likewise.
54102         * include/unistd.h: Likewise.
54103         * include/utime.h: Likewise.
54104         * include/wchar.h: Likewise.
54105         * include/wctype.h: Likewise.
54106         * include/wordexp.h: Likewise.
54108         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54110         * time/time.h: TIME_UTC must be a macro.
54111         Make timespec_get available for ISO C11 only as well.
54113 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
54115         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54116         Reported by Peng Haitao <penght@cn.fujitsu.com>.
54118 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54120         * configure.in: Use -o not -a in test for unsupported multi-arch.
54122 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54124         * manual/texinfo.tex: Update to version 2012-01-19.16.
54126 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
54128         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54130 2012-02-24  Roland McGrath  <roland@hack.frob.com>
54132         [BZ #13738]
54133         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54134         * manual/fdl-1.3.texi: New file.
54135         * manual/fdl-1.1.texi: File removed.
54137         [BZ #13738]
54138         * manual/libc.texinfo (FDL_VERSION): New @set.
54139         Use it for mention of FDL in cover text.
54140         (Documentation License): Use it in @include file name.
54142 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54143             Roland McGrath  <roland@hack.frob.com>
54145         [BZ #5461]
54146         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54147         (not LONG_LONG_MAX and LONG_LONG_MIN.
54148         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54149         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
54150         name.
54151         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54153 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54155         [BZ #2547]
54156         [BZ #11365]
54157         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54158         manipulate bits before adding and subtracting TWO23[sx].
54159         * math/libm-test.inc (nearbyint_test): Add more tests.
54161 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54163         [BZ #2548]
54164         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54165         bits before adding and subtracting TWO23[sx].
54166         * math/libm-test.inc (rint_test): Add more tests.
54167         (rint_test_tonearest): Likewise.
54168         (rint_test_towardzero): Likewise.
54169         (rint_test_downward): Likewise.
54170         (rint_test_upward: Likewise.
54172 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54174         [BZ #10110]
54175         * include/stdc-predef.h: New file.  Extracted from features.h.
54176         * include/features.h: Include stdc-predef.h.
54177         * Makefile (headers): Add stdc-predef.h.
54178         * CONFORMANCE (Compiler limitations): Update.
54180 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
54182         * manual/libc.texinfo (VERSION, UPDATED): Revert.
54184 2012-02-21  David S. Miller  <davem@davemloft.net>
54186         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54187         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54189 2012-02-20  David S. Miller  <davem@davemloft.net>
54191         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54192         using a normal save/restore sequence, rather than allocating a
54193         dummy stack frame just to store a frame pointer and restore.
54194         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54196 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54198         * manual/install.texi: Fix stray word in line-wrapped comment.
54200 2012-02-20  David S. Miller  <davem@davemloft.net>
54202         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54203         both binutils and gcc support GOTDATA.
54205         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54206         "rd %pc" in the PIC register setup sequences.
54208         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54209         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54210         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54211         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54212         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54213         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54214         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54215         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54216         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54217         (SYSCALL_ERROR_HANDLER): Likewise.
54218         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54219         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54220         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54221         (SYSCALL_ERROR_HANDLER): Likewise.
54223         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54224         (HAVE_GCC_GOTDATA): New.
54225         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54226         relocation support in both binutils and gcc.
54227         * sysdeps/sparc/elf/configure: Regenerate.
54229         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54230         * sysdeps/sparc/sparc32/elf/configure: Delete.
54231         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54232         * sysdeps/sparc/sparc64/elf/configure: Delete.
54233         * sysdeps/sparc/elf/configure.in: New file.
54234         * sysdeps/sparc/elf/configure: Generate.
54236         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54237         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54238         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54239         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54240         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54242 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54244         * manual/install.texi: Do not mention specific glibc version
54245         numbers.
54246         * manual/libc.texinfo (VERSION, UPDATED): Update.
54247         (@copying): Use @copyright{} and range of years.
54249 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
54251         [BZ #13695]
54252         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54253         [crti.S not in sysdirs] (generated): Do not append.
54254         [crti.S not in sysdirs] (omit-deps): Likewise.
54255         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54256         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54257         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54258         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54259         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54260         Likewise.
54261         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54262         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54263         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54264         * csu/defs.awk: Remove file.
54265         * sysdeps/generic/initfini.c: Likewise.
54266         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54267         variable.
54268         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54269         Likewise.
54271 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54273         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54274         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54275         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54276         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54277         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54278         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54279         <bits/epoll.h>.
54280         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54281         (__EPOLL_PACKED): Define to empty if not defined by
54282         <bits/epoll.h>.
54283         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54284         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54285         bits/epoll.h.
54287 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54289         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54290         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54291         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54292         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54293         <bits/timerfd.h>.
54294         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54295         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54296         bits/timerfd.h.
54298 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
54300         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54301         in C locale.
54302         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54303         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54304         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54307 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
54309         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54310         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54312 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
54314         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54315         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54316         defined.
54317         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54318         Likewise.
54319         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54320         entry for 2.16.
54322 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
54324         * math/w_acos.c: Use non-signaling floating-point comparisons.
54325         * math/w_acosf.c: Likewise.
54326         * math/w_acosh.c: Likewise.
54327         * math/w_acoshf.c: Likewise.
54328         * math/w_acoshl.c: Likewise.
54329         * math/w_acosl.c: Likewise.
54330         * math/w_asin.c: Likewise.
54331         * math/w_asinf.c: Likewise.
54332         * math/w_asinl.c: Likewise.
54333         * math/w_atanh.c: Likewise.
54334         * math/w_atanhf.c: Likewise.
54335         * math/w_atanhl.c: Likewise.
54336         * math/w_exp2.c: Likewise.
54337         * math/w_exp2f.c: Likewise.
54338         * math/w_exp2l.c: Likewise.
54339         * math/w_j0.c: Likewise.
54340         * math/w_j0f.c: Likewise.
54341         * math/w_j0l.c: Likewise.
54342         * math/w_j1.c: Likewise.
54343         * math/w_j1f.c: Likewise.
54344         * math/w_j1l.c: Likewise.
54345         * math/w_jn.c: Likewise.
54346         * math/w_jnf.c: Likewise.
54347         * math/w_log.c: Likewise.
54348         * math/w_log10.c: Likewise.
54349         * math/w_log10f.c: Likewise.
54350         * math/w_log10l.c: Likewise.
54351         * math/w_log2.c: Likewise.
54352         * math/w_log2f.c: Likewise.
54353         * math/w_log2l.c: Likewise.
54354         * math/w_logf.c: Likewise.
54355         * math/w_logl.c: Likewise.
54356         * math/w_sqrt.c: Likewise.
54357         * math/w_sqrtf.c: Likewise.
54358         * math/w_sqrtl.c: Likewise.
54359         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54360         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54361         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54362         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54363         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54365 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54367         [BZ #9739]
54368         * manual/string.texi (strnlen): Use correct parameter name in
54369         equivalent expression.
54371 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54373         [BZ #11174]
54374         * manual/users.texi (seteuid): Consistently use neweuid for
54375         argument name.
54377 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
54379         [BZ #13704]
54380         * manual/nss.texi (Services in the NSS configuration): Correct
54381         list of services in example configuration file.
54383 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
54385         [BZ #11322]
54386         * manual/arith.texi: Remove statements about negative zero
54387         behaving identically to zero.
54389 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54391         [BZ #5993]
54392         * manual/install.texi: Do not document upgrading from libc5.
54394 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
54396         [BZ #4596]
54397         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54399 2012-02-18  David S. Miller  <davem@davemloft.net>
54401         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54402         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54403         %o7 across the call.
54404         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54405         instead.
54406         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54407         SETUP_PIC_REG_LEAF.
54408         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54409         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54410         * sysdeps/sparc/crtn.S: Likewise.
54412 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
54414         * aout/Makefile: Remove.
54416 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
54418         [BZ #13058]
54419         * manual/examples/argp-ex1.c (main): Format definition in GNU
54420         style.
54421         * manual/examples/argp-ex2.c (main): Likewise.
54422         * manual/examples/argp-ex3.c (main): Likewise.
54423         * manual/examples/argp-ex4.c (main): Likewise.
54424         * manual/examples/longopt.c (main): Use new-style prototype
54425         definition.
54426         * manual/examples/strncat.c (main): Specify return type and use
54427         (void) for arguments.
54428         * manual/examples/subopt.c (main): Use char **argv argument.
54430 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54432         [BZ #5077]
54433         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54434         rounding modes.
54436 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
54438         [BZ #6907]
54439         * manual/string.texi (strchr): Change when strchrnul is
54440         recommended.
54442 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
54444         [BZ #174]
54445         * manual/locale.texi (setlocale): Document LOCPATH.
54447 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54449         [BZ #10210]
54450         * manual/process.texi (execle): Move @dots{} before last argument.
54452 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
54454         [BZ #12047]
54455         * manual/charset.texi (Generic Charset Conversion): Fix typo
54456         (LC_TYPE -> LC_CTYPE).
54458 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
54460         [BZ #5805]
54461         * manual/arith.texi (scalbn): Use @var{} on parameter names.
54462         (scalbnf): Likewise.
54463         (scalbnl): Likewise.
54464         (scalbln): Likewise.
54465         (scalblnf): Likewise.
54466         (scalblnl): Likewise.
54467         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54468         (vwarnx): Likewise.
54469         (verr): Likewise.
54470         (verrx): Likewise.
54471         * manual/filesys.texi (telldir): Use braces around return type.
54472         * manual/llio.texi (mmap): Add space after comma.
54473         (mmap64): Likewise.
54474         * manual/math.texi (jn): Use @var{} on parameter names.
54475         (jnf): Likewise.
54476         (jnl): Likewise.
54477         (yn): Likewise.
54478         (ynf): Likewise.
54479         (ynl): Likewise.
54480         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54481         line.
54482         * manual/resource.texi (ulimit): Use @dots{} instead of literal
54483         "...".
54484         (sched_get_priority_min): Remove semicolon on @deftypefun line.
54485         (sched_get_priority_max): Likewise.
54486         * manual/signal.texi (sigvec): Add space after comma.
54487         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54488         names.
54489         (if_indextoname): Likewise.
54490         (if_freenameindex): Likewise.
54491         (sendto): Use ',' instead of '.' in prototype.
54492         * manual/startup.texi (syscall): Use @dots{} instead of literal
54493         "...".
54494         * manual/stdio.texi (__fpending): Separate initial words of
54495         paragraph from @deftypefun line.
54496         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54497         "...".
54498         (vsyslog): Use @var{} on parameter names.
54499         * manual/terminal.texi (stty): Use @var{} on parameter names.
54500         * manual/users.texi (getutmp): Use @var{} on parameter names.
54501         (getutmpx): Likewise.
54503 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54505         [BZ #6884]
54506         * manual/stdio.texi (fopen): Fix typos in description of
54507         ",ccs=STRING".
54509 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54511         [BZ #4026]
54512         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54513         get clock_id definition.
54515 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54517         [BZ #4822]
54518         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54519         (madvise): Cast every argument to void on its own.
54521 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54523         [BZ #9902]
54524         * manual/startup.texi (Exit Status): Fix typo.
54526 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54528         [BZ #10140]
54529         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54530         * manual/examples/argp-ex2.c: Likewise.
54531         * manual/examples/argp-ex3.c: Likewise.
54533 2012-02-16  Richard Henderson  <rth@redhat.com>
54535         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54536         * sysdeps/s390/s390-32/initfini.c: Remove.
54537         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54538         * sysdeps/s390/s390-64/initfini.c: Remove.
54540 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54542         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54543         compiler output for sysdeps/generic/initfini.c.
54544         * sysdeps/sh/elf/initfini.c: Remove file.
54546 2012-02-16  David S. Miller  <davem@davemloft.net>
54548         [BZ #11494]
54549         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54551         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54552         * sysdeps/sparc/crti.S: New file.
54553         * sysdeps/sparc/crtn.S: New file.
54554         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54555         * sysdeps/sparc/sparc64/Makefile: Likewise.
54557 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54559         [BZ #3335]
54560         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54562 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54564         [BZ #4822]
54565         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54567         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54568         (write, read, close): Likewise.
54569         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54571 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54573         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54574         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54575         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54576         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54577         <bits/signalfd.h>.
54578         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54579         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54580         bits/signalfd.h.
54582 2012-02-14  Marek Polacek  <polacek@redhat.com>
54584         * sysdeps/x86_64/crti.S: New file.
54585         * sysdeps/x86_64/crtn.S: New file.
54586         * sysdeps/x86_64/elf/initfini.c: Remove file.
54588 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54590         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54591         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54592         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54593         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54594         <bits/inotify.h>.
54595         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54596         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54597         bits/inotify.h.
54599 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54601         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54602         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54603         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54604         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54605         <bits/eventfd.h>.
54606         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54608         bits/eventfd.h.
54610 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54612         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54613         __feraiseexcept instead of feraiseexcept.
54615         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54616         nanosleep invocations.
54617         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54618         strings, and add error checking for a nanosleep invocations.
54620 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54622         Replace FSF snail mail address with URLs, as per GNU coding standards.
54623         Most of the snail mail addresses were wrong anyway, and omitting
54624         them makes the source code easier to maintain.  Almost all of the
54625         changes are to license notices and to locale LC_IDENTIFICATION
54626         addresses, except for this one:
54627         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54628         not its snail mail address.
54630 2012-02-09  Richard Henderson  <rth@twiddle.net>
54632         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54633         of kernel-features.h.
54635         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54637 2012-02-08  Marek Polacek  <polacek@redhat.com>
54639         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54640         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54641         * sysdeps/gnu/_G_config.h: Likewise.
54642         * sysdeps/generic/_G_config.h: Likewise.
54644 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54646         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54647         tests.
54648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54650         * sysdeps/powerpc/powerpc32/crti.S: New file.
54651         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54652         * sysdeps/powerpc/powerpc64/crti.S: New file.
54653         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54655         * Makeconfig (have-initfini): Don't set.
54656         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54657         * configure.in (nopic_initfini): Don't substitute.
54658         * config.h.in (HAVE_INITFINI): Don't #undef.
54659         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54660         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54662 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54664         Support crti.S and crtn.S provided directly by architectures.
54665         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54666         [crti.S in sysdirs] (omit-deps): Likewise.
54667         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54668         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54669         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54670         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54671         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54672         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54673         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54674         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54675         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54676         compiler output for sysdeps/generic/initfini.c.
54677         * sysdeps/i386/elf/Makefile: Remove file.
54678         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54680 2012-02-07  Marek Polacek  <polacek@redhat.com>
54682         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54683         * sysdeps/gnu/_G_config.h: Likewise.
54684         * sysdeps/mach/hurd/_G_config.h: Likewise.
54686 2012-02-07  Marek Polacek  <polacek@redhat.com>
54688         * math/Makefile (tests): Add tst-CMPLX2.
54689         * math/tst-CMPLX2.c: New file.
54691 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54693         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54695         * math/libm-test.inc (jn_test): Add missing L suffix.
54697 2012-02-06  Marek Polacek  <polacek@redhat.com>
54699         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54700         * sysdeps/i386/fpu/e_powf.S: Likewise.
54701         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54702         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54703         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54704         * sysdeps/i386/fpu/e_pow.S: Likewise.
54705         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54706         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54707         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54708         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54709         * sysdeps/i386/fpu/e_log2.S: Likewise.
54710         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54711         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54712         * sysdeps/i386/fpu/e_powl.S: Likewise.
54713         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54714         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54715         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54716         * sysdeps/i386/fpu/e_logl.S: Likewise.
54717         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54718         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54719         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54720         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54721         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54722         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54723         * sysdeps/i386/fpu/e_log.S: Likewise.
54724         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54725         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54726         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54727         * sysdeps/i386/fpu/e_logf.S: Likewise.
54728         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54729         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54730         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54731         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54732         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54733         * sysdeps/i386/fpu/e_log10.S: Likewise.
54734         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54735         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54736         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54737         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54738         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54739         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54740         * sysdeps/i386/asm-syntax.h: Likewise.
54741         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54742         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54743         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54744         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54745         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54746         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54747         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54748         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54749         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54750         * sysdeps/powerpc/sysdep.h: Likewise.
54751         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54752         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54754 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54756         [BZ #411]
54757         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54759 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54761         * sysdeps/i386/sysdep.h: Include <features.h>.
54762         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54763         version.
54765 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54767         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54768         Define.
54769         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54770         LOAD_PIC_REG_STR.
54772 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54774         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54775         (SETUP_PIC_REG): Use GET_PC_THUNK.
54776         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54777         macro.
54779 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54781         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54782         for non-PIC compilation.
54783         (SETUP_PIC_REG): Add .p2align directive.
54784         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54785         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54786         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54787         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54788         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54789         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54790         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54791         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54792         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54793         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54794         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54795         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54796         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54797         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54798         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54799         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54800         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54801         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54802         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54803         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54804         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54805         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54806         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54807         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54808         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54809         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54810         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54811         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54812         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54813         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54814         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54815         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54816         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54817         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54818         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54819         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54820         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54821         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54822         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54823         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54824         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54826 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54828         * math/tst-CMPLX.c: Include <stdio.h>.
54830 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54832         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54833         float.
54834         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54835         * sysdeps/sparc/bits/mathdef.h: Likewise.
54837 2012-01-31  Marek Polacek  <polacek@redhat.com>
54839         * libio/libio.h: Don't define _PARAMS.
54840         * locale/programs/config.h: Don't define PARAMS.
54841         * stdlib/strtol_l.c: Likewise.
54842         (__strtol_l): Remove PARAMS from the prototype.
54844 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54846         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54847         names.  Just use the correct names.  Remove unnecessary wrapper
54848         functions.
54849         * malloc/arena.c: Likewise.
54850         * malloc/hooks.c: Likewise.
54852         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54853         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54854         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54856 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54858         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54859         into tail calls.
54860         (update_get_addr): New function.
54861         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54862         GET_ADDR_MODULE parameter.
54864 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54866         * crypt/cert.c: Remove __STDC__ conditionals.
54867         * crypt/crypt-entry.c: Likewise.
54868         * crypt/crypt_util.c: Likewise.
54869         * libio/filedoalloc.c: Likewise.
54870         * libio/fileops.c: Likewise.
54871         * libio/genops.c: Likewise.
54872         * libio/iofclose.c: Likewise.
54873         * libio/iofdopen.c: Likewise.
54874         * libio/iofopen.c: Likewise.
54875         * libio/iofopen64.c: Likewise.
54876         * libio/iogetdelim.c: Likewise.
54877         * libio/iopopen.c: Likewise.
54878         * libio/obprintf.c: Likewise.
54879         * libio/oldfileops.c: Likewise.
54880         * libio/oldiofclose.c: Likewise.
54881         * libio/oldiofdopen.c: Likewise.
54882         * libio/oldiofopen.c: Likewise.
54883         * libio/oldiopopen.c: Likewise.
54884         * libio/wfiledoalloc.c: Likewise.
54885         * libio/wgenops.c: Likewise.
54886         * locale/programs/xmalloc.c: Likewise.
54887         * misc/syslog.c: Likewise.
54888         * stdio-common/xbug.c: Likewise.
54889         * string/memchr.c: Likewise.
54890         * string/memcmp.c: Likewise.
54891         * string/memrchr.c: Likewise.
54892         * string/rawmemchr.c: Likewise.
54893         * sysdeps/posix/getcwd.c: Likewise.
54894         * time/strftime_l.c: Likewise.
54896 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54898         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54899         * config.make.in (config-cflags-sse2avx): Define.
54900         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54901         Fix typo.
54903 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54905         * scripts/config.guess: Update from upstream config git repository.
54906         * scripts/config.sub: Likewise.
54908 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54910         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54911         (EM_NUM): Update.
54912         (R_TILEPRO_*, R_TILEGX_*): New macros.
54914         * scripts/firstversions.awk: Fix bug in version range handling.
54916         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54918         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54920         * include/sys/epoll.h: New file.
54921         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54922         libc_hidden_def.
54924 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54926         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54927         Avoid unnecessary __WORDSIZE == 64 test.
54928         (fmaxf): Use VEX format if possible.
54929         (fmax): Likewise.
54930         (fminf): Likewise.
54931         (fmin): Likewise.
54933         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54934         * math/math_private.h: Remove libc_fegetround* and
54935         libc_fesetround*.
54936         * sysdeps/i386/configure.in: Check for -msse2avx.
54937         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54938         also if SSE2AVX is defined.
54939         Remove libc_fegetround* and libc_fesetround*.
54940         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54941         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54942         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54943         of HAS_YMM_USABLE.
54944         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54945         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54946         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54947         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54948         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54950         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54952 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54954         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54955         size is not set.
54956         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54958 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54960         [BZ #13618]
54961         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54962         relocation.
54963         * Makeconfig (libm): Define.
54964         * elf/Makefile: Add rules to build and run tst-relsort1.
54965         * elf/tst-relsort1.c: New file.
54966         * elf/tst-relsort1mod1.c: New file.
54967         * elf/tst-relsort1mod2.c: New file.
54969 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54971         * math/s_ldexp.c: Remove __STDC__ conditionals.
54972         * math/s_ldexpf.c: Likewise.
54973         * math/s_ldexpl.c: Likewise.
54974         * math/s_nextafter.c: Likewise.
54975         * math/s_nexttowardf.c: Likewise.
54976         * math/s_significand.c: Likewise.
54977         * math/s_significandf.c: Likewise.
54978         * math/s_significandl.c: Likewise.
54979         * math/w_jnl.c: Likewise.
54980         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54981         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54982         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54983         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54984         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54985         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54986         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54987         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54988         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54989         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54990         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54991         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54992         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54993         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54994         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54995         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54996         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54997         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54998         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54999         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55000         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55001         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55002         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55003         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55004         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55005         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55006         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55007         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55008         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55009         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55010         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55011         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55012         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55013         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55014         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55015         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55016         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55017         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55018         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55019         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55020         * sysdeps/ieee754/k_standard.c: Likewise.
55021         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55022         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55023         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55024         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55025         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55026         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55027         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55028         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55029         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55030         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55031         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55032         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55033         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55034         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55035         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55036         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55037         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55038         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55039         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55040         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55041         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55042         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55043         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55044         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55045         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55046         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55047         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55048         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55049         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55050         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55051         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55052         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55053         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55054         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55055         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55056         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55057         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55058         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55059         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55060         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55061         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55062         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55063         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55064         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55065         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55066         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55067         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55068         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55069         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55070         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55071         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55072         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55073         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55074         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55075         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55076         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55077         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55078         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55079         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55080         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55081         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55082         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55083         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55084         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55085         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55086         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55087         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55088         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55089         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55090         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55091         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55092         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55093         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55094         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55095         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55096         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55097         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55098         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55099         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55100         * sysdeps/ieee754/s_matherr.c: Likewise.
55101         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55102         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55103         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55104         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55106 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55108         * crypt/md5.h: Remove __STDC__ conditionals.
55109         * libio/libioP.h: Likewise.
55110         * locale/programs/config.h: Likewise.
55111         * sysdeps/generic/sysdep.h: Likewise.
55112         * sysdeps/i386/asm-syntax.h: Likewise.
55113         * sysdeps/s390/asm-syntax.h: Likewise.
55114         * sysdeps/unix/sysdep.h: Likewise.
55115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55118 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
55120         * libio/libio.h: Remove __STDC__ conditionals.
55121         * malloc/obstack.h: Likewise.
55122         * math/complex.h: Likewise.
55123         * math/math.h: Likewise.
55124         * sysdeps/generic/_G_config.h: Likewise.
55125         * sysdeps/gnu/_G_config.h: Likewise.
55126         * sysdeps/mach/hurd/_G_config.h: Likewise.
55127         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55128         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55129         * sysdeps/sparc/bits/mathdef.h: Likewise.
55131 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
55133         [BZ #13583]
55134         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55135         Clean up HAS_* macros.
55136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55137         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55138         possible.
55139         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55140         HAS_AVX.
55141         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55142         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55143         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55144         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55145         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55147 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
55149         * elf/tst-unique3.cc (gets): Remove declaration.
55150         * elf/tst-unique3lib.cc (gets): Likewise.
55151         * elf/tst-unique3lib2.cc (gets): Likewise.
55152         * elf/tst-unique4.cc (gets): Likewise.
55154 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
55156         * include/stdio.h: Add C++ protection.  Add gets declarations and
55157         definitions.
55158         * debug/tst-chk1.c: Don't declare gets here.
55159         * stdio-common/tst-gets.c: Likewise.
55161 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55163         * posix/glob: Remove directory.
55165 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
55167         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55169 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
55171         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55172         of the non-standard EPFNOSUPPORT.
55174 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55176         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55177         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55178         ANYWHERE set to 1 only on KERN_NO_SPACE error.
55180 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
55182         * wcsmbs/uchar.h: Test __STDC_VERSION__.
55184 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
55186         * nscd/aicache.c (addhstaiX): Do not cache negative results of
55187         transient errors.
55188         * nscd/grpcache.c (cache_addgr): Likewise.
55189         * nscd/hstcache.c (cache_addhst): Likewise.
55190         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55191         * nscd/pwdcache.c (cache_addpw): Likewise.
55192         * nscd/servicescache.c (cache_addserv): Likewise.
55194 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
55196         * malloc/malloc.c: Various cleanups.
55197         * malloc/hooks.c: Likewise.
55199         * stdlib/Makefile (tests): Add bug-fmtmsg1.
55200         * stdlib/bug-fmtmsg1.c: New file.
55202         * stdlib/fmtmsg.c (init): Add missing unlock.
55203         Patch by Peng Haitao <penght@cn.fujitsu.com>.
55205 2012-01-12  Marek Polacek  <polacek@redhat.com>
55207         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55208         and _GNU_SOURCE.
55210 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
55212         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55213         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55214         macro to ensure uniqueness of label name.
55215         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55216         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55218 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
55220         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55222         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55223         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55224         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55225         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55227 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
55229         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55231         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55232         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55233         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55235         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55237         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55238         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55239         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55240         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55242         * math/bits/math-finite.h: Add ldexp support.
55244 2012-01-10  Marek Polacek  <polacek@redhat.com>
55246         * locale/programs/localedef.h (show_archive_content): Add noreturn
55247         attribute.
55249 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
55251         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55253 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55255         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55257         * io/Makefile (headers): Add bits/poll2.h.
55259 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
55261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55262         typo #include statement.
55264 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55266         * include/sys/cdefs.h: Define __attribute_alloc_size.
55267         * catgets/gencat.c: Add alloc_size attribute and apply consistently
55268         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55269         * elf/pldd.c: Likewise.
55270         * iconv/iconv_charmap.c: Likewise.
55271         * iconv/iconvconfig.c: Likewise.
55272         * iconv/strtab.c: Likewise.
55273         * locale/programs/locale.c: Likewise.
55274         * locale/programs/localedef.h: Likewise.
55275         * locale/programs/simple-hash.c: Likewise.
55276         * nscd/nscd.h: Likewise.
55277         * nss/makedb.c: Likewise.
55278         * sysdeps/generic/ldconfig.h: Likewise.
55279         * locale/programs/localedef.c: Remove xmalloc prototype.
55280         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55282 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55284         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55285         appropriate.
55287 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
55289         * math/Makefile (tests): Add tst-CMPLX.
55290         * math/tst-CMPLX.c: New file.
55292         * math/complex.h (CMPLXL): Fix typo.
55294         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55295         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55296         GLIBC_2.16.
55297         * debug/tst-chk1.c: Add poll and ppoll tests.
55298         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55299         * include/sys/poll.h: Add hidden proto for ppoll.
55300         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55301         * sysdeps/mach/hurd/ppoll.c: Likewise.
55302         * io/ppoll.c: Likewise.
55303         * debug/poll_chk.c: New file.
55304         * debug/ppoll_chk.c: New file.
55305         * include/bits/poll2.h: New file.
55306         * io/bits/poll2.h: New file.
55308         [BZ #1350]
55309         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55311         * configure.in: static is always set to yes.  Remove.
55312         * config.make.in: Don't set build-static.
55313         * Makeconfig: Remove use of build-static.
55314         * dlfcn/Makefile: Likewise.
55315         * elf/Makefile: Likewise.
55316         * math/Makefile: Likewise.
55317         * misc/Makefile: Likewise.
55318         * nptl/Makefile: Likewise.
55319         * sysdeps/mach/hurd/Makefile: Likewise.
55321         * configure.in: PWD_P is not used anymore.
55322         * config.make.in: Remove PWD_P entry.
55324         * configure.in: Remove last remnants of RANLIB.
55325         No need to check for signed size_t anymore.
55326         Don't set libc_commonpagesize and libc_relro_required here for Alpha
55327         and IA-64.
55328         Remove __builtin_expect test because we require at least gcc 3.4.
55329         * aclocal.m4: Likewise.
55331         * wcsmbs/mbrtoc16.c: Implement using towc function.
55332         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55333         * wcsmbs/wcsmbsload.c: Likewise.
55334         * iconv/gconv_simple.c: Likewise.
55335         * iconv/gconv_int.h: Likewise.
55336         * iconv/gconv_builtin.h: Likewise.
55337         * iconv/iconv_prog.c: Remove CHAR16 handling.
55339         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55341         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55343         * configure.in: Remove --with-elf and --enable-bounded options.
55344         Dont set base_machine for ia64.  More non-ELF conditions removed.
55345         Remove testing and setting of leading underscore information.
55346         * config.make.in (build-bounded): Set to no.
55347         * config.h.in: Remove NO_UNDERSCORES entry.
55348         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
55349         them.
55350         * csu/start.c: Remove !NO_UNDERSCORE code.
55351         * locale/localeinfo.h: Likewise.
55352         * sysdeps/generic/machine-gmon.h: Likewise.
55353         * sysdeps/generic/sysdep.h: Likewise.
55354         * sysdeps/i386/sysdep.h: Likewise.
55355         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55356         * sysdeps/mach/sysdep.h: Likewise.
55357         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55358         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55359         * sysdeps/sh/sysdep.h: Likewise.
55360         * sysdeps/sparc/sparc32/alloca.S: Likewise.
55361         * sysdeps/unix/i386/sysdep.S: Likewise.
55362         * sysdeps/unix/sparc/start.c: Likewise.
55363         * sysdeps/unix/sparc/sysdep.S: Likewise.
55364         * sysdeps/unix/sparc/sysdep.h: Likewise.
55365         * sysdeps/unix/start.c: Likewise.
55366         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55367         * sysdeps/x86_64/sysdep.h: Likewise.
55369 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
55371         [BZ #13553]
55372         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55373         for non-gcc.
55374         * argp/argp-fmtstream.h: Use const instead __const.
55375         * argp/argp.h: Likewise.
55376         * assert/assert.h: Likewise.
55377         * bits/fenv.h: Likewise.
55378         * bits/sched.h: Likewise.
55379         * bits/sigset.h: Likewise.
55380         * bits/sigthread.h: Likewise.
55381         * catgets/nl_types.h: Likewise.
55382         * conform/data/pthread.h-data: Likewise.
55383         * crypt/crypt-private.h: Likewise.
55384         * crypt/crypt.h: Likewise.
55385         * crypt/crypt_util.c: Likewise.
55386         * ctype/ctype.h: Likewise.
55387         * debug/execinfo.h: Likewise.
55388         * debug/mbsnrtowcs_chk.c: Likewise.
55389         * debug/mbsrtowcs_chk.c: Likewise.
55390         * debug/wcsnrtombs_chk.c: Likewise.
55391         * debug/wcsrtombs_chk.c: Likewise.
55392         * debug/wcstombs_chk.c: Likewise.
55393         * dirent/dirent.h: Likewise.
55394         * dlfcn/dlfcn.h: Likewise.
55395         * elf/neededtest4.c: Likewise.
55396         * grp/grp.h: Likewise.
55397         * gshadow/gshadow.h: Likewise.
55398         * iconv/gconv.h: Likewise.
55399         * iconv/gconv_int.h: Likewise.
55400         * iconv/gconv_simple.c: Likewise.
55401         * iconv/iconv.h: Likewise.
55402         * iconv/loop.c: Likewise.
55403         * iconv/skeleton.c: Likewise.
55404         * include/aio.h: Likewise.
55405         * include/aliases.h: Likewise.
55406         * include/argz.h: Likewise.
55407         * include/arpa/inet.h: Likewise.
55408         * include/assert.h: Likewise.
55409         * include/dirent.h: Likewise.
55410         * include/dlfcn.h: Likewise.
55411         * include/execinfo.h: Likewise.
55412         * include/fcntl.h: Likewise.
55413         * include/fenv.h: Likewise.
55414         * include/glob.h: Likewise.
55415         * include/grp.h: Likewise.
55416         * include/libintl.h: Likewise.
55417         * include/mntent.h: Likewise.
55418         * include/netdb.h: Likewise.
55419         * include/pwd.h: Likewise.
55420         * include/rpc/netdb.h: Likewise.
55421         * include/sched.h: Likewise.
55422         * include/search.h: Likewise.
55423         * include/shadow.h: Likewise.
55424         * include/signal.h: Likewise.
55425         * include/stdio.h: Likewise.
55426         * include/stdlib.h: Likewise.
55427         * include/string.h: Likewise.
55428         * include/sys/socket.h: Likewise.
55429         * include/sys/stat.h: Likewise.
55430         * include/sys/statfs.h: Likewise.
55431         * include/sys/statvfs.h: Likewise.
55432         * include/sys/syslog.h: Likewise.
55433         * include/sys/time.h: Likewise.
55434         * include/sys/uio.h: Likewise.
55435         * include/time.h: Likewise.
55436         * include/unistd.h: Likewise.
55437         * include/utmp.h: Likewise.
55438         * include/wchar.h: Likewise.
55439         * include/wctype.h: Likewise.
55440         * inet/aliases.h: Likewise.
55441         * inet/arpa/inet.h: Likewise.
55442         * inet/netinet/ether.h: Likewise.
55443         * inet/netinet/in.h: Likewise.
55444         * intl/libintl.h: Likewise.
55445         * io/bits/fcntl2.h: Likewise.
55446         * io/fcntl.h: Likewise.
55447         * io/ftw.h: Likewise.
55448         * io/sys/poll.h: Likewise.
55449         * io/sys/stat.h: Likewise.
55450         * io/sys/statfs.h: Likewise.
55451         * io/sys/statvfs.h: Likewise.
55452         * io/utime.h: Likewise.
55453         * libio/bits/stdio.h: Likewise.
55454         * libio/bits/stdio2.h: Likewise.
55455         * libio/libio.h: Likewise.
55456         * libio/libioP.h: Likewise.
55457         * libio/stdio.h: Likewise.
55458         * locale/lc-ctype.c: Likewise.
55459         * locale/locale.h: Likewise.
55460         * login/utmp.h: Likewise.
55461         * malloc/arena.c: Likewise.
55462         * malloc/malloc.c: Likewise.
55463         * malloc/malloc.h: Likewise.
55464         * malloc/mcheck.c: Likewise.
55465         * malloc/mtrace.c: Likewise.
55466         * math/bits/mathcalls.h: Likewise.
55467         * math/fenv.h: Likewise.
55468         * math/math_private.h: Likewise.
55469         * misc/bits/error.h: Likewise.
55470         * misc/bits/syslog.h: Likewise.
55471         * misc/err.h: Likewise.
55472         * misc/error.h: Likewise.
55473         * misc/fstab.h: Likewise.
55474         * misc/mntent.h: Likewise.
55475         * misc/regexp.h: Likewise.
55476         * misc/search.h: Likewise.
55477         * misc/sgtty.h: Likewise.
55478         * misc/sys/mman.h: Likewise.
55479         * misc/sys/syslog.h: Likewise.
55480         * misc/sys/uio.h: Likewise.
55481         * misc/sys/xattr.h: Likewise.
55482         * misc/ttyent.h: Likewise.
55483         * nis/rpcsvc/ypclnt.h: Likewise.
55484         * nss/nss.h: Likewise.
55485         * posix/bits/unistd.h: Likewise.
55486         * posix/fnmatch.h: Likewise.
55487         * posix/glob.h: Likewise.
55488         * posix/sched.h: Likewise.
55489         * posix/spawn.h: Likewise.
55490         * posix/sys/wait.h: Likewise.
55491         * posix/unistd.h: Likewise.
55492         * posix/wordexp.h: Likewise.
55493         * pwd/pwd.h: Likewise.
55494         * resolv/netdb.h: Likewise.
55495         * resource/sys/resource.h: Likewise.
55496         * rt/aio.h: Likewise.
55497         * rt/bits/mqueue2.h: Likewise.
55498         * rt/mqueue.h: Likewise.
55499         * shadow/shadow.h: Likewise.
55500         * signal/signal.h: Likewise.
55501         * socket/send.c: Likewise.
55502         * socket/sendto.c: Likewise.
55503         * socket/sys/socket.h: Likewise.
55504         * stdio-common/printf.h: Likewise.
55505         * stdlib/bits/stdlib.h: Likewise.
55506         * stdlib/fmtmsg.h: Likewise.
55507         * stdlib/monetary.h: Likewise.
55508         * stdlib/stdlib.h: Likewise.
55509         * stdlib/ucontext.h: Likewise.
55510         * streams/stropts.h: Likewise.
55511         * string/argz.h: Likewise.
55512         * string/bits/string2.h: Likewise.
55513         * string/string.h: Likewise.
55514         * string/strings.h: Likewise.
55515         * sunrpc/rpc/auth.h: Likewise.
55516         * sunrpc/rpc/auth_des.h: Likewise.
55517         * sunrpc/rpc/clnt.h: Likewise.
55518         * sunrpc/rpc/netdb.h: Likewise.
55519         * sunrpc/rpc/pmap_clnt.h: Likewise.
55520         * sunrpc/rpc/xdr.h: Likewise.
55521         * sysdeps/generic/inttypes.h: Likewise.
55522         * sysdeps/generic/net/if.h: Likewise.
55523         * sysdeps/generic/sys/swap.h: Likewise.
55524         * sysdeps/gnu/net/if.h: Likewise.
55525         * sysdeps/gnu/utmpx.h: Likewise.
55526         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55527         * sysdeps/i386/i486/bits/string.h: Likewise.
55528         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55529         * sysdeps/s390/bits/string.h: Likewise.
55530         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55531         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55532         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55533         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55534         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55535         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55536         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55537         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55538         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55539         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55540         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55541         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55542         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55543         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55544         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55545         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55546         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55548         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55549         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55550         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55551         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55552         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55553         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55554         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55555         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55556         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55557         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55558         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55559         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55560         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55561         * sysvipc/sys/ipc.h: Likewise.
55562         * sysvipc/sys/msg.h: Likewise.
55563         * sysvipc/sys/sem.h: Likewise.
55564         * sysvipc/sys/shm.h: Likewise.
55565         * termios/termios.h: Likewise.
55566         * time/sys/time.h: Likewise.
55567         * time/time.h: Likewise.
55568         * wcsmbs/bits/wchar2.h: Likewise.
55569         * wcsmbs/uchar.h: Likewise.
55570         * wcsmbs/wchar.h: Likewise.
55571         * wctype/wctype.h: Likewise.
55573         [BZ #13551]
55574         * Makeconfig: Remove all but ELF support including AIX support.
55575         * Makerules: Likewise.
55576         * config.h.in: Likewise.
55577         * config.make.in: Likewise.
55578         * configure: Likewise.
55579         * configure.in: Likewise.
55580         * csu/Makefile: Likewise.
55581         * csu/version.c: Likewise.
55582         * debug/Makefile: Likewise.
55583         * dlfcn/Makefile: Likewise.
55584         * elf/Makefile: Likewise.
55585         * extra-lib.mk: Likewise.
55586         * iconv/Makefile: Likewise.
55587         * include/libc-symbols.h: Likewise.
55588         * include/shlib-compat.h: Likewise.
55589         * resolv/Makefile: Likewise.
55590         * resolv/res_libc.c: Likewise.
55591         * rt/Makefile: Likewise.
55592         * sysdeps/i386/asm-syntax.h: Likewise.
55593         * sysdeps/i386/sysdep.h: Likewise.
55594         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55595         * sysdeps/mach/sysdep.h: Likewise.
55596         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55597         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55598         * sysdeps/s390/asm-syntax.h: Likewise.
55599         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55600         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55601         * sysdeps/sh/sysdep.h: Likewise.
55602         * sysdeps/unix/sparc/sysdep.h: Likewise.
55603         * sysdeps/wordsize-32/divdi3.c: Likewise.
55604         * sysdeps/x86_64/sysdep.h: Likewise.
55606         * argp/Versions: Remove _argp_unlock_xxx.
55608         [BZ #13559]
55609         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55610         * abilist/libBrokenLocale.abilist: Likewise.
55611         * abilist/libanl.abilist: Likewise.
55612         * abilist/libc.abilist: Likewise.
55613         * abilist/libcrypt.abilist: Likewise.
55614         * abilist/libdl.abilist: Likewise.
55615         * abilist/libm.abilist: Likewise.
55616         * abilist/libnsl.abilist: Likewise.
55617         * abilist/libpthread.abilist: Likewise.
55618         * abilist/libresolv.abilist: Likewise.
55619         * abilist/librt.abilist: Likewise.
55620         * abilist/libthread_db.abilist: Likewise.
55621         * abilist/libutil.abilist: Likewise.
55622         * abilist/libnss_db.abilist: New file.
55624         * scripts/abilist.awk: Add support for indirect functions.
55626         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55628         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55630         * shlib-versions: Remove entries for ports architectures.
55632         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55633         files in ports.
55634         * elf/stackguard-macros.h: Remove support for IA-64.
55635         * elf/tst-auditmod1.c: Likewise.
55636         * sysdeps/generic/ldsodefs.h: Likewise.
55638         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55639         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55640         configure files.
55642         [BZ #13552]
55643         * configure.in: Remove --enable-omitfp support.
55644         * FAQ.in: Adjust.
55645         * config.make.in: Likewise.
55646         * Makeconfig: Likewise.
55647         * manual/install.texi: Likewise.
55649         In case anyone cares, the IA-64 architecture could move to ports.
55650         * sysdeps/ia64/*: Removed.
55651         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55652         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55654         [BZ #13555]
55655         * configure.in: Remove entries for unsupported architectures.
55657         [BZ #13533]
55658         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55659         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55660         routines.
55661         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55662         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55663         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55664         fall back to using wcrtomb.
55665         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55666         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55667         renaming.
55668         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55669         * wcsmbs/tst-c16c32-1.c: New file.
55671         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55672         local variable.
55674         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55676         * elf/tst-unique3.cc: Add explicit declaration of gets.
55677         * elf/tst-unique3lib.cc: Likewise.
55678         * elf/tst-unique3lib2.cc: Likewise.
55679         * elf/tst-unique4.cc: Likewise.
55681         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55683 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55685         [BZ #13566]
55686         * assert/assert.h (static_assert): Don't define for C++.
55687         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55688         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55690 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55692         * iconv/loop.c (single loop): Fix assertion in storing of
55693         remaining bytes.
55695         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55697 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55699         * posix/getconf.c: Update copyright year.
55700         * nss/getent.c: Likewise.
55701         * nss/makedb.c: Likewise.
55702         * iconv/iconvconfig.c: Likewise.
55703         * iconv/iconv_prog.c: Likewise.
55704         * elf/ldconfig.c: Likewise.
55705         * elf/pldd.c: Likewise.
55706         * elf/sotruss.ksh: Likewise.
55707         * catgets/gencat.c: Likewise.
55708         * csu/version.c: Likewise.
55709         * elf/ldd.bash.in: Likewise.
55710         * elf/sprof.c (print_version): Likewise.
55711         * locale/programs/locale.c: Likewise.
55712         * locale/programs/localedef.c: Likewise.
55713         * login/programs/pt_chown.c: Likewise.
55714         * nscd/nscd.c (print_version): Likewise.
55715         * debug/xtrace.sh: Likewise.
55716         * malloc/memusage.sh: Likewise.
55717         * malloc/mtrace.pl: Likewise.
55718         * debug/catchsegv.sh: Likewise.
55720 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55722         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55723         pure attribute.
55725 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55727         [BZ #13533]
55728         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55729         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55730         transformations.
55731         * iconv/gconv_int.h: Likewise.
55732         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55733         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55734         from libc for GLIBC_2.16.
55735         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55736         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55737         * wcsmbs/uchar.h: Really define mbstate_t.
55738         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55739         * wcsmbs/c16rtomb.c: New file.
55740         * wcsmbs/mbrtoc16.c: New file.
55741         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55742         for C/POSIX locale.
55743         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55744         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55746         * wcsmbs/wchar.h: Add missing __restrict.
55748 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55750         [BZ #13532]
55751         * time/Makefile (routines): Add timespec_get.
55752         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55753         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55754         timespec for ISO C11.
55755         * time/timespec_get.c: New file.
55756         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55757         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55759         [BZ #13531]
55760         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55761         * stdlib/stdlib.h: Declare aligned_alloc.
55762         * Versions.def: Add GLIBC_2.16 for libc.
55763         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55765         [BZ 13527]
55766         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55767         ISO C11.
55769         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55770         code.
55772         [BZ #13528]
55773         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55775         [BZ #13529]
55776         * assert/assert.h (static_assert): Define.
55778         * version.h: Update for 2.16 development version.
55780         [BZ #13526]
55781         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55782         _ISOC11_SOURCE.
55784         * version.h (RELEASE): Bump for 2.15 release.
55785         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55787         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55788         Patch by Marek Polacek <mpolacek@redhat.com>.
55790         * bits/byteswap.h: Protect long long constants with __extension__.
55791         * sysdeps/i386/bits/byteswap.h: Likewise.
55792         * sysdeps/ia64/bits/byteswap.h: Likewise.
55793         * sysdeps/s390/bits/byteswap.h: Likewise.
55794         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55796 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55798         [BZ #13540]
55799         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55800         destination buffer.
55801         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55803 2011-12-23  Marek Polacek  <polacek@redhat.com>
55805         * elf/dl-addr.c (determine_info): Add inline keyword.
55806         * elf/tst-auditmod4b.c (check_avx): Likewise.
55807         * elf/tst-auditmod6b.c (check_avx): Likewise.
55808         * elf/tst-auditmod6c.c (check_avx): Likewise.
55809         * elf/tst-auditmod7b.c (check_avx): Likewise.
55811 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55813         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55814         !__SSE_MATH__.
55816 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55818         [BZ #13540]
55819         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55820         processing for last bytes.
55822 2011-08-06  Bruno Haible  <bruno@clisp.org>
55824         [BZ #13061]
55825         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55826         U+0385, not to U+1FEE.
55828         [BZ #13062]
55829         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55830         entry for U+00A5 U+0301.
55832 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55834         [BZ #13166]
55835         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55836         buffer for the output is too small.
55838         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55839         optimization.
55841         [BZ #13185]
55842         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55843         SSE flags if possible.
55845 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55847         [BZ #13540]
55848         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55849         processing for last bytes.
55851 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55853         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55854         (syscall-list-default-options, syscall-list-default-condition)
55855         (syscall-list-includes): Define.
55856         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55857         list of ABIs and options and #if conditions for each ABI.  Do not
55858         handle common syscalls between ABIs specially.
55859         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55860         Remove.
55861         (syscall-list-variants, syscall-list-32bit-options)
55862         (syscall-list-32bit-condition, syscall-list-64bit-options)
55863         (syscall-list-64bit-condition): Define.
55864         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55865         (syscall-list-variants, syscall-list-32bit-options)
55866         (syscall-list-32bit-condition, syscall-list-64bit-options)
55867         (syscall-list-64bit-condition): Define.
55868         * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
55874         Remove.
55875         (syscall-list-variants, syscall-list-32bit-options)
55876         (syscall-list-32bit-condition, syscall-list-64bit-options)
55877         (syscall-list-64bit-condition): Define.
55879 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55881         * locale/iso-639.def: Add brx entry.
55883         [BZ #13328]
55884         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55885         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55887         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55888         __feraiseexcept_renamed.
55890 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55892         [BZ #13538]
55893         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55894         EPOLLET with unsigned values.
55895         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55896         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55898         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55899         to large cancellation.
55900         * math/s_cacoshf.c: Likewise.
55901         * math/s_cacoshl.c: Likewise.
55903 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55905         [BZ #13305]
55906         [BZ #12786]
55907         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55908         * math/s_cacoshf.c: Likewise.
55909         * math/s_cacoshl.c: Likewise.
55911 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55913         [BZ #13439]
55914         * iconv/gconv.h: Define __GCONV_SWAP.
55915         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55916         * iconvdata/utf-16.c: Likewise.
55917         * iconvdata/utf-32.c: Likewise.
55919 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55921         [BZ #13524]
55922         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55923         numerator after shifting it by one limb.
55925 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55927         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55928         under [__USE_EXTERN_INLINES].
55930 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55932         [BZ #13446]
55933         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55935 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55937         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55938         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55939         optimized code.
55940         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55941         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55942         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55943         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55944         for strncasecmp/strncasecmp_l compilation.
55945         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55946         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55948 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55950         [BZ #13484]
55951         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55952         of __asm__.
55954 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55956         [BZ #13506]
55957         * time/tzfile.c (__tzfile_read): Check values from file header.
55959 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55961         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55962         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55963         * powerpc/powerpc32/dl-start.S: Likewise.
55964         * powerpc/powerpc32/elf/start.S: Likewise.
55965         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55966         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55967         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55968         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55969         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55970         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55971         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55972         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55973         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55974         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55975         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55976         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55977         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55978         * powerpc/powerpc32/memset.S: Likewise.
55979         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55980         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55981         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55982         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55983         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55984         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55985         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55986         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55987         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55988         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55989         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55990         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55991         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55993 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55995         * math/libm-test.inc: Added more nearbyint tests.
55996         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55997         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55998         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55999         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56001 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
56003         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56004         FD_CLOEXEC.
56006 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56008         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56009         Add wcscpy-ssse3 wcscpy-c.
56010         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56011         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56012         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56013         * sysdeps/x86_64/wcschr.S: New file.
56014         * sysdeps/x86_64/wcsrchr.S: New file.
56015         * string/test-strcmp.c: Remove checking of wcscmp function for
56016         wrong alignments.
56017         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56018         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56019         wcsrchr-sse2 wcsrchr-c.
56020         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56021         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56022         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56023         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56024         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56025         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56026         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56027         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56028         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56029         * wcsmbc/wcschr.c (WCSCHR): New macro.
56031 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56033         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56034         * wcsmbs/test-wcsrchr.c: New file.
56035         * string/test-strrchr.c: Add wcsrchr support.
56036         (WIDE): New macro.
56037         * wcsmbs/test-wcscpy.c: New file.
56038         * string/test-strcpy.c: Add wcscpy support.
56039         (WIDE): New macro.
56041 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
56043         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56044         the inner loop.
56046 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
56048         [BZ #13472]
56049         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56051 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
56053         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56054         Minor optimizations.
56056         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56057         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56058         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56060 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
56062         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56063         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56064         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56065         for gcc to avoid warnings.
56066         * inet/Makefile (tests): Add tst-checks.
56067         * inet/tst-checks.c: New file.
56069         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56070         warning.
56072         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56073         __wmemcmp_sse2.
56075         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56076         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56078         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56080 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
56082         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56083         problem.
56085         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56087 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
56089         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56090         conditional on GCC version.
56091         (__arch_compare_and_exchange_val_8_acq)
56092         (__arch_compare_and_exchange_val_16_acq)
56093         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56094         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56095         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56097 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
56099         * sysdeps/sh/backtrace.c: New file.
56101 2011-12-02  Andreas Schwab  <schwab@redhat.com>
56103         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
56104         parenthesis.
56106 2011-12-01  Andreas Schwab  <schwab@redhat.com>
56108         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56109         falling back to utime.
56111 2011-11-30  Andreas Schwab  <schwab@redhat.com>
56113         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56114         expectations for float.
56116 2011-11-29  Andreas Schwab  <schwab@redhat.com>
56118         * locale/weight.h (findidx): Add parameter len.
56119         * locale/weightwc.h (findidx): Likewise.
56120         * posix/fnmatch_loop.c (FCT): Adjust caller.
56121         * posix/regcomp.c (build_equiv_class): Likewise.
56122         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56123         * posix/regexec.c (check_node_accept_bytes): Likewise.
56124         * string/strcoll_l.c (STRCOLL): Likewise.
56125         * string/strxfrm_l.c (STRXFRM): Likewise.
56127 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
56129         * Makefile.in: Remove CVSOPT handling.
56130         * configure.in: Remove use of AC_REVISION.
56131         * iconvdata/Makefile (distribute): No need to filter out CVS.
56132         * scripts/list-sources.sh: Remove CVS, subversion and monotone
56133         handling.
56135 2011-11-16  Andreas Schwab  <schwab@redhat.com>
56137         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56138         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56139         [USE_AS_STRNCASECMP_L]: Likewise.
56140         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56141         NO_TLS_DIRECT_SEG_REFS.
56142         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56143         Fix argument offsets for non-PIC.
56144         [USE_AS_STRNCASECMP_L]: Likewise.
56145         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56146         NO_TLS_DIRECT_SEG_REFS.
56148 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56150         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56151         O_CLOEXEC.
56152         * locale/loadlocale.c (_nl_load_locale): Likewise.
56154 2011-11-15  Andreas Schwab  <schwab@redhat.com>
56156         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56157         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56158         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56159         (SYSCALL_GETTIME): Set errno on error.
56161         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56162         count references to noai6ai_cached.
56164 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
56166         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56168         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56169         FD_CLOEXEC for /proc/self/maps.
56171         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56172         FD_CLOEXEC for /proc/meminfo.
56174         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56175         gai.conf.
56177         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
56178         FD_CLOEXEC for given file.
56180         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56182         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56183         FD_CLOEXEC for /etc/hosts.
56184         (_gethtent): Likewise.
56186         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56188         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56189         cancellation and set FD_CLOEXEC for /etc/netgroup.
56191         * nss/nss_files/files-key.c (search): Don't allow cancellation when
56192         reading /etc/publickey.
56194         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56195         allow cancellation when reading /etc/group.
56197         * nss/nss_files/files-alias.c (internal_setent): Don't allow
56198         cancellation.
56199         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
56201         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56202         when using data file.
56204         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56206         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56207         (write_nis_obj): Use "c" and "e" in fopen.
56209         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56211         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56213         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56215         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56217         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56218         locale.alias.
56220         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56222         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56224         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56226         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56227         file parsing and set FD_CLOEXEC.
56229 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56231         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56233 2011-11-14  Andreas Schwab  <schwab@redhat.com>
56235         * malloc/arena.c (arena_get2): Don't call reused_arena when
56236         _int_new_arena failed.
56238 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
56240         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56241         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56242         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56243         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56244         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56245         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56246         to compile strcasecmp and strncasecmp.
56247         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56248         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56250         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56252 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
56254         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56255         locale-defines.sym to gen-as-const-headers.
56256         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56257         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56258         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56259         to compile strcasecmp and strncasecmp.
56260         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56261         strcasecmp_l and strncasecmp_l.
56262         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56263         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56264         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56265         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56266         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56267         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56268         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56269         * sysdeps/i386/i686/multiarch/strncase.S: New file.
56270         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56271         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56272         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56274 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
56276         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56277         result of SYSDEP_GETTIME_CPU to retval.
56278         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56279         parameter list to macro.  Remove trailing semicolon.  Adjust users.
56281         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56282         variable.
56284         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56285         mantissa words.
56286         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56288         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56289         from unused variable.
56291         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56292         DWARF definitions.
56293         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56294         for assembling.
56296         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56297         over namespaces.
56299         * sunrpc/rpc_prot.c (rejected): Fix case value.
56301         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56302         unsigned long long int to avoid warnings in shift.
56304         * posix/regex_internal.c (re_string_reconstruct): Actually use result
56305         of use of trans.
56306         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56307         variable tmp.
56309         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56310         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56311         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56313         * nis/nis_table.c (nis_list): Use variable of correct type for
56314         result of __follow_path call.
56316 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56318         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56319         of math functions ceil, trunc, floor, round, and sqrt, when
56320         avaliable on the platform.
56321         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56322         name clash.
56323         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56324         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56325         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56327 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
56329         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56330         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56332 2011-11-11  Roland McGrath  <roland@hack.frob.com>
56334         * include/unistd.h: Fix __readlink return type.
56335         Reported by Chris Metcalf <cmetcalf@tilera.com>.
56337 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
56339         * stdlib/ucontext.h: Undo last change for makecontext.
56341 2011-11-11  Andreas Schwab  <schwab@redhat.com>
56343         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56345         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56346         * setjmp/setjmp.h: Mark functions as non-leaf.
56347         * setjmp/bits/setjmp2.h: Likewise.
56348         * stdlib/ucontext.h: Likewise.
56350 2011-11-10  Andreas Schwab  <schwab@redhat.com>
56352         * malloc/arena.c (_int_new_arena): Don't increment narenas.
56353         (reused_arena): Don't check arena limit.
56354         (arena_get2): Atomically check arena limit.
56356 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
56358         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56359         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56362         instructions.
56364 2011-11-07  Andreas Schwab  <schwab@redhat.com>
56366         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56367         handler when locking.
56369         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56370         Fix size of allocated buffer.
56372 2011-11-04  Andreas Schwab  <schwab@redhat.com>
56374         [BZ #10103]
56375         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56376         declarations for long double functions.
56377         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56379         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56381 2011-11-03  Andreas Schwab  <schwab@redhat.com>
56383         * nscd/nscd.c (main): Don't start AVC thread until credentials are
56384         installed.
56386         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56387         is disabled.
56389 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56391         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56393 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
56395         * include/alloca.h (stackinfo_alloca_round): Define.
56396         (extend_alloca): Use it.
56397         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56398         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56399         here.
56401         * scripts/check-local-headers.sh: Ignore libaudit.h.
56403         * nscd/Makefile (extra-objs): Make recursively expanded.
56405 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
56407         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56408         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56410         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56411         * posix/tst-rfc3484-2.c: Likewise.
56412         * posix/tst-rfc3484-3.c: Likewise.
56414         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56415         process_vm_writev.
56416         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56417         process_vm_writev.
56418         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56419         process_vm_writev from libc using GLIBC_2.15 version.
56421         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56423 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
56425         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56426         stack usage.
56428 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
56430         [BZ #13367]
56431         * nss/getent.c (initgroups_keys): Show error message in case no group
56432         names are given.
56434         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56435         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56436         __bump_nl_timestamp.
56437         * nscd/connections (nscd_init): When host database is served open
56438         netlink socket and request notification about configuration changes.
56439         (main_loop_poll): Track netlink file descriptor and bump timestamp
56440         in case data becomes available.
56441         (main_loop_epoll): Likewise.
56442         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56443         (database_pers_head): Add extra_data fileds.
56444         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56445         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56446         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56447         Adjust caller.
56448         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56449         in6ai data, call __free_in6ai.
56450         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56451         Add -DHAVE_NETLINK.
56452         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
56453         interface information.  Reuse previous data if netlink timestamp
56454         is not changed.
56455         (__bump_nl_timestamp): New function.
56456         (__free_in6ai): New function.
56458 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
56460         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56461         close_not_cancel_no_status here.
56462         (__check_pf): Reorganize code a bit to not call close twice if OOM.
56464 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56466         [BZ #13276]
56467         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56468         return value.
56470         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56471         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56472         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56474 2011-07-03  Andreas Jaeger  <aj@suse.de>
56476         [BZ #10709]
56477         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56478         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56479         * math/libm-test.inc (sin_test): Add test case.
56481 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
56483         [BZ #13337]
56484         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56485         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56487         * elf/chroot_canon.c (chroot_canon): Cleanups.
56489         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56491         [BZ #13335]
56492         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56493         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56495         * string/test-strchr.c: Make usable for strchrnul testing.
56496         * string/test-strchrnul.c: New file.
56497         * string/Makefile (strop-tests): Add strchrnul.
56499         * po/it.po: Update from translation team.
56500         * po/es.po: Likewise.
56502 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56504         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56505         the three constants needed as parameters.  Drop the others.
56506         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56507         __m128i_strloadu_tolower.
56508         Create and initialize variable zero and use it in all the places
56509         where _mm_setzero_si128 was used.
56511         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56512         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56513         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56514         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56515         anymore.
56516         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56517         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56518         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56519         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56520         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56521         __mpranred, __mptan.
56522         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56523         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56524         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56525         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56526         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56527         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56528         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56529         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56530         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56532 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56534         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56535         redefine if SHARED.
56536         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56538         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56539         wide char related routines to wcsmbs subdir.
56541 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56543         [BZ #13344]
56544         * misc/sys/cdefs.h (__THROWNL): Define.
56545         * posix/unistd.h: Use __THREADNL instead of __THREAD
56546         for memory synchronization functions.
56548 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56550         [BZ #13349]
56551         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56552         doesn't exist.
56553         * manual/stdio.texi (Obstack Streams): Node removed.
56555 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56557         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56558         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56559         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56561         * math/math_private.h (math_force_eval): Allow non-addressable
56562         arguments.
56563         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56565 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56567         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56568         file is not needed.
56570         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56571         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56572         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56573         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56574         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56575         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56576         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56577         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56578         Add AVX variants.
56579         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56580         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56581         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56582         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56583         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56584         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56585         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56586         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56587         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56588         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56589         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56590         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56591         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56592         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56593         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56594         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56595         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56596         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56597         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56599         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56600         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56602         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56603         place.  Use VEX encoding when compiling for AVX.
56605 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56607         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56608         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56610         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56612 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56614         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56615         useless if() expression.
56616         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56617         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56618         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56619         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56620         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56621         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56622         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56623         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56624         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56625         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56626         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56627         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56628         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56629         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56630         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56631         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56632         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56633         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56634         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56636         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56638 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56640         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56641         condition.
56642         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56644 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56646         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56647         .text section.  Avoid duplicate constants.
56648         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56649         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56650         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56651         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56652         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56653         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56654         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56655         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56656         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56657         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56658         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56659         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56660         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56661         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56662         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56663         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56664         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56665         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56666         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56667         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56668         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56669         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56670         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56671         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56672         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56673         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56674         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56675         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56676         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56677         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56678         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56679         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56680         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56681         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56682         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56683         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56684         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56685         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56686         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56687         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56688         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56689         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56690         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56691         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56692         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56694 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56696         * sysdeps/x86_64/dla.h: Move to ...
56697         * sysdeps/x86_64/fpu/dla.h: ...here.
56698         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56699         situations.  Use __builtin_fma only for gcc 4.6 and up.
56701         * config.make.in: Add have-mfma4 entry.
56702         * configure.in: Substitute libc_cv_cc_fma4.
56703         * math/Makefile (dbl-only-routines): Add sincostab.
56704         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56705         Use __sincostab not sincos.
56706         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56707         name is a macro.
56708         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56709         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56710         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56712         using __copysign.
56713         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56714         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56715         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56716         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56717         and __inv.
56718         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56719         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56720         __copysign.
56721         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56722         define aliases when function name is a macro.
56723         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56724         sysdeps/ieee754/dbl-64/sincos.tbl.
56725         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56726         fma4-enabled routines.
56727         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56728         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56729         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56730         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56731         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56732         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56733         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56734         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56735         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56736         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56737         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56738         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56739         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56740         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56741         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56742         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56743         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56744         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56745         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56746         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56747         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56748         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56749         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56750         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56751         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56752         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56753         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56754         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56755         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56756         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56758         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56759         rename.
56760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56761         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56762         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56763         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56764         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56765         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56766         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56767         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56769 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56771         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56773 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56775         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56777         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56778         prediction.
56779         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56781         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56782         Remove unused variable magic_bits.
56783         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56785         * string/strnlen.c: Define and use STRNLEN macro.
56786         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56787         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56788         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56789         * wcsmbs/wcslen.c: Define and use WCSLEN.
56790         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56791         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56792         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56793         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56794         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56795         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56796         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56798 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56801         strnlen-sse2-no-bsf.
56802         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56803         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56804         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56805         Add strnlen support.
56806         (USE_AS_STRNLEN): New macro.
56807         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56808         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56809         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56810         * sysdeps/x86_64/wcslen.S: New file.
56812 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56814         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56815         XMM-moves are used for copying on small sizes.
56817 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56819         * wcsmbs/Makefile (strop-tests): Add wcschr.
56820         * wcsmbs/test-wcschr.c: New file.
56821         * string/test-strchr.c: Update.
56822         Add wcschr support.
56823         (WIDE): New macro.
56825 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56827         * wcsmbs/Makefile (strop-tests): Add wcslen.
56828         * wcsmbs/test-wcslen.c: New file.
56829         * string/test-strlen.c: Update.
56830         Add wcslen support.
56831         (WIDE): New macro.
56833 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56835         * po/it.po: Update from translation team.
56837 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56839         * sysdeps/x86_64/wcscmp.S: Update.
56840         Fix wrong comparison semantics.
56841         wcscmp shall use signed comparison not unsigned.
56842         Don't use substraction to avoid overflow bug.
56843         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56844         * wcsmbc/wcscmp.c: Likewise.
56845         * string/test-strcmp.c: Likewise.
56846         Add new tests to check cases with negative values.
56848 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56850         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56851         * sysdeps/x86_64/dla.h: ...here.  New file.
56852         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56853         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56854         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56855         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56856         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56857         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56858         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56859         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56860         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56862 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56864         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56865         __ynl_finite aliases.
56867 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56869         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56871         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56872         define DLA_FMA.
56873         [DLA_FMA] (EMULV): Use DLA_FMA.
56874         [DLA_FMA] (MUL12): Use EMULV.
56875         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56876         that are not needed.
56877         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56878         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56879         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56880         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56881         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56882         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56883         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56885 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56887         * math/s_nan.c: Undef __nan.
56888         * math/s_nanf.c: Undef __nanf.
56889         * math/s_nanl.c: Undef __nanl.
56890         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56891         "math_private.h".
56893 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56895         * math/s_catan.c: Add branch predictions.
56896         * math/s_catanf.c: Likewise.
56897         * math/s_catanh.c: Likewise.
56898         * math/s_catanhf.c: Likewise.
56899         * math/s_catanhl.c: Likewise.
56900         * math/s_catanl.c: Likewise.
56901         * math/s_cexp.c: Likewise.
56902         * math/s_cexpf.c: Likewise.
56903         * math/s_cexpl.c: Likewise.
56904         * math/s_clog.c: Likewise.
56905         * math/s_clog10.c: Likewise.
56906         * math/s_clog10f.c: Likewise.
56907         * math/s_clog10l.c: Likewise.
56908         * math/s_clogf.c: Likewise.
56909         * math/s_clogl.c: Likewise.
56910         * math/s_csqrt.c: Likewise.
56911         * math/s_csqrtf.c: Likewise.
56912         * math/s_csqrtl.c: Likewise.
56913         * math/s_ctanf.c: Likewise.
56914         * math/s_ctanh.c: Likewise.
56915         * math/s_ctanhf.c: Likewise.
56916         * math/s_ctanhl.c: Likewise.
56917         * math/s_ctanl.c: Likewise.
56919         * math/math_private.h: Define __nan, __nanf, __nanl.
56920         * math/s_cacosh.c: Include <math_private.h>.
56921         * math/s_cacoshl.c: Likewise.
56922         * math/s_casinh.c: Likewise.
56923         * math/s_casinhf.c: Likewise.
56924         * math/s_casinhl.c: Likewise.
56925         * math/s_ccos.c: Rely entire on ccosh.
56926         * math/s_ccosf.c: Rely entire on ccoshf.
56927         * math/s_ccosl.c: Rely entirely on ccoshl.
56928         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56929         Remove tests for FE_INVALID.
56930         * math/s_ccoshf.c: Likewise.
56931         * math/s_ccoshl.c: Likewise.
56932         * math/s_csin.c: Likewise.
56933         * math/s_csinf.c: Likewise.
56934         * math/s_csinh.c Likewise.
56935         * math/s_csinhf.c: Likewise.
56936         * math/s_csinhl.c: Likewise.
56937         * math/s_csinl.c: Likewise.
56938         * math/s_ctan.c: Likewise.
56939         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56940         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56941         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56943 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56945         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56946         compilation problems.
56948         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56949         __builtin_expect.
56951 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56953         * sysdeps/i386/configure.in: Test for -mfma4 option.
56954         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56955         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56956         COMMON_CPUID_INDEX_80000001.
56957         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56958         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56959         use it if FMA3 is not supported.
56960         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56962         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56963         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56965 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56967         [BZ #12892]
56968         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56969         it would create a cycle with a link time dependency.
56971 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56973         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56974         instruction.
56975         * string/Makefile (strop-tests): Add rawmemchr.
56976         * string/test-rawmemchr.c: New file.
56978         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56979         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56980         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56981         when compiling str{,n}casecmp and when AVX is available.  Hook up
56982         new optimized code in initializers.
56984 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56986         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56987         __feraiseexcept instead of feraiseexcept.
56989 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56991         * math/math_private.h: Define defaults for libc_fetestexcept and
56992         libc_feupdateenv.
56993         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56994         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56995         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56996         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56997         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56998         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56999         libc_fetestexcept and libc_feupdateenv.
57001         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57002         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57003         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57004         * sysdeps/x86_64/fpu/math_private.h: Define special version of
57005         libc_feholdexcept_setround.
57007         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57008         Add s_nearbyint-c and s_nearbyintf-c.
57009         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57010         nearbyintf inlines.
57011         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57012         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57013         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57014         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57016         * math/math_private.h: Define defaults for libc_fegetround,
57017         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57018         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57019         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57020         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57021         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57022         standard functions.
57023         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57024         Remove comments and hacks for old compiler versions.
57025         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57026         libc_fegetround, libc_fesetround, libc_feholdexcept, and
57027         libc_feholdexceptl.
57029 2011-10-18  Andreas Schwab  <schwab@redhat.com>
57031         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57032         (__feraiseexcept_renamed): Add __NTH.
57033         (feraiseexcept): Add __NTH.  Rename local variables to fix
57034         namespace violations.
57036 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
57038         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57040         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57042         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57043         recently added interfaces.
57044         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57046         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57047         about macro parameter expansion.
57049         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57050         __NO_MATH_INLINES is defined.  Cleanups.
57052         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57053         and __floorf is target has SSE4.1.
57054         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57055         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57056         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57057         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57059         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57060         name.
57061         (floorf): Likewise.
57063         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57065 2011-10-17  Andreas Schwab  <schwab@redhat.com>
57067         * misc/sys/cdefs.h: Fix last change.
57069         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57070         database lookup.
57072 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
57074         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57076         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57077         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57078         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57079         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57080         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57081         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57082         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57083         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57084         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57085         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57086         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57087         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57088         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57089         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57090         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57091         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57092         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57093         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57094         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57095         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57096         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57097         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57099         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57100         ceil, ceilf, floor, floorf.
57102         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57103         Perform IRELATIVE relocations last.
57105         * elf/do-rel.h: Add another parameter nrelative, replacing the
57106         local variable with the same name.  Change name of the function
57107         to end in Rel or Rela (uppercase).
57108         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57109         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
57110         elf_dynamic_do_##reloc function.
57112 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57114         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57115         is sufficient, at least on modern CPUs.
57117         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57119         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57120         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57122         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57123         __expl_finite.
57124         * math/bits/math-finite.h: Add entries for exp.
57125         * math/e_expl.c: Add __*_finite alias.
57126         * sysdeps/i386/fpu/e_exp.S: Likewise.
57127         * sysdeps/i386/fpu/e_expf.S: Likewise.
57128         * sysdeps/i386/fpu/e_expl.c: Likewise.
57129         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57130         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57131         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57132         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57133         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57134         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57135         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57137         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57138         is sufficient, at least on modern CPUs.
57140         * ctype/ctype-info.c (__ctype_init): Define.
57141         * include/ctype.h (__ctype_init): Declare.
57142         (__ctype_b_loc): The variable is always initialized.
57143         (__ctype_toupper_loc): Likewise.
57144         (__ctype_tolower_loc): Likewise.
57145         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57146         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57148 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
57150         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57152         * configure.in: Also look in $cxxmachine/include for C++ system
57153         headers.
57155 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57157         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57158         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57159         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57160         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
57161         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57162         (USE_AS_WMEMCMP): New macro.
57163         Fixing indents.
57164         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57165         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57166         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57167         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57168         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57169         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57170         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57171         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57172         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57173         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57174         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57175         (USE_AS_WMEMCMP): New macro.
57176         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57177         * sysdeps/string/test-memcmp.c: Update.
57178         Fix simple_wmemcmp.
57179         Add new tests.
57180         * wcsmbs/wmemcmp.c: Update.
57181         (WMEMCMP): New macro.
57182         Fix overflow bug.
57184 2011-10-12  Andreas Jaeger  <aj@suse.de>
57186         [BZ #13268]
57187         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57189 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
57191         * libio/iofwide.c (do_length): Avoid warning.
57193         * ctype/ctype.h (__isctype_f): Add missing __THROW.
57195 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
57197         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57199         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57200         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57201         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57202         * sysdeps/i386/i686/fpu/e_log.S: New file.
57203         * sysdeps/i386/i686/fpu/e_logf.S: New file.
57204         * sysdeps/i386/i686/fpu/e_logl.S: New file.
57206         * ctype/ctype.h: Add support for inlined isXXX functions when
57207         compiling C++ code.
57209 2011-10-14  Andreas Schwab  <schwab@redhat.com>
57211         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57213         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57215 2011-10-13  Roland McGrath  <roland@hack.frob.com>
57217         [BZ #13291]
57218         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57220 2011-10-13  Andreas Schwab  <schwab@redhat.com>
57222         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57223         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57224         feraiseexcept.
57226         * sysdeps/x86_64/memrchr.S: Check for zero size.
57228         * string/stratcliff.c: Add memrchr tests.
57230 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57232         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57233         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57234         rawmemchr-sse2 rawmemchr-sse2-bsf.
57235         * sysdeps/i386/i686/multiarch/memchr.S: New file.
57236         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57237         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57238         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57239         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57240         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57241         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57242         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57243         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57244         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57245         * string/memrchr.c (MEMRCHR): New macro.
57247 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
57249         Add integration with gcc's -ffinite-math-only and optimize wrapper
57250         functions in libm.
57251         * Versions.def: Define GLIBC_2.15 version for libm.
57252         * math/Makefile (headers): Add bits/math-finite.h.
57253         * math/bits/math-finite.h: New file.
57254         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57255         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57256         * math/e_acoshl.c: Add __*_finite alias.
57257         * math/e_acosl.c: Likewise.
57258         * math/e_asinl.c: Likewise.
57259         * math/e_atan2l.c: Likewise.
57260         * math/e_atanhl.c: Likewise.
57261         * math/e_coshl.c: Likewise.
57262         * math/e_exp10.c: Likewise.
57263         * math/e_exp10f.c: Likewise.
57264         * math/e_exp10l.c: Likewise.
57265         * math/e_exp2l.c: Likewise.
57266         * math/e_fmodl.c: Likewise.
57267         * math/e_gammal_r.c: Likewise.
57268         * math/e_hypotl.c: Likewise.
57269         * math/e_j0l.c: Likewise.
57270         * math/e_j1l.c: Likewise.
57271         * math/e_jnl.c: Likewise.
57272         * math/e_lgammal_r.c: Likewise.
57273         * math/e_log10l.c: Likewise.
57274         * math/e_log2l.c: Likewise.
57275         * math/e_logl.c: Likewise.
57276         * math/e_powl.c: Likewise.
57277         * math/e_sinhl.c: Likewise.
57278         * math/e_sqrtl.c: Likewise.
57279         * math/e_scalb.c: Completely rewritten and optimized.
57280         * math/e_scalbf.c: Likewise.
57281         * math/e_scalbl.c: Likewise.
57282         * math/w_acos.c: Likewise.
57283         * math/w_acosf.c: Likewise.
57284         * math/w_acosl.c: Likewise.
57285         * math/w_acosh.c: Likewise.
57286         * math/w_acoshf.c: Likewise.
57287         * math/w_acoshl.c: Likewise.
57288         * math/w_asin.c: Likewise.
57289         * math/w_asinf.c: Likewise.
57290         * math/w_asinl.c: Likewise.
57291         * math/w_atan2.c: Likewise.
57292         * math/w_atan2f.c: Likewise.
57293         * math/w_atan2l.c: Likewise.
57294         * math/w_atanh.c: Likewise.
57295         * math/w_atanhf.c: Likewise.
57296         * math/w_atanhl.c: Likewise.
57297         * math/w_exp10.c: Likewise.
57298         * math/w_exp10f.c: Likewise.
57299         * math/w_exp10l.c: Likewise.
57300         * math/w_fmod.c: Likewise.
57301         * math/w_fmodf.c: Likewise.
57302         * math/w_fmodl.c: Likewise.
57303         * math/w_j0.c: Likewise.
57304         * math/w_j0f.c: Likewise.
57305         * math/w_j0l.c: Likewise.
57306         * math/w_j1.c: Likewise.
57307         * math/w_j1f.c: Likewise.
57308         * math/w_j1l.c: Likewise.
57309         * math/w_jn.c: Likewise.
57310         * math/w_jnf.c: Likewise.
57311         * math/w_log.c: Likewise.
57312         * math/w_logf.c: Likewise.
57313         * math/w_logl.c: Likewise.
57314         * math/w_log10.c: Likewise.
57315         * math/w_log10f.c: Likewise.
57316         * math/w_log10l.c: Likewise.
57317         * math/w_log2.c: Likewise.
57318         * math/w_log2f.c: Likewise.
57319         * math/w_log2l.c: Likewise.
57320         * math/w_pow.c: Likewise.
57321         * math/w_powf.c: Likewise.
57322         * math/w_powl.c: Likewise.
57323         * math/w_remainder.c: Likewise.
57324         * math/w_remainderf.c: Likewise.
57325         * math/w_remainderl.c: Likewise.
57326         * math/w_scalb.c: Likewise.
57327         * math/w_scalbf.c: Likewise.
57328         * math/w_scalbl.c: Likewise.
57329         * math/w_sqrt.c: Likewise.
57330         * math/w_sqrtf.c: Likewise.
57331         * math/w_sqrtl.c: Likewise.
57332         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57333         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
57334         used.
57335         * math/math_private.h: Declare __kernel_standard_f.
57336         * math/w_cosh.c: Remove cruft and optimize a bit.
57337         * math/w_coshf.c: Likewise.
57338         * math/w_coshl.c: Likewise.
57339         * math/w_exp2.c: Likewise.
57340         * math/w_exp2f.c: Likewise.
57341         * math/w_exp2l.c: Likewise.
57342         * math/w_hypot.c: Likewise.
57343         * math/w_hypotf.c: Likewise.
57344         * math/w_hypotl.c: Likewise.
57345         * math/w_lgamma.c: Likewise.
57346         * math/w_lgamma_r.c: Likewise.
57347         * math/w_lgammaf.c: Likewise.
57348         * math/w_lgammaf_r.c: Likewise.
57349         * math/w_lgammal.c: Likewise.
57350         * math/w_lgammal_r.c: Likewise.
57351         * math/w_sinh.c: Likewise.
57352         * math/w_sinhf.c: Likewise.
57353         * math/w_sinhl.c: Likewise.
57354         * math/w_tgamma.c: Likewise.
57355         * math/w_tgammaf.c: Likewise.
57356         * math/w_tgammal.c: Likewise.
57357         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57358         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57359         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57360         Minor optimizations.  Pretty printing.  Remove cruft.
57361         * sysdeps/i386/fpu/e_acosf.S: Likewise.
57362         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57363         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57364         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57365         * sysdeps/i386/fpu/e_acosl.c: Likewise.
57366         * sysdeps/i386/fpu/e_asin.S: Likewise.
57367         * sysdeps/i386/fpu/e_asinf.S: Likewise.
57368         * sysdeps/i386/fpu/e_atan2.S: Likewise.
57369         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57370         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57371         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57372         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57373         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57374         * sysdeps/i386/fpu/e_exp10.S: Likewise.
57375         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57376         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57377         * sysdeps/i386/fpu/e_exp2.S: Likewise.
57378         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57379         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57380         * sysdeps/i386/fpu/e_fmod.S: Likewise.
57381         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57382         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57383         * sysdeps/i386/fpu/e_hypot.S: Likewise.
57384         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57385         * sysdeps/i386/fpu/e_log.S: Likewise.
57386         * sysdeps/i386/fpu/e_log10.S: Likewise.
57387         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57388         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57389         * sysdeps/i386/fpu/e_log2.S: Likewise.
57390         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57391         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57392         * sysdeps/i386/fpu/e_logf.S: Likewise.
57393         * sysdeps/i386/fpu/e_logl.S: Likewise.
57394         * sysdeps/i386/fpu/e_pow.S: Likewise.
57395         * sysdeps/i386/fpu/e_powf.S: Likewise.
57396         * sysdeps/i386/fpu/e_powl.S: Likewise.
57397         * sysdeps/i386/fpu/e_remainder.S: Likewise.
57398         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57399         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57400         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57401         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57402         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57403         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57404         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57405         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57406         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57407         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57408         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57409         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57410         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57411         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57412         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57413         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57414         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57415         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57416         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57417         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57418         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57419         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57420         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57421         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57422         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57423         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57424         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57425         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57426         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57427         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57428         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57429         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57430         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57431         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57432         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57433         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57434         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57435         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57436         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57437         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57438         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57439         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57440         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57441         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57442         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57443         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57444         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57445         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57446         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57447         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57448         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57449         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57450         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57451         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57452         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57453         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57454         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57455         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57456         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57457         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57458         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57459         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57460         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57461         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57462         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57463         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57464         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57465         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57466         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57467         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57468         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57469         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57470         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57471         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57472         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57473         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57474         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57475         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57476         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57477         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57478         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57479         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57480         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57481         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57482         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57483         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57484         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57485         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57486         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57487         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57488         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57489         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57490         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57491         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57492         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57493         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57494         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57495         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57496         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57497         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57498         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57499         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57500         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57501         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57502         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57503         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57504         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57505         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57506         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57507         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57508         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57509         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57510         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57511         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57512         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57513         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57514         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57515         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57516         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57517         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57518         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57519         (__isnanf): Likewise.
57520         (__isinf_ns): Likewise.
57521         (__isinf_nsf): Likewise.
57522         (__finite): Likewise.
57523         (__finitef): Likewise.
57524         (__ieee754_sqrt): Define as macro.
57525         (__ieee754_sqrtf): Define as macro.
57526         (__ieee754_sqrtl): Define as macro.
57527         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57528         inlined copy.
57529         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57530         __FINITE_MATH_ONLY__ consistent.
57531         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57533 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57535         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57536         of rawmemchr.
57538         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57540 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57542         * po/ja.po: Update from translation team.
57544 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57546         * locale/programs/locarchive.c (prepare_address_space): New function.
57547         (create_archive, enlarge_archive, open_archive): Use it.
57549         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57550         inside [SHARED], where it is used.
57552         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57554         * nss/getent.c (netgroup_keys): Remove unused variable.
57555         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57557 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57559         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57560         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57561         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57562         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57563         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57564         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57565         * math/Makefile (libm-calls): Add s_isinf_ns.
57566         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57567         * math/multc3.c: Likewise.
57568         * math/s_casin.c: Likewise.
57569         * math/s_casinf.c: Likewise.
57570         * math/s_casinl.c: Likewise.
57571         * math/s_ccos.c: Likewise.
57572         * math/s_ccosf.c: Likewise.
57573         * math/s_ccosl.c: Likewise.
57574         * math/s_ctan.c: Likewise.
57575         * math/s_ctanf.c: Likewise.
57576         * math/s_ctanh.c: Likewise.
57577         * math/s_ctanhf.c: Likewise.
57578         * math/s_ctanhl.c: Likewise.
57579         * math/s_ctanl.c: Likewise.
57580         * math/w_fmod.c: Likewise.
57581         * math/w_fmodf.c: Likewise.
57582         * math/w_fmodl.c: Likewise.
57583         * math/w_remainder.c: Likewise.
57584         * math/w_remainderf.c: Likewise.
57585         * math/w_remainderl.c: Likewise.
57586         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57587         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57588         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57589         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57590         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57591         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57592         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57593         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57595         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57596         of the number.
57597         * stdio-common/printf_fphex.c: Likewise.
57598         * stdio-common/printf_size.c: Likewise.
57600         * math/e_exp10.c: Include math_private.h using <...> not "...".
57601         * math/e_exp10f.c: Likewise.
57602         * math/e_exp10l.c: Likewise.
57603         * math/e_exp2l.c: Likewise.
57604         * math/e_j0l.c: Likewise.
57605         * math/e_j1l.c: Likewise.
57606         * math/e_jnl.c: Likewise.
57607         * math/e_lgammal_r.c: Likewise.
57608         * math/e_rem_pio2l.c: Likewise.
57609         * math/e_scalb.c: Likewise.
57610         * math/e_scalbf.c: Likewise.
57611         * math/e_scalbl.c: Likewise.
57612         * math/k_cosl.c: Likewise.
57613         * math/k_sinl.c: Likewise.
57614         * math/k_tanl.c: Likewise.
57615         * math/s_cacoshf.c: Likewise.
57616         * math/s_catan.c: Likewise.
57617         * math/s_catanf.c: Likewise.
57618         * math/s_catanh.c: Likewise.
57619         * math/s_catanhf.c: Likewise.
57620         * math/s_catanhl.c: Likewise.
57621         * math/s_catanl.c: Likewise.
57622         * math/s_ccosh.c: Likewise.
57623         * math/s_ccoshf.c: Likewise.
57624         * math/s_ccoshl.c: Likewise.
57625         * math/s_cexp.c: Likewise.
57626         * math/s_cexpf.c: Likewise.
57627         * math/s_cexpl.c: Likewise.
57628         * math/s_clog.c: Likewise.
57629         * math/s_clog10.c: Likewise.
57630         * math/s_clog10f.c: Likewise.
57631         * math/s_clog10l.c: Likewise.
57632         * math/s_clogf.c: Likewise.
57633         * math/s_clogl.c: Likewise.
57634         * math/s_csin.c: Likewise.
57635         * math/s_csinf.c: Likewise.
57636         * math/s_csinh.c: Likewise.
57637         * math/s_csinhf.c: Likewise.
57638         * math/s_csinhl.c: Likewise.
57639         * math/s_csinl.c: Likewise.
57640         * math/s_csqrt.c: Likewise.
57641         * math/s_csqrtf.c: Likewise.
57642         * math/s_csqrtl.c: Likewise.
57643         * math/s_ctan.c: Likewise.
57644         * math/s_ctanf.c: Likewise.
57645         * math/s_ctanh.c: Likewise.
57646         * math/s_ctanhf.c: Likewise.
57647         * math/s_ctanhl.c: Likewise.
57648         * math/s_ctanl.c: Likewise.
57649         * math/s_ldexp.c: Likewise.
57650         * math/s_ldexpf.c: Likewise.
57651         * math/s_ldexpl.c: Likewise.
57652         * math/s_significand.c: Likewise.
57653         * math/s_significandf.c: Likewise.
57654         * math/s_significandl.c: Likewise.
57655         * math/w_acos.c: Likewise.
57656         * math/w_acosf.c: Likewise.
57657         * math/w_acosh.c: Likewise.
57658         * math/w_acoshf.c: Likewise.
57659         * math/w_acoshl.c: Likewise.
57660         * math/w_acosl.c: Likewise.
57661         * math/w_asin.c: Likewise.
57662         * math/w_asinf.c: Likewise.
57663         * math/w_asinl.c: Likewise.
57664         * math/w_atan2.c: Likewise.
57665         * math/w_atan2f.c: Likewise.
57666         * math/w_atan2l.c: Likewise.
57667         * math/w_atanh.c: Likewise.
57668         * math/w_atanhf.c: Likewise.
57669         * math/w_atanhl.c: Likewise.
57670         * math/w_cosh.c: Likewise.
57671         * math/w_coshf.c: Likewise.
57672         * math/w_coshl.c: Likewise.
57673         * math/w_dremf.c: Likewise.
57674         * math/w_exp10.c: Likewise.
57675         * math/w_exp10f.c: Likewise.
57676         * math/w_exp10l.c: Likewise.
57677         * math/w_exp2.c: Likewise.
57678         * math/w_exp2f.c: Likewise.
57679         * math/w_fmod.c: Likewise.
57680         * math/w_fmodf.c: Likewise.
57681         * math/w_fmodl.c: Likewise.
57682         * math/w_hypot.c: Likewise.
57683         * math/w_hypotf.c: Likewise.
57684         * math/w_hypotl.c: Likewise.
57685         * math/w_j0.c: Likewise.
57686         * math/w_j0f.c: Likewise.
57687         * math/w_j0l.c: Likewise.
57688         * math/w_j1.c: Likewise.
57689         * math/w_j1f.c: Likewise.
57690         * math/w_j1l.c: Likewise.
57691         * math/w_jn.c: Likewise.
57692         * math/w_jnf.c: Likewise.
57693         * math/w_jnl.c: Likewise.
57694         * math/w_lgamma.c: Likewise.
57695         * math/w_lgamma_r.c: Likewise.
57696         * math/w_lgammaf.c: Likewise.
57697         * math/w_lgammaf_r.c: Likewise.
57698         * math/w_lgammal.c: Likewise.
57699         * math/w_lgammal_r.c: Likewise.
57700         * math/w_log.c: Likewise.
57701         * math/w_log10.c: Likewise.
57702         * math/w_log10f.c: Likewise.
57703         * math/w_log10l.c: Likewise.
57704         * math/w_log2.c: Likewise.
57705         * math/w_log2f.c: Likewise.
57706         * math/w_log2l.c: Likewise.
57707         * math/w_logf.c: Likewise.
57708         * math/w_logl.c: Likewise.
57709         * math/w_pow.c: Likewise.
57710         * math/w_powf.c: Likewise.
57711         * math/w_powl.c: Likewise.
57712         * math/w_remainder.c: Likewise.
57713         * math/w_remainderf.c: Likewise.
57714         * math/w_remainderl.c: Likewise.
57715         * math/w_scalb.c: Likewise.
57716         * math/w_scalbf.c: Likewise.
57717         * math/w_scalbl.c: Likewise.
57718         * math/w_sinh.c: Likewise.
57719         * math/w_sinhf.c: Likewise.
57720         * math/w_sinhl.c: Likewise.
57721         * math/w_sqrt.c: Likewise.
57722         * math/w_sqrtf.c: Likewise.
57723         * math/w_sqrtl.c: Likewise.
57724         * math/w_tgamma.c: Likewise.
57725         * math/w_tgammaf.c: Likewise.
57726         * math/w_tgammal.c: Likewise.
57728         * po/ja.po: Update from translation team.
57730 2011-09-29  Andreas Jaeger  <aj@suse.de>
57732         [BZ #13179]
57733         * sunrpc/netname.c (netname2host): Fix logic.
57735         [BZ #6779]
57736         [BZ #6783]
57737         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57738         correctly.
57739         * math/w_remainder.c (__remainder): Likewise.
57740         * math/w_remainderf.c (__remainderf): Likewise.
57741         * math/libm-test.inc (remainder_test): Add test cases.
57743 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57745         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57746         sdiv_qrnnd.
57748 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57750         * string/test-memcmp.c: Avoid unncessary #defines.
57751         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57753 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57755         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57756         Use new sse2 version for core i3 - i7 as it's faster
57757         than sse42 version.
57758         (bit_Prefer_PMINUB_for_stringop): New.
57759         * sysdeps/x86_64/rawmemchr.S: Update.
57760         Replace with faster SSE2 version.
57761         * sysdeps/x86_64/memrchr.S: New file.
57762         * sysdeps/x86_64/memchr.S: Update.
57763         Replace with faster SSE2 version.
57765 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57767         * elf/dl-load.c (lose): Add cast to avoid warning.
57769 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57771         * po/ca.po: Update from translation team.
57773         * inet/getnetgrent_r.c: Hook up nscd.
57774         * nscd/Makefile (routines): Add nscd_netgroup.
57775         (nscd-modules): Add netgroupcache.
57776         (CFLAGS-netgroupcache.c): Define.
57777         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57778         (cache_search): Add const to second parameter.
57779         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57780         INNETGR.
57781         (dbs): Add netgrdb entry.
57782         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57783         (verify_persistent_db): Handle netgrdb.
57784         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57785         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57786         GETFDNETGR.
57787         (netgroup_response_header): Define.
57788         (innetgroup_response_header): Define.
57789         (datahead): Add netgroup_response_header and innetgroup_response_header
57790         elements.
57791         * nscd/nscd.conf: Add entries for netgroup cache.
57792         * nscd/nscd.h (dbtype): Add netgrdb.
57793         (_PATH_NSCD_NETGROUP_DB): Define.
57794         (netgroup_iov_disabled): Declare.
57795         (xmalloc, xcalloc, xrealloc): Move declarations here.
57796         (cache_search): Adjust prototype.
57797         Add netgroup-related prototypes.
57798         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57799         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57800         (__nscd_innetgr): Declare.
57801         * nscd/selinux.c (perms): Use access_vector_t as element type and
57802         add netgroup-related initializers.
57803         * nscd/netgroupcache.c: New file.
57804         * nscd/nscd_netgroup.c: New file.
57805         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57806         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57807         For four parameters use innetgr.
57808         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57809         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57810         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57811         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57813         * nscd/connections.c (register_traced_file): Don't register file
57814         for disabled databases.
57816 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57818         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57820         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57821         from tree and freeing node.
57823 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57825         * nss/nsswitch.c (__nss_database_lookup): Handle
57826         nss_parse_service_list out of memory case.
57828 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57830         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57831         out of memory case.
57833 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57835         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57836         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57837         pass it down.
57838         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57839         elf_machine_rela, elf_machine_lazy_rel.
57840         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57841         (ELF_DYNAMIC_DO_REL): Likewise.
57842         (ELF_DYNAMIC_DO_RELA): Likewise.
57843         (ELF_DYNAMIC_RELOCATE): Likewise.
57844         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57845         to ELF_DYNAMIC_DO_REL.
57846         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57847         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57848         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57849         elf_machine_rela.
57850         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57851         skip_ifunc, don't call ifunc function if non-zero.
57852         (elf_machine_rela): Likewise.
57853         (elf_machine_lazy_rel): Likewise.
57854         (elf_machine_lazy_rela): Likewise.
57855         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57856         (elf_machine_lazy_rel): Likewise.
57857         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57858         Likewise.
57859         (elf_machine_lazy_rel): Likewise.
57860         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57861         Likewise.
57862         (elf_machine_lazy_rel): Likewise.
57863         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57864         (elf_machine_lazy_rel): Likewise.
57865         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57866         (elf_machine_lazy_rel): Likewise.
57867         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57868         (elf_machine_lazy_rel): Likewise.
57869         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57870         (elf_machine_lazy_rel): Likewise.
57871         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57872         (elf_machine_lazy_rel): Likewise.
57873         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57874         (elf_machine_lazy_rel): Likewise.
57876 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57878         * nss/nss_files/files-init.c (_nss_files_init): Use static
57879         initialization for all the *_traced_file variables.
57881 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57883         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57885 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57887         [BZ #13226]
57888         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57890 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57892         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57893         Reread the line before reparsing it.
57895 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57897         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57899 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57900             Maxim Kuvyrkov  <maxim@codesourcery.com>
57901             Joseph Myers  <joseph@codesourcery.com>
57903         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57904         if needed for __stack_chk_guard.
57906 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57908         * sysdeps/posix/spawni.c (script_execute): Always define it.
57909         It will be optimized away if unused.
57910         (maybe_script_execute): New function.
57911         (__spawni): Call it.
57913         * Makerules: Don't include tls.make.
57914         (config-tls): Always set to thread.
57915         * tls.make.c: File removed.
57917 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57919         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57920         * config.make.in (CPPFLAGS-config): New substituted variable.
57922 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57924         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57926         [BZ #13192]
57927         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57928         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57930 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57932         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57933         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57934         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57935         (CALL_FAIL): Likewise.
57936         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57937         (CALL_FAIL): Macro removed.
57938         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57940 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57942         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57943         for __FINITE_MATH_ONLY__ == 1.
57945 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57947         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57948         __ieee754_sqrt instead of sqrt.
57949         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57950         __ieee754_sqrtf instead of sqrtf.
57951         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57952         __floorf instead of floorf.
57953         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57954         __floorf, __truncf instead of floorf, truncf.
57956 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57958         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57960         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57961         __extern_always_inline.
57962         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57963         32-bit.
57965 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57967         * elf/rtld.c (dl_main): Also relocate in dependency order when
57968         doing symbol dependency testing.
57970 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57972         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57973         Always define `refsym'.
57975 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57977         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57978         (__FD_ELT): Renamed from __FDELT.
57979         * misc/bits/select2.h (__FD_ELT): Likewise.
57980         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57981         __FD_MASK instead of __FDELT, __FDMASK.
57982         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57983         Likewise.
57984         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57985         Likewise.
57987         * elf/Makefile (gen-ldd): Fix pattern.
57989         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57990         (init_tls): Likewise.
57992 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57994         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57996 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57998         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57999         `struct cmsghdr *' instead of `void *'.
58000         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58001         Likewise.
58003 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
58005         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58006         if non-absolute.
58007         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58008         ldd_rewrite_script.
58010 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
58012         * configure.in: Remove --with-tls option.
58013         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58014         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58015         out in case it is missing.
58016         * sysdeps/ia64/elf/configure.in: Likewise.
58017         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58018         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58019         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58020         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58021         * sysdeps/sh/elf/configure.in: Likewise.
58022         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58023         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58024         * sysdeps/x86_64/elf/configure.in: Likewise.
58025         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58026         * sysdeps/mach/hurd/tls.h: Likewise.
58028         [BZ #13067]
58029         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58031         [BZ #13090]
58032         * configure.in: Fix use of AC_INIT.
58034         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58036 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
58038         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58039         __set_errno.
58040         * malloc/hooks.c: Likewise.
58042         [BZ #11929]
58043         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
58044         variables statically.
58045         (narenas): Initialize.
58046         (list_lock): Initialize.
58047         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
58048         initializtion of main_arena and list_lock.  Small cleanups.
58049         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58050         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
58051         Add initializers to main_arena and mp_.
58052         (malloc_state): Remove pagesize member.  Change all users to use
58053         GLRO(dl_pagesize).
58055         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58056         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
58057         is always initialized.
58059         * malloc/malloc.c: Removed unused configurations and dead code.
58060         * malloc/arena.c: Likewise.
58061         * malloc/hooks.c: Likewise.
58062         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58064         * include/tls.h: Removed.  USE___THREAD must always be defined.
58065         * bits/libc-tsd.h: Don't handle !USE___THREAD.
58066         * elf/dl-libc.c: Likewise.
58067         * elf/dl-tsd.c: Likewise.
58068         * include/errno.h: Likewise.
58069         * include/netdb.h: Likewise.
58070         * include/resolv.h: Likewise.
58071         * inet/herrno-loc.c: Likewise.
58072         * inet/herrno.c: Likewise.
58073         * malloc/arena.c: Likewise.
58074         * malloc/hooks.c: Likewise.
58075         * malloc/malloc.c: Likewise.
58076         * resolv/res-state.c: Likewise.
58077         * resolv/res_libc.c: Likewise.
58078         * sysdeps/i386/dl-machine.h: Likewise.
58079         * sysdeps/ia64/dl-machine.h: Likewise.
58080         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58081         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58082         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58083         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58084         * sysdeps/sh/dl-machine.h: Likewise.
58085         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58086         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58087         * sysdeps/unix/i386/sysdep.S: Likewise.
58088         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58089         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58090         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58091         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58092         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58093         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58094         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58095         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58096         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58098         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58099         * sysdeps/x86_64/dl-machine.h: Likewise.
58100         * tls.make.c: Likewise.
58102         * configure.in: Remove --with-__thread option.  Make tests for
58103         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58104         tls_model attribute fail if no support is available.  Remove
58105         USE_IN_LIBIO.
58106         * Makeconfig: Adjust for dropped configure option.  All features are
58107         now mandatory.
58108         * Makerules: Likewise.
58109         * Versions.def: Likewise.
58110         * argp/argp-fmtstream.c: Likewise.
58111         * argp/argp-fmtstream.h: Likewise.
58112         * argp/argp-help.c: Likewise.
58113         * assert/assert.c: Likewise.
58114         * config.h.in: Likewise.
58115         * config.make.in: Likewise.
58116         * configure: Likewise.
58117         * configure.in: Likewise.
58118         * csu/Versions: Likewise.
58119         * csu/init.c: Likewise.
58120         * elf/tst-audit2.c: Likewise.
58121         * elf/tst-tls10.c: Likewise.
58122         * elf/tst-tls10.h: Likewise.
58123         * elf/tst-tls11.c: Likewise.
58124         * elf/tst-tls12.c: Likewise.
58125         * elf/tst-tls14.c: Likewise.
58126         * elf/tst-tlsmod11.c: Likewise.
58127         * elf/tst-tlsmod12.c: Likewise.
58128         * elf/tst-tlsmod13.c: Likewise.
58129         * elf/tst-tlsmod13a.c: Likewise.
58130         * elf/tst-tlsmod14a.c: Likewise.
58131         * elf/tst-tlsmod15b.c: Likewise.
58132         * elf/tst-tlsmod16a.c: Likewise.
58133         * elf/tst-tlsmod16b.c: Likewise.
58134         * elf/tst-tlsmod7.c: Likewise.
58135         * elf/tst-tlsmod8.c: Likewise.
58136         * elf/tst-tlsmod9.c: Likewise.
58137         * gmon/gmon.c: Likewise.
58138         * grp/fgetgrent_r.c: Likewise.
58139         * grp/putgrent.c: Likewise.
58140         * hurd/fopenport.c: Likewise.
58141         * include/libc-symbols.h: Likewise.
58142         * include/tls.h: Likewise.
58143         * intl/gettextP.h: Likewise.
58144         * intl/loadinfo.h: Likewise.
58145         * locale/global-locale.c: Likewise.
58146         * locale/localeinfo.h: Likewise.
58147         * mach/devstream.c: Likewise.
58148         * malloc/arena.c: Likewise.
58149         * malloc/set-freeres.c: Likewise.
58150         * misc/err.c: Likewise.
58151         * misc/getttyent.c: Likewise.
58152         * misc/mntent_r.c: Likewise.
58153         * posix/getopt.c: Likewise.
58154         * posix/wordexp.c: Likewise.
58155         * pwd/fgetpwent_r.c: Likewise.
58156         * resolv/Versions: Likewise.
58157         * resolv/res_hconf.c: Likewise.
58158         * shadow/fgetspent_r.c: Likewise.
58159         * shadow/putspent.c: Likewise.
58160         * stdio-common/printf_fphex.c: Likewise.
58161         * stdio-common/tmpfile.c: Likewise.
58162         * stdlib/abort.c: Likewise.
58163         * stdlib/fmtmsg.c: Likewise.
58164         * sunrpc/auth_unix.c: Likewise.
58165         * sunrpc/clnt_perr.c: Likewise.
58166         * sunrpc/clnt_tcp.c: Likewise.
58167         * sunrpc/clnt_udp.c: Likewise.
58168         * sunrpc/clnt_unix.c: Likewise.
58169         * sunrpc/openchild.c: Likewise.
58170         * sunrpc/svc_simple.c: Likewise.
58171         * sunrpc/svc_tcp.c: Likewise.
58172         * sunrpc/svc_udp.c: Likewise.
58173         * sunrpc/svc_unix.c: Likewise.
58174         * sunrpc/xdr.c: Likewise.
58175         * sunrpc/xdr_array.c: Likewise.
58176         * sunrpc/xdr_rec.c: Likewise.
58177         * sunrpc/xdr_ref.c: Likewise.
58178         * sunrpc/xdr_stdio.c: Likewise.
58180 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58182         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58184 2011-07-03  Andreas Jaeger  <aj@suse.de>
58186         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58187         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58188         regenerate with gen-libm-tests.pl.
58190 2010-05-12  Petr Baudis  <pasky@suse.cz>
58192         [BZ #11589]
58193         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58194         around j0() zero points by switching to j1().
58195         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58196         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58197         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58198         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58200 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58202         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58203         instead of 0.
58204         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58205         instead of 0.
58206         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58207         Patch in part by Pavel Roskin <proski@gnu.org>.
58209         [BZ #13138]
58210         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58211         realloc.
58212         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
58213         Free memory block if necessary.
58215         [BZ #12847]
58216         * libio/genops.c (INTDEF): For string streams the _lock pointer can
58217         be NULL.  Don't lock in this case.
58219 2011-09-09  Roland McGrath  <roland@hack.frob.com>
58221         * elf/elf.h (ELFOSABI_GNU): New macro.
58222         (ELFOSABI_LINUX): Define to that.
58224 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
58226         * string/strncat.c (strncat): Undef the symbol in case it has been
58227         defined in bits/string.h.
58229 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
58231         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58233         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58234         link map.
58236 2011-08-17  Andreas Jaeger  <aj@suse.de>
58238         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58240 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58241             Ian Lance Taylor  <iant@google.com>
58243         * math/libm-test.inc (lround_test): New testcase.
58244         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58246 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
58248         * Makefile: Remove support for automatic cvs check-ins.
58249         * Makerules: Likewise.
58250         * config.make.in: Likewise.
58251         * configure.in: Likewise.
58252         * intl/Makefile: Likewise.
58253         * locale/Makefile: Likewise.
58254         * po/Makefile: Likewise.
58255         * posix/Makefile: Likewise.
58256         * sysdeps/gnu/Makefile: Likewise.
58257         * sysdeps/mach/hurd/Makefile: Likewise.
58258         * sysdeps/sparc/sparc32/Makefile: Likewise.
58260         [BZ #13118]
58261         * posix/Makefile (bug-regex32-ENV): Define.
58262         Patch by John Stanley <jpsinthemix@verizon.net>.
58264         * misc/Makefile (headers): Add bits/select2.h.
58265         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58266         * misc/bits/select2.h: New file.
58267         * include/bits/select2.h: New file.
58268         * debug/Makefile (routines): Add fdelt_chk.
58269         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58270         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58271         FD_ISSET.
58272         * debug/fdelt_chk.c: New file.
58274         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
58275         * wcsmbs/test-wmemcmp.c: Likewise.
58276         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58277         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58279 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58281         * string/Makefile (strop-tests): Add memcmp.
58282         * string/test-wmemcmp.c: New file.
58283         * string/test-memcmp.c: Add wmemcmp support.
58285 2011-09-08  Roland McGrath  <roland@hack.frob.com>
58287         [BZ #13153]
58288         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58289         2011-07-19 change.
58291         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58292         garbage value in a __mach_port_mod_refs call in the cases of the
58293         task-self and thread-self ports.
58295 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58297         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58299 2011-09-08  Andreas Schwab  <schwab@redhat.com>
58301         * elf/dl-load.c (lose): Check for non-null L.
58303 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58305         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58307         * elf/dl-libc.c (dlerror_run): Pass back error code from
58308         dl_catch_error.
58310         [BZ #13123]
58311         * elf/dl-load.c (lose): Free l_origin if it is valid.
58313         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58314         names.
58315         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58316         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58317         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58318         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58319         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58320         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58322 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58324         * sysdeps/powerpc/fpu/e_hypot.c: New file.
58325         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58326         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58327         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58328         * sysdeps/powerpc/fpu/k_cosf.c: New file.
58329         * sysdeps/powerpc/fpu/k_sinf.c: New file.
58330         * sysdeps/powerpc/fpu/s_cosf.c: New file.
58331         * sysdeps/powerpc/fpu/s_sinf.c: New file.
58332         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58333         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58335 2011-08-15  Alan Modra  <amodra@gmail.com>
58337         [BZ #13092]
58338         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58339         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58340         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
58341         ppc_mcount to static-only-routines.
58342         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58343         __mcount_internal.
58344         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58345         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
58347 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
58349         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58350         for finite and infinity parameters.
58352 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58354         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58355         and add nop instructions for throughput optimization.
58356         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58358 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
58360         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58361         aligned copy for power7 with vector-scalar instructions.
58362         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58364 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
58366         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58367         AVX check.
58369 2011-09-07  Andreas Schwab  <schwab@redhat.com>
58371         [BZ #13144]
58372         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58373         last change.
58375 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
58377         * sysdeps/unix/sysv/linux/x86_64/init-first.c
58378         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58379         syscall wrapper around clock_gettime in __vdso_clock_gettime.
58380         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58381         clock_gettime.
58383 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58385         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58386         Forgot to demangle the pointer.
58388         * sysdeps/i386/sysdep.h: Define atom_text_section.
58389         * sysdeps/x86_64/sysdep.h: Likewise.
58390         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58391         section with atom_text_section.
58392         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58393         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58394         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58395         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58396         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58398         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58399         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58400         already be defined.  Change to take two parameters and don't assign
58401         result to variable.  Adjust all users.
58402         Define INTERNAL_GETTIME if not already defined.
58403         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58404         call.
58405         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58406         HAVE_CLOCK_GETTIME_VSYSCALL.
58407         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58409         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58410         gettimeofday vsyscall, just use time.
58412 2011-09-06  Andreas Schwab  <schwab@redhat.com>
58414         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58415         <errno.h>.
58417 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
58419         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58420         syscall on x86-64.
58421         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58422         syscall.
58423         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58424         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58425         syscall if possible.
58427 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58429         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58430         e_ident.  Don't pass to find_mapsXX.
58431         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58433 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58436         strchr-sse2-no-bsf strrchr-sse2-no-bsf
58437         * sysdeps/x86_64/multiarch/strchr.S: Update.
58438         Check bit_slow_BSF bit.
58439         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58440         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58441         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58443 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58445         [BZ #13134]
58446         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58447         before glibc 2.15.
58448         (tryshell): Define.
58449         (__spawni): Change last parameter to be flag.  Test
58450         SPAWN_XFLAGS_USE_PATH flag to use path or not.
58451         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58452         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58453         * posix/spawni.c: Likewise.
58454         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58455         * posix/spawnp.c: Likewise.  Change normal version to use
58456         SPAWN_XFLAGS_USE_PATH.
58457         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58458         SPAWN_XFLAGS_TRY_SHELL.
58460         [BZ #13150]
58461         * posix/glob.h: Remove gcc 1.x support.
58463         [BZ #13068]
58464         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58466 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58468         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58469         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58470         strrchr-sse2-bsf
58471         * sysdeps/i386/i686/multiarch/strchr.S: New file.
58472         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58473         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58474         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58475         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58476         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58478 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58480         * sysdeps/x86_64/wcscmp.S: New file.
58482         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58483         wcscmp-c wcscmp-sse2
58484         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58485         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58486         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58487         * wcsmbs/wcscmp.c: Allow renaming.
58489 2011-09-05  David S. Miller  <davem@davemloft.net>
58491         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58492         stack slot, rather than the struct return pointer slot.
58493         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58494         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58496         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58498 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58500         * po/ja.po: Update from translation team.
58502         [BZ #13144]
58503         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58504         kernel in 64-bit binaries.
58506 2011-09-01  David S. Miller  <davem@davemloft.net>
58508         * elf/elf.h (HWCAP_SPARC_*): Move to..
58509         * sysdeps/sparc/sysdep.h: this new file and add new values.
58510         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58511         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58512         _DL_HWCAP_COUNT to 24.
58513         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58514         entries.
58515         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58516         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58517         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58518         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58519         instead of magic constants.
58520         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58522 2011-08-31  David S. Miller  <davem@davemloft.net>
58524         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58525         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58526         Reimplement to do errno handling inline.
58527         (SYSCALL_ERROR_HANDLER): New macro.
58528         (__SYSCALL_STRING): Do not do errno handling in asm.
58529         (__CLONE_SYSCALL_STRING): Delete.
58530         (__INTERNAL_SYSCALL_STRING): Delete.
58531         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58532         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58533         (PSEUDO): Reimplement to do errno handling inline.
58534         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58535         (SYSCALL_ERROR_HANDLER): New macro.
58536         (__SYSCALL_STRING): Do not do errno handling in asm.
58537         (__CLONE_SYSCALL_STRING): Delete.
58538         (__INTERNAL_SYSCALL_STRING): Delete.
58539         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58540         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58541         i386.
58542         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58543         (inline_syscall*): Add 'err' argument.
58544         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58545         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58546         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58547         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58549         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58550         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58552 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58554         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58556 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58558         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58559         directive.
58561 2011-08-24  David S. Miller  <davem@davemloft.net>
58563         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58565 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58567         * elf/Makefile: Add rules to build and run unload8 test.
58568         * elf/unload8.c: New file.
58569         * elf/unload8mod1.c: New file.
58570         * elf/unload8mod1x.c: New file.
58571         * elf/unload8mod2.c: New file.
58572         * elf/unload8mod3.c: New file.
58574         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58575         it wasn't used.
58577 2011-08-23  David S. Miller  <davem@davemloft.net>
58579         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58580         subtract stack bias.
58581         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58582         %sp not %fp in calculations.
58583         (_JMPBUF_UNWINDS_ADJ): Likewise.
58585         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58586         (aio_suspend): Call it to force an exception region around the
58587         AIO_MISC_WAIT() invocation.
58589 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58591         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58592         backslash.
58594 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58596         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58597         protection macro.
58598         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58599         and <dl-machine.h>.
58600         (Elf64_FuncDesc): Remove.
58602 2011-08-22  David S. Miller  <davem@davemloft.net>
58604         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58605         sigaltstack check, add missing cfi directives.
58606         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58607         missing cfi directives, and sigaltstack handling.
58609 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58611         [BZ #11724]
58612         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58613         object is seen twice.
58614         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58616         * elf/Makefile (distribute): Add tst-initorder2.c.
58617         (tests): Add tst-initorder2.
58618         (modules-names): Add tst-initorder2a tst-initorder2b
58619         tst-initorder2c tst-initorder2d.  Add rules to build them.
58620         ($(objpfx)tst-initorder2.out): New rule.
58621         * elf/tst-initorder2.c: New file.
58622         * elf/tst-initorder2.exp: New file.
58624 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58626         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58628         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58629         dependencies back to end of function.
58631         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58632         $(elfobjdir)/ld.so.
58634 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58636         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58637         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58638         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58639         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58640         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58641         of __vdso_gettimeofday.
58642         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58643         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58644         attribute_hidden.
58645         (_libc_vdso_platform_setup): Remove initialization of
58646         __vdso_gettimeofday and __vdso_time.
58648 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58650         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58651         and fgetc_unlocked.
58652         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58653         getc_unlocked.
58655         * elf/dl-open.c (add_to_global): Report additions to the global scope
58656         for LD_DEBUG=scopes.
58657         (dl_open_worker): Also print scope of newly loaded dependencies.
58658         (_dl_show_scope): Indicate if there is no scope.
58660         [BZ #13114]
58661         * stdio-common/Makefile (tests): Add bug24.
58662         * stdio-common/bug24.c: New file.
58664 2011-08-19  Andreas Jaeger  <aj@suse.de>
58666         [BZ #13114]
58667         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58668         non-existant file when using close-on-exec mode.
58670 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58673         the very first instruction.
58675         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58676         the CFI state in the end.
58677         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58678         inclusion of dl-trampoline.h.
58679         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58681 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58683         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58684         expectations for long double.
58686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58687         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58689 2011-08-14  David S. Miller  <davem@davemloft.net>
58691         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58692         artificual limit depends upon the system page size.
58694 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58696         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58697         * resolv/Makefile: Define CFLAGS-libresolv.
58699 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58701         * nss/makedb.c (compute_tables): Make variables used in nested
58702         function static.
58704 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58706         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58707         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58708         if buffer was too small.
58710         * elf/pldd.c (main): Attach to all threads in the process.
58711         Rewrite /proc handling to use *at functions.
58713 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58715         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58716         specifies first scope to show.
58717         (dl_open_worker): Update callers.  Move printing scope of new
58718         object to before the relocation.
58719         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58720         * sysdeps/generic/ldsodefs.h: Update declaration.
58722         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58723         string for the scope number.
58725 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58727         * nscd/servicescache.c (cache_addserv): Make sure written is always
58728         initialized.
58730 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58732         * sysdeps/i386/i486/bits/atomic.h
58733         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58734         statement expression, so as to suppress "set but not used" warning.
58735         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58737         * string/strncat.c (STRNCAT): Use prototype definition.
58739         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58740         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58741         -Iprograms here.
58742         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58743         (localedef-modules): Add localedef.
58744         (locale-modules): Add locale.
58746         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58747         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58748         to avoid a warning.
58750 2011-08-14  David S. Miller  <davem@davemloft.net>
58752         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58753         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58755 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58757         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58758         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58759         * elf/rtld.c (dl_main): Set l_name of vDSO.
58760         Call _dl_show_scope when DL_DEBUG_SCOPES.
58761         (process_dl_debug): Recognize scopes flag and also set it for all.
58762         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58763         Declare _dl_show_scope.
58765         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58766         (do_dlopen): Pass caller_dlopen to dl_open.
58767         (__libc_dlopen_mode): Initialize caller_dlopen.
58769         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58770         of libc.  Make tolower call locale-independent.  Optimize a bit by
58771         using isdigit instead of isalnum.
58772         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58774 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58776         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58777         was a dependency or dynamically loaded.
58779 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58781         * intl/l10nflist.c: Allow architecture-specific pop function.
58782         * sysdeps/x86_64/l10nflist.c: New file.
58784         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58785         classification.
58787 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58789         * include/dirent.h: Add libc_hidden_proto for scandirat and
58790         scandirat64.  Don't declare __scandirat64.
58791         * dirent/scandirat.c: Add libc_hidden_def.
58792         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58793         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58795 2011-08-10  David S. Miller  <davem@davemloft.net>
58797         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58798         enum.
58799         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58800         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58801         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58803 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58805         * Versions.def [libc]: Add GLIBC_2.15.
58806         * dirent/Makefile (routines): Add scandirat and scandirat64.
58807         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58808         GLIBC_2.15.
58809         * dirent/dirent.h: Declare scandirat and scandirat64.
58810         * dirent/scandirat.c: New file.
58811         * dirent/scandirat64.c: New file.
58812         * sysdeps/wordsize-64/scandirat.c: New file.
58813         * sysdeps/wordsize-64/scandirat64.c: New file.
58814         * dirent/opendir.c: Define opendirat.
58815         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58816         using scandirat.
58817         * dirent/scandir64.c: Adjust for scandir.c change.
58818         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58819         __scandirat64, and __scandir_cancel_handler.
58820         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58821         additional parameter and use openat instead of open (outside of ld.so).
58822         Add new __opendir as wrapper around __opendirat.
58823         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58824         here without requiring old scandirat implementation.
58826 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58828         * dirent/scandir.c (cancel_handler): Renamed to
58829         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58830         defined.  Adjust users.
58831         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58832         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58834 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58836         * string/test-string.h (IMPL): Use __STRING to expand name and then
58837         stringify it.
58839         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58840         of cleanups.
58842 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58844         * string/Makefile: Update.
58845         (strop-tests): Append strncat.
58846         * string/test-wcscmp.c: New file.
58847         New comprehensive test for wcscmp.
58848         * string/test-strcmp.c: Update.
58849         (WIDE): New define.
58851 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58853         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58854         line.
58856 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58859         encoding to ACE if AI_IDN.
58861 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58863         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58864         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58866 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58868         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58869         Fix overflow bug in strncat.
58870         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58872         * string/test-strncat.c: Update.
58873         Add new tests for checking overflow bugs.
58875 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58877         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58878         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58879         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58880         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58881         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58882         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58883         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58884         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58885         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58887         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58888         (USE_AS_STRCAT): Define.
58889         Add strcat and strncat support.
58890         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58892 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58894         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58895         __n bigger than INT_MAX+1.
58896         (__strncmp_g): Likewise.
58898 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58900         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58901         * libio/stido.h: Likewise.
58903         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58904         (AF_NFC): Define.
58905         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58906         (AF_NFC): Define.
58908         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58909         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58910         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58911         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58912         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58914         [BZ #13021]
58915         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58916         installed.
58918         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58919         typo.
58920         (_dl_x86_64_save_sse): Likewise.
58922 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58924         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58925         OSXSAVE.
58926         (_dl_x86_64_save_sse): Likewise.
58928         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58930         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58932 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58934         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58935         change.
58936         (_dl_x86_64_save_sse): Use correct AVX check.
58938 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58940         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58941         bug in strncpy/strncat.
58942         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58944 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58946         * string/tester.c (test_strcat): Add tests for different alignments
58947         of source and destination.
58948         (test_strncat): Likewise.
58950 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58952         [BZ #12852]
58953         * posix/glob.c (glob): Check passed in values before using them in
58954         expressions to avoid some overflows.
58955         (glob_in_dir): Likewise.
58957         [BZ #13007]
58958         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58959         check for AVX enablement so that we don't crash with old kernels and
58960         new hardware.
58961         * elf/tst-audit4.c: Add same checks here.
58962         * elf/tst-audit6.c: Likewise.
58964         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58966 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58968         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58970 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58972         * po/cs.po: Update from translation team.
58973         * po/bg.po: Likewise.
58975 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58977         * misc/sys/cdefs.h: Add support for const attribute.
58978         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58979         to gnu_dev_{major,minor,makedev} functions.
58981 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58983         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58985 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58987         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58988         strlen results.
58990 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58992         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58993         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58994         register in order to avoid conflicts with the soft frame pointer
58995         being held in r11 when necessary.
58996         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58997         (INTERNAL_VSYSCALL_NCS): Likewise.
58999 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
59001         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59002         * elf/dl-fini.c (_dl_fini): Adjust caller.
59003         * elf/dl-close.c (_dl_close_worker): Likewise.
59004         * sysdeps/generic/ldsodefs.h: Adjust declaration.
59006 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59008         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59009         "aux_cache->nlibs < 0".
59011         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59012         in the reload-count case.
59014 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59016         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59017         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59018         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59019         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59020         * sysdeps/x86_64/multiarch/strcat.S: New file.
59021         * sysdeps/x86_64/multiarch/strncat.S: New file.
59022         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59023         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59024         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59025         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59026         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59027         (USE_AS_STRCAT): Define.
59028         Add strcat and strncat support.
59029         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59030         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59031         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59032         * string/strncat.c: Update.
59033         (USE_AS_STRNCAT): Define.
59034         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59035         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59036         and i7.
59037         * sysdeps/x86_64/multiarch/init-arch.h
59038         (bit_Prefer_PMINUB_for_stringop): New.
59039         (index_Prefer_PMINUB_for_stringop): Likewise.
59040         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59041         bit_Prefer_PMINUB_for_stringop.
59043 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59045         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59046         buffer64.
59047         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59048         of casting of buffer.
59049         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59050         buffer32 and buffer64.
59051         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59052         writes instead of casting of buffer.
59053         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59054         buffer32.
59055         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59056         casting of buffer.
59058 2011-07-19  Andreas Schwab  <schwab@redhat.com>
59060         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59062 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
59064         * nscd/nscd.c (termination_handler): Don't do anything for a database
59065         if it has not yet been initialized.
59067 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59069         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59071 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
59073         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59075 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
59077         * po/nl.po: Update from translation team.
59078         * po/sv.po: Likewise.
59080 2011-07-16  Roland McGrath  <roland@hack.frob.com>
59082         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59083         now disallowed by GCC.
59085         * configure.in (use-default-link): Default to yes if a test -shared
59086         link meets our qualifications.
59087         * configure: Regenerated.
59089         * config.make.in (output-format): New variable.
59090         * configure.in: Check for ld --print-output-format support.
59091         * configure: Regenerated.
59092         * Makerules ($(common-objpfx)format.lds)
59093         [$(output-format) != unknown]: Just use $(output-format),
59094         instead of the linker-script munging.
59096 2011-07-14  Roland McGrath  <roland@hack.frob.com>
59098         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59099         of $(common-objpfx)shlib.lds.
59100         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59102         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59103         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59105         * configure.in (-z relro check): Adjust test code to add a large
59106         writable data section after it.
59107         * configure: Regenerated.
59109 2011-07-11  Roland McGrath  <roland@hack.frob.com>
59111         * configure.in (-z relro check): Fix test code to make the variable
59112         truly const.
59113         * configure: Regenerated.
59115 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
59117         * nscd/nscd.h (struct traced_file): Define.
59118         (struct database_dyn): Remove inotify_descr, reset_res, and filename
59119         elements.  Add traced_files.
59120         (inotify_fd): Declare.
59121         (register_traced_file): Declare.
59122         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59123         (inotify_fd): Export.
59124         (resolv_conf_descr): Remove.
59125         (nscd_init): Move inotify descriptor creation to main.
59126         Don't register files for notification here.
59127         (register_traced_file): New function.
59128         (invalidate_cache): Don't use reset_res to determine whether to call
59129         res_init, go through the list of registered files.
59130         (main_loop_poll): The inotify descriptors are now stored in the
59131         structures for the traced files.
59132         (main_loop_epoll): Likewise
59133         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
59134         to __nss_disable_nscd.
59135         * nscd/cache.c (prune_cache): There is no single inotify descriptor
59136         for a database anymore.  Check the records for all the registered
59137         files instead.
59138         * nss/Makefile (libnss_files-routines): Add files-init.
59139         (libnss_db-routines): Add db-init.
59140         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59141         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59142         * nss/nss_db/db-init.c: New file.
59143         * nss/nss_files/files-init.c: New file.
59144         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
59145         __nss_lookup_function.
59146         (__nss_lookup_function): Call nss_load_library.
59147         (nss_load_all_libraries): New function.
59148         (__nss_disable_nscd): Take parameter with callback function for files
59149         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
59150         used for the cached services.
59151         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59152         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59153         options for features to all the files in nscd.
59155         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59157 2011-07-10  Roland McGrath  <roland@hack.frob.com>
59159         * csu/elf-init.c (__libc_csu_init): Comment typo.
59161 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
59163         * po/pl.po: Update from translation team.
59164         * po/ja.po: Likewise.
59165         * po/ru.po: Likewise.
59166         * po/ko.po: Likewise.
59167         * po/fr.po: Likewise.
59169 2011-07-09  Roland McGrath  <roland@hack.frob.com>
59171         * configure.in (.ctors/.dtors header and trailer check):
59172         Use an empirical test on a built program.
59173         * configure: Regenerated.
59175         * configure.in (-z relro check): Use an empirical test on a built DSO.
59176         Detect, but do not require, on ia64.
59177         * configure: Regenerated.
59179         * configure.in (READELF): Find it with AC_CHECK_TOOL.
59180         Update tests that use readelf to use $READELF instead.
59181         * configure: Regenerated.
59183 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
59185         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59186         if the result is not used.
59188 2011-07-05  Andreas Jaeger  <aj@suse.de>
59190         [BZ#9696]
59191         * stdlib/tst-strtod.c: Add testcase.
59193 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
59195         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59196         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59197         The latter has a higher limit.  Take additional parameter to pass to
59198         the new function.
59199         (__pathconf): Pass file to __statfs_link_max.
59200         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59201         __statfs_link_max.
59202         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59203         __statfs_link_max.
59205         [BZ #12868]
59206         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59207         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59208         Handle Lustre.
59209         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59210         (__statfs_filesize_max): Likewise.
59211         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59213 2011-07-05  Andreas Jaeger  <aj@suse.de>
59215         * resolv/res_comp.c (dn_skipname): Remove unused variable.
59217 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
59219         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59220         `status' variable.
59221         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59222         Likewise.
59224 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
59226         * Makefile (strop-tests): Add strncat.
59227         * string/test-strncat.c: New file.
59229 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
59231         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59233 2011-06-21  Andreas Jaeger  <aj@suse.de>
59235         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59236         Copy rule from iconvdata/Makefile.
59238 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59240         [BZ #12922]
59241         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59242         but no long options are defined, just return 'W'.
59244 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
59246         [BZ #9696]
59247         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59249 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
59251         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59252         netgroups to read.
59253         (innetgr): Likewise.
59255 2011-07-05  Roland McGrath  <roland@hack.frob.com>
59257         * config.make.in (install_root): Default to $(DESTDIR).
59259 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
59261         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59263 2011-07-02  Roland McGrath  <roland@hack.frob.com>
59265         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59267         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59268         containing directory rather than embedding absolute directory names.
59270         * scripts/check-local-headers.sh: Rewritten using awk.
59271         Match by word, not by line.  Print error messages for matches.
59272         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59274         * Makerules [shlib-lds-flags empty]:
59275         ($(common-objpfx)libc_pic.opts): New target.
59276         ($(common-objpfx)libc_pic.os.clean): New target.
59277         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59279         * config.make.in (OBJCOPY): New variable.
59280         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59281         * configure: Regenerated.
59283         * config.make.in (use-default-link): New variable.
59284         * configure.in (use_default_link): Grok --with-default-link to set it.
59285         * configure: Regenerated.
59286         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59287         (shlib-lds, shlib-lds-flags): Define to empty.
59289         * Makerules (shlib-lds): New variable.
59290         (shlib-lds-flags): New variable.
59291         (build-shlib, build-moduile, build-module-asneeded): Use it.
59292         ($(common-objpfx)libc.so): Use $(shlib-lds).
59293         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59294         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59296         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59297         DT_FLAGS/DT_FLAGS_1 with zero flags.
59299         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59300         linker script munging.
59302 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
59304         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59305         as 128-bit value.
59306         * crypt/sha512.c (sha512_process_block): Perform total addition using
59307         128-bit if possible.
59308         (__sha512_finish_ctx): Likewise.
59309         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59310         as 64-bit value.
59311         * crypt/sha256.c (SWAP64): Define.
59312         (sha256_process_block): Perform total addition using 64-bit if
59313         possible.
59314         (__sha256_finish_ctx): Likewise.
59316 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
59318         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
59319         * nscd/initgrcache.c (addinitgroupsX): Likewise.
59320         * nscd/hstcache.c (cache_addhst): Likewise.
59321         * nscd/grpcache.c (cache_addgr): Likewise.
59322         * nscd/aicache.c (addhstaiX): Likewise
59323         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59325 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
59327         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
59333 2011-07-01  Andreas Schwab  <schwab@redhat.com>
59335         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59336         domain only when needed.
59338 2011-06-30  Andreas Schwab  <schwab@redhat.com>
59340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59341         is always restored.
59343 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
59345         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59346         are re-adding the entry.
59347         * nscd/servicescache.c (cache_addserv): Likewise.
59349 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
59351         * sysdeps/generic/dl-irel.h: fix protection against multiple
59352         inclusions.
59353         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59355 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
59357         [BZ #12935]
59358         * malloc/memusage.sh: Fix quoting in message.
59359         * debug/xtrace.sh: Likewise.
59361         * configure.in: Remove support for --experimental-malloc option, make
59362         it the default.
59363         * config.make.in: Likewise.
59364         * malloc/Makefile: Likewise.
59366 2011-06-27  Andreas Schwab  <schwab@redhat.com>
59368         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59369         two-byte characters.
59371 2011-06-27  Roland McGrath  <roland@hack.frob.com>
59373         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59374         AC_CACHE_CHECK invocation.
59375         * configure: Regenerated.
59377         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59379 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
59381         [BZ #12350]
59382         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
59383         bit from old_res_options.
59385         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59387         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59388         value type for setfct.
59390 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
59392         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59393         __gettimeofday instead of gettimeofday.
59395 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
59397         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59399 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
59401         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59403         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59404         info.
59406 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59409         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59410         strcpy-sse2-unaligned strncpy-sse2-unaligned
59411         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59412         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59413         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59414         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59415         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59416         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59417         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59418         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59419         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59420         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59421         (STRCPY): Support SSE2 and SSSE3 versions.
59423 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
59425         [BZ #12874]
59426         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59427         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59428         kernels which artificially limit size of requests.
59430 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
59432         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59433         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59434         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59435         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59436         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59437         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59438         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59439         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59440         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59441         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59442         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59443         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59444         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59445         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59446         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59448         Enable unaligned load optimization for Intel Core i3, i5 and i7
59449         processors.
59450         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59451         Define.
59452         (index_Fast_Unaligned_Load): Define.
59453         (HAS_FAST_UNALIGNED_LOAD): Define.
59455 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
59457         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59459 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59461         [BZ #12907]
59462         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59463         until it is clear that the information is realy needed.
59464         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59466 2011-06-22  Andreas Schwab  <schwab@redhat.com>
59468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59470 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
59472         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59473         /sys/devices/system/cpu/online if it is usable.
59475         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59476         reading the information from the /proc filesystem to once a second.
59478 2011-06-21  Andreas Jaeger  <aj@suse.de>
59480         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59481         NULL after inclusion of kernel headers.
59483 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
59485         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59486         calls to internal_setent.
59488         [BZ #12885]
59489         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59490         addresses using gethostbyname4_r ignore IPv4 addresses.
59492         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59493         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59495         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59497 2011-06-20  David S. Miller  <davem@davemloft.net>
59499         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59500         inclusions.
59501         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59503         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59504         (elf_irel): Use it.
59505         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59506         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59507         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59508         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59509         * sysdeps/x86_64/dl-irel.h: Likewise.
59511         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59512         * elf/dl-sym.c: Likewise.
59514 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59516         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59517         need to dereference resplen2.
59519 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59521         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59523 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59525         * Makeconfig: Define vardbdir and inst_vardbdir.
59526         * nss/Makefile: Add rules to install db-Makefile.
59528         * nss/nss_db/db-XXX.c: Cleanup.
59530         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59531         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59532         GLIBC_PRIVATE.
59533         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59534         * nss/makedb.c: Implement -g option to specify that value strings
59535         are generated and should not be added to table iterated over for
59536         get*ent calls.
59537         * nss/nss_db/db-initgroups.c: New file.
59539         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59540         interface.
59542         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59543         (internal_getgrouplist): Adjust to name change.
59544         Update use_initgroups_entry if this is not the first call.
59545         * nss/databases.def: Add initgroups entry.
59547         * nss/makedb.c (compute_tables): Check result of multiple hash table
59548         sizes to minimize maximum chain length.
59550 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59552         * Versions.def: Add entry for libnss_db.
59553         * shlib-versions: Likewise.
59554         * nss/Makefile: Add rules to build libnss_db.
59555         * nss/Versions: Add libnss_db information.  Organize libnss_files
59556         entries better.
59557         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59558         makedb progra.  Some minor improvements to generate smaller files.
59559         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59560         here from...
59561         * nss/makedb.c: ...here.
59562         Improve database format to be smaller and require less memory at
59563         runtime.
59564         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59565         db anymore.
59566         * nss/nss_db/db-netgrp.c: Likewise.
59567         * nss/nss_db/db-open.c: Likewise.
59568         * nss/nss_files/flies-XXX.x: Adjust comments.
59569         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59570         * nss/nss_files/files-grp.c: Likewise.
59571         * nss/nss_files/files-hosts.c: Likewise.
59572         * nss/nss_files/files-network.c: Likewise.
59573         * nss/nss_files/files-proto.c: Likewise.
59574         * nss/nss_files/files-pwd.c: Likewise.
59575         * nss/nss_files/files-rpc.c: Likewise.
59576         * nss/nss_files/files-service.c: Likewise.
59577         * nss/nss_files/files-sgrp.c: Likewise.
59578         * nss/nss_files/files-spwd.c: Likewise.
59579         * nss/nss_db/db-alias.c: Removed.
59580         * nss/nss_db/dummy-db.h: Removed.
59582 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59584         * nss/makedb.c: Rewritten to not use database library.
59585         * nss/Makefile: Update to build new makedb program.
59587 2011-06-14  Andreas Jaeger  <aj@suse.de>
59589         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59590         memset declaration.
59592 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59594         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59595         tmpbuf.
59597 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59599         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59600         * elf/Makefile ($(objpfx)ld.so): Likewise.
59602         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59603         Don't list ld.so twice in dependencies.
59605         * posix/bug-regex31.c: Include <stdlib.h>.
59607         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59609         * nis/nss_compat/compat-spwd.c
59610         (getspent_next_nss_netgr): Remove unused variable.
59611         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59613         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59614         nonmembers" output to use the right array.
59616         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59618         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59620         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59621         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59622         * catgets/gencat.c (read_input_file): Likewise.
59623         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59625         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59626         variable definition inside #if's controlling its use.
59628         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59630         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59632         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59634         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59635         unreachable code.
59637         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59639         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59640         * configure: Regenerated.
59642         * Makerules: Revert last change.
59643         * elf/Makefile: Likewise.
59645 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59647         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59648         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59649         (reloc-link): Likewise.
59651 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59653         * elf/Makefile: Add rules to build pldd.
59654         * elf/pldd.c: New file.
59655         * elf/pldd-xx.c: New file.
59657 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59659         * version.h: Update for 2.15 development version.
59661 2011-06-07  David S. Miller  <davem@davemloft.net>
59663         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59664         ifuncs.
59665         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59666         elf_machine_lazy_rel): Likewise.
59667         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59668         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59669         elf_machine_lazy_rel): Likewise.
59670         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59671         dl_hwcap via passed in argument.
59672         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59673         Likewise.
59675 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59677         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59679 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59681         [BZ #12849]
59682         * manual/fdl-1.1.texi: New file, verbatim from:
59683         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59684         * manual/lgpl-2.1.texi: New file, verbatim from:
59685         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59686         * manual/Makefile (licenses): New variable, list those new file names.
59687         (texis): Use it.
59688         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59690         * manual/fdl.texi: File removed.
59691         * manual/lesser.texi: File removed.
59692         * manual/libc.texinfo (Copying, Documentation License):
59693         Use new @include file names, put @appendix directive before @include.
59695 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59697         [BZ #12841]
59698         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59699         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59700         (mq_open): Add __NTH.
59702 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59705         Assume Intel Core i3/i5/i7 processor if AVX is available.
59707 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59709         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59710         typo.
59712 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59714         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59715         memory.  Use alloca_account.  Fix memory leak when retrying.
59717 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59719         * version.h (RELEASE): Bump for 2.14 release.
59720         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59722         * config.make.in (RANLIB): Remove entry.
59724 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59726         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59727         (libc.pot): Work around missing support for .ksh extension in xgettext.
59729         [BZ #12684]
59730         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59731         if both request failed.
59732         (send_dg): In case of server errors clear resplen or *resplen2.
59734         [BZ #12454]
59735         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59736         when there are multiple maps.
59737         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59738         (_dl_fini): Remove test here.
59740         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59742 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59744         [BZ #12350]
59745         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59746         bit from old_res_options.
59747         (gaih_inet): Likewise.
59749         [BZ #11099]
59750         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59751         as signed.
59753         * resolv/res_init.c (res_setoptions): Make the code more compact.
59755         [BZ #11558]
59756         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59757         set RES_USEVC.
59759         [BZ #11634]
59760         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59762         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59764         [BZ #11781]
59765         * malloc/malloc.h: Declare malloc hook variables as volatile.
59767         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59768         in last patch.
59770         [BZ #11799]
59771         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59772         raise in the comment.
59773         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59774         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59775         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59777 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59779         [BZ #12811]
59780         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59781         grow the buffers more if it already has to be sufficient.
59782         (build_wcs_upper_buffer): Likewise.
59783         * posix/regexec.c (check_matching): Likewise.
59784         (clean_state_log_if_needed): Likewise.
59785         (extend_buffers): Don't enlarge buffers beyond size of the input
59786         buffer.
59787         Patches mostly by Emil Wojak <emil@wojak.eu>.
59788         * posix/bug-regex32.c: New file.
59789         * posix/Makefile (tests): Add bug-regex32.
59791         * locale/findlocale.c (_nl_find_locale): Return right away if
59792         _nl_explode_name failed.
59793         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59795         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59797         * debug/xtrace.sh: Unify messages.
59798         * malloc/memusage.sh: Likewise.
59800         [BZ #12813]
59801         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59802         time symbol from vDSO.  Substitute with vsyscall if not available.
59803         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59804         __vdso_time.
59806         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59807         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59808         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59809         Add sendmmsg and internal_sendmmsg.
59810         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59811         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59812         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59814         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59815         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59816         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59818 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59820         [BZ #12813]
59821         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59822         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59823         available.
59824         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59825         __vdso_getcpu.
59827         [BZ #12814]
59828         * iconvdata/Makefile (tests): Add bug-iconv9.
59829         * iconvdata/bug-iconv9.c: New file.
59831 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59833         [BZ #12814]
59834         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59836 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59838         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59839         (struct user_regs_struct): Change intcs field back to cs.
59841 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59843         * po/ja.po: Update from translation team.
59845 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59847         [BZ #12795]
59848         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59849         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59851 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59853         * stdlib/longlong.h: Update from GCC.
59855 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59857         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59858         parameter name.
59859         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59860         Add parameter name.
59861         (__sysconf): Pass it down.
59863 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59865         [BZ #12671]
59866         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59867         some situations.
59868         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59869         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59870         add in in __libc_use_alloca calls.  Adjust callers.
59871         (glob): Use malloc in some situations.
59873         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59874         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59875         pltexit.
59877 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59879         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59880         and CLOCK_BOOTTIME_ALARM.
59882         [BZ #12782]
59883         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59884         is returned.
59886         * string/_strerror.c (__strerror_r): Print negative errors as signed
59887         numbers.
59889         [BZ #12777]
59890         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59891         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59892         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59894         * configure.in: Fix typo in redirection and correct removal of test
59895         files in two cases.
59897         [BZ #12788]
59898         * locale/setlocale.c (new_composite_name): Fix test to check for
59899         identical name of all categories.
59901         [BZ #12792]
59902         * libio/filedoalloc.c (local_isatty): New function.
59903         (_IO_file_doallocate): Use local_isatty.
59904         * stdio-common/perror.c (perror): In case a new stream is used
59905         forward the stream error.
59906         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59907         error flag.
59909 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59911         [BZ #11869]
59912         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59913         alloca.
59914         * include/alloca.h (extend_alloca_account): Define.
59916         [BZ #11857]
59917         * posix/regex.h: Fix comments with documentation of user-accessible
59918         fields after compilation and describe correct free'ing of pattern
59919         after re_compile_pattern.
59920         Patch by Reuben Thomas <rrt@sc3d.org>.
59922 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59924         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59925         and -mno-altivec to prevent the compiler from using Altivec and/or
59926         VSX instructions when the corresponding registers are not available.
59928 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59930         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59932 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59934         * libio/freopen.c (freopen): Use __dup2, not dup2.
59935         * libio/freopen64.c (freopen64): Likewise.
59937 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59939         [BZ #12775]
59940         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59941         * math/Makefile (tests): Add test-powl.
59942         (CFLAGS-test-powl.c): Define.
59943         * math/test-powl.c: New file.
59945 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59947         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59949 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59951         [BZ #11837]
59952         * iconvdata/gb18030.c: Update to GB18020-2005.
59954 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59956         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59957         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59958         Patch by Aharon Robbins <arnold@skeeve.com>.
59960         [BZ #11892]
59961         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59962         on the stack.
59964         [BZ #11895]
59965         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59966         through underflows.
59968         [BZ #12766]
59969         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59970         point to strings before performing equality test for error_one_per_line
59971         mode.
59973         [BZ #11697]
59974         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59976         [BZ #11820]
59977         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59978         (struct user_fpregs_struct): Avoid __uint*_t types.
59980         [BZ #6420]
59981         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59982         symbol info.  Use it instead of calling _dl_addr locally.
59983         (lock_and_info): New function.
59984         (tr_freehook): Call lock_and_info and pass symbol info as additional
59985         parameter to tr_where.
59986         (tr_mallochook): Likewise.
59987         (tr_reallochook): Likewise.
59988         (tr_memalignhook): Likewise.
59990         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59991         used and couldn't be at all thread-safe.
59993 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59995         * libio/freopen.c (freopen): Don't close old file descriptor
59996         before the new one is opened.  Instead dup the new file descriptor
59997         to the old one after the new stream is created.
59998         * libio/freopen64.c (freopen64): Likewise.
59999         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60000         * libio/fileops.c (_IO_new_file_close_it): Handle new
60001         _IO_FLAGS2_NOCLOSE flag.
60002         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60003         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60004         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60005         _IO_FLAGS2_NOCLOSE flag.
60006         * include/unistd.h: Add hidden_proto for dup3.
60007         Define __have_dup3.
60008         * io/dup3.c: Define hidden symbol.
60009         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60011         [BZ #7101]
60012         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60013         when an incomplete long option is used.
60014         * posix/tst-getopt_long1.c: New file.
60015         * posix/Makefile (tests): Add tst-getopt_long1.
60017         [BZ #10138]
60018         * scripts/config.guess: Update from autoconf-2.68.
60019         * scripts/config.sub: Likewise.
60021         [BZ #10157]
60022         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60023         tests into ...
60024         (has_cpuclock): ...this.  New function.
60025         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60026         macro here based on has_cpuclock code.
60028         [BZ #10149]
60029         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60030         First byte (not low byte) is now always NUL.
60031         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60033         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60034         Use non-cancelable interfaces.
60036         [BZ #9809]
60037         * locale/iso-639.def: Add entry for Sorani.
60039         [BZ #11901]
60040         * include/stdlib.h: Move include protection to the right place.
60041         Define abort_msg_s.  Declare __abort_msg with it.
60042         * stdlib/abort.c (__abort_msg): Adjust type.
60043         * assert/assert.c (__assert_fail_base): New function.  Majority
60044         of code from __assert_fail.  Allocate memory for __abort_msg with
60045         mmap.
60046         (__assert_fail): Now call __assert_fail_base.
60047         * assert/assert-perr.c: Remove bulk of implementation.  Use
60048         __assert_fail_base.
60049         * include/assert.hL Declare __assert_fail_base.
60050         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60051         mmap.
60052         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60054 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
60056         [BZ #11952]
60057         [BZ #12453]
60058         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60059         until all modules are registered in the DTV.
60060         * elf/Makefile: Add rules to build and run tst-tls19.
60061         * elf/tst-tls19.c: New file.
60062         * elf/tst-tls19mod1.c: New file.
60063         * elf/tst-tls19mod2.c: New file.
60064         * elf/tst-tls19mod3.c: New file.
60065         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60067         [BZ #12083]
60068         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60069         correctly.
60071         [BZ #12601]
60072         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60073         two-byte sequence errors.
60074         * iconvdata/Makefile (tests): Add bug-iconv8.
60075         * iconvdata/bug-iconv8.c: New file.
60077         [BZ #12626]
60078         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60079         buf2 definition.
60081         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60083         [BZ #12432]
60084         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60085         (dummy_getcfa): New function.
60086         (init): Get _Unwind_GetCFA address, use dummy if not found.
60087         (backtrace_helper): In recursion check, also check whether CFA changes.
60088         (__backtrace): Completely initialize arg.
60090         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60091         storing incomplete byte sequence in state object.  Avoid testing for
60092         guaranteed too small input if we know there is enough data available.
60094 2011-05-11  Andreas Schwab  <schwab@redhat.com>
60096         * Makeconfig (+link-pie): Indent.
60097         * Rules (binaries-pie): Define if $(have-fpie) and
60098         $(build-shared).
60099         (binaries-shared): Also filter out $(binaries-pie).
60100         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60101         * nscd/Makefile (others-pie): Add nscd.
60102         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60103         ($(objpfx)nscd): Remove command override.
60104         * login/Makefile (others-pie): Add pt_chown.
60105         ($(objpfx)pt_chown): Remove command override.
60106         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60107         remove command overrides.
60109 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
60111         * libio/tst_putwc.c: Fix error messages.
60113         [BZ #12724]
60114         * libio/fileops.c (_IO_new_file_close_it): Always flush when
60115         currently writing and seek to current position when not.
60116         * libio/Makefile (tests): Add bug-fclose1.
60117         * libio/bug-fclose1.c: New file.
60119 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
60121         [BZ #12511]
60122         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60123         don't set DF_1_NODELETE here.
60124         (do_lookup_x): When entering new entry test for copy relocation
60125         and if necessary set DF_1_NODELETE flag.
60126         * elf/tst-unique4.cc: New file.
60127         * elf/tst-unique4.h: New file.
60128         * elf/tst-unique4lib.cc: New file.
60129         * elf/Makefile: Add rules to build and run tst-unique4.
60130         Patch by Piotr Bury <pbury@goahead.com>.
60132 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
60134         [BZ #12052]
60135         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60137         [BZ #12625]
60138         * misc/mntent_r.c (addmntent): Flush the stream after the output
60140         [BZ #12393]
60141         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60142         (is_trusted_path_normalize): Skip initial colon.  Append slash
60143         to empty buffer.  Duplicate is_trusted_path code but allow
60144         constructed patch to be prefix.
60145         (is_dst): Allow $ORIGIN followed by /.
60146         (_dl_dst_substitute): Correct clearing of check_for_trusted.
60147         Correct testing of result of is_trusted_path_normalize
60148         (decompose_rpath): Fix warning.
60150 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
60152         [BZ #11257]
60153         * grp/initgroups.c (internal_getgrouplist): When we found the service
60154         list through the initgroups entry in nsswitch.conf do not always
60155         continue on a successful lookup.  Don't always use the
60156         __nss_group_database value if it is set.
60157         * nss/nsswitch.conf (initgroups): Change action for successful db
60158         lookup to continue for compatibility.
60160 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
60162         [BZ #11532]
60163         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60164         and CP774 modules.
60165         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60166         and CP774 modules.
60167         * iconvdata/tst-tables.sh: Likewise.
60168         * iconvdata/cp770.c: New file.
60169         * iconvdata/cp771.c: New file.
60170         * iconvdata/cp772.c: New file.
60171         * iconvdata/cp773.c: New file.
60172         * iconvdata/cp774.c: New file.
60173         * iconvdata/testdata/CP770: New file.
60174         * iconvdata/testdata/CP770..UTF8: New file.
60175         * iconvdata/testdata/CP771: New file.
60176         * iconvdata/testdata/CP771..UTF8: New file.
60177         * iconvdata/testdata/CP772: New file.
60178         * iconvdata/testdata/CP772..UTF8: New file.
60179         * iconvdata/testdata/CP773: New file.
60180         * iconvdata/testdata/CP773..UTF8: New file.
60181         * iconvdata/testdata/CP774: New file.
60182         * iconvdata/testdata/CP774..UTF8: New file.
60184         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60185         END CHARMAP line.
60186         * iconvdata/gen-8bit-gap.sh: Likewise.
60187         * iconvdata/gen-8bit.sh: Likewise.
60189         * locale/iso-639.def: Add ary entry.
60191         [BZ #11258]
60192         * locale/C-translit.h.in: Add U20A1 transliteration.
60194         [BZ #12178]
60195         * locale/iso-639.def: Add wae entry.
60196         Patch by Kevin Bortis <bortis@translate-wae.ch>.
60198         [BZ #12545]
60199         * locale/programs/localedef.c (construct_output_path): Use ssize_t
60200         for n.
60202         [BZ #12711]
60203         * locale/C-translit.h.in: Add entry for U20B9.
60204         Patch by pravin.d.s@gmail.com.
60206 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
60208         [BZ #12713]
60209         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60210         ENAMETOOLONG use generic getcwd.
60211         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
60212         in rtld.  Use *stat64.
60213         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60214         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60215         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60216         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60217         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60218         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60219         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60220         __fstatat64 macros.
60221         * include/dirent.h: Add libc_hidden_proto for rewinddir.
60222         * dirent/rewinddir.c: Add libc_hidden_def.
60223         * sysdeps/mach/hurd/rewinddir.c: Likewise.
60224         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
60226         * include/dirent.h (__alloc_dir): Add flags parameter.
60227         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60228         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60229         __alloc_dir.
60230         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
60231         from fdopendir if O_CLOEXEC is already set.
60233 2011-03-15  Alan Modra  <amodra@gmail.com>
60235         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60236         l_tls_firstbyte_offset non-zero.  Save padding offset in
60237         l_tls_firstbyte_offset for later use.
60238         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60239         freeing static tls block.
60241 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
60243         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60244         where #ifdef was intended.  The intent is to prevent ARG_MAX from
60245         being defined by the kernel headers.
60247 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
60249         [BZ #12734]
60250         * resolv/resolv.h: Define RES_NOTLDQUERY.
60251         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60252         no-tld-query and set RES_NOTLDQUERY.
60253         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60254         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60255         modern BIND to search name as TLD unless forbidden.
60257 2011-05-07  Petr Baudis  <pasky@suse.cz>
60258             Ulrich Drepper  <drepper@gmail.com>
60260         [BZ #12393]
60261         * elf/dl-load.c (fillin_rpath): Move trusted path check...
60262         (is_trusted_path): ...to here.
60263         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60264         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60265         using is_trusted_path_normalize() in setuid scripts.
60267 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60269         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60270         __BEGIN/__END_DECLS.
60272 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
60274         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60275         NSS_STATUS_NOTFOUND if no record was found.
60277 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60279         * sunrpc/Makefile (headers): Add rpc/netdb.h.
60280         (headers-not-in-tirpc): Remove rpc/netdb.h
60281         * resolv/netdb.h: Revert last change.
60283 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
60285         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60286         circular dependency between libgcc.a and libc.a.
60288 2011-05-05  Andreas Schwab  <schwab@redhat.com>
60290         * resolv/netdb.h: Don't include <rpc/netdb.h>.
60291         * nis/Makefile: Don't install rpcsvc/*.
60292         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60293         instead of <rpc/types.h>.
60294         (MAXHOSTNAMELEN): Define.
60296 2011-05-03  Andreas Schwab  <schwab@redhat.com>
60298         * elf/ldconfig.c (add_dir): Don't crash on empty path.
60300 2011-04-28  Maciej Babinski  <mbabinski@google.com>
60302         [BZ #12714]
60303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60304         gethostbyname4_r when IPv6 results are possible.
60306 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
60308         [BZ #12723]
60309         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60310         _PC_PIPE_BUF handling.
60312 2011-04-30  Bruno Haible  <bruno@clisp.org>
60314         [BZ #12717]
60315         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60316         * resolv/netdb.h (getnameinfo): Change type of flags parameter
60317         to 'int'.
60318         * inet/getnameinfo.c (getnameinfo): Likewise.
60320 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
60322         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60323         to groups setting in database lookup.
60324         * nss/nsswitch.conf: Add initgroups entry.
60326 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
60328         [BZ #12685]
60329         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60330         mode string.
60331         Patch by Eric Blake <eblake@redhat.com>.
60333 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
60335         * sunrpc/Makefile (need-export-routines): Add svc_run.
60336         (routines): Remove svc_run.
60337         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60338         * sunrpc/clnt_perr.c (clnt_perrno): Export.
60339         * sunrpc/svc_run.c (svc_run): Likewise.
60340         * sunrpc/svc_udp.c (svcudp_create): Likewise.
60342 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
60344         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60345         problem in reallocation in last patch.
60347 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
60349         * sunrpc/Makefile: Move inclusion of Rules.
60351 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60353         * nss/nss_files/files-initgroups.c: New file.
60354         * nss/Makefile (libnss_files-routines): Add files-initgroups.
60355         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60356         _nss_files_initgroups_dyn.
60358 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
60360         * elf/elf.h (R_ARM_IRELATIVE): Define.
60362 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
60364         * po/ru.po: Update from translation team.
60366 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60368         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60369         dependencies.
60371 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
60373         [BZ #12653]
60374         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60375         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60376         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60377         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60378         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60380 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
60382         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60383         differing bytes.
60384         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60385         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60386         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60388 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
60390         [BZ #12420]
60391         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60392         storing it.
60393         * stdlib/bug-getcontext.c: New file.
60394         * stdlib/Makefile: Add rules to build and run bug-getcontext.
60396 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60398         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60399         instructions into .machine "z9-109".
60400         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60401         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60403 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60405         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60406         between environment variables and auxiliary vector.
60408 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
60410         * Makefile: Add rules to build linkobj/libc.so.
60411         * include/libc-symbols.h: Define libc_hidden_nolink.
60412         * include/rpc/auth.h: Mark functions which are to be hidden.
60413         * include/rpc/auth_des.h: Likewise.
60414         * include/rpc/auth_unix.h: Likewise.
60415         * include/rpc/clnt.h: Likewise.
60416         * include/rpc/des_crypt.h: Likewise.
60417         * include/rpc/key_prot.h: Likewise.
60418         * include/rpc/pmap_clnt.h: Likewise.
60419         * include/rpc/pmap_prot.h: Likewise.
60420         * include/rpc/pmap_rmt.h: Likewise.
60421         * include/rpc/rpc_msg.h: Likewise.
60422         * include/rpc/svc.h: Likewise.
60423         * include/rpc/svc_auth.h: Likewise.
60424         * include/rpc/xdr.h: Likewise.
60425         * nis/Makefile: Link all DSOs against linkobj/libc.so.
60426         * nss/Makefile: Likewise.
60427         * sunrpc/Makefile: Don't install headers.  Build library with normal
60428         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
60429         * sunrpc/auth_des.c: Hide exported symbols by default, export some
60430         for the compat linking library.  Remove use of INTDEF/INTUSE.
60431         * sunrpc/auth_none.c: Likewise.
60432         * sunrpc/auth_unix.c: Likewise.
60433         * sunrpc/authdes_prot.c: Likewise.
60434         * sunrpc/authuxprot.c: Likewise.
60435         * sunrpc/clnt_gen.c: Likewise.
60436         * sunrpc/clnt_perr.c: Likewise.
60437         * sunrpc/clnt_raw.c: Likewise.
60438         * sunrpc/clnt_simp.c: Likewise.
60439         * sunrpc/clnt_tcp.c: Likewise.
60440         * sunrpc/clnt_udp.c: Likewise.
60441         * sunrpc/clnt_unix.c: Likewise.
60442         * sunrpc/des_crypt.c: Likewise.
60443         * sunrpc/des_soft.c: Likewise.
60444         * sunrpc/get_myaddr.c: Likewise.
60445         * sunrpc/key_call.c: Likewise.
60446         * sunrpc/key_prot.c: Likewise.
60447         * sunrpc/netname.c: Likewise.
60448         * sunrpc/pm_getmaps.c: Likewise.
60449         * sunrpc/pm_getport.c: Likewise.
60450         * sunrpc/pmap_clnt.c: Likewise.
60451         * sunrpc/pmap_prot.c: Likewise.
60452         * sunrpc/pmap_prot2.c: Likewise.
60453         * sunrpc/pmap_rmt.c: Likewise.
60454         * sunrpc/publickey.c: Likewise.
60455         * sunrpc/rpc_cmsg.c: Likewise.
60456         * sunrpc/rpc_common.c: Likewise.
60457         * sunrpc/rpc_dtable.c: Likewise.
60458         * sunrpc/rpc_prot.c: Likewise.
60459         * sunrpc/rpc_thread.c: Likewise.
60460         * sunrpc/rtime.c: Likewise.
60461         * sunrpc/svc.c: Likewise.
60462         * sunrpc/svc_auth.c: Likewise.
60463         * sunrpc/svc_authux.c: Likewise.
60464         * sunrpc/svc_raw.c: Likewise.
60465         * sunrpc/svc_run.c: Likewise.
60466         * sunrpc/svc_simple.c: Likewise.
60467         * sunrpc/svc_tcp.c: Likewise.
60468         * sunrpc/svc_udp.c: Likewise.
60469         * sunrpc/svc_unix.c: Likewise.
60470         * sunrpc/svcauth_des.c: Likewise.
60471         * sunrpc/xcrypt.c: Likewise.
60472         * sunrpc/xdr.c: Likewise.
60473         * sunrpc/xdr_array.c: Likewise.
60474         * sunrpc/xdr_float.c: Likewise.
60475         * sunrpc/xdr_intXX_t.c: Likewise.
60476         * sunrpc/xdr_mem.c: Likewise.
60477         * sunrpc/xdr_rec.c: Likewise.
60478         * sunrpc/xdr_ref.c: Likewise.
60479         * sunrpc/xdr_sizeof.c: Likewise.
60480         * sunrpc/xdr_stdio.c: Likewise.
60482 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
60484         [BZ #12650]
60485         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60486         * sysdeps/ia64/dl-tls.h: Likewise.
60487         * sysdeps/powerpc/dl-tls.h: Likewise.
60488         * sysdeps/s390/dl-tls.h: Likewise.
60489         * sysdeps/sh/dl-tls.h: Likewise.
60490         * sysdeps/sparc/dl-tls.h: Likewise.
60491         * sysdeps/x86_64/dl-tls.h: Likewise.
60492         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60494 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60496         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60497         rpath element also skip the following colon.
60498         (expand_dynamic_string_token): Add is_path parameter and pass
60499         down to DL_DST_REQUIRED and _dl_dst_substitute.
60500         (decompose_rpath): Call expand_dynamic_string_token with
60501         non-zero is_path.  Ignore empty rpaths.
60502         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60503         with zero is_path.
60505 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60508         Make cancelable.
60510 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60512         [BZ #12655]
60513         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60514         Patch by Filipe David Manana <fdmanana@apache.org>.
60516 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60518         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60519         Maintain aligned stack.
60520         (CHECK_RSP): Remove unused macro.
60522 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60524         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60525         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60527 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60529         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60531         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60533 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60535         [BZ #12518]
60536         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60537         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60538         * sysdeps/x86_64/memmove.c: New file.
60539         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60540         (memcpy): Renamed to ...
60541         (__new_memcpy): This.
60542         (memcpy): Provide GLIBC_2_14 memcpy.
60543         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60544         (memcpy): Provide GLIBC_2_2_5 memcpy.
60546 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60548         [BZ #12631]
60549         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60551 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60553         * misc/syncfs.c: New file.
60554         * misc/Makefile (routines): Add syncfs.
60555         * posix/unistd.h: Declare syncfs.
60556         * sysdeps/unix/syscalls.list: Add syncfs.
60558 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60560         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60561         open_by_handle_at.
60562         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60563         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60564         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60565         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60566         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60567         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60568         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60570 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60572         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60573         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60574         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60575         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60576         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60577         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60578         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60580         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60581         sync_file_range.c with -fexceptions.
60582         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60583         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60584         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60585         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60586         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60587         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60588         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60589         sync_file_range as cancellation point
60590         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60591         now a wrapper around __call_sync_file_range with cancellation handling.
60592         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60593         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60594         function name to __call_sync_file_range.
60595         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60596         Add call_sync_file_range.
60598 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60600         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60601         bits/timex.h.
60603 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60605         * iconv/iconv.h: Fix typo in comment.
60606         * io/fcntl.h: Likewise.
60607         * libio/stdio.h: Likewise.
60608         * posix/spawn.h: Likewise.
60609         * posix/unistd.h: Likewise.
60610         * stdlib/stdlib.h: Likewise.
60611         * time/time.h: Likewise.
60612         * wcsmbs/wchar.h: Likewise.
60614         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60615         open_by_handle): Add.
60616         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60617         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60618         Augment a few comments.
60619         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60620         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60621         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60622         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60623         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60624         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60625         open_by_handle.
60627         * io/fcntl.h (AT_EMPTY_PATH): Define.
60629 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60631         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60632         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60633         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60634         to...
60635         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60636         * Versions.def: Add GLIBC_2.14.
60637         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60638         Export.
60640 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60642         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60643         round counter.
60644         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60646 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60648         [BZ #12597]
60649         * string/test-strncmp.c (do_page_test): New function.
60650         (check2): Likewise.
60651         (test_main): Call check2.
60652         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60654 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60656         [BZ #12587]
60657         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60658         Handle cache information in CPU leaf 4.
60659         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60661 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60663         [BZ #12583]
60664         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60665         character representation.
60666         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60668 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60670         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60671         END(__isnan) to END(__isnanf) to match function entry point/label
60672         EALIGN(__isnanf,...).
60674 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60676         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60678 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60680         [BZ #12510]
60681         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60682         copy from the symbol referenced in the relocation to initialize the
60683         used variable.
60684         Patch by Piotr Bury <pbury@goahead.com>.
60685         * elf/Makefile: Add rules to build and tst-unique3.
60686         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60687         * elf/tst-unique3.cc: New file.
60688         * elf/tst-unique3.h: New file.
60689         * elf/tst-unique3lib.cc: New file.
60690         * elf/tst-unique3lib2.cc: New file.
60692         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60694 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60696         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60697         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60698         to _start.
60700 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60702         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60703         to-be-loaded object along a path to loader is ld.so.
60705 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60706             Ulrich Drepper  <drepper@gmail.com>
60708         * sysdeps/x86_64/memset.S: After aligning destination, code
60709         branches to different locations depending on the value of
60710         misalignment, when multiarch is enabled. Fix this.
60712 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60714         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60715         Set _x86_64_preferred_memory_instruction for AMD processsors.
60716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60717         Set bit_Prefer_SSE_for_memop for AMD processors.
60719 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60721         * libio/fmemopen.c (fmemopen): Optimize a bit.
60723 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60725         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60727 2011-03-03  Roland McGrath  <roland@redhat.com>
60729         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60731 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60733         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60734         __bzero_ultra1 instead of __memset_ultra1.
60736 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60737             Ulrich Drepper  <drepper@gmail.com>
60739         [BZ #12509]
60740         * include/link.h (struct link_map): Add l_orig_initfini.
60741         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60742         returning unsuccessfully.
60743         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60744         close of a file loaded at startup, restore the original l_initfini
60745         list.
60746         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60747         list, store the pointer.
60748         * elf/Makefile ($(objpfx)noload-mem): New rule.
60749         (noload-ENV): Define.
60750         (tests): Add $(objpfx)noload-mem.
60751         * elf/noload.c: Include <memcheck.h>.
60752         (main): Call mtrace.  Close all opened handles.
60754 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60756         [BZ #12454]
60757         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60758         dependencies are missing.
60760 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60762         Fix __if_freereq crash: Unlike the generic version which uses free,
60763         Hurd needs munmap.
60764         * sysdeps/mach/hurd/ifreq.h: New file.
60766 2011-01-27  Petr Baudis  <pasky@suse.cz>
60767             Ulrich Drepper  <drepper@gmail.com>
60769         [BZ 12445]#
60770         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60771         to extend_alloca().
60772         * stdio-common/bug23.c: New file.
60773         * stdio-common/Makefile (tests): Add bug23.
60775 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60776             Ulrich Drepper  <drepper@gmail.com>
60778         [BZ #12489]
60779         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60780         before performing relro protection.  At old place add assertion
60781         to make sure nothing changed.
60783 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60784             Glauber de Oliveira Costa  <glommer@gmail.com>
60786         * elf/elf.h: Add new ARM TLS relocs.
60788 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60791         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60792         cast from r3.
60793         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60794         'tests' variable.
60795         * sysdeps/wordsize-64/tst-writev.c: New file.
60797 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60799         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60800         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60801         insns in _dl_start to prevent a TOC reference before relocs are
60802         resolved.
60804 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60806         [BZ #12469]
60807         * Makeconfig: Remove RANLIB definition.
60808         * Makerules: Don't use RANLIB.
60809         * aclocal.m4: Remove ranlib test.
60810         * configure.in: No need to check for ranlib.
60811         * elf/rtld-Rules: Don't use RANLIB.
60813 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60815         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60816         protection macro.
60817         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60818         inclusion protection macro.
60820         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60821         SIGRTMIN and SIGRTMAX and print information in that case only when
60822         SIGRTMIN is defined.
60824 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60826         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60827         arginfo fn returning -1.
60829         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60830         and thousands string is zero terminated.
60832 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60834         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60835         sysdeps/unix/sysv/linux/bits/socket.h.
60837 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60839         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60840         (__CPU_COUNT): Remove old macros.
60841         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60842         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60843         (__CPU_ALLOC, __CPU_FREE): Add macros.
60844         (__sched_cpualloc, __sched_cpufree): Add declarations.
60846 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60848         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60849         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60850         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60851         (readdhstai): Return value of addhstaiX call.
60852         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60853         (addgrbyX): Return value returned by cache_addgr.
60854         (readdgrbyname): Return value returned by addgrbyX.
60855         (readdgrbygid): Likewise.
60856         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60857         (addpwbyX): Return value returned by cache_addpw.
60858         (readdpwbyname): Return value returned by addhstbyX.
60859         (readdpwbyuid): Likewise.
60860         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60861         (addservbyX): Return value returned by cache_addserv.
60862         (readdservbyname): Return value returned by addservbyX:
60863         (readdservbyport): Likewise.
60864         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60865         (addhstbyX): Return value returned by cache_addhst.
60866         (readdhstbyname): Return value returned by addhstbyX.
60867         (readdhstbyaddr): Likewise.
60868         (readdhstbynamev6): Likewise.
60869         (readdhstbyaddrv6): Likewise.
60870         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60871         (readdinitgroups): Return value returned by addinitgroupsX.
60872         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60873         (prune_cache): Keep track of timeout value of re-added entries.
60874         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60875         * nscd/nscd.h: Adjust prototypes of readd* functions.
60877 2011-02-04  Roland McGrath  <roland@redhat.com>
60879         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60880         (nis_stats): Likewise.
60881         * nis/nis_modify.c (nis_modify): Likewise.
60882         * nis/nis_remove.c (nis_remove): Likewise.
60883         * nis/nis_add.c (nis_add): Likewise.
60885         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60887         * posix/fnmatch_loop.c: Add some consts.
60889         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60891 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60893         [BZ #12460]
60894         * config.make.in (config-cflags-novzeroupper): Define.
60895         * configure.in: Substitute libc_cv_cc_novzeroupper.
60896         * elf/Makefile (AVX-CFLAGS): Define.
60897         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60898         (CFLAGS-tst-auditmod4a.c): Likewise.
60899         (CFLAGS-tst-auditmod4b.c): Likewise.
60900         (CFLAGS-tst-auditmod6b.c): Likewise.
60901         (CFLAGS-tst-auditmod6c.c): Likewise.
60902         (CFLAGS-tst-auditmod7b.c): Likewise.
60903         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60905 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60907         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60908         function to the callback.
60909         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60911 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60913         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60914         of errno.
60916 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60918         [BZ #11724]
60919         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60920         of constructors.
60921         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60922         of destructors.
60923         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60925         [BZ #11724]
60926         * elf/Makefile: Add rules to build and run new test.
60927         * elf/tst-initorder.c: New file.
60928         * elf/tst-initorder.exp: New file.
60929         * elf/tst-initordera1.c: New file.
60930         * elf/tst-initordera2.c: New file.
60931         * elf/tst-initordera3.c: New file.
60932         * elf/tst-initordera4.c: New file.
60933         * elf/tst-initorderb1.c: New file.
60934         * elf/tst-initorderb2.c: New file.
60935         * elf/tst-order-a1.c: New file.
60936         * elf/tst-order-a2.c: New file.
60937         * elf/tst-order-a3.c: New file.
60938         * elf/tst-order-a4.c: New file.
60939         * elf/tst-order-b1.c: New file.
60940         * elf/tst-order-b2.c: New file.
60941         * elf/tst-order-main.c: New file.
60942         New test case by George Gensure <werkt0@gmail.com>.
60944 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60947         decoding ACE if AI_CANONIDN.
60949 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60951         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60953 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60955         * version.h (RELEASE): Bump for 2.13 release.
60956         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60958         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60960         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60961         MADV_NOHUGEPAGE.
60962         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60963         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60964         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60965         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60966         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60967         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60969         * posix/getconf.c: Update copyright year.
60970         * catgets/gencat.c: Likewise.
60971         * csu/version.c: Likewise.
60972         * debug/catchsegv.sh: Likewise.
60973         * debug/xtrace.sh: Likewise.
60974         * elf/ldconfig.c: Likewise.
60975         * elf/ldd.bash.in: Likewise.
60976         * elf/sprof.c (print_version): Likewise.
60977         * iconv/iconv_prog.c: Likewise.
60978         * iconv/iconvconfig.c: Likewise.
60979         * locale/programs/locale.c: Likewise.
60980         * locale/programs/localedef.c: Likewise.
60981         * malloc/memusage.sh: Likewise.
60982         * malloc/mtrace.pl: Likewise.
60983         * nscd/nscd.c (print_version): Likewise.
60984         * nss/getent.c: Likewise.
60986         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60987         PF_CAIF, and PF_ALG.
60988         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60990 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60992         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60993         (modules-names): Use them.
60994         (ifunc-test-modules, ifunc-pie-tests): Define.
60995         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60996         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60997         (test-extras): Likewise.
60998         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60999         $(compile-command.c).
61000         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61001         (all-built-dso): Define.
61002         (check-textrel.out, check-execstack.out): Depend on it.
61004         * configure.in: Don't override --enable-multi-arch.
61006 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
61008         [BZ #6812]
61009         * nscd/hstcache.c (tryagain): Define.
61010         (cache_addhst): Return tryagain not notfound for temporary errors.
61011         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61012         failed.
61014 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
61016         [BZ #10563]
61017         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61018         to make the syscall.
61019         * sysdeps/unix/sysv/linux/setgroups.c: New file.
61021         [BZ #12378]
61022         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61023         and fall back to matching as normal character if the string ends before
61024         the matching ']' is found.  This is what POSIX requires.
61025         * posix/testfnm.c: Adjust test result.
61026         * posix/globtest.sh: Adjust test result.  Add new test.
61027         * posix/tst-fnmatch.input: Likewise.
61028         * posix/tst-fnmatch2.c: Add new test.
61030 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
61032         * elf/Makefile (check-execstack): Revert last change.  Depend on
61033         check-execstack.h.
61034         (check-execstack.h): New target.
61035         (generated): Add check-execstack.h.
61036         * elf/check-execstack.c: Include "check-execstack.h".
61037         (main): Revert last change.
61038         (handle_file): Return zero if GNU_STACK is absent and
61039         DEFAULT_STACK_PERMS doesn't include PF_X.
61041 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
61043         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61044         in child fails because the descriptor is already closed.
61045         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61046         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61047         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61049         [BZ #12397]
61050         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61051         syscall.
61053         [BZ #10484]
61054         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61055         temporary buffer used to handle multi lookups locally.
61056         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61058 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61060         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61061         loader is ld.so.
61063 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
61065         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61066         alignment for SSE2.
61068 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
61070         [BZ #12394]
61071         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61072         characters.  When rounding increased number of integer digits recompute
61073         number of groups.
61074         * stdio-common/tst-grouping.c: New file.
61075         * stdio-common/Makefile: Add rules to build and run tst-grouping.
61077 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
61079         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61080         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
61082         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61083         void.
61084         * bits/select.h: Likewise.
61086 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
61088         * po/ja.po: Update from translation team.
61090 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
61092         [BZ #11155]
61093         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61094         implementation just like for lxstat, fxstatat, et al.
61096 2010-12-27  Jim Meyering  <meyering@redhat.com>
61098         [BZ #12348]
61099         * posix/regexec.c (build_trtable): Return failure indication upon
61100         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
61102 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
61104         [BZ #12201]
61105         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61106         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61107         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61108         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61110         [BZ #12207]
61111         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61113         [BZ #12204]
61114         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61115         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61117 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
61119         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61120         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61121         script has SORT_BY_INIT_PRIORITY.
61122         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61123         NO_CTORS_DTORS_SECTIONS is defined.
61124         * elf/soinit.c: Likewise.
61125         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61126         NO_CTORS_DTORS_SECTIONS is defined.
61127         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61128         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61129         * sysdeps/sh/init-first.c: Likewise.
61130         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61132 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
61134         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61135         always use the slow path.
61137 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
61139         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61140         similar rule which adds the sysdep directories to the header search in
61141         order to pick up the correct platform stackinfo.h.
61142         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61143         perform test if it is, otherwise return successfully without testing.
61144         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61145         DEFAULT_STACK_PERMS define in stackinfo.h.
61146         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61147         defined in stackinfo.h.
61148         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61149         DEFAULT_STACK_PERMS defined in stackinfo.h.
61150         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61151         * sysdeps/ia64/stackinfo.h: Likewise.
61152         * sysdeps/s390/stackinfo.h: Likewise.
61153         * sysdeps/sh/stackinfo.h: Likewise.
61154         * sysdeps/sparc/stackinfo.h: Likewise.
61155         * sysdeps/x86_64/stackinfo.h: Likewise.
61156         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61157         PF_X for powerpc64.  Retain PF_X for powerpc32.
61159 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
61161         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61162         accurately.
61163         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61164         GETDENTS_64BIT_ALIGNED.
61166 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
61168         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61170 2010-12-10  Andreas Schwab  <schwab@redhat.com>
61172         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61173         _GNU_SOURCE.
61175         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61176         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61177         Remove __restrict.
61178         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61179         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61181 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
61183         [BZ #11655]
61184         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61185         are initialized.
61187 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
61189         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61191 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
61193         * po/it.po: Update from translation team.
61195 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
61197         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61198         unused codes.
61200 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
61202         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61204 2010-11-24  Andreas Schwab  <schwab@redhat.com>
61206         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61207         specially.
61208         (gaih_getanswer_slice): Likewise.
61210 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
61212         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61214 2010-05-31  Petr Baudis  <pasky@suse.cz>
61216         [BZ #11149]
61217         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61218         silently even in the chroot mode.
61220 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
61222         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61223         last patch a bit.  Pretty printing
61225 2010-05-31  Petr Baudis <pasky@suse.cz>
61227         [BZ #10085]
61228         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61229         initialization of skip_initgroups_dyn.
61231 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
61233         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61234         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61236 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
61238         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61240 2010-11-11  Andreas Schwab  <schwab@redhat.com>
61242         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61243         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61244         (tst-fnmatch-ENV): Set MALLOC_TRACE.
61245         ($(objpfx)tst-fnmatch-mem): New rule.
61246         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61247         * posix/tst-fnmatch.c (main): Call mtrace.
61249 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
61251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61252         Support Intel processor model 6 and model 0x2c.
61254 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
61256         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61257           signed comparison.
61259 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
61261         [BZ #12205]
61262         * string/test-strncasecmp.c (check_result): New function.
61263         (do_one_test): Use it.
61264         (check1): New function.
61265         (test_main): Use it.
61266         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61267         Support strcasecmp and strncasecmp.
61269 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
61271         [BZ #12194]
61272         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61273         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61275 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61277         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61278         IFUNC support.
61279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61280         memset-x86-64.
61281         * sysdeps/x86_64/multiarch/bzero.S: New file.
61282         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61283         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61284         * sysdeps/x86_64/multiarch/memset.S: New file.
61285         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61287         Set bit_Prefer_SSE_for_memop for Intel processors.
61288         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61289         Define.
61290         (index_Prefer_SSE_for_memop): Define.
61291         (HAS_PREFER_SSE_FOR_MEMOP): Define.
61293 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
61295         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61296         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61298 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
61300         [BZ #12191]
61301         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61302         (__x86_64_raw_data_cache_size_half): Likewise.
61303         (__x86_64_raw_shared_cache_size): Likewise.
61304         (__x86_64_raw_shared_cache_size_half): Likewise.
61306         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61307         (__x86_64_raw_data_cache_size_half): Likewise.
61308         (__x86_64_raw_shared_cache_size): Likewise.
61309         (__x86_64_raw_shared_cache_size_half): Likewise.
61310         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61311         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61312         and __x86_64_raw_shared_cache_size_half.  Round
61313         __x86_64_data_cache_size_half, __x86_64_data_cache_size
61314         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61315         to multiple of 256 bytes.
61317 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
61319         [BZ #12167]
61320         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61321         of inacessible symlinks.  Verify result of symlink before returning it.
61322         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61323         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61325 2010-10-28  Erich Ritz  <erichritz@gmail.com>
61327         * math/math.h (isinf): Fix typo in comment.
61329 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
61331         * po/da.po: Update from translation team.
61333 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
61335         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61336         is added to the list.
61338 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61339             Ulrich Drepper  <drepper@gmail.com>
61341         * elf/dl-object.c (_dl_new_object): Don't append the new object to
61342         the global list here.  Move code to...
61343         (_dl_add_to_namespace_list): ...here.  New function.
61344         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61345         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61346         * elf/dl-load.c (lose): Don't remove the element from the list.
61347         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61348         (_dl_map_object): Likewise.
61350 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
61352         [BZ #12159]
61353         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61354         into all bytes of SSE register.
61355         Patch by Richard Li <richardpku@gmail.com>.
61357 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
61359         [BZ #12140]
61360         * malloc/malloc.c (_int_free): Fill correct number of bytes when
61361         perturbing.
61363 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
61365         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61366         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61367         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61368         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61370         submachine.
61371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61373 2010-10-22  Andreas Schwab  <schwab@redhat.com>
61375         * include/dlfcn.h (__RTLD_SECURE): Define.
61376         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
61377         mode & __RTLD_SECURE instead.
61378         (open_path): Rename preloaded parameter to secure.
61379         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61380         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61381         * elf/dl-deps.c (openaux): Likewise.
61382         * elf/rtld.c (struct map_args): Remove is_preloaded.
61383         (map_doit): Don't use it.
61384         (dl_main): Likewise.
61385         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61386         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61388 2010-09-09  Andreas Schwab  <schwab@redhat.com>
61390         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61391         (sysd-rules-targets): Remove duplicates.
61392         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61393         rtld-%.$o dependency.
61395 2010-10-18  Andreas Schwab  <schwab@redhat.com>
61397         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61398         _dl_map_object do it.
61400 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
61402         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61403         fast fma builtins, define the macros in the C99 standard.
61404         (FP_FAST_FMAF): Likewise.
61405         (FP_FAST_FMAL): Likewise.
61406         * sysdeps/x86_64/bits/mathdef.h: Likewise.
61408         * bits/mathdef.h: Update copyright year.
61409         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61411 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
61413         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61414         builtins, define the macros in the C99 standard.
61415         (FP_FAST_FMAF): Likewise.
61416         (FP_FAST_FMAL): Likewise.
61417         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61418         multiply/add.
61419         (FP_FAST_FMAF): Likewise.
61421 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
61423         [BZ #3268]
61424         * math/libm-test.inc (fma_test): Some new testcases.
61425         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61426         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61427         y and infinite z.  Do multiplication by C already in long double.
61428         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61429         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61430         y and infinite z.  Do bitwise or of inexact bit into u.d.
61431         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61432         * sysdeps/i386/fpu/s_fmaf.S: Removed.
61433         * sysdeps/i386/fpu/s_fma.S: Removed.
61434         * sysdeps/i386/fpu/s_fmal.S: Removed.
61436 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
61438         [BZ #3268]
61439         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61440         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61441         computation is not scheduled after fetestexcept.  Fix value
61442         of minimum denormal long double.
61444 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
61446         [BZ #3268]
61447         * math/libm-test.inc (fma_test): Add some more tests.
61448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61449         correctly.
61451 2010-10-15  Andreas Schwab  <schwab@redhat.com>
61453         * scripts/data/localplt-s390-linux-gnu.data: New file.
61454         * scripts/data/localplt-s390x-linux-gnu.data: New file.
61456 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
61458         [BZ #3268]
61459         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61460         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61461         instead of dbl-64.
61462         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61463         inlines.
61464         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61465         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61466         if one of x and y is very large and the other is subnormal.
61467         * sysdeps/s390/fpu/s_fmaf.c: New file.
61468         * sysdeps/s390/fpu/s_fma.c: New file.
61469         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61470         * sysdeps/powerpc/fpu/s_fma.S: New file.
61471         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61472         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61473         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61475 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
61477         [BZ #3268]
61478         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61479         fma tests.
61480         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61481         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61482         * sysdeps/i386/i686/multiarch/s_fma.c: Include
61483         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61484         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61485         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61486         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61488 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
61490         [BZ #12078]
61491         * posix/regcomp.c (parse_branch): One more memory leak plugged.
61492         * posix/bug-regex31.input: Add test case.
61494 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61496         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61497         * posix/bug-regex31.input: New file.
61499         [BZ #12078]
61500         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61501         (parse_sub_exp): Fix last change, use postorder.
61503         * posix/bug-regex31.c: New file.
61504         * posix/Makefile: Add rules to build and run bug-regex31.
61506         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61508         [BZ #12078]
61509         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61511         [BZ #12108]
61512         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61513         to have entries in sys_siglist.
61515         [BZ #12093]
61516         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61517         be NULL.
61519 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61521         [BZ #3268]
61522         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61523         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61524         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61525         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61526         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61527         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61528         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61529         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61530         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61531         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61532         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61533         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61534         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61535         * math/ftestexcept.c (fetestexcept): Likewise.
61536         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61537         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61538         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61539         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61540         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61541         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61542         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61544 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61546         [BZ #12107]
61547         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61548         newline.
61550 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61552         * string/bug-strstr1.c: New file.
61553         * string/Makefile: Add rules to build and run bug-strstr1.
61555 2010-10-05  Eric Blake  <eblake@redhat.com>
61557         [BZ #12092]
61558         * string/str-two-way.h (two_way_long_needle): Always clear memory
61559         when skipping input due to the shift table.
61561 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61563         [BZ #12005]
61564         * malloc/mcheck.c: Handle large requests.
61566         [BZ #12077]
61567         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61568         for strncmp and strncasecmp.
61569         * string/stratcliff.c: Add tests for strcmp and strncmp.
61570         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61572 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61574         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61575         __set_fpscr.
61577 2010-09-30  Andreas Jaeger  <aj@suse.de>
61579         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61580         (CGROUP_SUPER_MAGIC): Define.
61581         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61582         Handle btrfs and cgroup file systems.
61583         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61584         Likewise.
61586 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61588         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61589         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61591 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61593         [BZ #12067]
61594         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61595         trying to locate the ELF header.
61597 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61599         [BZ #11611]
61600         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61601         Mask out sign-bit copies when constructing f_fsid.
61603 2010-09-24  Petr Baudis <pasky@suse.cz>
61605         * debug/stack_chk_fail_local.c: Add missing licence exception.
61606         * debug/warning-nop.c: Likewise.
61608 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61610         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61611         implementing getdents64 using getdents syscall, set d_type if
61612         __ASSUME_GETDENTS32_D_TYPE.
61614 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61616         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61617         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61619 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61621         [BZ #12037]
61622         * posix/unistd.h: Undo change of feature selection for ftruncate from
61623         2010-01-11.
61625 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61627         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61628         detection.
61630 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61632         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61633         fanotify_mark.
61634         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61636 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61638         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61639         variables after CHECK_SP call.
61640         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61642 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61643             Ulrich Drepper  <drepper@redhat.com>
61645         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61646         re-relocationg ld.so.
61647         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61648         _dl_init_paths call.
61649         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61650         here anymore.
61652 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61654         * resolv/res_init.c (__res_vinit): Count the default server we added.
61656 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61657             Ulrich Drepper  <drepper@redhat.com>
61659         [BZ #11968]
61660         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61661         (____longjmp_chk): Use %ebx for saving value across system call.
61662         Add unwind info.
61664 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61666         * manual/Makefile: Don't mix pattern rules with normal rules.
61668 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61670         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61671         operation.
61672         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61673         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61674         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61675         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61676         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61677         Likewise.
61679 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61681         [BZ #11979]
61682         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61683         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61685 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61687         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61688         * sysdeps/x86_64/addmul_1.S: Likewise.
61689         * sysdeps/x86_64/lshift.S: Likewise.
61690         * sysdeps/x86_64/mul_1.S: Likewise.
61691         * sysdeps/x86_64/rshift.S: Likewise.
61692         * sysdeps/x86_64/sub_n.S: Likewise.
61693         * sysdeps/x86_64/submul_1.S: Likewise.
61695 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61697         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61698         Define __sched_param instead of SCHED_* and sched_param when
61699         <bits/sched.h> is included with __need_schedparam defined.
61700         * bits/sched.h [__need_schedparam]
61701         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61702         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61703         (__defined_schedparam): Define to 1.
61704         (__sched_param): New structure, identical to sched_param.
61705         (__need_schedparam): Undefine.
61707 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61709         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61710         (epoll_create1): Declare.
61712         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61714 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61716         [BZ #7066]
61717         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61718         shifting retval into place.
61720 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61722         * nis/rpcsvc/nis.h: Update copyright notice.
61723         * nis/rpcsvc/nis.x: Likewise.
61724         * nis/rpcsvc/nis_callback.h: Likewise.
61725         * nis/rpcsvc/nis_callback.x: Likewise.
61726         * nis/rpcsvc/nis_object.x: Likewise.
61727         * nis/rpcsvc/nis_tags.h: Likewise.
61728         * nis/rpcsvc/yp.h: Likewise.
61729         * nis/rpcsvc/yp.x: Likewise.
61730         * nis/rpcsvc/ypupd.h: Likewise.
61731         * nis/yp_xdr.c: Likewise.
61732         * nis/ypupdate_xdr.c: Likewise.
61734         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61735         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61736         (pmap_getport): Use __libc_rpc_getport.
61737         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61738         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61739         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61741 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61744         fanotify_mark.
61746 2010-08-27  Roland McGrath  <roland@redhat.com>
61748         * sysdeps/i386/i686/multiarch/Makefile
61749         (CFLAGS-varshift.c): New variable.
61751 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61753         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61754         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61756         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61758         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61760 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61762         * sysdeps/x86_64/strlen.S: Unroll the loop.
61763         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61764         strlen-sse2 strlen-sse2-bsf.
61765         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61766         __strlen_no_bsf if bit_Slow_BSF is set.
61767         (__strlen_sse42): Removed.
61768         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61769         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61771 2010-08-25  Roland McGrath  <roland@redhat.com>
61773         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61774         * sysdeps/x86_64/multiarch/varshift.c: New file.
61775         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61776         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61777         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61778         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61780 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61782         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61783         strlen-sse2 strlen-sse2-bsf.
61784         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61785         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61786         (__strlen_sse2): Removed.
61787         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61788         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61790         bit_Slow_BSF for Atom.
61791         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61792         (index_Slow_BSF): Define.
61793         (HAS_SLOW_BSF): Define.
61795 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61797         [BZ #10851]
61798         * resolv/res_init.c (__res_vinit): When no server address at all
61799         is given default to loopback.
61801 2010-08-24  Roland McGrath  <roland@redhat.com>
61803         * configure.in: Remove config-name.h generation.
61804         * configure: Regenerated.
61805         * config-name.in: File removed.
61806         * scripts/config-uname.sh: New file.
61807         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61808         ($(objdir)config-name.h): New target.
61810         * sunrpc/rpc_parse.h: Avoid nested comment.
61812 2010-08-24  Richard Henderson  <rth@redhat.com>
61813             Ulrich Drepper  <drepper@redhat.com>
61814             H.J. Lu  <hongjiu.lu@intel.com>
61816         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61818         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61819         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61820         _mm_alignr_epi8 with _mm_loadu_si128.
61821         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61822         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61823         (__m128i_shift_right): Removed.
61824         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61825         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61826         * sysdeps/x86_64/multiarch/varshift.h: New file.
61827         * sysdeps/x86_64/multiarch/varshift.S: New file.
61829 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61831         * configure.in: Move assembler checks to before sysdep dir checking.
61833 2010-08-20  Petr Baudis  <pasky@suse.cz>
61835         * LICENSES: Sync the sunrpc license.
61837 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61839         * sunrpc/auth_des.c: Update copyright notice once again.
61840         * sunrpc/auth_none.c: Likewise.
61841         * sunrpc/auth_unix.c: Likewise.
61842         * sunrpc/authdes_prot.c: Likewise.
61843         * sunrpc/authuxprot.c: Likewise.
61844         * sunrpc/bindrsvprt.c: Likewise.
61845         * sunrpc/clnt_gen.c: Likewise.
61846         * sunrpc/clnt_perr.c: Likewise.
61847         * sunrpc/clnt_raw.c: Likewise.
61848         * sunrpc/clnt_simp.c: Likewise.
61849         * sunrpc/clnt_tcp.c: Likewise.
61850         * sunrpc/clnt_udp.c: Likewise.
61851         * sunrpc/clnt_unix.c: Likewise.
61852         * sunrpc/des_crypt.c: Likewise.
61853         * sunrpc/des_soft.c: Likewise.
61854         * sunrpc/get_myaddr.c: Likewise.
61855         * sunrpc/getrpcport.c: Likewise.
61856         * sunrpc/key_call.c: Likewise.
61857         * sunrpc/key_prot.c: Likewise.
61858         * sunrpc/openchild.c: Likewise.
61859         * sunrpc/pm_getmaps.c: Likewise.
61860         * sunrpc/pm_getport.c: Likewise.
61861         * sunrpc/pmap_clnt.c: Likewise.
61862         * sunrpc/pmap_prot.c: Likewise.
61863         * sunrpc/pmap_prot2.c: Likewise.
61864         * sunrpc/pmap_rmt.c: Likewise.
61865         * sunrpc/rpc/auth.h: Likewise.
61866         * sunrpc/rpc/auth_unix.h: Likewise.
61867         * sunrpc/rpc/clnt.h: Likewise.
61868         * sunrpc/rpc/des_crypt.h: Likewise.
61869         * sunrpc/rpc/key_prot.h: Likewise.
61870         * sunrpc/rpc/netdb.h: Likewise.
61871         * sunrpc/rpc/pmap_clnt.h: Likewise.
61872         * sunrpc/rpc/pmap_prot.h: Likewise.
61873         * sunrpc/rpc/pmap_rmt.h: Likewise.
61874         * sunrpc/rpc/rpc.h: Likewise.
61875         * sunrpc/rpc/rpc_des.h: Likewise.
61876         * sunrpc/rpc/rpc_msg.h: Likewise.
61877         * sunrpc/rpc/svc.h: Likewise.
61878         * sunrpc/rpc/svc_auth.h: Likewise.
61879         * sunrpc/rpc/types.h: Likewise.
61880         * sunrpc/rpc/xdr.h: Likewise.
61881         * sunrpc/rpc_clntout.c: Likewise.
61882         * sunrpc/rpc_cmsg.c: Likewise.
61883         * sunrpc/rpc_common.c: Likewise.
61884         * sunrpc/rpc_cout.c: Likewise.
61885         * sunrpc/rpc_dtable.c: Likewise.
61886         * sunrpc/rpc_hout.c: Likewise.
61887         * sunrpc/rpc_main.c: Likewise.
61888         * sunrpc/rpc_parse.c: Likewise.
61889         * sunrpc/rpc_parse.h: Likewise.
61890         * sunrpc/rpc_prot.c: Likewise.
61891         * sunrpc/rpc_sample.c: Likewise.
61892         * sunrpc/rpc_scan.c: Likewise.
61893         * sunrpc/rpc_scan.h: Likewise.
61894         * sunrpc/rpc_svcout.c: Likewise.
61895         * sunrpc/rpc_tblout.c: Likewise.
61896         * sunrpc/rpc_util.c: Likewise.
61897         * sunrpc/rpc_util.h: Likewise.
61898         * sunrpc/rpcinfo.c: Likewise.
61899         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61900         * sunrpc/rpcsvc/key_prot.x: Likewise.
61901         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61902         * sunrpc/rpcsvc/mount.x: Likewise.
61903         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61904         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61905         * sunrpc/rpcsvc/rex.x: Likewise.
61906         * sunrpc/rpcsvc/rstat.x: Likewise.
61907         * sunrpc/rpcsvc/rusers.x: Likewise.
61908         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61909         * sunrpc/rpcsvc/spray.x: Likewise.
61910         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61911         * sunrpc/rtime.c: Likewise.
61912         * sunrpc/svc.c: Likewise.
61913         * sunrpc/svc_auth.c: Likewise.
61914         * sunrpc/svc_authux.c: Likewise.
61915         * sunrpc/svc_raw.c: Likewise.
61916         * sunrpc/svc_run.c: Likewise.
61917         * sunrpc/svc_simple.c: Likewise.
61918         * sunrpc/svc_tcp.c: Likewise.
61919         * sunrpc/svc_udp.c: Likewise.
61920         * sunrpc/svc_unix.c: Likewise.
61921         * sunrpc/svcauth_des.c: Likewise.
61922         * sunrpc/xcrypt.c: Likewise.
61923         * sunrpc/xdr.c: Likewise.
61924         * sunrpc/xdr_array.c: Likewise.
61925         * sunrpc/xdr_float.c: Likewise.
61926         * sunrpc/xdr_mem.c: Likewise.
61927         * sunrpc/xdr_rec.c: Likewise.
61928         * sunrpc/xdr_ref.c: Likewise.
61929         * sunrpc/xdr_sizeof.c: Likewise.
61930         * sunrpc/xdr_stdio.c: Likewise.
61932         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61933         handling.
61935 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61937         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61939 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61941         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61942         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61943         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61944         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61945         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61946         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61947         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61948         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61949         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61950         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61951         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61952         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61953         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61954         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61956 2010-07-26  Anton Blanchard  <anton@samba.org>
61958         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61959         * malloc/arena.c (heap_trim): Likewise.
61961 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61963         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61964         here.  Not...
61965         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61966         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61968 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61970         * sysdeps/i386/elf/Makefile: New file.
61972 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61974         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61975         from fanotify_init.
61976         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61977         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61979 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61981         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61982         of strncasecmp_l.
61983         * sysdeps/multiarch/strcmp.S: Likewise.
61985 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61987         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61988         strncase_l-nonascii.
61989         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61990         Add strncase_l-ssse3.
61991         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61992         * sysdeps/x86_64/strcmp.S: Likewise.
61993         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61994         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61995         * sysdeps/x86_64/strncase.S: New file.
61996         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61997         * sysdeps/x86_64/strncase_l.S: New file.
61998         * string/Makefile (strop-tests): Add strncasecmp.
61999         * string/test-strncasecmp.c: New file.
62001         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62002         warning.
62004         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62005         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62007 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
62009         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62011 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
62013         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62014         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62015         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62017 2010-05-01  Alan Modra  <amodra@gmail.com>
62019         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62020         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62021         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62022         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62023         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62024         tidying.  Don't tail-call __sigjmp_save for static lib.
62025         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62026         save location.
62027         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62028         (CALL_MCOUNT): Add eh info, and nop after bl.
62029         (TAIL_CALL_SYSCALL_ERROR): New macro.
62030         (PSEUDO_RET): Use it.
62031         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62032         Correct save location of integer regs and cr.
62033         (_dl_profile_resolve): Correct cr save location.  Delete nops
62034         after bl when SHARED.  Reduce cfi size a little by better
62035         placement of cfi directives.
62036         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62037         make a stack frame.  Instead use parm save area as a temp.
62038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62039         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
62040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62041         Don't make a stack frame for parent, use parm save area.
62042         Increase child stack frame to 112 bytes.  Don't save unused reg,
62043         and adjust reg usage.  Set up cfi on error recovery and
62044         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62046         (__makecontext): Add dummy nop after jump to exit.
62047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62048         Use correct parm save area and cr save, reduce stack frame.
62049         Correct cfi for possible PSEUDO_RET frame setup.
62050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62051         Branch to local label emitted by PSEUDO_RET rather than
62052         __syscall_error.
62054 2010-08-12  Andreas Schwab  <schwab@redhat.com>
62056         [BZ #11904]
62057         * locale/programs/locale.c (print_assignment): New function.
62058         (show_locale_vars): Use it.
62060 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
62062         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62063         field.
62064         (struct statfs64): Likewise.
62065         (_STATFS_F_FLAGS): Define.
62066         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62067         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62068         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62069         (ST_VALID): Define locally.
62070         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62071         __statvfs_getflags, use the provided value.
62072         * sysdeps/unix/sysv/linux/kernel-features.h: Define
62073         __ASSUME_STATFS_F_FLAGS.
62075         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62077         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62078         Add sys/fanotify.h.
62079         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62080         fanotify_mask for GLIBC_2.13.
62081         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62082         fanotify_init and fanotify_mark.
62083         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62084         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62086         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62087         Add prlimit.
62088         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62089         prlimit64 for GLIBC_2.13.
62090         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62091         prlimit64.
62092         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62093         syscall.
62094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62095         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62096         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62097         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62098         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
62099         add prlimit alias.
62100         * sysdeps/unix/sysv/linux/prlimit.c: New file.
62102         [BZ #11903]
62103         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62104         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62106         * nss/Makefile: Add rules to build and run tst-nss-test1.
62107         * shlib-versions: Add entry for libnss_test1.
62108         * nss/nss_test1.c: New file.
62109         * nss/tst-nss-test1.c: New file.
62111         * nss/nsswitch.c (__nss_database_custom): Define new variable.
62112         (__nss_configure_lookup): Set appropriate entry in
62113         __nss_configure_lookup to true.
62114         * nss/nsswitch.h: Define enum with indeces of databases in
62115         databases and __nss_database_custom arrays.  Declare
62116         __nss_database_custom.
62117         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62118         to avoid using nscd when custom rules are installed.
62119         * nss/getXXbyYY_r.c: Likewise.
62120         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62122         * nss/nss_files/files-parse.c: Whitespace fixes.
62124 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
62126         [BZ #11883]
62127         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62128         * posix/fnmatch_loop.c: Likewise.
62130 2010-07-17  Andi Kleen  <ak@linux.intel.com>
62132         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62133         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62134         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62135         * Versions.def [GLIBC_2.13]: Add.
62137 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
62139         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62140         Also fail if tpwd after pwuid call is NULL.
62142 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62144         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62145         when converting to ms.
62147 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62149         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62150         EOPNOTSUPP errors with ENOTTY.
62151         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62152         EOPNOTSUPP errors with ENOTTY.
62154 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
62156         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62157         Add strcasecmp_l-ssse3.
62158         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62159         strcasecmp.
62160         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62161         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62162         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62164 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
62166         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62168         * string/Makefile (strop-tests): Add strcasecmp.
62169         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62170         strcasecmp_l-nonascii.
62171         (gen-as-const-headers): Add locale-defines.sym.
62172         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62173         * sysdeps/x86_64/strcasecmp.S: New file.
62174         * sysdeps/x86_64/strcasecmp_l.S: New file.
62175         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62176         * sysdeps/x86_64/locale-defines.sym: New file.
62177         * string/test-strcasecmp.c: New file.
62179         * string/test-strcasestr.c: Test both ends of the range of characters.
62180         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62182 2010-07-29  Roland McGrath  <roland@redhat.com>
62184         [BZ #11856]
62185         * manual/locale.texi (Yes-or-No Questions): Fix example code.
62187 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
62189         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62190         for ld.so.
62192 2010-07-27  Andreas Schwab  <schwab@redhat.com>
62194         * manual/memory.texi (Malloc Tunable Parameters): Document
62195         M_PERTURB.
62197 2010-07-26  Roland McGrath  <roland@redhat.com>
62199         [BZ #11840]
62200         * configure.in (-fgnu89-inline check): Set and substitute
62201         gnu89_inline, not libc_cv_gnu89_inline.
62202         * configure: Regenerated.
62203         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62205 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
62207         * string/test-strnlen.c: New file.
62208         * string/Makefile (strop-tests): Add strnlen.
62209         * string/tester.c (test_strnlen): Add a few more test cases.
62210         * string/tst-strlen.c: Better error reporting.
62212         * sysdeps/x86_64/strnlen.S: New file.
62214 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
62216         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62217         lower-latency instructions.
62219 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
62221         * string/test-strcasestr.c: New file.
62222         * string/test-strstr.c: New file.
62223         * string/Makefile (strop-tests): Add strstr and strcasestr.
62224         * string/str-two-way.h: Don't undefine MAX.
62225         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62227 2010-07-21  Andreas Schwab  <schwab@redhat.com>
62229         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62230         strcasestr-nonascii.
62231         (CFLAGS-strcasestr-nonascii.c): Define.
62232         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62233         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62234         Remove unused attribute.
62236 2010-07-20  Roland McGrath  <roland@redhat.com>
62238         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62239         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
62240         ld.so.cache was broken.  With it, there is no way to disable dsocaps
62241         like LD_HWCAP_MASK can disable hwcaps.
62243 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62245         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62247 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
62249         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62250         call in strcasestr.
62251         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62252         __strcasestr_sse42_nonascii.
62253         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62254         strcasestr-nonascii.c.
62255         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62257 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
62259         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62260         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62261         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62262         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62264 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
62266         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62267         fcntl.
62269 2010-07-06  Andreas Schwab  <schwab@redhat.com>
62271         [BZ #11577]
62272         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62273         dl_signal_cerror.
62275 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
62277         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62278         _PC_PIPE_BUF using F_GETPIPE_SZ.
62280 2010-07-05  Roland McGrath  <roland@redhat.com>
62282         * manual/arith.texi (Rounding Functions): Fix rint description
62283         implicit in round description.
62285 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
62287         * elf/Makefile: Fix linking for a few tests to make recent linker
62288         happy.
62290 2010-06-30  Andreas Schwab  <schwab@redhat.com>
62292         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62293         $(common-objpfx)libc_nonshared.a.
62295 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
62297         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62298         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62299         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62300         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62301         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62302         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62303         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62304         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62319         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62320         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62321         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62322         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62323         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62324         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62325         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62326         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62327         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62328         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62329         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62330         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62346 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
62348         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62349         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
62350         * string/memmove.c (memmove): Renamed to ...
62351         (MEMMOVE): ...this.  Default to memmove.
62352         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62353         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62354         (END_CHK): Define.
62355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62356         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62357         mempcpy-ssse3-back memmove-ssse3-back.
62358         * sysdeps/x86_64/multiarch/bcopy.S: New file .
62359         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62360         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62361         * sysdeps/x86_64/multiarch/memcpy.S: New file.
62362         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62363         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62364         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62365         * sysdeps/x86_64/multiarch/memmove.c: New file.
62366         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62367         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62368         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62369         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62370         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62371         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62372         Define.
62373         (index_Fast_Copy_Backward): Define.
62374         (HAS_ARCH_FEATURE): Define.
62375         (HAS_FAST_REP_STRING): Define.
62376         (HAS_FAST_COPY_BACKWARD): Define.
62378 2010-06-21  Andreas Schwab  <schwab@redhat.com>
62380         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62381         Restore proper fallback handling.
62383 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
62385         [BZ #11701]
62386         * posix/group_member.c (__group_member): Correct checking loop.
62388         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62389         OOM in getpwuid_r correctly.  Return error number when the caller
62390         should return, otherwise -1.
62391         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62392         call returning > 0 value.
62393         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62395 2010-06-07  Andreas Schwab  <schwab@redhat.com>
62397         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62398         libc_nonshared.a from targets in modules-names.
62400 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
62402         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62403         requires it.
62405 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
62407         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62408         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62409         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62410         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62412 2010-06-02  Andreas Schwab  <schwab@redhat.com>
62414         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62416 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
62418         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62419         and F_GETPIPE_SZ.
62420         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62421         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62422         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62423         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62424         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62425         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62427 2010-06-14  Roland McGrath  <roland@redhat.com>
62429         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62431 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
62433         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62434         __REDIRECT followed by __THROW.
62435         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62436         * posix/getopt.h (getopt): Likewise.
62438 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
62440         * hurd/lookup-at.c (__file_name_lookup_at): Accept
62441         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
62442         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62443         in AT_FLAGS.
62444         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62445         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62447 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
62449         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62451 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
62453         [BZ #11640]
62454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62455         Properly check family and model.
62457 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
62459         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62461 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
62463         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62465 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
62467         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62468         symbol reference.
62470 2010-05-19  Andreas Schwab  <schwab@redhat.com>
62472         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62473         symbol reference.
62475 2010-05-21  Andreas Schwab  <schwab@redhat.com>
62477         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62478         and internal_recvmmsg.
62479         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62480         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62481         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62482         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62484         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62485         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62486         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62488 2010-05-20  Andreas Schwab  <schwab@redhat.com>
62490         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62492 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62494         POWER7 optimizations.
62495         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62496         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62498 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62500         * version.h: Update for 2.13 development version.
62502 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62504         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62505         exceptions.  Return 0.
62507 2010-05-07  Roland McGrath  <roland@redhat.com>
62509         * elf/ldconfig.c (main): Add a const.
62511 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62513         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62514         (args_options): Add no-idn option.
62515         (ahosts_keys_int): Add idn_flags to ai_flags.
62516         (parse_option): Handle 'i' option to clear idn_flags.
62518         * malloc/malloc.c (_int_free): Possible race in the most recently
62519         added check.  Only act on the data if no current modification
62520         happened.
62522 See ChangeLog.17 for earlier changes.