1 2015-07-23 Roland McGrath <roland@hack.frob.com>
3 * sysdeps/unix/Subdirs: Moved ...
4 * sysdeps/posix/Subdirs: ... here.
5 * login/pty.h (struct termios, struct winsize): Add forward decls.
6 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
7 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
8 * sysdeps/arm/nacl/libc.abilist: Updated.
9 * sysdeps/nacl/libutil.abilist: New file.
11 * bits/signum.h: Update comments to mention 1003.1-2013 too.
12 (SIGWINCH): New macro.
14 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15 * sysdeps/arm/nacl/libc.abilist: Add it.
17 2015-07-23 Mike Frysinger <vapier@gentoo.org>
19 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
21 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
24 Swap __glibc_reserved0 and sa_flags order.
26 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
30 are pending TLS destructor calls.
31 * include/link.h (struct link_map): Add concurrency note for
33 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34 Don't touch the link map flag. Atomically increment
36 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
37 Avoid taking the load lock and don't touch the link map flag.
38 * stdlib/tst-tls-atexit-nodelete.c: New test case.
39 * stdlib/Makefile (tests): Use it.
40 * stdlib/tst-tls-atexit.c (do_test): dlopen
41 tst-tls-atexit-lib.so again before dlclose. Add conditionals
42 to allow tst-tls-atexit-nodelete test case to use it.
44 2015-07-22 Mike Frysinger <vapier@gentoo.org>
46 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
48 (msgqnum_t): New typedef.
50 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
51 and msg_qbytes type to msglen_t.
53 2015-07-22 Mike Frysinger <vapier@gentoo.org>
55 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
56 pad0 to __glibc_reserved0.
57 (struct stat64): Likewise.
59 2015-07-22 Mike Frysinger <vapier@gentoo.org>
61 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
62 Change sa_flags from a long to an int and add __glibc_reserved0 before
65 2015-07-22 Mike Frysinger <vapier@gentoo.org>
67 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
68 anonymous by deleting "siginfo" name.
70 2015-07-21 Roland McGrath <roland@hack.frob.com>
72 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
73 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
74 rather than __nacl_irt_filename.
75 * sysdeps/nacl/xstat.c (__xstat): Likewise.
77 * NEWS: New item for arm-nacl port.
78 * sysdeps/arm/nacl/libc.abilist: New file.
79 * sysdeps/nacl/ld.abilist: New file.
80 * sysdeps/nacl/libBrokenLocale.abilist: New file.
81 * sysdeps/nacl/libanl.abilist: New file.
82 * sysdeps/nacl/libcrypt.abilist: New file.
83 * sysdeps/nacl/libdl.abilist: New file.
84 * sysdeps/nacl/libm.abilist: New file.
85 * sysdeps/nacl/libpthread.abilist: New file.
86 * sysdeps/nacl/libresolv.abilist: New file.
87 * sysdeps/nacl/librt.abilist: New file.
89 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
91 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
92 __startcontext to initialize the new context.
93 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
94 up CFI directive to forbid further backtracing.
96 2015-07-21 Marko Myllynen <myllynen@redhat.com>
98 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
100 * charmaps/ANSI_X3.4-1968: Likewise.
101 * charmaps/BS_4730: Likewise.
102 * charmaps/BS_VIEWDATA: Likewise.
103 * charmaps/CP1250: Likewise.
104 * charmaps/CP1251: Likewise.
105 * charmaps/CP1252: Likewise.
106 * charmaps/CP1253: Likewise.
107 * charmaps/CP1254: Likewise.
108 * charmaps/CP1255: Likewise.
109 * charmaps/CP1256: Likewise.
110 * charmaps/CSN_369103: Likewise.
111 * charmaps/EBCDIC-DK-NO: Likewise.
112 * charmaps/GB_1988-80: Likewise.
113 * charmaps/GREEK-CCITT: Likewise.
114 * charmaps/GREEK7: Likewise.
115 * charmaps/INIS-8: Likewise.
116 * charmaps/ISIRI-3342: Likewise.
117 * charmaps/ISO_2033-1983: Likewise.
118 * charmaps/ISO_5427-EXT: Likewise.
119 * locales/POSIX: Likewise.
120 * locales/ar_SA: Likewise.
121 * locales/be_BY: Likewise.
122 * locales/be_BY@latin: Likewise.
123 * locales/ca_ES: Likewise.
124 * locales/cs_CZ: Likewise.
125 * locales/da_DK: Likewise.
126 * locales/de_BE: Likewise.
127 * locales/de_CH: Likewise.
128 * locales/de_LU: Likewise.
129 * locales/en_AU: Likewise.
130 * locales/en_BW: Likewise.
131 * locales/en_CA: Likewise.
132 * locales/en_DK: Likewise.
133 * locales/en_GB: Likewise.
134 * locales/en_IE: Likewise.
135 * locales/en_NZ: Likewise.
136 * locales/en_ZA: Likewise.
137 * locales/en_ZW: Likewise.
138 * locales/es_AR: Likewise.
139 * locales/es_BO: Likewise.
140 * locales/es_CL: Likewise.
141 * locales/es_CO: Likewise.
142 * locales/es_DO: Likewise.
143 * locales/es_EC: Likewise.
144 * locales/es_ES: Likewise.
145 * locales/es_HN: Likewise.
146 * locales/es_MX: Likewise.
147 * locales/es_PA: Likewise.
148 * locales/es_PE: Likewise.
149 * locales/es_PY: Likewise.
150 * locales/es_SV: Likewise.
151 * locales/es_US: Likewise.
152 * locales/es_UY: Likewise.
153 * locales/es_VE: Likewise.
154 * locales/et_EE: Likewise.
155 * locales/fa_IR: Likewise.
156 * locales/fo_FO: Likewise.
157 * locales/fr_CA: Likewise.
158 * locales/fr_CH: Likewise.
159 * locales/gv_GB: Likewise.
160 * locales/he_IL: Likewise.
161 * locales/hr_HR: Likewise.
162 * locales/id_ID: Likewise.
163 * locales/is_IS: Likewise.
164 * locales/it_CH: Likewise.
165 * locales/iw_IL: Likewise.
166 * locales/kl_GL: Likewise.
167 * locales/ko_KR: Likewise.
168 * locales/kw_GB: Likewise.
169 * locales/lg_UG: Likewise.
170 * locales/lt_LT: Likewise.
171 * locales/lv_LV: Likewise.
172 * locales/mi_NZ: Likewise.
173 * locales/nhn_MX: Likewise.
174 * locales/nl_BE: Likewise.
175 * locales/pl_PL: Likewise.
176 * locales/sk_SK: Likewise.
177 * locales/sl_SI: Likewise.
178 * locales/sv_FI: Likewise.
179 * locales/tl_PH: Likewise.
180 * locales/tr_TR: Likewise.
181 * locales/vi_VN: Likewise.
183 2015-07-21 Khem Raj <raj.khem@gmail.com>
186 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
189 2015-07-21 Mike Frysinger <vapier@gentoo.org>
192 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
194 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
196 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
198 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
199 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
200 (spawn_thread): New function.
201 (load): Rename to reg_dtor_and_close. Move dlopen to...
202 (do_test): ... here. Use IS_LOADED to test for its
205 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
207 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
209 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
212 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
215 (si_upper): Likewise.
217 2015-07-16 David S. Miller <davem@davemloft.net>
219 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
221 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
223 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
225 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
226 fail output information.
228 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
233 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
234 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
235 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
236 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
238 2015-07-16 Mike Frysinger <vapier@gentoo.org>
240 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
241 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
242 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
243 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
245 2015-07-16 Mike Frysinger <vapier@gentoo.org>
247 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
248 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
250 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
252 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
254 * tst-nodelete-opened.c (do_test): Add comment to clarify how
257 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
260 * elf/tst-nodelete-opened.c: New test case.
261 * elf/tst-nodelete-opened-lib.c: New test case module.
262 * elf/Makefile (tests, modules-names): Use them.
263 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
266 2015-07-15 David S. Miller <davem@davemloft.net>
268 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
270 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
271 * sysdeps/sparc/sparc64/Makefile: Likewise.
272 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
273 Remove space from macro define.
274 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
276 2015-07-15 Pravin Satpute <psatpute@redhat.com>
279 * locale/iso-639.def: Update Bhili and Tulu language codes as
282 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
284 * elf/tst-leaks1.c (main): Converted to ...
286 (TEST_FUNCTION): New macro.
287 Include test-skeleton.c.
288 * localedata/tst-langinfo.c (main): Converted to ...
290 (TEST_FUNCTION): New macro.
291 Include test-skeleton.c.
292 * math/test-fpucw.c (main): Converted to ...
294 (TEST_FUNCTION): New macro.
295 Include test-skeleton.c.
296 * math/test-tgmath.c (main): Converted to ...
298 (TEST_FUNCTION): New macro.
299 Include test-skeleton.c.
300 * math/test-tgmath2.c (main): Converted to ...
302 (TEST_FUNCTION): New macro.
303 Include test-skeleton.c.
304 * setjmp/tst-setjmp.c (main): Converted to ...
306 (TEST_FUNCTION): New macro.
307 Include test-skeleton.c.
308 * stdio-common/tst-sscanf.c (main): Converted to ...
310 (TEST_FUNCTION): New macro.
311 Include test-skeleton.c.
312 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
314 (TEST_FUNCTION): New macro.
315 Include test-skeleton.c.
317 * elf/tst-audit9.c (main): Converted to ...
319 (TEST_FUNCTION): New macro.
320 Include test-skeleton.c.
322 2015-07-15 Mike Frysinger <vapier@gentoo.org>
324 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
326 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
328 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
331 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
333 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
335 2015-07-14 Roland McGrath <roland@hack.frob.com>
337 * sysdeps/generic/dl-fileid.h: New file.
338 * sysdeps/posix/dl-fileid.h: New file.
339 * sysdeps/nacl/dl-fileid.h: New file.
340 * include/link.h: Include <dl-fileid.h>.
341 (struct link_map): Replace l_dev and l_ino with l_file_id.
342 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
343 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
344 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
346 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
348 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
350 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
352 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
354 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
356 (tst-nodelete-zmodiff): Likewise.
357 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
359 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
361 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
363 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
365 * sysdeps/aarch64/fpu/math_private.h
366 (define math_opt_barrier): Add AArch64 version.
367 (math_force_eval): Likewise.
369 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
371 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
373 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
375 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
376 %ld with %jd and cast to intmax_t.
377 (do_test_length_zero): Likewise.
379 2015-07-10 Roland McGrath <roland@hack.frob.com>
381 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
383 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
385 * sysdeps/tile/libm-test-ulps: Regenerated.
387 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
388 Comment out the whole function, not just its body.
390 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
392 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
395 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
397 2015-07-10 Torvald Riegel <triegel@redhat.com>
399 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
400 (sem_assume_only_signals_cause_futex_EINTR): Remove.
402 2015-07-10 Torvald Riegel <triegel@redhat.com>
404 * sysdeps/nptl/futex-internal.h: New file.
405 * sysdeps/nacl/futex-internal.h: New file.
406 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
407 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
409 (setxid_unmark_thread): Likewise.
410 (__nptl_setxid): Likewise.
411 (__wait_lookup_done): Likewise.
412 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
413 * nptl/nptl-init.c (sighandler_setxid): Likewise.
414 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
415 * nptl/pthread_once.c (clear_once_control): Likewise.
416 (__pthread_once_slow): Likewise.
417 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
418 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
419 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
420 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
421 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
422 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
424 (__pthread_rwlock_rdlock): Likewise.
425 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
427 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
429 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
431 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
432 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
434 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
435 __ASSUME_PRIVATE_FUTEX check.
436 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
437 Check that shared futexes are supported.
438 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
439 wrappers with error checking.
440 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
441 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
442 * nptl/pthread_barrierattr_setpshared.c
443 (pthread_barrierattr_setpshared): Check that shared futexes are
445 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
447 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
449 * nptl/sem_init.c (futex_private_if_supported): Remove.
450 (__new_sem_init): Adapt and check that shared futexes are supported.
451 * nptl/sem_open.c (sem_open): Likewise.
452 * nptl/sem_post.c (futex_wake): Remove.
453 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
454 (do_futex_wait): Use futex wrappers with error checking.
455 * nptl/sem_wait.c: Include lowlevellock.h.
456 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
457 Use futex_supports_pshared.
458 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
459 Use futex wrappers with error checking.
460 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
462 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
463 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
464 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
465 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
466 (futex_wake): Likewise.
467 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
468 (do_futex_wait): Use futex wrappers with error checking.
469 (__new_sem_wait_slow): Update EINTR handling.
470 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
472 2015-07-09 Martin Sebor <msebor@redhat.com>
475 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
476 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
477 * nptl/Makefile (test-xfail-tst-once5): Define.
479 2015-07-09 Roland McGrath <roland@hack.frob.com>
481 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
482 * elf/dl-minimal.c: For readability, reorder some definitions and
483 introduce more page breaks. Include <stdio.h>.
484 (__libc_fatal): New function.
486 * include/unistd.h: Add rtld_hidden_proto for _exit.
487 * posix/_exit.c: Add rtld_hidden_def.
488 * sysdeps/mach/hurd/_exit.c: Likewise.
489 * sysdeps/nacl/_exit.c: Likewise.
490 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
491 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
493 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
495 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
496 bndmov encoding with zero displacement.
498 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
499 H.J. Lu <hongjiu.lu@intel.com>
502 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
503 * sysdeps/i386/configure: Regenerated.
504 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
505 (_dl_runtime_profile): Save and restore Intel MPX return bound
506 registers when calling _dl_call_pltexit. Add
507 PRESERVE_BND_REGS_PREFIX before return.
508 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
509 (LRV_BND1_OFFSET): Likewise.
510 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
513 typo in bndmov encoding.
514 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
515 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
516 branch instructions to preserve bounds.
518 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
521 [GLIBC_2.22]: Add fmemopen.
523 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
525 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
526 returns an error, also try to use host port from __mach_host_self for
528 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
530 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
534 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
535 Fix pr_uid and pr_gid members.
536 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
537 definition to elf_greg_t.
539 2015-07-08 Roland McGrath <roland@hack.frob.com>
542 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
543 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
544 * sysdeps/arm/configure: Regenerated.
545 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
546 (test-xfail-tst-tlsalign-static): Variable removed.
548 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
549 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
550 rather than explicit 'ln -s'.
552 * resolv/rpc/netdb.h: New file.
553 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
555 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
557 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
559 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
568 * include/stdio.h (fmemopen): Remove hidden prototype.
569 (__fmemopen): Add new hidden prototype.
570 * libio/Makefile: Add oldfmemopen object.
571 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
572 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
574 * libio/oldfmemopen.c: New file: old fmemopen implementation for
575 symbol compatibility.
576 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
577 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
579 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
580 on append and read mode.
581 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
583 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
584 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
585 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
586 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
588 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
589 [GLIBC_2.22]: Likewise.
590 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
592 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
594 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
595 [GLIBC_2.22]: Likewise.
596 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
597 [GLIBC_2.22]: Likewise.
598 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
599 [GLIBC_2.22]: Likewise.
600 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
601 [GLIBC_2.22]: Likewise.
602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
603 [GLIBC_2.22]: Likewise.
604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
605 [GLIBC_2.22]: Likewise.
606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
607 [GLIBC_2.22]: Likewise.
608 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
610 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
612 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
613 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
614 [GLIBC_2.22]: Likewise.
615 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
616 [GLIBC_2.22]: Likewise.
617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
618 [GLIBC_2.22]: Likewise.
619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
620 [GLIBC_2.22]: Likewise.
621 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
623 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
625 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
627 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
628 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
630 2015-07-08 Carlos O'Donell <carlos@redhat.com>
633 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
634 IPV6_PATHMTU, and IPV6_DONTFRAG.
636 2015-07-08 Feng Gao <gfree.wind@gmail.com>
638 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
640 * libio/oldfileops.c: Likewise.
641 * libio/wfileops.c: Likewise.
643 2015-07-08 Mike Frysinger <vapier@gentoo.org>
645 * nscd/selinux.c: Delete selinux/flask.h include.
647 2015-07-08 Mike Frysinger <vapier@gentoo.org>
650 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
651 (putpwent): Likewise.
652 (getpwnam): Likewise.
653 (getpwent_r): Likewise.
654 (getpwuid_r): Likewise.
655 (getpwnam_r): Likewise.
656 (fgetpwent_r): Likewise.
658 2015-07-08 Carlos O'Donell <carlos@redhat.com>
661 * inet/rcmd.c (__validuser2_sa): Check user first to
662 short-circuit host check.
664 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
665 Mikhail Ilin <m.ilin@samsung.com>
668 * elf/Makefile (tests): Add tst-nodelete.
669 (modules-names): Add tst-nodelete-uniquemod.
670 (tst-nodelete-uniquemod.so-no-z-defs): New.
671 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
672 (tst-nodelete-zmod.so-no-z-defs): Likewise.
673 ($(objpfx)tst-nodelete): Likewise.
674 ($(objpfx)tst-nodelete.out): Likewise.
675 (LDFLAGS-tst-nodelete): Likewise.
676 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
677 * elf/dl-close.c (_dl_close_worker): Add a parameter to
678 implement forced object deletion.
679 (_dl_close): Pass false to _dl_close_worker.
680 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
681 * elf/tst-nodelete.cc: New file.
682 * elf/tst-nodeletelib.cc: Likewise.
683 * elf/tst-znodeletelib.cc: Likewise.
684 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
686 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
689 * stdlib/Makefile ($(objpfx)tst-makecontext3):
691 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
692 is not called infinitely times.
693 (backtrace_helper): New function.
694 (trace_arg): New struct.
695 (st1): Enlarge stack size.
696 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
697 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
698 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
701 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
703 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
705 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
707 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
708 Include sys/types.h instead of bits/types.h.
709 Remove inclusion of bits/wordsize.h.
711 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
713 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
714 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
715 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
716 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
717 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
718 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
720 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
722 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
724 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
725 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
726 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
728 * sysdeps/i386/link-defines.sym: New file.
730 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
732 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
733 (modules-names): Add tst-auditmod3a tst-auditmod3b.
734 ($(objpfx)tst-audit3): New rule.
735 ($(objpfx)tst-audit3.out): Likewise.
736 * sysdeps/i386/tst-audit3.c: New file.
737 * sysdeps/i386/tst-audit3.h: Likewise.
738 * sysdeps/i386/tst-auditmod3a.c: Likewise.
739 * sysdeps/i386/tst-auditmod3b.c: Likewise.
741 2015-07-07 Torvald Riegel <triegel@redhat.com>
744 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
746 (__strcat_c): Likewise.
747 (__strcat_g): Likewise.
749 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
752 * misc/sbrk.c: Set errno to ENOMEM on overflow.
754 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
756 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
757 New function. (__ieee754_sqrtf): New function.
758 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
760 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
763 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
765 * sysdeps/ieee754/support.c: Remove unused file.
767 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
769 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
770 registers instead of d ones so the layout is kernel abi compatible.
771 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
772 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
775 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
777 * sysdeps/aarch64/libm-test-ulps: Regenerated.
779 2015-07-01 Joseph Myers <joseph@codesourcery.com>
782 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
783 and return argument in case of subnormal argument.
785 2015-07-01 Martin Sebor <msebor@redhat.com>
788 * nptl/Makefile: Add tst-once5.cc.
789 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
790 Remove macro redefinitions.
791 * nptl/tst-once5.cc: New test.
793 2015-07-01 Joseph Myers <joseph@codesourcery.com>
795 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
797 * sysdeps/arm/libm-test-ulps: Regenerated.
799 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
800 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
802 2015-06-30 Torvald Riegel <triegel@redhat.com>
804 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
805 lll_lock_wait_private and lll_futex_wake probes.
807 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
808 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
810 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
812 * sysdeps/x86_64/bits/atomic.h: Likewise.
813 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
814 to atomic_spin_nop and move ...
815 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
817 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
818 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
819 atomic_spin_nop instead of BUSY_WAIT_NOP.
820 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
822 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
823 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
824 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
825 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
826 instead of atomic_delay.
828 2015-06-29 Joseph Myers <joseph@codesourcery.com>
831 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
832 X_ADJ not X when adjusting exponent.
833 (__ieee754_gamma_r): Do intermediate computations in
834 round-to-nearest then adjust overflowing and underflowing results
836 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
837 of X_ADJ not X when adjusting exponent.
838 (__ieee754_gammaf_r): Do intermediate computations in
839 round-to-nearest then adjust overflowing and underflowing results
841 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
842 log of X_ADJ not X when adjusting exponent.
843 (__ieee754_gammal_r): Do intermediate computations in
844 round-to-nearest then adjust overflowing and underflowing results
845 as needed. Use 1.0L not 1.0f as numerator of division.
846 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
847 log of X_ADJ not X when adjusting exponent.
848 (__ieee754_gammal_r): Do intermediate computations in
849 round-to-nearest then adjust overflowing and underflowing results
850 as needed. Use 1.0L not 1.0f as numerator of division.
851 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
852 of X_ADJ not X when adjusting exponent.
853 (__ieee754_gammal_r): Do intermediate computations in
854 round-to-nearest then adjust overflowing and underflowing results
855 as needed. Use 1.0L not 1.0f as numerator of division.
856 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
857 to auto-libm-test-in.
858 (tgamma_test): Use ALL_RM_TEST.
859 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
860 tests of tgamma with spurious-overflow.
861 * math/auto-libm-test-out: Regenerated.
862 * math/gen-libm-have-vector-test.sh: Do not check for START.
863 * sysdeps/i386/fpu/libm-test-ulps: Update.
864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
867 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
868 arguments, just return 0.5 times the argument, with underflow
870 * math/auto-libm-test-in: Add more tests of j1.
871 * math/auto-libm-test-out: Regenerated.
874 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
875 (__ieee754_j1): Force underflow exception for small results.
876 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
877 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
878 (__ieee754_j1f): Force underflow exception for small results.
879 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
880 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
881 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
882 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
883 (__ieee754_j1l): Force underflow exception for small results.
884 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
885 * math/auto-libm-test-in: Add more tests of j1 and jn.
886 * math/auto-libm-test-out: Regenerated.
888 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
889 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
893 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
895 (MS_RMT_MASK): Include MS_LAZYTIME.
897 2015-06-26 Mel Gorman <mgorman@suse.de>
900 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
903 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
905 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
906 (DT_MIPS_NUM): Update.
907 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
910 2015-06-25 Joseph Myers <joseph@codesourcery.com>
914 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
915 round-to-nearest internally then recompute results that
916 underflowed to zero in the original rounding mode.
917 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
918 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
919 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
920 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
921 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
922 * sysdeps/i386/fpu/libm-test-ulps: Update.
923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
925 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
927 * NEWS: Fixed description of link with vector math library.
929 2015-06-25 Andreas Schwab <schwab@suse.de>
932 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
933 * libio/test-fmemopen.c (do_test): Add test for it.
935 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
938 * Makeconfig (no-pie-ldflag): New.
939 (+link): Set to $(+link-pie) if default to PIE.
940 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
941 * config.make.in (build-pie-default): New.
942 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
943 is default. AC_SUBST.
944 * configure: Regenerated.
945 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
947 2015-06-24 Roland McGrath <roland@hack.frob.com>
949 * nptl/descr.h (struct pthread): Change type of field setxid_futex
952 * resolv/gai_misc.h (struct waitlist): Change type of field
953 counterp to 'volatile unsigned int *'.
954 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
955 FUTEXADDR and OLDVAL.
956 * resolv/getaddrinfo_a.c (getaddrinfo_a):
957 Give local variable TOTAL type 'volatile unsigned int'.
958 (struct async_waitlist): Change type of field counter to 'unsigned int'.
959 * resolv/gai_suspend.c (gai_suspend):
960 Give local variable CNTR type 'unsigned int'.
962 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
963 counterp to 'volatile unsigned int *'.
964 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
965 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
966 (aio_suspend): Give local variable CNTR type 'unsigned int'.
967 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
968 Give local variable TOTAL type 'volatile unsigned int'.
969 (struct async_waitlist): Change type of field counter to 'unsigned int'.
971 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
974 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
975 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
976 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
977 comment for i386/x86-64.
978 (test-xfail-tst-tlsalign-extern-static): Removed.
980 2015-06-24 Joseph Myers <joseph@codesourcery.com>
982 * math/test-double.h: New file.
983 * math/test-float.h: Likewise.
984 * math/test-ldouble.h: Likewise.
985 * math/test-math-inline.h: Likewise.
986 * math/test-math-no-inline.h: Likewise.
987 * math/test-math-scalar.h: Likewise.
988 * math/test-math-vector.h: Likewise.
989 * math/test-vec-loop.h: Remove file. Contents moved into
991 * math/libm-test.inc (MATHCONST): Do not document macro.
992 * math/test-double.c: Include test-double.h, test-math-no-inline.h
993 and test-math-scalar.h.
994 (FUNC): Remove macro.
995 (FUNC_TEST): Likewise.
997 (MATHCONST): Likewise.
998 (PRINTF_EXPR): Likewise.
999 (PRINTF_XEXPR): Likewise.
1000 (PRINTF_NEXPR): Likewise.
1001 (TEST_DOUBLE): Likewise.
1002 (TEST_MATHVEC): Likewise.
1003 (__NO_MATH_INLINES): Likewise.
1004 * math/test-float.c: Include test-float.h, test-math-no-inline.h
1005 and test-math-scalar.h.
1006 (FUNC): Remove macro.
1007 (FUNC_TEST): Likewise.
1009 (MATHCONST): Likewise.
1010 (PRINTF_EXPR): Likewise.
1011 (PRINTF_XEXPR): Likewise.
1012 (PRINTF_NEXPR): Likewise.
1013 (TEST_FLOAT): Likewise.
1014 (TEST_MATHVEC): Likewise.
1015 (__NO_MATH_INLINES): Likewise.
1016 * math/test-idouble.c: Include test-double.h, test-math-inline.h
1017 and test-math-scalar.h.
1018 (FUNC): Remove macro.
1019 (FUNC_TEST): Likewise.
1021 (MATHCONST): Likewise.
1022 (PRINTF_EXPR): Likewise.
1023 (PRINTF_XEXPR): Likewise.
1024 (PRINTF_NEXPR): Likewise.
1025 (TEST_DOUBLE): Likewise.
1026 (TEST_MATHVEC): Likewise.
1027 (TEST_INLINE): Likewise.
1028 (__NO_MATH_INLINES): Likewise.
1029 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
1031 (FUNC): Remove macro.
1032 (FUNC_TEST): Likewise.
1034 (MATHCONST): Likewise.
1035 (PRINTF_EXPR): Likewise.
1036 (PRINTF_XEXPR): Likewise.
1037 (PRINTF_NEXPR): Likewise.
1038 (TEST_FLOAT): Likewise.
1039 (TEST_MATHVEC): Likewise.
1040 (TEST_INLINE): Likewise.
1041 (__NO_MATH_INLINES): Likewise.
1042 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
1043 and test-math-scalar.h.
1044 (FUNC): Remove macro.
1045 (FUNC_TEST): Likewise.
1047 (MATHCONST): Likewise.
1048 (PRINTF_EXPR): Likewise.
1049 (PRINTF_XEXPR): Likewise.
1050 (PRINTF_NEXPR): Likewise.
1051 (TEST_LDOUBLE): Likewise.
1052 (TEST_MATHVEC): Likewise.
1053 (TEST_INLINE): Likewise.
1054 (__NO_MATH_INLINES): Likewise.
1055 * math/test-ldouble.c: Include test-ldouble.h,
1056 test-math-no-inline.h and test-math-scalar.h.
1057 (FUNC): Remove macro.
1058 (FUNC_TEST): Likewise.
1060 (MATHCONST): Likewise.
1061 (PRINTF_EXPR): Likewise.
1062 (PRINTF_XEXPR): Likewise.
1063 (PRINTF_NEXPR): Likewise.
1064 (TEST_LDOUBLE): Likewise.
1065 (TEST_MATHVEC): Likewise.
1066 (__NO_MATH_INLINES): Likewise.
1067 * math/test-double-vlen2.h: Include test-double.h,
1068 test-math-no-inline.h and test-math-vector.h.
1069 (FLOAT): Remove macro.
1071 (MATHCONST): Likewise.
1072 (PRINTF_EXPR): Likewise.
1073 (PRINTF_XEXPR): Likewise.
1074 (PRINTF_NEXPR): Likewise.
1075 (TEST_DOUBLE): Likewise.
1076 (TEST_MATHVEC): Likewise.
1077 (__NO_MATH_INLINES): Likewise.
1080 (WRAPPER_NAME): Likewise.
1081 (WRAPPER_DECL): Likewise.
1082 (WRAPPER_DECL_ff): Likewise.
1083 (WRAPPER_DECL_fFF): Likewise.
1084 (VECTOR_WRAPPER): Likewise.
1085 (VECTOR_WRAPPER_ff): Likewise.
1086 (VECTOR_WRAPPER_fFF): Likewise.
1087 (VEC_LEN): New macro.
1088 * math/test-double-vlen4.h: Include test-double.h,
1089 test-math-no-inline.h and test-math-vector.h.
1090 (FLOAT): Remove macro.
1092 (MATHCONST): Likewise.
1093 (PRINTF_EXPR): Likewise.
1094 (PRINTF_XEXPR): Likewise.
1095 (PRINTF_NEXPR): Likewise.
1096 (TEST_DOUBLE): Likewise.
1097 (TEST_MATHVEC): Likewise.
1098 (__NO_MATH_INLINES): Likewise.
1101 (WRAPPER_NAME): Likewise.
1102 (WRAPPER_DECL): Likewise.
1103 (WRAPPER_DECL_ff): Likewise.
1104 (WRAPPER_DECL_fFF): Likewise.
1105 (VECTOR_WRAPPER): Likewise.
1106 (VECTOR_WRAPPER_ff): Likewise.
1107 (VECTOR_WRAPPER_fFF): Likewise.
1108 (VEC_LEN): New macro.
1109 * math/test-double-vlen8.h: Include test-double.h,
1110 test-math-no-inline.h and test-math-vector.h.
1111 (FLOAT): Remove macro.
1113 (MATHCONST): Likewise.
1114 (PRINTF_EXPR): Likewise.
1115 (PRINTF_XEXPR): Likewise.
1116 (PRINTF_NEXPR): Likewise.
1117 (TEST_DOUBLE): Likewise.
1118 (TEST_MATHVEC): Likewise.
1119 (__NO_MATH_INLINES): Likewise.
1122 (WRAPPER_NAME): Likewise.
1123 (WRAPPER_DECL): Likewise.
1124 (WRAPPER_DECL_ff): Likewise.
1125 (WRAPPER_DECL_fFF): Likewise.
1126 (VECTOR_WRAPPER): Likewise.
1127 (VECTOR_WRAPPER_ff): Likewise.
1128 (VECTOR_WRAPPER_fFF): Likewise.
1129 (VEC_LEN): New macro.
1130 * math/test-float-vlen4.h: Include test-float.h,
1131 test-math-no-inline.h and test-math-vector.h.
1132 (FLOAT): Remove macro.
1134 (MATHCONST): Likewise.
1135 (PRINTF_EXPR): Likewise.
1136 (PRINTF_XEXPR): Likewise.
1137 (PRINTF_NEXPR): Likewise.
1138 (TEST_FLOAT): Likewise.
1139 (TEST_MATHVEC): Likewise.
1140 (__NO_MATH_INLINES): Likewise.
1143 (WRAPPER_NAME): Likewise.
1144 (WRAPPER_DECL): Likewise.
1145 (WRAPPER_DECL_ff): Likewise.
1146 (WRAPPER_DECL_fFF): Likewise.
1147 (VECTOR_WRAPPER): Likewise.
1148 (VECTOR_WRAPPER_ff): Likewise.
1149 (VECTOR_WRAPPER_fFF): Likewise.
1150 (VEC_LEN): New macro.
1151 * math/test-float-vlen8.h: Include test-float.h,
1152 test-math-no-inline.h and test-math-vector.h.
1153 (FLOAT): Remove macro.
1155 (MATHCONST): Likewise.
1156 (PRINTF_EXPR): Likewise.
1157 (PRINTF_XEXPR): Likewise.
1158 (PRINTF_NEXPR): Likewise.
1159 (TEST_FLOAT): Likewise.
1160 (TEST_MATHVEC): Likewise.
1161 (__NO_MATH_INLINES): Likewise.
1164 (WRAPPER_NAME): Likewise.
1165 (WRAPPER_DECL): Likewise.
1166 (WRAPPER_DECL_ff): Likewise.
1167 (WRAPPER_DECL_fFF): Likewise.
1168 (VECTOR_WRAPPER): Likewise.
1169 (VECTOR_WRAPPER_ff): Likewise.
1170 (VECTOR_WRAPPER_fFF): Likewise.
1171 (VEC_LEN): New macro.
1172 * math/test-float-vlen16.h: Include test-float.h,
1173 test-math-no-inline.h and test-math-vector.h.
1174 (FLOAT): Remove macro.
1176 (MATHCONST): Likewise.
1177 (PRINTF_EXPR): Likewise.
1178 (PRINTF_XEXPR): Likewise.
1179 (PRINTF_NEXPR): Likewise.
1180 (TEST_FLOAT): Likewise.
1181 (TEST_MATHVEC): Likewise.
1182 (__NO_MATH_INLINES): Likewise.
1185 (WRAPPER_NAME): Likewise.
1186 (WRAPPER_DECL): Likewise.
1187 (WRAPPER_DECL_ff): Likewise.
1188 (WRAPPER_DECL_fFF): Likewise.
1189 (VECTOR_WRAPPER): Likewise.
1190 (VECTOR_WRAPPER_ff): Likewise.
1191 (VECTOR_WRAPPER_fFF): Likewise.
1192 (VEC_LEN): New macro.
1193 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
1195 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1196 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1197 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1198 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1199 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1200 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1201 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1203 2015-06-24 Roland McGrath <roland@hack.frob.com>
1205 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
1206 (__getlogin_r): ... this.
1208 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1211 * math/s_ccosh.c (__ccosh): Compare with least normal value
1212 instead of comparing class with FP_SUBNORMAL.
1213 * math/s_ccoshf.c (__ccoshf): Likewise.
1214 * math/s_ccoshl.c (__ccoshl): Likewise.
1215 * math/s_cexp.c (__cexp): Likewise.
1216 * math/s_cexpf.c (__cexpf): Likewise.
1217 * math/s_cexpl.c (__cexpl): Likewise.
1218 * math/s_csin.c (__csin): Likewise.
1219 * math/s_csinf.c (__csinf): Likewise.
1220 * math/s_csinh.c (__csinh): Likewise.
1221 * math/s_csinhf.c (__csinhf): Likewise.
1222 * math/s_csinhl.c (__csinhl): Likewise.
1223 * math/s_csinl.c (__csinl): Likewise.
1224 * math/s_ctan.c (__ctan): Likewise.
1225 * math/s_ctanf.c (__ctanf): Likewise.
1226 * math/s_ctanh.c (__ctanh): Likewise.
1227 * math/s_ctanhf.c (__ctanhf): Likewise.
1228 * math/s_ctanhl.c (__ctanhl): Likewise.
1229 * math/s_ctanl.c (__ctanl): Likewise.
1230 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
1231 csin, csinh, ctan and ctanh.
1232 * math/auto-libm-test-out: Regenerated.
1233 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
1234 * sysdeps/i386/fpu/libm-test-ulps: Update.
1235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1237 2015-06-24 Roland McGrath <roland@hack.frob.com>
1239 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
1240 return value is wrong, print the expected value too.
1242 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
1245 * elf/readlib.c (is_gdb_python_file): New.
1246 (process_file): Don't issue errors on filenames with -gdb.py
1249 2015-06-24 Joseph Myers <joseph@codesourcery.com>
1251 * math/auto-libm-test-in: Add more tests of csin and csinh.
1252 * math/auto-libm-test-out: Regenerated.
1253 * math/libm-test.inc (csin_test_data): Remove tests moved to
1255 (csinh_test_data): Likewise.
1258 * math/s_csin.c (__csin): Negate before rather than after possibly
1259 overflowing multiplication.
1260 * math/s_csinf.c (__csinf): Likewise.
1261 * math/s_csinh.c (__csinh): Likewise.
1262 * math/s_csinhf.c (__csinhf): Likewise.
1263 * math/s_csinhl.c (__csinhl): Likewise.
1264 * math/s_csinl.c (__csinl): Likewise.
1265 * math/auto-libm-test-in: Add some tests of csin and csinh.
1266 * math/auto-libm-test-out: Regenerated.
1267 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
1268 (csinh_test_data): Likewise.
1269 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1272 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
1273 underflow exception for small results.
1275 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
1277 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1278 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
1279 variable and included header.
1280 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
1281 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
1282 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
1283 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
1284 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
1285 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1286 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1287 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
1288 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
1289 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
1290 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
1291 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
1292 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
1293 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
1294 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
1295 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
1297 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1301 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
1302 (__sin): Force underflow exception for arguments with small
1304 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
1305 (__kernel_sinf): Force underflow exception for arguments with
1306 small absolute value.
1307 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
1308 (__kernel_sincosl): Force underflow exception for arguments with
1309 small absolute value.
1310 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
1311 (__kernel_sinl): Force underflow exception for arguments with
1312 small absolute value.
1313 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
1314 (__kernel_sincosl): Force underflow exception for arguments with
1315 small absolute value.
1316 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
1317 (__kernel_sinl): Force underflow exception for arguments with
1318 small absolute value.
1319 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
1320 (__kernel_sinl): Force underflow exception for arguments with
1321 small absolute value.
1322 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
1323 (__kernel_sinf): Force underflow exception for arguments with
1324 small absolute value.
1325 * math/auto-libm-test-in: Add more tests of sin and sincos.
1326 * math/auto-libm-test-out: Regenerated.
1330 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
1331 (__kernel_standard_l): Use feholdexcept and fesetenv around
1332 conversion to double instead of special-casing overflow and
1334 * math/libm-test.inc (fmod_test_data): Add more tests.
1335 (remainder_test_data): Likewise.
1336 (sqrt_test_data): Likewise.
1338 2015-06-23 Torvald Riegel <triegel@redhat.com>
1341 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
1342 atomic_read_barrier, atomic_write_barrier): Define.
1343 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
1344 atomic_read_barrier, atomic_write_barrier): Define.
1346 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1348 * math/Makefile [$(PERL) != no]
1349 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
1350 dependency on libm-test.stmp below the inclusion of Rules.
1352 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
1354 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
1355 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
1356 and included header.
1357 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
1358 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
1359 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
1360 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
1361 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
1362 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
1363 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1364 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1365 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
1366 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
1367 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
1368 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
1369 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
1370 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
1371 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
1372 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
1373 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
1374 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
1375 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
1377 2015-06-23 Joseph Myers <joseph@codesourcery.com>
1380 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
1381 intermediate but not final result might underflow.
1382 * math/s_csqrtf.c (__csqrtf): Likewise.
1383 * math/s_csqrtl.c (__csqrtl): Likewise.
1384 * math/auto-libm-test-in: Add more tests of csqrt.
1385 * math/auto-libm-test-out: Regenerated.
1386 * sysdeps/i386/fpu/libm-test-ulps: Update.
1389 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
1390 threshold on absolute value of exponent for which scaling is used.
1391 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1392 * math/auto-libm-test-in: Add more tests of exp2.
1393 * math/auto-libm-test-out: Regenerated.
1395 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
1398 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
1399 when initializing interface list, based on the bug analysis
1400 and the patch proposed by Eric Newton.
1401 * resolv/tst-res_hconf_reorder.c: New test.
1402 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
1403 tst-res_hconf_reorder.
1404 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
1405 and $(shared-thread-library).
1406 (tst-res_hconf_reorder-ENV): New variable.
1408 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
1411 2015-06-22 Joseph Myers <joseph@codesourcery.com>
1414 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
1415 (__expm1): Force underflow exception for arguments with small
1417 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
1418 (__expm1f): Force underflow exception for arguments with small
1420 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
1421 (__expm1): Force underflow exception for arguments with small
1423 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
1424 (__expm1f): Force underflow exception for arguments with small
1426 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1427 Check for small arguments before calling __expm1.
1428 * math/auto-libm-test-in: Do not mark underflow exceptions as
1429 possibly missing for bug 16353.
1430 * math/auto-libm-test-out: Regenerated.
1432 2015-06-22 Andreas Schwab <schwab@suse.de>
1435 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
1438 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
1440 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
1442 * string/strcoll_l.c: Remove unused struct element idxnow.
1444 2015-06-21 Joseph Myers <joseph@codesourcery.com>
1447 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
1448 underflow and return argument in case of subnormal argument.
1449 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1451 * math/auto-libm-test-in: Add more tests of expm1.
1452 * math/auto-libm-test-out: Regenerated.
1455 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1456 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1458 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
1459 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
1461 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
1462 mark underflow exceptions as possibly missing for bug 16361.
1463 * math/auto-libm-test-out: Regenerated.
1465 2015-06-19 Joseph Myers <joseph@codesourcery.com>
1467 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
1468 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
1470 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1471 (test-xfail-XOPEN2K8/utmpx.h/conform).
1473 * conform/conformtest.pl ($xerrors): New variable.
1474 (note_error): New function.
1475 (compiletest): New argument $xfail. Use not_error.
1476 (runtest): Likewise.
1477 (top level): Handle xfail- lines. Update calls to compiletest and
1478 runtest. Handle xfail- and optional- in headers listed with
1480 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
1482 (O_SEARCH): Likewise.
1483 * conform/data/stropts.h-data (ioctl): Likewise.
1484 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
1485 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
1486 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
1487 (msghdr.msg_controllen): Likewise.
1488 (cmsghdr.cmsg_len): Likewise.
1489 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
1490 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
1492 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1493 (test-xfail-XPG4/stropts.h/conform): Likewise.
1494 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1495 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1496 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1497 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1498 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1499 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1500 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1501 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1502 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1503 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1504 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1505 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1506 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1507 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1508 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1509 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1510 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1511 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1512 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1514 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
1516 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
1517 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
1518 definitions for proper unfolding of __MATHDECL_VEC.
1520 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1522 * benchtests/bench-strcoll.c:
1524 (main): Remove unused variable res.
1526 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1528 * timezone/Makefile (%/UTC %/Universal):
1529 Generate test-result files for UTC and Universal.
1531 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
1533 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1535 2015-06-18 Joseph Myers <joseph@codesourcery.com>
1538 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
1539 for arguments with small absolute value.
1540 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
1541 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
1542 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
1543 (__asinh): Force underflow exception for arguments with small
1545 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1546 (__asinhf): Force underflow exception for arguments with small
1548 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1549 (__asinhl): Force underflow exception for arguments with small
1551 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1552 (__asinhl): Force underflow exception for arguments with small
1554 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1555 (__asinhl): Force underflow exception for arguments with small
1557 * math/auto-libm-test-in: Do not mark underflow exceptions as
1558 possibly missing for bug 16350.
1559 * math/auto-libm-test-out: Regenerated.
1561 * include/bits/ipc.h: Remove file.
1562 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1564 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1565 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1566 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1567 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1568 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1569 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1570 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1571 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1572 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1574 * math/auto-libm-test-in: Remove spurious underflow allowance for
1576 * math/auto-libm-test-out: Regenerated.
1579 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1580 unconditional definition.
1581 (MCAST_BLOCK_SOURCE): Likewise.
1582 (MCAST_UNBLOCK_SOURCE): Likewise.
1583 (MCAST_LEAVE_GROUP): Likewise.
1584 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1585 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1586 (MCAST_MSFILTER): Likewise.
1587 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1589 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1590 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1591 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1592 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1593 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1595 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
1597 * NEWS: Mention addition of x86_64 vector sincosf.
1598 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1599 * math/test-float-vlen4.h: Likewise.
1600 * math/test-float-vlen8.h: Likewise.
1601 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1602 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1603 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1604 * sysdeps/x86_64/fpu/Versions: New versions added.
1605 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1606 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1607 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1608 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1609 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1610 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1611 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1612 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1613 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1614 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1615 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1616 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1617 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1618 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1619 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1620 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1621 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1622 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1623 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1624 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1625 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1626 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1627 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1628 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1630 * NEWS: Mention addition of x86_64 vector sincos.
1631 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1632 * math/math.h (__MATHDECL_VEC): New macro.
1633 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1634 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1635 declaration under condition.
1636 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1637 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1638 TEST_VEC_LOOP change.
1639 * math/test-double-vlen4.h: Likewise.
1640 * math/test-double-vlen8.h: Likewise.
1641 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1642 * math/test-float-vlen4.h: Likewise.
1643 * math/test-float-vlen8.h: Likewise.
1644 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1645 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1646 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1647 * sysdeps/x86_64/fpu/Versions: New versions added.
1648 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1649 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1650 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1651 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1652 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1653 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1654 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1655 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1656 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1657 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1658 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1659 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1660 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1661 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1662 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1663 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1664 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1665 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1666 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1667 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1668 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1669 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1670 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1671 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1673 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1674 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1675 redirections for powf.
1676 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1677 * sysdeps/x86_64/fpu/Versions: New versions added.
1678 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1679 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1680 Added build of SSE, AVX2 and AVX512 IFUNC versions.
1681 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1682 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1683 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1684 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1685 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1686 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1687 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1688 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1689 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1690 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1691 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1692 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1693 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1694 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1695 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1696 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1697 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1698 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1699 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1700 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1701 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1702 * math/test-float-vlen16.h: Fixed 2 argument macro.
1703 * math/test-float-vlen4.h: Likewise.
1704 * math/test-float-vlen8.h: Likewise.
1705 * NEWS: Mention addition of x86_64 vector powf.
1707 2015-06-17 Joseph Myers <joseph@codesourcery.com>
1709 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1711 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1713 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1714 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1715 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1718 * resource/getpriority.c (getpriority): Rename to __getpriority
1719 and define as weak alias of __getpriority.
1720 * resource/setpriority.c (setpriority): Rename to __setpriority
1721 and define as weak alias of __setpriority.
1722 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1723 __getpriority and define as weak alias of __getpriority.
1724 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1725 __setpriority and define as weak alias of __setpriority.
1726 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1728 (setpriority): Use __setpriority as strong name.
1729 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1730 __getpriority and define as weak alias of __getpriority.
1731 * include/sys/resource.h (__getpriority): Declare. Use
1733 (__setpriority): Likewise.
1734 (getpriority): Don't use libc_hidden_proto.
1735 (setpriority): Likewise.
1736 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1737 getpriority. Call __setpriority instead of setpriority.
1738 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1742 * misc/getttyent.c (getttynam): Rename to __getttynam and define
1743 as weak alias of __getttynam. Use prototype function definition.
1744 Call __setttyent, __getttyent and __endttyent instead of
1745 setttyent, getttyent and endttyent.
1746 (getttyent): Rename to __getttyent and define as weak alias of
1747 __getttyent. Call __setttyent instead of setttyent. Call
1748 __fgets_unlocked instead of fgets_unlocked.
1749 (setttyent): Rename to __setttyent and define as weak alias of
1751 (endttyent): Rename to __endttyent and define as weak alias of
1753 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
1754 (__setttyent): Likewise.
1755 (__endttyent): Likewise.
1756 (getttyent): Don't use libc_hidden_proto.
1757 (setttyent): Likewise.
1758 (endttyent): Likewise.
1759 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1760 __endttyent instead of setttyent, getttyent and endttyent.
1761 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1765 * socket/recv.c (__recv): Use libc_hidden_def.
1766 * socket/socket.c (__socket): Likewise.
1767 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1768 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1769 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1770 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1771 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1773 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1775 * include/sys/socket.h (__socket): Do not use attribute_hidden.
1776 Use libc_hidden_proto.
1778 * socket/Versions (libc): Export __recv and __socket at version
1780 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1782 (init_mq_netlink): Call __socket instead of socket.
1783 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1787 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1788 __mq_timedreceive and define as alias of __mq_timedreceive. Use
1790 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1791 define as alias of __mq_timedsend. Use hidden_weak.
1792 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1793 __mq_timedsend as strong name.
1794 (mq_timedreceive): Use __mq_timedreceive as strong name.
1795 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
1796 (__mq_timedreceive): Likewise.
1797 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1798 __mq_timedreceive instead of mq_timedreceive.
1799 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1800 instead of mq_timedsend.
1801 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1804 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1805 hidden_def and hidden_weak instead of libc_hidden_def and
1807 (top level): Refer to hidden_def in comment.
1808 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1809 macro. Use it instead of libc_hidden_def.
1810 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1811 specify __GI_* name explicitly.
1812 (mq_timedreceive): Likewise.
1813 (mq_setattr): Likewise.
1816 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1817 __pthread_barrier_init and define as weak alias of
1818 __pthread_barrier_init.
1819 * sysdeps/sparc/nptl/pthread_barrier_init.c
1820 (pthread_barrier_init): Likewise.
1821 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1822 __pthread_barrier_wait and define as weak alias of
1823 __pthread_barrier_wait.
1824 * sysdeps/sparc/nptl/pthread_barrier_wait.c
1825 (pthread_barrier_wait): Likewise.
1826 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1827 (pthread_barrier_wait): Likewise.
1828 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1829 (pthread_barrier_wait): Likewise.
1830 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1831 (pthread_barrier_wait): Likewise.
1832 * nptl/Versions (libpthread): Export __pthread_barrier_init and
1833 __pthread_barrier_wait at version GLIBC_PRIVATE.
1834 * include/pthread.h (__pthread_barrier_init): Declare.
1835 (__pthread_barrier_wait): Likewise.
1836 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1837 Call __pthread_barrier_wait instead of pthread_barrier_wait.
1838 (helper_thread): Likewise.
1839 (init_mq_netlink): Call __pthread_barrier_init instead of
1840 pthread_barrier_init.
1843 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1844 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1845 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
1846 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1848 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1852 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1853 strong alias of _IO_fflush. Use libc_hidden_def.
1854 * libio/iofflush_u.c (fflush_unlocked): Rename to
1855 __fflush_unlocked and define as weak alias of __fflush_unlocked.
1856 Use libc_hidden_weak.
1857 * include/stdio.h (__fflush_unlocked): Declare. Use
1859 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1861 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1865 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1866 define as weak alias of __addseverity.
1867 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1869 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1870 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1871 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1874 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1875 (__tfind): Likewise.
1876 (__tdelete): Likewise.
1877 (__twalk): Likewise.
1878 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1879 __twalk to GLIBC_PRIVATE.
1880 * include/search.h (__tsearch): Use libc_hidden_proto.
1881 (__tfind): Likewise.
1882 (__tdelete): Likewise.
1883 (__twalk): Likewise.
1884 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1885 Call __tdelete instead of tdelete.
1886 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1887 tfind. Call __tsearch instead of tsearch.
1888 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1889 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1891 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1894 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1895 (dprintf): Define as a weak alias of __dprintf, not a strong
1897 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
1898 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1900 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1902 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1903 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1906 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1908 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1912 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1913 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
1914 (in6addr_loopback): Rename to __in6addr_loopback and define as
1915 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
1916 * include/netinet/in.h (__in6addr_loopback): Declare. Use
1918 (__in6addr_any): Likewise.
1919 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1921 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1923 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1925 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
1927 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1928 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1929 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1930 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1931 redirections for pow.
1932 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1933 * sysdeps/x86_64/fpu/Versions: New versions added.
1934 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1935 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1936 build of SSE, AVX2 and AVX512 IFUNC versions.
1937 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1938 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1939 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1940 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1941 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1942 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1943 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1944 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1945 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1946 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1947 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1948 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1949 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1950 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1951 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1952 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1953 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1954 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1955 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1956 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1957 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1958 * NEWS: Mention addition of x86_64 vector pow.
1960 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1961 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1962 redirections for expf.
1963 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1964 * sysdeps/x86_64/fpu/Versions: New versions added.
1965 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1966 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1967 build of SSE, AVX2 and AVX512 IFUNC versions.
1968 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1969 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1970 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1971 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1972 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1973 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1974 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1975 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1976 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1977 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1978 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1979 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1980 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1981 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1982 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1983 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1984 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1985 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1986 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1987 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1988 * NEWS: Mention addition of x86_64 vector expf.
1990 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1991 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1992 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1993 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1994 redirections for exp.
1995 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1996 * sysdeps/x86_64/fpu/Versions: New versions added.
1997 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1998 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1999 build of SSE, AVX2 and AVX512 IFUNC versions.
2000 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
2001 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
2002 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
2003 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
2004 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
2005 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
2006 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
2007 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
2008 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
2009 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
2010 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
2011 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
2012 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
2013 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2014 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2015 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2016 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2017 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2018 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2019 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2020 * NEWS: Mention addition of x86_64 vector exp.
2022 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2023 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2024 redirections for logf.
2025 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2026 * sysdeps/x86_64/fpu/Versions: New versions added.
2027 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2028 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2029 build of SSE, AVX2 and AVX512 IFUNC versions.
2030 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
2031 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
2032 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
2033 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
2034 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
2035 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
2036 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
2037 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
2038 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
2039 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
2040 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
2041 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
2042 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
2043 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2044 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2045 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2046 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2047 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2048 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2049 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2050 * NEWS: Mention addition of x86_64 vector logf.
2052 * bits/libm-simd-decl-stubs.h: Added stubs for log.
2053 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
2054 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2055 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
2056 redirections for log.
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_d_log2_core.S: New file.
2063 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
2064 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
2065 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
2066 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
2067 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
2068 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
2069 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
2070 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
2071 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
2072 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
2073 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
2074 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
2076 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2077 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2078 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2079 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2080 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2081 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2082 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2083 * NEWS: Mention addition of x86_64 vector log.
2085 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
2087 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
2088 cfi_adjust_cfa_offset argument.
2089 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
2090 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2093 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
2094 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
2095 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
2096 ordering using ldar.
2097 (_dl_tlsdesc_dynamic): Likewise.
2098 (_dl_tlsdesc_return_lazy): Likewise.
2099 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
2100 relaxed atomics instead of volatile and synchronize with release store.
2101 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
2103 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2105 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
2107 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
2108 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
2109 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2110 * sysdeps/x86_64/fpu/Versions: New versions added.
2111 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2112 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
2113 build of SSE, AVX2 and AVX512 IFUNC versions.
2114 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
2115 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
2116 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
2117 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
2118 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
2119 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
2120 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
2121 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
2122 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
2123 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
2124 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
2125 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
2126 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
2127 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2128 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2129 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2130 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2131 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2132 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2133 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2134 * NEWS: Mention addition of x86_64 vector sinf.
2136 2015-06-14 Joseph Myers <joseph@codesourcery.com>
2138 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
2139 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
2140 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
2142 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2143 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2145 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2148 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
2149 strong alias of _IO_fputs. Use libc_hidden_def.
2150 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
2151 and define as weak alias of __fputs_unlocked. Use
2153 * include/stdio.h (__fputs_unlocked): Declare. Use
2155 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
2159 * resolv/netdb.h [__USE_POSIX]: Change condition to
2161 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
2163 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
2164 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
2165 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
2166 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
2167 [XPG4 || UNIX98] (AI_ALL): Likewise.
2168 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
2169 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
2170 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
2171 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
2172 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
2173 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
2174 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
2175 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
2176 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
2177 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
2178 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
2179 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
2180 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
2181 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
2182 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
2183 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2184 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
2185 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
2186 [XPG4 || UNIX98] (gai_strerror): Likewise.
2187 [XPG4 || UNIX98] (getaddrinfo): Likewise.
2188 [XPG4 || UNIX98] (getnameinfo): Likewise.
2191 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
2192 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
2194 (getgrent): Likewise.
2195 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
2197 [XPG3 || POSIX2008] (endgrent): Likewise.
2198 [XPG3] (setgrent): Likewise.
2199 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
2201 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2204 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
2205 define as weak alias of __getlogin_r. Use libc_hidden_weak.
2206 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
2207 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
2208 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
2209 * include/unistd.h (__getlogin_r): Declare. Use
2211 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
2212 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
2214 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2215 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2216 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2218 2015-06-12 Martin Sebor <msebor@redhat.com>
2221 * Makerules (check-install-supported): New target.
2222 (install): Add check-install-supported as a dependency.
2223 * manual/install.texi (Installing the C Library): Document
2224 that overriding prefix and exec_prefix is not supported.
2226 * INSTALL: Regenerate from the above.
2228 2015-06-12 Joseph Myers <joseph@codesourcery.com>
2231 * posix/Versions (libc): Export __libc_pread at version
2233 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
2235 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
2240 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
2241 (cvt_symbol): Use weak_alias instead of strong_alias.
2242 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
2243 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
2245 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2246 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2249 * inet/herrno.c (h_errno): Rename to __h_errno.
2250 (__libc_h_errno): Define as alias of __h_errno not h_errno.
2251 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
2252 to __h_errno instead of h_errno.
2253 * nptl/herrno.c (h_errno): Rename to __h_errno.
2254 (__h_errno_location): Refer to __h_errno not h_errno.
2255 * resolv/Versions (h_errno): Rename to __h_errno.
2256 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
2258 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2260 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
2262 * configure.ac: More strict check for AVX512 assembler support.
2263 * configure: Regenerated.
2265 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
2266 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
2267 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2268 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
2269 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2270 * sysdeps/x86_64/fpu/Versions: New versions added.
2271 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2272 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2273 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2274 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
2275 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
2276 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
2277 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
2278 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
2279 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
2280 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
2281 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
2282 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
2283 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
2284 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
2285 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
2286 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
2288 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2289 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2290 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2291 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2292 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2293 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2294 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2295 * NEWS: Mention addition of x86_64 vector sin.
2297 2015-06-11 Florian Weimer <fweimer@redhat.com>
2299 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
2302 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2305 * nptl/pt-interp.c: New file.
2306 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
2308 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
2309 $(common-objpfx)runtime-linker.h.
2311 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
2313 * Makeconfig (+interp): Remove unused variable.
2314 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
2315 only. Depend on $(common-objpfx)runtime-linker.h instead of
2316 $(elf-objpfx)runtime-linker.h.
2317 ($(elf-objpfx)runtime-linker.h): Rename to
2318 $(common-objpfx)runtime-linker.h and move ...
2319 * Makerules [$(build-shared) = yes]: ... here.
2320 * elf/interp.c: Include <runtime-linker.h> instead of
2321 <elf/runtime-linker.h>.
2323 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2325 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
2326 (__gettimeofday_syscall): Remove vsyscall fallback.
2327 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
2328 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
2329 Add syscall fallback function.
2330 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
2331 if vDSO is not present.
2332 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
2334 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
2336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
2337 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
2339 2015-06-09 Joseph Myers <joseph@codesourcery.com>
2342 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
2344 (wcscmp): Define as weak alias of WCSCMP.
2345 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
2347 (USE_HIDDEN_DEF): Define.
2348 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
2349 __wcscoll. Don't use libc_hidden_weak.
2350 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
2352 * sysdeps/i386/i686/multiarch/wcscmp-c.c
2353 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
2355 (weak_alias): Undefine and redefine.
2356 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
2357 __wcscmp and define as weak alias of __wcscmp.
2358 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
2359 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
2360 (__wcscoll): Likewise.
2361 (wcscmp): Don't use libc_hidden_proto.
2362 (wcscoll): Likewise.
2363 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
2365 * posix/regexec.c (check_node_accept_bytes): Likewise.
2366 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
2368 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2369 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2372 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
2373 __fstatvfs and define as weak alias of __fstatvfs. Use
2375 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
2376 and define as weak alias of __statvfs. Use libc_hidden_weak.
2377 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
2378 Define as alias of __fstatvfs, not fstatvfs.
2379 (fstatvfs64): Likewise.
2380 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
2381 Define as alias of __statvfs, not statvfs.
2382 (statvfs64): Likewise.
2383 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
2386 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2389 (HAVE_GETCPU_VSYSCALL): Define.
2390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2391 (HAVE_GETCPU_VSYSCALL): Likewise.
2392 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
2393 * sysdeps/unix/sysv/linux/sched_getcpu.c
2394 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
2395 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
2396 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
2398 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2399 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
2400 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
2401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
2403 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
2404 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2405 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
2406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
2408 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
2410 * sysdeps/x86_64/fpu/Makefile: New file.
2411 * sysdeps/x86_64/fpu/Versions: New file.
2412 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
2413 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
2414 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
2415 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
2416 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
2417 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
2418 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
2419 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
2420 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
2421 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
2422 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
2423 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
2424 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
2425 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2426 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2427 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
2428 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
2429 * sysdeps/x86_64/configure.ac: Options for libmvec build.
2430 * sysdeps/x86_64/configure: Regenerated.
2431 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
2432 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
2433 * manual/install.texi (Configuring and compiling): Document
2435 * INSTALL: Regenerated.
2436 * NEWS: Mention addition of libmvec and x86_64 vector cos.
2438 * math/Makefile: Added rules for vector tests.
2439 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
2440 declaration under condition.
2441 * math/test-double-vlen2.h: New file.
2442 * math/test-double-vlen4.h: New file.
2443 * math/test-double-vlen8.h: New file.
2444 * math/test-vec-loop.h: Added initialization macro.
2445 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
2446 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
2447 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
2448 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
2449 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
2450 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
2451 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
2452 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
2453 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
2454 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
2455 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
2457 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
2458 * sysdeps/x86_64/fpu/Versions: New versions added.
2459 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
2460 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
2461 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
2462 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
2463 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
2464 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
2465 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
2466 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
2467 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
2468 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
2469 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
2470 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
2471 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
2472 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
2473 Added build of SSE, AVX2 and AVX512 IFUNC versions.
2474 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
2475 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
2476 * NEWS: Mention addition of x86_64 vector cosf.
2478 * math/Makefile: Added CFLAGS for new tests.
2479 * math/test-float-vlen16.h: New file.
2480 * math/test-float-vlen4.h: New file.
2481 * math/test-float-vlen8.h: New file.
2482 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
2483 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
2484 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2485 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
2486 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
2487 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
2488 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
2489 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
2490 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
2491 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
2492 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
2494 2015-06-09 Marko Myllynen <myllynen@redhat.com>
2496 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
2497 * locale/programs/ld-ctype.c: Likewise.
2499 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
2501 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
2502 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
2503 bit_ZMM16_31_state): New macro.
2504 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2505 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
2507 2015-06-08 Joseph Myers <joseph@codesourcery.com>
2509 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
2511 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
2513 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
2515 2015-06-05 Joseph Myers <joseph@codesourcery.com>
2518 * libio/memstream.c (open_memstream): Rename to __open_memstream
2519 and define as weak alias of __open_memstream.
2520 * include/stdio.h (__open_memstream): Declare. Use
2522 (open_memstream): Don't use libc_hidden_proto.
2523 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
2525 * posix/getopt.c (_getopt_internal_r): Likewise.
2526 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
2528 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2529 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2530 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2533 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
2537 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
2538 [__USE_XOPEN2K8]. Remove redundant #endif.
2539 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
2540 Remove redundant #if.
2541 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
2543 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2544 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2547 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2548 (__iswlower): Likewise.
2549 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
2550 (__iswlower): Likewise.
2551 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2552 instead of towlower.
2553 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2554 instead of iswlower. Call __towupper instead of towupper.
2555 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2556 instead of iswalnum.
2558 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2560 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2563 2015-06-05 Florian Weimer <fweimer@redhat.com>
2567 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2568 Check for overflow properly. Check for O_APPEND. Ignore large
2569 file system block sizes. Add comments about problems.
2570 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2571 * manual/filesys.texi (Storage Allocation): New node.
2573 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2575 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2576 cancellable syscalls.
2577 (SYS_ify): Add guard to no redefine it.
2578 (INLINE_SYSCALL): Likewise.
2579 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2580 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2581 SYSCALL_CANCEL instead.
2582 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2583 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2584 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2585 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2586 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2587 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2588 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2589 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2590 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2591 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2592 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2593 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2594 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2595 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2596 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2597 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2599 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2600 (__libc_pread64): Likewise.
2601 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2602 (__libc_preadv): Likewise.
2603 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2604 (__libc_readv64): Likewise.
2605 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2606 (__libc_pwrite): Likewise.
2607 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2608 (__libc_pwrite64): Likewise.
2609 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2610 (__libc_pwritev): Likewise.
2611 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2612 (__libc_pwritev64): Likewise.
2613 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2614 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2615 (sync_file_range): Likewise.
2616 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2618 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2620 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2621 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2622 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2623 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2624 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2625 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2626 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2627 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2631 (__libc_read64): Likewise.
2632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2641 (__libc_pread64): Likewise.
2642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2645 (__libc_pwrite64): Likewise.
2646 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2647 (sync_file_range): Likewise.
2648 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2649 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2650 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2651 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2652 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2653 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2654 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2655 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2656 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2657 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2658 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2659 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2660 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2661 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2662 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2663 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2664 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2665 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2666 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2668 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2670 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2671 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2673 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2674 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2675 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2676 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2678 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2679 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2680 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2681 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2682 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2684 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
2686 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2688 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2689 Use VDSO routines for gettimeofday, clock_gettime if
2691 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2692 Declare VDSO symbols.
2693 * sysdeps/unix/sysv/linux/arm/sysdep.h:
2694 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2695 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2696 * sysdeps/unix/sysv/linux/arm/Versions: Add
2697 __vdso_clock_gettime.
2699 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2701 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2702 be an inline implementation regardless of library is built within.
2703 (open_not_cancel_2): Likewise.
2704 (__read_nocancel): Likewise.
2705 (__write_nocancel): Likewise.
2706 (openat_not_cancel): Likewise.
2707 (openat_not_cancel_3): Likewise.
2708 (openat64_not_cancel): Likewise.
2709 (openat64_not_cancel_3): Likewise.
2710 (__close_nocancel): Likewise.
2711 (pause_not_cancel): Likewise.
2712 (nanosleep_not_cancel): Likewise.
2713 (sigsuspend_not_cancel): Likewise.
2715 2015-06-04 Torvald Riegel <triegel@redhat.com>
2718 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2720 (__pthread_rwlock_rdlock_slow): Likewise.
2721 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2723 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2725 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2726 * nptl/tst-rwlock16.c: New file.
2727 * nptl/Makefile (tests): Add new test.
2729 2015-06-04 Torvald Riegel <triegel@redhat.com>
2732 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2733 missing wake-up of readers.
2734 * nptl/tst-rwlock15.c: New file.
2735 * nptl/Makefile (tests): Add new test.
2737 2015-06-03 Roland McGrath <roland@hack.frob.com>
2739 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2740 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2741 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2742 and __nacl_supply_interface_rtld.
2743 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2744 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2745 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2746 Add __nacl_supply_interface_rtld.
2747 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2749 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2751 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2753 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2754 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2756 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
2758 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2759 __signbit* with standard C99 macros.
2760 * math/e_exp10l.c: Likewise.
2761 * math/e_exp2l.c: Likewise.
2762 * math/e_scalb.c: Likewise.
2763 * math/e_scalbf.c: Likewise.
2764 * math/e_scalbl.c: Likewise.
2765 * math/s_ldexp.c: Likewise.
2766 * math/s_ldexpf.c: Likewise.
2767 * math/s_ldexpl.c: Likewise.
2768 * math/w_atan2.c: Likewise.
2769 * math/w_atan2f.c: Likewise.
2770 * math/w_atan2l.c: Likewise.
2771 * math/w_cosh.c: Likewise.
2772 * math/w_coshf.c: Likewise.
2773 * math/w_coshl.c: Likewise.
2774 * math/w_exp10.c: Likewise.
2775 * math/w_exp10f.c: Likewise.
2776 * math/w_exp10l.c: Likewise.
2777 * math/w_exp2.c: Likewise.
2778 * math/w_exp2f.c: Likewise.
2779 * math/w_exp2l.c: Likewise.
2780 * math/w_fmod.c: Likewise.
2781 * math/w_fmodf.c: Likewise.
2782 * math/w_fmodl.c: Likewise.
2783 * math/w_hypot.c: Likewise.
2784 * math/w_hypotf.c: Likewise.
2785 * math/w_hypotl.c: Likewise.
2786 * math/w_jnl.c: Likewise.
2787 * math/w_lgamma.c: Likewise.
2788 * math/w_lgamma_r.c: Likewise.
2789 * math/w_lgammaf.c: Likewise.
2790 * math/w_lgammaf_r.c: Likewise.
2791 * math/w_lgammal.c: Likewise.
2792 * math/w_lgammal_r.c: Likewise.
2793 * math/w_pow.c: Likewise.
2794 * math/w_powf.c: Likewise.
2795 * math/w_powl.c: Likewise.
2796 * math/w_remainder.c: Likewise.
2797 * math/w_remainderf.c: Likewise.
2798 * math/w_remainderl.c: Likewise.
2799 * math/w_scalb.c: Likewise.
2800 * math/w_scalbf.c: Likewise.
2801 * math/w_scalbl.c: Likewise.
2802 * math/w_scalbln.c: Likewise.
2803 * math/w_scalblnf.c: Likewise.
2804 * math/w_scalblnl.c: Likewise.
2805 * math/w_sinh.c: Likewise.
2806 * math/w_sinhf.c: Likewise.
2807 * math/w_sinhl.c: Likewise.
2808 * math/w_tgamma.c: Likewise.
2809 * math/w_tgammaf.c: Likewise.
2810 * math/w_tgammal.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2817 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2818 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2819 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2820 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2821 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2822 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2823 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2824 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2825 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2826 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2827 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2828 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2831 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2832 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2833 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2835 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2836 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2837 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2838 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2839 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2840 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2841 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2842 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2843 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2844 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2845 * stdio-common/printf_fp.c: Likewise.
2846 * stdio-common/printf_fphex.c: Likewise.
2847 * stdio-common/printf_size.c: Likewise.
2849 2015-06-03 Joseph Myers <joseph@codesourcery.com>
2852 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2854 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2856 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2857 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2858 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2859 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2860 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2861 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2862 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2863 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2864 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2865 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2868 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2869 weak alias of __wmemchr. Use libc_hidden_weak.
2870 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
2871 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2874 2015-06-02 Roland McGrath <roland@hack.frob.com>
2877 * elf/tst-tlsalign-extern.c: New file.
2878 * elf/tst-tlsalign-extern-static.c: New file.
2879 * elf/tst-tlsalign-vars.c: New file.
2880 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2881 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2882 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2883 ($(objpfx)tst-tlsalign-extern-static): Likewise.
2884 (test-xfail-tst-tlsalign-extern-static): New variable.
2886 2015-06-02 Joseph Myers <joseph@codesourcery.com>
2888 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2889 Use variable name _sc_err instead of err.
2890 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2892 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2893 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2894 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2895 (INLINE_SYSCALL): Likewise.
2897 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2898 * include/string.h (__strnlen): Use libc_hidden_proto.
2899 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2900 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2901 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2902 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2903 (libc_hidden_def): Undefine and redefine.
2904 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2905 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2907 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2909 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2912 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2913 weak alias of __towlower. Use libc_hidden_weak.
2914 (towupper): Rename to __towupper and define as weak alias of
2915 __towupper. Use libc_hidden_weak.
2916 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
2917 (__towupper): Likewise.
2918 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2919 __towlower instead of towlower.
2921 2015-06-02 Roland McGrath <roland@hack.frob.com>
2923 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2924 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2926 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
2928 * sysdeps/aarch64/libm-test-ulps: Update.
2930 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2932 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2934 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2935 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2936 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2937 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2938 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2939 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2940 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2942 2015-06-01 Martin Sebor <msebor@redhat.com>
2945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2946 (__setcontext): Use extended four-operand version of mtsf whenever
2948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2949 (__novec_swapcontext): Likewise.
2951 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2953 * benchtests/scripts/compare_bench.py: New file.
2954 * benchtests/scripts/import_bench.py (mean): New function.
2955 (split_list): Likewise.
2956 (do_for_all_timings): Likewise.
2957 (compress_timings): Likewise.
2959 * benchtests/scripts/import_bench.py: New file.
2960 * benchtests/scripts/validate_benchout.py: Import import_bench
2961 instead of jsonschema.
2962 (validate_bench): Remove function.
2963 (main): Use import_bench.
2965 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
2967 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2968 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2970 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2974 2015-05-28 Roland McGrath <roland@hack.frob.com>
2976 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2977 set THREAD_SELF->tid to a magic value and futex-wake it.
2978 Pass its address to the thread_exit system call.
2979 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2981 * sysdeps/nacl/lowlevellock.h: New file.
2982 * sysdeps/nacl/lll_timedwait_tid.c: New file.
2984 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2985 Add TIMEOUT to current time, don't subtract it.
2987 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
2990 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2991 ($(objpfx)tst-audit2.out): Also depend on
2992 $(objpfx)tst-auditmod9b.so.
2993 * elf/tst-audit2.c: Include <dlfcn.h>.
2994 (calloc_called): New.
2995 (calloc): Allow to be called more than once.
2996 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2998 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
3000 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
3001 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
3003 2015-05-27 Marko Myllynen <myllynen@redhat.com>
3005 * stdlib/monetary.h: Fix comment.
3007 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
3009 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
3010 Avoid using variables in #defines that might cause shadowing.
3011 (INTERNAL_VSYSCALL_CALL): Likewise.
3013 2015-05-26 Roland McGrath <roland@hack.frob.com>
3015 * sysdeps/nacl/lll_timedlock_wait.c: New file.
3017 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
3018 * nptl/lll_timedlock_wait.c: ... to this new file.
3019 * nptl/Makefile (libpthread-routines): Add it.
3020 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
3021 * nptl/lll_timedwait_tid.c: ... to this new file.
3022 * nptl/Makefile (libpthread-routines): Add it.
3023 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
3024 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
3025 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
3026 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
3027 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
3028 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
3029 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
3030 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
3031 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
3032 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
3034 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3036 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
3037 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3038 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3039 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
3040 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
3041 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
3042 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3043 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
3044 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3045 * sysdeps/unix/sysv/linux/tile/sysdep.h
3046 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
3047 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
3048 using vDSO syscall macro.
3050 2015-05-26 Andriy Rysin <arysin@gmail.com>
3053 * uk_UA: Fix sorting order for Ukrainian locale
3055 2015-05-26 Marko Myllynen <myllynen@redhat.com>
3057 * stdlib/monetary.h: Fix comment.
3059 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
3062 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
3063 st_mtim and st_ctim members.
3064 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
3065 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
3066 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
3067 (struct stat64): Likewise.
3068 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
3069 (struct stat64): Likewise.
3070 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
3071 (struct stat64): Likewise.
3073 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3075 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
3076 Define and include sysdep-vdso.h.
3077 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
3079 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
3081 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
3082 Define with VDSO_SYMBOL and use PTR_MANGLE.
3083 (__vdso_clock_gettime): Likewise.
3084 (__vdso_clock_getres): Likewise.
3085 (_libc_vdso_platform_setup): Likewise.
3086 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3088 (_libc_vdso_platform_setup): Likewise.
3089 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
3091 (__vdso_clock_gettime): Likewise.
3092 (__vdso_clock_getres): Likewise.
3093 (__vdso_get_tbfreq): Likewise.
3094 (__vdso_getcpu): Likewise.
3095 (__vdso_time): Likewise.
3096 (__vdso_sigtramp_rt64): Likewise.
3097 (__vdso_signtramp32): Likewise.
3098 (__vdso_sigtramp_rt32): Likewise.
3099 (_libc_vdso_platform_setup): Likewise.
3100 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
3102 (__vdso_clock_gettime): Likewise.
3103 (__vdso_clock_getres): Likewise.
3104 (_libc_vdso_platform_setup): Likewise.
3105 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
3107 (__vdso_clock_gettime): Likewise.
3108 (_libc_vdso_platform_setup): Likewise.
3109 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3111 (__vdso_getcpu): Likewise.
3112 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
3113 Use VDSO_SYMBOL macro to define.
3114 (__vdso_clock_gettime): Likewise.
3115 (__vdso_clock_getres): Likewise.
3116 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
3118 (__vdso_clock_gettime): Likewise.
3119 (__vdso_clock_getres): Likewise.
3120 (__vdso_get_tbfreq): Likewise.
3121 (__vdso_getcpu): Likewise.
3122 (__vdso_time): Likewise.
3123 (__vdso_sigtramp_rt64): Likewise.
3124 (__vdso_signtramp32): Likewise.
3125 (__vdso_sigtramp_rt32): Likewise.
3126 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
3128 (__vdso_clock_gettime): Likewise.
3129 (__vdso_clock_getres): Likewise.
3130 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
3132 (__vdso_clock_gettime): Likewise.
3133 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3135 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
3137 (INTERNAL_VSYSCALL): Likewise.
3138 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
3140 (INTERNAL_VSYSCALL): Likewise.
3141 (INTERNAL_VSYSCALL_NCS): Likewise.
3142 (INTERNAL_VSYSCALL_CALL): New macro.
3143 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3144 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
3146 (INTERNAL_VSYSCALL): Likewise.
3147 (INTERNAL_VSYSCALL_NCS): Likewise.
3148 (INTERNAL_VSYSCALL_CALL): New macro.
3149 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
3150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3151 (INLINE_VSYSCALL): Remove macro.
3152 (INTERNAL_VSYSCALL): Remove macro.
3153 (INTERNAL_VSYSCALL_NCS): Remove macro.
3154 (INTERNAL_VSYSCALL_CALL): New macro.
3155 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
3156 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
3157 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3158 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
3159 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
3160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3161 (INLINE_VSYSCALL): Remove macro.
3162 (INTERNAL_VSYSCALL): Likewise.
3163 (INTERNAL_VSYSCALL_NCS): Likewise.
3164 (INTERNAL_VSYSCALL_CALL): New macro.
3165 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
3166 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
3167 PTR_DEMANGLE on vDSO pointer.
3168 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
3169 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
3171 (INTERNAL_SYSCALL): Likewise.
3172 (INTERNAL_VSYSCALL_NCS): Remove macro.
3173 (INTERNAL_VSYSCALL_CALL): New macro.
3174 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
3176 (INTERNAL_VSYSCALL): Likewise.
3177 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
3178 sysdep-vdso.h instead of libc-vdso.h.
3179 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
3181 (INLINE_VSYSCALL): Likewise.
3182 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
3183 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
3185 (INLINE_VSYSCALL): Likewise.
3186 (INTERNAL_VSYSCALL): Likewise.
3187 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3188 * sysdeps/unix/sysv/linux/timespec_get.c
3189 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
3190 (timespec_get): Use ANSI prototype.
3191 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
3192 and definition for Linux.
3194 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
3196 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
3197 * include/libc-symbols.h: libmvec_hidden_* macro series added.
3199 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
3202 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
3203 for missing DT_PLTRELSZ.
3205 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
3207 Remove obsolete aliases that broke 'locale -a'
3209 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
3210 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
3211 breaking some applications that use 'locale -a' output.
3212 Change the encoding of this file from Latin-1 to ASCII to avoid
3213 other potential problems with people grepping this file.
3215 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3217 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
3218 -fasynchronous-unwind-tables.
3219 (CFLAGS-sendto.c): Likewise.
3220 (CFLAGS-sendmsg.c): Likewise.
3221 (CFLAGS-connect.c): Likewise.
3222 (CFLAGS-recvmsg.c): Likewise.
3223 (CFLAGS-recvfrom.c): Likewise.
3224 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
3225 (SOCKETCALL): New macro: non-cancellable socketcall.
3226 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
3227 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
3228 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
3229 * sysdeps/unix/sysv/linux/accept.c: New file.
3230 * sysdeps/unix/sysv/linux/bind.c: Likewise.
3231 * sysdeps/unix/sysv/linux/connect.c: Likewise.
3232 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
3233 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
3234 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
3235 * sysdeps/unix/sysv/linux/listen.c: Likewise.
3236 * sysdeps/unix/sysv/linux/recv.c: Likewise.
3237 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
3238 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3239 * sysdeps/unix/sysv/linux/send.c: Likewise.
3240 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3241 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
3242 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
3243 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
3244 * sysdeps/unix/sysv/linux/socket.c: Likewise.
3245 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
3246 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
3248 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
3249 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3250 instead of __internal_xxx function.
3251 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
3253 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
3254 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3255 instead of __internal_xxx function.
3256 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
3258 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
3259 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
3260 instead of __internal_xxx function.
3261 * sysdeps/unix/sysv/linux/accept.S: Remove file.
3262 * sysdeps/unix/sysv/linux/bind.S: Likewise.
3263 * sysdeps/unix/sysv/linux/connect.S: Likewise.
3264 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
3265 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
3266 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
3267 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
3268 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
3269 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
3270 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
3271 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
3272 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
3273 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
3274 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
3275 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
3276 * sysdeps/unix/sysv/linux/listen.S: Likewise.
3277 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
3278 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
3279 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
3280 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
3281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
3282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
3283 * sysdeps/unix/sysv/linux/recv.S: Likewise.
3284 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
3285 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
3286 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
3287 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3288 * sysdeps/unix/sysv/linux/send.S: Likewise.
3289 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
3290 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
3291 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
3292 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
3293 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
3294 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
3295 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
3296 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
3297 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
3298 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
3299 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
3300 socketcall is implemented in GLIBC.
3302 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3304 * soft-fp/fmadf4.c: Include <libc-internal.h>.
3305 (__fma): Ignore uninitialized warnings around packing.
3306 * soft-fp/fmasf4.c: Include <libc-internal.h>.
3307 (__fmaf): Ignore uninitialized warnings around packing.
3308 * soft-fp/fmatf4.c: Include <libc-internal.h>.
3309 (__fmal): Ignore uninitialized warnings around packing.
3311 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
3312 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3313 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
3314 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
3316 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
3317 switch statement into default case.
3318 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
3320 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
3321 a conditional in forcing "inexact".
3322 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
3325 2015-05-22 Roland McGrath <roland@hack.frob.com>
3327 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3328 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
3329 for each INTERNAL_SYSCALL use.
3331 2015-05-22 Joseph Myers <joseph@codesourcery.com>
3334 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
3335 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
3339 * string/basename.c (basename): Rename to __basename and define as
3340 weak alias of __basename. Use libc_hidden_weak.
3341 * include/string.h (__basename): Declare. Use libc_hidden_proto.
3342 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
3343 __basename instead of basename.
3344 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
3346 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3348 2015-05-18 Florian Weimer <fweimer@redhat.com>
3350 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
3351 (_IO_JUMPS_FILE_plus): New.
3352 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
3353 _IO_CAST_FIELD_ACCESS.
3354 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
3355 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
3356 * libio/freopen.c (freopen): Likewise.
3357 * libio/freopen64.c (freopen64): Likewise.
3358 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
3359 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
3360 * libio/iofwide.c (_IO_fwide): Likewise.
3361 * libio/memstream.c (open_memstream): Likewise.
3362 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3363 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3364 * libio/oldiopopen.c (_IO_old_popen): Likewise.
3366 2015-05-21 Joseph Myers <joseph@codesourcery.com>
3368 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
3369 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
3371 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
3372 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
3374 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
3375 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
3378 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
3381 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
3382 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
3384 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3385 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3386 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3388 2015-05-21 Florian Weimer <fweimer@redhat.com>
3390 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
3391 Adjust jump table label generation macros.
3393 2015-05-21 Florian Weimer <fweimer@redhat.com>
3395 * stdio-common/vfprintf.c (vfprintf): Move local variables
3396 args_malloced, specs, specs_malloced, and the code after
3397 do_positional to the printf_positional function.
3398 (printf_positional): New function.
3400 2015-05-21 Florian Weimer <fweimer@redhat.com>
3402 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
3404 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
3405 STEP4_TABLE, process_arg): Move macro definitions
3406 out of the vfprintf function. (Cosmetic change only.)
3408 2015-05-21 Carlos O'Donell <carlos@redhat.com>
3410 * benchtests/Makefile (stdio-common-bench): Define.
3411 (benchset): Add stdio-common-bench.
3412 * sprintf-inputs: New file.
3413 * sprintf-source.c: New file.
3415 2015-05-21 Andreas Schwab <schwab@suse.de>
3419 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
3420 of struct __res_state.
3421 * resolv/res_send.c (__libc_res_nsend): Likewise.
3422 (get_nsaddr): New function.
3423 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
3426 2015-05-20 Joseph Myers <joseph@codesourcery.com>
3428 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
3429 -D_POSIX_C_SOURCE=199506L.
3431 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
3433 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
3434 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
3435 Do not mention otherwise.
3436 [POSIX] (_XOPEN_VERSION): Do not expect.
3437 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
3438 [POSIX] (_POSIX2_C_BIND): Likewise.
3439 [POSIX] (_POSIX2_VERSION): Likewise.
3440 [POSIX] (_XOPEN_XPG2): Likewise.
3441 [POSIX] (_XOPEN_XPG3): Likewise.
3442 [POSIX] (_XOPEN_XPG4): Likewise.
3443 [POSIX] (_XOPEN_UNIX): Likewise.
3444 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
3445 [POSIX] (_POSIX_BARRIERS): Likewise.
3446 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
3447 [POSIX] (_POSIX_CPUTIME): Likewise.
3448 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
3449 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
3450 [POSIX] (_POSIX_SHELL): Likewise.
3451 [POSIX] (_POSIX_SPAWN): Likewise.
3452 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
3453 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
3454 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
3455 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
3456 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
3457 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
3458 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
3459 [POSIX] (_XBS5_LP64_OFF64): Likewise.
3460 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
3461 [POSIX] (_POSIX_TIMEOUTS): Likewise.
3462 [POSIX] (_POSIX2_PBS): Likewise.
3463 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
3464 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
3465 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
3466 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
3467 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
3468 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
3469 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
3470 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
3471 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
3472 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
3473 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
3474 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
3475 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
3476 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
3477 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
3478 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
3479 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
3480 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
3481 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
3482 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
3483 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
3484 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
3485 [POSIX] (_SC_2_C_BIND): Likewise.
3486 [POSIX] (_SC_2_C_VERSION): Likewise.
3487 [POSIX] (_SC_2_PBS): Likewise.
3488 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
3489 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
3490 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
3491 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
3492 [POSIX] (_SC_2_PBS_TRACK): Likewise.
3493 [POSIX] (_SC_ATEXIT_MAX): Likewise.
3494 [POSIX] (_SC_BARRIERS): Likewise.
3495 [POSIX] (_SC_BASE): Likewise.
3496 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
3497 [POSIX] (_SC_DEVICE_IO): Likewise.
3498 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
3499 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
3500 [POSIX] (_SC_FD_MGMT): Likewise.
3501 [POSIX] (_SC_FIFO): Likewise.
3502 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
3503 [POSIX] (_SC_FILE_LOCKING): Likewise.
3504 [POSIX] (_SC_FILE_SYSTEM): Likewise.
3505 [POSIX] (_SC_IOV_MAX): Likewise.
3506 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
3507 [POSIX] (_SC_NETWORKING): Likewise.
3508 [POSIX] (_SC_PAGE_SIZE): Likewise.
3509 [POSIX] (_SC_PASS_MAX): Likewise.
3510 [POSIX] (_SC_PIPE): Likewise.
3511 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
3512 [POSIX] (_SC_REGEXP): Likewise.
3513 [POSIX] (_SC_SHELL): Likewise.
3514 [POSIX] (_SC_SIGNALS): Likewise.
3515 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
3516 [POSIX] (_SC_SPIN_LOCKS): Likewise.
3517 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
3518 [POSIX] (_SC_USER_GROUPS): Likewise.
3519 [POSIX] (_SC_USER_GROUPS_R): Likewise.
3520 [POSIX] (_SC_STREAMS): Likewise.
3521 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
3522 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
3523 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
3524 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
3525 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
3526 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
3527 [POSIX] (_PC_FILESIZEBITS): Likewise.
3528 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
3529 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
3530 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
3531 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
3532 [POSIX] (uid_t): Likewise.
3533 [POSIX] (gid_t): Likewise.
3534 [POSIX] (off_t): Likewise.
3535 [POSIX] (pid_t): Likewise.
3536 [POSIX] (cuserid): Allow.
3537 (_SC_2_CHAR_TERM): Require constant.
3538 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
3539 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
3542 2015-05-20 Roland McGrath <roland@hack.frob.com>
3544 * sysdeps/nacl/pthread-pids.h: New file.
3545 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3546 (create_thread): Use __nacl_get_tid to initialize PD->tid.
3548 * nptl/pthread-pids.h: New file.
3549 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3550 * nptl/nptl-init.c: Include <pthread-pids.h>.
3551 (__pthread_initialize_minimal_internal):
3552 Call __pthread_initialize_pids instead of set_tid_address syscall.
3554 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3555 * sysdeps/posix/usleep.c: ... here.
3557 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3559 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3560 call_pselect6 object.
3561 [$(subdir) = io]: Remove call_sync_file_range object.
3562 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3563 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3564 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3565 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3567 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
3569 * math/s_cproj.c: Add include "math_private.h".
3570 * math/s_cprojf.c: Likewise.
3571 * math/s_cprojl.c: Likewise.
3573 2015-05-19 Joseph Myers <joseph@codesourcery.com>
3576 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3577 high mantissa bit when testing whether P is a NaN.
3578 * math/libm-test.inc (remainder_test_data): Add more tests.
3579 (remquo_test_data): Likewise.
3582 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3583 below -32, return the argument, with underflow if subnormal.
3584 * math/auto-libm-test-in: Add more tests of atanh.
3585 * math/auto-libm-test-out: Regenerated.
3587 2015-05-19 Roland McGrath <roland@hack.frob.com>
3590 * nptl/tst-sem15.c: New file.
3591 * nptl/Makefile (tests): Add it.
3592 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3593 s/<</>>/ to fix typo in EOVERFLOW check.
3594 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3596 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3598 * manual/strings.texi (envz_remove): Fix typo in safety
3601 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
3602 Steve Ellcey <sellcey@imgtec.com>
3604 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3605 in order to avoid strict alias warnings.
3606 (iruserok_af): Ditto for ra.
3608 2015-05-19 James Lemke <jwlemke@codesourcery.com>
3612 (magicbyte): Convert to a function and avoid returning 0x01.
3613 (mem2mem_check): Avoid using a length byte equal to the magic byte.
3614 (mem2chunk_check): Fix unsigned comparisons to zero.
3615 Hoist defs of sz and magic.
3617 2015-05-19 Richard Henderson <rth@redhat.com>
3619 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3621 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3623 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3626 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3627 * malloc/arena.c (arena_lock): Check if arena is corrupt.
3628 (reused_arena): Find a non-corrupt arena.
3629 (heap_trim): Pass arena to unlink.
3630 * malloc/hooks.c (malloc_check_get_size): Pass arena to
3632 (top_check): Likewise.
3633 (free_check): Likewise.
3634 (realloc_check): Likewise.
3635 * malloc/malloc.c (malloc_printerr): Add arena argument.
3637 (munmap_chunk): Adjust.
3638 (ARENA_CORRUPTION_BIT): New macro.
3639 (arena_is_corrupt): Likewise.
3640 (set_arena_corrupt): Likewise.
3641 (sysmalloc): Use mmap if there are no usable arenas.
3642 (_int_malloc): Likewise.
3643 (__libc_malloc): Don't fail if arena_get returns NULL.
3644 (_mid_memalign): Likewise.
3645 (__libc_calloc): Likewise.
3646 (__libc_realloc): Adjust for additional argument to
3648 (_int_free): Likewise.
3649 (malloc_consolidate): Likewise.
3650 (_int_realloc): Likewise.
3651 (_int_memalign): Don't touch corrupt arenas.
3652 * malloc/tst-malloc-backtrace.c: New test case.
3654 * Makefile (summarize-tests): Fix return value on success.
3656 * manual/string.texi (Envz Functions): Add envz_remove.
3658 2015-05-18 Roland McGrath <roland@hack.frob.com>
3660 * sysdeps/posix/opendir.c: Include <stdbool.h>.
3661 (invalid_name): New function, broken out of ...
3662 (__opendirat): ... here. Call it.
3663 (need_isdir_precheck): New function, broken out of ...
3664 (__opendirat): ... here. Call it.
3665 Use __fxstatat64, not __xstatat64.
3666 (opendir_oflags): New function, broken out of ...
3667 (__opendirat): ... here. Call it.
3668 (opendir_tail): New function, broken out of ...
3669 (__opendirat): ... here. Call it.
3670 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3671 opendir_tail, rather than punting to __opendirat.
3672 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3674 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3676 * .gitignore: Ignore generated *.pyc.
3678 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
3680 * include/stdio.h: Define __need_wint_t.
3681 * test-skeleton.c: Avoid `for' loop initial declaration.
3682 * nptl/tst-initializers1.c: Use test-skeleton.c.
3684 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3687 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3689 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3692 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3693 (__ieee754_atanh): Force underflow exception for results with
3694 small absolute value.
3695 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3696 (__ieee754_atanhf): Force underflow exception for results with
3697 small absolute value.
3698 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3699 (__ieee754_atanh): Force underflow exception for results with
3700 small absolute value.
3701 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3702 (__ieee754_atanhf): Force underflow exception for results with
3703 small absolute value.
3704 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3705 (__ieee754_atanhl): Force underflow exception for results with
3706 small absolute value.
3707 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3708 (__ieee754_atanhl): Force underflow exception for results with
3709 small absolute value.
3710 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3711 (__ieee754_atanhl): Force underflow exception for results with
3712 small absolute value.
3713 * math/auto-libm-test-in: Do not allow missing underflow
3714 exceptions from atanh.
3715 * math/auto-libm-test-out: Regenerated.
3718 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3719 2**-28 as threshold for returning x or +/- 1/x.
3720 * math/auto-libm-test-in: Add more tests of tan.
3721 * math/auto-libm-test-out: Regenerated.
3724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3725 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3726 * math/auto-libm-test-in: Add another test of lgamma.
3727 * math/auto-libm-test-out: Regenerated.
3729 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
3731 * stdio-common/printf_fp.c (___printf_fp): Use abs.
3732 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
3733 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3734 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3735 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
3736 (ADD2A): Use fabs. (SUB2A): Use fabs.
3737 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3738 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3739 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3740 (log1): Use fabs. (my_log2): Use fabs.
3741 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3742 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3743 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3744 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3745 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3746 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
3747 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
3748 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
3749 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
3750 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3751 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3753 2015-05-15 Joseph Myers <joseph@codesourcery.com>
3756 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3757 as threshold for returning 1 - x.
3758 * math/auto-libm-test-in: Add more tests of erfc.
3759 * math/auto-libm-test-out: Regenerated.
3761 2015-05-14 Joseph Myers <joseph@codesourcery.com>
3764 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3765 threshold for large arguments.
3766 * math/auto-libm-test-in: Add another test of atan.
3767 * math/auto-libm-test-out: Regenerated.
3770 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3771 (__log1p): Force underflow exception for results with small
3773 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3774 (__log1pf): Force underflow exception for results with small
3776 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3777 (__log1p): Force underflow exception for results with small
3779 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3780 (__log1pf): Force underflow exception for results with small
3782 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3783 (__log1pl): Force underflow exception for results with small
3785 * math/auto-libm-test-in: Do not allow missing underflow
3786 exceptions from log1p.
3787 * math/auto-libm-test-out: Regenerated.
3789 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
3790 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3793 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3795 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
3797 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3798 (libmvec): New variable.
3799 * configure.ac: Added option for mathvec build.
3800 * configure: Regenerated.
3801 * mathvec/Depend: New file.
3802 * mathvec/Makefile: New file.
3803 * shlib-versions: Added libmvec.
3804 * math/Makefile: Added rule for libm.so installation.
3806 * bits/math-vector.h: New file.
3807 * bits/libm-simd-decl-stubs.h: New header.
3808 * math/Makefile (headers): Added new header
3809 libm-simd-decl-stubs.h.
3810 * math/math.h (__MATHCALL_VEC): New macro.
3812 * math/gen-libm-have-vector-test.sh: Script generates series of macros
3813 for conditions in testing functions.
3814 * math/Makefile: Added call of libm-have-vector-test.sh.
3815 * math/libm-test.inc (HAVE_VECTOR): New macros.
3817 * math/libm-test.inc: START refactored.
3818 * math/test-double.c (TEST_MATHVEC): Add define.
3819 * math/test-float.c: Likewise.
3820 * math/test-idouble.c: Likewise.
3821 * math/test-ifloat.c: Likewise.
3822 * math/test-ildoubl.c: Likewise.
3823 * math/test-ldouble.c: Likewise.
3824 * sysdeps/generic/math-tests-arch.h
3825 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3828 * math/test-double.c (FUNC_TEST): New macro.
3829 * math/test-float.c: Likewise.
3830 * math/test-idouble.c: Likewise.
3831 * math/test-ifloat.c: Likewise.
3832 * math/test-ildoubl.c: Likewise.
3833 * math/test-ldouble.c: Likewise.
3834 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3836 2015-05-13 Roland McGrath <roland@hack.frob.com>
3838 * sysdeps/nacl/fdopendir.c: New file.
3840 * dirent/scandir-tail.c: New file.
3841 * dirent/scandir64-tail.c: New file.
3842 * dirent/Makefile (routines): Add them.
3843 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3844 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3845 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3846 [!SCANDIR] (SCANDIR_TAIL): New macro.
3847 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3848 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3849 (SCANDIRAT): Macro removed.
3850 (SCANDIR_TAIL): New macro.
3851 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3852 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3853 (SCANDIRAT): Just call __opendirat and __scandir_tail.
3854 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3855 (READDIR): Macro removed.
3856 (SCANDIR_TAIL): New macro.
3857 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3858 (SCANDIR_TAIL): New macro.
3860 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3861 * dirent/scandir-cancel.c: ... to this new file.
3862 * dirent/Makefile (routines): Add it.
3863 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3864 * sysdeps/unix/sysv/linux/i386/scandir64.c
3865 (SKIP_SCANDIR_CANCEL): Macro removed.
3866 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3868 * dirent/tst-scandir.c: New file.
3869 * dirent/tst-scandir64.c: New file.
3870 * dirent/Makefile (tests): Add them.
3872 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
3875 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3877 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
3879 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3882 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
3884 * benchtests/bench-strcoll.c: New benchmark.
3885 * benchtests/Makefile: Generate locales and run benchmark.
3886 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3887 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3888 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3889 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3890 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3891 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3892 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3893 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3894 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3895 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3896 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3897 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3898 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3899 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3900 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3901 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3902 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3903 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3904 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3905 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3906 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3907 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3908 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3909 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3911 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
3913 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3914 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3916 2015-05-12 Roland McGrath <roland@hack.frob.com>
3918 * posix/uname-values.h: New file.
3919 * posix/uname.c: Include that instead of <config-name.h>.
3920 * sysdeps/nacl/uname-values.h: New file.
3921 * sysdeps/arm/nacl/uname-values.h: New file.
3923 2015-05-12 Joseph Myers <joseph@codesourcery.com>
3925 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3926 splitting into fields.
3928 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
3930 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3931 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3932 * locale/localeinfo.h: Add enum collation_encoding_type.
3933 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3934 * programs/ld-collate.c (collate_output): Add encoding type info.
3935 * string/strcoll_l.c (STRDIFF): New function.
3936 * (STRCOLL): Use STRDIFF to skip over equal prefix.
3937 * wcsmbs/wcscoll_l.c: Define STRDIFF.
3939 2015-05-11 Joseph Myers <joseph@codesourcery.com>
3942 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3943 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
3944 <fpu_control.h> instead of <math/fpu_control.c>.
3945 * sysdeps/mips/mips32/fpu/Makefile: New file.
3947 2015-05-11 Andreas Schwab <schwab@suse.de>
3950 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3952 (_nss_compat_endgrent): Call nss_endgrent.
3953 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3955 (_nss_compat_endpwent): Call nss_endpwent.
3956 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3957 needent, call nss_setspent only if non-zero.
3958 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3959 (internal_endspent): Don't call nss_endspent.
3960 (_nss_compat_endspent): Call nss_endspent.
3961 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3962 Remove. All uses removed.
3963 (internal_setent): Remove parameter stayopen, add parameter
3964 stream. Use it instead of global variable.
3965 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3966 (internal_endent, internal_getent): Add parameter stream. Use it
3967 instead of global variable.
3968 (CONCAT(_nss_files_end,ENTNAME))
3969 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3970 (_nss_files_get##name##_r): Pass local stream. Remove locking.
3971 * nss/nss_files/files-alias.c (position, last_use): Remove. All
3973 (internal_setent, internal_endent): Add parameter stream. Use it
3974 instead of global variable.
3975 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3977 (get_next_alias): Add parameter stream.
3978 (_nss_files_getaliasent_r): Pass global stream.
3979 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
3980 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3981 (_nss_files_gethostbyname4_r): Pass local stream to
3982 internal_setent, internal_getent and internal_endent. Remove
3985 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3987 * tst-strfmon1.c (tests): Update expected currency symbol.
3989 2015-05-08 Roland McGrath <roland@hack.frob.com>
3991 * sysdeps/nacl/gethostname.c: New file.
3993 2015-05-08 Joseph Myers <joseph@codesourcery.com>
3995 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3997 * math/auto-libm-test-out: Regenerated.
3998 * sysdeps/i386/fpu/libm-test-ulps: Update.
3999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4001 2015-05-08 Carlos O'Donell <carlos@redhat.com>
4004 * stdlib/tst-setcontext3.c: New file.
4005 * stdlib/tst-setcontext3.sh: New file.
4006 * stdlib/Makefile (tests): Add tst-setcontext3.
4007 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
4008 to verify test program created output file.
4009 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
4010 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
4011 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
4012 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
4014 2015-05-06 Roland McGrath <roland@hack.frob.com>
4017 * elf/tst-tlsalign.c: New file.
4018 * elf/tst-tlsalign-static.c: New file.
4019 * elf/tst-tlsalign-lib.c: New file.
4020 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
4021 (tests-static): Add tst-tlsalign-static.
4022 (modules-names): Add tst-tlsalign-lib.
4023 (test-xfail-tst-tlsalign): New variable.
4024 (test-xfail-tst-tlsalign-static): New variable.
4026 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
4027 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
4029 2015-05-06 Joseph Myers <joseph@codesourcery.com>
4031 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
4032 csqrt, erfc, sin and sincos.
4033 * math/auto-libm-test-out: Regenerated.
4034 * sysdeps/i386/fpu/libm-test-ulps: Update.
4035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4037 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
4039 * sysdeps/aarch64/libm-test-ulps: Update.
4041 2015-05-05 Joseph Myers <joseph@codesourcery.com>
4043 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
4044 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
4045 * math/auto-libm-test-out: Regenerated.
4046 * sysdeps/i386/fpu/libm-test-ulps: Update.
4047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4049 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
4052 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
4053 (wcsncpy): Likewise.
4055 2015-05-05 Florian Weimer <fweimer@redhat.com>
4057 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4058 Assume __ASSUME_FALLOCATE is always true.
4059 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4060 (__posix_fallocate64_l64): Likweise.
4061 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
4062 (posix_fallocate): Likewise.
4063 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
4064 (__posix_fallocate64_l64): Likewise.
4065 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4066 [!__ASSUME_FALLOCATE]: Add comment.
4068 2015-05-05 Florian Weimer <fweimer@redhat.com>
4070 * sysdeps/unix/sysv/linux/i386/Makefile
4071 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
4072 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
4073 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
4074 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
4075 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
4076 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
4077 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
4079 2015-05-02 Joseph Myers <joseph@codesourcery.com>
4081 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
4082 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
4084 * math/auto-libm-test-out: Regenerated.
4085 * sysdeps/i386/fpu/libm-test-ulps: Update.
4086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4088 2015-05-01 Joseph Myers <joseph@codesourcery.com>
4090 * math/auto-libm-test-in: Add more tests of tgamma.
4091 * math/auto-libm-test-out: Regenerated.
4092 * sysdeps/i386/fpu/libm-test-ulps: Update.
4093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4095 * math/auto-libm-test-in: Add more tests of tanh.
4096 * math/auto-libm-test-out: Regenerated.
4097 * sysdeps/i386/fpu/libm-test-ulps: Update.
4098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4100 * math/auto-libm-test-in: Add more tests of tan.
4101 * math/auto-libm-test-out: Regenerated.
4102 * sysdeps/i386/fpu/libm-test-ulps: Update.
4103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4105 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
4106 * math/auto-libm-test-out: Regenerated.
4107 * sysdeps/i386/fpu/libm-test-ulps: Update.
4108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4110 * math/auto-libm-test-in: Add another test of pow.
4111 * math/auto-libm-test-out: Regenerated.
4112 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4114 * math/auto-libm-test-in: Add more tests of lgamma.
4115 * math/auto-libm-test-out: Regenerated.
4116 * sysdeps/i386/fpu/libm-test-ulps: Update.
4117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4119 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
4121 * math/auto-libm-test-out: Regenerated.
4122 * sysdeps/i386/fpu/libm-test-ulps: Update.
4123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4125 2015-05-01 Mark Wielaard <mjw@redhat.com>
4127 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
4128 Elf64_Chdr structs and ELFCOMPRESS constants.
4130 2015-05-01 Joseph Myers <joseph@codesourcery.com>
4132 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
4134 * math/auto-libm-test-out: Regenerated.
4135 * sysdeps/i386/fpu/libm-test-ulps: Update.
4136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4138 * math/auto-libm-test-in: Add more tests of erf and erfc.
4139 * math/auto-libm-test-out: Regenerated.
4140 * sysdeps/i386/fpu/libm-test-ulps: Update.
4141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4143 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
4145 * config.h.in (HAVE_AARCH64_BE): Add.
4147 2015-04-30 Joseph Myers <joseph@codesourcery.com>
4149 * math/auto-libm-test-in: Add more tests of csqrt.
4150 * math/auto-libm-test-out: Regenerated.
4151 * sysdeps/i386/fpu/libm-test-ulps: Update.
4152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4154 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4155 * math/auto-libm-test-out: Regenerated.
4156 * sysdeps/i386/fpu/libm-test-ulps: Update.
4157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4159 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
4161 2015-04-29 Roland McGrath <roland@hack.frob.com>
4163 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
4164 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
4166 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
4167 (euidaccess, eaccess): Define as weak aliases.
4169 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
4170 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
4171 but __suseconds_t is often 'long int' so some sources assume that
4172 type is being used (e.g. they use %ld to print tv_usec).
4174 2015-04-29 Florian Weimer <fweimer@redhat.com>
4177 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
4179 * nss/tst-nss-getpwent.c: New file.
4180 * nss/Makefile (tests): Add new test.
4182 2015-04-28 Joseph Myers <joseph@codesourcery.com>
4185 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
4186 exponents less than 48 as cases where high part of mantissa needs
4187 examining to determine whether argument is integral.
4188 * math/libm-test.inc (round_test_data): Add more tests.
4190 2015-04-28 Mark Wielaard <mjw@redhat.com>
4192 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
4194 2015-04-27 David S. Miller <davem@davemloft.net>
4196 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
4198 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4200 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
4203 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
4205 2015-04-27 Florian Weimer <fweimer@redhat.com>
4208 * time/tzset.c (parse_tzname): Return error on memory allocation
4210 * test-skeleton.c (struct temp_name_list): Change type of name
4211 member to non-const.
4212 (add_temp_file): Create a copy of the file name.
4213 (delete_temp_files): Deallocate memory.
4214 (create_temp_file): Add comment.
4216 2015-04-24 Florian Weimer <fweimer@redhat.com>
4218 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
4219 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
4221 2015-04-24 Roland McGrath <roland@hack.frob.com>
4223 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
4224 * sysdeps/arm/configure: Regenerated.
4226 2015-04-24 Florian Weimer <fweimer@redhat.com>
4229 * time/tzfile.c (__tzfile_read): Check for large values of
4230 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
4231 * time/tzset.c (__tzstring_len): New function, based on the old
4232 __tzstring function.
4233 (__tzstring): Call __tzstring_len.
4234 (parse_tzname): New helper function extracted from
4235 __tzset_parse_tz. Call __tzstring_len, without making a copy of
4237 (parse_offset): New helper function extracted from
4238 __tzset_parse_tz. Replace switch with fallthrough with
4239 initialization before sscanf.
4240 (parse_rule): Likewise.
4241 (__tzset_parse_tz): Rewrite using the new helper functions. Use
4242 new-style function definition.
4243 * timezone/Makefile (tests): Add tst-tzset.
4244 (tst-tzset.out): Dependencies on time zone files.
4245 (tst-tzset-ENV): Set TZDIR.
4246 (testdata/XT%): Copy crafted time zone files.
4247 * timezone/README: Mention crafted time zone files.
4248 * timezone/testdata/XT1, timezone/testdata/XT2,
4249 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
4251 * timezone/tst-tzset.c: New test.
4253 2015-04-24 Florian Weimer <fweimer@redhat.com>
4255 * Makeconfig (+gccwarn): Remove -Winline.
4257 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4259 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
4261 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4263 * NEWS: Mention sysconf() cache information support for s390.
4264 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
4266 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
4268 * math/k_casinh.c (__kernel_casinh): Use __copysign.
4269 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
4270 (__nearbyint): Likewise.
4271 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
4272 (copysignl): Likewise.
4274 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
4277 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
4278 based on padding. (CVE-2015-1781)
4280 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4282 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
4284 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
4285 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
4286 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
4287 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4288 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4289 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
4290 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
4291 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
4292 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
4293 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
4294 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4295 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4296 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4297 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
4298 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4299 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
4300 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
4301 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
4302 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
4303 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
4304 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
4305 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
4306 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
4308 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
4310 * stdlib/setenv.c (__add_to_environ):
4311 Dump core quickly if setenv (..., NULL, ...) is called.
4312 This time, do it the right way, and pacify GCC with a pragma.
4314 2015-04-17 Roland McGrath <roland@hack.frob.com>
4316 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
4317 IMAP->l_prev cannot be null, and #if out the code for the contrary
4318 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
4319 believe that NS (&_dl_ns[NSID]) could point outside the array.
4321 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
4322 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
4323 before using NSID as an index.
4325 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
4328 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
4329 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
4330 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4332 2015-04-17 Roland McGrath <roland@hack.frob.com>
4334 Add preliminary port to Google Native Client on ARM.
4335 * abi-tags (.*-.*-nacl.*): New entry.
4336 * sysdeps/arm/nacl: New directory.
4337 * sysdeps/nacl: New directory.
4339 2015-04-16 David S. Miller <davem@davemloft.net>
4341 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
4342 lowlevellock-futex.h
4344 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
4346 * sysdeps/tile/configure.ac: New file.
4347 * sysdeps/tile/configure: Regenerated.
4349 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4351 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
4352 conditionals for weak_alias and libc_hidden_weak.
4353 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
4354 libc_hidden_weak and weak_alias.
4355 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
4356 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
4357 and weak_alias for static one.
4359 2015-04-15 David S. Miller <davem@davemloft.net>
4361 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4363 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4366 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
4367 Use signed comparision instead of substraction to avoid
4369 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
4370 Take the sign of ret.
4371 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
4372 Do not expect precise return values. Only the sign matters.
4373 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
4374 * wcsmbs/test-wcsncmp.c: New File.
4375 * string/test-strncmp.c: Add wcsncmp support.
4377 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4380 * math/w_log1p.c: New file.
4381 * math/w_log1pf.c: Likewise.
4382 * math/w_log1pl.c: Likewise.
4383 * math/Makefile (libm-calls): Add w_log1p.
4384 * math/s_log1pl.c (log1pl): Remove weak_alias.
4385 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
4386 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
4387 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
4388 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
4389 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
4390 [NO_LONG_DOUBLE] (log1pl): Likewise.
4391 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
4392 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
4393 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
4394 (log1p): Remove long_double_symbol.
4395 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
4396 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
4397 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
4398 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
4399 remove weak_alias for corresponding log1p function.
4400 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
4401 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
4402 * sysdeps/ia64/fpu/w_log1p.c: New file.
4403 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
4404 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
4405 * math/libm-test.inc (log1p_test_data): Add errno expectations.
4407 2015-04-10 Joseph Myers <joseph@codesourcery.com>
4410 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
4411 decimal exponent by 1.
4412 * stdlib/tst-strtod-round-data: Add more tests.
4413 * stdlib/tst-strtod-round.c (tests): Regenerated.
4415 2015-04-09 Joseph Myers <joseph@codesourcery.com>
4417 * math/auto-libm-test-in: Add more tests of clog and clog10.
4418 * math/auto-libm-test-out: Regenerated.
4419 * sysdeps/i386/fpu/libm-test-ulps: Update.
4420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4422 2015-04-09 Roland McGrath <roland@hack.frob.com>
4424 * Makeconfig (module-cppflags): Exclude all .v.i files.
4425 (skip-module-cppflags): Variable removed.
4427 * configure.ac (libc_config_ok): Initialize before reading
4428 preconfigure scripts, not after.
4429 * configure: Regenerated.
4431 * test-skeleton.c (TIMEOUT): Move #define to top level.
4432 (main): Grok environment variable TEST_DIRECT. If set, print
4433 test expectation details into that file and then behave as if
4436 2015-04-09 Florian Weimer <fweimer@redhat.com>
4438 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
4441 2015-04-08 David S. Miller <davem@davemloft.net>
4443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4445 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4447 * math/auto-libm-test-in: Add more tests of atanh.
4448 * math/auto-libm-test-out: Regenerated.
4449 * sysdeps/i386/fpu/libm-test-ulps: Update.
4450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4452 * math/auto-libm-test-in: Add more tests of atan.
4453 * math/auto-libm-test-out: Regenerated.
4454 * sysdeps/i386/fpu/libm-test-ulps: Update.
4455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4457 2015-04-08 Florian Weimer <fweimer@redhat.com>
4459 * elf/pldd.c (main): Rewrite to use struct
4460 scratch_buffer instead of extend_alloca.
4461 * elf/pldd-xx.c (find_maps): Likewise.
4462 * grp/initgroups.c: Include <scratch_buffer.h> instead of
4464 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
4465 scratch_buffer instead of extend_alloca.
4466 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
4467 grp/compat-initgroups.c.
4468 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
4469 Rewrite to use struct scratch_buffer instead of extend_alloca.
4470 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
4471 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4473 2015-04-08 Joseph Myers <joseph@codesourcery.com>
4475 * math/auto-libm-test-in: Add more tests of cbrt.
4476 * math/auto-libm-test-out: Regenerated.
4477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4479 * math/auto-libm-test-in: Add more tests of cabs.
4480 * math/auto-libm-test-out: Regenerated.
4481 * sysdeps/i386/fpu/libm-test-ulps: Update.
4482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4486 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
4487 (__ieee754_atan2): Set FE_TONEAREST mode for internal
4489 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
4491 * math/auto-libm-test-out: Regenerated.
4492 * sysdeps/i386/fpu/libm-test-ulps: Update.
4493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4496 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
4497 (atan): Set FE_TONEAREST mode for internal computations.
4498 * math/auto-libm-test-in: Add more tests of atan.
4499 * math/auto-libm-test-out: Regenerated.
4501 2015-04-07 James Cowgill <james410@cowgill.org.uk>
4504 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
4506 2015-04-07 Florian Weimer <fweimer@redhat.com>
4508 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
4510 2015-04-07 Florian Weimer <fweimer@redhat.com>
4512 * include/scratch_buffer.h: New file.
4513 * malloc/scratch_buffer_grow.c: Likewise.
4514 * malloc/scratch_buffer_grow_preserve.c: Likewise.
4515 * malloc/scratch_buffer_set_array_size.c: Likewise.
4516 * malloc/tst-scratch_buffer.c: Likewise.
4517 * malloc/Makefile (routines): Add scratch_buffer_grow.
4518 (tests): Add test case.
4519 * malloc/Versions (GLIBC_PRIVATE): Export
4520 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
4521 __libc_scratch_buffer_set_array_size.
4523 2015-04-06 Richard Henderson <rth@redhat.com>
4525 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
4526 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4528 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
4529 unsigned int before printing.
4531 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4534 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
4535 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4537 2015-04-02 Florian Weimer <fweimer@redhat.com>
4539 * include/libc-internal.h (libc_max_align_t): Define.
4541 2015-04-02 Andreas Schwab <schwab@suse.de>
4544 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4546 2015-04-02 Mel Gorman <mgorman@suse.de>
4549 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4550 as well as the main arena.
4552 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4555 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4556 sharing L2 cache to 2 for Silvermont/Knights Landing.
4558 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4561 * config.make.in (have-protected-data): New.
4562 * configure.ac: Check linker support for protected data symbol.
4563 * configure: Regenerated.
4564 * elf/Makefile (modules-names): Add tst-protected1moda and
4565 tst-protected1modb if $(have-protected-data) is yes.
4566 (tests): Add tst-protected1a and tst-protected1b if
4567 $(have-protected-data) is yes.
4568 ($(objpfx)tst-protected1a): New.
4569 ($(objpfx)tst-protected1b): Likewise.
4570 (tst-protected1modb.so-no-z-defs): Likewise.
4571 * elf/tst-protected1a.c: New file.
4572 * elf/tst-protected1b.c: Likewise.
4573 * elf/tst-protected1mod.h: Likewise.
4574 * elf/tst-protected1moda.c: Likewise.
4575 * elf/tst-protected1modb.c: Likewise.
4577 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
4580 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4581 indicates it is called from do_lookup_x on relocation against
4582 protected data, skip the data definion in the executable from
4584 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4585 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4586 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4587 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4588 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4590 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4591 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4592 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4593 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4594 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4595 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4597 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
4599 * sysdeps/nptl/pthread.h: Remove duplicate definition of
4600 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4602 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
4604 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4606 * sysdeps/x86_64/nptl/tls.h: Ditto.
4608 2015-03-27 Roland McGrath <roland@hack.frob.com>
4610 * dlfcn/tststatic.c (main): Converted to ...
4611 (do_test): ... this.
4612 (TEST_FUNCTION): New macro.
4613 Include test-skeleton.c.
4615 2015-03-26 Alan Modra <amodra@gmail.com>
4617 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4618 Don't segfault if ifunc resolver returns a NULL. Do set plt to
4619 zero for undefined weak.
4620 (elf_machine_plt_conflict): Similarly.
4622 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4624 * math/auto-libm-test-in: Add more tests of acosh, asinh and
4626 * math/auto-libm-test-out: Regenerated.
4627 * sysdeps/i386/fpu/libm-test-ulps: Update.
4628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4630 * math/auto-libm-test-in: Add another test of asin.
4631 * math/auto-libm-test-out: Regenerated.
4632 * sysdeps/i386/fpu/libm-test-ulps: Update.
4633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4635 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4637 (LLL_EBX_REG): Likewise.
4638 (LLL_ENTER_KERNEL): Likewise.
4640 * math/auto-libm-test-in: Add more tests of asin.
4641 * math/auto-libm-test-out: Regenerated.
4642 * sysdeps/i386/fpu/libm-test-ulps: Update.
4643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4646 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4647 libc_do_syscall_args): New structure.
4648 (INTERNAL_SYSCALL_MAIN_0): New macro.
4649 (INTERNAL_SYSCALL_MAIN_1): Likewise.
4650 (INTERNAL_SYSCALL_MAIN_2): Likewise.
4651 (INTERNAL_SYSCALL_MAIN_3): Likewise.
4652 (INTERNAL_SYSCALL_MAIN_4): Likewise.
4653 (INTERNAL_SYSCALL_MAIN_5): Likewise.
4654 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
4655 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4656 Replace conditional definitions by conditional definitions of ....
4657 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
4658 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4659 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4660 (libpthread-sysdep_routines): Add libc-do-syscall.
4661 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4662 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4663 to __NR_futex not 240.
4665 2015-03-25 Alan Modra <amodra@gmail.com>
4667 * NEWS: Advertise TLS optimization.
4668 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4669 (DT_PPC_NUM): Increment.
4670 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4671 (CHECK_STATIC_TLS): Use here.
4672 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4674 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4675 * sysdeps/powerpc/dl-tls.c: New file.
4676 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4677 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4678 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4679 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4684 2015-03-25 Alan Modra <amodra@gmail.com>
4686 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4687 for overlapping .opd entries" to "support...".
4688 * sysdeps/powerpc/powerpc64/configure: Regenerate
4690 2015-03-25 Joseph Myers <joseph@codesourcery.com>
4692 * math/auto-libm-test-in: Add more tests of acos.
4693 * math/auto-libm-test-out: Regenerated.
4694 * sysdeps/i386/fpu/libm-test-ulps: Update.
4695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4697 * math/auto-libm-test-in: Add more tests of expm1.
4698 * math/auto-libm-test-out: Regenerated.
4699 * sysdeps/i386/fpu/libm-test-ulps: Update.
4700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4702 2015-03-24 Joseph Myers <joseph@codesourcery.com>
4704 * math/auto-libm-test-in: Add more tests of cosh and sinh.
4705 * math/auto-libm-test-out: Regenerated.
4706 * sysdeps/i386/fpu/libm-test-ulps: Update.
4707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4709 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4712 * math/auto-libm-test-in: Add more tests of log2.
4713 * math/auto-libm-test-out: Regenerated.
4714 * sysdeps/i386/fpu/libm-test-ulps: Update.
4715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4717 2015-03-23 Roland McGrath <roland@hack.frob.com>
4719 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4720 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
4721 _IO_IS_APPENDING bit in READ_WRITE instead.
4723 2015-03-23 Florian Weimer <fweimer@redhat.com>
4725 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4726 (__determine_cpumask_size): Replace extend_alloca with a
4727 variable-length array. Do not treat res == 0 as an error.
4729 2015-03-23 Florian Weimer <fweimer@redhat.com>
4732 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4733 and integer overflow.
4734 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4735 (main): Add integer overflow tests.
4736 * manual/pattern.texi (Calling Wordexp): Document additional use
4739 2015-03-23 Alan Modra <amodra@gmail.com>
4741 * config.h.in: Remove HAVE_ASM_PPC_REL16.
4742 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4743 and false branch of conditional.
4744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4747 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
4749 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4751 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4752 unused declaration of _hurd_intr_rpc_msg_in_trap.
4753 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4754 defined instead of whether it is non-zero.
4755 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4756 input constraint instead of both input and output constraint. Use ecx
4757 clobber instead of %ecx.
4758 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4759 mutex_unlock): Use a statement expression instead of an expression list.
4760 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4761 type to vm_size_t instead of vm_address_t.
4762 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4763 defined instead of whether it is non-zero.
4764 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4765 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4766 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4767 comparisons with mapaddr.
4768 * nscd/nscd-client.h: Include <time.h>.
4769 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4770 9th parameter to __vm_region instead of int.
4771 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4772 * scripts/check-local-headers.sh (exclude): Add device/,
4773 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4776 2015-03-19 Roland McGrath <roland@hack.frob.com>
4778 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4779 to account for alignment padding.
4780 * sysdeps/arm/memmove.S: Likewise.
4782 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
4784 * sysdeps/unix/sysv/linux/generic/README: New file.
4786 2015-03-18 Joseph Myers <joseph@codesourcery.com>
4789 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4790 (futex_abstimed_wait)
4791 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4792 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4793 of lll_futex_timed_wait.
4795 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
4798 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4800 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
4807 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4808 entries with Static TLS too. Skip entries past the end of the
4809 allocated DTV, from Alan Modra.
4810 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
4811 Static TLS DTV entry set up from...
4812 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4813 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4814 * nptl/allocatestack.c (init_one_static_tls): ... and here...
4815 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4817 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
4818 that the slot we find is associated with the given map before
4819 using its generation count.
4820 * nptl_db/db_info.c: Include ldsodefs.h.
4821 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4822 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4823 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4824 (link_map::l_tls_offset): New struct field.
4825 (dtv_t::counter): Likewise.
4826 (rtld_global): New struct.
4827 (_rtld_global): New rtld variable.
4828 (dl_tls_dtv_slotinfo_list): New rtld global field.
4829 (dtv_slotinfo_list): New struct.
4830 (dtv_slotinfo): Likewise.
4831 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4832 (td_lookup): Rename to...
4833 (td_mod_lookup): ... this. Use new mod parameter instead of
4835 * nptl_db/td_thr_tlsbase.c: Include link.h.
4836 (dtv_slotinfo_list, dtv_slotinfo): New functions.
4837 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
4838 addresses even if the DTV is out of date or missing them.
4839 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4840 index zero-length arrays.
4841 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4842 (td_lookup): Make it a macro implemented in terms of...
4843 (td_mod_lookup): ... this declaration.
4844 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4845 (DB_MAIN_VARIABLE): Likewise.
4847 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
4850 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4852 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
4854 * stdlib/setenv.c (__add_to_environ): Revert previous change.
4856 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
4859 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4860 (atomic_add, atomic_increment_and_test)
4861 (atomic_decrement_and_test): Fix 64-bit arithmetic.
4863 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
4865 * stdlib/setenv.c (__add_to_environ):
4866 Dump core quickly if setenv (..., NULL, ...) is called.
4868 2015-03-13 Roland McGrath <roland@hack.frob.com>
4870 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4871 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4872 all the necessary asm magic in one place.
4873 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4876 2015-03-13 Carlos O'Donell <carlos@redhat.com>
4879 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4880 traced file mtime. Use consistent log message.
4881 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4882 (register_traced_file): Call install_watches. Always set mtime.
4883 (invalidate_cache): Iterate over all trace files. Call install_watches.
4884 (inotify_check_files): Don't inline. Handle watching parent
4885 directories and configuration file movement in and out.
4886 (handle_inotify_events): New function.
4887 (main_loop_poll): Call handle_inotify_events.
4888 (main_loop_epoll): Likewise.
4889 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4890 (struct traced_file): Use array of inotify fds. Add parent directory,
4892 (struct database_dyn): Remove unused file_mtime.
4893 (init_traced_file): New inline function.
4894 (define_traced_file): New macro.
4895 * nss/nss_db/db-init.c: Use define_traced_file.
4896 (_nss_db_init): Use init_traced_file.
4897 * nss/nss_files/files-init.c: Use define_traced_file.
4898 (_nss_files_init): Use init_traced_file.
4900 2015-03-12 Joseph Myers <joseph@codesourcery.com>
4902 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4903 [_LIBC]: Do not include <stdlib.h>.
4904 [!_LIBC] (abort): Remove declaration.
4905 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4906 _FP_STATIC_ASSERT instead of conditionally calling abort.
4907 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4908 (_FP_EXTEND_CNAN): Likewise.
4909 (FP_TRUNC): Likewise.
4910 (__FP_CLZ): Likewise.
4911 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4913 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
4915 * manual/string.texi (XPG basename): Fix prototype.
4917 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4920 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4921 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4922 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4923 (__setcontext): Likewise.
4924 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4925 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4926 Call rt_sigprocmask syscall one time to set new signal mask
4927 and retrieve the current signal mask instead of two calls.
4928 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4929 (__swapcontext): Likewise.
4930 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4931 * stdlib/tst-setcontext2.c: New file.
4933 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4935 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4937 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
4940 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4943 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4946 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4948 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
4950 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4951 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4953 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4954 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4955 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4956 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4957 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4958 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4960 * nptl_db/td_symbol_list.c (td_lookup): Remove
4961 HAVE_ASM_GLOBAL_DOT_NAME code.
4962 * sysdeps/powerpc/powerpc64/configure.ac: Remove
4963 HAVE_ASM_GLOBAL_DOT_NAME check.
4964 * sysdeps/powerpc/powerpc64/configure: Regenerate.
4965 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4966 (DOT_LABEL): Remove define.
4967 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4968 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4969 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4970 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4971 (__TLS_GET_ADDR): Likewise.
4972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4973 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4975 2015-03-11 Carlos O'Donell <carlos@redhat.com>
4978 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4979 (_FPU_SETCW): Initialize cw from fpsr before storing.
4980 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4981 (fesetexceptflag): Rewrite using fpu_control.h.
4982 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4984 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
4987 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4989 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4991 2015-03-11 Joseph Myers <joseph@codesourcery.com>
4993 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4994 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4996 (_FP_FMA): Likewise.
4997 (_FP_DIV): Likewise.
4999 2015-03-10 Roland McGrath <roland@hack.frob.com>
5001 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
5002 with 0 in that case.
5003 * Makefile (summarize-tests): New canned sequence, factored out of
5004 commands for targets tests and xtests. Display summary lines that
5005 don't start with PASS: or XFAIL: rather than ones that do start with
5006 ERROR: or FAIL:. Make the commands fail if any summary lines fail
5007 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
5008 do start with ERROR: or FAIL:.
5009 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
5010 (except for [$(build-shared) = yes]).
5011 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
5012 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
5013 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
5014 * nptl/Makefile: Revert 2015-03-04 changes.
5015 [$(CXX) empty] (tests-unsupported): New variable.
5016 * debug/Makefile: Likewise.
5018 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
5019 gnulib file. Replace __attribute with __attribute__ throughout.
5021 2015-03-10 Carlos O'Donell <carlos@redhat.com>
5023 * sysdeps/hppa/fpu/libm-test-ulps: Update.
5025 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5028 * math/auto-libm-test-in: Add another test of pow.
5029 * math/auto-libm-test-out: Regenerated.
5031 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5033 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
5034 $(config-cflags-nofma).
5036 2015-03-10 Joseph Myers <joseph@codesourcery.com>
5038 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
5039 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
5040 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
5041 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
5042 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
5043 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
5044 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
5045 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
5046 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
5047 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
5048 Add comment on closing #endif.
5050 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5052 * posix/wordexp.c (CHAR_IN_SET): New macro.
5053 (parse_param): Use it.
5055 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5057 * sysdeps/powerpc/fpu/libm-test-ulps: update.
5059 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5062 * posix/wordexp.c (parse_param): Fix buffer overflow.
5063 * posix/wordexp-test.c (test_case): Add test case.
5065 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5068 * posix/wordexp.c (parse_backtick): Fix off-by-one.
5069 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
5071 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
5074 * posix/wordexp-test.c (test_case): Add test for BZ #18043
5075 (do_bz18043): Delete.
5077 (testit): Refactor to have words at the edge of unreadable page.
5079 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5082 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
5083 Cleanup read-only streams as well.
5084 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
5086 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
5088 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
5091 2015-03-07 Joseph Myers <joseph@codesourcery.com>
5093 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
5095 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
5096 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
5097 * soft-fp/op-common.h (_FP_DECL): Likewise.
5099 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
5101 * elf/ifuncdep2.c (global): Replace
5102 __attribute__((visibility("protected"))) with
5103 asm (".protected global").
5104 * elf/ifuncmod1.c (global): Likewise.
5105 * elf/ifuncmod5.c (global): Likewise.
5107 2015-03-06 Joseph Myers <joseph@codesourcery.com>
5109 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
5110 <asm/sfp-machine.h> instead of <sfp-machine.h>.
5112 2015-03-06 Roland McGrath <roland@hack.frob.com>
5114 * manual/install.texi (Configuring and compiling):
5115 Document test-wrapper-env-only.
5116 * INSTALL: Regenerated.
5118 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5121 * posix/wordexp.c (parse_param): Fix buffer overflow.
5122 * posix/wordexp-test.c (do_bz18043): Add test case.
5124 2015-03-06 Vincent Bernat <vincent@bernat.im>
5126 * time/tst-strptime2.c (do_test): Ensure failing tests are
5128 * time/tst-strptime3.c (do_test): Likewise.
5130 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
5132 Fix aio_error thread-safety.
5133 * sysdeps/pthread/aio_error.c: New file
5134 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
5137 2015-03-06 Florian Weimer <fweimer@redhat.com>
5139 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
5140 (group_number, vfprintf): Use it.
5141 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
5142 (JUMP, REF): Use it.
5143 (WORK_BUFFER_SIZE): New enum constant.
5144 (process_arg, vfprintf): Use it.
5146 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
5148 * manual/errno.texi (Error Messages): Complete example function
5149 by adding missing #define.
5150 (program_invocation_name): Add statement indicating GNU
5151 extension and reference which header file declares the variable.
5152 (program_invocation_short_name): Likewise.
5154 2015-03-06 Mike Frysinger <vapier@gentoo.org>
5156 * manual/errno.texi (Error Messages): Delete strerror ISO C89
5159 2015-03-05 Roland McGrath <roland@hack.frob.com>
5161 * Makeconfig (test-wrapper-env-only): New variable.
5162 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
5163 then use that with $(test-wrapper-env-only) rather than using
5164 $(test-wrapper-env) $(run-program-env) $($*-ENV).
5166 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
5169 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
5170 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
5171 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
5172 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
5173 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
5174 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
5175 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
5176 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
5178 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
5179 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
5181 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
5183 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
5185 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
5187 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
5188 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
5190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
5192 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
5193 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
5195 2015-03-04 Roland McGrath <roland@hack.frob.com>
5197 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
5198 (ETH_ALEN): New macro.
5199 (struct ether_addr): Use it for length of ether_addr_octet.
5201 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
5202 (setdb): Don't call __nss_configure_lookup for "rpc".
5203 (do_test): Don't call test_rpc.
5204 (output_rpcent, test_rpc): Functions moved ...
5205 * sunrpc/test-rpcent.c: ... to this new file.
5206 * sunrpc/Makefile (tests): Add it.
5208 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
5210 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
5211 * nptl/tst-signal6.c: Likewise.
5212 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
5213 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
5215 * configure.ac (libc_cv_cxx_link_ok): New check.
5216 Reset CXX to empty if it fails to link.
5217 * configure: Regenerated.
5218 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
5219 bug-atexit3-lib only if $(CXX) is nonempty.
5220 * nptl/Makefile (tests): Likewise for tst-cancel24.
5221 (tests, tests-static): Likewise for tst-cancel24-static.
5222 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
5223 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
5224 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
5225 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
5227 2015-03-04 Andreas Schwab <schwab@suse.de>
5230 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
5231 for non-GCC compilers.
5232 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5235 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
5238 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
5239 integer before bitwise and assembly operations.
5240 (feclearexcept): Likewise.
5241 * math/test-fenvinline.c: New file.
5242 * math/Makefile: Add test-fenvinline test.
5244 2015-03-03 Alan Modra <amodra@gmail.com>
5247 * scripts/localplt.awk: Strip off symbol version.
5248 * NEWS: Mention bug fix.
5250 2015-03-02 Roland McGrath <roland@hack.frob.com>
5252 * sysdeps/pthread/timer_routines.c
5253 (timer_free_list, thread_free_list, thread_active_list): Make static.
5255 2015-03-02 Joseph Myers <joseph@codesourcery.com>
5258 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5259 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5261 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5262 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5264 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5265 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
5268 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
5271 * posix/fnmatch_loop.c (END): Detect invalid pattern.
5272 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
5274 2015-03-02 Andreas Schwab <schwab@suse.de>
5276 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
5279 2015-03-02 Florian Weimer <fweimer@redhat.com>
5281 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
5282 Return error status.
5284 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
5287 * locale/findlocale.c (_nl_find_locale): Introduce const
5288 version of loc_name and drop unsafe type casts.
5290 2015-02-27 Roland McGrath <roland@hack.frob.com>
5292 * dlfcn/tststatic2.c (main): Converted to ...
5293 (do_test): ... this.
5294 (TEST_FUNCTION): New macro.
5295 Include test-skeleton.c.
5297 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
5300 * elf/Makefile (tests): Add vismain only if PIE is enabled.
5301 (tests-pie): Add vismain.
5302 (CFLAGS-vismain.c): New.
5303 * elf/vismain.c: Add comments for PIE requirement.
5305 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5309 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
5310 0x1p-56L as threshold for just returning the argument.
5311 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
5312 0x1p-32L as threshold for just returning the argument.
5313 * math/auto-libm-test-in: Add more tests of atanh.
5314 * math/auto-libm-test-out: Regenerated.
5315 * sysdeps/i386/fpu/libm-test-ulps: Update.
5316 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
5318 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5320 * string/bcopy.c (bcopy): Call memmove for performance.
5322 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
5324 * string/bzero.c (__bzero): Call memset for performance.
5326 2015-02-27 John David Anglin <dave.anglin@bell.net>
5329 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
5332 2015-02-27 Joseph Myers <joseph@codesourcery.com>
5334 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
5336 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5338 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
5339 (__kernel_standard): Use CSTR macro when setting exc.name.
5340 * sysdeps/ieee754/Makefile [$(subdir) = math]
5341 (CFLAGS-k_standard.c): Remove variable.
5343 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
5344 setting p and q from "else if" to "else".
5346 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
5348 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
5350 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
5352 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
5354 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
5359 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
5360 return pi/2 for arguments below 0x1p-113L.
5361 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
5362 return pi/2 for arguments below 0x1p-106L.
5363 * math/auto-libm-test-in: Add more tests of acos.
5364 * math/auto-libm-test-out: Regenerated.
5367 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
5369 (__ieee754_asin): Force underflow exception for results with small
5371 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
5373 (__ieee754_asinf): Force underflow exception for results with
5374 small absolute value.
5375 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
5376 (__ieee754_asin): Force underflow exception for results with small
5378 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
5379 (__ieee754_asinf): Force underflow exception for results with
5380 small absolute value.
5381 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
5382 (__ieee754_asinl): Force underflow exception for results with
5383 small absolute value.
5384 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
5385 (__ieee754_asinl): Force underflow exception for results with
5386 small absolute value.
5387 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
5388 (__ieee754_asinl): Force underflow exception for results with
5389 small absolute value.
5390 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
5392 * math/auto-libm-test-in: Do not mark underflow exceptions as
5393 possibly missing for bug 16351.
5394 * math/auto-libm-test-out: Regenerated.
5397 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
5398 of power of 2 down when low part has opposite sign.
5399 * math/libm-test.inc (logb_test_data): Add more tests.
5401 2015-02-26 Andreas Schwab <schwab@suse.de>
5404 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5405 over collating symbol inside a bracket expression. Minor cleanup.
5406 * posix/tst-fnmatch3.c (do_test): Add test case.
5408 2015-02-26 Joseph Myers <joseph@codesourcery.com>
5411 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
5412 Adjust exponent of power of 2 down when low part has opposite
5414 * math/libm-test.inc (ilogb_test_data): Add more tests.
5416 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
5419 * locale/findlocale.c (_nl_find_locale): Fix constness error in
5420 the previous change.
5423 * locale/findlocale.c (_nl_find_locale): Retry archive search
5424 after alias expansion.
5426 2015-02-25 Roland McGrath <roland@hack.frob.com>
5428 * iconv/tst-iconv3.c (main): Converted to ...
5429 (do_test): ... this.
5430 (TEST_FUNCTION): New macro.
5431 Include test-skeleton.c.
5433 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
5434 (convert): Make function static.
5435 (test_unalign): Likewise. Add const to argument pointee types.
5436 (main): Replace with static function do_test.
5437 Print "Succeeded." only if RET is zero.
5438 (TEST_FUNCTION): New macro.
5439 Include test-skeleton.c.
5441 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
5442 returns a null pointer.
5444 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5446 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
5447 to __memcpy_ppc only for static builds.
5449 2015-02-25 Joseph Myers <joseph@codesourcery.com>
5452 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
5453 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
5454 * math/auto-libm-test-in: Add more tests of asinh.
5455 * math/auto-libm-test-out: Regenerated.
5456 * sysdeps/i386/fpu/libm-test-ulps: Update.
5457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5459 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
5462 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
5463 and ip6_mtuinfo definitions here.
5464 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
5465 in this define too. Update comment.
5467 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
5469 * elf/sprof.c (load_shobj): Tweak error message to match others.
5471 2015-02-24 Kevin Easton <kevin@guarana.org>
5473 [BZ #16145] (partial fix)
5474 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
5475 to reduce lock contention.
5477 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
5479 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
5480 (struct timex): Update time comment.
5481 (ADJ_SETOFFSET): Define.
5483 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5486 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5487 2**56 not 2**28 as threshold for log (2x) formula.
5488 * math/auto-libm-test-in: Add more tests of acosh.
5489 * math/auto-libm-test-out: Regenerated.
5490 * sysdeps/i386/fpu/libm-test-ulps: Update.
5491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5493 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5495 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
5496 parenthesis around the buf assignment.
5497 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
5499 2015-02-24 Joseph Myers <joseph@codesourcery.com>
5502 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
5503 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
5504 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
5505 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5506 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5507 * math/libm-test.inc (scalb_test_data): Add more tests.
5509 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5512 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
5513 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
5515 2015-02-24 Eric Rannaud <e@nanocritical.com>
5518 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
5519 * io/bits/fcntl2.h (open): Use it.
5521 * io/open.c (__libc_open): Likewise.
5522 * io/open64.c (__libc_open64): Likewise.
5523 * io/open64_2.c (__open64_2): Likewise.
5524 * io/open_2.c (__open_2): Likewise.
5525 * io/openat.c (__openat): Likewise.
5526 * io/openat64.c (__openat64): Likewise.
5527 * io/openat64_2.c (__openat64_2): Likewise.
5528 * io/openat_2.c (__openat_2): Likewise.
5529 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
5530 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
5531 * sysdeps/posix/open64.c (__libc_open64): Likewise.
5532 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
5533 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5534 (__open_nocancel): Likewise.
5535 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5536 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5537 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
5539 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5542 * resolv/gethnamaddr.c (getanswer): Skip logging if
5543 RES_USE_DNSSEC is set.
5544 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5546 2015-02-24 Mike Frysinger <vapier@gentoo.org>
5548 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5550 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
5552 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5553 201304L, for Unicode 7.
5555 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
5558 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5559 shared library. Add gmon-start.os otherwise.
5560 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5561 $(objpfx)gmon-start.os if builing shared library.
5562 ($(objpfx)g$(static-start-installed-name)): Likewise.
5564 2015-02-23 Andreas Schwab <schwab@suse.de>
5566 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5568 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
5571 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5572 (enlarge_userbuf): Likewise.
5574 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
5576 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5577 * math/atest-exp.c (TIMEOUT): Adjust to 200.
5578 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5579 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5581 2015-02-20 Joseph Myers <joseph@codesourcery.com>
5583 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5584 expression inside statement expression.
5586 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5588 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5589 <sysdeps/nptl/lowlevellock.h> and remove macros and
5590 functions that are now defined there.
5591 (SYS_futex): Remove.
5592 (lll_compare_and_swap): Remove.
5593 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5595 2015-02-19 Joseph Myers <joseph@codesourcery.com>
5598 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5599 instead of scandirat.
5600 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5601 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5602 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5604 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5605 (__scandirat): Declare. Use libc_hidden_proto.
5606 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5608 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5610 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5613 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5615 (__ieee754_atan2): For results with small absolute value, force
5616 underflow exception and remove excess range and precision from
5618 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5620 (__ieee754_atan2f): For results with small absolute value, force
5621 underflow exception and remove excess range and precision from
5623 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5625 (__atan): For results with small absolute value, force underflow
5626 exception and remove excess range and precision from return value.
5627 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5629 (__atanf): For results with small absolute value, force underflow
5630 exception and remove excess range and precision from return value.
5631 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5633 (__ieee754_atan2): Force underflow exception for results with
5634 small absolute value.
5635 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5637 (atan): Force underflow exception for results with small absolute
5639 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5640 (__atanf): Force underflow exception for results with small
5642 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5644 (__atanl): Force underflow exception for results with small
5646 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5647 (__atanl): Force underflow exception for results with small
5649 * sysdeps/x86/fpu/bits/mathinline.h
5650 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5651 (__ieee754_atan2): Only define inline for long double.
5652 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5653 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5654 * math/auto-libm-test-in: Do not mark underflow exceptions as
5655 possibly missing for bug 15319. Add more tests of atan2.
5656 * math/auto-libm-test-out: Regenerated.
5657 * math/libm-test.inc (casin_test_data): Do not mark underflow
5658 exceptions as possibly missing for bug 15319.
5659 (casinh_test_data): Likewise.
5660 * sysdeps/i386/fpu/libm-test-ulps: Update.
5662 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
5664 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5665 * sysdeps/mips/bits/endian.h: Fix comments.
5667 2015-02-18 Joseph Myers <joseph@codesourcery.com>
5670 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5671 (hdestroy_r): Likewise.
5672 (hsearch_r): Likewise.
5673 (__hcreate_r): Declare and use libc_hidden_proto.
5674 (__hdestroy_r): Likewise.
5675 (__hsearch_r): Likewise.
5676 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5677 (hcreate): Call __hcreate_r instead of hcreate_r.
5678 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5679 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5680 as weak alias of __hcreate_r.
5681 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5683 (hsearch_r): Rename to __hsearch_r and define as weak alias of
5685 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5687 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5688 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5689 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5690 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5692 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5694 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5695 arena_lock into a single arena_get.
5697 2015-02-17 Carlos O'Donell <carlos@redhat.com>
5699 * dl-reloc.c: Inlucde libc-internal.h.
5700 (_dl_try_allocate_static_tls): Call ALIGN_UP.
5701 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5702 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5703 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5704 (grow_heap): Likewise.
5705 * malloc/malloc.c: Include libc-internal.h.
5706 (do_check_malloc): Call powerof2.
5707 (sysmalloc): Use pagesize. Call ALIGN_UP.
5708 (systrim): Use pagesize.
5709 (mremap_chunk): Use pagesize. Call ALIGN_UP.
5710 (__libc_valloc): Use pagesize.
5711 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5713 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5716 * include/sys/resource.h (__getrlimit64): Declare. Use
5718 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5719 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
5720 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5722 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5724 [!getrlimit64] (getrlimit64): Define as weak alias of
5725 __getrlimit64. Use libc_hidden_weak.
5726 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5727 using __getrlimit64 not __new_getrlimit64.
5728 (__GI_getrlimit64): Likewise.
5729 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5731 (__GI_getrlimit64): Likewise.
5732 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5734 (getrlimit): Add __getrlimit64 alias.
5735 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5737 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5739 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5740 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5742 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5744 * libio/fileops.c: Add missing sys/mman.h
5745 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5747 2015-02-17 Joseph Myers <joseph@codesourcery.com>
5749 * manual/math.texi (Errors in Math Functions): Clarify goals
5750 regarding inexact and underflow exceptions.
5752 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5754 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5755 * sysdeps/mips/memset.S: Ditto.
5757 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
5759 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5761 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5763 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5764 (__v1longjmp): Remove versioned symbol.
5765 (__v1siglongjmp): Remove alias and versioned symbol.
5766 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5767 (__v2siglongjmp): Likewise.
5769 2015-02-16 Torvald Riegel <triegel@redhat.com>
5771 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5773 2015-02-16 Mike Frysinger <vapier@gentoo.org>
5775 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5777 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5780 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5781 zero result does not depend on the sign resulting from
5783 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5785 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5786 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5787 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5788 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5789 * math/libm-test.inc (remquo_test_data): Add more tests.
5791 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
5793 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5794 Problem reported by J William Piggott.
5796 2015-02-16 Joseph Myers <joseph@codesourcery.com>
5799 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5800 products 4 * y and 2 * y where those would overflow.
5801 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5803 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5804 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5805 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5806 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5807 * math/libm-test.inc (remquo_test_data): Add more tests.
5809 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5811 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5812 [defined _COMPILING_NEWLIB].
5813 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5814 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5816 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5817 [!defined __mips_isa_rev || __mips_isa_rev < 6].
5819 2015-02-16 Torvald Riegel <triegel@redhat.com>
5821 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5824 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
5827 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5828 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5829 HOST_STACK_END_ADDR): Likewise.
5831 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
5833 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5834 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5835 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5837 2015-02-13 Roland McGrath <roland@hack.frob.com>
5839 * sysdeps/generic/c++-types.data: New file.
5840 * sysdeps/generic/ld.abilist: New file.
5841 * sysdeps/generic/libBrokenLocale.abilist: New file.
5842 * sysdeps/generic/libanl.abilist: New file.
5843 * sysdeps/generic/libc.abilist: New file.
5844 * sysdeps/generic/libcrypt.abilist: New file.
5845 * sysdeps/generic/libdl.abilist: New file.
5846 * sysdeps/generic/libm.abilist: New file.
5847 * sysdeps/generic/libpthread.abilist: New file.
5848 * sysdeps/generic/libresolv.abilist: New file.
5849 * sysdeps/generic/librt.abilist: New file.
5851 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5854 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5855 Compute absolute value of x as modified by fmod, not original
5857 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5858 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
5859 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
5860 RUN_TEST_ffI_f1_mod8.
5861 (remquo_test_data): Add more tests.
5863 2015-02-13 Roland McGrath <roland@hack.frob.com>
5865 * sysdeps/init_array/pt-crti.S: New file.
5867 2015-02-13 Joseph Myers <joseph@codesourcery.com>
5870 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5871 __builtin_fmaf instead of relying on contraction of a * b + c.
5873 2015-02-12 J William Piggott <elseifthen@gmx.com>
5876 * manual/time.texi: correct the zoneinfo path in the TZ Variable
5879 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5882 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5883 __builtin_fma instead of relying on contraction of a * b + c.
5885 2015-02-12 Roland McGrath <roland@hack.frob.com>
5887 * Makeconfig (ASFLAGS): Add -Werror=undef.
5888 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5889 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5890 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5892 * Makeconfig (after-link): New variable.
5893 (+link-pie, +link-pie-tests): Use it.
5894 (+link-static, +link-static-tests): Likewise.
5895 (+link, +link-tests): Likewise.
5896 * Makerules (build-module, build-module-asneeded): Likewise.
5897 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5899 * elf/Makefile ($(objpfx)ld.so): Likewise.
5901 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5904 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5905 both struct timeval and struct timespec.
5907 2015-02-12 Joseph Myers <joseph@codesourcery.com>
5910 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5912 (__ieee754_exp2l): Do not multiply small fractional parts by
5914 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5916 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5917 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5918 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5919 * math/auto-libm-test-in: Add more tests of exp2.
5920 * math/auto-libm-test-out: Regenerated.
5922 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5924 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5927 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5929 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5932 2015-02-12 Andreas Schwab <schwab@suse.de>
5935 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5936 Filter out elision flags from value returned in kind.
5937 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5938 * nptl/tst-pthread-mutexattr.c: New file.
5940 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
5942 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5943 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5944 into gnu-gnu, and update comment to refer to abi-tags.
5946 2015-02-11 Joseph Myers <joseph@codesourcery.com>
5949 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5950 (__sincos): Set errno to EDOM for infinite argument.
5951 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5952 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5953 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5954 (__sincosl): Set errno to EDOM for infinite argument.
5955 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5956 (__sincosl): Set errno to EDOM for infinite argument.
5957 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5958 (__sincosl): Set errno to EDOM for infinite argument.
5959 * math/libm-test.inc (sincos_test_data): Test errno setting.
5961 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
5963 * string/strxfrm_l.c: Remove #define STRCMP.
5964 * string/strcoll_l.c: Remove #define STRLEN.
5965 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5966 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5968 2015-02-10 Joseph Myers <joseph@codesourcery.com>
5970 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5971 * sysdeps/mips/mips32/sfp-machine.h: ... here.
5972 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5973 * sysdeps/mips/mips64/Makefile: ... here.
5974 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5975 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5976 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5977 * sysdeps/mips/mips64/sfp-machine.h: ... here.
5978 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5979 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5980 * sysdeps/mips/mips64/n64/Implies: Likewise.
5982 2015-02-10 Roland McGrath <roland@hack.frob.com>
5984 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5985 <sys/time.h>, <string.h>, and <errno.h>.
5986 (dest_offset, dest_address, value, zero): Remove unused variables.
5987 (ldouble): Remove typedef.
5988 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5989 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
5991 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5992 (check): Function removed.
5994 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
5995 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5996 Don't call set_sigaction_FP and remove_sigaction_FP here.
5997 (ldouble_test): Just use 'long double' as macro argument, no need for
5998 the 'ldouble' typedef.
5999 (do_test): Set up SIGFPE handler at start, using plain signal rather
6000 than sigaction. Fix code style.
6002 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
6005 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
6008 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6010 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
6011 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6013 * sysdeps/powerpc/configure.ac: Remove file.
6014 * sysdeps/powerpc/configure: Likewise.
6016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6017 [sysdep_routines]: Remove wordcopy-power6 object.
6018 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6019 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
6020 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
6021 (__memmove_ppc32): Likewise.
6022 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
6024 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
6025 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
6026 Remove preprocessor.
6028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
6029 [sysdep_routines]: Remove wide chars objects.
6030 [wcsmbs]: New rule for wide char objects.
6032 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6033 Remove wordcopy-power6 obejct.
6034 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
6035 Use local call for wordcopy and memcpy symbols.
6036 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
6037 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
6038 implementation for loader.
6039 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
6041 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6042 Remove wordcopy-power7 object.
6043 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
6044 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
6045 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
6046 (_wordcopy_fwd_dest_aligned): Likewise.
6047 (_wordcopy_bwd_aligned): Likewise.
6048 (_wordcopy_bwd_dest_aligned): Likewise.
6050 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
6051 Rewrite to call __memmove_ppc instead of include default
6054 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6055 Remove wide chars objects.
6056 [wcsmbs]: New rule for wide char objects.
6058 2015-02-09 Andreas Schwab <schwab@suse.de>
6061 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6062 in terms of __O_DIRECTORY.
6064 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
6066 * time/getdate.c: Include <stdbool.h>.
6067 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
6069 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
6072 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
6074 Add ersatz _Static_assert on older C hosts
6075 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
6076 pre-C11 C platform that is not known to support _Static_assert.
6078 2015-02-07 Richard Braun <rbraun@sceen.net>
6080 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
6082 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
6084 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6086 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
6087 priority against unexistent AIO_PRIO_DELTA_MAX.
6088 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
6090 * misc/fchflags.c (fchflags): Likewise.
6091 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
6092 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
6093 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
6094 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
6095 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
6097 [__USE_MISC] (chflags, fchflags): Declare functions.
6098 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
6099 EINVAL when nfds is greater than FD_SETSIZE.
6100 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
6101 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
6103 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
6104 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
6105 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
6107 * hurd/hurd/signal.h (_hurd_self_sigstate,
6108 _hurd_critical_section_lock, _hurd_critical_section_unlock):
6109 Explicit casts from void *.
6110 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
6111 * abi-tags: Rename gnu-gnu os into gnu.
6114 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
6115 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
6116 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
6117 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
6118 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
6119 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
6122 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
6123 duplicates ADDR->sun_path with sockaddr LEN limitation.
6124 * sysdeps/mach/hurd/connect.c: Include <string.h>
6125 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
6126 * sysdeps/mach/hurd/sendmsg.c: Likewise.
6127 * sysdeps/mach/hurd/sendto.c: Likewise.
6128 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
6129 implementing it by hand.
6131 2015-02-06 Roland McGrath <roland@hack.frob.com>
6133 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
6134 Use sfi_breg on ldr.
6135 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6138 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
6140 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
6141 Test SIGSETXID only if it's defined.
6143 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
6145 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
6146 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
6148 * nptl/tst-align2.c: Moved ...
6149 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
6150 * nptl/Makefile (tests): Remove tst-align2.
6151 * sysdeps/unix/sysv/linux/Makefile
6152 [$(subdir) = nptl] (tests): Add tst-align-clone.
6153 * nptl/tst-getpid1.c: Moved ...
6154 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
6155 * nptl/tst-getpid2.c: Moved ...
6156 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
6157 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
6158 * sysdeps/unix/sysv/linux/Makefile
6159 [$(subdir) = nptl] (tests): ... here.
6160 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
6161 * sysdeps/unix/sysv/linux/Makefile
6162 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
6164 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
6165 Drop trailing \n from perror argument. Use return rather than exit.
6167 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
6169 * nptl/tst-cancel21.c (do_test): Likewise.
6170 * debug/tst-backtrace6.c: Include <signal.h> first thing.
6171 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
6172 [!SA_SIGINFO]: Make it a stub test.
6174 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
6175 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
6177 * posix/tst-getlogin.c: Move to ...
6178 * login/tst-getlogin.c: ... here.
6179 * posix/Makefile (tests): Move tst-getlogin to ...
6180 * login/Makefile (tests): ... here.
6182 * libio/tst-atime.c (do_test): Move local variables SV and E
6183 inside [ST_NOATIME] conditional.
6185 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
6187 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
6189 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
6190 (wait_code): New function replaces macro.
6191 Call nanosleep rather than syscall.
6193 * nptl/pt-system.c: Rewritten. Put everything under
6194 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6195 Use IFUNC to redirect when possible.
6197 * nptl/pt-longjmp.c: Rewritten. Put everything under
6198 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6199 Use IFUNC to redirect when possible.
6201 * nptl/pt-fork.c: Rewritten. Put everything under
6202 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
6203 Use IFUNC to redirect when possible.
6204 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
6206 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
6207 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
6208 unconditionally nowadays. This included the only reference to
6209 __vdso_clock_gettime that appears outside libc proper.
6210 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
6211 Remove version set (containing only __vdso_clock_gettime).
6212 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6213 Add attribute_hidden.
6214 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6215 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
6216 libc_hidden_data_def.
6217 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
6218 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6220 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
6221 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
6222 setrpcent, and getrpcport to ...
6223 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
6224 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
6225 getrpcbynumber_r, and getrpcent_r to ...
6226 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
6227 * inet/getrpcbyname.c: Moved ...
6228 * sunrpc/getrpcbyname.c: ... here.
6229 * inet/getrpcbyname_r.c: Moved ...
6230 * sunrpc/getrpcbyname_r.c: ... here.
6231 * inet/getrpcbynumber.c: Moved ...
6232 * sunrpc/getrpcbynumber.c: ... here.
6233 * inet/getrpcbynumber_r.c: Moved ...
6234 * sunrpc/getrpcbynumber_r.c: ... here.
6235 * inet/getrpcent.c: Moved ...
6236 * sunrpc/getrpcent.c: ... here.
6237 * inet/getrpcent_r.c: Moved ...
6238 * sunrpc/getrpcent_r.c: ... here.
6239 * inet/Makefile (routines): Move those to ...
6240 * sunrpc/Makefile (routines): ... here.
6241 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
6242 the $(subdirs) list.
6243 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
6244 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
6245 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
6246 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
6248 * elf/Makefile (routines): Include $(all-dl-routines), not just
6250 (rtld-routines): Likewise. Use = rather than :=.
6251 * sysdeps/aarch64/Makefile [$(subdir) = elf]
6252 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
6253 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
6254 * sysdeps/arm/Makefile: Likewise.
6255 * sysdeps/i386/Makefile: Likewise.
6256 * sysdeps/x86_64/Makefile: Likewise.
6257 * sysdeps/hppa/Makefile [$(subdir) = elf]
6258 (sysdep_routines, sysdep-rtld-routines): Don't add
6259 $(sysdep-dl-routines) to these.
6260 * sysdeps/ia64/Makefile: Likewise.
6261 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
6262 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
6263 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
6264 Don't add dl-static to these; sysdep-dl-routines alone is enough.
6265 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
6266 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
6267 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
6268 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
6269 * sysdeps/powerpc/Makefile [$(subdir) = elf]
6270 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
6271 these; sysdep-dl-routines alone is enough.
6273 2015-02-06 Joseph Myers <joseph@codesourcery.com>
6276 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
6277 where multiplication results in zero and third argument is finite
6279 * math/auto-libm-test-in: Add more tests of fma.
6280 * math/auto-libm-test-out: Regenerated.
6282 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
6283 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
6284 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
6285 (_FP_CMP_EQ): Likewise.
6286 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
6288 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
6289 extra argument CHECK_NAN. Redefine as wrapper around
6292 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
6294 * version.h (RELEASE): Set to "stable".
6295 (VERSION): Set to "2.21"
6296 * include/features.h (__GLIBC_MINOR__): Set to 21.
6298 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
6300 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6301 Paul Eggert <eggert@cs.ucla.edu>
6304 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
6305 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
6306 size in bytes. Store needed elements in wpmax. Use needed size
6307 in bytes for extend_alloca.
6309 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
6311 * manual/install.texi: Latest tested versions are GCC 4.9.2,
6312 binutls 2.25, and texinfo 5.2.
6313 * INSTALL: Regenerate.
6314 * sysdeps/nios2/configure: Regenerate.
6315 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
6316 * manual/contrib.texi: Update.
6340 * po/pt_BR.po: Update.
6349 * po/zh_CN.po: Update.
6350 * po/zh_TW.po: Update.
6352 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
6353 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
6354 * sysdeps/hppa/dl-irel.h: Remove #warning.
6355 * sysdeps/hppa/entry.h: Provide prototype for
6356 __canonicalize_funcptr_for_compare and cast argument.
6357 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
6358 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
6359 * sysdeps/hppa/sotruss-lib.c: New file.
6360 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
6361 (atomic_compare_and_exchange_val_acq): Use __typeof__.
6362 (atomic_compare_and_exchange_bool_acq): Likewise.
6363 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
6364 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
6366 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
6367 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
6368 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
6370 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
6372 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
6373 called function in non-PIC case.
6375 2015-01-31 David S. Miller <davem@davemloft.net>
6377 * sysdeps/sparc/sparc32/bits/atomic.h
6378 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
6379 unlock not after it.
6380 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
6381 volatile register usage warnings from the compiler.
6383 * sysdeps/sparc/nptl/sem_init.c: Delete.
6384 * sysdeps/sparc/nptl/sem_post.c: Delete.
6385 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
6386 * sysdeps/sparc/nptl/sem_wait.c: Delete.
6387 * sysdeps/sparc/sparc32/sem_init.c: New file.
6388 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
6389 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
6390 padding explicitly initialized.
6391 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
6392 padding for in-semaphore spinlock.
6393 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
6394 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
6395 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
6396 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
6397 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
6398 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
6399 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
6400 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
6402 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
6403 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
6405 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
6408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6409 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
6410 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
6412 (index_AVX_Fast_Unaligned_Load): Likewise.
6413 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
6414 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
6415 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
6416 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
6417 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6418 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
6419 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
6420 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
6421 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
6423 2015-01-29 Andreas Schwab <schwab@suse.de>
6425 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
6427 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6430 * nscd/nscd_stat.c (send_stats): Initialize DATA.
6432 2015-01-28 Martin Sebor <msebor@redhat.com>
6434 * math/README.libm-test: Clarify. Add "How to read the test output."
6436 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
6438 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
6441 2015-01-28 Joseph Myers <joseph@codesourcery.com>
6443 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
6444 (__HAVE_64B_ATOMICS): Define to 0.
6446 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6449 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
6450 value to set as new flag.
6453 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
6454 and use _ARCH_PPCSQ instead.
6455 (__ieee754_sqrt): Likewise.
6456 (__ieee754_sqrtf): Likewise.
6457 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
6458 _ARCH_PPCSQ is defined.
6459 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
6461 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
6462 _ARCH_PPCSQ is defined.
6463 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
6465 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
6467 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6469 * iconv/loop.c: Suppress array out of bound warning caused by GCC
6470 bug (GCC BZ #64739).
6472 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
6474 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
6475 Mark _retval as used.
6476 (lll_futex_wake_unlock): Likewise.
6477 (lll_futex_timed_wait_requeue_pi): Likewise.
6479 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6480 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
6483 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
6486 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
6487 (__bswap_64): Mark as __always_inline.
6489 2015-01-25 Bram <bug_rh@spam.wizbit.be>
6492 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
6493 when none of the search directories exist.
6495 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
6498 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
6499 power8 in .machine directive.
6502 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
6503 set dependency from opd value.
6505 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6508 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
6511 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
6514 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
6516 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
6518 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
6519 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
6520 Replace 1UL with (uint64_t) 1.
6521 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
6524 2015-01-23 Roland McGrath <roland@hack.frob.com>
6526 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
6527 (if_freenameindex): Likewise.
6529 * resource/getrlimit64.c: Add missing libc_hidden_def.
6531 2015-01-22 Joseph Myers <joseph@codesourcery.com>
6533 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
6535 (_FP_FMA): Likewise.
6536 (_FP_TO_INT_ROUND): Likewise.
6537 (_FP_FROM_INT): Likewise.
6539 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6542 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
6543 Make code racy and cancel safe.
6545 2015-01-21 Carlos O'Donell <carlos@redhat.com>
6547 * sysdeps/arm/unwind-resume.h: Fix copyright year.
6548 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6551 * pwd/tst-getpw.c: Rewrite.
6554 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6555 (modules-names): Add moddummy1 and moddummy2.
6556 ($(objpfx)tst-rec-dlopen): Define.
6557 * dlfcn/moddummy1.c: New file.
6558 * dlfcn/moddummy2.c: New file.
6559 * dlfcn/tst-rec-dlopen.c: New file.
6560 * elf/dl-cache.c (_dl_load_cache_lookup):
6561 Return char*. Copy result with alloca/strcpy/strdup.
6562 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6563 returns char*. Free cached. If not saving realname
6565 * elf/dl-open.c (dl_open_worker): Do not assert that
6566 _r_debug->r_state is RT_CONSISTENT.
6567 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6570 2015-01-21 Torvald Riegel <triegel@redhat.com>
6571 Carlos O'Donell <carlos@redhat.com>
6574 * nptl/sem_waitcommon.c: New file.
6575 * nptl/sem_wait.c: Include sem_waitcommon.c.
6576 (__sem_wait_cleanup, do_futex_wait): Remove.
6577 (__new_sem_wait): Adapt.
6578 (__new_sem_trywait): New function.
6579 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6580 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6581 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6582 (sem_timedwait): Adapt.
6583 * nptl/sem_post.c (__new_sem_post): Adapt.
6584 (futex_wake): New function.
6585 (__old_sem_post): Add release MO fence.
6586 * nptl/sem_open.c (sem_open): Adapt.
6587 * nptl/sem_init.c (__new_sem_init): Adapt.
6588 (futex_private_if_supported): New function.
6589 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6590 (__old_sem_getvalue): Add using previous code.
6591 * sysdeps/nptl/internaltypes.h: Adapt.
6592 * nptl/tst-sem13.c (do_test): Adapt.
6593 * nptl/tst-sem11.c (main): Adapt.
6594 * nptl/sem_trywait.c: Remove.
6595 * nptl/DESIGN-sem.txt: Remove.
6596 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6597 (gen-as-const-headers): Remove structsem.sym.
6598 * nptl/structsem.sym: Remove.
6599 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6600 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6601 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6602 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6603 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6604 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6605 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6606 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6607 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6608 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6609 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6610 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6611 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6612 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6613 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6614 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6615 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6616 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6617 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6618 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6619 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6620 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6622 2015-01-20 Carlos O'Donell <carlos@redhat.com>
6624 * INSTALL: Regenerated.
6626 * po/libc.pot: Regenerated.
6628 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
6629 Sandra Loosemore <sandra@codesourcery.com>
6630 Andrew Jenner <andrew@codesourcery.com>
6631 Joseph Myers <joseph@codesourcery.com>
6632 Nathan Sidwell <nathan@codesourcery.com>
6634 * NEWS: Mention new Nios II port.
6635 * sysdeps/nios2/Implies: New file.
6636 * sysdeps/nios2/Makefile: New file.
6637 * sysdeps/nios2/Subdirs: New file.
6638 * sysdeps/nios2/Versions: New file.
6639 * sysdeps/nios2/__longjmp.S: New file.
6640 * sysdeps/nios2/abort-instr.h: New file.
6641 * sysdeps/nios2/backtrace.c: New file.
6642 * sysdeps/nios2/bits/endian.h: New file.
6643 * sysdeps/nios2/bits/fenv.h: New file.
6644 * sysdeps/nios2/bits/link.h: New file.
6645 * sysdeps/nios2/bits/setjmp.h: New file.
6646 * sysdeps/nios2/bsd-_setjmp.S: New file.
6647 * sysdeps/nios2/bsd-setjmp.S: New file.
6648 * sysdeps/nios2/configure: New generated file.
6649 * sysdeps/nios2/configure.ac: New file.
6650 * sysdeps/nios2/crti.S: New file.
6651 * sysdeps/nios2/crtn.S: New file.
6652 * sysdeps/nios2/dl-init.c: New file.
6653 * sysdeps/nios2/dl-machine.h: New file.
6654 * sysdeps/nios2/dl-sysdep.h: New file.
6655 * sysdeps/nios2/dl-tls.h: New file.
6656 * sysdeps/nios2/dl-trampoline.S: New file.
6657 * sysdeps/nios2/gccframe.h: New file.
6658 * sysdeps/nios2/gmp-mparam.h: New file.
6659 * sysdeps/nios2/jmpbuf-offsets.h: New file.
6660 * sysdeps/nios2/jmpbuf-unwind.h: New file.
6661 * sysdeps/nios2/ldsodefs.h: New file.
6662 * sysdeps/nios2/libc-tls.c: New file.
6663 * sysdeps/nios2/libm-test-ulps: New file.
6664 * sysdeps/nios2/machine-gmon.h: New file.
6665 * sysdeps/nios2/math-tests.h: New file.
6666 * sysdeps/nios2/math_private.h: New file.
6667 * sysdeps/nios2/memusage.h: New file.
6668 * sysdeps/nios2/nptl/Makefile: New file.
6669 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6670 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6671 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6672 * sysdeps/nios2/nptl/pthreaddef.h: New file.
6673 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6674 * sysdeps/nios2/nptl/tls.h: New file.
6675 * sysdeps/nios2/preconfigure: New file.
6676 * sysdeps/nios2/s_fma.c: New file.
6677 * sysdeps/nios2/s_fmaf.c: New file.
6678 * sysdeps/nios2/setjmp.S: New file.
6679 * sysdeps/nios2/sfp-machine.h: New file.
6680 * sysdeps/nios2/sotruss-lib.c: New file.
6681 * sysdeps/nios2/stackguard-macros.h: New file.
6682 * sysdeps/nios2/stackinfo.h: New file.
6683 * sysdeps/nios2/start.S: New file.
6684 * sysdeps/nios2/sysdep.h: New file.
6685 * sysdeps/nios2/tls-macros.h: New file.
6686 * sysdeps/nios2/tst-audit.h: New file.
6687 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6688 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6689 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6690 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6691 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6692 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6693 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6694 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6695 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6696 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6697 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6698 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6699 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6700 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6701 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6702 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6703 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6704 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6705 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6706 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6707 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6708 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6709 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6710 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6711 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6712 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6713 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6714 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6715 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6716 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6717 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6718 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6719 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6720 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6721 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6722 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6723 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6724 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6725 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6726 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6727 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6728 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6729 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6730 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6732 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6735 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6736 (getutent): Use weak_alias in non SHARED case
6737 and default_symbol_version in SHARED case.
6738 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6739 (getutent_r, pututline): Likewise.
6740 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6741 (getutid): Likewise.
6742 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6743 (getutid_r): Likewise.
6744 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6745 (getutline): Likewise.
6746 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6747 (getutline_r): Likewise.
6748 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6749 (updwtmp): Likewise.
6751 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6754 * sysdeps/s390/s390-32/memcmp.S
6755 (memcmp_g5): Rename to __memcmp_g5.
6756 * sysdeps/s390/s390-32/memcpy.S
6757 (memcpy_g5): Rename to __memcpy_g5.
6758 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6759 (memcpy_mvcle) Rename to __memcpy_mvcle.
6760 * sysdeps/s390/s390-32/memset.S
6761 (memset_g5): Rename to __memset_g5.
6762 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6763 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6764 and use prefixed functions.
6765 * sysdeps/s390/s390-32/multiarch/memcmp.S
6766 (memcmp_z196): Rename to __memcmp_z196.
6767 (memcmp_z10): Rename to __memcmp_z10.
6768 (memcmp): Set alias to __memcmp_g5.
6769 (bcmp): Set alias to __memcmp_g5.
6770 * sysdeps/s390/s390-32/multiarch/memcpy.S
6771 (memcpy_z196): Rename to __memcpy_z196.
6772 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6773 (memcpy_z10): Rename to __memcpy_z10.
6774 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6775 (memcpy): Set alias to __memcpy_g5.
6776 * sysdeps/s390/s390-32/multiarch/memset.S
6777 (memset_z196): Rename to __memset_z196.
6778 Jump to __memset_mvcle instead of memset_mvcle.
6779 (memset_z10): Rename to __memset_z10.
6780 Jump to __memset_mvcle instead of memset_mvcle.
6781 (memset_mvcle) Rename to __memset_mvcle.
6782 (memset): Set alias to __memset_g5.
6783 * sysdeps/s390/s390-64/memcmp.S
6784 (memcmp_z900): Rename to __memcmp_z900.
6785 * sysdeps/s390/s390-64/memcpy.S
6786 (memcpy_z900): Rename to __memcpy_z900.
6787 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6788 (memcpy_mvcle) Rename to __memcpy_mvcle.
6789 * sysdeps/s390/s390-64/memset.S
6790 (memset_z900): Rename to __memset_z900.
6791 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6792 (IFUNC_RESOLVE): Prefix ifunc-resolve function
6793 and use prefixed functions.
6794 * sysdeps/s390/s390-64/multiarch/memcmp.S
6795 (memcmp_z196): Rename to __memcmp_z196.
6796 (memcmp_z10): Rename to __memcmp_z10.
6797 (memcmp): Set alias to __memcmp_z900.
6798 (bcmp): Set alias to __memcmp_z900.
6799 * sysdeps/s390/s390-64/multiarch/memcpy.S
6800 (memcpy_z196): Rename to __memcpy_z196.
6801 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6802 (memcpy_z10): Rename to __memcpy_z10.
6803 Jump to __memcpy_mvcle instead of memcpy_mvcle.
6804 (memcpy): Set alias to __memcpy_z900.
6805 * sysdeps/s390/s390-64/multiarch/memset.S
6806 (memset_z196): Rename to __memset_z196.
6807 Jump to __memset_mvcle instead of memset_mvcle.
6808 (memset_z10): Rename to __memset_z10.
6809 Jump to __memset_mvcle instead of memset_mvcle.
6810 (memset_mvcle) Rename to __memset_mvcle.
6811 (memset): Set alias to __memset_z900.
6813 2015-01-14 Joseph Myers <joseph@codesourcery.com>
6816 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6817 __fesetenv instead of fesetenv.
6819 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6821 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6824 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6826 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6829 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6830 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6831 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6832 strncmp-power8 object.
6833 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6834 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6835 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6838 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6839 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6841 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6842 trailing byte check.
6844 2015-01-13 David S. Miller <davem@davemloft.net>
6846 * include/signal.h (__sigreturn): Guard with __USE_MISC.
6848 2015-01-13 Roland McGrath <roland@hack.frob.com>
6850 * login/logout.c (logout): Use memset rather than bzero.
6851 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6852 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6853 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6854 (_gethtbyaddr): Likewise.
6855 * locale/programs/simple-hash.c (bcopy): Macro removed.
6857 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6859 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6860 Add strcmp-power8 object.
6861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6862 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6863 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6864 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6865 __strcmp_power8 implementation.
6866 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6869 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6870 Add strncpy-power8 and stpncpy-power8 objects.
6871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6872 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6874 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6875 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6876 __stpncpy_power8 implementation.
6877 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6878 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6879 __strncpy_power8 implementation.
6880 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6881 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6884 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6885 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6886 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6888 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6889 strncat-power8 object.
6890 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6891 __strcat_power8 implementation.
6892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6893 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6894 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6895 optimized strcat for power8.
6897 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6898 strcpy-power8 and stpcpy-power8 objects.
6899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6900 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6902 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6903 multiarch stpcpy implementation for POWER8.
6904 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6905 multiarch strcpy implementation for POWER8.
6906 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6907 __strcpy_power8 function.
6908 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6910 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6914 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
6917 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6918 weights and rules. Use do_xfrm_cached if data fits in cache,
6919 do_xfrm otherwise. Moved former main loop to...
6920 * (do_xfrm_cached): New function.
6921 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6922 find_idx, find_position and stack_push.
6923 * (find_idx): New function.
6924 * (find_position): Likewise.
6925 * localedata/sort-test.sh: Added test run for do_xfrm.
6926 * localedata/xfrm-test.c (main): Added command line option
6927 -nocache to run the test with strings that are too large for
6930 2015-01-13 Torvald Riegel <triegel@redhat.com>
6932 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6933 variable to lll_futex_wake call, not the value itself.
6935 2015-01-12 Joseph Myers <joseph@codesourcery.com>
6938 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6939 twom64. Adjust value to 0x1p-64L.
6940 (__scalblnl): Only return standard underflowing result for K <=
6941 -64 not K <= -63; adjust exponent for underflowing result by 64
6943 * math/libm-test.inc (scalbn_test_data): Add more tests.
6944 (scalbln_test_data): Likewise.
6947 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6949 (__scalblnl): Get new exponent of adjusted subnormal value from ES
6951 * math/libm-test.inc (scalbn_test_data): Add more tests.
6952 (scalbln_test_data): Likewise.
6954 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6955 Stefani Seibold <stefani@seibold.net>
6957 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6958 (sysdep_routines): Add dl-vdso here, ...
6959 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6960 (sysdep_routines): ... not here.
6961 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6962 fallback when vDSO is not presented.
6963 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6964 Define with libc_hidden_proto/libc_hidden_data_def definitions.
6965 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6966 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6967 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6968 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6969 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6970 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6971 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6973 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
6974 fallback configurable symbol when vDSO is not available.
6975 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6976 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
6977 be able to redefine fallback symbol when vDSO is not available.
6978 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6979 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6981 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6983 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6984 (TLS_INIT_TP): Add tm_capable initialization.
6985 (TLS_DEFINE_INIT_TP): Likewise.
6986 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6988 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6989 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6991 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6992 transactoion is lock elision is built and TCB tm_capable is set.
6993 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6995 (INTERNAL_SYSCALL_NCS): Likewise.
6996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6997 (INTERNAL_SYSCALL_NCS): Likewise.
6998 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
7000 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
7002 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7003 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
7004 and remove it for 32 bits case.
7005 [pthread_rwlock_t] (__rwelision): New field for lock elision.
7006 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
7008 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
7009 Disable lock elision with rdlocks if elision is not available.
7011 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
7012 (sysdep_routines): Add lock elision objects.
7013 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7014 [pthread_mutex_t] (__spins): Rework to add lock elision field.
7015 [pthread_mutex_t] (__elision): Add field.
7016 [__PTHREAD_SPINS]: Adjust to init lock elision field.
7017 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
7018 elision definitions for powerpc.
7019 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
7020 implementation of lock elision for powerpc.
7021 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
7022 implementation of timed lock elision for powerpc.
7023 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
7024 implementation of trylock with lock elision for powerpc.
7025 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
7026 implementaion of unlock for lock elision for powerpc.
7027 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
7028 automatic enable lock elision for mutexes.
7029 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
7030 transaction execution definitions for powerpc.
7031 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
7033 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
7034 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
7035 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
7036 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
7039 2015-01-09 Roland McGrath <roland@hack.frob.com>
7041 * sysdeps/posix/shm-directory.c: Use <> rather than ""
7042 for #include of <shm-directory.h>.
7044 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
7046 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
7047 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
7049 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
7052 * NEWS: Mention bug fix.
7053 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
7054 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
7055 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
7057 2015-01-09 Torvald Riegel <triegel@redhat.com>
7059 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
7061 2015-01-09 Torvald Riegel <triegel@redhat.com>
7063 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
7065 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7067 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
7068 pointer and cast to uintptr_t.
7070 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7072 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
7074 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
7076 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
7078 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
7081 2015-01-08 Roland McGrath <roland@hack.frob.com>
7083 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
7084 <nptl/pthreadP.h> instead.
7085 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
7087 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
7089 [__SIGRTMIN] (init): Function removed.
7090 [__SIGRTMIN] (initialized): Variable removed.
7091 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
7092 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
7093 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
7094 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
7095 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
7096 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
7097 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
7098 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
7099 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
7100 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
7101 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
7102 * sysdeps/nptl/allocrtsig.c: New file.
7103 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
7104 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
7105 * sysdeps/generic/testrtsig.h: File removed.
7107 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
7108 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
7110 * nptl/nptl-init.c (pthread_functions): Conditionalize
7111 .ptr__nptl_setxid initialization on [SIGSETXID].
7113 * sysdeps/nptl/sys/procfs.h: New file.
7114 * nptl_db/Makefile (headers): Add it.
7115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
7117 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
7118 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
7119 * nptl/pthread_attr_setaffinity.c: Include it.
7120 * nptl/pthread_setattr_default_np.c: Likewise.
7121 * nptl/check-cpuset.h: New file.
7123 2015-01-08 Richard Henderson <rth@redhat.com>
7125 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
7126 (CFLAGS-tst-execstack-prog.c): Likewise.
7127 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7129 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
7130 Sandra Loosemore <sandra@codesourcery.com>
7131 Andrew Jenner <andrew@codesourcery.com>
7132 Joseph Myers <joseph@codesourcery.com>
7133 Nathan Sidwell <nathan@codesourcery.com>
7135 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
7136 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
7137 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
7138 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
7139 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
7140 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
7141 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
7142 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
7143 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
7144 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
7145 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
7146 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
7147 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
7148 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
7149 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
7150 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
7151 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
7153 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7155 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
7156 timespec struct member in syscall macro.
7157 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
7158 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
7159 first timeval struct member in syscall macro.
7160 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
7162 2015-01-07 Joseph Myers <joseph@codesourcery.com>
7165 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
7166 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
7167 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
7168 __feupdateenv and define as weak alias of __feupdateenv. Use
7170 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
7172 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
7173 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
7174 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7175 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
7177 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
7178 __feupdateenv and define as weak alias of __feupdateenv. Use
7180 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
7182 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
7183 __feupdateenv and define as weak alias of __feupdateenv. Use
7185 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
7187 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7188 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7189 (__feupdateenv): Likewise.
7190 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
7191 __feupdateenv and define as weak alias of __feupdateenv. Use
7193 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7194 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
7196 * sysdeps/tile/math_private.h (__feupdateenv): New inline
7198 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
7200 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
7201 __feupdateenv instead of feupdateenv.
7202 (default_libc_feupdateenv_test): Likewise.
7203 (libc_feresetround_ctx): Likewise.
7205 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7207 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
7210 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
7212 * posix/regcomp.c (parse_bracket_exp): Initialize type to
7213 COLL_SYM in a couple of places to avoid uninitialized variable
7214 wanings on tilegx gcc 4.8.2.
7216 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7218 * sysdeps/aarch64/strcpy.S: New file.
7219 * sysdeps/aarch64/stpcpy.S: New file.
7222 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
7224 * sysdeps/aarch64/strrchr.S: New file.
7227 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
7230 * stdlib/setenv.c: Fix memory leak when setting large,
7233 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
7236 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
7237 and tabs from buffer before parsing fstab entry.
7238 * misc/tst-mntent.c (main): Add test for mount entry with
7239 trailing spaces and tabs.
7241 2015-01-06 Joseph Myers <joseph@codesourcery.com>
7244 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
7245 * math/fesetround.c (fesetround): Rename to __fesetround and
7246 define as weak alias of __fesetround. Use libm_hidden_weak.
7247 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
7248 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
7249 * sysdeps/arm/fesetround.c (fesetround): Likewise.
7250 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
7251 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
7252 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
7253 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
7254 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
7255 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
7256 __fesetround_inline.
7257 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
7258 __fesetround_inline instead of __fesetround.
7259 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
7260 __fesetround and define as weak alias of __fesetround. Use
7261 libm_hidden_weak. Call __fesetround_inline instead of
7263 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
7264 __fesetround and define as weak alias of __fesetround. Use
7266 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
7268 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
7269 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7270 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
7271 * sysdeps/tile/math_private.h (__fesetround): New inline function.
7272 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
7273 __fesetround and define as weak alias of __fesetround. Use
7275 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
7276 __fesetround instead of fesetround.
7277 (default_libc_feholdexcept_setround): Likewise.
7278 (libc_feholdsetround_ctx): Likewise.
7279 (libc_feholdsetround_noex_ctx): Likewise.
7282 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
7283 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
7284 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7285 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7286 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7287 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
7288 define as weak alias of __fesetenv. Use libm_hidden_weak.
7289 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7290 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7291 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7292 define as weak alias of __fesetenv. Use libm_hidden_weak.
7293 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7294 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7295 define as weak alias of __fesetenv. Use libm_hidden_weak.
7296 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
7298 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
7299 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
7301 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
7302 define as weak alias of __fesetenv. Use libm_hidden_weak.
7303 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7304 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
7305 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
7306 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
7307 and define as weak alias of __fesetenv. Use libm_hidden_weak.
7308 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
7309 __fesetenv instead of fesetenv.
7310 (libc_feresetround_noex_ctx): Likewise.
7311 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7312 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
7313 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
7314 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7315 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7316 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7317 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7318 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
7319 (__feupdateenv): Likewise.
7320 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7321 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7322 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7323 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
7325 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7328 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
7329 addresses have been freed.
7331 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
7333 * resolv/res_init.c (__res_vinit): Improve comments about nserv
7336 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
7338 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
7339 Clean up check_pf allocation pattern. addresses
7341 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7343 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
7344 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
7345 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
7346 * nptl/pthread_exit.c (__pthread_exit): Likewise.
7347 * nptl/pthread_join.c (pthread_join): Likewise.
7348 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
7349 * sysdeps/posix/waitid.c (__waitid): Likewise.
7350 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7351 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7352 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7353 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7354 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7356 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7357 (__libc_pread64): Likewise.
7358 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7359 (__libc_pwrite): Likewise.
7360 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7361 (__libc_pwrite64): Likewsie.
7362 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7363 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7364 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7365 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7366 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7367 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7368 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7372 (__libc_pread64): Likewise.
7373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
7375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
7376 (__libc_pwrite64): Likewise.
7377 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7378 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7379 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
7380 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7381 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7382 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7383 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
7384 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7385 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7386 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7387 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
7388 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7389 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7390 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
7391 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7392 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7395 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
7397 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
7398 (CFLAGS-test-double.c): Likewise.
7399 (CFLAGS-test-ldouble.c): Likewise.
7400 (CPPFLAGS-test-ifloat.c): Likewise.
7401 (CPPFLAGS-test-idouble.c): Likewise.
7402 (CPPFLAGS-test-ildoubl.c): Likewise.
7403 (CFLAGS-test-test-fenv.c): Remove variable.
7404 (CFLAGS-test-misc.c): Likewise.
7406 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
7409 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
7410 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
7411 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
7412 CLOCKS_PER_SEC == 1000000.
7413 * time/clocktest.c (main): Replace %ld with %jd and cast to
7416 2015-01-05 Roland McGrath <roland@hack.frob.com>
7418 * sysdeps/generic/unwind-resume.h: New file.
7419 * sysdeps/gnu/unwind-resume.c: Include it.
7420 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
7421 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
7423 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
7424 global rather than static.
7425 (_Unwind_Resume): Update user.
7426 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
7427 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
7428 rather than static. Add __attribute__ ((cold)).
7429 (_Unwind_Resume, __gcc_personality_v0): Update callers.
7430 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
7431 * sysdeps/arm/arm-unwind-resume.S: New file.
7432 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
7433 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
7434 * sysdeps/arm/Makefile [$(subdir) = csu]
7435 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
7436 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
7437 Add rt-arm-unwind-resume.
7439 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7440 Add pt-arm-unwind-resume.
7441 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
7442 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
7444 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7447 * include/fenv.h (__feholdexcept): Declare. Use
7449 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
7450 define as weak alias of __feholdexcept. Use libm_hidden_weak.
7451 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7452 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
7453 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
7454 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
7455 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
7456 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7457 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
7458 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
7459 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7460 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
7461 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
7462 (feholdexcept): Likewise.
7463 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7464 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7465 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
7466 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7467 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
7468 __feholdexcept instead of feholdexcept.
7469 (default_libc_feholdexcept_setround): Likewise.
7471 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7473 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
7474 to avoid using stl/str to align destination.
7476 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7478 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
7480 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7483 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
7484 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
7485 Define as weak alias not strong alias.
7487 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
7489 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
7490 bltzal with addiupc.
7491 (RTLD_START): Ditto.
7493 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
7495 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
7496 for __vdso_* functions in declarations.
7497 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
7499 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
7500 INTERNAL_VSYSCALL): Use struct return types to check for error.
7502 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
7503 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
7504 function with cast from llround().
7505 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7506 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
7509 2015-01-05 Joseph Myers <joseph@codesourcery.com>
7512 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
7513 Define as weak alias not strong alias.
7516 * ctype/ctype-c99.c: New file. isblank implementation moved from
7518 * ctype/ctype-extn.c: ... here.
7519 (__isblank_l): Move to ...
7520 * ctype/ctype-c99_l.c: ... here. New file.
7521 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
7522 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
7524 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7525 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7526 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7527 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7528 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7531 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
7532 (posix_fadvise64): Define as weak alias not strong alias.
7533 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7534 (posix_fallocate64): Likewise.
7535 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
7537 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7538 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7539 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7540 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7541 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7543 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
7546 * NEWS: Mention bug fix.
7547 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7548 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7549 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7550 (HOST_STACK_END_ADDR): Likewise.
7552 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7555 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
7556 * math/fegetround.c (fegetround): Rename to __fegetround and
7557 define as weak alias of __fegetround. Use libm_hidden_weak.
7558 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7559 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7560 * sysdeps/arm/fegetround.c (fegetround): Likewise.
7561 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7562 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7563 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7564 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7565 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7566 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7567 Undefine after rather than before function definition; use
7568 parentheses around function name in definition.
7569 (__fegetround): Also undefine macro after function definition.
7570 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7571 __fegetround and define as weak alias of __fegetround. Use
7572 libm_hidden_weak. Do not undefine as macro.
7573 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7575 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7576 __fegetround and define as weak alias of __fegetround. Use
7578 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7579 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7580 * sysdeps/tile/math_private.h (__fegetround): New inline function.
7581 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7582 __fegetround and define as weak alias of __fegetround. Use
7584 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7585 __fegetround instead of fegetround.
7588 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7589 Condition macro definition on [__USE_MISC].
7592 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7593 (struct sigaction): Change type of sa_flags field to int.
7596 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7597 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7600 * nptl/version.c (banner): Use single year in copyright notice.
7602 * NEWS: Update copyright dates.
7603 * catgets/gencat.c (print_version): Likewise.
7604 * csu/version.c (banner): Likewise.
7605 * debug/catchsegv.sh: Likewise.
7606 * debug/pcprofiledump.c (print_version): Likewise.
7607 * debug/xtrace.sh (do_version): Likewise.
7608 * elf/ldconfig.c (print_version): Likewise.
7609 * elf/ldd.bash.in: Likewise.
7610 * elf/pldd.c (print_version): Likewise.
7611 * elf/sotruss.sh: Likewise.
7612 * elf/sprof.c (print_version): Likewise.
7613 * iconv/iconv_prog.c (print_version): Likewise.
7614 * iconv/iconvconfig.c (print_version): Likewise.
7615 * locale/programs/locale.c (print_version): Likewise.
7616 * locale/programs/localedef.c (print_version): Likewise.
7617 * login/programs/pt_chown.c (print_version): Likewise.
7618 * malloc/memusage.sh (do_version): Likewise.
7619 * malloc/memusagestat.c (print_version): Likewise.
7620 * malloc/mtrace.pl: Likewise.
7621 * manual/libc.texinfo: Likewise.
7622 * nptl/version.c (banner): Likewise.
7623 * nscd/nscd.c (print_version): Likewise.
7624 * nss/getent.c (print_version): Likewise.
7625 * nss/makedb.c (print_version): Likewise.
7626 * posix/getconf.c (main): Likewise.
7627 * scripts/test-installation.pl: Likewise.
7628 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7630 2015-01-02 Will Newton <will.newton@linaro.org>
7632 * sysdeps/arm/armv7/configure: Removed.
7633 * sysdeps/arm/armv7/configure.ac: Likewise.
7635 2015-01-02 Joseph Myers <joseph@codesourcery.com>
7637 * All files with FSF copyright notices: Update copyright dates
7638 using scripts/update-copyrights.
7639 * intl/plural.c: Regenerated.
7640 * locale/programs/charmap-kw.h: Likewise.
7641 * locale/programs/locfile-kw.h: Likewise.
7643 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7645 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7647 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7650 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7651 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7652 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7653 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7654 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7655 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7656 define as weak alias of __fegetenv. Use libm_hidden_weak.
7657 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7658 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7659 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7660 define as weak alias of __fegetenv. Use libm_hidden_weak.
7661 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7662 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7663 define as weak alias of __fegetenv. Use libm_hidden_weak.
7664 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7666 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7667 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7669 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7670 define as weak alias of __fegetenv. Use libm_hidden_weak.
7671 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7672 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7673 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7674 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7675 and define as weak alias of __fegetenv. Use libm_hidden_weak.
7676 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7677 __fegetenv instead of fegetenv.
7678 (libc_feholdsetround_noex_ctx): Likewise.
7680 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
7682 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7683 (Elf_MIPS_ABIFlags_v0): New structure.
7684 (EF_MIPS_FP64): Define.
7685 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7686 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7687 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7688 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7689 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7690 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7691 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7692 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7693 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7694 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7695 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7696 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7697 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7698 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7699 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7700 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7701 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7702 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7703 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7704 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7705 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7706 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7708 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7710 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7711 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7712 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7713 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7714 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7715 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7716 * sysdeps/mips/tst-abi-interlink.c: Likewise.
7717 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7718 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7719 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7720 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7721 record the current FP ABI extension.
7722 (mips-mode-switch): Define to show if kernel headers support mode
7724 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7725 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7726 supported SYSV ABI version to 3.
7727 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7730 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7731 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7733 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7735 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7737 2014-12-31 Joseph Myers <joseph@codesourcery.com>
7739 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7740 __fegetround and redefine to call __fegetround. Remove condition
7741 on [!__NO_MATH_INLINES].
7742 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7744 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7745 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7747 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7748 instead of <fenv_libc.h>.
7749 (__llrintl): Call fegetround instead of __fegetround.
7750 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7751 instead of <fenv_libc.h>.
7752 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7753 (__lrintl): Call fegetround instead of __fegetround.
7754 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7755 instead of <fenv_libc.h>.
7756 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7757 (__rintl): Call fegetround instead of __fegetround.
7759 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7761 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7764 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7767 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7768 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7769 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7771 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7773 * sysdeps/i386/tls-macros.h: Include <features.h>.
7774 (TLS_LE): Use non-PIC version for GCC >= 5.0.
7778 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7779 define for GCC >= 5.0.
7781 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
7783 * math/test-fenv.c (test_single_exception, set_single_exc,
7784 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7785 feexcp_mask_test, feenable_test, fe_single_test): Add
7786 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7787 case where they are not used.
7788 * math/libm-test.inc: Likewise.
7789 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7790 unused in the absence of FP rounding/exception support.
7791 * stdio-common/tst-printf-round.c: Likewise.
7792 * stdlib/tst-strtod-round.c: Likewise.
7793 * stdlib/tst-strtod-underflow.c: Likewise.
7795 2014-12-30 Joseph Myers <joseph@codesourcery.com>
7798 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7799 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7800 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7801 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7803 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7804 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7805 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7807 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7808 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7810 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7812 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7813 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7814 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7816 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7818 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7819 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7820 (__feraiseexcept): Likewise.
7821 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7822 __feraiseexcept and define as weak alias of __feraiseexcept. Use
7824 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7825 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7827 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7828 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7829 Use libm_hidden_def.
7830 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7832 (feraiseexcept): Define as weak not strong alias. Use
7834 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7835 New inline function. Factored out of ...
7836 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
7837 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7838 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7840 * math/w_acos.c (__acos): Likewise.
7841 * math/w_asin.c (__asin): Likewise.
7842 * math/w_ilogb.c (__ilogb): Likewise.
7843 * math/w_j0.c (y0): Likewise.
7844 * math/w_j1.c (y1): Likewise.
7845 * math/w_jn.c (yn): Likewise.
7846 * math/w_log.c (__log): Likewise.
7847 * math/w_log10.c (__log10): Likewise.
7848 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7849 * sysdeps/aarch64/fpu/math_private.h
7850 (libc_feupdateenv_test_aarch64): Likewise.
7851 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7852 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7853 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7854 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7855 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7856 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7857 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7858 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7859 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7860 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7862 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
7865 * io/test-utime.c (main): Replace %ld with %jd and cast to
7867 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7868 * nptl/tst-mutex5.c: Include <stdint.h>.
7869 (do_test): Replace %ld with %jd and cast to intmax_t.
7870 * posix/tst-regex.c (run_test): Likewise.
7871 (run_test_backwards): Likewise.
7872 * rt/tst-clock.c: Include <stdint.h>.
7873 (clock_test): Replace %ld with %jd and cast to intmax_t.
7874 * rt/tst-cpuclock1.c: Include <stdint.h>.
7875 (do_test): Replace %lu with %ju and cast to uintmax_t.
7876 * rt/tst-cpuclock2.c: Include <stdint.h>.
7877 (do_test): Replace %lu with %ju and cast to uintmax_t.
7878 * rt/tst-mqueue1.c: Include <stdint.h>.
7879 (check_attrs): Replace %ld with %jd and cast to intmax_t.
7880 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7882 * rt/tst-mqueue4.c (do_test): Likewise.
7883 * rt/tst-timer4.c: Include <stdint.h>.
7884 (check_ts): Replace %ld with %jd and cast to intmax_t.
7885 (do_test): Likewise.
7886 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7887 and cast to intmax_t.
7888 * sysdeps/pthread/tst-timer.c (main): Likewise.
7889 * time/clocktest.c (main): Likewise.
7890 * time/tst-posixtz.c (do_test): Likewise.
7891 * timezone/tst-timezone.c (main): Likewise.
7893 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
7894 H.J. Lu <hongjiu.lu@intel.com>
7896 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7897 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7898 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7899 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7900 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7901 version if bit_Fast_Unaligned_Load is set.
7902 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7903 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7904 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7905 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7906 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7907 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7909 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7910 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7911 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7913 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7914 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7915 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7916 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7918 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
7920 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7921 instead of #if to avoid a Wundef warning.
7922 * stdlib/tst-limits.c (do_test): Likewise.
7924 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7925 parallel other exception macros.
7926 (fegetenv): Convert from macro to extern inline so that it applies
7927 retroactively to inline functions already seen by the compiler.
7928 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7930 * posix/Makefile (before-compile): Use $(objpfx) for
7931 posix-conf-vars-def.h.
7933 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7935 * posix/getconf.c (main): Use size_t for type of I.
7936 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7939 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7940 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7941 * posix/posix-envs.def: Likewise.
7942 * sysdeps/posix/sysconf.c: Likewise.
7943 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7944 (specs): Remove array.
7945 * scripts/gen-posix-conf-vars.awk: Support generation of specs
7948 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7949 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7950 (__sysconf): Use CONF_IS_* macros.
7952 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7953 ($(objpfx)posix-conf-vars-def.h): New target.
7954 * posix/posix-conf-vars.list: New file.
7955 * posix/posix-conf-vars.h: New file.
7956 * posix/confstr.c: Include posix-conf-vars.h.
7957 (confstr): Use CONF_IS_* macros.
7958 * posix/posix-envs.def: Include posix-conf-vars.h. Use
7960 * scripts/gen-posix-conf-vars.awk: New file.
7962 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
7964 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7965 fegetround): Add no-op macros to avoid linknamespace issues.
7967 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7968 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7970 * sysdeps/unix/sysv/linux/tile/sysdep.h
7971 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7972 assembly-specific section to avoid a redefinition warning.
7974 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7975 long before casting to pointer to avoid a cast warning.
7977 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
7979 * sysdeps/tile/tilegx/Implies: New file.
7981 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
7983 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7985 2014-12-23 Florian Weimer <fweimer@redhat.com>
7987 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7989 2014-12-22 Joseph Myers <joseph@codesourcery.com>
7991 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7993 * sysdeps/unix/sysv/linux/utimes.c: Do not include
7994 <kernel-features.h>.
7995 (__utimes) [__NR_utimes]: Make code unconditional.
7996 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7997 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7998 (__ASSUME_UTIMES): Do not undefine.
7999 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8000 (__ASSUME_UTIMES): Likewise.
8001 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8002 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
8003 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
8004 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
8006 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8008 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
8010 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
8013 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
8014 alias to weak alias for j0l, y0l.
8015 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
8016 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
8019 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
8022 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
8024 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
8025 to zero if not already defined.
8027 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8030 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
8031 (__kernel_standard_f): Remove. Moved to k_standardf.c.
8032 (__kernel_standard_l): Remove. Moved to k_standardl.c with
8033 (char *) casts added.
8034 * sysdeps/ieee754/k_standardf.c: New file.
8035 * sysdeps/ieee754/k_standardl.c: Likewise.
8036 * math/Makefile (libm-support): Remove k_standard.
8037 (libm-calls): Add k_standard.
8039 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8041 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8042 Optimize to avoid an unnecessary FPCR read.
8044 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8046 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8047 Optimize to reduce FPCR/FPSR accesses.
8049 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8051 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
8052 Call libc_fetestexcept_aarch64.
8054 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
8056 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
8057 Call libc_fesetround_aarch64.
8059 2014-12-22 Joseph Myers <joseph@codesourcery.com>
8062 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
8063 (__bind): Do not define as weak alias.
8064 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
8066 (__getsockname): Do not define as weak alias.
8068 2014-12-22 Will Newton <will.newton@linaro.org>
8070 * manual/install.texi: Document that we require bison 2.7
8072 * INSTALL: Regenerate.
8073 * configure.ac: Use AC_CHECK_PROG_VER instead of
8074 AC_PATH_PROG when checking for bison and check for
8075 version 2.7 or above.
8076 * configure: Regenerate.
8078 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
8081 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
8082 * sysdeps/tile/ffsll.c (ffsll): To here.
8084 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
8086 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8088 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
8090 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
8092 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8093 hidden ___tls_get_addr.
8094 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
8095 hidden __tls_get_addr.
8096 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
8097 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
8100 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
8102 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
8105 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
8107 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
8108 from "call _dl_init@PLT".
8109 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
8111 2014-12-21 Anders Kaseorg <andersk@mit.edu>
8113 * manual/search.texi: (Array Sort Function): Clarify stable sorting
8116 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
8118 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
8120 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8123 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
8126 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8128 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
8130 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
8131 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
8132 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
8133 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
8134 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
8136 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
8138 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
8139 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
8140 (PTR_SUBU): Use subu for mips32r6/mips64r6.
8141 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
8142 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
8144 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
8146 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
8148 * string/strncat.c (STRNCAT): Simplify implementation.
8150 2014-12-19 David S. Miller <davem@davemloft.net>
8152 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
8153 access the quad as both a long double and as a series of 4 words.
8155 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
8156 link_map->l_info array access.
8158 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
8160 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
8162 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
8163 * math/atest-exp2.c (TIMEOUT): Likewise.
8164 * math/atest-sincos.c (TIMEOUT): Likewise.
8166 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8168 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
8169 -Wno-error with -fno-builtin-lround.
8171 2014-12-19 Torvald Riegel <triegel@redhat.com>
8173 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
8174 Contains futex constants and functions moved over from ...
8175 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
8176 <lowlevellock-futex.h>.
8177 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8178 (lll_timedwait_tid): Add comments and parentheses around macro
8181 2014-12-19 Torvald Riegel <triegel@redhat.com>
8183 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
8184 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
8185 (__lll_private_flag): Remove.
8186 (lll_futex_wait): Likewise.
8187 (lll_futex_timed_wait): Likewise.
8188 (lll_futex_wake): Likewise.
8189 (lll_futex_requeue): Likewise.
8190 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
8191 (__lll_timedwait_tid): Spell out argument names.
8192 (lll_timedwait_tid): Add comments and parentheses around macro
8194 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
8195 LLL_SHARED and LLL_PRIVATE usable from assembly code.
8197 2014-12-19 Torvald Riegel <triegel@redhat.com>
8199 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
8200 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8201 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8202 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
8203 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
8204 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
8205 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
8206 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
8207 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
8208 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
8209 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
8210 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
8211 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
8212 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
8213 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
8214 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
8215 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
8216 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
8217 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
8219 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8221 * sysdeps/x86_64/x32/Makefile: New file.
8223 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
8225 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
8226 1L with (mp_limb_t) 1.
8228 2014-12-17 Roland McGrath <roland@hack.frob.com>
8230 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
8231 * nptl/libc_pthread_init.c: ... here.
8232 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
8233 * nptl/register-atfork.c: ... here.
8235 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
8236 Use pthread_sigmask rather than INTERNAL_SYSCALL.
8237 Use assert_perror to check its return value.
8238 (__gai_create_helper_thread): Likewise.
8240 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
8242 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
8244 2014-12-17 Joseph Myers <joseph@codesourcery.com>
8247 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
8249 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
8251 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
8253 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
8255 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
8256 (profil_counter): Likewise.
8257 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
8258 (profil_counter): Likewise.
8259 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
8261 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
8263 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
8264 (profil_counter): Likewise.
8265 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
8267 [!__profil_counter] (profil_counter): Define as weak alias of
8269 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
8270 (profil_counter): Rename to __profil_counter.
8271 [!__profil_counter] (profil_counter): Define as weak alias of
8273 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
8274 (profil_counter): Rename to __profil_counter.
8275 [!__profil_counter] (profil_counter): Define as weak alias of
8277 * sysdeps/posix/profil.c: Update comment referring to
8279 (__profil): Use __profil_counter instead of profil_counter.
8280 * sysdeps/posix/sprofil.c (profil_counter): Rename to
8281 __profil_counter. Use __profil_counter_ushort and
8282 __profil_counter_uint in definitions.
8283 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
8284 instead of profil_counter_uint and profil_counter_ushort.
8287 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
8288 define as weak alias of __inet_makeaddr.
8289 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
8290 as weak alias of __inet_addr.
8291 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
8292 as weak alias of __inet_pton. Use libc_hidden_weak.
8293 * include/arpa/inet.h (__inet_pton): Declare. Use
8295 (inet_makeaddr): Don't use libc_hidden_proto.
8296 (__inet_makeaddr): Declare. Use libc_hidden_proto.
8297 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
8298 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
8299 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
8301 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8302 (test-xfail-POSIX/time.h/linknamespace): Likewise.
8304 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
8306 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
8308 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8310 * stdio-common/bug-vfprintf-nargs.c (do_test):
8311 Cast value to intptr_t to avoid format warning
8312 for usage with PRIdPTR printing macro.
8314 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8316 * libio/tst-widetext.c (do_test):
8317 Use format type %td instead of %Zd for ptrdiff_t
8318 in order to avoid format warning.
8320 2014-12-17 Andreas Schwab <schwab@suse.de>
8322 * nscd/mem.c (gc): Add size_t cast to match printf format.
8324 2014-12-16 Roland McGrath <roland@hack.frob.com>
8326 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
8327 (init): Apply PTR_MANGLE to pointers before storing them.
8328 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
8331 2014-12-16 Joseph Myers <joseph@codesourcery.com>
8334 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
8335 define as weak alias of __memrchr.
8336 (__memrchr): Do not define as strong alias of memrchr.
8337 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8339 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8340 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8341 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8344 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
8345 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
8346 (if_indextoname): Rename to __if_indextoname and define as weak
8347 alias of __if_indextoname. Use libc_hidden_weak.
8348 (if_freenameindex): Rename to __if_freenameindex and define as
8349 weak alias of __if_freenameindex.
8350 (if_nameindex): Rename to __if_nameindex and define as weak alias
8352 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
8353 __if_nametoindex and define as weak alias of __if_nametoindex.
8354 Use libc_hidden_weak.
8355 (if_freenameindex): Rename to __if_freenameindex and define as
8356 weak alias of __if_freenameindex.
8357 (if_nameindex): Rename to __if_nameindex and define as weak alias
8359 (if_indextoname): Rename to __if_indextoname and define as weak
8360 alias of __if_indextoname. Use libc_hidden_weak.
8361 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
8362 __if_nametoindex and define as weak alias of __if_nametoindex.
8363 Use libc_hidden_weak.
8364 (if_freenameindex): Rename to __if_freenameindex and define as
8365 weak alias of __if_freenameindex. Use libc_hidden_weak.
8366 (if_nameindex_netlink): Use __if_freenameindex instead of
8368 (if_nameindex): Rename to __if_nameindex and define as weak alias
8369 of __if_nameindex. Use libc_hidden_weak.
8370 (if_indextoname): Rename to __if_indextoname and define as weak
8371 alias of __if_indextoname. Use libc_hidden_weak.
8372 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
8374 [!_ISOMAC] (__if_freenameindex): Likewise.
8375 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
8377 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
8379 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8380 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8381 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8382 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8383 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8384 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8385 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8387 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
8389 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8390 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8392 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8394 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
8395 subscript above bounds'
8397 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
8400 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
8402 * libio/tst-fopenloc.c: Use test-skeleton.c.
8404 * stdlib/tst-bsearch.c: Use test-skeleton.c.
8405 (entry): Rename to ITEM.
8406 (do_test, comp): Adjust.
8408 * stdio-common/tst-fseek.c: Use test-skeleton.c.
8410 2014-12-16 Torvald Riegel <triegel@redhat.com>
8412 * string/tester.c: Include <libc-internal.h>.
8413 (test_memset): Ignore -Wmemset-transposed-args.
8415 2014-12-16 Torvald Riegel <triegel@redhat.com>
8417 * misc/tst-mntent2.c (do_test): Fix warning.
8419 2014-12-16 Torvald Riegel <triegel@redhat.com>
8421 * elf/tst-unique4lib.cc(a): Mark as used.
8423 2014-12-16 Florian Weimer <fweimer@redhat.com>
8426 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
8429 2014-12-16 Allan McRae <allan@archlinux.org>
8431 * stdio-common/Makefile (tests): Re-add bug26.
8433 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
8436 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
8439 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
8441 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
8442 (__lll_lock_wait): Likewise.
8443 (__lll_timedlock_wait): Likewise.
8444 (__lll_timedwait_tid): Likewise.
8445 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
8446 (__lll_robust_timedlock_wait): Likewise.
8447 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
8448 (lll_cond_trylock): Likewise.
8449 (__lll_lock): Likewise.
8450 (__lll_robust_lock): Likewise.
8451 (__lll_cond_lock): Likewise.
8452 (lll_robust_cond_lock): Likewise.
8453 (__lll_timedlock): Likewise.
8454 (__lll_robust_timedlock): Likewise.
8455 (__lll_unlock): Likewise.
8456 (__lll_robust_unlock): Likewise.
8457 (lll_wait_tid): Likewise.
8458 (lll_timedwait_tid): Likewise.
8460 2014-12-15 Torvald Riegel <triegel@redhat.com>
8462 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
8464 2014-12-15 Torvald Riegel <triegel@redhat.com>
8466 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
8468 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8470 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
8471 * stdio-common/tst-sprintf.c: Likewise.
8473 2014-12-15 Torvald Riegel <triegel@redhat.com>
8475 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
8477 2014-12-15 Jeff Law <law@redhat.com>
8480 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
8481 on the heap. (CVE-2012-3406)
8482 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
8483 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
8484 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
8486 2014-12-15 Will Newton <will.newton@linaro.org>
8488 * manual/install.texi: Bump required version of texinfo
8490 * INSTALL: Regenerated.
8491 * configure.ac: Check for makeinfo version 4.7 and above.
8492 * configure: Regenerated.
8494 2014-12-12 Roland McGrath <roland@hack.frob.com>
8496 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
8497 PREFIX, string constant to insert between directory and name.
8498 * sysdeps/posix/shm_open.c: Update caller.
8499 * sysdeps/posix/shm_unlink.c: Likewise.
8500 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
8501 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
8502 (SEM_SHM_PREFIX): New macro.
8503 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
8504 [$(have-thread-library) = no].
8505 * nptl/Makefile (libpthread-routines): Add shm-directory.
8506 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
8507 * sysdeps/nptl/shm-directory.h: New file.
8508 * sysdeps/posix/shm-directory.c
8509 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
8510 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8511 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
8513 (__where_is_shmfs): Function removed.
8514 (mountpoint, defaultmount, defaultdir, __namedsem_once):
8516 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
8518 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
8520 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
8521 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
8522 unconditional for use inside libpthread.
8523 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
8525 2014-12-12 Roland McGrath <roland@hack.frob.com>
8527 * nptl/pthread_getaffinity.c: New file.
8528 * nptl/pthread_setaffinity.c: New file.
8529 * nptl/pthread_getname.c: New file.
8530 * nptl/pthread_setname.c: New file.
8532 * nptl/pthread_create.c (START_THREAD_DEFN)
8533 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
8535 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8536 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8538 * resolv/res_send.c (send_vc): Disable warning resplen may
8539 be used uninitialized.
8541 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8544 (ATTR_NULL): New define checks ATTR against NULL.
8545 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8546 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8548 2014-12-11 James Lemke <jwlemke@codesourcery.com>
8552 (mem2mem_check): Revert my previous change.
8553 (malloc_check_get_size): Revert my previous change.
8554 (mem2chunk_check): Revert my previous change.
8556 2014-12-11 Roland McGrath <roland@hack.frob.com>
8558 * sysdeps/posix/shm-directory.c: New file.
8559 * sysdeps/posix/shm-directory.h: New file.
8560 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8561 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8562 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
8563 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8564 Transmute EPERM to EACCES.
8565 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8567 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
8568 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8570 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8572 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8573 pointer and cast to uintptr_t.
8574 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8575 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8576 Add cast to avoid warning.
8577 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8579 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8581 * nptl/semaphore.h: Move to ...
8582 * sysdeps/pthread/semaphore.h: ... here.
8583 * Makefile (installed-headers): Change nptl/semaphore.h to
8584 sysdeps/pthread/semaphore.h.
8586 2014-12-11 Roland McGrath <roland@hack.frob.com>
8588 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8589 generated error format strings.
8591 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8592 -Wformat-extra-args warnings for scanf formats.
8593 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8594 test of zero-length format (duh).
8595 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8596 corner-case scanf format test.
8597 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8598 generated fprintf format string.
8599 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8600 corner-case sprintf format tests.
8601 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8602 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8603 -Wformat-extra-args warnings throughout.
8604 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8605 (CFLAGS-scanf4.c): Likewise.
8606 (CFLAGS-scanf7.c): Likewise.
8607 (CFLAGS-tst-sprintf.c): Likewise.
8608 (CFLAGS-tst-printf.c): Likewise.
8609 (CFLAGS-tst-printfsz.c): Likewise.
8611 2014-12-11 Joseph Myers <joseph@codesourcery.com>
8613 * include/cpio.h: New file.
8614 * include/fmtmsg.h: Likewise.
8616 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
8617 corresponding format argument to size_t.
8618 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
8620 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
8621 corresponding format argument to size_t.
8622 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
8624 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
8625 corresponding format argument to size_t.
8626 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8627 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8628 (CFLAGS-tst-mbswcs2.c): Likewise.
8629 (CFLAGS-tst-mbswcs3.c): Likewise.
8630 (CFLAGS-tst-mbswcs4.c): Likewise.
8631 (CFLAGS-tst-mbswcs5.c): Likewise.
8632 (CFLAGS-tst-trans.c): Likewise
8634 2014-12-11 Roland McGrath <roland@hack.frob.com>
8636 * posix/regexbug1.c (main): Use "%s" format with regerror results,
8637 rather than assuming they won't contain any '%'s.
8639 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
8641 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8642 inhibit_loop_to_libcall to avoid recursive calls.
8643 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8644 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8646 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
8648 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8651 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8653 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8654 integer value instead of boolean.
8656 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
8658 * malloc/malloc.c: Fix powerof2 check.
8660 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8662 * locale/programs/locfile.h (maybe_swap_uint32):
8663 Remove inline and add unused attribute.
8665 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8667 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8668 Truncating assembler expression to a .long expression.
8670 2014-12-11 Andreas Schwab <schwab@suse.de>
8672 * elf/rtld.c (struct map_args): Constify str member.
8673 (do_preload): Constify fname argument.
8675 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8677 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8678 constants definition.
8680 2014-12-11 Andreas Schwab <schwab@suse.de>
8683 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8684 FORCE_ELISION instead of DO_ELISION.
8685 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8687 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8690 * iconvdata/gconv-modules: Remove duplicate entry.
8692 2014-12-11 Will Newton <will.newton@linaro.org>
8694 Merge gettext 0.19.3 into intl/.
8696 This involves a number of cosmetic changes to comments
8697 and ANSI function definitions and prototypes throughout
8698 all the files. The gettext copyright header is used but
8699 with the date ranges taken from the glibc copy.
8701 * NEWS: Add gettext merge to 2.21.
8702 * intl/bindtextdom.c: Switch to gettext copyright.
8703 Use ANSI definitions and prototypes.
8704 Use gl_* locking primitives rather than __libc_* ones.
8705 Use __builtin_expect rather than __glibc_likely/unlikely.
8706 * intl/dcgettext.c: Switch to gettext copyright.
8707 Use ANSI definitions and prototypes.
8708 * intl/dcigettext.c: Switch to gettext copyright.
8709 Use ANSI definitions and prototypes.
8710 (INTDIV0_RAISES_SIGFPE): New define.
8711 Use gl_* locking primitives rather than __libc_* ones.
8712 Include eval-plural.h instead of plural-eval.c.
8713 Use __builtin_expect rather than __glibc_likely/unlikely.
8714 * intl/dcngettext.c: Switch to gettext copyright.
8715 Use ANSI definitions and prototypes.
8716 * intl/dgettext.c: Likewise.
8717 * intl/dngettext.c: Likewise.
8718 * intl/plural-eval.c: Renamed to...
8719 * intl/eval-plural.h: ...this.
8720 * intl/explodename.c: Switch to gettext copyright.
8721 Use ANSI definitions and prototypes.
8722 (_nl_explode_name): Use strchr instead of __rawmemchr.
8723 * intl/finddomain.c: Switch to gettext copyright.
8724 Use ANSI definitions and prototypes.
8725 Use gl_* locking primitives rather than __libc_* ones.
8726 (_nl_find_domain): Use malloc rather than alloca for
8727 allocation of temporary locale name.
8728 * intl/gettext.c: Switch to gettext copyright.
8729 Use ANSI definitions and prototypes.
8730 * intl/gettextP.h: Switch to gettext copyright.
8731 Use ANSI definitions and prototypes.
8732 Use gl_* locking primitives rather than __libc_* ones.
8733 * intl/gmo.h: Switch to gettext copyright.
8734 (struct sysdep_string): Move struct segment_pair outside of
8736 * intl/hash-string.c: Use ANSI definitions and prototypes.
8737 * intl/hash-string.h: Switch to gettext copyright.
8738 Use ANSI definitions and prototypes.
8739 * intl/l10nflist.c: Switch to gettext copyright.
8740 Use ANSI definitions and prototypes.
8741 (_nl_normalize_codeset): Avoid integer overflow.
8742 * intl/loadinfo.h: Switch to gettext copyright.
8743 Use ANSI definitions and prototypes.
8744 (LIBINTL_DLL_EXPORTED): New define.
8745 (PATH_SEPARATOR): New define.
8746 * intl/loadmsgcat.c: Switch to gettext copyright.
8747 * intl/localealias.c: Switch to gettext copyright.
8748 Use ANSI definitions and prototypes.
8749 (_nl_expand_alias): Use PATH_SEPARATOR.
8750 * intl/ngettext.c: Switch to gettext copyright.
8751 Use ANSI definitions and prototypes.
8752 * intl/plural-exp.c: Likewise.
8753 * intl/plural-exp.h: Switch to gettext copyright.
8754 Use ANSI definitions and prototypes.
8755 (struct expression): Move definition of enum operator outside
8756 of struct definition.
8757 * intl/plural.c: Regenerate.
8758 * intl/plural.y: Switch to gettext copyright.
8759 Use ANSI definitions and prototypes.
8761 * intl/textdomain.c: Switch to gettext copyright.
8762 Use ANSI definitions and prototypes.
8763 Use gl_* locking primitives rather than __libc_* ones.
8765 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
8767 * debug/warning-nop.c: Add used atrribute.
8769 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8771 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8773 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8774 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8775 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8777 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8778 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8781 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8782 Undefine after defining function. Define as weak alias of
8783 __wcschr. Use libc_hidden_weak.
8784 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
8785 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8786 (libc_hidden_def): Also define __GI___wcschr alias.
8787 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8788 __wcschr and define as weak alias of __wcschr.
8789 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8791 [!WCSCHR] (DEFAULT_WCSCHR): Define.
8792 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8793 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
8794 libc_hidden_weak. Do not use libc_hidden_def.
8795 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8796 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8797 __GI___wcschr alias.
8798 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8799 [IS_IN (libc)] (wcschr): Define as macro expanding to
8801 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8802 [IS_IN (libc)] (__wcschr_power6): Likewise.
8803 [IS_IN (libc)] (__wcschr_power7): Likewise.
8804 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
8806 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8808 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8809 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8810 __wcschr and define as weak alias of __wcschr. Use
8811 libc_hidden_builtin_def.
8812 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8813 as weak alias of __wcschr. Use libc_hidden_weak.
8814 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8816 * time/era.c (_nl_init_era_entries): Likewise.
8817 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8819 (test-xfail-XPG3/time.h/linknamespace): Likewise.
8820 (test-xfail-XPG4/time.h/linknamespace): Likewise.
8822 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8824 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8825 format for long int variable.
8827 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
8830 * manual/search.texi: (Array Sort Function): Remove claim how to make
8833 2014-12-10 Andreas Schwab <schwab@suse.de>
8836 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8837 user-controlled locks.
8839 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
8841 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8844 2014-12-10 Joseph Myers <joseph@codesourcery.com>
8846 * configure.ac (--disable-werror): New configure option.
8847 (enable_werror): New AC_SUBST.
8848 * configure: Regenerated.
8849 * config.make.in (enable-werror): New variable.
8850 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8852 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8853 * manual/install.texi (Configuring and compiling): Document
8855 * INSTALL: Regenerated.
8856 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8857 (CFLAGS-tst-chk2.c): Likewise.
8858 (CFLAGS-tst-chk3.c): Likewise.
8859 (CFLAGS-tst-chk4.cc): Likewise.
8860 (CFLAGS-tst-chk5.cc): Likewise.
8861 (CFLAGS-tst-chk6.cc): Likewise.
8862 (CFLAGS-tst-lfschk1.c): Likewise.
8863 (CFLAGS-tst-lfschk2.c): Likewise.
8864 (CFLAGS-tst-lfschk3.c): Likewise.
8865 (CFLAGS-tst-lfschk4.cc): Likewise.
8866 (CFLAGS-tst-lfschk5.cc): Likewise.
8867 (CFLAGS-tst-lfschk6.cc): Likewise.
8869 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8870 (main): Disable -Wdeprecated-declarations around calls to
8871 register_printf_function.
8873 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8874 (do_test): Disable -Wdiv-by-zero around some calls to
8875 fwrite_unlocked and fread_unlocked.
8877 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8878 (DIAG_POP_NEEDS_COMMENT): Likewise.
8879 (_DIAG_STR1): Likewise.
8880 (_DIAG_STR): Likewise.
8881 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8882 * stdio-common/bug21.c: Include <libc-internal.h>.
8883 (do_test): Disable -Wformat around call to sscanf.
8884 * stdio-common/scanf14.c: Include <libc-internal.h>.
8885 (main): Disable -Wformat around some calls to scanf functions.
8887 2014-12-09 Torvald Riegel <triegel@redhat.com>
8889 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8891 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8893 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8894 stack variable alignment.
8896 2014-12-06 Joseph Myers <joseph@codesourcery.com>
8899 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8900 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8901 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8902 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8903 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8904 __getrlimit instead of getrlimit.
8905 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8906 __gettimeofday instead of gettimeofday.
8907 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8909 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8911 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8912 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8914 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8915 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8917 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8919 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8920 for wide-character tests.
8922 2014-12-04 Roland McGrath <roland@hack.frob.com>
8924 * io/openat64.c: #include <libc-internal.h>
8925 (__openat64): Prototypify. Use ignore_value on MODE.
8926 * io/openat.c: Likewise.
8927 * misc/reboot.c: #include <libc-internal.h>
8928 (reboot): Prototypify. Use ignore_value on HOWTO.
8929 * misc/ptrace.c: #include <libc-internal.h>
8930 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
8932 2014-12-04 Joseph Myers <joseph@codesourcery.com>
8934 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8935 XPG4, UNIX98 and XOPEN2K.
8936 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8938 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8940 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8942 * libio/fileops.c: Use ISO C style for function definitions.
8943 * libio/iofopen.c: Likewise.
8944 * libio/wfileops.c: Likewise.
8947 * libio/fileops.c (_IO_new_file_underflow): Unset cached
8949 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8950 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8951 (fgets_func): Function pointer to fgets and fgetws.
8952 (do_ftell_test): Add test to verify ftell value after read
8954 (do_test): Set fgets_func.
8956 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8957 O_TRUNC flag for w and w+ modes.
8958 (do_rewind_test): Likewise.
8959 (do_ftell_test): Likewise.
8960 (do_write_test): Likewise.
8963 * libio/fileops.c (do_ftell): Seek only when there are
8965 * libio/wfileops.c (do_ftell_wide): Likewise.
8966 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8968 (do_one_test): Call it.
8970 2014-12-03 Joseph Myers <joseph@codesourcery.com>
8972 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8973 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8974 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8976 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8977 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8978 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8980 2014-12-02 Joseph Myers <joseph@codesourcery.com>
8982 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8984 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8987 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8988 as weak alias of __getifaddrs. Use libc_hidden_weak.
8989 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8990 __freeifaddrs. Use libc_hidden_weak.
8991 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8992 define as weak alias of __getifaddrs. Use libc_hidden_weak.
8993 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8994 __freeifaddrs. Use libc_hidden_weak.
8995 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8996 __getifaddrs and define as weak alias of __getifaddrs. Use
8998 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8999 __freeifaddrs. Use libc_hidden_weak.
9000 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
9002 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9003 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9005 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
9008 * sysdeps/mips/start.S (__start): Use indirect jump to call
9011 2014-12-02 Joseph Myers <joseph@codesourcery.com>
9013 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
9015 * nptl/tst-mutex1.c: Include <stdbool.h>.
9016 [!ATTR] (ATTR_NULL): New macro.
9017 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
9018 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
9019 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
9021 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
9025 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
9026 Change conditional to [__USE_MISC].
9029 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
9031 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
9033 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
9035 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
9037 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9038 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9039 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9040 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9041 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9042 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9043 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9044 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9045 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9047 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
9049 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9051 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9052 Remove strpbrk objects.
9053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9054 (__libc_ifunc_impl_list): Remove strpbrk implementation.
9055 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
9056 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
9057 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
9058 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
9060 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9061 Remove strcspn objects.
9062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9063 (__libc_ifunc_impl_list): Remove strcspn implementation.
9064 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
9065 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
9066 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
9067 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
9069 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9070 Remove strspn objetcs.
9071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9072 (__libc_ifunc_impl_list): Remove strspn implementation.
9073 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
9074 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9075 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
9076 * sysdeps/powerpc/powerpc64/strspn.S: New file.
9078 2014-12-01 James Lemke <jwlemke@codesourcery.com>
9082 (mem2mem_check): Add a terminator to the chain of checking blocks.
9083 (malloc_check_get_size): Use it here.
9084 (mem2chunk_check): Ditto.
9086 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9088 * sysdeps/powerpc/powerpc64/strtok.S: New file.
9089 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
9091 2014-11-29 Carlos O'Donell <carlos@redhat.com>
9093 * bits/ioctl-types.h: Indent preprocessor directives correctly.
9095 * nptl/nptl-init.c: Include libc-internal.h.
9096 (__pthread_initialize_minimal_internal): Use ROUND_UP.
9098 * elf/ldconfig.c (search_dir): Expand comment.
9100 2014-11-29 Joseph Myers <joseph@codesourcery.com>
9102 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
9104 (linknamespace-symlist-stdlibs-tests): Likewise.
9105 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
9106 instead of $(objpfx)symlist-stdlibs.
9107 (linknamespace-libs-isoc): New variable.
9108 (linknamespace-libs): Use $(linknamespace-libs-isoc).
9109 (linknamespace-libs-ISO): New variable.
9110 (linknamespace-libs-ISO99): Likewise.
9111 (linknamespace-libs-ISO11): Likewise.
9112 (linknamespace-libs-XPG3): Likewise.
9113 (linknamespace-libs-XPG4): Likewise.
9114 (linknamespace-libs-POSIX): Likewise.
9115 (linknamespace-libs-UNIX98): Likewise.
9116 (linknamespace-libs-XOPEN2K): Likewise.
9117 (linknamespace-libs-POSIX2008): Likewise.
9118 (linknamespace-libs-XOPEN2K8): Likewise.
9119 ($(objpfx)symlist-stdlibs): Replace by
9120 $(linknamespace-symlist-stdlibs-tests). Use
9121 $(linknamespace-libs-$*) as set of libraries.
9122 ($(linknamespace-header-tests)): Update dependencies. Use
9123 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
9124 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
9125 * conform/linknamespace.pl: Remove comment about considering
9126 definitions of symbols from irrelevant libraries.
9128 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
9131 * elf/dl-tls.c: Include <atomic.h>.
9132 (oom): Remove #ifdef SHARED/#endif.
9133 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
9134 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
9135 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
9137 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
9138 * nptl/Makefile (tests): Add tst-stack4.
9139 (modules-names): Add tst-stack4mod.
9140 ($(objpfx)tst-stack4): New.
9141 (tst-stack4mod.sos): Likewise.
9142 ($(objpfx)tst-stack4.out): Likewise.
9143 ($(tst-stack4mod.sos)): Likewise.
9145 * nptl/tst-stack4.c: New file.
9146 * nptl/tst-stack4mod.c: Likewise.
9148 2014-11-27 J. Brown <jb999@gmx.de>
9150 * sysdeps/x86/bits/string.h: Add recent CPUs.
9152 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9154 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
9157 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
9160 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
9163 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
9165 * nscd/connections.c: Include libc-internal.h because of macro
9168 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9170 * string/bits/string3.h (__warn_memset_zero_len): Don't
9171 declare for gcc newer than 5.0.
9172 (memset): Don't test for zero-length __LEN for gcc newer than
9175 2014-11-27 Joseph Myers <joseph@codesourcery.com>
9177 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
9178 size_t for %zu format.
9180 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
9181 difference, not %ju.
9183 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9185 * include/libc-internal.h (ignore_value): New macro.
9186 * nscd/connections.c (restart): Wrap calls to setuid and setgid
9189 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
9192 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
9193 pthread_cleanup_push to void *.
9195 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
9200 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
9201 instead of 1L << 52.
9203 * libio/bug-rewind.c (do_test): Check fwscanf return values.
9204 * libio/bug-rewind2.c (do_test): Likewise.
9206 * debug/test-stpcpy_chk-ifunc.c: Remove file.
9207 * debug/test-strcpy_chk-ifunc.c: Likewise.
9208 * wcsmbs/test-wcschr-ifunc.c: Likewise.
9209 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
9210 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
9211 * wcsmbs/test-wcslen-ifunc.c: Likewise.
9212 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
9213 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
9214 * Rules [$(multi-arch) = no] (tests): Do not filter out
9216 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
9217 * debug/Makefile (tests-ifunc): Remove variable.
9218 (tests): Do not add $(tests-ifunc).
9219 * wcsmbs/Makefile (tests-ifunc): Remove variable.
9220 (tests): Do not add $(tests-ifunc).
9221 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
9222 [TEST_IFUNC]: Remove conditionals.
9223 * string/test-string.h (TEST_IFUNC): Remove macro.
9224 [TEST_IFUNC]: Remove conditionals.
9226 * string/test-strchr.c [!WIDE] (L): New macro.
9227 [WIDE] (L): Likewise.
9228 (check1): Use CHAR instead of char. Use L on string and character
9231 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
9233 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
9235 * sysdeps/powerpc/bits/atomic.h
9236 (__arch_atomic_exchange_and_add_32_acq): Add definition.
9237 (__arch_atomic_exchange_and_add_32_rel): Likewise.
9238 (atomic_exchange_and_add_acq): Likewise.
9239 (atomic_exchange_and_add_rel): Likewise.
9240 * sysdeps/powerpc/powerpc32/bits/atomic.h
9241 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9242 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9243 * sysdeps/powerpc/powerpc64/bits/atomic.h
9244 (__arch_atomic_exchange_and_add_64_acq): Add definition.
9245 (__arch_atomic_exchange_and_add_64_rel): Likewise.
9247 2014-11-26 Torvald Riegel <triegel@redhat.com>
9249 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
9250 Change synchronization of __sched_fifo_min_prio and
9251 __sched_fifo_max_prio.
9252 * nptl/pthread_mutexattr_getprioceiling.c
9253 (pthread_mutexattr_getprioceiling): Likewise.
9254 * nptl/pthread_mutexattr_setprioceiling.c
9255 (pthread_mutexattr_setprioceiling): Likewise.
9256 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
9257 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
9260 2014-11-26 Joseph Myers <joseph@codesourcery.com>
9262 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
9265 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9267 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
9268 third argument const.
9270 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
9272 fnmatch: work around GCC compiler warning bug with uninit var
9273 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
9274 This works around a bug with x86-64 GCC 4.9.2 and earlier
9275 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
9276 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
9277 used uninitialized in this function [-Wmaybe-uninitialized]".
9279 2014-11-25 Joseph Myers <joseph@codesourcery.com>
9281 * posix/bug-regex31.c (main): Return RES not 0.
9283 2014-11-25 Anton Blanchard <anton@samba.org>
9285 * sysdeps/powerpc/bits/atomic.h
9286 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
9288 2014-11-24 Sterling Augustine <saugustine@google.com>
9290 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
9292 2014-11-24 Ryan Cumming <etaoins@gmail.com>
9295 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
9297 2014-11-24 Joseph Myers <joseph@codesourcery.com>
9300 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
9301 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
9303 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9304 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9306 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9308 * string/strncpy.c (strncpy): Improve performance by using memset.
9310 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
9312 * string/strcpy.c (strcpy):
9313 Improve performance by using strlen and memcpy.
9315 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
9317 * string/strcoll_l.c (get_next_seq): __always_inline.
9318 * string/strcoll_l.c (do_compare): __always_inline.
9320 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9322 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
9324 * include/mqueue.h: Likewise.
9325 * include/stdlib.h: Likewise.
9327 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
9328 (get_null_defines): Adjust.
9329 * sunrpc/Makefile: Adjust comment.
9330 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
9331 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
9332 (CFLAGS-interp.c): Likewise.
9333 (CFLAGS-ldconfig.c): Likewise.
9334 (CPPFLAGS-.os): Likewise.
9335 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9336 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9337 * extra-modules.mk (extra-modules.mk): Likewise.
9338 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
9339 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
9340 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
9341 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
9342 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
9343 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
9344 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
9345 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
9346 * iconvdata/Makefile (CPPFLAGS): Likewise.
9347 (cpp-srcs-left): Add libof for all iconvdata routines.
9348 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
9349 * include/assert.h: Likewise.
9350 * include/ctype.h: Likewise.
9351 * include/errno.h: Likewise.
9352 * include/libc-symbols.h: Likewise.
9353 * include/math.h: Likewise.
9354 * include/netdb.h: Likewise.
9355 * include/resolv.h: Likewise.
9356 * include/stdio.h: Likewise.
9357 * include/stdlib.h: Likewise.
9358 * include/string.h: Likewise.
9359 * include/sys/stat.h: Likewise.
9360 * include/wctype.h: Likewise.
9361 * intl/l10nflist.c: Likewise.
9362 * libidn/idn-stub.c: Likewise.
9363 * libio/libioP.h: Likewise.
9364 * nptl/libc_multiple_threads.c: Likewise.
9365 * nptl/pthreadP.h: Likewise.
9366 * posix/regex_internal.h: Likewise.
9367 * resolv/res_hconf.c: Likewise.
9368 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
9369 * sysdeps/arm/memmove.S: Likewise.
9370 * sysdeps/arm/sysdep.h: Likewise.
9371 * sysdeps/generic/_itoa.h: Likewise.
9372 * sysdeps/generic/symbol-hacks.h: Likewise.
9373 * sysdeps/gnu/errlist.awk: Likewise.
9374 * sysdeps/gnu/errlist.c: Likewise.
9375 * sysdeps/i386/i586/memcpy.S: Likewise.
9376 * sysdeps/i386/i586/memset.S: Likewise.
9377 * sysdeps/i386/i686/memcpy.S: Likewise.
9378 * sysdeps/i386/i686/memmove.S: Likewise.
9379 * sysdeps/i386/i686/mempcpy.S: Likewise.
9380 * sysdeps/i386/i686/memset.S: Likewise.
9381 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9382 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9383 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
9384 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
9385 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9386 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9387 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
9388 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9389 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9390 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9391 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9392 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9393 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9394 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9395 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9396 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9397 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
9398 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
9399 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
9400 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9401 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9402 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9403 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9404 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9405 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9406 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9407 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
9408 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9409 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
9410 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9411 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9412 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9413 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9414 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9415 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9416 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9417 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9418 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9419 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9420 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9421 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9422 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9423 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9424 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9425 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9426 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9427 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
9428 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
9429 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9430 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
9431 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9432 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
9433 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
9434 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9435 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9436 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
9437 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9438 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
9439 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
9440 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9441 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9442 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9443 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
9444 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9445 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9446 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
9447 * sysdeps/posix/closedir.c: Likewise.
9448 * sysdeps/posix/opendir.c: Likewise.
9449 * sysdeps/posix/readdir.c: Likewise.
9450 * sysdeps/posix/rewinddir.c: Likewise.
9451 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
9452 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
9453 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9454 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9455 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9456 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
9457 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
9458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
9459 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9460 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
9461 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9462 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9463 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9464 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
9465 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
9466 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
9467 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9468 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9469 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
9470 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
9471 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9472 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
9473 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
9474 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9475 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
9476 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
9477 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
9478 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9479 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9480 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
9481 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
9482 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
9483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
9484 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
9485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
9486 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
9487 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9488 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9489 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
9490 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
9491 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
9492 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
9493 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9494 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
9495 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
9496 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
9497 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
9498 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9499 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
9500 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
9501 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
9502 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9503 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
9504 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9505 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9506 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
9507 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
9508 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9509 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9510 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
9511 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
9512 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9513 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
9514 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9515 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
9516 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
9517 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
9518 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
9519 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
9520 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
9521 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
9522 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9523 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
9524 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9525 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9526 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
9527 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
9528 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9529 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
9530 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
9531 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9532 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9533 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
9534 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
9535 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9536 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
9537 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
9538 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9539 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9540 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9541 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
9542 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
9543 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
9544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9545 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9546 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9547 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9548 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9549 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9550 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9551 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9552 * sysdeps/unix/alpha/sysdep.S: Likewise.
9553 * sysdeps/unix/alpha/sysdep.h: Likewise.
9554 * sysdeps/unix/make-syscalls.sh: Likewise.
9555 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9556 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9557 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9558 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9559 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9560 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9561 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9562 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9563 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9564 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9565 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9566 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9567 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9568 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9569 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9570 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9571 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9572 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9573 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9574 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9575 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9576 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9577 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9578 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9579 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9580 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9581 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9584 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9585 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9586 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9587 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9588 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9589 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9590 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9592 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9593 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9594 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9595 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9596 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9597 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9598 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9599 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9602 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9605 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9606 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9607 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9608 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9609 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9610 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9611 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9613 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9614 * sysdeps/x86_64/memcpy.S: Likewise.
9615 * sysdeps/x86_64/memmove.c: Likewise.
9616 * sysdeps/x86_64/memset.S: Likewise.
9617 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9618 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9619 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9620 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9621 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9622 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9623 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9624 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9625 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9626 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9627 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9628 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9629 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9630 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9631 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9632 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9633 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9634 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9635 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9636 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9637 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9638 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9639 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9641 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9642 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9643 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9644 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9645 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9646 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9647 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9648 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9649 * sysdeps/x86_64/strcmp.S: Likewise.
9651 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9653 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9654 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9655 * elf/rtld-Rules: Likewise.
9656 * elf/setup-vdso.h: Likewise.
9657 * include/assert.h: Likewise.
9658 * include/bits/stdlib-float.h: Likewise.
9659 * include/errno.h: Likewise.
9660 * include/sys/stat.h: Likewise.
9661 * include/unistd.h: Likewise.
9662 * sysdeps/aarch64/setjmp.S: Likewise.
9663 * sysdeps/alpha/setjmp.S: Likewise.
9664 * sysdeps/arm/__longjmp.S: Likewise.
9665 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9666 * sysdeps/arm/setjmp.S: Likewise.
9667 * sysdeps/arm/sysdep.h: Likewise.
9668 * sysdeps/generic/_itoa.h: Likewise.
9669 * sysdeps/generic/dl-sysdep.h: Likewise.
9670 * sysdeps/generic/ldsodefs.h: Likewise.
9671 * sysdeps/i386/dl-tls.h: Likewise.
9672 * sysdeps/i386/setjmp.S: Likewise.
9673 * sysdeps/m68k/setjmp.c: Likewise.
9674 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9675 * sysdeps/mach/hurd/opendir.c: Likewise.
9676 * sysdeps/posix/getcwd.c: Likewise.
9677 * sysdeps/posix/opendir.c: Likewise.
9678 * sysdeps/posix/profil.c: Likewise.
9679 * sysdeps/powerpc/dl-procinfo.h: Likewise.
9680 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9681 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9682 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9683 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9684 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9685 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9686 * sysdeps/s390/dl-tls.h: Likewise.
9687 * sysdeps/s390/s390-32/setjmp.S: Likewise.
9688 * sysdeps/s390/s390-64/setjmp.S: Likewise.
9689 * sysdeps/sh/sh3/setjmp.S: Likewise.
9690 * sysdeps/sh/sh4/setjmp.S: Likewise.
9691 * sysdeps/unix/alpha/sysdep.h: Likewise.
9692 * sysdeps/unix/arm/sysdep.S: Likewise.
9693 * sysdeps/unix/i386/sysdep.S: Likewise.
9694 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9695 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9696 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9697 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9698 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9699 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9700 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9701 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9702 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9703 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9704 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9705 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9706 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9709 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9710 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9711 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9712 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9713 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9714 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9717 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9718 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9719 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9721 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9722 * sysdeps/x86_64/setjmp.S: Likewise.
9724 * include/math.h: Use IS_IN instead of IS_IN_libm.
9725 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9727 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9729 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9730 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9731 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9732 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9733 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9734 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9735 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9736 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9737 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9738 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9739 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9742 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9745 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9746 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9747 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9748 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9749 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9750 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9751 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9752 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9753 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9754 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9755 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9756 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9757 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9768 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9769 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9770 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9771 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9772 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9773 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9779 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9780 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9781 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9782 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9783 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9784 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9785 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9786 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9787 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9788 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9789 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9790 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9791 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9792 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9794 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9796 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9797 * nptl/pthreadP.h: Likewise.
9798 * nptl_db/structs.def: Likewise.
9799 * sysdeps/arm/sysdep.h: Likewise.
9800 * sysdeps/nptl/bits/libc-lock.h: Likewise.
9801 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9802 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9803 * sysdeps/unix/alpha/sysdep.h: Likewise.
9804 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9805 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9806 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9807 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9808 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9809 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9810 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9811 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9812 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9813 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9814 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9815 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9816 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9817 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9820 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9822 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9825 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9826 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9827 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9828 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9829 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9831 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9832 * nptl/pthreadP.h: Likewise.
9833 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9834 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9835 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9836 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9837 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9838 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9839 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9840 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9841 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9842 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9843 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9844 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9849 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9851 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9852 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9853 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9854 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9855 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9856 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9858 * dlfcn/dladdr.c: Use IS_IN.
9859 * dlfcn/dladdr1.c: Likewise.
9860 * dlfcn/dlclose.c: Likewise.
9861 * dlfcn/dlerror.c: Likewise.
9862 * dlfcn/dlinfo.c: Likewise.
9863 * dlfcn/dlmopen.c: Likewise.
9864 * dlfcn/dlopen.c: Likewise.
9865 * dlfcn/dlsym.c: Likewise.
9866 * dlfcn/dlvsym.c: Likewise.
9868 * include/ifaddrs.h: Use IS_IN.
9869 * inet/check_pf.c: Likewise.
9870 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9871 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9873 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9875 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9876 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9878 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9879 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9882 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9884 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9885 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9886 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9887 * include/libc-symbols.h (IS_IN_LIB): New macro.
9888 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9889 * include/netdb.h: Likewise.
9890 * include/stap-probe.h: Remove all uses of IN_LIB.
9892 * Makeconfig (module-cppflags-real): Define MODULE_NAME
9893 instead of IN_MODULE.
9894 * include/libc-symbols.h (IN_MODULE): Define using
9896 (PASTE_NAME, PASTE_NAME1): New macros.
9897 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9899 (STAP_PROBE_ASM): Likewise.
9901 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
9903 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9904 __mach_init in dlopened libc.
9906 2014-11-22 Mike Frysinger <vapier@gentoo.org>
9908 * sysdeps/arm/preconfigure.ac: Delete EABI check.
9909 * sysdeps/arm/preconfigure: Regenerate.
9911 2014-11-21 Roland McGrath <roland@hack.frob.com>
9913 * nptl/pthread_create.c (__pthread_create_2_1): Set
9914 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9915 when copying values from IATTR into PD.
9917 2014-11-21 Will Newton <will.newton@linaro.org>
9918 Andrew Pinski <andrew.pinski@caviumnetworks.com>
9920 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9921 Refactor inline-asm. Also add comment.
9923 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9924 ElfW macro instead of hardcoded Elf64 types.
9925 (la_aarch64_gnu_pltenter): Likewise.
9926 * sysdeps/aarch64/dl-machine.h
9927 (elf_machine_runtime_setup): Use ElfW(Addr).
9929 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9930 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9931 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9932 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9933 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9934 (R_AARCH64_TLS_DTPMOD64): Rename to ..
9935 (R_AARCH64_TLS_DTPMOD): This.
9936 (R_AARCH64_TLS_DTPREL64): Rename to ...
9937 (R_AARCH64_TLS_DTPREL): This.
9938 (R_AARCH64_TLS_TPREL64): Rename to ...
9939 (R_AARCH64_TLS_TPREL): This.
9940 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9941 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9942 R_AARCH64_TLS_TPREL64.
9943 (elf_machine_rela): Likewise.
9945 2014-11-21 Torvald Riegel <triegel@redhat.com>
9947 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9948 by setting it to 0. 64b atomics are not supported currently.
9950 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9953 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9954 search domain names.
9956 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9960 * resolv/res_query.c (__libc_res_nquerydomain): Retain
9962 * posix/tst-getaddrinfo5.c: New.
9963 * posix/Makefile (tests): Add it.
9965 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9969 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9970 after parsing line but before break_if_match.
9971 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9972 if there is a protocol mismatch.
9974 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9976 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9977 because the potential race is on the user-supplied stream.
9979 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9981 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9982 string literal if not passed a buffer.
9983 * manual/job.texi (ctermid): Update reasoning, note deviation
9984 from posix, suggest mtasurace when not passed a buffer, for
9985 future non-preliminary safety notes.
9987 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9989 * manual/users.texi (cuserid): Fix MT-Safety note for the case
9990 of not passing it a buffer.
9991 Reported by Peng Haitao.
9993 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
9995 * manual/Makefile ($(objpfx)stamp-summary): Require
9996 check-safety.sh to pass.
9997 * manual/check-safety.sh: Wish for verification that every
9998 @deftypefn and @deftypefun is followed by a @safety remark.
10000 2014-11-20 Roland McGrath <roland@hack.frob.com>
10002 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
10004 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
10005 PTHREAD_CANCEL_ASYNCHRONOUS.
10006 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
10009 * nptl/default-sched.h: New file.
10010 * sysdeps/unix/sysv/linux/default-sched.h: New file.
10011 * nptl/pthread_create.c: Include it.
10012 (__pthread_create_2_1): Use collect_default_sched instead of making
10013 Linux syscalls here directly.
10015 2014-11-20 Torvald Riegel <triegel@redhat.com>
10017 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
10018 __pthread_once): Use C11 atomics.
10020 2014-11-20 Torvald Riegel <triegel@redhat.com>
10022 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
10024 2014-11-20 Torvald Riegel <triegel@redhat.com>
10026 * include/atomic.h (__atomic_link_error, __atomic_check_size,
10027 atomic_thread_fence_acquire, atomic_thread_fence_release,
10028 atomic_thread_fence_seq_cst, atomic_load_relaxed,
10029 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
10030 atomic_compare_exchange_weak_relaxed,
10031 atomic_compare_exchange_weak_acquire,
10032 atomic_compare_exchange_weak_release,
10033 atomic_exchange_acquire, atomic_exchange_release,
10034 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
10035 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
10036 atomic_fetch_and_acquire,
10037 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
10039 2014-11-20 Torvald Riegel <triegel@redhat.com>
10041 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
10042 USE_ATOMIC_COMPILER_BUILTINS): Define.
10043 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
10044 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10045 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
10046 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10047 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
10048 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10049 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
10050 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10051 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
10052 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10053 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
10054 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10055 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
10056 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10057 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
10058 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10059 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10060 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10061 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10062 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10063 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
10064 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10065 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
10066 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10067 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
10068 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10069 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
10070 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10071 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
10072 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10073 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
10074 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10075 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
10076 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10077 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10078 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10079 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
10080 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10081 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
10082 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
10084 2014-11-19 Roland McGrath <roland@hack.frob.com>
10086 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
10087 the sched_priority value here. It was already checked when the user
10088 called pthread_attr_setschedparam.
10090 * nptl/tst-bad-schedattr.c: New file.
10091 * nptl/Makefile (tests): Add it.
10093 2014-11-19 Carlos O'Donell <carlos@redhat.com>
10094 Florian Weimer <fweimer@redhat.com>
10095 Joseph Myers <joseph@codesourcery.com>
10096 Adam Conrad <adconrad@0c3.net>
10097 Andreas Schwab <schwab@suse.de>
10098 Brooks <bmoses@google.com>
10101 * wordexp-test.c (__dso_handle): Add prototype.
10102 (__register_atfork): Likewise.
10103 (__app_register_atfork): New function.
10104 (registered_forks): New global.
10105 (register_fork): New function.
10106 (test_case): Add 3 new tests for WRDE_CMDSUB.
10107 (main): Call __app_register_atfork.
10108 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
10109 fork count is non-zero fail the test.
10110 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
10112 (parse_dollars): Remove check for WRDE_NOCMD.
10113 (parse_dquote): Likewise.
10115 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10117 * Makeconfig (built-modules): List non-library modules to be
10119 (module-cppflags): Include libc-modules.h for
10120 everything except shlib-versions.v.i.
10121 (CPPFLAGS): Use it.
10122 (before-compile): Add libc-modules.h.
10123 ($(common-objpfx)libc-modules.h,
10124 $(common-objpfx)libc-modules.stmp): New targets.
10125 (common-generated): Add libc-modules.h and libc-modules.stmp.
10126 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
10127 * include/libc-symbols.h: Don't include libc-modules.h.
10128 * include/libc-modules.h: Remove file.
10129 * scripts/gen-libc-modules.awk: New script to generate
10131 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
10132 Depend on libc-modules.stmp.
10134 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
10136 * Makeconfig (in-module): Get value of libof set for the
10138 (CPPFLAGS): Use $(in-module).
10139 * Makerules: Don't suffix routine names for nonlib.
10140 * include/libc-modules.h: New file.
10141 * include/libc-symbols.h: Include libc-modules.h
10142 (IS_IN): New macro to replace IS_IN_* macros.
10143 * elf/Makefile: Set libof-* for each routine.
10144 * elf/rtld-Rules: Likewise.
10145 * extra-modules.mk: Likewise.
10146 * iconv/Makefile: Likewise.
10147 * iconvdata/Makefile: Likewise.
10148 * locale/Makefile: Likewise.
10149 * malloc/Makefile: Likewise.
10150 * nss/Makefile: Likewise.
10151 * sysdeps/gnu/Makefile: Likewise.
10152 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
10153 * sysdeps/unix/sysv/linux/Makefile: Likewise.
10154 * sysdeps/s390/s390-64/Makefile: Likewise.
10155 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
10156 CPPFLAGS for nscd instead of nonlib.
10158 2014-11-18 Roland McGrath <roland@hack.frob.com>
10160 * nptl/createthread.c: New file.
10162 * nptl/createthread.c: Moved ...
10163 * sysdeps/unix/sysv/linux/createthread.c: ... here.
10165 * nptl/createthread.c: Add proper top-line comment.
10166 (do_clone): Folded into ...
10167 (create_thread): ... here. Take new arguments STOPPED_START and
10168 THREAD_RAN. Always set PD->stopped_start to something here. Don't
10169 increment __nptl_threads, do event-reporting logic, do
10170 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
10171 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
10172 resource cleanup if sched_setaffinity or sched_setscheduler fails,
10173 just send SIGCANCEL.
10174 * nptl/pthread_create.c: Forward-declare create_thread before
10175 including createthread.c.
10176 (start_thread): Use new macro START_THREAD_DEFN to replace defining
10177 declaration, and new macro START_THREAD_SELF to replace argument.
10178 Remove return statement.
10179 (report_thread_creation): New function.
10180 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
10181 synchronization logic, and __nptl_nthreads increment here, around
10182 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
10183 PD->parent_cancelhandling here, before create_thread. When
10184 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
10185 __deallocate_stack, and ENOMEM translation here.
10187 2014-11-18 Joseph Myers <joseph@codesourcery.com>
10190 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
10191 (mptwo): Rename to __mptwo.
10192 (__inv): Use __mptwo instead of mptwo.
10193 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
10194 (mptwo): Rename to __mptwo.
10195 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
10196 of mpone and __mptwo instead of mptwo.
10197 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
10199 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10200 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
10201 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
10202 of mpone and __mptwo instead of mptwo.
10203 (__mpranred): Use __mpone instead of mpone.
10204 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
10206 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10207 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10208 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10209 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10210 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10211 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10212 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10213 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10214 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10215 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10216 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10217 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10218 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10219 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10220 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10221 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10222 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10223 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10224 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10226 2014-11-18 Tom de Vries <tom@codesoucery.com>
10228 * manual/signal.texi (Primitives Interrupted by Signals): In section,
10229 replace BSD Handler xref with BSD Signal Handling.
10231 2014-11-17 Richard Henderson <rth@redhat.com>
10233 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
10234 (_FP_PACK_RAW_2): Remove.
10235 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
10236 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
10237 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
10238 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
10239 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
10240 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
10241 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
10242 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
10243 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
10244 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
10245 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
10246 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
10247 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
10248 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
10249 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
10250 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
10252 2014-11-14 Roland McGrath <roland@hack.frob.com>
10254 * signal/signal.h [__USE_MISC]
10255 (struct sigvec): Remove type.
10256 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
10257 (sigvec): Remove declaration.
10258 * sysdeps/posix/sigvec.c: Moved ...
10259 * signal/sigvec.c: ... here, replacing old file.
10260 (struct sigvec): New type, copied from old signal.h definition.
10261 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
10262 (__sigvec): Convert definition to prototype.
10263 (sigvec): Replace weak_alias with compat_symbol.
10264 * signal/Versions (libc: GLIBC_2.21): New version set.
10265 * include/signal.h: Remove __sigvec declaration.
10266 * sysdeps/unix/bsd/sigvec.c: Remove file.
10267 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
10268 * manual/signal.texi (BSD Handler): Remove subsection.
10269 Move siginterrupt up to ...
10270 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
10271 (Blocking in BSD): Fold subsection into its parent.
10272 * NEWS: Mention sigvec removal.
10274 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10276 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
10277 (DLA_FMS): Make definition conditional only on [__FMA4__].
10278 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
10281 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
10282 Make definition conditional only on [PROF].
10283 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
10285 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
10286 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
10288 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
10290 * include/signal.h (__sigpause): Move declaration above call to
10292 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
10294 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10295 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10297 2014-11-14 David S. Miller <davem@davemloft.net>
10299 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
10300 Define before including <string/memcpy.c> and <string/mempcpy.c>.
10302 2014-11-14 Joseph Myers <joseph@codesourcery.com>
10304 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
10305 * configure: Regenerated.
10306 * manual/install.texi (Tools for Compilation): Document a
10307 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
10308 compiler verified to work.
10309 * INSTALL: Regenerated.
10311 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
10312 redeclare with asm name.
10313 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
10314 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
10315 including <string.h>.
10316 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10317 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
10318 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10319 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
10320 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10321 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10322 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
10324 2014-11-13 Joseph Myers <joseph@codesourcery.com>
10326 * stdlib/strtol.c (__strtol): Use prototype definition.
10329 * stdlib/strtol.c (SYM__): New macro.
10330 (SYM__1): Likewise.
10331 (__strtol): Likewise.
10332 (strtol): Rename to __strtol and define as weak alias of
10333 __strtol. Use libc_hidden_weak.
10335 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10337 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
10338 Use numbered labels in inline assembly.
10340 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10342 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
10343 Add setjmp LIBC_PROBE.
10344 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
10346 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
10347 Add longjmp, longjmp_target LIBC_PROBE.
10348 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10351 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10353 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10354 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
10355 to get rid of unused variable warning.
10357 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10359 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
10360 Check for unwind_backtrace == NULL only in SHARED case.
10361 (__backchain_backtrace): Compile only in SHARED case.
10362 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
10364 (__backchain_backtrace): Declare as static.
10366 2014-11-12 Roland McGrath <roland@hack.frob.com>
10368 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
10369 (__libc_multiple_threads_ptr): Variable moved ...
10370 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
10372 2014-11-12 Joseph Myers <joseph@codesourcery.com>
10374 * conform/GlibcConform.pm: New file.
10375 * conform/conformtest.pl: Use GlibcConform module.
10376 * conform/linknamespace.pl: New file.
10377 * conform/list-header-symbols.pl: Likewise.
10378 * conform/Makefile (linknamespace-symlists-base): New variable.
10379 (linknamespace-symlists-tests): Likewise.
10380 (linknamespace-header-base): Likewise.
10381 (linknamespace-header-tests): Likewise.
10382 (tests-special): Add new tests.
10383 ($(linknamespace-symlists-tests)): New rule.
10384 (linknamespace-libs): New variable.
10385 ($(objpfx)symlist-stdlibs): New rule.
10386 ($(linknamespace-header-tests)): Likewise.
10387 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
10388 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
10389 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
10390 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
10391 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
10392 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
10393 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
10394 (test-xfail-ISO/math.h/linknamespace): Likewise.
10395 (test-xfail-ISO/signal.h/linknamespace): Likewise.
10396 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
10397 (test-xfail-ISO/time.h/linknamespace): Likewise.
10398 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
10399 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
10400 (test-xfail-ISO99/math.h/linknamespace): Likewise.
10401 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10402 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10403 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
10404 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
10405 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10406 (test-xfail-ISO11/math.h/linknamespace): Likewise.
10407 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
10408 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10409 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
10410 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10411 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
10412 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
10413 (test-xfail-XPG3/math.h/linknamespace): Likewise.
10414 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
10415 (test-xfail-XPG3/search.h/linknamespace): Likewise.
10416 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
10417 (test-xfail-XPG3/time.h/linknamespace): Likewise.
10418 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
10419 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
10420 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10421 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
10422 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10423 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
10424 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
10425 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
10426 (test-xfail-XPG4/math.h/linknamespace): Likewise.
10427 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
10428 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
10429 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
10430 (test-xfail-XPG4/search.h/linknamespace): Likewise.
10431 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
10432 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
10433 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
10434 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
10435 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
10436 (test-xfail-XPG4/time.h/linknamespace): Likewise.
10437 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
10438 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
10439 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
10440 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10441 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10442 (test-xfail-POSIX/math.h/linknamespace): Likewise.
10443 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
10444 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
10445 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
10446 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
10447 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
10448 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10449 (test-xfail-POSIX/time.h/linknamespace): Likewise.
10450 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
10451 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10452 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
10453 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10454 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10455 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10456 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10457 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
10458 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10459 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
10460 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
10461 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10462 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
10463 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
10464 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
10465 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
10466 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10467 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
10468 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
10469 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
10470 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10471 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10472 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10473 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
10474 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
10475 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
10476 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10477 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
10478 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
10479 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
10480 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10481 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10482 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10483 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
10484 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
10485 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
10486 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10487 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
10488 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
10489 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
10490 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10491 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10492 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10493 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
10494 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
10495 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
10496 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
10497 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10498 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10499 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10500 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10501 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
10502 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10503 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10504 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10505 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10506 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
10507 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
10508 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10509 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
10510 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10511 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
10512 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
10513 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10514 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10515 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
10516 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10517 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10518 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10519 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10520 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10521 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10522 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
10523 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10524 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
10525 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10526 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
10527 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10528 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10529 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10530 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
10531 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
10532 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
10533 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10534 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10535 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
10536 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10537 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
10538 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10539 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10540 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
10541 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10542 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10543 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10544 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10545 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10546 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10547 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10550 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10554 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10555 (memmem): Rename to __memmem and define as weak alias of
10556 __memmem. Use libc_hidden_weak.
10557 (__memmem): Use libc_hidden_def.
10558 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
10559 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10563 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10564 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
10565 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10566 and define as weak alias of __fgets_unlocked. Use
10568 (__fgets_unlocked): Use libc_hidden_def.
10569 * include/stdio.h (__fgets_unlocked): Declare. Use
10571 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10572 __fgets_unlocked instead of fgets_unlocked.
10573 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10574 (GET_NPROCS_CONF_PARSER): Likewise.
10575 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10576 (GET_NPROCS_CONF_PARSER): Likewise.
10579 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10580 weak alias of __wmemset. Use libc_hidden_weak.
10581 (__wmemset): Use libc_hidden_def.
10582 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
10583 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10587 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10588 with asm name __mempcpy.
10589 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10592 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10593 and define as weak alias of __rawmemchr.
10594 (__rawmemchr): Do not define as strong alias of rawmemchr.
10597 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10598 alias of __qsort_r.
10599 (qsort): Call __qsort_r instead of qsort_r.
10600 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10601 (__qsort_r): Declare. Call libc_hidden_proto.
10602 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10603 instead of qsort_r.
10604 * nscd/gai.c (__qsort_r): Define to qsort_r.
10605 * posix/tst-rfc3484.c (__qsort_r): Likewise.
10606 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10607 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10610 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10611 define as weak alias of __malloc_info.
10614 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10615 as weak alias of __rewinddir. Don't use libc_hidden_def.
10616 (__rewinddir): Use libc_hidden_def.
10617 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10618 as weak alias of __rewinddir. Don't use libc_hidden_def.
10619 (__rewinddir): Use libc_hidden_def.
10620 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10621 weak alias of __rewinddir. Don't use libc_hidden_def.
10622 (__rewinddir): Use libc_hidden_def.
10623 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10624 (__rewinddir): Use libc_hidden_proto.
10625 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10627 (__getcwd): Use __rewinddir instead of rewinddir.
10630 * libio/fileno.c (fileno): Rename to __fileno and define as weak
10631 alias of __fileno. Use libc_hidden_weak.
10632 (__fileno): Use libc_hidden_def.
10633 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10634 * libio/ftello.c (ftello): Rename to __ftello and define as weak
10636 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10638 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10639 (__fread_unlocked): Define as strong alias of _IO_fread. Use
10641 (fread_unlocked): Don't use libc_hidden_ver.
10642 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10643 and define as weak alias of __fread_unlocked. Don't use
10645 (__fread_unlocked): Use libc_hidden_def.
10646 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
10647 (ftello): Don't use libc_hidden_proto.
10648 (__ftello): Declare. Use libc_hidden_proto.
10649 (fread_unlocked): Don't use libc_hidden_proto.
10650 (__fread_unlocked): Declare. Use libc_hidden_proto.
10651 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10652 and __ftello instead of fileno, fread_unlocked and ftello.
10654 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10656 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10658 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10660 (_dl_start_user): Likewise.
10661 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10663 2014-11-12 Carlos O'Donell <carlos@redhat.com>
10664 Siddhesh Poyarekar <siddhesh@redhat.com>
10666 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10667 Move argv and envp down instead of moving argc up.
10668 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10670 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
10673 * test-skeleton.c (main): Return successful if one of
10674 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10675 * string/tst-strcoll-overflow.c: Define expected status.
10677 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
10680 * locale/iso-639.def: Define Bhili and Tulu language codes.
10682 2014-11-11 Alan Hayward <alan.hayward@arm.com>
10684 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10686 2014-11-10 Renlin Li <Renlin.Li@arm.com>
10689 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10691 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10693 * configure.ac: Updated check of minimal required version to
10695 * manual/install.texi (Tools for Compilation): Updated version
10697 * configure: Regenerated.
10698 * INSTALL: Likewise.
10700 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
10702 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10705 2014-11-07 Joseph Myers <joseph@codesourcery.com>
10707 * include/sys/wait.h (__libc_waitpid): Remove declaration.
10708 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10709 (__waitpid): Don't define as alias. Use libc_hidden_def not
10711 (waitpid): Define as alias of __waitpid.
10712 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10714 (__waitpid): Don't define as alias. Use libc_hidden_def not
10716 (waitpid): Define as alias of __waitpid.
10717 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10718 __libc_waitpid alias.
10719 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10720 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10722 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10723 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10724 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10726 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10728 (__waitpid): Don't define as alias. Use libc_hidden_def not
10730 (waitpid): Define as alias of __waitpid.
10732 2014-11-06 Carlos O'Donell <carlos@redhat.com>
10734 * manual/llio.texi: Add comment that write safety has been
10737 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10738 (localplt-build-dso): Add elf/ld.so.
10739 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10740 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10741 and free for ld.so.
10742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10743 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10748 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10749 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10750 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10751 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10752 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10753 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10754 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10755 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10756 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10757 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10758 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10760 2014-11-05 Joseph Myers <joseph@codesourcery.com>
10763 * include/libc-symbols.h (INTUSE): Remove macro.
10764 (INTDEF): Likewise.
10765 (INTVARDEF): Likewise.
10766 (_INTVARDEF): Likewise.
10767 (INTDEF2): Likewise.
10768 (INTVARDEF2): Likewise.
10769 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10770 rtld_hidden_def instead of INTVARDEF.
10771 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10772 (_dl_starting_up_internal): Remove declaration.
10773 (_dl_starting_up): Use rtld_hidden_proto.
10774 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10776 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10777 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10779 * elf/dl-writev.h (_dl_writev): Likewise.
10780 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10781 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10782 _dl_starting_up_internal.
10784 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10786 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10789 2014-11-05 Will Newton <will.newton@linaro.org>
10791 * benchtests/Makefile: (bench-malloc): Add malloc thread
10792 scalability benchmark.
10793 * benchtests/bench-malloc-threads.c: New file.
10795 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
10797 * sysdeps/aarch64/strchrnul.S: New file.
10799 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10801 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10803 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10805 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10807 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10809 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10811 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10814 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
10816 * catgets/test-gencat.c: Use test-skeleton.c.
10817 * catgets/tst-catgets.c: Likewise.
10818 * csu/tst-empty.c: Likewise.
10819 * elf/tst-audit2.c: Likewise.
10820 * elf/tst-global1.c: Likewise.
10821 * elf/tst-pathopt.c: Likewise.
10822 * elf/tst-piemod1.c: Likewise.
10823 * elf/tst-tls10.c: Likewise.
10824 * elf/tst-tls11.c: Likewise.
10825 * elf/tst-tls12.c: Likewise.
10826 * gnulib/tst-gcc.c: Likewise.
10827 * iconvdata/tst-e2big.c: Likewise.
10828 * iconvdata/tst-loading.c: Likewise.
10829 * iconv/tst-iconv1.c: Likewise.
10830 * iconv/tst-iconv2.c: Likewise.
10831 * inet/test-inet6_opt.c: Likewise.
10832 * inet/tst-gethnm.c: Likewise.
10833 * inet/tst-network.c: Likewise.
10834 * inet/tst-ntoa.c: Likewise.
10835 * intl/tst-codeset.c: Likewise.
10836 * intl/tst-gettext2.c: Likewise.
10837 * intl/tst-gettext3.c: Likewise.
10838 * intl/tst-ngettext.c: Likewise.
10839 * intl/tst-translit.c: Likewise.
10840 * io/test-stat.c: Likewise.
10841 * libio/test-fmemopen.c: Likewise.
10842 * libio/tst-freopen.c: Likewise.
10843 * libio/tst-sscanf.c: Likewise.
10844 * libio/tst-ungetwc1.c: Likewise.
10845 * libio/tst-ungetwc2.c: Likewise.
10846 * libio/tst-widetext.c: Likewise.
10847 * localedata/tst-ctype.c: Likewise.
10848 * localedata/tst-digits.c: Likewise.
10849 * localedata/tst-leaks.c: Likewise.
10850 * localedata/tst-mbswcs1.c: Likewise.
10851 * localedata/tst-mbswcs2.c: Likewise.
10852 * localedata/tst-mbswcs3.c: Likewise.
10853 * localedata/tst-mbswcs4.c: Likewise.
10854 * localedata/tst-mbswcs5.c: Likewise.
10855 * localedata/tst-setlocale.c: Likewise.
10856 * localedata/tst-trans.c: Likewise.
10857 * localedata/tst-wctype.c: Likewise.
10858 * localedata/tst-xlocale1.c: Likewise.
10859 * login/tst-grantpt.c: Likewise.
10860 * malloc/tst-calloc.c: Likewise.
10861 * malloc/tst-malloc.c: Likewise.
10862 * malloc/tst-mallocstate.c: Likewise.
10863 * malloc/tst-mcheck.c: Likewise.
10864 * malloc/tst-mtrace.c: Likewise.
10865 * malloc/tst-obstack.c: Likewise.
10866 * math/atest-exp2.c: Likewise.
10867 * math/atest-exp.c: Likewise.
10868 * math/atest-sincos.c: Likewise.
10869 * math/test-matherr.c: Likewise.
10870 * math/test-misc.c: Likewise.
10871 * math/test-powl.c: Likewise.
10872 * math/tst-definitions.c: Likewise.
10873 * misc/tst-dirname.c: Likewise.
10874 * misc/tst-efgcvt.c: Likewise.
10875 * misc/tst-fdset.c: Likewise.
10876 * misc/tst-hsearch.c: Likewise.
10877 * misc/tst-mntent2.c: Likewise.
10878 * nptl/tst-sem7.c: Likewise.
10879 * nptl/tst-sem8.c: Likewise.
10880 * nptl/tst-sem9.c: Likewise.
10881 * nss/test-netdb.c: Likewise.
10882 * posix/tst-fnmatch.c: Likewise.
10883 * posix/tst-getlogin.c: Likewise.
10884 * posix/tst-gnuglob.c: Likewise.
10885 * posix/tst-mmap.c: Likewise.
10886 * pwd/tst-getpw.c: Likewise.
10887 * resolv/tst-inet_ntop.c: Likewise.
10888 * rt/tst-timer.c: Likewise.
10889 * stdio-common/test-fseek.c: Likewise.
10890 * stdio-common/test-popen.c: Likewise.
10891 * stdio-common/test-vfprintf.c: Likewise.
10892 * stdio-common/tst-cookie.c: Likewise.
10893 * stdio-common/tst-fileno.c: Likewise.
10894 * stdio-common/tst-gets.c: Likewise.
10895 * stdio-common/tst-obprintf.c: Likewise.
10896 * stdio-common/tst-perror.c: Likewise.
10897 * stdio-common/tst-sprintf2.c: Likewise.
10898 * stdio-common/tst-sprintf3.c: Likewise.
10899 * stdio-common/tst-sprintf.c: Likewise.
10900 * stdio-common/tst-swprintf.c: Likewise.
10901 * stdio-common/tst-tmpnam.c: Likewise.
10902 * stdio-common/tst-unbputc.c: Likewise.
10903 * stdio-common/tst-wc-printf.c: Likewise.
10904 * stdlib/tst-environ.c: Likewise.
10905 * stdlib/tst-fmtmsg.c: Likewise.
10906 * stdlib/tst-limits.c: Likewise.
10907 * stdlib/tst-rand48-2.c: Likewise.
10908 * stdlib/tst-rand48.c: Likewise.
10909 * stdlib/tst-random2.c: Likewise.
10910 * stdlib/tst-random.c: Likewise.
10911 * stdlib/tst-strtol.c: Likewise.
10912 * stdlib/tst-strtoll.c: Likewise.
10913 * stdlib/tst-tls-atexit.c: Likewise.
10914 * stdlib/tst-xpg-basename.c: Likewise.
10915 * string/test-ffs.c: Likewise.
10916 * string/tst-bswap.c: Likewise.
10917 * string/tst-inlcall.c: Likewise.
10918 * string/tst-strtok.c: Likewise.
10919 * string/tst-strxfrm.c: Likewise.
10920 * sysdeps/x86_64/tst-audit10.c: Likewise.
10921 * sysdeps/x86_64/tst-audit3.c: Likewise.
10922 * sysdeps/x86_64/tst-audit4.c: Likewise.
10923 * sysdeps/x86_64/tst-audit5.c: Likewise.
10924 * time/tst-ftime_l.c: Likewise.
10925 * time/tst-getdate.c: Likewise.
10926 * time/tst-mktime3.c: Likewise.
10927 * time/tst-mktime.c: Likewise.
10928 * time/tst-posixtz.c: Likewise.
10929 * time/tst-strptime2.c: Likewise.
10930 * time/tst-strptime3.c: Likewise.
10931 * wcsmbs/tst-btowc.c: Likewise.
10932 * wcsmbs/tst-mbrtowc.c: Likewise.
10933 * wcsmbs/tst-mbsrtowcs.c: Likewise.
10934 * wcsmbs/tst-wchar-h.c: Likewise.
10935 * wcsmbs/tst-wcpncpy.c: Likewise.
10936 * wcsmbs/tst-wcrtomb.c: Likewise.
10937 * wcsmbs/tst-wcsnlen.c: Likewise.
10938 * wcsmbs/tst-wcstof.c: Likewise.
10940 2014-11-04 Joseph Myers <joseph@codesourcery.com>
10943 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10945 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10947 (_dl_mcount): Use rtld_hidden_proto.
10948 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10950 * elf/rtld.c (_rtld_global_ro): Likewise.
10953 * elf/dl-init.c (_dl_init): Don't use INTDEF.
10954 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10955 of _dl_init_internal.
10956 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10957 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10958 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10959 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10960 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10961 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10962 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10963 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10964 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10965 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10966 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10967 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10968 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10969 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10970 * sysdeps/tile/dl-start.S (_start): Likewise.
10971 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10972 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10975 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10976 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10977 (rtld_progname): Make macro definition unconditional.
10978 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10980 (dlmopen_doit): Do not use INTUSE with _dl_argv.
10981 (dl_main): Likewise.
10982 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10983 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10984 instead of _dl_argv_internal.
10985 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10986 __GI__dl_argv instead of INTUSE(_dl_argv).
10987 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10988 __GI__dl_argv instead of _dl_argv_internal.
10990 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10991 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10993 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10994 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10996 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10997 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10999 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
11000 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
11002 2014-11-04 Andreas Schwab <schwab@suse.de>
11004 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
11006 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11008 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
11009 mtvsrd instruction in binary form.
11011 2014-11-03 Andreas Schwab <schwab@suse.de>
11014 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
11015 for less than MB_LEN_MAX use a local buffer of that size.
11016 * libio/tst-fputws.c: New file.
11017 * libio/Makefile (tests): Add tst-fputws.
11019 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
11021 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
11022 the size of the fpu_fr.fpu_dregs[] array.
11024 2014-11-01 Joseph Myers <joseph@codesourcery.com>
11026 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
11027 (__nanosleep): Do not define as alias.
11028 (nanosleep): Define as alias of __nanosleep.
11029 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
11030 __libc_nanosleep name.
11032 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11034 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
11035 install.texi in comment.
11037 2014-10-31 Torvald Riegel <triegel@redhat.com>
11039 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
11040 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
11041 ... add here and use lwsync or sync ...
11042 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
11043 ... and add here using lwsync.
11045 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
11047 * elf/dl-machine-reject-phdr.h: New file.
11048 * elf/dl-load.c: #include that.
11049 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
11050 if that returned true.
11052 2014-10-31 Roland McGrath <roland@hack.frob.com>
11055 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
11056 gen-as-const-headers chunk. Add a big scare comment after the last
11057 safe place to touch before-compile.
11059 2014-10-31 Joseph Myers <joseph@codesourcery.com>
11061 * manual/install.texi (Tools for Compilation): Update autoconf
11062 version requirements.
11063 * INSTALL: Regenerated.
11065 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
11066 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
11067 (__libc_pselect): Likewise.
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11075 2014-10-31 Torvald Riegel <triegel@redhat.com>
11077 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
11078 correct barrier instruction.
11079 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
11081 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
11084 2014-10-30 Roland McGrath <roland@hack.frob.com>
11086 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
11087 after defining inlines. Instead, just use parens to defeat macro
11088 expansion of __isctype in its declaration.
11090 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11092 * include/sys/uio.h (__libc_readv): Remove declaration.
11093 (__libc_writev): Likewise.
11094 * misc/readv.c (__libc_readv): Rename to __readv.
11095 (__readv): Do not define as alias.
11096 (readv): Define as alias of __readv.
11097 * misc/writev.c (__libc_writev): Rename to __writev.
11098 (__writev): Do not define as alias.
11099 (writev): Define as alias of __writev.
11100 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
11101 (__readv): Do not define as alias.
11102 (readv): Define unconditionally as alias of __readv.
11103 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
11104 (__writev): Do not define as alias.
11105 (writev): Define unconditionally as alias of __writev.
11106 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
11108 (writev): Do not define __libc_writev name.
11110 2014-10-30 Roland McGrath <roland@hack.frob.com>
11112 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
11113 (convert_charseq): New function, broken out of ...
11114 (use_from_charmap): ... here. Call it.
11115 (use_to_charmap): Use convert_charseq and free instead of duplicating
11116 its code with a variable-length stack struct.
11118 2014-10-30 Joseph Myers <joseph@codesourcery.com>
11120 * include/fcntl.h (__libc_creat): Remove declaration.
11121 * io/creat.c (__libc_creat): Rename to creat.
11122 (creat): Do not define as alias.
11123 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
11124 of creat instead of __libc_creat.
11125 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
11127 (creat): Do not define as alias.
11128 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
11130 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
11132 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
11135 2014-10-29 Carlos O'Donell <carlos@redhat.com>
11137 * manual/llio.texi: Add comments discussing why write() may be
11138 considered MT-unsafe on Linux.
11140 2014-10-28 Carlos O'Donell <carlos@redhat.com>
11142 * dl-load.c (local_strdup): Remove.
11143 (expand_dynamic_string_token): Use __strdup.
11144 (decompose_rpath): Likewise.
11145 (_dl_map_object): Likewise.
11147 2014-10-28 Joseph Myers <joseph@codesourcery.com>
11150 * sysdeps/generic/unwind-dw2-fde.c
11151 (__register_frame_info_bases_internal): Do not declare.
11152 (__register_frame_info_table_bases_internal): Likewise.
11153 (__deregister_frame_info_bases_internal): Likewise.
11154 (__register_frame_info_bases): Declare and use hidden_proto before
11155 definition. Use hidden_def instead of INTDEF.
11156 (__register_frame_info_table_bases): Likewise.
11157 (__deregister_frame_info_bases): Likewise.
11158 (__register_frame_info): Do not use INTUSE.
11159 (__register_frame): Likewise.
11160 (__register_frame_info_table): Likewise.
11161 (__register_frame_table): Likewise.
11162 (__deregister_frame_info): Likewise.
11163 (__deregister_frame): Likewise.
11165 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
11167 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11168 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
11170 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
11172 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
11175 2014-10-27 Joseph Myers <joseph@codesourcery.com>
11178 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
11179 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
11180 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
11181 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
11182 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
11183 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
11184 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
11185 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
11186 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
11187 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
11188 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
11189 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
11190 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
11192 (setfsuid): Likewise.
11193 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
11194 (setfsuid): Likewise.
11195 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
11196 (setfsuid): Likewise.
11197 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
11199 (setfsuid): Likewise.
11200 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
11201 (setfsuid): Likewise.
11202 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
11204 (setfsuid): Likewise.
11206 2014-10-27 Andreas Schwab <schwab@suse.de>
11209 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
11210 check for Slow_SSE4_2 feature bit.
11211 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
11212 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11213 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
11214 Likewise. Fix check for Fast_Unaligned_Load feature bit.
11216 2014-10-24 Roland McGrath <roland@hack.frob.com>
11218 * configure.ac: Validate compiler version with a empirical test of
11219 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
11221 * configure: Regenerated.
11223 * inet/htons.c (htons): Prototypify.
11224 * inet/htonl.c (htonl): Likewise.
11226 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11228 * string/strncat.c (strncat): Improve performance by using strlen.
11230 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11232 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
11234 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11236 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
11237 Call libc_fetestexcept_aarch64.
11239 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11241 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
11242 Call libc_feholdexcept_aarch64.
11244 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11246 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
11247 Call get_rounding_mode.
11249 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11251 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11254 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
11256 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
11259 2014-10-24 Joseph Myers <joseph@codesourcery.com>
11262 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
11263 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
11264 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
11265 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
11266 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
11267 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
11268 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
11269 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
11270 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
11271 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
11272 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11273 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
11274 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
11275 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
11276 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
11277 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
11278 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
11279 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
11280 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
11281 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
11282 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
11283 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
11284 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
11285 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
11286 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
11287 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
11288 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
11289 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
11290 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
11291 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
11292 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
11293 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
11294 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
11295 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
11296 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
11297 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
11298 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
11299 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
11300 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
11301 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
11302 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
11304 (geteuid): Likewise.
11305 (getgid): Likewise.
11306 (getuid): Likewise.
11307 (getresgid): Likewise.
11308 (getresuid): Likewise.
11309 (getgroups): Likewise.
11310 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
11311 (geteuid): Likewise.
11312 (getgid): Likewise.
11313 (getuid): Likewise.
11314 (getresgid): Likewise.
11315 (getresuid): Likewise.
11316 (getgroups): Likewise.
11317 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
11318 (geteuid): Likewise.
11319 (getgid): Likewise.
11320 (getuid): Likewise.
11321 (getresgid): Likewise.
11322 (getresuid): Likewise.
11323 (getgroups): Likewise.
11324 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
11326 (geteuid): Likewise.
11327 (getgid): Likewise.
11328 (getuid): Likewise.
11329 (getresgid): Likewise.
11330 (getresuid): Likewise.
11331 (getgroups): Likewise.
11332 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
11333 (geteuid): Likewise.
11334 (getgid): Likewise.
11335 (getuid): Likewise.
11336 (getresgid): Likewise.
11337 (getresuid): Likewise.
11338 (getgroups): Likewise.
11339 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
11341 (geteuid): Likewise.
11342 (getgid): Likewise.
11343 (getuid): Likewise.
11344 (getgroups): Likewise.
11347 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
11348 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
11349 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
11350 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11351 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
11352 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
11353 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
11354 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
11355 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
11356 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
11357 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
11358 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
11359 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
11361 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
11362 (lchown): Likewise.
11363 (fchown): Likewise.
11364 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
11366 (lchown): Likewise.
11367 (fchown): Likewise.
11368 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
11369 (lchown): Likewise.
11370 (fchown): Likewise.
11371 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
11373 (lchown): Likewise.
11374 (fchown): Likewise.
11376 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11378 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
11381 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11383 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11386 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11388 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
11389 Remove unused include.
11391 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
11393 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
11394 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
11395 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
11396 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
11398 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
11399 Helge Deller <deller@gmx.de>
11402 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
11403 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
11404 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
11406 2014-10-23 Joseph Myers <joseph@codesourcery.com>
11409 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
11410 Remove macro definition.
11411 (__ashrdi3_v_glibc20): Likewise.
11412 (__lshrdi3_v_glibc20): Likewise.
11413 (__cmpdi2_v_glibc20): Likewise.
11414 (__ucmpdi2_v_glibc20): Likewise.
11415 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
11416 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
11417 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
11418 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
11419 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
11420 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
11422 2014-10-22 Roland McGrath <roland@hack.frob.com>
11424 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
11425 old GNU extension [0] syntax.
11426 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
11427 alloca rather than an array member with variable length.
11428 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
11429 * nscd/nscd.c (invalidate_db): New function, broken out of ...
11430 (parse_opt): ... here. Likewise use alloca there.
11431 Validate the -i argument before checking for rootness.
11432 (send_shutdown): New function, broken out of ...
11433 (parse_opt): ... here.
11435 2014-10-22 Roland McGrath <roland@hack.frob.com>
11437 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
11438 macro to get at the _rt_local_ro field.
11439 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
11440 ([PIC] case) or _dl_hwcap ([!PIC] case).
11441 * sysdeps/arm/setjmp.S: Likewise.
11443 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
11444 * sysdeps/arm/configure.ac: New check to define it.
11445 * sysdeps/arm/configure: Regenerated.
11446 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
11447 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
11448 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
11449 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
11450 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
11451 Use move/movt pair instead of a load.
11452 (LDST_GLOBAL): Macro removed.
11453 (LDR_GLOBAL): New macro replaces it.
11454 (LDR_HIDDEN): New macro.
11455 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
11456 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
11458 * setjmp/tst-setjmp-static.c: New file.
11459 * setjmp/Makefile (tests): Add it.
11460 (tests-static): New variable.
11462 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
11465 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
11467 2014-10-21 Joseph Myers <joseph@codesourcery.com>
11470 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
11472 2014-10-21 Roland McGrath <roland@hack.frob.com>
11474 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
11476 2014-10-20 Roland McGrath <roland@hack.frob.com>
11478 * io/fts.c (dirent_not_directory): New function.
11479 (fts_build): Call it.
11481 2014-10-20 Roland McGrath <roland@hack.frob.com>
11483 * nptl/version.c (__nptl_main): Use normal __write rather than
11485 (banner): Update copyright years.
11487 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
11489 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11490 * nptl/pthread_cond_timedwait.c: Likewise.
11491 * nptl/pthread_mutex_timedlock.c: Likewise.
11492 * nptl/sem_timedwait.c: Likewise.
11494 * sysdeps/nptl/bits/libc-lock.h
11495 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11496 (__libc_lock_init_recursive): Return void, not 0.
11497 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
11498 (__libc_rwlock_init): Likewise.
11499 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
11501 2014-10-20 Torvald Riegel <triegel@redhat.com>
11504 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
11505 (__pthread_once_slow): ... here.
11506 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
11507 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
11509 2014-10-20 Torvald Riegel <triegel@redhat.com>
11512 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
11513 __PTHREAD_ONCE_FORK_GEN_INCR): New.
11514 * sysdeps/nptl/fork.c (__libc_fork): Use them.
11515 * nptl/pthread_once.c (__pthread_once): Likewise.
11518 2014-10-20 Joseph Myers <joseph@codesourcery.com>
11521 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
11523 (writev): Use __libc_writev as strong name.
11524 * sysdeps/unix/sysv/linux/readv.c: Remove file.
11525 * sysdeps/unix/sysv/linux/writev.c: Likewise.
11527 2014-10-17 Roland McGrath <roland@hack.frob.com>
11529 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
11531 * sysdeps/i386/nptl/tls.h
11532 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
11533 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
11535 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
11536 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
11537 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
11538 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
11539 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
11540 Call CHECK_THREAD_SYSINFO instead of doing an assert.
11542 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
11543 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
11545 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11547 (__pthread_mutex_init): ... here. Call it.
11548 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11549 Conditionalize PI cases on [__NR_futex].
11550 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11551 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11552 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11554 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11555 conditional on [SIGSETXID].
11556 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11557 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11558 is defined. Likewise for SIGSETXID.
11559 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11560 Conditionalize definitions on [SIGSETXID].
11561 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11562 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11563 unblocking on [SIGCANCEL].
11565 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11566 [__NR_set_robust_list].
11568 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11570 * string/strcoll_l.c (get_next_seq): Fix up formatting.
11571 (do_compare): Likewise.
11573 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
11576 * string/strcoll_l.c: Don't include stdio.h.
11577 (coll_seq): Remove members idxarr and rulearr.
11578 (get_next_seq_cached): Remove function.
11579 (get_next_seq): Likewise.
11580 (get_next_seq_nocache): Rename to get_next_seq.
11581 (do_compare): Remove function.
11582 (do_compare_nocache): Rename to do_compare.
11583 (STRCOLL): Remove weight and rules cache.
11585 2014-10-16 Roland McGrath <roland@hack.frob.com>
11587 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11588 * sysdeps/arm/sfp-machine.h: ... to here.
11589 * sysdeps/arm/Implies: Remove arm/soft-fp.
11591 2014-10-14 Joseph Myers <joseph@codesourcery.com>
11593 * conform/data/sys/utsname.h-data (*_t): Allow.
11594 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11595 [POSIX] (WEXITED): Do not expect constant.
11596 [POSIX] (WSTOPPED): Likewise.
11597 [POSIX] (WNOHANG): Likewise.
11598 [POSIX] (WNOWAIT): Likewise.
11599 [POSIX] (siginfo_t): Do not expect type or elements.
11600 [POSIX] (pid_t): Do not expect type.
11601 [POSIX] (signal.h): Do not allow header.
11602 [POSIX] (sys/resource.h): Likewise.
11603 [POSIX] (si_*): Do not allow pattern.
11604 [POSIX] (W*): Likewise.
11605 [POSIX] (P_*): Likewise.
11606 [POSIX] (BUS_*): Likewise.
11607 [POSIX] (CLD_*): Likewise.
11608 [POSIX] (FPE_*): Likewise.
11609 [POSIX] (ILL_*): Likewise.
11610 [POSIX] (POLL_*): Likewise.
11611 [POSIX] (SEGV_*): Likewise.
11612 [POSIX] (SI_*): Likewise.
11613 [POSIX] (TRAP_*): Likewise.
11614 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11617 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
11620 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11621 infinite loop when __recvmsg returns 0.
11623 2014-10-10 Joseph Myers <joseph@codesourcery.com>
11625 * CANCEL-FCT-WAIVE: Remove file.
11626 * CANCEL-FILE-WAIVE: Likewise.
11629 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11630 instead of INTVARDEF.
11631 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11632 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11633 rtld_hidden_data_def instead of INTVARDEF.
11634 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11635 * elf/dl-deps.c (expand_dst): Likewise.
11636 * elf/dl-load.c (_dl_dst_count): Likewise.
11637 (_dl_dst_substitute): Likewise.
11638 (decompose_rpath): Likewise.
11639 (_dl_init_paths): Likewise.
11640 (open_path): Likewise.
11641 (_dl_map_object): Likewise.
11642 * elf/rtld.c (dl_main): Likewise.
11643 (process_dl_audit): Likewise.
11644 (process_envvars): Likewise.
11645 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11646 Remove declaration.
11647 (__libc_enable_secure): Use rtld_hidden_proto.
11649 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11652 (add_path): New function broken out of _dl_rtld_di_serinfo.
11653 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
11655 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11657 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11658 parentheses around macro arguments.
11659 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11660 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11661 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11662 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11663 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11664 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11665 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11666 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11667 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11668 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11669 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11670 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11671 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11672 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11673 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11674 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11675 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11676 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11677 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11678 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11679 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11680 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11681 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11682 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11683 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11684 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11685 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11686 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11687 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11688 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11689 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11690 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11691 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11692 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11693 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11694 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11696 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11697 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11698 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11699 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11700 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11701 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11702 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11703 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11704 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11705 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11706 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11707 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11708 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11709 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11710 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11711 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11712 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11713 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11714 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11715 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11716 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11717 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11718 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11719 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11720 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11721 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11722 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11723 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11724 (_FP_FRAC_SRS_1): Likewise.
11725 (_FP_FRAC_CLZ_1): Likewise.
11726 (_FP_MUL_MEAT_1_imm): Likewise.
11727 (_FP_MUL_MEAT_1_wide): Likewise.
11728 (_FP_MUL_MEAT_1_hard): Likewise.
11729 (_FP_SQRT_MEAT_1): Likewise.
11730 (_FP_FRAC_ASSEMBLE_1): Likewise.
11731 (_FP_FRAC_DISASSEMBLE_1): Likewise.
11732 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11733 (__FP_CLZ_2): Likewise.
11734 (_FP_MUL_MEAT_2_wide): Likewise.
11735 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11736 (_FP_MUL_MEAT_2_gmp): Likewise.
11737 (_FP_MUL_MEAT_2_120_240_double): Likewise.
11738 (_FP_SQRT_MEAT_2): Likewise.
11739 (_FP_FRAC_ASSEMBLE_2): Likewise.
11740 (_FP_FRAC_DISASSEMBLE_2): Likewise.
11741 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11742 (_FP_FRAC_CLZ_4): Likewise.
11743 (_FP_MUL_MEAT_4_wide): Likewise.
11744 (_FP_MUL_MEAT_4_gmp): Likewise.
11745 (_FP_SQRT_MEAT_4): Likewise.
11746 (_FP_FRAC_ASSEMBLE_4): Likewise.
11747 (_FP_FRAC_DISASSEMBLE_4): Likewise.
11748 * soft-fp/op-common.h (_FP_CMP): Likewise.
11749 (_FP_CMP_EQ): Likewise.
11750 (_FP_CMP_UNORD): Likewise.
11751 (_FP_TO_INT): Likewise.
11752 (_FP_FROM_INT): Likewise.
11753 [!__FP_CLZ] (__FP_CLZ): Likewise.
11754 (_FP_DIV_HELP_imm): Likewise.
11755 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11757 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11758 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11759 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11760 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11761 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11762 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11763 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11764 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11765 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11766 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11767 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11768 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11769 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11770 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11771 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11772 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11773 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11774 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11775 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11776 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11777 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11778 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11779 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11780 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11781 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11782 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11783 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11784 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11785 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11786 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11787 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11788 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11789 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11790 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11791 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11792 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11793 (FP_UNPACK_RAW_SP): Likewise.
11794 (FP_PACK_RAW_S): Likewise.
11795 (FP_PACK_RAW_SP): Likewise.
11796 (FP_UNPACK_S): Likewise.
11797 (FP_UNPACK_SP): Likewise.
11798 (FP_UNPACK_SEMIRAW_S): Likewise.
11799 (FP_UNPACK_SEMIRAW_SP): Likewise.
11800 (FP_PACK_S): Likewise.
11801 (FP_PACK_SP): Likewise.
11802 (FP_PACK_SEMIRAW_S): Likewise.
11803 (FP_PACK_SEMIRAW_SP): Likewise.
11804 (_FP_SQRT_MEAT_S): Likewise.
11805 (FP_CMP_S): Likewise.
11806 (FP_CMP_EQ_S): Likewise.
11807 (FP_CMP_UNORD_S): Likewise.
11808 (FP_TO_INT_S): Likewise.
11809 (FP_FROM_INT_S): Likewise.
11811 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11813 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11814 (FP_EX_INVALID_IMZ): Likewise.
11815 (FP_EX_INVALID_IMZ_FMA): Likewise.
11816 (FP_EX_INVALID_ISI): Likewise.
11817 (FP_EX_INVALID_ZDZ): Likewise.
11818 (FP_EX_INVALID_IDI): Likewise.
11819 (FP_EX_INVALID_SQRT): Likewise.
11820 (FP_EX_INVALID_CVI): Likewise.
11821 (FP_EX_INVALID_VC): Likewise.
11822 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11823 "invalid" exceptions.
11824 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11825 (_FP_ADD_INTERNAL): Likewise.
11826 (_FP_MUL): Likewise.
11827 (_FP_FMA): Likewise.
11828 (_FP_DIV): Likewise.
11829 (_FP_CMP_CHECK_NAN): Likewise.
11830 (_FP_SQRT): Likewise.
11831 (_FP_TO_INT): Likewise.
11832 (FP_EXTEND): Likewise.
11834 2014-10-09 Allan McRae <allan@archlinux.org>
11836 * po/fr.po: Update French translation from translation project.
11838 2014-10-09 Joseph Myers <joseph@codesourcery.com>
11841 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11843 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11844 (__cxa_atexit): Use libc_hidden_proto.
11845 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11848 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11850 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11851 [!_ISOMAC] (__iswspace_l_internal): Likewise.
11852 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11853 [!_ISOMAC] (__iswctype_internal): Likewise.
11854 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11855 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11857 (fcntl): Remove __fcntl_internal alias.
11858 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11859 __connect_internal alias.
11860 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11863 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11864 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11866 (_FP_CHECK_FLUSH_ZERO): New macro.
11867 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11868 (_FP_CMP): Likewise.
11869 (_FP_CMP_EQ): Likewise.
11870 (_FP_TO_INT): Do not set inexact for subnormal arguments if
11872 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11873 (FP_TRUNC): Likewise.
11875 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11876 treated as invalid conversion, not as normal exponent.
11878 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11879 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
11880 (_FP_CMP_EQ): Likewise.
11881 (_FP_CMP_UNORD): Likewise.
11882 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11883 (FP_CMP_EQ_D): Likewise.
11884 (FP_CMP_UNORD_D): Likewise.
11885 * soft-fp/extended.h (FP_CMP_E): Likewise.
11886 (FP_CMP_EQ_E): Likewise.
11887 (FP_CMP_UNORD_E): Likewise.
11888 * soft-fp/quad.h (FP_CMP_Q): Likewise.
11889 (FP_CMP_EQ_Q): Likewise.
11890 (FP_CMP_UNORD_Q): Likewise.
11891 * soft-fp/single.h (FP_CMP_S): Likewise.
11892 (FP_CMP_EQ_S): Likewise.
11893 (FP_CMP_UNORD_S): Likewise.
11894 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11895 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11896 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11897 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11898 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11899 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11900 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11901 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11902 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11903 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11904 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11905 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11906 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11908 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11910 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11911 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11913 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11915 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11916 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11917 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11918 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11920 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11922 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11923 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11925 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11927 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11928 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11929 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11930 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11933 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11934 a subnormal result, set the underflow exception if trapping on
11935 underflow is enabled.
11936 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11937 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11938 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11940 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11941 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11942 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11943 * soft-fp/extendxftf2.c (__extendxftf2): Use
11944 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11946 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11947 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11948 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11949 FP_HANDLE_EXCEPTIONS.
11950 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11951 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11952 FP_HANDLE_EXCEPTIONS.
11953 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11954 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11955 FP_HANDLE_EXCEPTIONS.
11956 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11957 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11958 FP_HANDLE_EXCEPTIONS.
11960 2014-10-08 Joseph Myers <joseph@codesourcery.com>
11963 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11964 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11966 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11967 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11969 (__adjtimex): Define using libc_hidden_ver.
11970 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11971 Remove declaration.
11972 (ntp_gettime): Call __adjtimex directly.
11973 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11974 Remove declaration.
11975 (ntp_gettimex): Call __adjtimex directly.
11976 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11977 __adjtimex_internal alias.
11979 2014-10-08 Roland McGrath <roland@hack.frob.com>
11982 * nscd/nscd.c (more_help): Rewrite list of tables collection
11983 using xstrdup and asprintf.
11985 * nscd/nscd_conf.c: Remove local xstrdup declaration.
11987 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11988 Roland McGrath <roland@hack.frob.com>
11990 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11991 (do_lookup_unique): ... local function 'enter' here; update callers.
11993 2014-10-06 Joseph Myers <joseph@codesourcery.com>
11995 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11996 compat_symbol calls on [SHARED].
11997 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11998 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
12000 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12001 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
12002 (oldsetrlimit): Remove.
12003 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12005 (lchown): New syscall entry.
12006 (oldsetrlimit): Remove.
12007 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12008 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
12009 (oldsetrlimit): Remove.
12010 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
12013 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
12014 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
12015 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
12016 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
12017 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12018 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
12019 (fchown): Likewise.
12020 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
12021 (fchown): Likewise.
12022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
12025 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12027 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
12028 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
12029 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
12030 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
12031 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
12033 (__old_sem_post): Likewise.
12035 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
12037 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
12038 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
12039 HAVE_CLOCK_GETTIME_VSYSCALL macros.
12040 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
12041 Use INLINE_VSYSCALL macro.
12042 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
12043 __vdso_clock_gettime.
12044 * sysdeps/unix/sysv/linux/tile/init-first.c
12045 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
12046 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
12047 __vdso_clock_gettime.
12049 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
12050 to set up frame more cleanly.
12052 * sysdeps/tile/memcmp.c: New file.
12054 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
12056 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
12057 * sysdeps/tile/tilegx/strcasestr.c: New file.
12058 * sysdeps/tile/tilegx/strnlen.c: New file.
12059 * sysdeps/tile/tilegx/strstr.c: New file.
12061 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
12063 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
12065 * nptl/tst-setuid3.c: Write errors to stdout.
12067 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12070 (preload): New functions broken out of _dl_map_object_deps.
12071 (_dl_map_object_deps): Remove a nested function. Update call sites.
12073 2014-10-01 Joseph Myers <joseph@codesourcery.com>
12076 * sysdeps/unix/sysv/linux/execve.c: Remove file.
12077 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
12079 2014-10-01 Steve Ellcey <sellcey@mips.com>
12081 * sysdeps/mips/strcmp.S: New.
12083 2014-09-30 Joseph Myers <joseph@codesourcery.com>
12086 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
12087 (linkat): Likewise.
12088 (mkdirat): Likewise.
12089 (readlinkat): Likewise.
12090 (renameat): Likewise.
12091 (symlinkat): Likewise.
12092 (unlinkat): Likewise.
12093 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
12094 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
12095 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
12096 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
12097 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12098 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
12099 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
12101 2014-09-30 Will Newton <will.newton@linaro.org>
12103 * math/math.h: Define long double math functions if
12104 _LIBC_TEST is defined.
12105 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
12107 * localedata/Makefile: Move assignment to tests-special
12108 into an ifdef testing run-built-tests.
12109 * timezone/Makefile: Likewise.
12111 2014-09-29 Joseph Myers <joseph@codesourcery.com>
12113 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
12114 with $(BASH) not $(SHELL).
12116 2014-09-29 Carlos O'Donell <carlos@redhat.com>
12117 Matthew LeGendre <legendre1@llnl.gov>
12120 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
12123 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12125 * stdio-common/printf_fp.c
12126 (hack_digit): New function, broken out of ...
12127 (__printf_fp): ... local function here. Update call sites.
12128 hack_digit now takes an additional parameter that is a pointer
12129 to a struct of the referenced locals. Those locals moved inside
12130 the struct and references updated.
12132 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
12134 * aclocal.m4: Require autoconf 2.69.
12135 * configure: Regenerated.
12136 * sysdeps/aarch64/configure: Likewise.
12137 * sysdeps/alpha/configure: Likewise.
12138 * sysdeps/arm/armv7/configure: Likewise.
12139 * sysdeps/arm/configure: Likewise.
12140 * sysdeps/ia64/configure: Likewise.
12141 * sysdeps/mach/configure: Likewise.
12142 * sysdeps/mips/configure: Likewise.
12143 * sysdeps/s390/configure: Likewise.
12144 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
12145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
12147 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
12149 * sysdeps/ia64/configure.ac: Likewise.
12151 2014-09-26 Joseph Myers <joseph@codesourcery.com>
12153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
12154 specify symbol version for ld.so. Do not include entry for
12156 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12157 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12158 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12161 * Makeconfig [$(build-shared) = yes]
12162 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
12164 [$(build-shared) = yes && $(soversions.mk-done) = t]
12165 ($(common-objpfx)gnu/lib-names.h): Remove rule.
12166 [$(build-shared) = yes && $(soversions.mk-done) = t]
12167 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
12169 [$(build-shared) = yes && $(soversions.mk-done) = t]
12170 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
12172 [$(build-shared) = yes && $(soversions.mk-done) = t]
12173 (common-generated): Don't append gnu/lib-names.h and
12174 gnu/lib-names.stmp here.
12175 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
12176 (lib-names-h-abi): New variable.
12177 [$(build-shared) = yes && $(soversions.mk-done) = t]
12178 (lib-names-stmp-abi): Likewise.
12179 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12180 abi-variants] (before-compile): Append
12181 $(common-objpfx)$(lib-names-h-abi).
12182 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12183 abi-variants] (common-generated): Append gnu/lib-names.h.
12184 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12185 abi-variants] (install-others-nosubdir): Depend on
12186 $(inst_includedir)/$(lib-names-h-abi).
12187 [$(build-shared) = yes && $(soversions.mk-done) = t &&
12188 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
12189 [$(build-shared) = yes && $(soversions.mk-done) = t]
12190 ($(common-objpfx)$(lib-names-h-abi)): New rule.
12191 [$(build-shared) = yes && $(soversions.mk-done) = t]
12192 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
12193 [$(build-shared) = yes && $(soversions.mk-done) = t]
12194 (common-generated): Append $(lib-names-h-abi) and
12195 $(lib-names-stmp-abi).
12196 * scripts/lib-names.awk: Do not handle multi being set.
12197 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
12199 (abi-lp64_be-ld-soname): Likewise.
12200 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
12202 (abi-hard-ld-soname): Likewise.
12203 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
12204 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
12206 (abi-o32_hard-ld-soname): Likewise.
12207 (abi-o32_soft_2008-ld-soname): Likewise.
12208 (abi-o32_hard_2008-ld-soname): Likewise.
12209 (abi-n32_soft-ld-soname): Likewise.
12210 (abi-n32_hard-ld-soname): Likewise.
12211 (abi-n32_soft_2008-ld-soname): Likewise.
12212 (abi-n32_hard_2008-ld-soname): Likewise.
12213 (abi-n64_soft-ld-soname): Likewise.
12214 (abi-n64_hard-ld-soname): Likewise.
12215 (abi-n64_soft_2008-ld-soname): Likewise.
12216 (abi-n64_hard_2008-ld-soname): Likewise.
12217 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
12219 (abi-64-v2-ld-soname): Likewise.
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
12222 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
12224 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
12226 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
12228 (abi-64-ld-soname): Likewise.
12229 (abi-x32-ld-soname): Likewise.
12230 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
12232 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12234 2014-09-23 Joseph Myers <joseph@codesourcery.com>
12237 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
12238 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
12239 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
12240 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
12241 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
12242 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
12243 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
12244 syscall entry for GLIBC_2.2 symbol version.
12245 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
12247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
12248 (setrlimit): Likewise.
12249 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
12252 2014-09-23 Will Newton <will.newton@linaro.org>
12254 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
12255 _LINUX_ARM_SYSDEP_H include guard too.
12256 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
12259 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12261 * sysdeps/unix/sysv/linux/eventfd.c:
12262 Make first argument unsigned.
12263 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
12264 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
12266 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
12268 * socket/recvmmsg.c (recvmmsg): Drop const argument.
12269 * socket/sys/socket.h: Likewise
12270 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
12272 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12274 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
12276 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
12278 * time/tst-ftime.c: New test.
12279 * time/Makefile (tests): Add tst-ftime.
12281 2014-09-17 Joseph Myers <joseph@codesourcery.com>
12283 * soft-fp/extended.h: Fix comment formatting.
12284 * soft-fp/op-1.h: Likewise.
12285 * soft-fp/op-2.h: Likewise.
12286 * soft-fp/op-4.h: Likewise.
12287 * soft-fp/op-8.h: Likewise.
12288 * soft-fp/op-common.h: Likewise.
12289 * soft-fp/soft-fp.h: Likewise.
12291 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
12293 2014-09-16 Joseph Myers <joseph@codesourcery.com>
12296 * Makeconfig (soversions-default-setname): Remove variable.
12297 ($(common-objpfx)soversions.i): Don't pass default_setname to
12299 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
12300 oldest_abi to abi-versions.awk.
12301 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
12302 * config.make.in (oldest-abi): Remove variable.
12303 * configure.ac (--enable-oldest-abi): Remove configure option.
12304 * configure: Regenerated.
12305 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
12307 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
12308 * scripts/soversions.awk: Do not handle default_setname variable.
12309 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
12311 * sysdeps/mach/hurd/configure: Regenerated.
12312 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
12314 * sysdeps/unix/sysv/linux/configure: Regenerated.
12316 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12318 * elf/Makefile (CFLAGS-interp.c): Remove.
12319 ($(elf-objpfx)runtime-linker.h): Generate header with linker
12321 * elf/interp.c: Include generated runtime-linker.h
12323 * Makerules (lib%.so): Don't include $(+interp) in
12325 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
12326 * dlfcn/eval.c: Remove file.
12328 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
12332 * misc/sys/cdefs.h: Define __extern_always_inline for clang
12336 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
12338 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12339 Jakub Jelinek <jakub@redhat.com>
12342 * libio/stdio.h: Check definition of __fortify_function
12343 instead of __extern_always_inline to include bits/stdio2.h.
12344 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
12345 check if __extern_always_inline is defined.
12346 [__USE_MISC || __USE_XOPEN]: Likewise.
12347 [__USE_ISOC99] Likewise.
12348 * misc/sys/cdefs.h (__fortify_function): Define only if
12349 __extern_always_inline is defined.
12350 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
12351 __extern_always_inline and __extern_inline only for g++-4.3
12352 and newer or a compatible gcc.
12354 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
12357 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12358 last change to handle zero prefix length.
12360 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12362 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
12365 * posix/getconf.c (vars): Add _POSIX_IPV6 and
12366 _POSIX_RAW_SOCKETS.
12368 2014-09-13 Allan McRae <allan@archlinux.org>
12370 * po/ru.po: Update Russian translation from translation project.
12372 2014-09-12 Roland McGrath <roland@hack.frob.com>
12374 * locale/programs/locale.c (show_locale_vars): Inline local function
12375 into its sole call site. Clean up some style nits.
12376 (print_item): New function, broken out of ...
12377 (show_info): ... local function here. Clean up style nits.
12379 * locale/programs/ld-ctype.c (set_one_default): New function, broken
12381 (set_class_defaults): ... local function set_default here.
12382 Define set_default as a macro locally to pass constant parameters.
12383 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
12384 rather than a shared local.
12386 * stdlib/rpmatch.c (try): New function, broken out of ...
12387 (rpmatch): ... local function here. Also, prototypify definition.
12389 2014-09-12 Joseph Myers <joseph@codesourcery.com>
12391 * scripts/soversions.awk: Do not handle configuration names.
12392 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
12393 vendor and os variables to soversions.awk.
12394 * configure.ac: Do not modify gnu-* host_os.
12395 * configure: Regenerated
12396 * shlib-versions: Remove first column with configuration names.
12397 * nptl/shlib-versions: Likewise.
12398 * nptl_db/shlib-versions: Likewise.
12399 * sysdeps/hppa/shlib-versions: Likewise.
12400 * sysdeps/m68k/shlib-versions: Likewise.
12401 * sysdeps/mach/hurd/shlib-versions: Likewise.
12402 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
12403 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
12404 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
12405 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
12406 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
12407 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
12408 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
12409 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
12410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12412 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12413 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12414 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12415 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12416 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12417 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
12418 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
12419 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
12421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12422 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12425 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
12427 Condition symbol version definitions on [HAVE_ELFV2_ABI].
12429 * shlib-versions: Remove OS-specific entries. Moved to files in
12431 * sysdeps/mach/hurd/shlib-versions: New file.
12432 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
12434 * nptl/shlib-versions: Remove architecture-specific entries.
12435 Moved to files in sysdeps.
12436 * shlib-versions: Likewise.
12437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
12439 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
12440 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
12441 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
12442 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
12444 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
12445 (UDP_NO_CHECK6_RX): Likewise.
12447 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12449 * sysdeps/posix/sysconf.c (__sysconf): Spell
12450 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
12452 2014-08-12 Florian Weimer <fweimer@redhat.com>
12454 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
12456 * iconv/Versions (__gconv_transliterate): Export for use from
12458 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
12459 (struct __gconv_trans_data, __gconv_trans_fct,
12460 __gconv_trans_context_fct, __gconv_trans_query_fct,
12461 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
12463 (struct __gconv_step_data): Remove __trans member.
12464 (__gconv_transliterate): Declaration moved from gconv_int.h. No
12465 longer hidden. Remove unused trans_data argument.
12466 * iconv/gconv_int.h (struct trans_struct): Remove definition.
12467 (__gconv_translit_find): Remove declaration.
12468 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
12470 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
12471 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
12472 trans_data argument. Add hidden definition.
12473 (__gconv_translit_find): Remove.
12474 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
12475 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
12476 * iconv/skeleton.c: Remove transliteration initialization.
12477 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
12478 __gconv_step_data initialization.
12479 * libio/iofwide.c (__libio_translit_): Remove.
12480 (_IO_fwide): Adjust struct __gconv_step_data initialization.
12481 * wcsmbs/btowc.c (__btowc): Likewise.
12482 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12483 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
12484 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12485 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12486 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
12487 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12488 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12489 * wcsmbs/wctob.c (wctob): Likewise.
12491 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12494 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
12495 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
12497 * sysdeps/x86/Makefile: Adjust.
12499 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12500 Roland McGrath <roland@hack.frob.com>
12502 * locale/weight.h: Add include guard.
12503 (findidx): Make static rather than auto; take new parameters
12504 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
12505 * locale/weightwc.h: Likewise.
12506 * posix/fnmatch_loop.c
12507 (FCT): Change type of EXTRA from int32_t to wint_t.
12508 Don't include either header inside the function.
12509 Call FINDIDX rather than findidx, and pass new arguments.
12510 #undef FINDIDX at the end of the file.
12511 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
12512 FINDIDX before including fnmatch_loop.c for the non-wide version.
12513 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
12514 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
12515 for the wide version.
12516 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
12517 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
12518 Pass new arguments to findidx.
12519 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
12520 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
12521 Don't #include it inside the function. Pass new arguments to findidx.
12522 * posix/regex_internal.h
12523 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
12524 (re_string_elem_size_at): Don't #include it inside the function.
12525 Pass new arguments to findidx.
12526 * string/strcoll_l.c: #include WEIGHT_H at top level.
12527 (get_next_seq): Don't #include it inside the function.
12528 Pass new arguments to findidx.
12529 (get_next_seq_nocache): Likewise.
12530 * string/strxfrm_l.c: #include WEIGHT_H at top level.
12531 (STRXFRM): Don't #include it inside the function.
12532 Pass new arguments to findidx.
12534 2014-09-11 Florian Weimer <fweimer@redhat.com>
12537 * malloc/malloc.c (unlink): Turn asserts into a call to
12540 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
12543 * libio/wfileops (do_ftell_wide): Free OUT.
12545 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
12547 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12549 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12552 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12553 group if the current group is empty.
12555 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12557 * benchtests/bench-memset.c (test_main): Add more test from size
12558 from 32 to 512 bytes.
12559 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12560 Add POWER8 memset object.
12561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12562 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12563 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12565 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12567 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12568 multiarch POWER8 memset optimization.
12569 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12570 POWER8 memset optimization.
12572 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12573 Remove bzero multiarch objects.
12574 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12575 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12576 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12577 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12579 [__bzero]: Redefine to specific name.
12580 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12581 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12582 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12584 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12585 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12587 2014-09-10 Florian Weimer <fweimer@redhat.com>
12589 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12590 warnings into errors.
12592 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12593 __cxa_thread_atexit_impl prototype.
12595 2014-09-09 Steve Ellcey <sellcey@mips.com>
12597 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12598 Fix capitalization of error message.
12600 2014-09-09 Steve Ellcey <sellcey@mips.com>
12602 * sysdeps/mips/preconfigure: Modify ABI tests.
12604 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
12606 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12608 2014-09-07 Roland McGrath <roland@hack.frob.com>
12609 Carlos O'Donell <carlos@systemhalted.org>
12611 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12612 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12613 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12614 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12615 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12616 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12617 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12618 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12619 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12620 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12621 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12622 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12623 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12624 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12625 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12626 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12627 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12628 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12629 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12630 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12631 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12632 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12633 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12634 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12635 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12636 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12637 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12638 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12639 Deconditionalize the code that was previously under [RESET_PID].
12640 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12641 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12642 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12643 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12646 2014-09-08 Allan McRae <allan@archlinux.org>
12648 * version.h (RELEASE): Set to "development".
12649 (VERSION): Set to "2.20.90"
12651 2014-09-07 Allan McRae <allan@archlinux.org
12653 * version.h (RELEASE): Set to "stable".
12654 (VERSION): Set to "2.20"
12655 * include/features.h (__GLIBC_MINOR__): Set to 20.
12657 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12660 * po/ko.po: Update Korean translation from translation project.
12662 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
12665 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12666 macro for handling signed relocations.
12668 2014-09-03 Florian Weimer <fweimer@redhat.com>
12671 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12672 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12674 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12675 * iconvdata/ibm935.c (BODY): Likewise.
12676 * iconvdata/ibm937.c (BODY): Likewise.
12677 * iconvdata/ibm939.c (BODY): Likewise.
12678 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12680 * iconvdata/Makefile (iconv-test.out): Pass module list to test
12682 * iconvdata/run-iconv-test.sh: New test loop for checking for
12685 2014-09-02 Khem Raj <raj.khem@gmail.com>
12687 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12690 2014-09-01 Allan McRae <allan@archlinux.org>
12692 * po/eo.po: Update Esperanto translation from translation project.
12694 * po/ca.po: Update Catalan translation from translation project.
12696 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
12698 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12699 __proc_dostop call.
12701 2014-08-27 Mark Wielaard <mjw@redhat.com>
12704 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12705 to call set_thread_area instead of hand written asm.
12706 (__NR_set_thread_area): Removed define.
12707 (TLS_FLAG_WRITABLE): Likewise.
12708 (__ASSUME_SET_THREAD_AREA): Remove check.
12709 (TLS_EBX_ARG): Remove define.
12710 (TLS_LOAD_EBX): Likewise.
12712 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
12714 Simplify atomicity of socket creation in bind.
12716 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12717 looking up the name after linking the file.
12719 2014-08-27 Allan McRae <allan@archlinux.org>
12721 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12723 2014-08-26 Florian Weimer <fweimer@redhat.com>
12726 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12727 trans_compare, open_translit, __gconv_translit_find):
12728 Remove module loading code.
12730 2014-08-26 Allan McRae <allan@archlinux.org>
12732 * po/vi.po: Update Vietnamese translation from translation project.
12734 * po/uk.po: Update Ukrainian translation from translation project.
12736 * po/fr.po: Update French translation from translation project.
12738 * po/ru.po: Update Russian translation from translation project.
12740 * po/pl.po: Update Polish translation from translation project.
12742 * po/cs.po: Update Czech translation from translation project.
12744 * po/de.po: Update German translation from translation project.
12746 * po/bg.po: Update Bulgarian translation from translation project.
12748 * po/sv.po: Update Sweedish translation from translation project.
12750 * po/nl.po: Update Dutch translation from translation project.
12752 * po/es.po: Update Spanish translation from translation project.
12754 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12756 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12758 * catgets/Makefile (CPPFLAGS-gencat): Remove.
12759 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12760 (CPPFLAGS-iconvconfig): Likewise.
12761 * timezone/Makefile (CPPFLAGS-zic): Likewise.
12763 * include/libc-symbols.h: Remove unnecessary check for
12765 * nptl/pthreadP.h: Likewise.
12766 * sysdeps/aarch64/setjmp.S: Likewise.
12767 * sysdeps/alpha/setjmp.S: Likewise.
12768 * sysdeps/arm/sysdep.h: Likewise.
12769 * sysdeps/i386/setjmp.S: Likewise.
12770 * sysdeps/m68k/setjmp.c: Likewise.
12771 * sysdeps/posix/getcwd.c: Likewise.
12772 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12773 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12774 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12775 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12776 * sysdeps/sh/sh3/setjmp.S: Likewise.
12777 * sysdeps/sh/sh4/setjmp.S: Likewise.
12778 * sysdeps/unix/alpha/sysdep.h: Likewise.
12779 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12780 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12781 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12782 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12785 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12786 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12787 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12788 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12789 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12790 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12792 * sysdeps/x86_64/setjmp.S: Likewise.
12794 2014-08-13 Joseph Myers <joseph@codesourcery.com>
12797 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12799 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12800 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12802 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12804 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12807 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12808 and __x86_64__ when disabling x87 inline functions.
12810 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
12813 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12814 asm statement with __cpuid_count.
12816 2014-08-12 Mike Frysinger <vapier@gentoo.org>
12818 * configure.ac: Change __ehdr_start code to dereference the struct.
12819 Run readelf on the output to look for relocations.
12820 * configure: Regenerated.
12822 2014-08-12 Joseph Myers <joseph@codesourcery.com>
12825 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12827 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12829 2014-08-12 Roland McGrath <roland@hack.frob.com>
12831 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12833 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
12836 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12837 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12839 2014-08-12 Sean Anderson <seanga2@gmail.com>
12841 * malloc/malloc.c: Fix typo in comment.
12843 2014-08-09 Allan McRae <allan@archlinux.org>
12845 * Regenerate libc.po.
12847 2014-08-08 Mike Frysinger <vapier@gentoo.org>
12849 * intl/tst-gettext2.sh: Check every lang file for creation.
12851 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12853 * sysdeps/aarch64/fpu/math_private.h
12854 (libc_feholdsetround_noex_aarch64_ctx): New function.
12856 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
12858 * sysdeps/arm/armv6/strcpy.S (strcpy):
12859 Fix performance issue in misaligned cases.
12861 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12863 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12864 Move definition from termios.h.
12865 (struct termio): Likewise.
12866 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12867 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12868 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12869 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12871 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12872 Move definition to ioctl-types.h
12873 (struct termio): Likewise.
12874 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12875 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12876 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12877 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12880 2014-08-05 Richard Henderson <rth@redhat.com>
12882 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12884 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12886 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12887 Use __feraiseexcept.
12888 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12889 Protect libm symbols with IS_IN_libm.
12891 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12893 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
12895 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12897 2014-08-04 Will Newton <will.newton@linaro.org>
12899 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12902 2014-08-04 Mike Frysinger <vapier@gentoo.org>
12904 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12905 variants for each function.
12907 2014-08-04 Roland McGrath <roland@hack.frob.com>
12909 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12911 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12912 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12914 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12915 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12916 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12917 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12918 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12919 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12920 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12921 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12922 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12923 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12924 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12925 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12926 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12927 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12928 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12929 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12930 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12931 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12932 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12933 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12934 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12935 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12936 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12937 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12938 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12939 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12940 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12941 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12942 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12943 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12944 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12945 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12946 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12947 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12948 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12949 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12950 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12951 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12952 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12953 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12954 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12955 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12956 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12957 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12958 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12959 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12960 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12961 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12962 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12963 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12964 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12965 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12966 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12968 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12969 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12971 2014-08-04 Roland McGrath <roland@hack.frob.com>
12973 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12974 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12975 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12976 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12977 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12978 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12980 2014-08-04 Roland McGrath <roland@hack.frob.com>
12982 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12983 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12984 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12985 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12987 2014-08-04 Roland McGrath <roland@hack.frob.com>
12989 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12990 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12991 (__libc_vfork): Define function under this name.
12992 (__vfork): Define as an alias.
12993 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12994 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12996 2014-08-04 Roland McGrath <roland@hack.frob.com>
12998 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12999 that was previously under [RESET_PID].
13000 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
13002 2014-08-04 Andreas Schwab <schwab@suse.de>
13004 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
13006 2014-08-03 Mike Frysinger <vapier@gentoo.org>
13008 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
13011 2014-08-01 Roland McGrath <roland@hack.frob.com>
13013 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
13015 2014-08-01 Richard Henderon <rth@redhat.com>
13017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
13018 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
13019 typo in exact zero test.
13020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13021 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13022 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13024 2014-08-01 Roland McGrath <roland@hack.frob.com>
13026 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
13027 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
13028 * sysdeps/arm/sysdep.h: ... here.
13029 [!__ASSEMBLER__]: Include <stdint.h>.
13031 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
13033 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
13034 (HAVE_WCTYPE_H): Likewise.
13035 (HAVE_ISWCTYPE): Likewise.
13036 (ENABLE_NLS): Likewise.
13037 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
13038 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
13040 * posix/regex_internal.c: Check if DEBUG is defined and is
13043 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
13044 (HAVE_MBSRTOWCS): Likewise.
13045 * posix/fnmatch.c: Include string.h unconditionally.
13047 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13049 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
13052 2014-07-31 Roland McGrath <roland@hack.frob.com>
13054 * sysdeps/generic/safe-fatal.h: New file.
13055 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
13056 * nptl/forward.c: Include it.
13057 (__pthread_unwind): Use __safe_fatal as default action, rather
13058 than a bogus use of INTERNAL_SYSCALL that could never work.
13060 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
13061 * configure.ac (libc_cv_builtin_trap): New test.
13062 * configure: Regenerated.
13063 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
13064 (ABORT_INSTRUCTION): Define using __builtin_trap.
13066 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
13067 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
13068 * sysdeps/nptl/nptl-signals.h: New file.
13069 * nptl/pthreadP.h: Include <nptl-signals.h>.
13071 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13073 * sysdeps/s390/s390-64/utf16-utf32-z9.c
13074 (ONE_DIRECTION): Define.
13075 * sysdeps/s390/s390-64/utf8-utf16-z9.c
13076 (ONE_DIRECTION): Define.
13077 * sysdeps/s390/s390-64/utf8-utf32-z9.c
13078 (ONE_DIRECTION): Define.
13080 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13082 * sysdeps/s390/Makefile: Delete file.
13083 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
13084 * sysdeps/s390/__longjmp.c: Delete file.
13085 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
13086 Remove fields __flags and __reserved.
13087 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
13088 and add versioning.
13089 * sysdeps/s390/rtld-__longjmp.c: Delete file.
13090 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
13091 * sysdeps/s390/rtld-setjmp.S: Likewise.
13092 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
13093 * sysdeps/s390/s390-32/__longjmp.c: ... here.
13094 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
13095 * sysdeps/s390/s390-32/setjmp.S: ... here.
13097 (__sigsetjmp): Remove setting __flags field.
13098 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
13099 * sysdeps/s390/s390-64/__longjmp.c: ... here.
13100 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
13101 * sysdeps/s390/s390-64/setjmp.S: ... here.
13103 (__sigsetjmp): Remove setting __flags field.
13104 * sysdeps/s390/setjmp.S: Delete file.
13105 * sysdeps/s390/sigjmp.c: Likewise.
13106 * sysdeps/s390/v1-longjmp.c: Likewise.
13107 * sysdeps/s390/v1-setjmp.h: Likewise.
13108 * sysdeps/s390/v1-sigjmp.c: Likewise.
13109 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
13110 Remove v1-longjmp_chk.
13111 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
13112 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
13113 Include debug/longjmp_chk.c and add versioning.
13114 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
13115 Include nptl/pt-longjmp.c and add versioning.
13116 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
13117 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
13118 Include __longjmp.c.
13119 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13121 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
13122 (__getcontext): Remove setting __flags field.
13124 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
13125 Don't restore upper high grps.
13126 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
13128 (__swapcontext): Remove setting uc_flags field.
13129 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
13131 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13132 Include __longjmp.c.
13133 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13135 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
13136 (__getcontext): Remove setting __flags field.
13138 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
13139 (__swapcontext): Remove setting uc_flags field.
13140 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
13141 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
13142 Remove fields uc_high_gprs and __reserved.
13143 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
13144 New file with reverted content.
13145 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
13146 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
13148 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
13151 2014-07-31 Andreas Schwab <schwab@suse.de>
13153 * config.h.in (HAVE_IFUNC): Define to 0.
13154 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
13157 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
13159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13160 memmove-avx-unaligned, memcpy-avx-unaligned and
13161 mempcpy-avx-unaligned.
13162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13163 Add tests for AVX memcpy functions.
13164 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
13165 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
13167 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
13168 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
13170 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
13171 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
13173 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
13174 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
13175 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
13177 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13180 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
13183 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
13186 * manual/llio.texi: Add section about open file description locks.
13187 * manual/examples/ofdlocks.c: Example of open file description
13189 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
13190 F_OFD_SETLK, and F_OFD_SETLKW.
13192 2014-07-23 Allan McRae <allan@archlinux.org>
13194 * po/es.po: Update Spanish translation from translation project.
13196 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
13198 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
13200 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
13203 * sysdeps/arm/dl-machine.h (elf_machine_rela)
13204 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
13205 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
13207 2014-07-17 Joseph Myers <joseph@codesourcery.com>
13210 * math/fesetenv.c (__fesetenv)
13211 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
13212 * math/feupdateenv.c (__feupdateenv)
13213 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
13215 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
13216 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13217 (__ASSUME_SOCKETCALL): Do not define.
13219 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
13220 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
13221 (__ASSUME_SOCKETCALL): Do not define.
13222 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
13223 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13224 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13225 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
13226 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13227 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
13228 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13229 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13231 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
13232 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
13233 (__ASSUME_SOCKETCALL): Do not define.
13234 (__ASSUME_IPC64): Define unconditionally.
13235 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13236 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13237 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
13238 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13239 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
13240 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13241 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
13244 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
13245 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
13246 (__ASSUME_SOCKETCALL): Do not define.
13247 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
13248 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13249 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13250 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13251 (__ASSUME_REQUEUE_PI): Define unconditionally.
13252 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
13253 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13254 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13255 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
13256 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13257 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13259 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
13260 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
13261 (__ASSUME_SOCKETCALL): Do not define.
13262 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
13263 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13264 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13265 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
13266 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13267 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13269 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
13270 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
13271 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13272 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
13273 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13274 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
13275 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13276 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
13277 (__ASSUME_GETCPU_SYSCALL): Likewise.
13279 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
13280 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
13281 cases for individual architectures.
13282 * sysdeps/gnu/configure: Regenerated.
13283 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
13284 LIBC_SLIBDIR_RTLDDIR.
13285 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
13286 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
13287 LIBC_SLIBDIR_RTLDDIR.
13288 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
13289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
13290 LIBC_SLIBDIR_RTLDDIR.
13291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13293 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
13294 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
13296 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
13297 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
13299 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
13300 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
13301 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
13302 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
13304 * sysdeps/aarch64/shlib-versions: Move to ...
13305 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
13306 * sysdeps/alpha/shlib-versions: Move to ...
13307 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
13308 * sysdeps/arm/shlib-versions: Move to ...
13309 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
13310 * sysdeps/hppa/shlib-versions: Move all contents except for
13311 libgcc_s entry to ...
13312 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
13314 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
13315 * sysdeps/ia64/shlib-versions: Move to ...
13316 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
13318 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
13319 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
13320 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
13321 * sysdeps/microblaze/shlib-versions: Move to ...
13322 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
13323 * sysdeps/mips/shlib-versions: Move to ...
13324 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
13326 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
13327 * sysdeps/tile/shlib-versions: Move to ...
13328 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
13329 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
13331 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
13332 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
13334 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
13336 2014-07-17 Will Newton <will.newton@linaro.org>
13338 * sysdeps/arm/bits/atomic.h
13339 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
13340 (__arch_compare_and_exchange_bool_16_int): Likewise.
13341 (__arch_compare_and_exchange_bool_64_int): Likewise.
13343 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
13344 into an #else block.
13346 2014-07-16 Roland McGrath <roland@hack.frob.com>
13348 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
13349 just Linux configurations. Test empirically that the compiler sets
13350 __ARM_EABI__, rather than using the tuple to decide.
13351 * sysdeps/arm/preconfigure: Regenerated.
13352 * sysdeps/unix/sysv/linux/arm/configure: File removed.
13353 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
13354 contents appended ...
13355 * sysdeps/arm/configure.ac: ... here.
13356 * sysdeps/arm/configure: Regenerated.
13358 2014-07-15 Roland McGrath <roland@hack.frob.com>
13360 * nptl/pthread_kill.c: New file.
13361 * nptl/pthread_sigmask.c: New file.
13362 * nptl/pthread_sigqueue.c: New file.
13364 * sysdeps/nptl/lowlevellock.h: New file.
13365 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
13366 * sysdeps/nptl/lowlevellock-futex.h: New file.
13368 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
13369 Remove dead declarations.
13371 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
13373 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
13374 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
13375 config-cflags-avx2.
13376 * sysdeps/x86_64/configure.ac: Likewise.
13377 * sysdeps/i386/configure: Regenerated.
13378 * sysdeps/x86_64/configure: Likewise.
13379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13380 memset-avx2 only if config-cflags-avx2 is yes.
13381 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13382 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
13384 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
13385 only if HAVE_AVX2_SUPPORT is defined.
13386 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13388 2014-07-14 Alan Modra <amodra@gmail.com>
13391 * elf/elf.h (DT_PPC64_NUM): Correct value.
13392 * NEWS: Add to fixed bug list.
13394 2014-07-13 Jim Meyering <meyering@fb.com>
13397 regex: don't deref NULL upon heap allocation failure
13398 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
13399 failure in one more place.
13400 To trigger the segfault, configure grep -with-included-regex,
13401 build it, and run these commands:
13402 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
13404 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
13406 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13408 2014-07-11 Richard Henderson <rth@redhat.com>
13410 * sysdeps/aarch64/libm-test-ulps: Update.
13412 2014-07-10 Florian Weimer <fweimer@redhat.com>
13415 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
13416 * nptl/allocatestack.c (__nptl_setxid_error): New function.
13417 (__nptl_setxid): Initialize error member. Call
13418 __nptl_setxid_error.
13419 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
13420 * nptl/descr.h (struct xid_command): Add error member.
13421 * nptl/tst-setuid3.c: New file.
13422 * nptl/Makefile (tests): Add it.
13424 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13426 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
13428 (__lll_trylock): Use __lll_base_trylock.
13429 (__lll_cond_trylock): Likewise.
13431 2014-07-10 Roland McGrath <roland@hack.frob.com>
13433 * nptl/pthread_create.c (start_thread): Use atomic_or and
13434 lll_futex_wake directly rather than lll_robust_dead.
13435 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13436 (lll_robust_dead): Macro removed.
13437 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
13438 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13439 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13440 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13441 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13442 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13443 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13444 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13445 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13446 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13447 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13448 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13449 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13450 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13451 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13453 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13454 Use atomic_compare_and_exchange_val_acq directly rather than
13455 lll_robust_trylock.
13456 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
13457 (__lll_robust_trylock, lll_robust_trylock): Removed.
13458 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
13459 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
13460 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
13461 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
13462 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
13463 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
13464 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
13465 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
13466 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
13467 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
13468 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
13469 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
13470 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
13471 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
13473 2014-07-02 Florian Weimer <fweimer@redhat.com>
13475 * manual/locale.texi (Locale Names): New section documenting
13476 locale name syntax. Adjust menu and node chaining accordingly.
13477 (Choosing Locale): Reference Locale Names, Locale Categories.
13478 Mention setting LC_ALL=C. Reflect that name syntax is now
13480 (Locale Categories): New section title. Reference Locale Names.
13481 LC_ALL is an environment variable, but not a category.
13482 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
13483 description, now in Locale Name. Reference that section. Locale
13484 name syntax is now documented.
13486 2014-07-02 Florian Weimer <fweimer@redhat.com>
13489 * locale/findlocale.c (name_present, valid_locale_name): New
13491 (_nl_find_locale): Use the loc_name variable to store name
13492 candidates. Call name_present and valid_locale_name to check and
13493 validate locale names. Return an error if the locale is invalid.
13495 2014-07-02 Florian Weimer <fweimer@redhat.com>
13497 * locale/setlocale.c (setlocale): Use strdup for allocating
13498 composite name copy.
13500 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13502 Sync up with gnulib.
13503 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
13504 [!_LIBC && ENABLE_NLS]: Include gettext.h.
13505 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
13506 and _GL_ARG_NONNULL.
13507 [USE_UNLOCKED_IO]: Include unlocked-io.h.
13508 [!_LIBC]: Include code for Windows and Cygwin.
13509 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
13510 Include prototype for int strerror_r.
13511 [!_LIBC] (is_open): New function.
13512 (flush_stdout): New function.
13513 (print_errno_message): Use it.
13515 (error_at_line): Likewise.
13516 (error_tail) Add function attribute macros. Use
13519 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
13521 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
13523 * io/ftw.c: Include sys/param.h unconditionally.
13525 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
13528 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
13530 (freecache): New function to free CACHE on exit.
13532 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
13535 2014-07-09 David S. Miller <davem@davemloft.net>
13537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13539 * sysdeps/sparc/nptl/internaltypes.h: Delete.
13540 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
13541 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
13542 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
13543 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
13544 * sysdeps/sparc/nptl/sem_init.c: Likewise.
13545 * sysdeps/sparc/nptl/sem_post.c: Likewise.
13546 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13547 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13548 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13549 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13550 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13551 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13553 2014-07-09 Andreas Schwab <schwab@suse.de>
13555 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13557 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13558 (do_test): Likewise.
13560 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13562 2014-07-09 Will Newton <will.newton@linaro.org>
13564 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13565 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13566 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13567 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13568 * sysdeps/hppa/start.S (_start): Likewise.
13570 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
13572 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13574 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13577 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13579 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13580 after checking that it is non-NULL.
13582 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13584 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13586 * sysdeps/powerpc/memmove.c: Remove file.
13587 * sysdeps/powerpc/powerpc32/power4/memcopy.h
13588 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13589 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13590 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13591 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13592 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13593 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13594 string memmove instead of removed powerpc one.
13596 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13597 [weak_alias]: Fix compiler warning due trailing data.
13598 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13599 [weak_alias]: Likewise.
13600 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13601 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13603 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13604 (__libc_ifunc_impl_list): Add memmove functions.
13606 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13608 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13610 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13612 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13614 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13616 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13618 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13620 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13622 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13624 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13626 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13628 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13630 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13632 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13634 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13636 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13638 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13640 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13643 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13645 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13646 to avoid alignment traps in non-cacheable memory.
13647 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13649 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13651 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13652 file: multiarch power7 memmove.
13653 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13654 multiarch default memmove.
13655 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13656 multiarch memove for powerpc32/power4.
13658 * string/bcopy.c: Use full path to include memmove.c.
13659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13661 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13662 bcopy for powerpc64.
13663 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13664 bcopy for powerpc64.
13665 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13666 and memmove implementations.
13667 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13668 optimized multiarch memmove for POWER7/powerpc64.
13669 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13670 default multiarch memmove for powerpc64.
13671 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13672 multiarch for powerpc64.
13673 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13674 for POWER7/powerpc64.
13675 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13676 memmove for POWER7/powerpc64.
13678 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13681 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13682 __ELF_NATIVE_CLASS equal to 64.
13684 2014-07-07 Roland McGrath <roland@hack.frob.com>
13686 * sysdeps/nptl/lowlevellock.h: File removed.
13688 * NEWS: NPTL is no longer an add-on!
13689 * nptl/internaltypes.h: Moved ...
13690 * sysdeps/nptl/internaltypes.h: ... here.
13691 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13692 * sysdeps/nptl/fork.c: Likewise.
13693 * sysdeps/nptl/gai_misc.h: Likewise.
13694 * sysdeps/nptl/librt-cancellation.c: Likewise.
13695 * sysdeps/nptl/jmp-unwind.c: Likewise.
13696 * sysdeps/nptl/setxid.h: Likewise.
13697 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13698 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13699 * sysdeps/unix/sysv/linux/arm/Implies: New file.
13700 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13701 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13702 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13703 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13704 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13705 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13706 * sysdeps/unix/sysv/linux/mips/Implies: New file.
13707 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13708 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13709 * sysdeps/unix/sysv/linux/sh/Implies: New file.
13710 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13711 * sysdeps/unix/sysv/linux/tile/Implies: New file.
13712 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13713 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13714 * nptl/Makeconfig: Moved ...
13715 * sysdeps/nptl/Makeconfig: ... here.
13716 * nptl/configure: File removed.
13717 * nptl/ANNOUNCE: File removed.
13718 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13719 * sysdeps/unix/sysv/linux/configure: Regenerated.
13721 * nptl/Makefile (routines): Add libc_pthread_init,
13722 libc_multiple_threads, register-atfork and unregister-atfork.
13723 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13724 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13725 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13726 pthread-pi-defines.sym, structsem.sym.
13727 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13728 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13729 [$(subdir) = nptl] (tests): Add tst-setgetname.
13730 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13731 * sysdeps/unix/sysv/linux/sigaction.c: Just include
13732 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13733 [!LIBC_SIGACTION]: Remove aliases.
13734 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13735 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13736 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13737 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13738 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13739 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13740 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13741 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13742 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13743 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13744 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13745 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13746 __libc_allocate_rtsig_private.
13747 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13748 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13749 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13750 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13751 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13752 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13753 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13754 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13755 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13756 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13757 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13758 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13759 * nptl/internaltypes.h: ... here.
13760 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13761 * sysdeps/nptl/jmp-unwind.c: ... here.
13762 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13763 * nptl/libc-lowlevellock.c: ... here.
13764 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13765 * nptl/libc_multiple_threads.c: ... here.
13766 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13767 * nptl/libc_pthread_init.c: ... here.
13768 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13769 * nptl/lowlevelbarrier.sym: ... here.
13770 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13771 * nptl/lowlevelcond.sym: ... here.
13772 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13773 * nptl/lowlevellock.c: ... here.
13774 * nptl/lowlevellock.h: Moved ...
13775 * sysdeps/nptl/lowlevellock.h: ... here.
13776 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13777 * nptl/lowlevelrobustlock.c: ... here.
13778 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13779 * nptl/lowlevelrobustlock.sym: ... here.
13780 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13781 * nptl/lowlevelrwlock.sym: ... here.
13782 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13783 * nptl/pt-fork.c: ... here.
13784 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13785 * nptl/pthread-pi-defines.sym: ... here.
13786 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13787 * nptl/pthread_attr_getaffinity.c: ... here.
13788 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13789 * nptl/pthread_attr_setaffinity.c: ... here.
13790 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13791 * nptl/pthread_mutex_cond_lock.c: ... here.
13792 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13794 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13795 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13796 * nptl/pthread_once.c: ... here, replacing old file.
13797 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13798 * nptl/pthread_yield.c: ... here.
13799 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13800 * nptl/register-atfork.c: ... here.
13801 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13802 * nptl/sem_post.c: ... here.
13803 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13804 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13805 * nptl/sem_timedwait.c: ... here.
13806 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13807 * nptl/sem_trywait.c: ... here.
13808 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13809 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13810 * nptl/sem_wait.c: ... here.
13811 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13812 * nptl/structsem.sym: ... here.
13813 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13814 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13815 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13816 * nptl/unregister-atfork.c: ... here.
13817 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13818 * nptl/unwindbuf.sym: ... here.
13819 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13820 * sysdeps/nptl/fork.c: ... here.
13821 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13822 * sysdeps/nptl/fork.h: ... here.
13823 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13824 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13825 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13826 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13827 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13828 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13829 * sysdeps/unix/sysv/linux/getpid.c: ... here.
13830 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13831 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13832 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13833 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13834 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13835 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13836 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13837 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13838 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13839 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13840 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13841 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13842 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13843 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13844 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13845 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13846 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13847 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13848 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13849 * sysdeps/unix/sysv/linux/raise.c: ... here.
13850 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13851 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13852 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13853 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13854 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13855 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13856 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13857 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13858 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13859 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13860 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13861 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13862 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13863 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13864 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13866 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13868 * sysdeps/generic/memcopy.h: Add comment for
13869 MEMCPY_OK_FOR_FWD_MEMMOVE.
13871 2014-07-04 Will Newton <will.newton@linaro.org>
13873 * string/memchr.c: Merge from gnulib.
13874 [_LIBC]: Remove conditionals.
13875 (__ptr_t): Remove define.
13876 (LONG_MAX_32_BITS): Likewise.
13877 (LONG_MAX): Likewise.
13878 (MEMCHR): Use ANSI prototype and optimize algorithm.
13880 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13882 2014-07-03 Roland McGrath <roland@hack.frob.com>
13884 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13885 (lll_futex_timed_wait_bitset): Fix syscall argument count.
13887 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13888 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13889 in a bare environment with no <stdlib.h> installed.
13890 * sysdeps/nptl/configure: Regenerated.
13892 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13894 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13895 AC_EGREP_CPP for kernel header checks, so they only succeed if
13896 including <linux/version.h> actually works right.
13897 * sysdeps/unix/sysv/linux/configure: Regenerated.
13899 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13900 value so it's not diagnosed as unused.
13902 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13903 thing) with "ifeq ($(subdir),rt)".
13905 2014-07-03 Richard Henderson <rth@redhat.com>
13907 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13908 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13909 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13911 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13912 (math_force_eval): New.
13914 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13915 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13917 * sysdeps/alpha/fpu/s_round.c: Remove file.
13918 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13920 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13921 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13922 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13923 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13924 (_dl_start, print_statistics): Likewise.
13925 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13926 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13928 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13929 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13930 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13931 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13932 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13933 (HP_SMALL_TIMING_AVAIL): Define.
13934 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13935 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13936 (HP_SMALL_TIMING_AVAIL): Define.
13937 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13938 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13940 * sysdeps/aarch64/hp-timing.h: New file.
13942 * sysdeps/generic/hp-timing.h: Remove dead comment.
13943 * sysdeps/generic/hp-timing-common.h: New file.
13944 * sysdeps/alpha/hp-timing.h: Include it.
13945 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13946 * sysdeps/i386/i686/hp-timing.h: Likewise.
13947 * sysdeps/ia64/hp-timing.h: Likewise.
13948 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13949 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13950 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13951 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13952 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13953 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13954 (hp_timing_t): New.
13956 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13957 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13958 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13959 * elf/rtld.c (_dl_start_final): Likewise.
13960 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13961 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13962 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13963 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13964 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13965 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13966 (HP_TIMING_DIFF_INIT): Remove.
13967 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13968 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13969 (HP_TIMING_DIFF_INIT): Remove.
13970 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13971 * sysdeps/i386/i686/hp-timing.c: Remove file.
13972 * sysdeps/x86_64/hp-timing.c: Remove file.
13973 * sysdeps/ia64/hp-timing.c: Remove file.
13974 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13975 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13976 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13977 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13979 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13980 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13981 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13982 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13983 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13984 (HP_TIMING_ACCUM): Remove.
13985 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13986 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13987 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13989 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13990 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13991 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13992 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13993 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13994 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13995 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13996 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13998 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
14000 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
14002 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
14004 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14006 Sync up with gettext.
14007 * intl/loadmsgcat.c: Define O_BINARY if not defined.
14008 [_MSC_VER]: Include malloc.h
14009 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
14010 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
14011 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
14012 TEMP_FAILURE_RETRY. Cast return of alloca.
14013 [!_LIBC] Call gl_rwlock_init.
14014 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
14016 2014-07-02 Roland McGrath <roland@hack.frob.com>
14018 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
14019 before checking its value.
14021 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14023 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
14025 * debug/memcpy_chk.c: Don't include pagecopy.h.
14026 * debug/mempcpy_chk.c: Likewise.
14027 * string/memcpy.c: Likewise.
14028 * string/memmove.c: Likewise.
14029 * sysdeps/powerpc/memmove.c: Likewise.
14030 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
14031 definition of PAGE_COPY_FWD_MAYBE here...
14032 * sysdeps/generic/pagecopy.h: ... from here.
14033 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
14035 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14036 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14038 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
14039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
14041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14042 (__libc_ifunc_impl_list): Likewise.
14043 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
14044 multiarch strcat for PPC64.
14045 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
14046 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14048 2014-07-02 Roland McGrath <roland@hack.frob.com>
14050 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
14052 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14054 * intl/loadmsgcat.c: Remove declaration of
14055 get_sysdep_segment_value.
14056 (get_sysdep_segment_value): Use ISO C style.
14057 (_nl_load_domain): Use ISO C style. Get rid of redundant
14058 semicolon. Fix typo and formatting in comment.
14059 (_nl_unload_domain): Use ISO C style.
14061 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
14063 2014-07-02 Will Newton <will.newton@linaro.org>
14065 * malloc/obstack.c: Merge from gnulib master.
14066 [HAVE_CONFIG_H]: Remove conditional code.
14067 [!_LIBC]: Include config.h.
14068 [!ELIDE_CODE]: Don't include inttypes.h, include
14069 stdint.h unconditionally.
14070 (print_and_abort): Mark as _Noreturn.
14071 (_obstack_allocated_p): Mark as __attribute_pure__.
14072 (obstack_free): Rename to __obstack_free.
14073 [!__attribute__]: Remove conditional code.
14074 * malloc/obstack.h: Merge from gnulib master.
14075 [__cplusplus]: Move conditional down.
14076 [!__attribute_pure__]: Define __attribute_pure__ here
14077 if it is not already defined.
14078 (_obstack_memory_used): Mark as __attribute_pure__.
14079 [!__obstack_free]: Define as obstack_free.
14080 [__GNUC__]: Remove check for ancient NeXT gcc.
14082 2014-07-02 Will Newton <will.newton@linaro.org>
14083 Paul Eggert <eggert@cs.ucla.edu>
14085 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
14087 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14089 * resolv/gethnamaddr.c: Add comment warning that the file is
14092 2014-07-01 Carlos O'Donell <carlos@redhat.com>
14094 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
14097 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
14098 entry for aio_cancel and aio_cancel64.
14099 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
14100 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
14101 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
14102 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
14103 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
14104 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
14105 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
14106 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
14107 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
14108 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
14109 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
14110 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
14111 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
14113 2014-07-01 Roland McGrath <roland@hack.frob.com>
14115 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
14116 * nptl/pthread_mutex_lock.c: Likewise.
14117 * nptl/pthread_mutex_timedlock.c: Likewise.
14118 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
14120 2014-07-01 Richard henderson <rth@redhat.com>
14122 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
14123 (__isnan, __isnanl): Remove.
14124 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
14126 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14128 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
14130 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14132 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14134 * resolv/nss_dns/dns-host.c (getanswer_r)
14135 [MULTI_PTRS_ARE_ALIASES]: Remove code.
14137 2014-07-01 Joseph Myers <joseph@codesourcery.com>
14139 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14140 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
14142 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
14143 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
14145 2014-07-01 Roland McGrath <roland@hack.frob.com>
14147 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
14148 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14150 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
14151 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
14153 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
14154 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
14156 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
14157 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
14159 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
14160 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
14161 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
14162 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
14164 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
14165 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
14166 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
14167 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
14168 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
14170 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
14172 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
14173 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
14174 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
14175 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
14176 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
14177 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
14178 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
14179 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
14180 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
14181 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
14182 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
14183 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
14184 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
14185 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
14186 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
14187 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
14188 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
14189 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
14190 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
14191 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
14193 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
14194 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
14195 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
14196 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
14197 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
14198 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
14199 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
14200 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
14202 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
14204 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
14205 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
14206 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
14209 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14213 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14215 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14216 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14218 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14220 * sysdeps/arm/libm-test-ulps: Regenerated.
14222 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14223 Roland McGrath <roland@hack.frob.com>
14225 * test-skeleton.c (signal_handler): Kill the whole process group
14226 before killing the child individually.
14227 (main): Report any failure on `setpgid'.
14229 2014-06-30 Roland McGrath <roland@hack.frob.com>
14231 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
14232 from _TLS_H to _ARM_NPTL_TLS_H.
14233 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
14234 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
14236 2014-06-30 Joseph Myers <joseph@codesourcery.com>
14239 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
14240 (__expm1l): Return argument unchanged when small but not
14243 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
14244 include macro name.
14245 (_FP_UNPACK_RAW_1_P): Likewise.
14246 (_FP_PACK_RAW_1): Likewise.
14247 (_FP_PACK_RAW_1_P): Likewise.
14248 (_FP_MUL_MEAT_1_wide): Likewise.
14249 (_FP_MUL_MEAT_DW_1_hard): Likewise.
14250 (_FP_MUL_MEAT_1_hard): Likewise.
14251 (_FP_DIV_MEAT_1_imm): Likewise.
14252 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
14253 (_FP_DIV_MEAT_1_udiv): Likewise.
14254 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
14255 (_FP_UNPACK_RAW_2): Likewise.
14256 (_FP_UNPACK_RAW_2_P): Likewise.
14257 (_FP_PACK_RAW_2): Likewise.
14258 (_FP_PACK_RAW_2_P): Likewise.
14259 (_FP_MUL_MEAT_DW_2_wide): Likewise.
14260 (_FP_MUL_MEAT_2_wide): Likewise.
14261 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
14262 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14263 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
14264 (_FP_MUL_MEAT_2_gmp): Likewise.
14265 (_FP_DIV_MEAT_2_udiv): Likewise.
14266 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
14267 (_FP_FRAC_SRL_4): Likewise.
14268 (_FP_FRAC_SRST_4): Likewise.
14269 (_FP_FRAC_SRS_4): Likewise.
14270 (_FP_UNPACK_RAW_4): Likewise.
14271 (_FP_UNPACK_RAW_4_P): Likewise.
14272 (_FP_PACK_RAW_4): Likewise.
14273 (_FP_PACK_RAW_4_P): Likewise.
14274 (_FP_MUL_MEAT_DW_4_wide): Likewise.
14275 (_FP_MUL_MEAT_4_wide): Likewise.
14276 (_FP_MUL_MEAT_4_gmp): Likewise.
14277 (umul_ppppmnnn): Likewise.
14278 (_FP_DIV_MEAT_4_udiv): Likewise.
14279 (__FP_FRAC_ADD_4): Likewise.
14280 (__FP_FRAC_SUB_3): Likewise.
14281 (__FP_FRAC_SUB_4): Likewise.
14282 (__FP_FRAC_DEC_3): Likewise.
14283 (__FP_FRAC_DEC_4): Likewise.
14284 (__FP_FRAC_ADDI_4): Likewise.
14285 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
14286 (_FP_FRAC_SRL_8): Likewise.
14287 (_FP_FRAC_SRS_8): Likewise.
14289 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
14290 include macro name.
14291 (FP_UNPACK_RAW_EP): Likewise.
14292 (FP_PACK_RAW_E): Likewise.
14293 (FP_PACK_RAW_EP): Likewise.
14294 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
14295 (_FP_ISSIGNAN): Likewise.
14296 (_FP_ADD_INTERNAL): Likewise.
14297 (_FP_FMA): Likewise.
14298 (_FP_CMP): Likewise.
14299 (_FP_SQRT): Likewise.
14300 (_FP_TO_INT): Likewise.
14301 (_FP_FROM_INT): Likewise.
14302 (FP_EXTEND): Likewise.
14303 (_FP_DIV_MEAT_N_loop): Likewise.
14305 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
14307 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
14310 2014-06-29 Joseph Myers <joseph@codesourcery.com>
14313 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
14314 result with correct sign in case of exponents that produce
14315 overflow except for X very close to 1.
14317 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
14319 mktime: merge #if/#ifdef usage from glibc
14320 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
14321 as that works with both Glibc's and Gnulib's style.
14322 See thread starting at Siddhesh Poyarekar's bug report at:
14323 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
14325 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14327 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
14328 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
14329 * sysdeps/tile/tilegx/memmove.c: Remove file.
14331 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14333 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
14334 abi-name definition.
14335 * scripts/soversions.awk: Do not handle or generate ABI lines.
14336 * shlib-versions: Remove ABI entries.
14337 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
14338 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
14340 2014-06-27 Roland McGrath <roland@hack.frob.com>
14342 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
14343 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
14344 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
14345 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
14346 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
14347 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
14348 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
14350 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14352 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
14353 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
14354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
14355 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
14356 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
14357 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
14358 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
14359 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
14360 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
14361 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
14362 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
14363 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
14364 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
14366 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
14367 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
14368 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
14369 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
14370 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
14371 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
14373 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
14374 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
14376 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
14377 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
14378 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
14379 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
14381 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
14382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
14383 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
14384 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
14385 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
14386 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
14387 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
14388 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
14390 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
14391 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
14392 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
14393 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
14395 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
14396 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
14398 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
14399 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
14400 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
14401 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
14403 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14405 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
14406 Identical file removed.
14407 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
14409 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
14410 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
14411 Identical file removed.
14412 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
14413 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
14414 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
14416 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
14417 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
14418 Identical file removed.
14419 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
14420 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
14421 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
14422 Identical file removed.
14423 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
14424 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
14425 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
14426 Identical file removed.
14427 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
14428 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
14429 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
14430 Identical file removed.
14431 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
14433 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
14434 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
14435 Identical file removed.
14436 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
14438 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
14439 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
14440 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
14441 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
14442 Identical file removed.
14443 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
14445 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
14447 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
14448 Identical file removed.
14449 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
14451 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
14452 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
14453 Identical file removed.
14454 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
14456 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
14457 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
14458 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
14459 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
14460 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
14461 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
14463 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
14464 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
14465 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
14467 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
14468 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
14469 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
14470 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
14471 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
14473 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
14476 * nscd/nscd.c (monitor_child): Return exit status of child
14477 instead of return value from wait syscall.
14479 2014-06-27 Joseph Myers <joseph@codesourcery.com>
14481 * configure.ac (libc_commonpagesize): Remove variable.
14482 (libc_relro_required): Likewise.
14483 (libc_cv_z_relro): Remove configure test.
14484 * configure: Regenerated.
14485 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
14487 (libc_relro_required): Likewise.
14488 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
14489 (libc_relro_required): Likewise.
14490 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
14491 (libc_relro_required): Likewise.
14492 * sysdeps/arm/preconfigure: Regenerated.
14493 * sysdeps/ia64/preconfigure: Remove file.
14494 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
14496 (libc_relro_required): Likewise.
14500 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
14501 (__ieee754_yn): Set FE_TONEAREST mode internally and then
14502 recompute overflowing results in original rounding mode.
14503 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
14504 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
14505 recompute overflowing results in original rounding mode.
14506 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
14507 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14508 recompute overflowing results in original rounding mode.
14509 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
14510 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14511 recompute overflowing results in original rounding mode.
14512 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
14513 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
14514 recompute overflowing results in original rounding mode.
14515 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
14516 (libc_feholdsetround_ctx): New macro.
14517 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
14518 * sysdeps/i386/fpu/libm-test-ulps: Update.
14519 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
14521 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14523 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
14524 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
14525 corresponding .cpsetup call.
14527 2014-06-26 Roland McGrath <roland@hack.frob.com>
14529 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
14530 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
14531 * sysdeps/arm/Makefile [$(subdir) = csu]
14532 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
14533 (static-only-routines): Add aeabi_read_tp here.
14534 (shared-only-routines): Add libc-aeabi_read_tp here.
14535 (CFLAGS-libc-start.c): Add -fexceptions here.
14536 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
14537 (sysdep_routines, static-only-routines, shared-only-routines):
14538 Don't add to these here.
14539 (CFLAGS-libc-start.c): Likewise.
14541 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
14542 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14543 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
14544 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14545 * sysdeps/arm/Makefile [$(subdir) = rt]
14546 (librt-sysdep_routines, librt-shared-only-routines):
14547 Append rt-aeabi_unwind_cpp_pr1 here.
14548 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14549 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14550 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14551 (libpthread-sysdep_routines, libpthread-shared-only-routines):
14552 Append nptl-aeabi_unwind_cpp_pr1 here.
14553 (tests): Filter out tst-cleanupx4 here.
14554 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14555 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14556 Don't do those here.
14558 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14560 * scripts/list-sources.sh: Do not handle ports specially.
14562 2014-06-26 Roland McGrath <roland@hack.frob.com>
14564 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14565 * sysdeps/arm/feupdateenv.c: Likewise.
14567 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14569 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14571 * manual/texinfo.tex: Update to version 2014-05-05.10 with
14572 trailing whitespace removed.
14573 * scripts/config.guess: Update to version 2014-03-23.
14574 * scripts/config.sub: Update to version 2014-05-01
14575 * scripts/install-sh: Update to version 2013-12-25.23.
14576 * scripts/move-if-change: Update from gnulib.
14578 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14580 * debug/memmove_chk.c: Remove pagecopy.h include.
14582 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
14584 * time/mktime.c (leapyear): Remove inline keyword. The code is now
14585 identical to gnulib mktime.
14587 2014-06-26 Joseph Myers <joseph@codesourcery.com>
14589 * configure.ac: Do not test for machine being rs6000. Do not test
14590 for powerpc*-*soft.
14591 * configure: Regenerated.
14594 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14596 * configure: Regenerated.
14597 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14598 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14599 Remove configure test.
14600 * sysdeps/arm/configure: Regenerated.
14601 * sysdeps/nptl/configure.ac: Do not check
14602 libc_cv_asm_cfi_directives.
14603 * sysdeps/nptl/configure: Regenerated.
14604 * sysdeps/x86_64/nptl/configure.ac: Remove file.
14605 * sysdeps/x86_64/nptl/configure: Remove generated file.
14606 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14608 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14610 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14612 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14613 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14614 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14617 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14618 instead of whether it is defined.
14619 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14620 * sysdeps/hppa/dl-machine.h: Likewise.
14621 * sysdeps/ia64/dl-machine.h: Likewise.
14622 * sysdeps/m68k/dl-machine.h: Likewise.
14623 * sysdeps/microblaze/dl-machine.h: Likewise.
14624 * sysdeps/mips/dl-machine.: Likewise.
14625 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14626 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14627 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14628 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14629 * sysdeps/sh/dl-machine.h: Likewise.
14630 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14631 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14632 * sysdeps/tile/dl-machine.h: Likewise.
14633 * sysdeps/x86_64/dl-machine.h: Likewise.
14635 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14637 (verify_persistent_db): Likewise.
14639 2014-06-26 Roland McGrath <roland@hack.frob.com>
14641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14642 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14644 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14647 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14650 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14652 Identical file removed.
14653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14654 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14656 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14658 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14660 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14662 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14665 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14667 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14669 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14672 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14674 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14676 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14678 Identical file removed.
14679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14680 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14682 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14685 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14688 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14690 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14692 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14694 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14696 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14699 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14702 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14704 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14707 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14709 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14711 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14713 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14714 * sysdeps/unix/sysv/linux/s390/Versions
14715 (libpthread: GLIBC_2.19): New version set.
14716 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14717 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14718 (librt: GLIBC_2.3.3): New version set.
14719 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14720 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14721 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14722 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14723 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14724 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14725 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14726 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14727 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14728 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14729 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14730 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14731 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14732 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14733 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14734 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14735 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14736 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14737 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14738 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14739 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14740 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14741 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14742 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14743 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14744 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14745 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14746 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14747 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14748 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14749 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14750 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14752 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14753 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14755 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14757 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14759 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14760 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14761 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14762 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14763 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14765 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14766 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14767 (__libc_vfork): Define the function under this name.
14768 [!NOT_IN_libc] (__vfork): Make this an alias.
14769 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14770 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14771 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14772 (__libc_vfork): Define the function under this name.
14773 [!NOT_IN_libc] (__vfork): Make this an alias.
14774 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14775 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14776 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14777 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14778 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14779 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14781 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14782 code that was previously under [RESET_PID].
14783 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14784 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14785 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14787 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14788 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14789 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14790 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14791 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14792 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14793 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14794 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14795 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14796 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14797 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14799 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14800 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14801 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14802 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14803 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14804 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14805 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14806 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14807 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14808 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14809 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14810 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14811 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14812 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14813 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14814 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14815 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14816 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14817 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14818 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14819 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14820 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14821 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14822 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14823 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14824 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14825 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14826 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14827 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14829 2014-06-25 Roland McGrath <roland@hack.frob.com>
14831 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14832 that was previously under [RESET_PID].
14833 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14835 2014-06-25 Joseph Myers <joseph@codesourcery.com>
14837 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14838 not undefine and redefine.
14839 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14840 [O_CLOEXEC]: Make code unconditional.
14841 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14842 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14843 <kernel-features.h>.
14844 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14845 conditional variable definition.
14846 (shm_open) [O_CLOEXEC]: Make code unconditional.
14847 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14850 * configure.ac (USE_REGPARMS): Don't define here.
14851 * configure: Regenerated.
14852 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14853 * sysdeps/i386/configure: Regenerated.
14855 * nptl/createthread.c: Don't include kernel-features.h.
14856 * nptl/pthread_cancel.c: Likewise.
14857 * nptl/pthread_condattr_setclock.c: Likewise.
14858 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14859 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14860 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14861 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14862 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14863 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14864 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14865 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14866 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14867 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14868 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14869 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14870 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14871 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14872 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14873 * nscd/gai.c: Likewise.
14874 * nss/nss_db/db-open.c: Likewise.
14875 * sysdeps/generic/ldsodefs.h: Likewise.
14876 * sysdeps/sh/nptl/tls.h: Likewise.
14877 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14878 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14879 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14880 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14881 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14882 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14883 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14884 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14885 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14886 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14887 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14888 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14889 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14890 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14891 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14892 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14893 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14894 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14895 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14896 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14897 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14898 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14899 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14900 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14901 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14902 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14903 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14904 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14905 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14906 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14907 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14908 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14909 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14910 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14911 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14912 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14913 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14914 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14915 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14916 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14917 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14918 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14919 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14920 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14921 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14922 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14923 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14924 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14925 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14926 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14927 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14928 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14929 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14930 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14931 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14932 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14933 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14934 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14957 * sysdeps/unix/sysv/linux/pread.c: Likewise.
14958 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14959 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14960 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14961 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14962 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14963 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14964 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14965 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14966 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14967 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14968 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14969 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14970 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14971 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14972 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14973 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14974 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14975 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14976 * sysdeps/unix/sysv/linux/system.c: Likewise.
14977 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14978 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14979 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14980 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14981 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14982 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14983 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14985 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14986 * configure: Regenerated.
14987 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14989 * configure.ac (base_machine): Do not set specially for particular
14991 * configure: Regenerated.
14992 * sysdeps/powerpc/preconfigure: Move machine and base_machine
14993 settings from configure.ac.
14994 * sysdeps/i386/preconfigure: New file.
14995 * sysdeps/s390/preconfigure: Likewise.
14996 * sysdeps/sh/preconfigure: Likewise.
14997 * sysdeps/sparc/preconfigure: Likewise.
14999 2014-06-25 Roland McGrath <roland@hack.frob.com>
15001 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
15002 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
15003 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
15004 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
15005 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
15006 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
15007 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
15008 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
15009 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
15010 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
15011 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
15012 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
15013 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
15014 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
15015 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
15016 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
15017 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
15018 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
15019 * sysdeps/sparc/sparc64/Makefile: ... appended here.
15021 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
15022 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
15023 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
15024 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
15025 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
15026 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
15027 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
15028 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
15029 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
15030 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
15031 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
15032 * sysdeps/sparc/sparc32/sem_post.c: ... here.
15033 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
15034 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
15035 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
15036 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
15037 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
15038 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
15039 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
15040 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
15041 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
15042 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
15043 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
15044 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
15045 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
15046 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
15047 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
15048 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
15049 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
15050 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
15051 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
15052 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
15053 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
15054 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
15055 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
15056 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
15057 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
15058 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
15060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
15061 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
15062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
15063 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
15064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15066 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
15069 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
15070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
15071 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
15072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
15074 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
15075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
15076 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
15077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
15078 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
15079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
15080 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
15081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15083 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
15084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15086 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
15087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
15088 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
15089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15091 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
15092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
15093 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
15094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
15095 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
15096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
15097 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
15098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
15099 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
15100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15102 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
15105 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
15106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
15107 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
15108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
15110 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
15111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
15112 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
15113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
15114 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
15115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
15116 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
15117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15119 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
15120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15122 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
15123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
15124 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
15125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15127 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
15128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
15129 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
15130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
15131 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
15133 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15135 * timezone/checktab.awk: Update from tzcode 2014e.
15136 * timezone/private.h: Likewise.
15137 * timezone/tzfile.h: Likewise.
15138 * timezone/zdump.c: Likewise.
15139 * timezone/zic.c: Likewise.
15141 * sysdeps/unix/sysv/linux/kernel-features.h
15142 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
15143 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
15144 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
15145 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15146 Remove conditional code.
15148 2014-06-25 Will Newton <will.newton@linaro.org>
15150 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
15151 (_dl_arm_cap_flags): Add HWCAP2 values.
15152 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
15153 (_DL_HWCAP_COUNT): Increase to 37.
15154 (_DL_HWCAP_LAST): New define.
15155 (_DL_HWCAP2_LAST): New define.
15156 (_dl_procinfo): Add support for printing
15158 (_dl_string_hwcap): Use _dl_hwcap_string.
15160 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15164 2014-06-25 Joseph Myers <joseph@codesourcery.com>
15166 * README: Do not mention ports directory.
15168 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
15170 * sysdeps/unix/sysv/linux/futimes.c: Do not include
15171 <kernel-features.h>.
15172 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
15173 conditional variable definition.
15174 (__futimes): Update comment.
15175 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
15176 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
15179 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
15180 arguments close to 0.
15181 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
15183 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
15185 * math/auto-libm-test-in: Add more tests of exp10.
15186 * math/auto-libm-test-out: Regenerated.
15187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15189 * sysdeps/unix/sysv/linux/kernel-features.h
15190 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
15191 * sysdeps/unix/sysv/linux/readv.c: Do not include
15192 <kernel-features.h>.
15193 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15194 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15195 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15197 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15199 * sysdeps/unix/sysv/linux/writev.c: Do not include
15200 <kernel-features.h>.
15201 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
15202 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
15203 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
15205 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
15208 2014-06-25 Will Newton <will.newton@linaro.org>
15210 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
15211 comment changes throughout the file. Remove checks
15212 for HAVE_*_H definitions that are not required.
15213 (__gen_tempname): Call abort if an unknown kind value is
15216 2014-06-25 Andreas Schwab <schwab@suse.de>
15219 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
15220 scalbln, scalblnf, scalblnl in libc.
15222 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15225 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
15226 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15227 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15229 2014-06-24 Roland McGrath <roland@hack.frob.com>
15231 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
15232 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
15233 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
15234 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
15236 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
15237 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
15239 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
15240 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
15241 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
15242 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
15243 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
15244 * sysdeps/x86/bits/pthreadtypes.h: ... here.
15245 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
15246 * sysdeps/x86/bits/semaphore.h: ... here.
15247 * sysdeps/x86/nptl/elide.h: Moved ...
15248 * sysdeps/x86/elide.h: ... here.
15249 * sysdeps/x86_64/nptl/Implies: File removed.
15250 * sysdeps/i386/nptl/Implies: File removed.
15252 2014-06-24 Joseph Myers <joseph@codesourcery.com>
15255 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
15256 return the argument for normal arguments with exponent below -64.
15257 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15259 * math/auto-libm-test-in: Add another test of expm1.
15260 * math/auto-libm-test-out: Regenerated.
15263 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
15264 calling __erfcl for arguments at least 16.
15265 * math/auto-libm-test-in: Add more tests of erf.
15266 * math/auto-libm-test-out: Regenerated.
15268 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
15269 individual architectures.
15270 * sysdeps/unix/sysv/linux/configure: Regenerated.
15271 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
15272 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
15273 * sysdeps/unix/sysv/linux/powerpc/configure.ac
15274 (ldd_rewrite_script): Define variable.
15275 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
15278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
15280 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
15281 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
15282 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
15283 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
15284 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
15285 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
15286 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
15287 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
15289 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15292 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
15293 Rename member __data.d to __data.__elision_data.
15295 2014-06-24 Wilco <wdijkstr@arm.com>
15297 * NEWS: Add 16918 to fixed bug list.
15299 2014-06-24 Wilco <wdijkstr@arm.com>
15301 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
15303 2014-06-24 Wilco <wdijkstr@arm.com>
15305 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
15306 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
15307 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
15308 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
15309 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
15310 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
15311 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
15314 2014-06-24 Wilco <wdijkstr@arm.com>
15316 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
15318 2014-06-24 Wilco <wdijkstr@arm.com>
15320 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
15321 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
15322 * sysdeps/arm/fesetround.c (fesetround): Remove space.
15323 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
15325 2014-06-24 Wilco <wdijkstr@arm.com>
15328 * sysdeps/arm/feupdateenv.c (feupdateenv):
15329 Rewrite to reduce FPSCR accesses and fix return value.
15331 2014-06-24 Wilco <wdijkstr@arm.com>
15333 * sysdeps/arm/fclrexcpt.c (feclearexcept):
15334 Optimize to avoid unnecessary FPSCR writes.
15335 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
15336 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
15337 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
15338 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
15340 2014-06-24 Wilco <wdijkstr@arm.com>
15342 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
15343 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
15344 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
15345 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
15346 Call libc_fetestexcept_vfp.
15347 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
15348 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
15349 __SOFTFP__ ifdef so that they can be built for softfp.
15351 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15353 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
15354 argument type signed char.
15356 * Makerules (check-abi): Dump diff of symlist if the test
15359 2014-06-23 Roland McGrath <roland@hack.frob.com>
15361 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
15364 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15365 Remove unused variable ST.
15367 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15371 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
15372 small arguments before calling __expm1.
15373 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
15374 small arguments before calling __expm1f.
15375 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
15376 small arguments before calling __expm1l.
15377 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15379 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
15380 * math/auto-libm-test-in: Add more cosh tests. Do not allow
15381 spurious underflow for some cosh tests.
15382 * math/auto-libm-test-out: Regenerated.
15383 * sysdeps/i386/fpu/libm-test-ulps: Update.
15386 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
15387 (__ieee754_y1): Set errno if return value overflows.
15388 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
15389 (__ieee754_y1f): Set errno if return value overflows.
15390 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
15391 (__ieee754_y1l): Set errno if return value overflows.
15392 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
15393 (__ieee754_y1l): Set errno if return value overflows.
15394 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
15395 * math/auto-libm-test-out: Regenerated.
15397 * math/gen-auto-libm-tests.c: Document use of
15398 ignore-zero-inf-sign.
15399 (input_flag_type): Add value flag_ignore_zero_inf_sign.
15400 (input_flags): Add ignore-zero-inf-sign.
15401 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
15402 * math/gen-libm-test.pl (generate_testfile): Handle
15403 ignore-zero-inf-sign.
15404 * math/auto-libm-test-in: Mark some cpow tests with
15405 ignore-zero-inf-sign and some with xfail-rounding.
15406 * math/auto-libm-test-out: Regenerated.
15407 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
15408 * sysdeps/i386/fpu/libm-test-ulps: Update.
15409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15412 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
15413 overflowing or underflowing operations take place with sign of
15415 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15416 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
15417 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
15418 (__ieee754_pow): Recompute overflowing and underflowing results in
15419 original rounding mode.
15420 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
15421 (__powl_helper): Allow negative argument X and scale negated value
15422 as needed. Avoid passing value outside [-1, 1] to f2xm1.
15423 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
15424 overflowing or underflowing operations take place with sign of
15426 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
15428 * math/auto-libm-test-in: Add more tests of pow.
15429 * math/auto-libm-test-out: Regenerated.
15430 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
15431 (pow_tonearest_test_data): Remove.
15432 (pow_test_tonearest): Likewise.
15433 (pow_towardzero_test_data): Likewise.
15434 (pow_test_towardzero): Likewise.
15435 (pow_downward_test_data): Likewise.
15436 (pow_test_downward): Likewise.
15437 (pow_upward_test_data): Likewise.
15438 (pow_test_upward): Likewise.
15439 (main): Don't call removed functions.
15440 * sysdeps/i386/fpu/libm-test-ulps: Update.
15441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15443 2014-06-23 Roland McGrath <roland@hack.frob.com>
15445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
15447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
15448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
15451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
15454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
15457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
15463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
15465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
15467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
15469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
15471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
15475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
15479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
15481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
15483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
15484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
15486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
15490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
15491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
15493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
15494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
15496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
15497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
15500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
15502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
15503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
15505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
15506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
15508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
15509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
15510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
15514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
15515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
15517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
15521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
15530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
15533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
15534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
15535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15619 2014-06-23 Will Newton <will.newton@linaro.org>
15620 Wilco <wdijkstr@arm.com>
15622 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15623 implementation. Include get-rounding-mode.h.
15624 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15625 [!libc_feholdsetround_noex_ctx]: Define
15626 libc_feholdsetround_noex_ctx.
15627 [!libc_feholdsetround_noexf_ctx]: Define
15628 libc_feholdsetround_noexf_ctx.
15629 [!libc_feholdsetround_noexl_ctx]: Define
15630 libc_feholdsetround_noexl_ctx.
15631 (libc_feholdsetround_ctx): New function.
15632 (libc_feresetround_ctx): New function.
15633 (libc_feholdsetround_noex_ctx): New function.
15634 (libc_feresetround_noex_ctx): New function.
15636 2014-06-23 Roland McGrath <roland@hack.frob.com>
15638 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15639 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15640 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15641 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15642 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15643 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15645 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15646 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15647 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15648 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15649 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15650 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15651 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15652 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15653 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15654 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15655 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15657 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15660 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15661 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15662 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15663 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15665 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15666 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15667 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15668 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15669 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15670 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15671 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15672 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15674 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15675 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15677 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15678 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15679 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15680 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15682 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15683 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15684 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15685 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15686 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15687 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15688 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15689 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15690 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15691 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15693 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15695 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15696 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15698 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15700 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15701 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15702 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15703 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15704 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15705 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15706 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15707 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15709 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15710 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15711 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15712 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15713 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15714 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15716 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15717 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15718 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15719 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15720 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15722 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15723 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15724 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15725 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15726 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15727 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15728 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15729 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15730 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15731 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15732 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15733 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15734 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15735 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15736 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15737 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15738 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15739 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15740 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15741 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15742 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15743 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15744 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15745 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15746 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15747 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15748 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15749 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15751 2014-06-23 Joseph Myers <joseph@codesourcery.com>
15753 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15754 (FALLOC_FL_COLLAPSE_RANGE): New macro.
15755 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15756 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15757 (IPV6_PMTUDISC_INTERFACE): Likewise.
15758 (IPV6_PMTUDISC_OMIT): Likewise.
15760 2014-06-23 Andreas Schwab <schwab@suse.de>
15762 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15763 Remove unused errout label.
15765 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15767 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15768 macro: hardware supports Vector Crypto instructions.
15770 2014-06-23 Will Newton <will.newton@linaro.org>
15772 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15773 rather than __builtin_expect.
15775 * elf/dl-lookup.c (undefined_msg): Remove variable.
15776 (_dl_lookup_symbol_x): Replace undefined_msg with string
15779 * elf/dl-lookup.c (do_lookup_unique): New function.
15780 (do_lookup_x): Move STB_GNU_UNIQUE handling code
15781 to a separate function.
15783 2014-06-23 Andreas Schwab <schwab@suse.de>
15786 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15787 before reading the next line.
15789 2014-06-23 Will Newton <will.newton@linaro.org>
15791 * test-skeleton.c (signal_handler): Use printf and %m
15792 rather than perror. Use printf rather than fprintf to
15793 stderr. Use puts rather than fputs to stderr.
15796 2014-06-22 Ludovic Courtès <ludo@gnu.org>
15798 * nscd/nscd.c (thread_info_t): Remove typedef.
15799 (thread_info): Remove variable.
15801 2014-06-21 Allan McRae <allan@archlinux.org>
15803 * NEWS: Mention CVE-2014-4043.
15805 2014-06-20 Roland McGrath <roland@hack.frob.com>
15807 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15808 * nptl/smp.h: ... here.
15810 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15812 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15813 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15814 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15815 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15817 * nptl/allocatestack.c: Include <stack-aliasing.h>.
15818 * nptl/stack-aliasing.h: New file.
15819 * sysdeps/i386/i686/stack-aliasing.h: New file.
15820 * sysdeps/i386/i686/nptl/Makefile: File removed.
15821 * sysdeps/x86_64/stack-aliasing.h: New file.
15822 * sysdeps/x86_64/nptl/Makefile
15823 (CFLAGS-pthread_create.c): Variable removed.
15825 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15826 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15828 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15829 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15832 2014-06-21 Joseph Myers <joseph@codesourcery.com>
15834 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15835 (__ASSUME_SIGFRAME_V2): Remove macro.
15836 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15837 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15838 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15839 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15840 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15841 Declare as function. Remove conditional macro definitions.
15842 (__default_rt_sa_restorer): Likewise.
15843 (__default_sa_restorer_v1): Remove declaration.
15844 (__default_sa_restorer_v2): Likewise.
15845 (__default_rt_sa_restorer_v1): Likewise.
15846 (__default_rt_sa_restorer_v2): Likewise.
15847 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15848 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15849 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15851 2014-06-20 Roland McGrath <roland@hack.frob.com>
15853 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15854 (libpthread-routines): Add sysdep.
15855 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15856 * sysdeps/unix/sysv/linux/sparc/Versions
15857 (libpthread: GLIBC_2.3.3): New version set.
15858 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15859 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15860 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15861 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15862 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
15863 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15865 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15866 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15867 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15868 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15869 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15870 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15871 * sysdeps/sparc/nptl/sem_init.c: ... here.
15872 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15873 * sysdeps/sparc/nptl/sem_post.c: ... here.
15874 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15875 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15876 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15877 * sysdeps/sparc/nptl/sem_wait.c: ... here.
15878 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15879 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15880 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15881 (libpthread-routines): Add cpu_relax.
15882 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15884 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15885 (librt: GLIBC_2.3.3): New version set.
15886 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15887 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15888 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15889 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15891 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15892 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15895 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15897 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15899 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15901 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15902 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15903 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15906 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15910 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15914 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15918 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15922 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15926 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15929 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15931 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15934 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15935 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15937 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15940 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15942 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15944 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15946 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15948 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15949 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15950 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15951 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15952 * nscd/nscd.c: Likewise.
15953 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15954 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15955 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15956 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15958 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15959 <kernel-features.h>.
15960 (init_mq_netlink): Remove conditional have_sock_cloexec
15961 definitions. Remove code conditional on have_sock_cloexec < 0.
15962 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15963 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15964 * sysdeps/unix/sysv/linux/opensock.c: Do not include
15965 <kernel-features.h>.
15966 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15967 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15969 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
15971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15972 Add tests for memset_chk and memset.
15974 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15977 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
15980 * elf/tst-dl-iter-static.c: New file.
15981 * elf/Makefile (tests-static): Add tst-dl-iter-static.
15983 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15986 2014-06-20 Joseph Myers <joseph@codesourcery.com>
15988 * sysdeps/unix/sysv/linux/kernel-features.h
15989 (__ASSUME_F_GETOWN_EX): Remove macro.
15990 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15991 <kernel-features.h>.
15992 (miss_F_GETOWN_EX): Remove variable or macro.
15993 (do_fcntl): Do not check miss_F_GETOWN_EX.
15994 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15996 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15999 [!__ASSUME_AT_RANDOM]: Remove conditional code.
16000 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
16002 * sysdeps/unix/sysv/linux/kernel-features.h
16003 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
16004 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
16005 [ADJ_OFFSET_SS_READ]: Make code unconditional.
16006 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
16008 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
16011 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
16012 Fix calculation of the symbol's value.
16013 * sysdeps/arm/tst-armtlsdescloc.c: New file.
16014 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
16015 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
16016 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
16017 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
16018 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
16019 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
16020 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
16021 (modules-names): Add `tst-armtlsdescmod',
16022 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
16023 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
16024 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16025 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
16026 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
16027 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
16028 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
16029 ($(objpfx)tst-armtlsdescloc): New dependency.
16030 ($(objpfx)tst-armtlsdescextnow): Likewise.
16031 ($(objpfx)tst-armtlsdescextlazy): Likewise.
16032 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
16033 TLS scheme support.
16034 * sysdeps/arm/configure: Regenerate.
16036 2014-06-20 Joseph Myers <joseph@codesourcery.com>
16038 * include/fcntl.h (__atfct_seterrno): Remove prototype.
16039 (__atfct_seterrno_2): Likewise.
16040 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
16041 <kernel-features.h>.
16042 (__ASSUME_ATFCTS): Do not undefine and redefine.
16043 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
16044 (__have_atfcts): Remove conditional definition.
16045 (__fxstatat([__NR_fstatat64]: Make code unconditional.
16046 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
16047 unreachable if [__ASSUME_ATFCTS].
16048 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
16049 not undefine and redefine.
16050 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
16051 <kernel-features.h>.
16052 (faccessat) [__NR_faccessat]: Make code unconditional.
16053 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
16054 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
16055 <kernel-features.h>.
16056 (fchmodat) [__NR_fchmodat]: Make code unconditional.
16057 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16058 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
16059 <kernel-features.h>.
16060 (fchownat) [__NR_fchownat]: Make code unconditional.
16061 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
16062 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
16063 <kernel-features.h>.
16064 (futimesat) [__NR_futimesat]: Make code unconditional.
16065 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
16066 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
16067 <kernel-features.h>.
16068 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16069 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16070 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
16071 <kernel-features.h>.
16072 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
16073 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16074 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
16075 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
16076 <kernel-features.h>.
16077 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
16078 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16079 * sysdeps/unix/sysv/linux/linkat.c: Do not include
16080 <kernel-features.h>.
16081 (linkat) [__NR_linkat]: Make code unconditional.
16082 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16083 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
16084 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
16085 <kernel-features.h>.
16086 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
16087 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
16088 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
16089 <kernel-features.h>.
16090 (mkdirat) [__NR_mkdirat]: Make code unconditional.
16091 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
16092 * sysdeps/unix/sysv/linux/openat.c: Do not include
16093 <kernel-features.h>.
16094 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
16095 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
16096 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
16097 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
16098 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
16099 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
16100 <kernel-features.h>.
16101 (readlinkat) [__NR_readlinkat]: Make code unconditional.
16102 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
16103 result of INLINE_SYSCALL directly, not via int variable.
16104 * sysdeps/unix/sysv/linux/renameat.c: Do not include
16105 <kernel-features.h>.
16106 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
16107 (renameat) [__NR_renameat]: Make code unconditional.
16108 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
16109 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
16110 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
16111 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
16112 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
16113 (__ASSUME_ATFCTS): Do not undefine and redefine.
16114 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
16115 <kernel-features.h>.
16116 (symlinkat) [__NR_symlinkat]: Make code unconditional.
16117 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16118 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
16119 <kernel-features.h>.
16120 (unlinkat) [__NR_unlinkat]: Make code unconditional.
16121 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
16122 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
16123 (__ASSUME_ATFCTS): Do not undefine and redefine.
16124 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
16125 <kernel-features.h>.
16126 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
16127 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
16128 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
16129 <kernel-features.h>.
16130 (__xmknodat) [__NR_mknodat]: Make code unconditional.
16131 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
16133 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
16135 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
16137 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
16140 * posix/regcomp.c (parse_reg_exp): Deallocate partially
16141 constructed tree before returning error.
16142 * posix/bug-regexp36.c: Expand test case.
16144 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
16147 * math/libm-test.inc (scalbln_test_date):
16148 Add errno expectations.
16149 * math/w_scalblnf.c: New File.
16150 Add wrapper which checks for setting errno to ERANGE.
16151 Add weak_alias for corresponding scalbln function.
16152 * math/w_scalbln.c: Likewise.
16153 * math/w_scalblnl.c: Likewise.
16154 * math/Makefile (libm-calls): Add w_scalbln.
16155 * sysdeps/ieee754/flt-32/s_scalblnf.c:
16156 Remove weak_alias for corresponding scalbln function.
16157 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
16158 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
16159 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16160 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16161 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
16162 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16163 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
16164 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16165 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
16166 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
16167 Remove long_double_symbol for scalblnl function in libm, libc.
16168 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
16169 Add wrapper which checks for setting errno to ERANGE.
16170 Add long_double_symbol for scalblnl function in libm, libc.
16171 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
16172 Remove long_double_symbol for scalblnl in libm.
16173 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
16174 Add wrapper which checks for setting errno to ERANGE.
16175 Add long_double_symbol for scalblnl function in libm.
16176 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
16177 Do not use wrapper because of own implementation.
16179 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
16181 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
16182 3 bytes for __pad1 for x32.
16183 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
16185 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
16186 H.J. Lu <hongjiu.lu@intel.com>
16188 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
16189 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
16190 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16191 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16192 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16194 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
16197 * posix/regcomp.c (parse_expression): Deallocate partially
16198 constructed tree before returning error.
16199 * posix/Makefile.c (tests): Add bug-regex36.
16200 (generated): Add bug-regex36.mtrace.
16201 (tests-special): Add $(objpfx)bug-regex36-mem.out
16202 (bug-regex36-ENV): New variable.
16203 ($(objpfx)bug-regex36-mem.out): New rule.
16204 * posix/bug-regex36.c: New file.
16206 2014-06-19 Will Newton <will.newton@linaro.org>
16208 * malloc/malloc.c (systrim): If extra is zero then return
16211 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16213 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
16215 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
16217 * sysdeps/aarch64/strchr.S: New file.
16219 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16222 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
16223 from arguments -2 or below.
16224 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16225 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
16227 2014-06-18 Andreas Schwab <schwab@suse.de>
16230 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
16231 of a bracket expr not to run off the end of the string.
16232 * posix/Makefile (tests): Add tst-fnmatch3.
16233 * posix/tst-fnmatch3.c: New file.
16235 2014-06-18 Joseph Myers <joseph@codesourcery.com>
16237 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
16238 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16239 [$(cross-compiling) = no]: Likewise.
16240 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16241 [$(cross-compiling) = no]: Likewise.
16243 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16246 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
16247 double, adjusted for any remainder from the high double.
16248 * math/libm-test.inc (nearbyint): Add tests.
16251 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16253 * nptl/sysdeps/powerpc/Makefile: Moved ...
16254 * sysdeps/powerpc/nptl/Makefile: ... here.
16255 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
16256 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
16257 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
16258 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
16259 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
16260 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
16261 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
16262 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
16263 * nptl/sysdeps/powerpc/tls.h: Moved ...
16264 * sysdeps/powerpc/nptl/tls.h: ... here.
16266 2014-06-16 Joseph Myers <joseph@codesourcery.com>
16269 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
16270 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16271 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
16272 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
16273 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16274 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
16275 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
16276 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16277 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
16279 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
16281 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16283 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
16285 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
16288 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
16291 2014-06-16 Florian Weimer <fweimer@redhat.com>
16294 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
16295 non-executed part of the test.
16297 2014-06-16 Andreas Schwab <schwab@suse.de>
16299 * string/bits/string2.h (strdup, strndup): Update feature guard.
16301 2014-06-14 David S. Miller <davem@davemloft.net>
16303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16305 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
16307 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
16308 that was previously under [RESET_PID].
16309 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
16311 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
16312 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
16313 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
16314 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16315 (__libc_vfork): New strong alias.
16316 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
16318 2014-06-14 Andi Kleen <ak@linux.intel.com>
16320 * sysdeps/generic/elide.h: New file.
16322 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
16324 * Makefile (installed-headers): Adjust path of pthread.h header.
16326 2014-06-13 Roland McGrath <roland@hack.frob.com>
16328 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
16329 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
16330 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
16331 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
16333 * nptl/sysdeps/s390/Makefile: Moved ...
16334 * sysdeps/s390/nptl/Makefile: ... here.
16335 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
16336 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
16337 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
16338 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
16339 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
16340 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16341 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
16342 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
16343 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
16344 * sysdeps/s390/nptl/pthreaddef.h: ... here.
16345 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
16346 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
16347 * nptl/sysdeps/s390/tls.h: Moved ...
16348 * sysdeps/s390/nptl/tls.h: ... here.
16350 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
16351 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
16353 2014-06-13 David S. Miller <davem@davemloft.net>
16355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
16356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
16357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
16358 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
16359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
16360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
16361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
16362 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
16363 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
16364 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
16365 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
16366 Remove RESET_PID cpp guards.
16367 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
16368 Remove RESET_PID cpp guards.
16369 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
16371 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
16373 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
16376 2014-06-13 Andi Kleen <ak@linux.intel.com>
16378 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
16379 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
16380 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
16381 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
16382 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
16383 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
16384 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
16385 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16386 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
16387 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
16388 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
16389 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
16390 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16391 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
16392 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
16393 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
16394 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
16395 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
16396 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
16397 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
16399 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
16400 (pthread_rwlock_rdlock): Add elision.
16401 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
16402 (pthread_rwlock_wrlock): Add elision.
16403 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
16404 (pthread_rwlock_trywrlock): Add elision.
16405 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
16406 (pthread_rwlock_tryrdlock): Add elision.
16407 * nptl/pthread_rwlock_unlock.c: Include elide.h.
16408 (pthread_rwlock_tryrdlock): Add elision unlock.
16409 * nptl/sysdeps/pthread/pthread.h:
16410 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
16411 (PTHREAD_RWLOCK_INITIALIZER,
16412 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
16413 Handle new elision field.
16414 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
16415 * sysdeps/arm/nptl/bits/pthreadtypes.h
16416 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16417 * sysdeps/sh/nptl/bits/pthreadtypes.h
16418 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16419 * sysdeps/tile/nptl/bits/pthreadtypes.h
16420 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16421 * sysdeps/a/nptl/bits/pthreadtypes.h
16422 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16423 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16425 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16426 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16427 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
16428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16429 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16431 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16433 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16435 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16437 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
16438 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16439 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
16440 (elision_init): Set try_xbegin to zero when no RTM.
16441 * sysdeps/x86/nptl/bits/pthreadtypes.h
16442 (pthread_rwlock_t): Change __pad1 to __rwelision.
16443 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
16445 2014-06-13 Andi Kleen <ak@linux.intel.com>
16447 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
16448 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
16449 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
16450 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
16452 2014-06-13 Meador Inge <meadori@codesourcery.com>
16455 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
16456 that the cached result has been set before returning it.
16458 2014-06-12 Roland McGrath <roland@hack.frob.com>
16460 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
16461 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
16462 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
16463 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
16464 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
16465 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
16467 * nptl/sysdeps/sparc/Makefile: Moved ...
16468 * sysdeps/sparc/nptl/Makefile: ... here.
16469 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
16470 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
16471 * nptl/sysdeps/sparc/tls.h: Moved ...
16472 * sysdeps/sparc/nptl/tls.h: ... here.
16473 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
16474 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
16475 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
16476 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
16477 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
16478 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
16479 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16480 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
16481 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
16482 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
16483 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
16484 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
16485 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
16486 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
16487 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
16488 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
16489 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
16490 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
16492 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
16493 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
16495 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
16496 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
16498 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
16499 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
16502 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16504 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
16505 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
16507 * sysdeps/pthread/posix-timer.h: Include <list.h>.
16508 (struct list_links): Type removed.
16509 (struct thread_node, struct timer_node): Replace struct list_links
16510 with struct list_head.
16511 (list_unlink_ip): Likewise.
16512 * sysdeps/pthread/timer_routines.c
16513 (timer_free_list, thread_free_list, thread_active_list): Likewise.
16514 (list_append, list_insbefore): Likewise.
16515 (list_init): Function removed.
16516 (thread_init, init_module): Use INIT_LIST_HEAD instead.
16517 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
16518 * sysdeps/pthread/Makefile: ... here, new file.
16520 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
16521 * sysdeps/nptl/Implies: ... here.
16522 * sysdeps/unix/sysv/linux/Implies: Add nptl.
16523 * nptl/sysdeps/pthread/list.h: Moved ...
16524 * include/list.h: ... here.
16525 * nptl/sysdeps/pthread/createthread.c: Moved ...
16526 * nptl/createthread.c: ... here.
16527 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
16528 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
16529 * nptl/pt-longjmp.c: ... here.
16530 * nptl/sysdeps/pthread/Makefile: Moved ...
16531 * sysdeps/nptl/Makefile: ... here.
16532 * nptl/sysdeps/pthread/Subdirs: Moved ...
16533 * sysdeps/nptl/Subdirs: ... here.
16534 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
16535 * sysdeps/nptl/aio_misc.h: ... here.
16536 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
16537 * sysdeps/nptl/bits/libc-lock.h: ... here.
16538 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
16539 * sysdeps/nptl/bits/libc-lockP.h: ... here.
16540 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
16541 * sysdeps/nptl/bits/stdio-lock.h: ... here.
16542 * nptl/sysdeps/pthread/configure: Moved ...
16543 * sysdeps/nptl/configure: ... here.
16544 * nptl/sysdeps/pthread/configure.ac: Moved ...
16545 * sysdeps/nptl/configure.ac: ... here.
16546 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16547 * sysdeps/nptl/gai_misc.h: ... here.
16548 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16549 * sysdeps/nptl/librt-cancellation.c: ... here.
16550 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16551 * sysdeps/nptl/malloc-machine.h: ... here.
16552 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16553 * sysdeps/nptl/pthread-functions.h: ... here.
16554 * nptl/sysdeps/pthread/pthread.h: Moved ...
16555 * sysdeps/nptl/pthread.h: ... here.
16556 * nptl/sysdeps/pthread/setxid.h: Moved ...
16557 * sysdeps/nptl/setxid.h: ... here.
16558 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16559 * sysdeps/nptl/sigfillset.c: ... here.
16560 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16561 * sysdeps/nptl/tcb-offsets.h: ... here.
16562 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16563 * sysdeps/nptl/tst-mqueue8x.c: ... here.
16564 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16565 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16566 * nptl/sysdeps/pthread/allocalim.h: Moved ...
16567 * sysdeps/pthread/allocalim.h: ... here.
16568 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16569 * sysdeps/pthread/bits/sigthread.h: ... here.
16570 * nptl/sysdeps/pthread/flockfile.c: Moved ...
16571 * sysdeps/pthread/flockfile.c: ... here.
16572 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16573 * sysdeps/pthread/ftrylockfile.c: ... here.
16574 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16575 * sysdeps/pthread/funlockfile.c: ... here.
16576 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16577 * sysdeps/pthread/posix-timer.h: ... here.
16578 * nptl/sysdeps/pthread/timer_create.c: Moved ...
16579 * sysdeps/pthread/timer_create.c: ... here.
16580 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16581 * sysdeps/pthread/timer_delete.c: ... here.
16582 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16583 * sysdeps/pthread/timer_getoverr.c: ... here.
16584 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16585 * sysdeps/pthread/timer_gettime.c: ... here.
16586 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16587 * sysdeps/pthread/timer_routines.c: ... here.
16588 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16589 * sysdeps/pthread/timer_settime.c: ... here.
16590 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16591 * sysdeps/pthread/tst-timer.c: ... here.
16592 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16593 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16595 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16596 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16598 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16599 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16600 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16601 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16602 Update #include target.
16603 * nptl/sysdeps/i386/i686/Makefile: Moved ...
16604 * sysdeps/i386/i686/nptl/Makefile: ... here.
16605 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16606 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16607 Update #include target.
16608 * nptl/sysdeps/i386/i686/tls.h: Moved ...
16609 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
16610 * nptl/sysdeps/i386/Makefile: Moved ...
16611 * sysdeps/i386/nptl/Makefile: ... here.
16612 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16613 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16614 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16615 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16616 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16617 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16618 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16619 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16620 * sysdeps/i386/nptl/pthreaddef.h: ... here.
16621 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16622 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16623 * nptl/sysdeps/i386/tls.h: Moved ...
16624 * sysdeps/i386/nptl/tls.h: ... here.
16626 * sysdeps/sh/Makefile [$(subdir) = csu]
16627 (gen-as-const-headers): Add tcb-offsets.sym.
16628 * nptl/sysdeps/sh/Makefile: File removed.
16629 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16630 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16631 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16632 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16633 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16634 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16635 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16636 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16637 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16638 * sysdeps/sh/nptl/pthreaddef.h: ... here.
16639 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16640 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16641 * nptl/sysdeps/sh/tls.h: Moved ...
16642 * sysdeps/sh/nptl/tls.h: ... here.
16643 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16644 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16645 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16646 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16647 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16648 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16649 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16650 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16651 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16652 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16653 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16654 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16655 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16656 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16657 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16658 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16659 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16660 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16661 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16662 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16663 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16664 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16665 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16666 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16667 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16669 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16670 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16672 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16673 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16674 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16675 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16676 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16677 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16678 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16679 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16680 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16681 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16682 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16683 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16684 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16685 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16686 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16687 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16688 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16689 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16690 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16692 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
16694 * posix/spawn_faction_addopen.c: Include string.h.
16696 2014-06-11 Roland McGrath <roland@hack.frob.com>
16698 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16699 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16700 * nptl/sysdeps/x86_64/Makefile: Moved ...
16701 * sysdeps/x86_64/nptl/Makefile: ... here.
16702 * nptl/sysdeps/x86_64/configure: Moved ...
16703 * sysdeps/x86_64/nptl/configure: ... here.
16704 * nptl/sysdeps/x86_64/configure.ac: Moved ...
16705 * sysdeps/x86_64/nptl/configure.ac: ... here.
16706 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16707 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16708 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16709 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16710 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16711 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16712 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16713 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16714 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16715 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16716 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16717 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16718 * nptl/sysdeps/x86_64/tls.h: Moved ...
16719 * sysdeps/x86_64/nptl/tls.h: ... here.
16720 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16721 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16722 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16723 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16725 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16727 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16731 2014-06-11 Joseph Myers <joseph@codesourcery.com>
16733 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16735 [POSIX] (off_t): Likewise.
16736 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16737 [POSIX] (S_ISBLK): Require macro.
16738 [POSIX] (S_ISCHR): Likewise.
16739 [POSIX] (S_ISDIR): Likewise.
16740 [POSIX] (S_ISFIFO): Likewise.
16741 [POSIX] (S_ISREG): Likewise.
16742 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16744 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16746 [POSIX] (time_t): Likewise.
16747 [POSIX] (timer_t): Likewise.
16749 2014-06-11 Florian Weimer <fweimer@redhat.com>
16752 * posix/spawn_int.h (struct __spawn_action): Make the path string
16753 non-const to support deallocation.
16754 * posix/spawn_faction_addopen.c
16755 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16756 * posix/spawn_faction_destroy.c
16757 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
16758 path in all spawn_do_open actions.
16759 * posix/tst-spawn.c (do_test): Exercise the copy operation in
16760 posix_spawn_file_actions_addopen.
16762 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
16764 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16765 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16766 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16767 conditional code always true.
16768 (__libc_vfork): New alias.
16770 2014-06-11 Roland McGrath <roland@hack.frob.com>
16772 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16773 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16775 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16777 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16778 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16780 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16781 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16783 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16784 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16786 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16788 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16789 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16790 multiarch strcmp for PPC64.
16791 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16792 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16794 multiarch optimizations.
16795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16796 (__libc_ifunc_impl_list): Likewise.
16798 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16800 * benchtests/scripts/validate_benchout.py: New script.
16801 * benchtests/Makefile (bench-func): Call it.
16802 * benchtests/scripts/benchout.schema.json: New file.
16804 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
16806 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16807 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16808 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16809 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16810 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16811 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16812 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16813 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16814 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16815 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16816 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16817 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16818 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16819 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16820 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16821 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16925 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16926 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16927 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16928 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16929 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16931 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16933 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16934 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16936 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16938 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16939 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16940 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16942 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16943 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16944 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16945 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16947 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16948 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16950 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16951 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16952 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16953 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16955 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16956 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16957 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16958 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16959 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16960 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16961 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16963 2014-06-10 Wilco <wdijkstr@arm.com>
16965 * math/test-fenv-return.c: New file.
16966 * math/Makefile: Add new test test-fenv-return.
16968 2014-06-10 Joseph Myers <joseph@codesourcery.com>
16971 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16972 when x - 1 is zero.
16973 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16974 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16975 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16976 0.0L for an argument of 1.0L.
16977 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16979 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16980 value when x - 1 is zero.
16981 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16982 * sysdeps/i386/fpu/libm-test-ulps: Update.
16983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16985 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
16988 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16990 2014-06-09 Roland McGrath <roland@hack.frob.com>
16992 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16993 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16995 2014-06-09 Roland McGrath <roland@hack.frob.com>
16997 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16998 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
17000 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17001 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
17003 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17004 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
17006 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17007 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
17009 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
17010 if not already defined.
17011 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
17012 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
17013 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
17014 (TLS_INIT_TP): Use it.
17015 (TLS_DEFINE_INIT_TP): New macro.
17016 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
17018 2014-06-09 Joseph Myers <joseph@codesourcery.com>
17020 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
17022 [POSIX] (IXANY): Likewise.
17023 [POSIX] (OLCUC): Likewise.
17024 [POSIX || POSIX2008] (CBAUD): Do not allow.
17025 [POSIX || POSIX2008] (DEFECHO): Likewise.
17026 [POSIX || POSIX2008] (ECHOCTL): Likewise.
17027 [POSIX || POSIX2008] (ECHOKE): Likewise.
17028 [POSIX || POSIX2008] (ECHOPRT): Likewise.
17029 [POSIX || POSIX2008] (EXTA): Likewise.
17030 [POSIX || POSIX2008] (EXTB): Likewise.
17031 [POSIX || POSIX2008] (FLUSHO): Likewise.
17032 [POSIX || POSIX2008] (LOBLK): Likewise.
17033 [POSIX || POSIX2008] (PENDIN): Likewise.
17034 [POSIX || POSIX2008] (SWTCH): Likewise.
17035 [POSIX || POSIX2008] (VDISCARD): Likewise.
17036 [POSIX || POSIX2008] (VDSUSP): Likewise.
17037 [POSIX || POSIX2008] (VLNEXT): Likewise.
17038 [POSIX || POSIX2008] (VREPRINT): Likewise.
17039 [POSIX || POSIX2008] (VSTATUS): Likewise.
17040 [POSIX || POSIX2008] (VWERASE): Likewise.
17041 (B*): Change to B[0123456789]*.
17042 * conform/data/time.h-data [POSIX || UNIX98]
17043 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
17044 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17045 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
17046 [POSIX] (tm_*): Do not allow.
17048 2014-06-07 Joseph Myers <joseph@codesourcery.com>
17050 * Makefile (install): Don't set LANGUAGE.
17051 * Makefile.in (install): Likewise.
17052 * assert/Makefile (test-assert-ENV): Remove variable.
17053 (test-assert-perr-ENV): Likewise.
17054 * elf/Makefile (neededtest4-ENV): Likewise.
17055 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17056 [$(cross-compiling) = no]: Don't set LANGUAGE.
17057 * io/ftwtest-sh (LANG): Remove variable.
17058 * libio/Makefile (tst-widetext-ENV): Likewise.
17059 * manual/install.texi (Running make install): Don't refer to
17060 environment settings for make install.
17061 * INSTALL: Regenerated.
17062 * nptl/tst-tls6.sh: Don't set LANG.
17063 * posix/globtest.sh (LANG): Remove variable.
17064 * string/Makefile (tester-ENV): Likewise.
17065 (inl-tester-ENV): Likewise.
17066 (noinl-tester-ENV): Likewise.
17067 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17068 [$(cross-compiling) = no]: Don't set LANGUAGE.
17069 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
17070 without explicit environment settings.
17072 2014-06-06 Roland McGrath <roland@hack.frob.com>
17074 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
17075 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
17076 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
17077 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
17079 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
17081 * crypt/crypt-private.h [DOS]: Add some includes taken from the
17082 other files in the crypt directory.
17083 * crypt/crypt.c: Remove duplicate includes.
17084 * crypt/crypt-entry.c: Likewise.
17085 * crypt/crypt_util.c: Likewise.
17087 2014-06-06 Joseph Myers <joseph@codesourcery.com>
17089 * Makeconfig (run-program-env): New variable.
17090 (run-program-prefix-before-env): Likewise.
17091 (run-program-prefix-after-env): Likewise.
17092 (run-program-prefix): Define in terms of new variables.
17093 (built-program-cmd-before-env): New variable.
17094 (built-program-cmd-after-env): Likewise.
17095 (built-program-cmd): Define in terms of new variables.
17096 (test-program-prefix-before-env): New variable.
17097 (test-program-prefix-after-env): Likewise.
17098 (test-program-prefix): Define in terms of new variables.
17099 (test-program-cmd-before-env): New variable.
17100 (test-program-cmd-after-env): Likewise.
17101 (test-program-cmd): Define in terms of new variables.
17102 * Rules (make-test-out): Use $(run-program-env).
17103 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
17104 (help): Do not mention environment variables. Mention
17105 --timeoutfactor option.
17106 (timeoutfactor): New variable.
17107 (blacklist_exports): Remove function.
17108 (exports): Remove variable.
17109 (command): Do not include ${exports}.
17110 * manual/install.texi (Configuring and compiling): Do not mention
17111 test wrappers preserving environment variables. Mention that last
17112 assignment to a variable must take precedence.
17113 * INSTALL: Regenerated.
17114 * benchtests/Makefile (run-bench): Use $(run-program-env).
17115 * catgets/Makefile ($(objpfx)test1.cat): Use
17116 $(built-program-cmd-before-env), $(run-program-env) and
17117 $(built-program-cmd-after-env).
17118 ($(objpfx)test2.cat): Do not specify environment variables
17120 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
17121 $(run-program-env) and $(built-program-cmd-after-env).
17122 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
17123 $(run-program-env) and $(test-program-cmd-after-env).
17124 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
17126 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
17127 run_program_env and test_program_cmd_after_env arguments.
17128 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
17129 * elf/tst-pathopt.sh: Use run_program_env argument.
17130 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
17131 $(test-wrapper-env) and $(run-program-env).
17132 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
17133 run_program_env arguments.
17134 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
17135 * intl/Makefile ($(objpfx)tst-gettext.out): Use
17136 $(test-program-prefix-before-env), $(run-program-env) and
17137 $(test-program-prefix-after-env).
17138 ($(objpfx)tst-gettext2.out): Likewise.
17139 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
17140 run_program_env and test_program_prefix_after_env arguments.
17141 * intl/tst-gettext2.sh: Likewise.
17142 * intl/tst-gettext4.sh: Do not set environment variables
17144 * intl/tst-gettext6.sh: Likewise.
17145 * intl/tst-translit.sh: Likewise.
17146 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
17147 $(test-program-prefix-before-env), $(run-program-env) and
17148 $(test-program-prefix-after-env).
17149 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
17150 run_program_env and test_program_prefix_after_env arguments.
17151 * math/Makefile (run-regen-ulps): Use $(run-program-env).
17152 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
17153 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
17154 explicitly with each use of ${test_wrapper_env}.
17155 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
17156 $(test-program-prefix-before-env), $(run-program-env) and
17157 $(test-program-prefix-after-env).
17158 * posix/tst-getconf.sh: Do not set environment variables
17160 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
17161 run_program_env and test_program_prefix_after_env arguments.
17162 * stdio-common/tst-printf.sh: Do not set environment variables
17164 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
17165 $(test-program-prefix-before-env), $(run-program-env) and
17166 $(test-program-prefix-after-env).
17167 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
17168 run_program_env and test_program_prefix_after_env arguments.
17169 Split $test calls into $test_pre and $test.
17170 * timezone/Makefile (build-testdata): Use
17171 $(built-program-cmd-before-env), $(run-program-env) and
17172 $(built-program-cmd-after-env).
17174 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17176 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
17177 strlen for non SHARED builds.
17179 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17181 * nptl/allocatestack.c (check_list): Inlined function...
17182 (__reclaim_stacks): ... here.
17184 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17187 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
17190 2014-06-05 Joseph Myers <joseph@codesourcery.com>
17192 * Rules (make-test-out): Include
17193 LOCPATH=$(common-objpfx)localedata in default environment.
17194 * debug/Makefile (tst-chk1-ENV): Remove variable.
17195 (tst-chk2-ENV): Likewise.
17196 (tst-chk3-ENV): Likewise.
17197 (tst-chk4-ENV): Likewise.
17198 (tst-chk5-ENV): Likewise.
17199 (tst-chk6-ENV): Likewise.
17200 (tst-lfschk1-ENV): Likewise.
17201 (tst-lfschk2-ENV): Likewise.
17202 (tst-lfschk3-ENV): Likewise.
17203 (tst-lfschk4-ENV): Likewise.
17204 (tst-lfschk5-ENV): Likewise.
17205 (tst-lfschk6-ENV): Likewise.
17206 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
17207 (tst-iconv7-ENV): Likewise.
17208 * intl/Makefile (LOCPATH-ENV): Likewise.
17209 (tst-codeset-ENV): Likewise.
17210 (tst-gettext3-ENV): Likewise.
17211 (tst-gettext5-ENV): Likewise.
17212 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
17213 (tst-fopenloc-ENV): Likewise.
17214 (tst-fgetws-ENV): Remove variable.
17215 (tst-ungetwc1-ENV): Likewise.
17216 (tst-ungetwc2-ENV): Likewise.
17217 (bug-ungetwc2-ENV): Likewise.
17218 (tst-swscanf-ENV): Likewise.
17219 (bug-ftell-ENV): Likewise.
17220 (tst-fgetwc-ENV): Likewise.
17221 (tst-fseek-ENV): Likewise.
17222 (tst-ftell-partial-wide-ENV): Likewise.
17223 (tst-ftell-active-handler-ENV): Likewise.
17224 (tst-ftell-append-ENV): Likewise.
17225 * posix/Makefile (tst-fnmatch-ENV): Likewise.
17226 (tst-regexloc-ENV): Likewise.
17227 (bug-regex1-ENV): Likewise.
17228 (tst-regex-ENV): Likewise.
17229 (tst-regex2-ENV): Likewise.
17230 (bug-regex5-ENV): Likewise.
17231 (bug-regex6-ENV): Likewise.
17232 (bug-regex17-ENV): Likewise.
17233 (bug-regex18-ENV): Likewise.
17234 (bug-regex19-ENV): Likewise.
17235 (bug-regex20-ENV): Likewise.
17236 (bug-regex22-ENV): Likewise.
17237 (bug-regex23-ENV): Likewise.
17238 (bug-regex25-ENV): Likewise.
17239 (bug-regex26-ENV): Likewise.
17240 (bug-regex30-ENV): Likewise.
17241 (bug-regex32-ENV): Likewise.
17242 (bug-regex33-ENV): Likewise.
17243 (bug-regex34-ENV): Likewise.
17244 (bug-regex35-ENV): Likewise.
17245 (tst-rxspencer-ENV): Likewise.
17246 (tst-rxspencer-no-utf8-ENV): Likewise.
17247 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
17248 (tst-sscanf-ENV): Likewise.
17249 (tst-swprintf-ENV): Likewise.
17250 (tst-swscanf-ENV): Likewise.
17251 (test-vfprintf-ENV): Likewise.
17252 (scanf13-ENV): Likewise.
17253 (bug14-ENV): Likewise.
17254 (tst-grouping-ENV): Likewise.
17255 * stdlib/Makefile (tst-strtod-ENV): Likewise.
17256 (tst-strtod3-ENV): Likewise.
17257 (tst-strtod4-ENV): Likewise.
17258 (tst-strtod5-ENV): Likewise.
17259 (testmb2-ENV): Likewise./
17260 * string/Makefile (tst-strxfrm-ENV): Likewise.
17261 (tst-strxfrm2-ENV): Likewise.
17262 (bug-strcoll1-ENV): Likewise.
17263 (test-strcasecmp-ENV): Likewise.
17264 (test-strncasecmp-ENV): Likewise.
17265 * time/Makefile (tst-strptime-ENV): Likewise.
17266 (tst-ftime_l-ENV): Likewise.
17267 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
17268 (tst-mbrtowc-ENV): Likewise.
17269 (tst-wcrtomb-ENV): Likewise.
17270 (tst-mbrtowc2-ENV): Likewise.
17271 (tst-c16c32-1-ENV): Likewise.
17272 (tst-mbsnrtowcs-ENV): Likewise.
17274 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
17276 * manual/resource.texi (How to get information about the memory
17277 subsystem?): Fix typo.
17278 Reported by Peon de la Parra Ivan <peon@keba.com>
17280 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
17283 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
17284 (pthread_spin_lock): Branch out of spin loop to proper location.
17285 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
17286 (pthread_spin_lock): Likewise.
17288 * nptl/tst-spin4.c: New test.
17289 * nptl/Makefile (tests): Add tst-spin4.
17291 2014-06-03 Andreas Schwab <schwab@suse.de>
17294 * resolv/res_send.c (send_dg): Reload file descriptor after
17297 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
17299 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17301 2014-06-03 Richard Henderson <rth@redhat.com>
17303 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
17304 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
17305 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
17306 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
17307 in the SAVE_PID block.
17308 (__libc_vfork): New alias.
17309 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
17311 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
17312 child in registers, not on the stack. Remove RESET_PID conditionals.
17313 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
17315 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
17317 * sysdeps/aarch64/libm-test-ulps: Regenerate.
17319 2014-06-03 Wilco <wdijkstr@arm.com>
17321 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
17322 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
17323 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17324 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
17325 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
17328 2014-06-03 Wilco <wdijkstr@arm.com>
17330 * sysdeps/aarch64/fpu/math_private.h
17331 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
17332 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
17333 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
17334 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
17337 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17339 * crypt/crypt-private.h: Include ufc-crypt.h.
17340 (__b64_from_24bit): Declare extern.
17341 * crypt/crypt_util.c(__b64_from_24bit): New function.
17342 (b64t): New static const variable.
17343 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
17344 (b64t): Remove variable.
17345 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
17346 * crypt/sha256-crypt.c: Include crypt-private.h.
17347 (b64t): Remove variable.
17348 (__sha256_crypt_r): Remove b64_from_24bit and replace
17349 with __b64_from_24bit.
17350 * crypt/sha512-crypt.c: Likewise.
17352 2014-06-02 Roland McGrath <roland@hack.frob.com>
17354 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
17355 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
17356 Label the code __libc_vfork rather than __vfork.
17357 [!NOT_IN_libc] (vfork): Define as weak alias.
17358 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
17359 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
17360 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
17362 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17364 * malloc/malloc.c (malloc_info): Fix format specifier for
17367 2014-06-02 Wilco <wdijkstr@arm.com>
17369 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
17372 2014-06-02 Wilco <wdijkstr@arm.com>
17375 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
17376 Rewrite to reduce FPCR/FPSR accesses.
17378 2014-06-01 David S. Miller <davem@davemloft.net>
17380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17382 2014-05-31 David S. Miller <davem@davemloft.net>
17384 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
17385 to occur in round to nearest mode when |x| >= 2.0
17387 2014-05-30 Richard Henderson <rth@twiddle.net>
17389 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
17390 (PSEUDO_RET_NOERRNO): Remove.
17391 (ret): Don't redefine.
17392 (ret_NOERRNO): Define in terms of ret.
17393 (ret_ERRVAL): Likewise.
17395 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
17396 use of PSEUDO_RET; perform the error check directly.
17398 2014-05-30 Marko Myllynen <myllynen@redhat.com>
17400 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
17403 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17405 * malloc/malloc (malloc_info): Fix formatting.
17407 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17408 Roland McGrath <roland@hack.frob.com>
17410 * malloc/malloc (malloc_info): Also print mmapped statistics.
17412 2014-05-30 Roland McGrath <roland@hack.frob.com>
17414 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
17415 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
17417 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
17419 * malloc/malloc.c (malloc_info): Inline mi_arena.
17421 2014-05-29 Richard Henderson <rth@twiddle.net>
17423 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
17424 Remove comma before expanding ASM_ARGS_##nr.
17425 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
17426 Make _x0 a strict output; make _x8 a strict input; adjust expansion
17428 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
17429 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
17430 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
17431 (ASM_ARGS_1): Add leading comma.
17433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
17434 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
17435 to __errno_location.
17436 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
17437 Remove the expected plt for __errno_location.
17439 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17440 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
17443 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17444 Always allocate 64 bytes of stack frame. Use ldp/stp to create
17445 it and break it down.
17446 (DOCARGS_0, DOCARGS_1): Do nothing.
17447 (DOCARGS_2): Update to store into the new stack frame.
17448 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
17449 (UNDOCARGS_1): Update to restore from the new stack frame.
17450 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
17451 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
17453 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17454 (SINGLE_THREAD_P): New parameter for result regno.
17455 (PSEUDO): Update to match; use cbz instead of beq.
17457 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17458 Use ENTRY to define the _nocancel entry point. Share the syscall
17459 and syscall error check paths with the cancel path.
17462 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
17463 whitespace; tabs before and after asm mnemonics.
17465 2014-05-29 Eric Wong <normalperson@yhbt.net>
17468 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17469 Call fstat64 or stat64 internally, depending on arguments passed.
17470 Replace stat buffer argument with file descriptor argument.
17471 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
17472 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
17473 Pass fd to __internal_statvfs instead of calling fstat64.
17474 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
17475 Pass fd to __internal_statvfs64 instead of calling fstat64.
17476 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
17477 Pass -1 to __internal_statvfs instead of calling stat64.
17478 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
17479 Pass -1 to __internal_statvfs64 instead of calling stat64.
17481 2014-05-28 Roland McGrath <roland@hack.frob.com>
17483 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
17484 that was previously under [RESET_PID].
17485 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
17487 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
17488 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
17490 2014-05-27 Roland McGrath <roland@hack.frob.com>
17492 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
17494 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
17495 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
17497 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
17499 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
17501 2014-05-27 Andreas Schwab <schwab@suse.de>
17503 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
17505 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
17506 * elf/rtld.c (init_tls, dl_main): Likewise.
17507 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
17508 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
17509 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
17510 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
17511 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
17512 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
17513 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
17514 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
17515 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
17516 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
17517 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
17518 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
17519 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
17520 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
17521 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
17522 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
17523 * sysdeps/generic/tls.h: Update description.
17525 2014-05-27 Will Newton <will.newton@linaro.org>
17528 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
17529 and restore r2 rather than just restoring.
17531 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17534 * libio/tst-ftell-append.c: New test case.
17535 * libio/Makefile (tests): Add test case.
17536 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
17538 * libio/wfileops.c (do_ftell_wide): Likewise.
17540 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17544 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17548 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17549 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17550 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17551 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17552 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17553 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17554 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17557 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17560 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17561 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17562 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17563 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17564 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17566 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17567 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17569 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17571 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17573 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17574 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17575 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17577 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17578 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17579 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17580 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17585 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17591 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17595 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17598 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17603 conditional [RESET_PID].
17604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17605 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17612 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17613 (__libc_vfork): New strong alias.
17614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17621 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17622 (__libc_vfork): New strong alias.
17623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17625 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17628 2014-05-26 Carlos O'Donell <carlos@redhat.com>
17630 * malloc/malloc.c (mi_arena): New function.
17631 (malloc_info): Remove nested function mi_arena. Call non-nosted
17634 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17636 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17638 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17639 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17640 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17641 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17642 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17643 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17644 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17646 2014-05-26 Andreas Schwab <schwab@suse.de>
17649 * locale/programs/repertoire.c (repertoire_read): Add slash
17650 between I18NPATH element and file name.
17651 * locale/programs/locfile.c (locfile_read): Likewise.
17653 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17655 * nptl/pthread_mutexattr_settype.c
17656 (__pthread_mutexattr_settype):
17657 Disable lock elision for PTHREAD_MUTEX_NORMAL.
17659 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
17661 * nptl/tst-mutex5 (do_test):
17662 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17664 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17666 * benchtests/README: Document 'init' directive.
17667 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17669 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17670 (parse_file): Recognize 'init' directive.
17672 2014-05-26 Kyle McMartin <kyle@redhat.com>
17675 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17676 alignment of struct pthread.
17678 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17681 * nscd/netgroupcache.c (addgetnetgrentX): Look for
17682 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17683 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17684 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17686 2014-05-25 Richard Henderson <rth@twiddle.net>
17688 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17689 (SINGLE_THREAD_P_PIC): Remove.
17690 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17691 (SINGLE_THREAD_P_PIC): Remove.
17693 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17694 branch to syscall error ...
17695 (PSEUDO): ... here.
17696 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17697 from __local_syscall_error to .Lsyscall_error.
17698 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17699 (SYSCALL_ERROR): Update label name.
17701 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17702 Do not use DOARGS/UNDOARGS.
17703 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17704 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17705 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17706 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17707 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17709 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17712 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17713 define if !NOT_IN_libc.
17714 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17715 define with non-default symbol versions.
17717 2014-05-23 Richard Henderson <rth@twiddle.net>
17719 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17720 (vfork, __vfork): Define via compat_symbol.
17722 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17723 [!HAVE_IFUNC] (vfork_compat): Remove.
17724 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17726 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17729 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17730 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17733 2014-05-23 Richard Henderson <rth@twiddle.net>
17735 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17736 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17737 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17738 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17740 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17741 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17742 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17743 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17744 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17745 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17746 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17747 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17748 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17749 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17750 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17751 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17752 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17753 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17754 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17755 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17756 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17757 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17758 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17759 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17760 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17761 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17762 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17763 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17764 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17765 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17766 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17767 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17768 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17769 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17770 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17771 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17772 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17773 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17774 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17775 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17776 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17777 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17778 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17779 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17780 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17781 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17782 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17783 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17784 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17785 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17786 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17787 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17788 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17789 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17790 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17791 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17792 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17793 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17794 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17795 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17797 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17798 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17799 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
17800 before exiting on error.
17801 (__libc_vfork): New strong alias.
17802 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17803 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17805 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17806 that was previously under [RESET_PID].
17807 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17809 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17811 2014-05-23 Joseph Myers <joseph@codesourcery.com>
17814 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17815 value when x - 1 is zero.
17816 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17817 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17818 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17819 0.0L for an argument of 1.0L.
17820 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17822 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17823 value when x - 1 is zero.
17824 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17825 * sysdeps/i386/fpu/libm-test-ulps: Update.
17826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17828 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
17830 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17831 alphasort and versionsort.
17833 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17835 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17837 [copysignf]: Likewise.
17839 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17841 * crypt/md5-crypt.c: Fix formatting.
17843 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
17845 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17846 (b64_from_24bit): New function.
17848 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17850 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17851 libc_hidden_builtin_def to ifunc.
17852 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17853 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17855 2014-05-21 Roland McGrath <roland@hack.frob.com>
17857 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17858 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17860 2014-05-21 Joseph Myers <joseph@codesourcery.com>
17862 * nscd/Depend (linuxthreads): Remove.
17864 * resolv/Depend (linuxthreads): Remove.
17865 * rt/Depend (linuxthreads): Remove.
17867 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17868 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17869 $(common-objpfx)elf/.
17870 (link-libc-before-gnulib): Likewise.
17871 (elfobjdir): Remove variable.
17872 * Makefile (install): Use $(elf-objpfx) instead of
17873 $(common-objpfx)elf/.
17874 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17876 (link-libc-deps): Likewise.
17877 ($(common-objpfx)libc.so): Likewise.
17878 ($(common-objpfx)linkobj/libc.so): Likewise.
17879 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17880 instead of $(common-objpfx)elf/.
17881 (symbolic-link-list): Likewise.
17882 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17883 [$(cross-compiling) = no]: Likewise.
17884 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17886 (static-gnulib-arch): Likewise.
17887 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17888 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17889 $(common-objpfx)elf/.
17891 2014-05-21 Richard Henderson <rth@redhat.com>
17893 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17894 (SINGLE_THREAD_P): Use the correct width load. Fold
17895 into the ldr offset.
17897 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17898 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17900 2014-05-20 Joseph Myers <joseph@codesourcery.com>
17902 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17903 (libgcc_s_resume): Use __attribute_used__.
17904 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17907 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17909 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17910 optimization when used with float constants.
17912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17914 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
17917 * locale/nl_langinfo_l.c: Make direct reference to every
17918 _nl_current_CATEGORY symbol.
17919 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17920 (tests-static): Add tst-langinfo-static.
17921 (tests-special): Add tst-langinfo-static.out.
17922 ($(objpfx)tst-langinfo.out): Redirect output.
17923 ($(objpfx)tst-langinfo-static.out): New.
17924 * localedata/tst-langinfo.sh: Send output to stdout.
17925 * localedata/tst-langinfo-static.c: New file.
17928 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17929 when the shift amount is modulo the limb size.
17931 2014-05-20 Richard Henderson <rth@redhat.com>
17934 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17935 Change type of sa_flags from unsigned int to int.
17938 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17940 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17942 2014-05-20 Will Newton <will.newton@linaro.org>
17944 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17945 Test the return value of the system call in the nocancel case.
17947 2014-05-20 Will Newton <will.newton@linaro.org>
17948 Yvan Roux <yvan.roux@linaro.org>
17950 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17951 #include of asm/ptrace.h.
17952 (PTRACE_GET_THREAD_AREA): Remove #undef.
17953 (PTRACE_GETHBPREGS): Likewise.
17954 (PTRACE_SETHBPREGS): Likewise.
17955 (struct user_regs_struct): New structure.
17956 (struct user_fpsimd_struct): New structure.
17957 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17958 #include of asm/ptrace.h and second #include of sys/user.h.
17959 (PTRACE_GET_THREAD_AREA): Remove #undef.
17960 (PTRACE_GETHBPREGS): Likewise.
17961 (PTRACE_SETHBPREGS): Likewise.
17962 (ELF_NGREG): Use new struct user_regs_struct.
17963 (elf_fpregset_t): Use new struct user_fpsimd_struct.
17965 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17968 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17970 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
17973 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17974 membar to avoid block loads/stores to overlap previous stores.
17976 2014-05-17 Richard Henderson <rth@redhat.com>
17978 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17979 Create the __##syscall_name##_nocancel entry point.
17980 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17981 Remove; let the sysdep-cancel.h code create it.
17983 2014-05-17 David S. Miller <davem@davemloft.net>
17985 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17986 Protect with __USE_GNU.
17987 (TIOCSET_TEMPT): Likewise.
17988 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17989 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17990 these are already provided in bits/ioctl-types.h
17992 2014-05-16 Roland McGrath <roland@hack.frob.com>
17994 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17995 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17997 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17998 Use wait4 regardless of [__NR_waitpid].
18000 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18003 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18004 (_FP_NANSIGN_Q): Set the quiet bit.
18006 2014-05-16 Joseph Myers <joseph@codesourcery.com>
18008 * benchtests/Makefile
18009 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
18010 not $(common-objpfx)math/libm.so.
18011 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
18012 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
18013 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
18014 $(common-objpfx)dlfcn/libdl.so.
18015 ($(objpfx)tst-audit8): Depend on $(libm), not
18016 $(common-objpfx)math/libm.so.
18017 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
18018 not $(common-objpfx)dlfcn/libdl.so.
18020 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
18021 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
18022 [$(build-shared) = yes].
18023 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
18024 $(common-objpfx)nptl/libpthread.so.
18025 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
18026 $(common-objpfx)math/libm.so$(libm.so-version) or
18027 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
18028 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
18029 $(common-objpfx)dlfcn/libdl.so.
18030 * setjmp/Makefile (link-libm): Remove variable.
18031 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
18032 * stdio-common/Makefile (link-libm): Remove variable.
18033 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
18034 * stdlib/Makefile (link-libm): Remove variable.
18035 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
18036 ($(objpfx)tst-strtod-round): Likewise.
18037 ($(objpfx)tst-tininess): Likewise.
18038 ($(objpfx)tst-strtod-underflow): Likewise.
18039 ($(objpfx)tst-strtod6): Likewise.
18040 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
18041 $(libdl), not $(common-objpfx)nptl/libpthread.so and
18042 $(common-objpfx)dlfcn/libdl.so.
18044 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18046 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
18047 BSD terminal modes definitions.
18049 2014-05-16 Roland McGrath <roland@hack.frob.com>
18051 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
18052 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
18054 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
18055 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
18056 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
18057 Don't do #include_next.
18058 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
18059 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
18060 Don't do #include_next.
18061 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
18062 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
18063 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
18064 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
18066 2014-05-16 Allan McRae <allan@archlinux.org>
18068 * po/sv.po: Update Swedish translation from translation project.
18070 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
18073 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
18076 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
18077 errno if the TIOCGPTN ioctl fails with an error different than
18079 * login/tst-ptsname.c: New file.
18080 * login/Makefile (tests): Add tst-ptsname.
18083 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
18086 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
18090 herrno to return EAI_AGAIN.
18092 2014-05-14 Roland McGrath <roland@hack.frob.com>
18094 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
18095 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
18096 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
18097 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
18098 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
18099 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
18100 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
18101 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
18102 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
18103 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
18104 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
18105 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
18106 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
18107 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
18108 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
18109 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
18110 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
18111 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
18112 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
18113 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
18114 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
18115 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
18116 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
18117 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
18118 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
18119 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
18120 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
18121 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
18122 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
18123 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
18124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
18125 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
18126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
18127 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
18128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18130 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
18131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
18132 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
18133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
18134 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
18135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
18136 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
18137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
18138 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
18139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
18140 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
18141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
18142 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
18143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
18144 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
18145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
18146 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
18147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
18148 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
18149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
18150 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
18151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
18152 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
18153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
18154 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
18155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
18156 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
18157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18159 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
18160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
18161 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
18162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
18163 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
18164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
18165 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
18166 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
18167 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
18168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
18169 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
18170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
18171 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
18172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
18173 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
18174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
18175 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
18176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
18177 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
18178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18180 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
18181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
18182 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
18184 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
18185 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
18186 (libpthread-sysdep_routines): Add elision-related stuff here instead.
18187 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
18188 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
18189 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
18190 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
18191 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
18192 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
18193 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
18194 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
18195 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
18196 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
18197 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
18198 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
18199 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
18200 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
18201 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
18202 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
18203 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
18204 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
18205 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
18206 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
18207 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
18208 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
18209 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
18210 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
18211 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
18212 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
18213 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
18214 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
18216 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
18217 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
18219 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
18220 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
18221 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
18222 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
18223 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
18224 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
18226 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
18227 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
18229 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
18230 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18232 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
18233 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
18235 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
18236 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
18237 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
18238 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
18240 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
18241 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
18242 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
18243 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
18244 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
18245 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
18246 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
18247 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
18249 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
18250 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18252 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
18254 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
18255 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
18256 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
18257 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
18258 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18260 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
18262 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
18264 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
18265 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
18266 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
18267 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
18268 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
18269 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
18271 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
18272 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18274 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
18275 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18277 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
18278 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
18280 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
18281 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
18282 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
18283 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
18285 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
18286 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
18287 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
18288 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
18289 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
18290 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
18291 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
18292 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18294 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
18295 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18297 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
18299 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
18300 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
18301 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
18302 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
18303 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18305 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
18307 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
18309 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
18310 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
18311 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
18312 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
18313 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
18314 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
18315 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
18316 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
18317 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
18318 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
18320 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
18321 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
18323 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
18324 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
18326 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
18327 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
18329 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
18330 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
18331 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
18332 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
18333 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
18334 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
18336 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
18337 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
18338 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
18339 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
18340 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
18341 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
18342 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
18343 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
18345 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
18346 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18348 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
18350 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
18351 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
18352 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
18353 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
18354 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18356 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
18358 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
18360 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
18361 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
18362 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
18363 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
18364 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
18365 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
18366 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
18367 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
18368 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
18369 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
18370 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
18372 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
18373 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
18375 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
18376 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
18378 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
18379 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
18380 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
18381 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
18382 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
18383 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
18384 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
18385 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
18386 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
18387 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
18388 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
18389 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
18390 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
18391 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
18392 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
18393 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
18394 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
18395 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
18397 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
18398 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
18399 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
18400 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
18402 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
18403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
18404 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
18405 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
18406 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
18407 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
18408 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
18409 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
18411 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
18412 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
18414 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
18415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
18416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
18417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
18418 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
18419 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
18420 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
18421 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
18422 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
18423 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
18424 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
18425 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
18426 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
18427 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
18428 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
18429 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
18430 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
18432 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
18433 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
18434 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
18435 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
18436 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
18438 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
18439 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
18440 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
18441 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
18442 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
18443 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
18444 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
18445 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
18446 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
18447 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
18449 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
18450 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
18452 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
18453 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
18454 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
18455 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
18456 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
18457 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
18458 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
18459 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
18460 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
18461 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
18462 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
18463 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
18464 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
18465 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
18466 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
18468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
18470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
18472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
18474 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
18476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
18478 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
18480 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18482 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
18484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
18486 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
18487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
18488 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
18489 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
18490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
18491 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
18492 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
18493 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
18494 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
18495 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
18496 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
18497 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
18498 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
18499 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
18500 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
18502 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
18503 that was previously under [RESET_PID].
18504 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18505 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
18506 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
18508 * sysdeps/i386/nptl/Implies: New file.
18509 * sysdeps/x86_64/nptl/Implies: New file.
18510 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
18511 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
18512 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
18513 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
18515 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
18516 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18517 (__libc_vfork): New strong alias.
18518 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
18519 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
18521 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
18522 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18523 (__libc_vfork): New strong alias.
18524 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
18525 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
18527 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
18528 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
18529 (__libc_vfork): New strong alias.
18530 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
18531 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
18532 * nptl/pt-vfork.c: New file.
18533 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
18534 (libpthread: GLIBC_2.20): New version set (empty).
18536 2014-05-14 Will Newton <will.newton@linaro.org>
18538 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
18541 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18544 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18545 arguments with exponent 65 or above.
18546 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18547 arguments 0x1p113L or above.
18548 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18549 to arguments 0x1p107L or above.
18550 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18551 positive arguments with exponent 65 or above.
18552 * math/auto-libm-test-in: Add more tests of log1p.
18553 * math/auto-libm-test-out: Regenerated.
18556 * math/s_cacos.c (__cacos): Ensure zero real part of result from
18557 non-finite arguments is +0.
18558 * math/s_cacosf.c (__cacosf): Likewise.
18559 * math/s_cacosl.c (__cacosl): Likewise.
18560 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18561 * sysdeps/i386/fpu/libm-test-ulps: Update.
18562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18565 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18567 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18568 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18569 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18570 for explicit high bit of mantissa when testing for argument equal
18572 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18573 * sysdeps/i386/fpu/libm-test-ulps: Update.
18574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18577 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18578 (__erf): Scale by 16 instead of 8 in potentially underflowing
18579 case. Ensure exception if result actually underflows.
18580 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18581 (__erff): Scale by 16 instead of 8 in potentially underflowing
18582 case. Ensure exception if result actually underflows.
18583 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18584 (efx8): Remove variable.
18585 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18586 case. Ensure exception if result actually underflows.
18587 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18588 (efx8): Remove variable.
18589 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18590 case. Ensure exception if result actually underflows.
18591 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18592 (efx8): Remove variable.
18593 (__erfl): Scale by 16 instead of 8 in potentially underflowing
18594 case. Ensure exception if result actually underflows.
18595 * math/auto-libm-test-in: Add more tests of erf.
18596 * math/auto-libm-test-out: Regenerated.
18598 2014-05-14 Andreas Schwab <schwab@suse.de>
18600 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18601 Remove code conditionalized on USE___THREAD.
18603 * config.h.in (HAVE_PT_CHOWN): Define as 0.
18604 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18607 2014-05-14 Joseph Myers <joseph@codesourcery.com>
18609 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18610 Define unconditionally.
18611 (__ASSUME_O_CLOEXEC): Likewise.
18612 (__ASSUME_SOCK_CLOEXEC): Likewise.
18613 (__ASSUME_IN_NONBLOCK): Likewise.
18614 (__ASSUME_PIPE2): Likewise.
18615 (__ASSUME_EVENTFD2): Likewise.
18616 (__ASSUME_SIGNALFD4): Likewise.
18617 (__ASSUME_DUP3): Likewise.
18618 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18619 (__ASSUME_DUP3): Do not define.
18620 (__ASSUME_EVENTFD2): Likewise.
18621 (__ASSUME_IN_NONBLOCK): Likewise.
18622 (__ASSUME_O_CLOEXEC): Likewise.
18623 (__ASSUME_PIPE2): Likewise.
18624 (__ASSUME_SIGNALFD4): Likewise.
18625 (__ASSUME_SOCK_CLOEXEC): Likewise.
18626 (__ASSUME_UTIMES): Undefine.
18627 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18628 (__ASSUME_UTIMES): Do not define.
18629 (__ASSUME_O_CLOEXEC): Likewise.
18630 (__ASSUME_SOCK_CLOEXEC): Likewise.
18631 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18632 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18634 (__ASSUME_PIPE2): Likewise.
18635 (__ASSUME_EVENTFD2): Likewise.
18636 (__ASSUME_SIGNALFD4): Likewise.
18637 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18638 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18640 (__ASSUME_EVENTFD2): Likewise.
18641 (__ASSUME_SIGNALFD4): Likewise.
18642 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18643 (__ASSUME_32BITUIDS): Likewise.
18644 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18645 (__ASSUME_IPC64): Likewise.
18646 (__ASSUME_ST_INO_64_BIT): Likewise.
18647 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18648 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18649 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18650 (__ASSUME_UTIMES): Do not define.
18651 (__ASSUME_PSELECT): Likewise.
18652 (__ASSUME_PPOLL): Likewise.
18653 (__ASSUME_O_CLOEXEC): Likewise.
18654 (__ASSUME_SOCK_CLOEXEC): Likewise.
18655 (__ASSUME_IN_NONBLOCK): Likewise.
18656 (__ASSUME_PIPE2): Likewise.
18657 (__ASSUME_EVENTFD2): Likewise.
18658 (__ASSUME_SIGNALFD4): Likewise.
18659 (__ASSUME_DUP3): Likewise.
18660 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18661 (__ASSUME_UTIMES): Likewise.
18662 (__ASSUME_O_CLOEXEC): Likewise.
18663 (__ASSUME_SOCK_CLOEXEC): Likewise.
18664 (__ASSUME_IN_NONBLOCK): Likewise.
18665 (__ASSUME_PIPE2): Likewise.
18666 (__ASSUME_EVENTFD2): Likewise.
18667 (__ASSUME_SIGNALFD4): Likewise.
18668 (__ASSUME_DUP3): Likewise.
18669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18670 (__ASSUME_UTIMES): Likewise.
18671 (__ASSUME_O_CLOEXEC): Likewise.
18672 (__ASSUME_SOCK_CLOEXEC): Likewise.
18673 (__ASSUME_IN_NONBLOCK): Likewise.
18674 (__ASSUME_PIPE2): Likewise.
18675 (__ASSUME_EVENTFD2): Likewise.
18676 (__ASSUME_SIGNALFD4): Likewise.
18677 (__ASSUME_DUP3): Likewise.
18678 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18680 (__ASSUME_UTIMES): Likewise.
18681 (__ASSUME_EVENTFD2): Likewise.
18682 (__ASSUME_SIGNALFD4): Likewise.
18683 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18684 (__ASSUME_O_CLOEXEC): Likewise.
18685 (__ASSUME_SOCK_CLOEXEC): Likewise.
18686 (__ASSUME_IN_NONBLOCK): Likewise.
18687 (__ASSUME_PIPE2): Likewise.
18688 (__ASSUME_EVENTFD2): Likewise.
18689 (__ASSUME_SIGNALFD4): Likewise.
18690 (__ASSUME_DUP3): Likewise.
18691 (__ASSUME_UTIMES): Undefine.
18693 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18694 feclearexcept. Remove symbol versioning code.
18695 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
18696 symbol versioning code.
18697 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
18698 symbol versioning code.
18699 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18700 feupdateenv. Remove symbol versioning code.
18701 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18702 fegetexceptflag. Remove symbol versioning code.
18703 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18704 fesetexceptflag. Remove symbol versioning code.
18705 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18706 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
18707 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18708 (__posix_fadvise64_l32): Remove prototype.
18709 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18712 2014-05-13 Roland McGrath <roland@hack.frob.com>
18714 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18715 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18716 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18717 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18719 2014-05-13 Sami Kerola <kerolasa@iki.fi>
18721 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18722 current working directory
18724 2014-05-13 Roland McGrath <roland@hack.frob.com>
18726 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18727 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18728 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18729 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18730 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18731 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18732 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18733 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18734 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18735 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18736 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18737 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18738 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18739 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18740 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18741 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18742 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18743 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18744 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18745 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18746 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18747 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18748 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18749 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18750 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18751 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18752 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18753 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18754 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18755 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18756 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18757 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18758 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18759 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18760 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18761 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18762 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18763 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18764 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18765 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18766 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18767 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18769 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18770 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18772 * sysdeps/unix/sysv/linux/arm/Makefile
18773 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18774 Add rt-aeabi_unwind_cpp_pr1.
18775 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18776 Add nptl-aeabi_unwind_cpp_pr1.
18777 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18778 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18779 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18780 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18781 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18782 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18784 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18785 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18786 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18787 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18789 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18790 Deconditionalize the code that was previously under [RESET_PID].
18791 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18793 * sysdeps/generic/exit-thread.h: New file.
18794 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18795 * include/unistd.h (__exit_thread): Remove declaration.
18796 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18797 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18798 * csu/libc-start.c: Include <exit-thread.h>.
18799 (LIBC_START_MAIN): Pass no argument to __exit_thread.
18800 * nptl/pthread_create.c: Include <exit-thread.h>.
18801 (start_thread): Call __exit_thread in place of __exit_thread_inline.
18802 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18803 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18804 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18805 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18806 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18807 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18808 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18809 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18810 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18811 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18812 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18813 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18814 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18815 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18816 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18817 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18819 2014-05-13 Andreas Schwab <schwab@suse.de>
18821 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18823 2014-05-12 Joseph Myers <joseph@codesourcery.com>
18825 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18826 (__ASSUME_UTIMES): Do not condition on kernel version.
18827 (__ASSUME_PSELECT): Define unconditionally.
18828 (__ASSUME_PPOLL): Likewise.
18829 (__ASSUME_ATFCTS): Likewise.
18830 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18831 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18832 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18833 (__ASSUME_UTIMENSAT): Define unconditionally.
18834 (__ASSUME_PRIVATE_FUTEX): Likewise.
18835 (__ASSUME_FALLOCATE): Likewise.
18836 (__ASSUME_O_CLOEXEC): Likewise.
18837 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18838 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18839 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18840 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18841 (__ASSUME_IN_NONBLOCK): Likewise.
18842 (__ASSUME_PIPE2): Likewise.
18843 (__ASSUME_EVENTFD2): Likewise.
18844 (__ASSUME_SIGNALFD4): Likewise.
18845 (__ASSUME_DUP3): Likewise.
18846 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18847 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18848 (__ASSUME_AT_RANDOM): Likewise.
18849 (__ASSUME_PREADV): Likewise.
18850 (__ASSUME_PWRITEV): Likewise.
18851 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18852 (__ASSUME_F_GETOWN_EX): Define unconditionally.
18853 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18854 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18855 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18856 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18857 (__ASSUME_O_CLOEXEC): Define unconditionally.
18858 (__ASSUME_PSELECT): Do not undefine conditionally.
18859 (__ASSUME_PPOLL): Likewise.
18860 (__ASSUME_ATFCTS): Likewise.
18861 (__ASSUME_SET_ROBUST_LIST): Likewise.
18862 (__ASSUME_UTIMENSAT): Likewise.
18863 (__ASSUME_FDATASYNC): Define unconditionally.
18864 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18865 (__ASSUME_SIGFRAME_V2): Likewise.
18866 )__ASSUME_EVENTFD2): Likewise.
18867 (__ASSUME_SIGNALFD4): Likewise.
18868 (__ASSUME_PSELECT): Do not undefine conditionally.
18869 (__ASSUME_PPOLL): Likewise.
18870 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18871 (__ASSUME_PSELECT): Define unconditionally.
18872 (__ASSUME_PPOLL): Likewise.
18873 (__ASSUME_O_CLOEXEC): Likewise.
18874 (__ASSUME_SOCK_CLOEXEC): Likewise.
18875 (__ASSUME_IN_NONBLOCK): Likewise.
18876 (__ASSUME_PIPE2): Likewise.
18877 (__ASSUME_EVENTFD2): Likewise.
18878 (__ASSUME_SIGNALFD4): Likewise.
18879 (__ASSUME_DUP3): Likewise.
18880 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18881 (__ASSUME_O_CLOEXEC): Likewise.
18882 (__ASSUME_SOCK_CLOEXEC): Likewise.
18883 (__ASSUME_IN_NONBLOCK): Likewise.
18884 (__ASSUME_PIPE2): Likewise.
18885 (__ASSUME_EVENTFD2): Likewise.
18886 (__ASSUME_SIGNALFD4): Likewise.
18887 (__ASSUME_DUP3): Likewise.
18888 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18889 (__ASSUME_EVENTFD2): Likewise.
18890 (__ASSUME_SIGNALFD4): Likewise.
18891 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18893 2014-05-12 Andreas Schwab <schwab@suse.de>
18896 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18897 (_nss_nis_gethostbyname4_r): Return error if item length is larger
18898 than maximum RPC packet size.
18899 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18900 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18901 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18902 (_nss_nis_getservbyport_r): Likewise.
18904 2014-05-12 Will Newton <will.newton@linaro.org>
18906 * malloc/Makefile (tests): Add tst-mallopt.
18907 * malloc/tst-mallopt.c: New file.
18909 2014-05-09 Roland McGrath <roland@hack.frob.com>
18911 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18912 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18914 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18916 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18917 (tst-tlsmod6.so): Likewise.
18919 2014-05-09 Roland McGrath <roland@hack.frob.com>
18921 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18923 2014-05-09 Joseph Myers <joseph@codesourcery.com>
18926 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18927 and <dl-procinfo.h>.
18928 (__fegetenv): Save SSE state in envp->__eip if supported.
18929 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18930 envp->__eip if supported.
18931 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18932 and <dl-procinfo.h>.
18933 (__fesetenv): Always set __eip, __cs_selector, __opcode,
18934 __data_offset and __data_selector in environment to 0. Set SSE
18935 state if supported.
18936 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18938 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18940 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18942 2014-05-09 Will Newton <will.newton@linaro.org>
18944 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18945 and libc_relro_required for ARM.
18946 * sysdeps/arm/preconfigure: Regenerate.
18948 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
18949 Stefan Liebler <stli@linux.vnet.ibm.com>
18951 * config.make.in (enable-lock-elision): New Makefile variable.
18952 * configure.ac: Likewise.
18953 * configure: Regenerate.
18954 * sysdeps/s390/configure.ac:
18955 Add check for gcc transactions support.
18956 * sysdeps/s390/configure: Regenerate.
18957 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18958 Build elision files if enabled.
18959 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18960 Add lock elision support for s390.
18961 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18962 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18963 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18964 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18965 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18966 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18967 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18969 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18971 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18973 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18975 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18976 (__lll_timedlock_elision, __lll_lock_elision)
18977 (__lll_unlock_elision, __lll_trylock_elision)
18978 (lll_timedlock_elision, lll_lock_elision)
18979 (lll_unlock_elision, lll_trylock_elision): Add.
18980 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18981 (pthread_mutex_t): Add lock elision support for s390.
18983 2014-05-14 Wilco <wdijkstr@arm.com>
18985 * sysdeps/arm/fclrexcpt.c: Cleanup.
18986 * sysdeps/arm/fedisblxcpt.c: Cleanup.
18987 * sysdeps/arm/feenablxcpt.c: Cleanup.
18988 * sysdeps/arm/fegetenv.c: Cleanup.
18989 * sysdeps/arm/fegetexcept.c: Cleanup.
18990 * sysdeps/arm/fegetround.c: Cleanup.
18991 * sysdeps/arm/feholdexcpt.c: Cleanup.
18992 * sysdeps/arm/fesetenv.c: Cleanup.
18993 * sysdeps/arm/fesetround.c: Cleanup.
18994 * sysdeps/arm/feupdateenv.c: Cleanup.
18995 * sysdeps/arm/fgetexcptflg.c: Cleanup.
18996 * sysdeps/arm/fraiseexcpt.c: Cleanup.
18997 * sysdeps/arm/fsetexcptflg.c: Cleanup.
18998 * sysdeps/arm/ftestexcept.c: Cleanup.
18999 * sysdeps/arm/get-rounding-mode.h: Cleanup.
19000 * sysdeps/arm/setfpucw.c: Cleanup.
19002 2014-05-09 Will Newton <will.newton@linaro.org>
19004 * sysdeps/arm/armv7/strcmp.S: New file.
19005 * NEWS: Mention addition of ARMv7 optimized strcmp.
19007 2014-05-08 Roland McGrath <roland@hack.frob.com>
19009 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
19010 look for %.ac rather than %.in.
19012 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
19013 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
19014 * sysdeps/mach/hurd/configure: Regenerated.
19015 * sysdeps/unix/sysv/linux/configure: Regenerated.
19017 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
19019 2014-05-07 Steve Ellcey <sellcey@mips.com>
19022 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
19026 2014-05-07 Andreas Schwab <schwab@suse.de>
19028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
19029 when skipping over non-matching result from nscd.
19031 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
19034 * nptl/sockperf.c (client): Check socket return value.
19037 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
19038 nscd security class.
19040 2014-05-06 Roland McGrath <roland@hack.frob.com>
19042 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
19043 * sysdeps/arm/unwind.h: ... here.
19045 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
19048 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
19051 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19053 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
19054 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
19055 multiarch strncpy for PPC64.
19056 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
19057 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
19058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
19059 multiarch optimizations.
19060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19061 (__libc_ifunc_impl_list): Likewise.
19062 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
19063 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
19064 multiarch stpncpy for PPC64.
19065 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
19066 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
19068 2014-05-06 Andreas Schwab <schwab@suse.de>
19071 * gmon/mcount.c (_MCOUNT_DECL): Use
19072 atomic_compare_and_exchange_bool_acq instead of
19073 catomic_compare_and_exchange_bool_acq.
19075 2014-05-05 Roland McGrath <roland@hack.frob.com>
19077 * elf/Makefile (others, install-bin): Remove pldd.
19078 (pldd-modules): Variable removed.
19079 ($(objpfx)pldd): Target removed.
19080 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
19081 (others, install-bin): Append pldd here.
19082 ($(objpfx)pldd): New target.
19084 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
19085 to 0, so the first #if test emitted later doesn't see it undefined.
19086 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
19087 * sysdeps/gnu/errlist.c: Regenerated.
19089 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19091 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19092 [libc_hidden_builtin_def]: Define to empty value.
19093 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
19094 [libc_hidden_builtin_def]: Likewise.
19095 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
19096 [libc_hidden_builtin_def]: Likewise.
19097 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
19098 [libc_hidden_builtin_def]: Likewise.
19099 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
19100 __redirect_memcpy and define ifunc as default hidden symbol.
19101 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
19102 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
19104 2014-05-04 Adam Conrad <adconrad@0c3.net>
19106 * locale/iso-4217.def: Reintroduce XDR currency.
19108 2014-05-04 Allan McRae <allan@archlinux.org>
19110 * po/eo.po: Update Esperanto translation from translation project.
19112 2014-05-02 Carlos O'Donell <carlos@redhat.com>
19114 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
19115 and FEATURE_INDEX_MAX to 1.
19116 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
19118 2014-05-01 Steve Ellcey <sellcey@mips.com>
19120 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
19121 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
19122 * iconvdata/big5.c (ONE_DIRECTION): Define.
19123 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
19124 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
19125 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
19126 * iconvdata/cp932.c (ONE_DIRECTION): Define.
19127 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
19128 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
19129 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
19130 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
19131 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
19132 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
19133 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
19134 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
19135 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
19136 * iconvdata/gbk.c (ONE_DIRECTION): Define.
19137 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
19138 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
19139 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
19140 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
19141 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
19142 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
19143 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
19144 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
19145 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
19146 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
19147 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
19148 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
19149 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
19150 * iconvdata/iso646.c (ONE_DIRECTION): Define.
19151 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
19152 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
19153 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
19154 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
19155 * iconvdata/johab.c (ONE_DIRECTION): Define.
19156 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
19157 * iconvdata/sjis.c (ONE_DIRECTION): Define.
19158 * iconvdata/t.61.c (ONE_DIRECTION): Define.
19159 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
19160 * iconvdata/tscii.c (ONE_DIRECTION): Define.
19161 * iconvdata/uhc.c (ONE_DIRECTION): Define.
19162 * iconvdata/unicode.c (ONE_DIRECTION): Define.
19163 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
19164 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
19165 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
19167 2014-05-01 Roland McGrath <roland@hack.frob.com>
19169 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
19170 (_IO_JUMPS_OFFSET): Define to 0.
19172 * nptl/sysdeps/pthread/bits/libc-lock.h
19173 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
19174 (__libc_lock_define_initialized_recursive): Always define using
19175 initializer. Modern compilers treat uninitialized (implicit zero) and
19176 explicit zero initializers the same (i.e. put the datum in bss).
19178 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19180 * nscd/nscd-client.h: Include <string.h>.
19182 2014-05-01 David S. Miller <davem@davemloft.net>
19185 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
19186 multiple zero bytes exist at the end of a string.
19187 Reported by Aurelien Jarno <aurelien@aurel32.net>
19189 * string/test-strcmp.c (check): Add explicit test for situations where
19190 there are multiple zero bytes after the first.
19192 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
19195 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
19196 when compiling wprintf.
19197 * stdio-common/tstdiomisc.c (t3): New function.
19200 2014-05-01 Steve Ellcey <sellcey@mips.com>
19202 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
19203 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
19204 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
19205 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
19207 2014-05-01 Steve Ellcey <sellcey@mips.com>
19209 * stdlib/longlong.h: Updated from GCC.
19211 2014-05-01 Will Newton <will.newton@linaro.org>
19212 Bernard Ogden <bernie.ogden@linaro.org>
19214 * NEWS: Update fixed bug list.
19217 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
19219 2014-04-30 David S. Miller <davem@davemloft.net>
19221 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
19222 (libc_feholdexcept_setround_sparc_ctx): New function.
19223 (libc_fesetenv_sparc_ctx): Likewise.
19224 (libc_feupdateenv_sparc_ctx): Likewise.
19225 (libc_feholdsetround_sparc_ctx): Likewise.
19226 (libc_feholdexcept_setround_ctx): Define.
19227 (libc_feholdexcept_setroundf_ctx): Likewise.
19228 (libc_feholdexcept_setroundl_ctx): Likewise.
19229 (libc_fesetenv_ctx): Likewise.
19230 (libc_fesetenvf_ctx): Likewise.
19231 (libc_fesetenvl_ctx): Likewise.
19232 (libc_feupdateenv_ctx): Likewise.
19233 (libc_feupdateenvf_ctx): Likewise.
19234 (libc_feupdateenvl_ctx): Likewise.
19235 (libc_feresetround_ctx): Likewise.
19236 (libc_feresetroundf_ctx): Likewise.
19237 (libc_feresetroundl_ctx): Likewise.
19238 (libc_feholdsetround_ctx): Likewise.
19239 (libc_feholdsetroundf_ctx): Likewise.
19240 (libc_feholdsetroundl_ctx): Likewise.
19242 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19243 with __USE_GNU instead of XOPEN cpp guards.
19245 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
19248 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
19249 with XOPEN cpp guards.
19251 2014-04-30 Julian Brown <julian@codesourcery.com>
19254 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
19257 2014-04-30 Joseph Myers <joseph@codesourcery.com>
19260 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
19262 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
19263 * sysdeps/unix/sysv/linux/configure: Regenerated.
19264 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
19265 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
19266 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
19267 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
19268 * README: Update reference to required Linux kernel version.
19269 * manual/install.texi (Linux): Update reference to required Linux
19270 kernel headers version.
19271 * INSTALL: Regenerated.
19273 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
19275 [POSIX] (limits.h): Likewise.
19276 [POSIX] (math.h): Likewise.
19277 [POSIX] (sys/wait.h): Likewise.
19278 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
19280 [POSIX] (stddef.h): Do not allow header inclusion.
19282 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19284 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
19286 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
19288 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
19289 Return immediately after lll_futex_wake.
19291 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19294 * nscd/nscd-client.h (datahead_init_common): Initialize entire
19296 (datahead_init_pos): Call datahead_init_common early.
19297 (datahead_init_neg): Likewise.
19299 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
19300 datahead_init_neg): New functions.
19301 * nscd/aicache.c (addhstaiX): Use them.
19302 * nscd/grpcache.c (cache_addgr): Likewise.
19303 * nscd/hstcache.c (cache_addhst): Likewise.
19304 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19305 * nscd/netgroupcache.c (do_notfound): Likewise.
19306 (addgetnetgrentX): Likewise.
19307 (addinnetgrX): Likewise.
19308 * nscd/pwdcache.c (cache_addpw): Likewise.
19309 * nscd/servicescache.c (cache_addserv): Likewise.
19311 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19312 Atsushi Onoe <atsushi@onoe.org>
19317 * resolv/res_query.c (__libc_res_nsearch): Return if at least
19318 one response is valid.
19319 * resolv/res_send.c (send_dg): Check for validity of other
19320 response if the current response is a referral.
19322 2014-04-29 Steve Ellcey <sellcey@mips.com>
19324 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
19326 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
19329 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
19330 Always divide by positive zero when computing -Inf result.
19331 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19332 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19334 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19336 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
19337 FPSCR if value do not change.
19338 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19339 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
19340 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19341 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19342 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
19343 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
19346 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
19348 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
19349 * sysdeps/unix/sysv/linux/hppa: Move directory from
19350 ports/systeps/unix/sysv/linux/hppa.
19351 * README: Update listing for hppa-*-linux-gnu.
19353 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
19356 * manual/stdio.texi (Hook functions): Fix types of stream hook
19359 * socket/sys/socket.h: Fix typo in comment.
19361 2014-04-28 Wilco <wdijkstr@arm.com>
19363 * sysdeps/arm/fenv_private.h: New file.
19364 * sysdeps/arm/math_private.h: New file.
19365 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
19367 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
19369 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
19371 (La_x86_64_retval): Likewise.
19373 2014-04-24 Ian Bolton <ian.bolton@arm.com>
19375 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
19376 fpsr if value didn't change.
19377 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
19378 to fpcr if value didn't change.
19379 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
19380 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
19381 fpsr or fpcr if value didn't change.
19382 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19383 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
19384 fpcr if value didn't change.
19385 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
19386 to fpsr if value didn't change.
19388 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19390 * nptl/tst-sem3.c: Use test-skeleton.c
19391 (main): Rename to do_test. Use return instead of
19393 * nptl/tst-sem4.c: Use test-skeleton.c
19394 (main): Rename to do_test.
19396 2014-04-22 David S. Miller <davem@davemloft.net>
19398 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
19399 (struct sigaction): New struct member __glibc_reserved0, change
19400 type of sa_flags to int.
19402 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
19404 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
19405 (COUNT_LEADING_ZEROS_0): Define for AArch64.
19407 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19409 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
19410 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
19412 2014-04-22 Will Newton <will.newton@linaro.org>
19413 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
19415 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
19416 (__longjmp): Add longjmp and longjmp_target SystemTap
19418 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
19419 (__sigsetjmp): Add setjmp SystemTap probe.
19421 2014-04-17 Carlos O'Donell <carlos@redhat.com>
19423 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
19424 match manual order.
19426 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19428 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
19430 * sysdeps/powerpc/fpu/fenv_private.h
19431 (libc_feholdexcept_setroundl_ctx): Define to
19432 libc_feholdexcept_setround_ppc_ctx.
19433 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
19434 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
19435 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
19436 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
19438 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19440 * sysdeps/aarch64/math-tests.h: New file.
19442 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
19444 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
19446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19447 Check and set bit_AVX2_Usable.
19448 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
19450 (bit_AVX2): Likewise.
19451 (index_AVX2_Usable): Likewise.
19452 (CPUID_AVX2): Likewise.
19453 (HAS_AVX2): Likewise.
19455 2014-04-17 Will Newton <will.newton@linaro.org>
19457 * manual/setjmp.texi (System V contexts): Add note that
19458 calling setcontext on a context created by a call to a
19459 signal handler is undefined. Update text to note that
19460 setcontext from a signal handler is possible but not
19464 * stdlib/tst-setcontext.c: Include signal.h.
19465 (main): Check that the signal stack before and
19466 after swapcontext is the same.
19468 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
19469 Re-implement to restore registers in user code and avoid
19470 rt_sigreturn system call.
19472 2014-04-17 Wilco <wdijkstr@arm.com>
19474 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
19475 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
19476 * math/test-fenv.c: Skip exception trap tests on targets which only
19477 support non-stop mode.
19479 2014-04-17 Ian Bolton <ian.bolton@arm.com>
19480 Wilco Dijkstra <wilco.dijkstra@arm.com>
19482 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
19483 (libc_feholdsetround_aarch64_ctx)
19484 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
19485 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
19486 (libc_feresetround_ctx, libc_feresetroundf_ctx)
19487 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
19488 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
19489 (libc_feresetround_noexl_ctx): Define.
19491 2014-04-16 Richard Henderson <rth@redhat.com>
19493 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
19495 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
19498 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
19499 const from the non-libc, non-ldso copy.
19501 * sysdeps/alpha/libm-test-ulps: Regenerate.
19503 2014-04-16 Ian Bolton <ian.bolton@arm.com>
19504 Wilco Dijkstra <wilco.dijkstra@arm.com>
19506 * sysdeps/aarch64/fpu/math_private.h: New file.
19508 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
19510 * sysdeps/aarch64/libm-test-ulps: Regenerate.
19512 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
19515 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
19516 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
19517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
19518 Intel MPX bound registers before _dl_profile_fixup.
19519 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
19520 registers after _dl_profile_fixup. Save and restore bound
19521 registers bnd0/bnd1 when calling _dl_call_pltexit.
19522 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
19523 (LR_BND_OFFSET): Likewise.
19524 (LRV_BND0_OFFSET): Likewise.
19525 (LRV_BND1_OFFSET): Likewise.
19527 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19529 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
19531 * sysdeps/mach/hurd/i386/tls.h: ... here.
19532 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
19533 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
19536 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
19538 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
19540 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19542 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19544 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
19547 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19548 * sysdeps/s390/configure: Regenerate.
19551 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19552 Set round-to-nearest internally to reduce error accumulation.
19554 2014-04-16 Alan Modra <amodra@gmail.com>
19558 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19559 * math/libm-test.inc (frexp_test_data): Add tests.
19560 * NEWS: Update fixed bug list.
19562 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19564 * benchtests/Makefile: Depend on libraries in build directory.
19565 (bench-math): Separate out math tests.
19566 (bench-pthread): Separate out pthread tests.
19567 (bench): Include math and pthread tests.
19569 2014-04-14 Carlos O'Donell <carlos@redhat.com>
19572 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19573 _dl_debug_initialize.
19575 * configure.ac: Remove SELinux header check.
19576 * configure: Regenerate.
19577 * nscd/selinux.c (perms): Array of const char* to permission names.
19578 (nscd_request_avc_has_perm): Call security_deny_unknown to find
19579 default policy. Call string_to_security_class and string_to_av_perm to
19580 translate strings. Enforce default policy and call avs_has_perm with
19581 results of translated strings.
19583 2014-04-13 David S. Miller <davem@davemloft.net>
19585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19587 2014-04-12 Allan McRae <allan@archlinux.org>
19590 * manual/string.texi (Collation Functions): Fix qsort argument
19592 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19594 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
19596 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19597 Make the test a no-op if there are no exceptions defined.
19599 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
19601 * elf/Makefile (tests): make tst-dlopen-aout conditional on
19602 enable-hardcoded-path-in-tests
19604 2014-04-11 Will Newton <will.newton@linaro.org>
19606 * benchtests/Makefile (extra-objs): Add json-lib.o.
19607 (bench-func): Tidy up JSON output.
19608 * benchtests/bench-skeleton.c: Include json-lib.h.
19609 (main): Use JSON library functions to do output of
19611 * benchtests/bench-timing-type.c (main): Output the
19612 timing type simply, leaving formatting to the user.
19613 * benchtests/json-lib.c: New file.
19614 * benchtests/json-lib.h: Likewise.
19616 2014-04-11 Torvald Riegel <triegel@redhat.com>
19619 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19620 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
19621 memory barriers. Add comments.
19622 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19623 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19624 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19625 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19626 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19627 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19629 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19631 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19632 * sysdeps/s390/s390-64/configure.ac: ... this ...
19633 * sysdeps/s390/configure.ac: ... to here.
19634 * sysdeps/s390/s390-32/configure: Delete file.
19635 * sysdeps/s390/s390-64/configure: Delete file.
19636 * sysdeps/s390/configure: Regenerate.
19638 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
19640 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19642 2014-04-11 Will Newton <will.newton@linaro.org>
19644 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19645 to zero if it is not defined elsewhere. (mtrim): Test
19646 the value of MALLOC_DEBUG with #if rather than #ifdef.
19648 2014-04-10 Torvald Riegel <triegel@redhat.com>
19650 * benchtests/pthread_once-inputs: New file.
19651 * benchtests/pthread_once-source.c: New file.
19652 * benchtests/README: Update documentation.
19654 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
19655 H.J. Lu <hongjiu.lu@intel.com>
19658 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19659 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19660 * sysdeps/x86_64/configure: Regenerated.
19661 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19663 (REGISTER_SAVE_RAX): Likewise.
19664 (REGISTER_SAVE_RCX): Likewise.
19665 (REGISTER_SAVE_RDX): Likewise.
19666 (REGISTER_SAVE_RSI): Likewise.
19667 (REGISTER_SAVE_RDI): Likewise.
19668 (REGISTER_SAVE_R8): Likewise.
19669 (REGISTER_SAVE_R9): Likewise.
19670 (REGISTER_SAVE_BND0): Likewise.
19671 (REGISTER_SAVE_BND1): Likewise.
19672 (REGISTER_SAVE_BND2): Likewise.
19673 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
19674 bound registers when calling _dl_fixup.
19676 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19678 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19679 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19681 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19682 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19683 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19684 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19685 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19686 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19687 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19689 2014-04-09 Peter Brett <peter@peter-b.co.uk>
19692 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19693 pathconf(_PC_NAME_MAX).
19695 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19697 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19698 Remove macro usage.
19699 (__PTHREAD_SPINS): Move definition to ...
19700 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19701 (__PTHREAD_SPINS): ... here.
19702 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19703 (__PTHREAD_SPIN): Likewise.
19704 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19705 (__PTHREAD_SPIN): Likewise.
19706 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19707 (__PTHREAD_SPIN): Likewise.
19708 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19709 (__PTHREAD_SPIN): Likewise.
19710 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19711 (__PTHREAD_SPIN): Likewise.
19712 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19713 (__PTHREAD_SPIN): Likewise.
19714 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19715 (__PTHREAD_SPIN): Likewise.
19716 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19717 (__PTHREAD_SPIN): Likewise.
19718 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19719 (__PTHREAD_SPIN): Likewise.
19720 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19721 (__PTHREAD_SPIN): Likewise.
19722 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19723 (__PTHREAD_SPIN): Likewise.
19724 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19725 (__PTHREAD_SPIN): Likewise.
19727 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19728 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19729 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19730 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19732 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19733 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19734 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19735 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19736 correct imply path.
19737 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19738 strlen symbol for non multi-arch builds.
19739 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19740 missing hidden_def and weak_alias.
19742 2014-04-08 Carlos O'Donell <carlos@redhat.com>
19744 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19746 2014-04-07 Will Newton <will.newton@linaro.org>
19748 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19749 and contents. [!_LIBC] Remove #ifndef and contents.
19750 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
19751 * string/memccpy.c (__memccpy): Use ANSI prototype.
19752 * string/memfrob.c (memfrob): Likewise.
19753 * string/strcoll.c (STRCOLL): Likewise.
19754 * string/strlen.c (strlen): Likewise.
19755 * string/strtok.c (STRTOK): Likewise.
19756 * string/strcat.c: Remove unused #include of memcopy.h.
19757 (strcat): Use ANSI prototype.
19758 * string/strchr.c: Remove unused #include of memcopy.h.
19759 (strchr): Use ANSI prototype.
19760 * string/strcmp.c: Remove unused #include of memcopy.h.
19761 (strcmp): Use ANSI prototype.
19762 * string/strcpy.c: Remove unused #include of memcopy.h.
19763 (strcpy): Use ANSI prototype.
19765 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19767 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19768 * config.make.in (config-extra-cppflags): Set it from
19769 libc_extra_cppflags.
19770 * configure.ac (libc_extra_cflags): Make it accumulate over
19771 configure fragments.
19772 (libc_extra_cppflags): New flag.
19773 * configure. Regenerate.
19774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19775 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19776 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19780 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19781 result for FE_DOWNWARD rounding mode.
19782 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19786 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
19788 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19789 in function argument name.
19791 2014-04-03 David Svoboda <svoboda@cert.org>
19794 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19797 2014-04-03 Roland McGrath <roland@hack.frob.com>
19799 * elf/dl-unmap-segments.h: New file.
19800 * sysdeps/generic/ldsodefs.h
19801 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19802 * elf/dl-close.c: Include <dl-unmap-segments.h>.
19803 * elf/dl-fptr.c: Likewise.
19804 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19805 * sysdeps/aarch64/tlsdesc.c: Likewise.
19806 * sysdeps/arm/tlsdesc.c: Likewise.
19807 * sysdeps/i386/tlsdesc.c: Likewise.
19808 * sysdeps/tile/dl-runtime.c: Likewise.
19809 * sysdeps/x86_64/tlsdesc.c: Likewise.
19810 * elf/dl-load.h: New file.
19811 * elf/dl-load.c: Include it.
19812 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19813 Macros moved to dl-load.h.
19814 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19815 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19816 Use _dl_unmap_segments in place of __munmap.
19817 Break out segment-mapping loop into ...
19818 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19820 2014-04-03 Will Newton <will.newton@linaro.org>
19822 * elf/dl-lookup.c (do_lookup_x): Remove comment
19823 referring to nested function and move variable
19824 declarations down to before first use.
19826 2014-04-02 Joseph Myers <joseph@codesourcery.com>
19830 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19832 * math/s_catanf.c (__catanf): Likewise.
19833 * math/s_catanh.c (__catanh): Likewise.
19834 * math/s_catanhf.c (__catanhf): Likewise.
19835 * math/s_catanhl.c (__catanhl): Likewise.
19836 * math/s_catanl.c (__catanl): Likewise.
19837 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19838 by positive zero when computing -Inf result.
19839 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19840 (catanh_test): Likewise.
19841 * sysdeps/i386/fpu/libm-test-ulps: Update.
19842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19845 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19846 instead of using underflowing value in computing result.
19847 * math/s_clog10.c (__clog10): Likewise.
19848 * math/s_clog10f.c (__clog10f): Likewise.
19849 * math/s_clog10l.c (__clog10l): Likewise.
19850 * math/s_clogf.c (__clogf): Likewise.
19851 * math/s_clogl.c (__clogl): Likewise.
19852 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19853 (clog10_test): Likewise.
19854 * sysdeps/i386/fpu/libm-test-ulps: Update.
19855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19857 2014-04-02 Alan Modra <amodra@gmail.com>
19860 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19861 output when value is near a power of two. Use int64_t for lx and
19862 remove casts. Use decimal rather than hex exponent constants.
19863 Don't use long double multiplication when double will suffice.
19864 * math/libm-test.inc (nextafter_test_data): Add tests.
19865 * NEWS: Add 16739 and 16786 to bug list.
19867 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19869 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19871 2014-04-01 Will Newton <will.newton@linaro.org>
19873 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19874 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
19876 2014-04-01 Florian Weimer <fweimer@redhat.com>
19879 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19880 * nptl/tst-setuid2.c: New file.
19881 * nptl/Makefile (xtests): Add tst-setuid2.
19883 2014-04-01 Alan Modra <amodra@gmail.com>
19886 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19888 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19892 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19893 set errno as appropriate.
19894 * math/w_scalbf.c (__scalbf): Likewise.
19895 * math/w_scalbl.c (__scalbl): Likewise.
19896 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19897 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19898 * math/libm-test.inc (scalb_test_data): Add errno expectations.
19899 Add more NaN tests.
19902 * math/w_atan2.c: Include <errno.h>.
19903 (__atan2): Set errno for result underflowing to zero.
19904 * math/w_atan2f.c: Include <errno.h>.
19905 (__atan2f): Set errno for result underflowing to zero.
19906 * math/w_atan2l.c: Include <errno.h>.
19907 (__atan2l): Set errno for result underflowing to zero.
19908 * math/auto-libm-test-in: Don't allow missing errno for some atan2
19910 * math/auto-libm-test-out: Regenerated.
19912 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19914 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19915 Encode instruction correctly in little endian.
19916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19918 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19920 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19922 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19925 2014-03-31 Joseph Myers <joseph@codesourcery.com>
19928 * sysdeps/unix/sysv/linux/kernel-features.h
19929 [__sparc__ && !__arch64__ && !__sparc_v9__]
19930 (__ASSUME_SET_ROBUST_LIST): Do not define.
19931 [__sparc__ && !__arch64__ && !__sparc_v9__]
19932 (__ASSUME_FUTEX_LOCK_PI): Likewise.
19933 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19935 * sysdeps/unix/sysv/linux/arm/kernel-features.h
19936 (__ASSUME_FUTEX_LOCK_PI): Undefine.
19937 (__ASSUME_REQUEUE_PI): Likewise.
19938 (__ASSUME_SET_ROBUST_LIST): Likewise.
19939 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19940 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19942 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19943 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19945 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19947 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19949 * sysdeps/unix/sysv/linux/mips/kernel-features.h
19950 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19952 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19953 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19957 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19958 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19959 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19961 2014-03-31 Will Newton <will.newton@linaro.org>
19963 * benchtests/Makefile (bench): Add ffs and ffsll to list
19965 * benchtests/ffs-inputs: New file.
19966 * benchtests/ffsll-inputs: Likewise.
19968 2014-03-29 Joseph Myers <joseph@codesourcery.com>
19971 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19972 too large before casting to int.
19973 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19974 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19975 * math/libm-test.inc (scalb_test_data): Add more tests.
19977 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19979 * benchtests/Makefile (DETAILED_OPT): New make option.
19980 (bench-func): Run benchmark program with -d if DETAILED_OPT is
19982 * benchtests/bench-skeleton.c: Include stdbool.h.
19983 (main): Store and print timings per input.
19984 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19985 member to each argument value.
19986 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19987 (_print_arg_data): Initialize per-input timing to 0.
19989 * benchtests/Makefile (timing-type): New binary.
19990 (bench-clean): Also remove bench-timing-type.
19991 (bench): New target for timing-type.
19992 (bench-func): Print output in JSON format.
19993 * benchtests/bench-skeleton.c (main): Print output in JSON
19995 * benchtests/bench-timing-type.c: New file.
19996 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19997 (TIMING_PRINT_STATS): Remove.
19998 * benchtests/scripts/bench.py (_print_arg_data): Store variant
20001 * benchtests/bench-modf.c: Remove.
20002 * benchtests/modf-inputs: New inputs file.
20004 2014-03-28 Joseph Myers <joseph@codesourcery.com>
20007 * math/s_clog10.c (M_PI_LOG10E): New macro.
20008 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
20009 imaginary parts are 0.
20010 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
20011 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
20012 imaginary parts are 0.
20013 * math/s_clog10l.c (M_PI_LOG10El): New macro.
20014 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
20015 imaginary parts are 0.
20016 * math/libm-test.inc (clog10_test_data): Update expected results
20017 for when real and imaginary parts are 0.
20019 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
20021 * elf/dl-load.c: Finish conversion of __builtin_expect into
20022 __glibc_{un}likely.
20024 2014-03-27 Joseph Myers <joseph@codesourcery.com>
20027 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
20028 1+x for argument with exponent below -67.
20029 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
20031 * math/auto-libm-test-in: Add more tests of exp.
20032 * math/auto-libm-test-out: Regenerated.
20034 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20037 * inet/getnetgrent_r.c (get_nonempty_val): New function.
20038 (nscd_getnetgrent): Use it.
20041 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
20044 2014-03-27 Andi Kleen <ak@linux.intel.com>
20046 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
20047 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20048 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20049 (lll_robust_unlock): Remove out of line section. Use cfi
20051 (LLL_STUB_UNWIND_INFO*): Remove.
20052 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
20053 (lll_robust_lock, lll_cond_lock, lll_timedlock)
20054 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
20055 (lll_robust_unlock): Remove out of line section. Use cfi
20057 (LLL_STUB_UNWIND_INFO*): Remove.
20059 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20062 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
20065 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
20067 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
20069 2014-03-26 Joseph Myers <joseph@codesourcery.com>
20072 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
20074 * math/test-fenv-preserve.c: New file.
20075 * math/Makefile (tests): Add test-fenv-preserve.
20077 2014-03-26 Will Newton <will.newton@linaro.org>
20079 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
20081 2014-03-25 Roland McGrath <roland@hack.frob.com>
20083 * scripts/versionlist.awk: Partition the version sets and emit all
20084 GLIBC_* (sorted) before all others (sorted).
20086 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20088 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
20089 GLIBC_2.2.5 version.
20091 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20093 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
20096 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
20099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20101 2014-03-25 Andreas Schwab <schwab@suse.de>
20103 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
20104 label to be used after in6ailist is initialized.
20106 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20108 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20109 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20111 2014-03-25 Joseph Myers <joseph@codesourcery.com>
20115 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
20117 (fp_formats): Update initializers.
20118 (init_fp_formats): Initialize new field.
20119 (output_for_one_input_case): Allow underflow for results up to
20121 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
20122 * math/auto-libm-test-in: Don't mark some underflows from asin and
20124 * math/auto-libm-test-out: Regenerated.
20125 * sysdeps/i386/fpu/libm-test-ulps: Update.
20126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20128 2014-03-25 Andreas Schwab <schwab@suse.de>
20130 * libio/Makefile (tst-ftell-partial-wide-ENV)
20131 (tst-ftell-active-handler-ENV): Define.
20133 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
20135 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
20137 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20139 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
20141 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20143 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
20144 * sysdeps/x86_64/fpu/multiarch/e_exp.c
20145 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
20147 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
20150 * elf/dl-load.c (open_verify): Add mode parameter.
20151 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
20152 (open_path): Change from boolean 'secure' to complete flag 'mode'
20153 (_dl_map_object): Adjust.
20154 * elf/Makefile (tests): Add tst-dlopen-aout.
20155 * elf/tst-dlopen-aout.c: New test.
20157 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20160 * sysdeps/unix/sysv/linux/s390/bits/stat.h
20161 (struct stat): Rename member pad0 to __glibc_reserved0.
20164 * sysdeps/s390/s390-32/bits/wordsize.h
20165 (__WORDSIZE32_SIZE_ULONG): New define.
20166 * sysdeps/s390/s390-64/bits/wordsize.h
20167 (__WORDSIZE32_SIZE_ULONG): Likewise.
20168 * sysdeps/generic/stdint.h (SIZE_MAX):
20169 Define as UL if __WORDSIZE32_SIZE_ULONG.
20172 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
20173 (__glibc_reserved0): New variable.
20174 (sa_flags): Change type to int.
20176 * posix/Makefile (before-compile): Use += before-compile instead
20179 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20180 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
20182 2014-03-20 Andreas Schwab <schwab@suse.de>
20185 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
20186 non-matching result from nscd.
20188 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20190 * scripts/bench.py: Moved to ...
20191 * benchtests/scripts/bench.py: ... here.
20192 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
20194 2014-03-24 Andreas Schwab <schwab@suse.de>
20197 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
20198 alloca_account and account alloca use for struct in6ailist.
20200 2014-03-24 Joseph Myers <joseph@codesourcery.com>
20203 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
20204 rounding mode to recompute results that overflow to infinity or
20206 * math/auto-libm-test-in: Don't mark tests as expected to fail for
20208 * math/auto-libm-test-out: Regenerated.
20209 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
20210 (ccosh_test): Likewise.
20211 (csin_test_data): Use plus_oflow.
20212 (csin_test): Use ALL_RM_TEST.
20213 (csinh_test_data): Use plus_oflow.
20214 (csinh_test): Use ALL_RM_TEST.
20215 * sysdeps/i386/fpu/libm-test-ulps: Update.
20216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20218 2014-03-21 Joseph Myers <joseph@codesourcery.com>
20220 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
20221 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
20222 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
20225 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
20226 when x - 1 is zero.
20227 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
20228 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
20229 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20230 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
20232 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
20233 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
20235 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
20236 * sysdeps/i386/fpu/libm-test-ulps: Update.
20237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20239 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20241 * scripts/bench.pl: Remove file.
20242 * scripts/bench.py: New benchmark script.
20243 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
20244 * benchtests/README: Mention python dependency.
20245 * scripts/pylintrc: New file.
20246 * scripts/pylint: New file.
20248 * bits/mathdef.h: Use #ifdef instead of #if.
20249 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
20250 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20251 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
20252 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20253 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
20254 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
20256 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20257 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20259 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
20260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
20261 and strpbrk-ppc64 objects.
20262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20263 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
20264 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
20265 multiarch strpbrk for POWER7.
20266 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
20267 multiarch strpbrk for PPC64.
20268 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
20270 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
20271 strpbrk for POWER7.
20273 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20275 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
20276 (atan_test): Likewise.
20277 (atanh_test_data): Use NO_TEST_INLINE for two tests.
20278 (atanh_test): Use ALL_RM_TEST.
20279 (atan2_test_data): Likewise.
20280 (cabs_test): Likewise.
20281 (cacosh_test): Likewise.
20282 (carg_test): Likewise.
20283 (casin_test): Likewise.
20284 (casinh_test): Likewise.
20285 (cbrt_test): Likewise.
20286 (csqrt_test): Likewise.
20287 (erf_test): Likewise.
20288 (erfc_test): Likewise.
20289 (pow10_test): Likewise.
20290 (exp2_test): Likewise.
20291 (hypot_test): Likewise.
20292 (j0_test): Likewise.
20293 (j1_test): Likewise.
20294 (lgamma_test): Likewise.
20295 (gamma_test): Likewise.
20296 (sincos_test): Likewise.
20297 (tanh_test): Likewise.
20298 (y0_test): Likewise.
20299 (y1_test): Likewise.
20300 * sysdeps/i386/fpu/libm-test-ulps: Update.
20301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20303 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20305 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
20306 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
20307 and strcspn-ppc64 objects.
20308 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20309 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
20310 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
20311 multiarch strcspn for POWER7.
20312 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
20313 multiarch strcspn for PPC64.
20314 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
20316 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
20317 strcspn for POWER7.
20319 2014-03-20 Joseph Myers <joseph@codesourcery.com>
20321 * math/gen-libm-test.pl (generate_testfile): Expect only function
20322 name as argument to AUTO_TESTS_* and pass results for all rounding
20323 modes to parse_args.
20324 (parse_auto_input): Separate inputs of automatic tests from
20325 outputs before storing in %auto_tests.
20326 * math/libm-test.inc (acos_test_data): Update call to
20328 (acos_test): Use ALL_RM_TEST.
20329 (acos_tonearest_test_data): Remove.
20330 (acos_test_tonearest): Likewise.
20331 (acos_towardzero_test_data): Likewise.
20332 (acos_test_towardzero): Likewise.
20333 (acos_downward_test_data): Likewise.
20334 (acos_test_downward): Likewise.
20335 (acos_upward_test_data): Likewise.
20336 (acos_test_upward): Likewise.
20337 (acosh_test_data): Update call to AUTO_TESTS_f_f.
20338 (asin_test_data): Likewise.
20339 (asin_test): Use ALL_RM_TEST.
20340 (asin_tonearest_test_data): Remove.
20341 (asin_test_tonearest): Likewise.
20342 (asin_towardzero_test_data): Likewise.
20343 (asin_test_towardzero): Likewise.
20344 (asin_downward_test_data): Likewise.
20345 (asin_test_downward): Likewise.
20346 (asin_upward_test_data): Likewise.
20347 (asin_test_upward): Likewise.
20348 (asinh_test_data): Update call to AUTO_TESTS_f_f.
20349 (atan_test_data): Likewise.
20350 (atanh_test_data): Likewise.
20351 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
20352 (cabs_test_data): Update call to AUTO_TESTS_c_f.
20353 (carg_test_data): Likewise.
20354 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
20355 (ccos_test_data): Update call to AUTO_TESTS_c_c.
20356 (ccosh_test_data): Likewise.
20357 (cexp_test_data): Likewise.
20358 (clog_test_data): Likewise.
20359 (clog10_test_data): Likewise.
20360 (cos_test_data): Update call to AUTO_TESTS_f_f.
20361 (cos_test): Use ALL_RM_TEST.
20362 (cos_tonearest_test_data): Remove.
20363 (cos_test_tonearest): Likewise.
20364 (cos_towardzero_test_data): Likewise.
20365 (cos_test_towardzero): Likewise.
20366 (cos_downward_test_data): Likewise.
20367 (cos_test_downward): Likewise.
20368 (cos_upward_test_data): Likewise.
20369 (cos_test_upward): Likewise.
20370 (cosh_test_data): Update call to AUTO_TESTS_f_f.
20371 (cosh_test): Use ALL_RM_TEST.
20372 (cosh_tonearest_test_data): Remove.
20373 (cosh_test_tonearest): Likewise.
20374 (cosh_towardzero_test_data): Likewise.
20375 (cosh_test_towardzero): Likewise.
20376 (cosh_downward_test_data): Likewise.
20377 (cosh_test_downward): Likewise.
20378 (cosh_upward_test_data): Likewise.
20379 (cosh_test_upward): Likewise.
20380 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
20381 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
20382 (ctan_test_data): Likewise.
20383 (ctan_test): Use ALL_RM_TEST.
20384 (ctan_tonearest_test_data): Remove.
20385 (ctan_test_tonearest): Likewise.
20386 (ctan_towardzero_test_data): Likewise.
20387 (ctan_test_towardzero): Likewise.
20388 (ctan_downward_test_data): Likewise.
20389 (ctan_test_downward): Likewise.
20390 (ctan_upward_test_data): Likewise.
20391 (ctan_test_upward): Likewise.
20392 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
20393 (ctanh_test): Use ALL_RM_TEST.
20394 (ctanh_tonearest_test_data): Remove.
20395 (ctanh_test_tonearest): Likewise.
20396 (ctanh_towardzero_test_data): Likewise.
20397 (ctanh_test_towardzero): Likewise.
20398 (ctanh_downward_test_data): Likewise.
20399 (ctanh_test_downward): Likewise.
20400 (ctanh_upward_test_data): Likewise.
20401 (ctanh_test_upward): Likewise.
20402 (erf_test_data): Update call to AUTO_TESTS_f_f.
20403 (erfc_test_data): Likewise.
20404 (exp_test_data): Likewise.
20405 (exp_test): Use ALL_RM_TEST.
20406 (exp_tonearest_test_data): Remove.
20407 (exp_test_tonearest): Likewise.
20408 (exp_towardzero_test_data): Likewise.
20409 (exp_test_towardzero): Likewise.
20410 (exp_downward_test_data): Likewise.
20411 (exp_test_downward): Likewise.
20412 (exp_upward_test_data): Likewise.
20413 (exp_test_upward): Likewise.
20414 (exp10_test_data): Update call to AUTO_TESTS_f_f.
20415 (exp10_test): Use ALL_RM_TEST.
20416 (exp10_tonearest_test_data): Remove.
20417 (exp10_test_tonearest): Likewise.
20418 (exp10_towardzero_test_data): Likewise.
20419 (exp10_test_towardzero): Likewise.
20420 (exp10_downward_test_data): Likewise.
20421 (exp10_test_downward): Likewise.
20422 (exp10_upward_test_data): Likewise.
20423 (exp10_test_upward): Likewise.
20424 (exp2_test_data): Update call to AUTO_TESTS_f_f.
20425 (expm1_test_data): Likewise.
20426 (expm1_test): Use ALL_RM_TEST.
20427 (expm1_tonearest_test_data): Remove.
20428 (expm1_test_tonearest): Likewise.
20429 (expm1_towardzero_test_data): Likewise.
20430 (expm1_test_towardzero): Likewise.
20431 (expm1_downward_test_data): Likewise.
20432 (expm1_test_downward): Likewise.
20433 (expm1_upward_test_data): Likewise.
20434 (expm1_test_upward): Likewise.
20435 (fma_test_data): Update call to AUTO_TESTS_fff_f.
20436 (fma_test): Use ALL_RM_TEST.
20437 (fma_towardzero_test_data): Remove.
20438 (fma_test_towardzero): Likewise.
20439 (fma_downward_test_data): Likewise.
20440 (fma_test_downward): Likewise.
20441 (fma_upward_test_data): Likewise.
20442 (fma_test_upward): Likewise.
20443 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
20444 (j0_test_data): Update call to AUTO_TESTS_f_f.
20445 (j1_test_data): Likewise.
20446 (jn_test_data): Update call to AUTO_TESTS_if_f.
20447 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
20448 (log_test_data): Update call to AUTO_TESTS_f_f.
20449 (log10_test_data): Likewise.
20450 (log1p_test_data): Likewise.
20451 (log2_test_data): Likewise.
20452 (pow_test_data): Update call to AUTO_TESTS_ff_f.
20453 (pow_tonearest_test_data): Likewise.
20454 (sin_test_data): Update call to AUTO_TESTS_f_f.
20455 (sin_test): Use ALL_RM_TEST.
20456 (sin_tonearest_test_data): Remove.
20457 (sin_test_tonearest): Likewise.
20458 (sin_towardzero_test_data): Likewise.
20459 (sin_test_towardzero): Likewise.
20460 (sin_downward_test_data): Likewise.
20461 (sin_test_downward): Likewise.
20462 (sin_upward_test_data): Likewise.
20463 (sin_test_upward): Likewise.
20464 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
20465 (sinh_test_data): Update call to AUTO_TESTS_f_f.
20466 (sinh_test): Use ALL_RM_TEST.
20467 (sinh_tonearest_test_data): Remove.
20468 (sinh_test_tonearest): Likewise.
20469 (sinh_towardzero_test_data): Likewise.
20470 (sinh_test_towardzero): Likewise.
20471 (sinh_downward_test_data): Likewise.
20472 (sinh_test_downward): Likewise.
20473 (sinh_upward_test_data): Likewise.
20474 (sinh_test_upward): Likewise.
20475 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
20476 (sqrt_test): Use ALL_RM_TEST.
20477 (sqrt_tonearest_test_data): Remove.
20478 (sqrt_test_tonearest): Likewise.
20479 (sqrt_towardzero_test_data): Likewise.
20480 (sqrt_test_towardzero): Likewise.
20481 (sqrt_downward_test_data): Likewise.
20482 (sqrt_test_downward): Likewise.
20483 (sqrt_upward_test_data): Likewise.
20484 (sqrt_test_upward): Likewise.
20485 (tan_test_data): Update call to AUTO_TESTS_f_f.
20486 (tan_test): Use ALL_RM_TEST.
20487 (tan_tonearest_test_data): Remove.
20488 (tan_test_tonearest): Likewise.
20489 (tan_towardzero_test_data): Likewise.
20490 (tan_test_towardzero): Likewise.
20491 (tan_downward_test_data): Likewise.
20492 (tan_test_downward): Likewise.
20493 (tan_upward_test_data): Likewise.
20494 (tan_test_upward): Likewise.
20495 (tanh_test_data): Update call to AUTO_TESTS_f_f.
20496 (tgamma_test_data): Likewise.
20497 (y0_test_data): Likewise.
20498 (y1_test_data): Likewise.
20499 (yn_test_data): Update call to AUTO_TESTS_if_f.
20500 (main): Do not call removed functions.
20502 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20504 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
20505 (ldexp_test_data): Remove.
20506 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
20508 (scalb_test): Use ALL_RM_TEST.
20510 2014-03-19 Andreas Schwab <schwab@suse.de>
20512 * nscd/nscd.service: Also invalidate netgroup cache on reload.
20514 2014-03-19 Joseph Myers <joseph@codesourcery.com>
20517 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20518 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
20519 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
20520 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20521 (__ASSUME_PREADV): Undefine.
20522 (__ASSUME_PWRITEV): Likewise.
20524 2014-03-18 Roland McGrath <roland@hack.frob.com>
20526 * bits/mman-linux.h: Add comment about non-Linux use.
20527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
20528 bits/mman-linux.h resting place.
20530 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
20531 * bits/mman-linux.h: ... here.
20533 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20535 * conform/conformtest.pl: Add standard definition when calling C
20536 preprocessor on data files.
20537 (checknamespace): Remove unused variable.
20539 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20541 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
20542 minus_oflow, plus_uflow and minus_uflow in expected results.
20543 * math/libm-test.inc (scalbn_test_data): Add more tests of
20544 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
20546 (scalbn_test): Use ALL_RM_TEST.
20547 (scalbln_test_data): Add more tests of negative arguments. Use
20548 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20549 (scalbln_test): Use ALL_RM_TEST.
20551 2014-03-18 Roland McGrath <roland@hack.frob.com>
20553 * scripts/abilist.awk: Ignore symbols marked with .hidden.
20555 2014-03-18 Will Newton <will.newton@linaro.org>
20557 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20558 inaccurate comment.
20560 2014-03-18 Joseph Myers <joseph@codesourcery.com>
20562 * Makerules [!subdir] (check-abi): Exit with error status if a
20565 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20567 * math/libm-test.inc (nearbyint_test_data): Include all tests used
20568 for rint. Include results for all rounding modes.
20569 (nearbyint_test): Use ALL_RM_TEST.
20570 (rint_test_data): Include all tests used for nearbyint.
20572 2014-03-17 Will Newton <will.newton@linaro.org>
20574 * nptl/sysdeps/pthread/pthread.h: Revert previous
20577 * sysdeps/generic/ldsodefs.h: Revert previous
20580 * libio/genops.c: Revert previous change.
20581 * libio/libioP.h: Likewise.
20582 * stdio-common/vfprintf.c: Likewise.
20584 * sysdeps/generic/math_private.h: Revert previous
20587 * sysdeps/generic/math_private.h: Check whether
20588 HAVE_RM_CTX is defined with #ifdef rather
20591 * argp/argp-fmtstream.h: Check whether
20592 __STRICT_ANSI__ is defined with #ifdef rather
20594 * argp/argp.h: Likewise.
20596 * libio/genops.c: Check whether
20597 _IO_JUMPS_OFFSET is defined with #ifdef rather
20599 * libio/libioP.h: Likewise.
20600 * stdio-common/vfprintf.c: Likewise.
20602 * sysdeps/generic/ldsodefs.h: Check whether
20603 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20606 * nptl/sysdeps/pthread/pthread.h: Check
20607 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20610 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20612 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20614 * libio/tst-ftell-active-handler.c (do_append_test): Add a
20618 * libio/fileops.c (_IO_file_open): Seek to end of file but
20619 don't cache the offset.
20620 (get_file_offset): Remove function.
20621 (do_ftell): Use cached offset when available.
20622 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20623 don't cache the offset.
20624 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20626 (do_one_test): Call it.
20627 (do_ftell_test): Fix up expected old offset for a+ mode.
20628 * libio/wfileops.c (do_ftell_wide): Used cached offset when
20631 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20632 up test status with function return status.
20633 (do_write_test): Likewise.
20634 (do_append_test): Likewise.
20636 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20637 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20640 2014-03-17 Joseph Myers <joseph@codesourcery.com>
20642 * math/gen-libm-test.pl (parse_args): Handle results specified for
20643 each rounding mode separately.
20644 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20645 tests and results from lrint_tonearest_test_data,
20646 lrint_towardzero_test_data, lrint_downward_test_data and
20647 lrint_upward_test_data.
20648 (lrint_test): Use ALL_RM_TEST.
20649 (lrint_tonearest_test_data): Remove.
20650 (lrint_test_tonearest): Likewise.
20651 (lrint_towardzero_test_data): Likewise.
20652 (lrint_test_towardzero): Likewise.
20653 (lrint_downward_test_data): Likewise.
20654 (lrint_test_downward): Likewise.
20655 (lrint_upward_test_data): Likewise.
20656 (lrint_test_upward): Likewise.
20657 (llrint_test_data): Merge in per-rounding-mode tests and results
20658 from llrint_tonearest_test_data, llrint_towardzero_test_data,
20659 llrint_downward_test_data and llrint_upward_test_data.
20660 (llrint_test): Use ALL_RM_TEST.
20661 (llrint_tonearest_test_data): Remove.
20662 (llrint_test_tonearest): Likewise.
20663 (llrint_towardzero_test_data): Likewise.
20664 (llrint_test_towardzero): Likewise.
20665 (llrint_downward_test_data): Likewise.
20666 (llrint_test_downward): Likewise.
20667 (llrint_upward_test_data): Likewise.
20668 (llrint_test_upward): Likewise.
20669 (rint_test_data): Merge in per-rounding-mode tests and results
20670 from rint_tonearest_test_data, rint_towardzero_test_data,
20671 rint_downward_test_data and rint_upward_test_data. Add
20672 per-rounding-mode results for tests not in those arrays.
20673 (rint_test): Use ALL_RM_TEST.
20674 (rint_tonearest_test_data): Remove.
20675 (rint_test_tonearest): Likewise.
20676 (rint_towardzero_test_data): Likewise.
20677 (rint_test_towardzero): Likewise.
20678 (rint_downward_test_data): Likewise.
20679 (rint_test_downward): Likewise.
20680 (rint_upward_test_data): Likewise.
20681 (rint_test_upward): Likewise.
20682 (main): Don't call removed functions.
20684 2014-03-14 Roland McGrath <roland@hack.frob.com>
20686 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20687 "Compiled on ..." crapola. It is anti-useful.
20689 2014-03-14 Joseph Myers <joseph@codesourcery.com>
20691 * scripts/evaluate-test.sh: Handle fourth argument to determine
20692 whether test run should stop on failure.
20693 * Makeconfig (stop-on-test-failure): New variable.
20694 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20695 $(stop-on-test-failure).
20696 * Makefile (tests): Give a summary of results from testing and
20697 exit with failure status if they include an ERROR or FAIL.
20698 (xtests): Likewise.
20699 * manual/install.texi (Configuring and compiling): Mention
20700 stop-on-test-failure=y.
20701 * INSTALL: Regenerated.
20703 2014-03-14 Roland McGrath <roland@hack.frob.com>
20705 * scripts/versionlist.awk: New file.
20706 * Makerules [$(build-shared) = yes]
20707 (postclean-generated): Add Versions.def, not Versions.def.v and
20709 ($(common-objpfx)Versions.def.v.i): Target removed.
20710 ($(common-objpfx)Versions.def): New target.
20711 ($(common-objpfx)Versions.all): Depend on that rather that
20712 $(common-objpfx)Versions.def.v.
20713 * Versions.def: File removed.
20715 * Makeconfig (+gccwarn): Add -Wundef.
20716 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20717 a dl-sysdep.h breaking its contract.
20718 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20719 * include/stackinfo.h: New file.
20720 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20721 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20722 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20723 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20724 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20725 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20726 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20727 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20728 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20729 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20730 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20731 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20732 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20733 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20734 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20736 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20739 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20741 * math/libm-test.inc (round_test_data): Add more tests.
20744 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20746 * math/libm-test.inc (nearbyint_test_data): Add more tests.
20749 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20751 * math/libm-test.inc (ceil_test_data): Add more tests.
20753 * math/libm-test.inc (trunc_test_data): Add more tests related to
20756 2014-03-14 Roland McGrath <roland@hack.frob.com>
20758 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20759 with #if rather than #ifdef.
20760 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20762 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
20764 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20765 first. Disable AVX-512 GCC support if assembler doesn't support
20767 * sysdeps/x86_64/configure: Regenerated.
20769 2014-03-13 Carlos O'Donell <carlos@redhat.com>
20771 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20772 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20773 (__old_pthread_attr_setstack): Likewise.
20774 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20775 [!_STACK_GROWS_DOWN]: Likewise.
20777 2014-03-13 Mike Frysinger <vapier@gentoo.org>
20779 * config.make.in (have-bash2): Delete.
20780 * configure.ac (libc_cv_have_bash2): Delete.
20781 * configure: Regenerate.
20782 * elf/Makefile (common-ldd-rewrite): Rename to ...
20783 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
20784 (sh-ldd-rewrite): Delete.
20785 (bash-ldd-rewrite): Delete.
20786 (have-bash2): Delete checks.
20787 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20790 * config.make.in (have-ksh): Delete.
20792 * configure.ac (libc_cv_have_ksh): Delete.
20793 * configure: Regenerate.
20795 * elf/Makefile: Delete $(have-ksh) check.
20796 ($(objpfx)sotruss): Change KSH to BASH.
20797 * elf/sotruss.ksh: Rename to ...
20798 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
20799 function style to match POSIX. Drop ksh vim mode setting.
20801 * manual/time.texi (Specifying the Time Zone with TZ): Change
20802 Tuesday to Thursday.
20804 * debug/tst-longjmp_chk2.c: Update header comment.
20805 (stackoverflow_handler): Add comment. Call assert on pass value.
20807 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
20810 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20811 (HAVE_AVX512_ASM_SUPPORT): Likewise.
20812 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20813 (La_x86_64_vector): Add zmm.
20814 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20815 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20816 ($(objpfx)tst-audit10): New target.
20817 ($(objpfx)tst-audit10.out): Likewise.
20818 (tst-audit10-ENV): New.
20819 (AVX512-CFLAGS): Likewise.
20820 (CFLAGS-tst-audit10.c): Likewise.
20821 (CFLAGS-tst-auditmod10a.c): Likewise.
20822 (CFLAGS-tst-auditmod10b.c): Likewise.
20823 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20824 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20825 * sysdeps/x86_64/configure: Regenerated.
20826 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20827 AVX-512 zmm register support.
20828 (_dl_x86_64_save_sse): Likewise.
20829 (_dl_x86_64_restore_sse): Likewise.
20830 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20831 size vector registers.
20832 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20833 (ZMM_SIZE): Likewise.
20834 * sysdeps/x86_64/tst-audit10.c: New file.
20835 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20836 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20838 2014-03-13 Roland McGrath <roland@hack.frob.com>
20840 * configure.ac (HAVE_EHDR_START): New check.
20841 * configure: Regenerated.
20842 * config.h.in (HAVE_EHDR_START): New #undef.
20843 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20844 assuming the lowest-addressed segment maps the start of the file.
20846 2014-03-13 Joseph Myers <joseph@codesourcery.com>
20848 * INSTALL: Regenerated.
20850 2014-03-13 Will Newton <will.newton@linaro.org>
20852 * manual/setjmp.texi (System V contexts): Improve
20853 clarity and grammar of documentation.
20855 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
20858 * elf/Makefile (tests): Add tst-pie2.
20859 (tests-pie): Add tst-pie2.
20860 * elf/tst-pie2.c: New file.
20861 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20863 * elf/rtld.c (map_doit): Load executable as lt_executable.
20864 (dl_main): Likewise.
20866 2014-03-12 Joseph Myers <joseph@codesourcery.com>
20869 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20870 (__ASSUME_PSELECT): Undefine.
20872 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20875 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20876 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20878 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20879 selector for static builds.
20881 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20884 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20887 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20889 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20890 IFUNC selector for static builds.
20892 2014-03-11 Joseph Myers <joseph@codesourcery.com>
20894 * sysdeps/mips/math_private.h [__mips_hard_float]
20895 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20896 libc_feresetround_mips_ctx.
20897 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20898 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20899 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20902 * math/s_nextafter.c (__nextafter): Do not return value from
20903 overflowing computation.
20904 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20905 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20906 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20908 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20910 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20911 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20913 2014-03-11 Roland McGrath <roland@hack.frob.com>
20915 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20916 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20917 Move sfi_sp use from the load-multiple (that no longer sets sp) to
20918 the new mov targetting sp.
20920 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20923 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20924 Define it for static builds as well.
20925 (NO_BZERO_IMPL): Likewise.
20927 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20929 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20930 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20931 multiarch strspn for PPC64.
20932 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20933 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20935 (__libc_ifunc_impl_list): Likewise.
20936 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20937 multiarch optimizations
20938 * string/strspn.c (strspn): Using macro to redefine symbol name.
20940 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
20941 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20943 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20944 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20945 multiarch strncat for PPC64.
20946 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20947 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20949 (__libc_ifunc_impl_list): Likewise.
20950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20951 multiarch optimizations
20953 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20956 * nscd/nscd.service: Make service type forking.
20958 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20960 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20961 sign in non default rounding modes.
20962 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20964 2014-03-08 Joseph Myers <joseph@codesourcery.com>
20966 * math/libm-test.inc (ALL_RM_TEST): New macro.
20967 (ceil_test): Use ALL_RM_TEST.
20968 (cimag_test): Likewise.
20969 (conj_test): Likewise.
20970 (copysign_test): Likewise.
20971 (cproj_test): Likewise.
20972 (creal_test): Likewise.
20973 (fabs_test): Likewise.
20974 (floor_test): Likewise.
20975 (fmax_test): Likewise.
20976 (fmin_test): Likewise.
20977 (fmod_test): Likewise.
20978 (fpclassify_test): Likewise.
20979 (frexp_test): Likewise.
20980 (ilogb_test): Likewise.
20981 (isfinite_test): Likewise.
20982 (finite_test): Likewise.
20983 (isgreater_test): Likewise.
20984 (isgreaterequal_test): Likewise.
20985 (isinf_test): Likewise.
20986 (isless_test): Likewise.
20987 (islessequal_test): Likewise.
20988 (islessgreater_test): Likewise.
20989 (isnan_test): Likewise.
20990 (isnormal_test): Likewise.
20991 (issignaling_test): Likewise.
20992 (isunordered_test): Likewise.
20993 (logb_test): Likewise.
20994 (logb_downward_test_data): Remove.
20995 (logb_test_downward): Likewise.
20996 (lround_test): Use ALL_RM_TEST.
20997 (llround_test): Likewise.
20998 (modf_test): Likewise.
20999 (nexttoward_test): Likewise.
21000 (remainder_test): Likewise.
21001 (drem_test): Likewise.
21002 (remainder_tonearest_test_data): Likewise.
21003 (remainder_test_tonearest): Likewise.
21004 (drem_test_tonearest): Likewise.
21005 (remainder_towardzero_test_data): Likewise.
21006 (remainder_test_towardzero): Likewise.
21007 (drem_test_towardzero): Likewise.
21008 (remainder_downward_test_data): Likewise.
21009 (remainder_test_downward): Likewise.
21010 (drem_test_downward): Likewise.
21011 (remainder_upward_test_data): Likewise.
21012 (remainder_test_upward): Likewise.
21013 (drem_test_upward): Likewise.
21014 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
21015 (round_test): Use ALL_RM_TEST.
21016 (signbit_test): Likewise.
21017 (trunc_test): Likewise.
21018 (significand_test): Likewise.
21019 (main): Don't call removed functions.
21021 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21024 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
21025 || __USE_XOPEN2K8].
21026 (ILL_ILLOPN): Likewise.
21027 (ILL_ILLADR): Likewise.
21028 (ILL_ILLTRP): Likewise.
21029 (ILL_PRVOPC): Likewise.
21030 (ILL_PRVREG): Likewise.
21031 (ILL_COPROC): Likewise.
21032 (ILL_BADSTK): Likewise.
21033 (FPE_INTDIV): Likewise.
21034 (FPE_INTOVF): Likewise.
21035 (FPE_FLTDIV): Likewise.
21036 (FPE_FLTOVF): Likewise.
21037 (FPE_FLTUND): Likewise.
21038 (FPE_FLTRES): Likewise.
21039 (FPE_FLTINV): Likewise.
21040 (FPE_FLTSUB): Likewise.
21041 (SEGV_MAPERR): Likewise.
21042 (SEGV_ACCERR): Likewise.
21043 (BUS_ADRALN): Likewise.
21044 (BUS_ADRERR): Likewise.
21045 (BUS_OBJERR): Likewise.
21046 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21047 (TRAP_TRACE): Likewise.
21048 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21050 (CLD_KILLED): Likewise.
21051 (CLD_DUMPED): Likewise.
21052 (CLD_TRAPPED): Likewise.
21053 (CLD_STOPPED): Likewise.
21054 (CLD_CONTINUED): Likewise.
21055 (POLL_IN): Likewise.
21056 (POLL_OUT): Likewise.
21057 (POLL_MSG): Likewise.
21058 (POLL_ERR): Likewise.
21059 (POLL_PRI): Likewise.
21060 (POLL_HUP): Likewise.
21061 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
21063 (ILL_ILLOPN): Likewise.
21064 (ILL_ILLADR): Likewise.
21065 (ILL_ILLTRP): Likewise.
21066 (ILL_PRVOPC): Likewise.
21067 (ILL_PRVREG): Likewise.
21068 (ILL_COPROC): Likewise.
21069 (ILL_BADSTK): Likewise.
21070 (FPE_INTDIV): Likewise.
21071 (FPE_INTOVF): Likewise.
21072 (FPE_FLTDIV): Likewise.
21073 (FPE_FLTOVF): Likewise.
21074 (FPE_FLTUND): Likewise.
21075 (FPE_FLTRES): Likewise.
21076 (FPE_FLTINV): Likewise.
21077 (FPE_FLTSUB): Likewise.
21078 (SEGV_MAPERR): Likewise.
21079 (SEGV_ACCERR): Likewise.
21080 (BUS_ADRALN): Likewise.
21081 (BUS_ADRERR): Likewise.
21082 (BUS_OBJERR): Likewise.
21083 (BUS_MCEERR_AR): Likewise.
21084 (BUS_MCEERR_AO): Likewise.
21085 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21086 (TRAP_TRACE): Likewise.
21087 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21089 (CLD_KILLED): Likewise.
21090 (CLD_DUMPED): Likewise.
21091 (CLD_TRAPPED): Likewise.
21092 (CLD_STOPPED): Likewise.
21093 (CLD_CONTINUED): Likewise.
21094 (POLL_IN): Likewise.
21095 (POLL_OUT): Likewise.
21096 (POLL_MSG): Likewise.
21097 (POLL_ERR): Likewise.
21098 (POLL_PRI): Likewise.
21099 (POLL_HUP): Likewise.
21100 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
21101 (ILL_ILLOPN): Likewise.
21102 (ILL_ILLADR): Likewise.
21103 (ILL_ILLTRP): Likewise.
21104 (ILL_PRVOPC): Likewise.
21105 (ILL_PRVREG): Likewise.
21106 (ILL_COPROC): Likewise.
21107 (ILL_BADSTK): Likewise.
21108 (FPE_INTDIV): Likewise.
21109 (FPE_INTOVF): Likewise.
21110 (FPE_FLTDIV): Likewise.
21111 (FPE_FLTOVF): Likewise.
21112 (FPE_FLTUND): Likewise.
21113 (FPE_FLTRES): Likewise.
21114 (FPE_FLTINV): Likewise.
21115 (FPE_FLTSUB): Likewise.
21116 (SEGV_MAPERR): Likewise.
21117 (SEGV_ACCERR): Likewise.
21118 (BUS_ADRALN): Likewise.
21119 (BUS_ADRERR): Likewise.
21120 (BUS_OBJERR): Likewise.
21121 (BUS_MCEERR_AR): Likewise.
21122 (BUS_MCEERR_AO): Likewise.
21123 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21124 (TRAP_TRACE): Likewise.
21125 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21127 (CLD_KILLED): Likewise.
21128 (CLD_DUMPED): Likewise.
21129 (CLD_TRAPPED): Likewise.
21130 (CLD_STOPPED): Likewise.
21131 (CLD_CONTINUED): Likewise.
21132 (POLL_IN): Likewise.
21133 (POLL_OUT): Likewise.
21134 (POLL_MSG): Likewise.
21135 (POLL_ERR): Likewise.
21136 (POLL_PRI): Likewise.
21137 (POLL_HUP): Likewise.
21138 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
21140 (ILL_ILLOPN): Likewise.
21141 (ILL_ILLADR): Likewise.
21142 (ILL_ILLTRP): Likewise.
21143 (ILL_PRVOPC): Likewise.
21144 (ILL_PRVREG): Likewise.
21145 (ILL_COPROC): Likewise.
21146 (ILL_BADSTK): Likewise.
21147 (ILL_BADIADDR): Likewise.
21148 (ILL_BREAK): Likewise.
21149 (FPE_INTDIV): Likewise.
21150 (FPE_INTOVF): Likewise.
21151 (FPE_FLTDIV): Likewise.
21152 (FPE_FLTOVF): Likewise.
21153 (FPE_FLTUND): Likewise.
21154 (FPE_FLTRES): Likewise.
21155 (FPE_FLTINV): Likewise.
21156 (FPE_FLTSUB): Likewise.
21157 (FPE_DECOVF): Likewise.
21158 (FPE_DECDIV): Likewise.
21159 (FPE_DECERR): Likewise.
21160 (FPE_INVASC): Likewise.
21161 (FPE_INVDEC): Likewise.
21162 (SEGV_MAPERR): Likewise.
21163 (SEGV_ACCERR): Likewise.
21164 (SEGV_PSTKOVF): Likewise.
21165 (BUS_ADRALN): Likewise.
21166 (BUS_ADRERR): Likewise.
21167 (BUS_OBJERR): Likewise.
21168 (BUS_MCEERR_AR): Likewise.
21169 (BUS_MCEERR_AO): Likewise.
21170 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21171 (TRAP_TRACE): Likewise.
21172 (TRAP_BRANCH): Likewise.
21173 (TRAP_HWBKPT): Likewise.
21174 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21176 (CLD_KILLED): Likewise.
21177 (CLD_DUMPED): Likewise.
21178 (CLD_TRAPPED): Likewise.
21179 (CLD_STOPPED): Likewise.
21180 (CLD_CONTINUED): Likewise.
21181 (POLL_IN): Likewise.
21182 (POLL_OUT): Likewise.
21183 (POLL_MSG): Likewise.
21184 (POLL_ERR): Likewise.
21185 (POLL_PRI): Likewise.
21186 (POLL_HUP): Likewise.
21187 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
21188 (ILL_ILLOPN): Likewise.
21189 (ILL_ILLADR): Likewise.
21190 (ILL_ILLTRP): Likewise.
21191 (ILL_PRVOPC): Likewise.
21192 (ILL_PRVREG): Likewise.
21193 (ILL_COPROC): Likewise.
21194 (ILL_BADSTK): Likewise.
21195 (FPE_INTDIV): Likewise.
21196 (FPE_INTOVF): Likewise.
21197 (FPE_FLTDIV): Likewise.
21198 (FPE_FLTOVF): Likewise.
21199 (FPE_FLTUND): Likewise.
21200 (FPE_FLTRES): Likewise.
21201 (FPE_FLTINV): Likewise.
21202 (FPE_FLTSUB): Likewise.
21203 (SEGV_MAPERR): Likewise.
21204 (SEGV_ACCERR): Likewise.
21205 (BUS_ADRALN): Likewise.
21206 (BUS_ADRERR): Likewise.
21207 (BUS_OBJERR): Likewise.
21208 (BUS_MCEERR_AR): Likewise.
21209 (BUS_MCEERR_AO): Likewise.
21210 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21211 (TRAP_TRACE): Likewise.
21212 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21214 (CLD_KILLED): Likewise.
21215 (CLD_DUMPED): Likewise.
21216 (CLD_TRAPPED): Likewise.
21217 (CLD_STOPPED): Likewise.
21218 (CLD_CONTINUED): Likewise.
21219 (POLL_IN): Likewise.
21220 (POLL_OUT): Likewise.
21221 (POLL_MSG): Likewise.
21222 (POLL_ERR): Likewise.
21223 (POLL_PRI): Likewise.
21224 (POLL_HUP): Likewise.
21225 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
21226 (ILL_ILLOPN): Likewise.
21227 (ILL_ILLADR): Likewise.
21228 (ILL_ILLTRP): Likewise.
21229 (ILL_PRVOPC): Likewise.
21230 (ILL_PRVREG): Likewise.
21231 (ILL_COPROC): Likewise.
21232 (ILL_BADSTK): Likewise.
21233 (FPE_INTDIV): Likewise.
21234 (FPE_INTOVF): Likewise.
21235 (FPE_FLTDIV): Likewise.
21236 (FPE_FLTOVF): Likewise.
21237 (FPE_FLTUND): Likewise.
21238 (FPE_FLTRES): Likewise.
21239 (FPE_FLTINV): Likewise.
21240 (FPE_FLTSUB): Likewise.
21241 (SEGV_MAPERR): Likewise.
21242 (SEGV_ACCERR): Likewise.
21243 (BUS_ADRALN): Likewise.
21244 (BUS_ADRERR): Likewise.
21245 (BUS_OBJERR): Likewise.
21246 (BUS_MCEERR_AR): Likewise.
21247 (BUS_MCEERR_AO): Likewise.
21248 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21249 (TRAP_TRACE): Likewise.
21250 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21252 (CLD_KILLED): Likewise.
21253 (CLD_DUMPED): Likewise.
21254 (CLD_TRAPPED): Likewise.
21255 (CLD_STOPPED): Likewise.
21256 (CLD_CONTINUED): Likewise.
21257 (POLL_IN): Likewise.
21258 (POLL_OUT): Likewise.
21259 (POLL_MSG): Likewise.
21260 (POLL_ERR): Likewise.
21261 (POLL_PRI): Likewise.
21262 (POLL_HUP): Likewise.
21263 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
21264 (ILL_ILLOPN): Likewise.
21265 (ILL_ILLADR): Likewise.
21266 (ILL_ILLTRP): Likewise.
21267 (ILL_PRVOPC): Likewise.
21268 (ILL_PRVREG): Likewise.
21269 (ILL_COPROC): Likewise.
21270 (ILL_BADSTK): Likewise.
21271 (FPE_INTDIV): Likewise.
21272 (FPE_INTOVF): Likewise.
21273 (FPE_FLTDIV): Likewise.
21274 (FPE_FLTOVF): Likewise.
21275 (FPE_FLTUND): Likewise.
21276 (FPE_FLTRES): Likewise.
21277 (FPE_FLTINV): Likewise.
21278 (FPE_FLTSUB): Likewise.
21279 (SEGV_MAPERR): Likewise.
21280 (SEGV_ACCERR): Likewise.
21281 (BUS_ADRALN): Likewise.
21282 (BUS_ADRERR): Likewise.
21283 (BUS_OBJERR): Likewise.
21284 (BUS_MCEERR_AR): Likewise.
21285 (BUS_MCEERR_AO): Likewise.
21286 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21287 (TRAP_TRACE): Likewise.
21288 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21290 (CLD_KILLED): Likewise.
21291 (CLD_DUMPED): Likewise.
21292 (CLD_TRAPPED): Likewise.
21293 (CLD_STOPPED): Likewise.
21294 (CLD_CONTINUED): Likewise.
21295 (POLL_IN): Likewise.
21296 (POLL_OUT): Likewise.
21297 (POLL_MSG): Likewise.
21298 (POLL_ERR): Likewise.
21299 (POLL_PRI): Likewise.
21300 (POLL_HUP): Likewise.
21301 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
21302 (ILL_ILLOPN): Likewise.
21303 (ILL_ILLADR): Likewise.
21304 (ILL_ILLTRP): Likewise.
21305 (ILL_PRVOPC): Likewise.
21306 (ILL_PRVREG): Likewise.
21307 (ILL_COPROC): Likewise.
21308 (ILL_BADSTK): Likewise.
21309 (ILL_DBLFLT): Likewise.
21310 (ILL_HARDWALL): Likewise.
21311 (FPE_INTDIV): Likewise.
21312 (FPE_INTOVF): Likewise.
21313 (FPE_FLTDIV): Likewise.
21314 (FPE_FLTOVF): Likewise.
21315 (FPE_FLTUND): Likewise.
21316 (FPE_FLTRES): Likewise.
21317 (FPE_FLTINV): Likewise.
21318 (FPE_FLTSUB): Likewise.
21319 (SEGV_MAPERR): Likewise.
21320 (SEGV_ACCERR): Likewise.
21321 (BUS_ADRALN): Likewise.
21322 (BUS_ADRERR): Likewise.
21323 (BUS_OBJERR): Likewise.
21324 (BUS_MCEERR_AR): Likewise.
21325 (BUS_MCEERR_AO): Likewise.
21326 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21327 (TRAP_TRACE): Likewise.
21328 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21330 (CLD_KILLED): Likewise.
21331 (CLD_DUMPED): Likewise.
21332 (CLD_TRAPPED): Likewise.
21333 (CLD_STOPPED): Likewise.
21334 (CLD_CONTINUED): Likewise.
21335 (POLL_IN): Likewise.
21336 (POLL_OUT): Likewise.
21337 (POLL_MSG): Likewise.
21338 (POLL_ERR): Likewise.
21339 (POLL_PRI): Likewise.
21340 (POLL_HUP): Likewise.
21341 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
21342 (ILL_ILLOPN): Likewise.
21343 (ILL_ILLADR): Likewise.
21344 (ILL_ILLTRP): Likewise.
21345 (ILL_PRVOPC): Likewise.
21346 (ILL_PRVREG): Likewise.
21347 (ILL_COPROC): Likewise.
21348 (ILL_BADSTK): Likewise.
21349 (FPE_INTDIV): Likewise.
21350 (FPE_INTOVF): Likewise.
21351 (FPE_FLTDIV): Likewise.
21352 (FPE_FLTOVF): Likewise.
21353 (FPE_FLTUND): Likewise.
21354 (FPE_FLTRES): Likewise.
21355 (FPE_FLTINV): Likewise.
21356 (FPE_FLTSUB): Likewise.
21357 (SEGV_MAPERR): Likewise.
21358 (SEGV_ACCERR): Likewise.
21359 (BUS_ADRALN): Likewise.
21360 (BUS_ADRERR): Likewise.
21361 (BUS_OBJERR): Likewise.
21362 (BUS_MCEERR_AR): Likewise.
21363 (BUS_MCEERR_AO): Likewise.
21364 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
21365 (TRAP_TRACE): Likewise.
21366 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
21368 (CLD_KILLED): Likewise.
21369 (CLD_DUMPED): Likewise.
21370 (CLD_TRAPPED): Likewise.
21371 (CLD_STOPPED): Likewise.
21372 (CLD_CONTINUED): Likewise.
21373 (POLL_IN): Likewise.
21374 (POLL_OUT): Likewise.
21375 (POLL_MSG): Likewise.
21376 (POLL_ERR): Likewise.
21377 (POLL_PRI): Likewise.
21378 (POLL_HUP): Likewise.
21379 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
21380 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21383 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
21384 before #include of <time.h>.
21385 [!__USE_XOPEN2K] (__need_timespec): Likewise.
21386 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
21387 (test-xfail-UNIX98/sched.h/conform): Likewise.
21389 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
21391 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
21392 error absence of trapping exception support.
21393 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
21395 2014-03-07 Joseph Myers <joseph@codesourcery.com>
21397 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
21398 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
21399 * timezone/Makefile (testdata): Move definition above include of
21401 (test-zones): New variable.
21402 (tests-special): Add zone files.
21403 (build-testdata): Use $(evaluate-test).
21405 * elf/Makefile (tests-special): Rename tests to end with .out.
21406 ($(objpfx)noload-mem): Likewise.
21407 ($(objpfx)tst-leaks1-mem): Likewise.
21408 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
21409 * iconv/Makefile (xtests-special): Change test-iconvconfig to
21410 $(objpfx)test-iconvconfig.out.
21411 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
21412 set -e inside subshell and redirect output to file.
21413 * iconvdata/Makefile (generated): Rename tests to end with .out.
21415 (tests-special): Rename tests to end with .out.
21416 ($(objpfx)mtrace-tst-loading): Likewise.
21417 * intl/Makefile (generated): Likewise.
21418 (tests-special): Likewise.
21419 ($(objpfx)mtrace-tst-gettext): Likewise.
21420 * misc/Makefile (generated): Likewise.
21421 (tests-special): Likewise.
21422 ($(objpfx)tst-error1-mem): Likewise.
21423 * nptl/Makefile (tests-special): Likewise.
21424 ($(objpfx)tst-stack3-mem): Likewise.
21425 (generated): Likewise.
21426 * posix/Makefile (generated): Likewise.
21427 (tests-special): Likewise.
21428 (xtests-special): Likewise.
21429 ($(objpfx)tst-fnmatch-mem): Likewise.
21430 ($(objpfx)bug-regex2-mem): Likewise.
21431 ($(objpfx)bug-regex14-mem): Likewise.
21432 ($(objpfx)bug-regex21-mem): Likewise.
21433 ($(objpfx)bug-regex31-mem): Likewise.
21434 ($(objpfx)tst-vfork3-mem): Likewise.
21435 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21436 ($(objpfx)tst-pcre-mem): Likewise.
21437 ($(objpfx)tst-boost-mem): Likewise.
21438 ($(objpfx)bug-ga2-mem): Likewise.
21439 ($(objpfx)bug-glob2-mem): Likewise.
21440 * resolv/Makefile (generate): Likewise.
21441 (tests-special): Likewise.
21442 (xtests-special): Likewise.
21443 (generated): Likewise.
21444 ($(objpfx)mtrace-tst-leaks): Likewise.
21445 ($(objpfx)mtrace-tst-leaks2): Likewise.
21447 * scripts/merge-test-results.sh: New file.
21448 * Makefile (tests-special-notdir): New variable.
21449 (tests): Run merge-test-results.sh.
21450 (xtests): Likewise.
21451 * Rules (tests-special-notdir): New variable.
21452 (xtests-special-notdir): Likewise.
21453 (tests): Run merge-test-results.sh
21454 (xtests): Likewise.
21456 * Makeconfig (test-xfail-name): New variable.
21457 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
21458 compute variable name for expected failures.
21459 * conform/Makefile (conformtest-headers-data): New variable.
21460 (conformtest-standards): Likewise.
21461 (conformtest-headers-ISO): Likewise.
21462 (conformtest-headers-ISO99): Likewise.
21463 (conformtest-headers-ISO11): Likewise.
21464 (conformtest-headers-POSIX): Likewise.
21465 (conformtest-headers-XPG3): Likewise.
21466 (conformtest-headers-XPG4): Likewise.
21467 (conformtest-headers-UNIX98): Likewise.
21468 (conformtest-headers-XOPEN2K): Likewise.
21469 (conformtest-headers-POSIX2008): Likewise.
21470 (conformtest-headers-XOPEN2K8): Likewise.
21471 (conformtest-header-list-base): Likewise.
21472 (conformtest-header-list-tests): Likewise.
21473 (conformtest-header-base): Likewise.
21474 (conformtest-header-tests): Likewise.
21475 (tests-special): Add $(conformtest-header-list-tests). If
21476 [$(fast-check) && !$(cross-compiling)], add
21477 $(conformtest-header-tests) instead of
21478 $(objpfx)run-conformtest.out.
21479 (generated): Add $(conformtest-header-list-base). If
21480 [$(fast-check) && !$(cross-compiling)], add
21481 $(conformtest-header-base). Remove previous setting.
21482 ($(conformtest-header-list-tests)): New target.
21483 (test-xfail-run-conformtest): Remove variable.
21484 ($(objpfx)run-conformtest.out): Remove target.
21485 (test-xfail-ISO11/complex.h/conform): New variable.
21486 (test-xfail-ISO11/stdalign.h/conform): Likewise.
21487 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21488 (test-xfail-XPG3/varargs.h/conform): Likewise.
21489 (test-xfail-XPG4/varargs.h/conform): Likewise.
21490 (test-xfail-UNIX98/varargs.h/conform): Likewise.
21491 (test-xfail-XPG4/ndbm.h/conform): Likewise.
21492 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
21493 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
21494 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
21495 (test-xfail-XPG3/fcntl.h/conform): Likewise.
21496 (test-xfail-XPG3/ftw.h/conform): Likewise.
21497 (test-xfail-XPG3/grp.h/conform): Likewise.
21498 (test-xfail-XPG3/langinfo.h/conform): Likewise.
21499 (test-xfail-XPG3/limits.h/conform): Likewise.
21500 (test-xfail-XPG3/pwd.h/conform): Likewise.
21501 (test-xfail-XPG3/search.h/conform): Likewise.
21502 (test-xfail-XPG3/signal.h/conform): Likewise.
21503 (test-xfail-XPG3/stdio.h/conform): Likewise.
21504 (test-xfail-XPG3/stdlib.h/conform): Likewise.
21505 (test-xfail-XPG3/string.h/conform): Likewise.
21506 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
21507 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
21508 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21509 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21510 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
21511 (test-xfail-XPG3/sys/types.h/conform): Likewise.
21512 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
21513 (test-xfail-XPG3/termios.h/conform): Likewise.
21514 (test-xfail-XPG3/time.h/conform): Likewise.
21515 (test-xfail-XPG3/unistd.h/conform): Likewise.
21516 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
21517 (test-xfail-XPG4/fcntl.h/conform): Likewise.
21518 (test-xfail-XPG4/langinfo.h/conform): Likewise.
21519 (test-xfail-XPG4/netdb.h/conform): Likewise.
21520 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
21521 (test-xfail-XPG4/signal.h/conform): Likewise.
21522 (test-xfail-XPG4/stdio.h/conform): Likewise.
21523 (test-xfail-XPG4/stdlib.h/conform): Likewise.
21524 (test-xfail-XPG4/stropts.h/conform): Likewise.
21525 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21526 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21527 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21528 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21529 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21530 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
21531 (test-xfail-XPG4/sys/time.h/conform): Likewise.
21532 (test-xfail-XPG4/sys/types.h/conform): Likewise.
21533 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
21534 (test-xfail-XPG4/termios.h/conform): Likewise.
21535 (test-xfail-XPG4/ucontext.h/conform): Likewise.
21536 (test-xfail-XPG4/unistd.h/conform): Likewise.
21537 (test-xfail-XPG4/utmpx.h/conform): Likewise.
21538 (test-xfail-POSIX/sched.h/conform): Likewise.
21539 (test-xfail-POSIX/signal.h/conform): Likewise.
21540 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
21541 (test-xfail-POSIX/tar.h/conform): Likewise.
21542 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
21543 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
21544 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21545 (test-xfail-UNIX98/netdb.h/conform): Likewise.
21546 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21547 (test-xfail-UNIX98/sched.h/conform): Likewise.
21548 (test-xfail-UNIX98/signal.h/conform): Likewise.
21549 (test-xfail-UNIX98/stdio.h/conform): Likewise.
21550 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21551 (test-xfail-UNIX98/stropts.h/conform): Likewise.
21552 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21553 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21554 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21555 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21556 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21557 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21558 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21559 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21560 (test-xfail-UNIX98/unistd.h/conform): Likewise.
21561 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21562 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21563 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21564 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21565 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21566 (test-xfail-XOPEN2K/math.h/conform): Likewise.
21567 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21568 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21569 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21570 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21571 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21572 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21573 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21574 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21575 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21576 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21577 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21578 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21579 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21580 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21581 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21582 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21583 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21584 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21585 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21586 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21587 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21588 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21589 (test-xfail-POSIX2008/signal.h/conform): Likewise.
21590 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21591 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21592 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21593 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21594 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21595 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21596 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21597 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21598 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21599 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21600 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21601 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21602 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21603 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21604 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21605 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21606 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21607 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21608 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21609 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21610 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21611 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21612 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21613 (conformtest-cc-flags): Likewise.
21614 ($(conformtest-header-tests): New target.
21615 * conform/check-header-lists.sh: New file.
21616 * conform/run-conformtest.sh: Remove.
21618 * conform/conformtest.pl: Allow ' and \ in values given for
21620 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21622 [POSIX] (sys/types.h): Likewise.
21623 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21625 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21627 * conform/data/signal.h-data (SIGIO): Remove expectation.
21628 [XPG3] (SIGBUS): Do not expect.
21629 [POSIX || XPG3] (SIGPOLL): Likewise.
21630 [POSIX || XPG3] (SIGPROF): Likewise.
21631 [POSIX || XPG3] (SIGSYS): Likewise.
21632 [XPG3] (SIGTRAP): Likewise.
21633 [POSIX || XPG3] (SIGURG): Likewise.
21634 [POSIX || XPG3] (SIGVTALRM): Likewise.
21635 [POSIX || XPG3] (SIGXCPU): Likewise.
21636 [POSIX || XPG3] (SIGXFSZ): Likewise.
21637 [POSIX] (SA_SIGINFO): Expect.
21638 [XPG3] (siginfo_t): Do not expect type or contents.
21639 [POSIX] (si_pid): Do not expect element.
21640 [POSIX] (si_uid): Likewise.
21641 [POSIX] (si_addr): Likewise.
21642 [POSIX] (si_status): Likewise.
21643 [POSIX] (si_band): Likewise.
21644 [XPG4] (si_value): Likewise.
21645 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21646 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21647 [POSIX || XPG3] (ILL_ILLADR): Likewise.
21648 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21649 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21650 [POSIX || XPG3] (ILL_PRVREG): Likewise.
21651 [POSIX || XPG3] (ILL_COPROC): Likewise.
21652 [POSIX || XPG3] (ILL_BADSTK): Likewise.
21653 [POSIX || XPG3] (FPE_INTDIV): Likewise.
21654 [POSIX || XPG3] (FPE_INTOVF): Likewise.
21655 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21656 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21657 [POSIX || XPG3] (FPE_FLTUND): Likewise.
21658 [POSIX || XPG3] (FPE_FLTRES): Likewise.
21659 [POSIX || XPG3] (FPE_FLTINV): Likewise.
21660 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21661 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21662 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21663 [POSIX || XPG3] (BUS_ADRALN): Likewise.
21664 [POSIX || XPG3] (BUS_ADRERR): Likewise.
21665 [POSIX || XPG3] (BUS_OBJERR): Likewise.
21666 [POSIX || XPG3] (CLD_EXITED): Likewise.
21667 [POSIX || XPG3] (CLD_KILLED): Likewise.
21668 [POSIX || XPG3] (CLD_DUMPED): Likewise.
21669 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21670 [POSIX || XPG3] (CLD_STOPPED): Likewise.
21671 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21672 [POSIX || XPG3] (POLL_IN): Likewise.
21673 [POSIX || XPG3] (POLL_OUT): Likewise.
21674 [POSIX || XPG3] (POLL_MSG): Likewise.
21675 [POSIX || XPG3] (POLL_ERR): Likewise.
21676 [POSIX || XPG3] (POLL_PRI): Likewise.
21677 [POSIX || XPG3] (POLL_HUP): Likewise.
21678 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21679 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21680 (SIG*): Do not allow.
21681 [XPG3] (si_*): Likewise.
21682 [XPG3] (SI_*): Likewise.
21683 [XPG3 || XPG4] (sigev_*): Likewise.
21684 [XPG3 || XPG4] (SIGEV_*): Likewise.
21685 [XPG3 || XPG4] (sival_*): Likewise.
21686 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21687 [POSIX || XPG3] (BUS_*): Likewise.
21688 [POSIX || XPG3] (CLD_*): Likewise.
21689 [POSIX || XPG3] (FPE_*): Likewise.
21690 [POSIX || XPG3] (ILL_*): Likewise.
21691 [POSIX || XPG3] (POLL_*): Likewise.
21692 [POSIX || XPG3] (SEGV_*): Likewise.
21693 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21694 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21695 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21696 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21697 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21698 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21699 Specify type and value.
21700 (TVERSLEN): Likewise.
21701 (REGTYPE): Likewise.
21702 (AREGTYPE): Likewise.
21703 (LNKTYPE): Likewise.
21704 (SYMTYPE): Likewise.
21705 (CHRTYPE): Likewise.
21706 (BLKTYPE): Likewise.
21707 (DIRTYPE): Likewise.
21708 (FIFOTYPE): Likewise.
21709 (CONTTYPE): Likewise.
21713 (TUREAD): Likewise.
21714 (TUWRITE): Likewise.
21715 (TUEXEC): Likewise.
21716 (TGREAD): Likewise.
21717 (TGWRITE): Likewise.
21718 (TGEXEC): Likewise.
21719 (TOREAD): Likewise.
21720 (TOWRITE): Likewise.
21721 (TOEXEC): Likewise.
21722 [POSIX] (TSVTX): Expect constant.
21724 2014-03-06 Joseph Myers <joseph@codesourcery.com>
21726 * Makefile (tests): Change dependencies to ....
21727 (tests-special): ... additions to this variable.
21728 (tests): Depend on $(tests-special).
21729 * Makerules (check-abi-list): New variable.
21730 (check-abi): Depend on $(check-abi-list).
21731 [$(subdir) = elf] (tests-special): Add
21732 $(objpfx)check-abi-libc.out.
21733 [$(build-shared) = yes && subdir] (tests-special): Add
21735 [$(build-shared) = yes && subdir] (tests): Do not depend on
21737 * Rules (tests): Depend on $(tests-special).
21738 (xtests): Depend on $(xtests-special).
21739 * catgets/Makefile (tests): Change dependencies to ....
21740 (tests-special): ... additions to this variable.
21741 * conform/Makefile (tests): Change dependencies to ....
21742 (tests-special): ... additions to this variable.
21743 * elf/Makefile (tests): Change dependencies to ....
21744 (tests-special): ... additions to this variable.
21745 * grp/Makefile (tests): Change dependencies to ....
21746 (tests-special): ... additions to this variable.
21747 * iconv/Makefile (xtests): Change dependencies to ....
21748 (xtests-special): ... additions to this variable.
21749 * iconvdata/Makefile (tests): Change dependencies to ....
21750 (tests-special): ... additions to this variable.
21751 * intl/Makefile (tests): Change dependencies to ....
21752 (tests-special): ... additions to this variable. Also add
21753 $(objpfx)tst-gettext.out.
21754 * io/Makefile (tests): Change dependencies to ....
21755 (tests-special): ... additions to this variable.
21756 * libio/Makefile (tests): Change dependencies to ....
21757 (tests-special): ... additions to this variable.
21758 * malloc/Makefile (tests): Change dependencies to ....
21759 (tests-special): ... additions to this variable.
21760 * misc/Makefile (tests): Change dependencies to ....
21761 (tests-special): ... additions to this variable.
21762 * nptl/Makefile (tests): Change dependencies to ....
21763 (tests-special): ... additions to this variable.
21764 * nptl_db/Makefile (tests): Change dependencies to ....
21765 (tests-special): ... additions to this variable.
21766 * posix/Makefile (tests): Change dependencies to ....
21767 (tests-special): ... additions to this variable.
21768 (xtests): Change dependencies to ....
21769 (xtests-special): ... additions to this variable.
21770 * resolv/Makefile (tests): Change dependencies to ....
21771 (tests-special): ... additions to this variable.
21772 (xtests): Change dependencies to ....
21773 (xtests-special): ... additions to this variable.
21774 * stdio-common/Makefile (tests): Change dependencies to ....
21775 (tests-special): ... additions to this variable.
21776 (do-tst-unbputc): Remove target.
21777 (do-tst-printf): Likewise.
21778 * stdlib/Makefile (tests): Change dependencies to ....
21779 (tests-special): ... additions to this variable.
21780 * string/Makefile (tests): Change dependencies to ....
21781 (tests-special): ... additions to this variable.
21782 * sysdeps/x86/Makefile (tests): Change dependencies to ....
21783 (tests-special): ... additions to this variable.
21785 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21787 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21789 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21790 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21792 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21793 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21794 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21795 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21796 * conform/data/libgen.h-data [XPG3]: Likewise.
21797 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21798 * conform/data/ndbm.h-data [XPG3]: Likewise.
21799 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21800 * conform/data/netdb.h-data [XPG3]: Likewise.
21801 * conform/data/netinet/in.h-data [XPG3]: Likewise.
21802 * conform/data/poll.h-data [XPG3]: Likewise.
21803 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21804 * conform/data/strings.h-data [XPG3]: Likewise.
21805 * conform/data/stropts.h-data [XPG3]: Likewise.
21806 * conform/data/sys/mman.h-data [XPG3]: Likewise.
21807 * conform/data/sys/resource.h-data [XPG3]: Likewise.
21808 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21810 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21811 * conform/data/sys/time.h-data [XPG3]: Likewise.
21812 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21813 * conform/data/sys/uio.h-data [XPG3]: Likewise.
21814 * conform/data/sys/un.h-data [XPG3]: Likewise.
21815 * conform/data/syslog.h-data [XPG3]: Likewise.
21816 * conform/data/ucontext.h-data [XPG3]: Likewise.
21817 * conform/data/utmpx.h-data [XPG3]: Likewise.
21818 * conform/data/varargs.h-data [UNIX98]: Enable file.
21820 * manual/Makefile (INSTALL_INFO): Remove variable setting.
21822 * math/libm-test.inc (struct test_f_f_data): Move expected results
21823 into structure for each rounding mode.
21824 (struct test_ff_f_data): Likewise.
21825 (struct test_ff_f_data_nexttoward): Likewise.
21826 (struct test_fi_f_data): Likewise.
21827 (struct test_fl_f_data): Likewise.
21828 (struct test_if_f_data): Likewise.
21829 (struct test_fff_f_data): Likewise.
21830 (struct test_c_f_data): Likewise.
21831 (struct test_f_f1_data): Likewise.
21832 (struct test_fF_f1_data): Likewise.
21833 (struct test_ffI_f1_data): Likewise.
21834 (struct test_c_c_data): Likewise.
21835 (struct test_cc_c_data): Likewise.
21836 (struct test_f_i_data): Likewise.
21837 (struct test_ff_i_data): Likewise.
21838 (struct test_f_l_data): Likewise.
21839 (struct test_f_L_data): Likewise.
21840 (struct test_fFF_11_data): Likewise.
21842 (RM_FE_DOWNWARD): Likewise.
21843 (RM_FE_TONEAREST): Likewise.
21844 (RM_FE_TOWARDZERO): Likewise.
21845 (RM_FE_UPWARD): Likewise.
21846 (RUN_TEST_LOOP_f_f): Update references to expected results.
21847 (RUN_TEST_LOOP_2_f): Likewise.
21848 (RUN_TEST_LOOP_fff_f): Likewise.
21849 (RUN_TEST_LOOP_c_f): Likewise.
21850 (RUN_TEST_LOOP_f_f1): Likewise.
21851 (RUN_TEST_LOOP_fF_f1): Likewise.
21852 (RUN_TEST_LOOP_fI_f1): Likewise.
21853 (RUN_TEST_LOOP_ffI_f1): Likewise.
21854 (RUN_TEST_LOOP_c_c): Likewise.
21855 (RUN_TEST_LOOP_cc_c): Likewise.
21856 (RUN_TEST_LOOP_f_i): Likewise.
21857 (RUN_TEST_LOOP_f_i_tg): Likewise.
21858 (RUN_TEST_LOOP_ff_i_tg): Likewise.
21859 (RUN_TEST_LOOP_f_b): Likewise.
21860 (RUN_TEST_LOOP_f_b_tg): Likewise.
21861 (RUN_TEST_LOOP_f_l): Likewise.
21862 (RUN_TEST_LOOP_f_L): Likewise.
21863 (RUN_TEST_LOOP_fFF_11): Likewise.
21864 * math/gen-libm-test.pl (parse_args): Output four copies of
21865 expected results for each test.
21867 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21868 (__ASSUME_UTIMES): Remove.
21869 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21870 (__ASSUME_UTIMES): Likewise.
21872 * math/gen-auto-libm-tests.c: Update comment on output format.
21873 (output_for_one_input_case): Generate before-rounding and
21874 after-rounding information as conditions on output flags not
21875 floating-point format.
21876 * math/auto-libm-test-out: Regenerated.
21877 * math/gen-libm-test.pl (cond_value): New function.
21878 (or_cond_value): Use cond_value.
21879 (generate_testfile): Handle conditional exceptions.
21881 2014-03-05 Joseph Myers <joseph@codesourcery.com>
21883 * math/libm-test.inc (max_valid_error): New variable.
21884 (init_max_error): Take new argument specifying whether function
21885 results are exactly determined. Set max_valid_error and bound
21886 other variables for errors based on this argument.
21887 (set_max_error): Do not record results above max_valid_error.
21888 (check_float_internal): Only accept errors of up to 0.5ulps if
21889 also at most max_valid_error.
21890 (START): Take new argument EXACT and pass it to init_max_error.
21891 (acos_test): Update call to START.
21892 (acos_test_tonearest): Likewise.
21893 (acos_test_towardzero): Likewise.
21894 (acos_test_downward): Likewise.
21895 (acos_test_upward): Likewise.
21896 (acosh_test): Likewise.
21897 (asin_test): Likewise.
21898 (asin_test_tonearest): Likewise.
21899 (asin_test_towardzero): Likewise.
21900 (asin_test_downward): Likewise.
21901 (asin_test_upward): Likewise.
21902 (asinh_test): Likewise.
21903 (atan_test): Likewise.
21904 (atanh_test): Likewise.
21905 (atan2_test): Likewise.
21906 (cabs_test): Likewise.
21907 (cacos_test): Likewise.
21908 (cacosh_test): Likewise.
21909 (carg_test): Likewise.
21910 (casin_test): Likewise.
21911 (casinh_test): Likewise.
21912 (catan_test): Likewise.
21913 (catanh_test): Likewise.
21914 (cbrt_test): Likewise.
21915 (ccos_test): Likewise.
21916 (ccosh_test): Likewise.
21917 (ceil_test): Likewise.
21918 (cexp_test): Likewise.
21919 (cimag_test): Likewise.
21920 (clog_test): Likewise.
21921 (clog10_test): Likewise.
21922 (conj_test): Likewise.
21923 (copysign_test): Likewise.
21924 (cos_test): Likewise.
21925 (cos_test_tonearest): Likewise.
21926 (cos_test_towardzero): Likewise.
21927 (cos_test_downward): Likewise.
21928 (cos_test_upward): Likewise.
21929 (cosh_test): Likewise.
21930 (cosh_test_tonearest): Likewise.
21931 (cosh_test_towardzero): Likewise.
21932 (cosh_test_downward): Likewise.
21933 (cosh_test_upward): Likewise.
21934 (cpow_test): Likewise.
21935 (cproj_test): Likewise.
21936 (creal_test): Likewise.
21937 (csin_test): Likewise.
21938 (csinh_test): Likewise.
21939 (csqrt_test): Likewise.
21940 (ctan_test): Likewise.
21941 (ctan_test_tonearest): Likewise.
21942 (ctan_test_towardzero): Likewise.
21943 (ctan_test_downward): Likewise.
21944 (ctan_test_upward): Likewise.
21945 (ctanh_test): Likewise.
21946 (ctanh_test_tonearest): Likewise.
21947 (ctanh_test_towardzero): Likewise.
21948 (ctanh_test_downward): Likewise.
21949 (ctanh_test_upward): Likewise.
21950 (erf_test): Likewise.
21951 (erfc_test): Likewise.
21952 (exp_test): Likewise.
21953 (exp_test_tonearest): Likewise.
21954 (exp_test_towardzero): Likewise.
21955 (exp_test_downward): Likewise.
21956 (exp_test_upward): Likewise.
21957 (exp10_test): Likewise.
21958 (exp10_test_tonearest): Likewise.
21959 (exp10_test_towardzero): Likewise.
21960 (exp10_test_downward): Likewise.
21961 (exp10_test_upward): Likewise.
21962 (pow10_test): Likewise.
21963 (exp2_test): Likewise.
21964 (expm1_test): Likewise.
21965 (expm1_test_tonearest): Likewise.
21966 (expm1_test_towardzero): Likewise.
21967 (expm1_test_downward): Likewise.
21968 (expm1_test_upward): Likewise.
21969 (fabs_test): Likewise.
21970 (fdim_test): Likewise.
21971 (floor_test): Likewise.
21972 (fma_test): Likewise.
21973 (fma_test_towardzero): Likewise.
21974 (fma_test_downward): Likewise.
21975 (fma_test_upward): Likewise.
21976 (fmax_test): Likewise.
21977 (fmin_test): Likewise.
21978 (fmod_test): Likewise.
21979 (fpclassify_test): Likewise.
21980 (frexp_test): Likewise.
21981 (hypot_test): Likewise.
21982 (ilogb_test): Likewise.
21983 (isfinite_test): Likewise.
21984 (finite_test): Likewise.
21985 (isgreater_test): Likewise.
21986 (isgreaterequal_test): Likewise.
21987 (isinf_test): Likewise.
21988 (isless_test): Likewise.
21989 (islessequal_test): Likewise.
21990 (islessgreater_test): Likewise.
21991 (isnan_test): Likewise.
21992 (isnormal_test): Likewise.
21993 (issignaling_test): Likewise.
21994 (isunordered_test): Likewise.
21995 (j0_test): Likewise.
21996 (j1_test): Likewise.
21997 (jn_test): Likewise.
21998 (ldexp_test): Likewise.
21999 (lgamma_test): Likewise.
22000 (gamma_test): Likewise.
22001 (lrint_test): Likewise.
22002 (lrint_test_tonearest): Likewise.
22003 (lrint_test_towardzero): Likewise.
22004 (lrint_test_downward): Likewise.
22005 (lrint_test_upward): Likewise.
22006 (llrint_test): Likewise.
22007 (llrint_test_tonearest): Likewise.
22008 (llrint_test_towardzero): Likewise.
22009 (llrint_test_downward): Likewise.
22010 (llrint_test_upward): Likewise.
22011 (log_test): Likewise.
22012 (log10_test): Likewise.
22013 (log1p_test): Likewise.
22014 (log2_test): Likewise.
22015 (logb_test): Likewise.
22016 (logb_test_downward): Likewise.
22017 (lround_test): Likewise.
22018 (llround_test): Likewise.
22019 (modf_test): Likewise.
22020 (nearbyint_test): Likewise.
22021 (nextafter_test): Likewise.
22022 (nexttoward_test): Likewise.
22023 (pow_test): Likewise.
22024 (pow_test_tonearest): Likewise.
22025 (pow_test_towardzero): Likewise.
22026 (pow_test_downward): Likewise.
22027 (pow_test_upward): Likewise.
22028 (remainder_test): Likewise.
22029 (drem_test): Likewise.
22030 (remainder_test_tonearest): Likewise.
22031 (drem_test_tonearest): Likewise.
22032 (remainder_test_towardzero): Likewise.
22033 (drem_test_towardzero): Likewise.
22034 (remainder_test_downward): Likewise.
22035 (drem_test_downward): Likewise.
22036 (remainder_test_upward): Likewise.
22037 (drem_test_upward): Likewise.
22038 (remquo_test): Likewise.
22039 (rint_test): Likewise.
22040 (rint_test_tonearest): Likewise.
22041 (rint_test_towardzero): Likewise.
22042 (rint_test_downward): Likewise.
22043 (rint_test_upward): Likewise.
22044 (round_test): Likewise.
22045 (scalb_test): Likewise.
22046 (scalbn_test): Likewise.
22047 (scalbln_test): Likewise.
22048 (signbit_test): Likewise.
22049 (sin_test): Likewise.
22050 (sin_test_tonearest): Likewise.
22051 (sin_test_towardzero): Likewise.
22052 (sin_test_downward): Likewise.
22053 (sin_test_upward): Likewise.
22054 (sincos_test): Likewise.
22055 (sinh_test): Likewise.
22056 (sinh_test_tonearest): Likewise.
22057 (sinh_test_towardzero): Likewise.
22058 (sinh_test_downward): Likewise.
22059 (sinh_test_upward): Likewise.
22060 (sqrt_test): Likewise.
22061 (sqrt_test_tonearest): Likewise.
22062 (sqrt_test_towardzero): Likewise.
22063 (sqrt_test_downward): Likewise.
22064 (sqrt_test_upward): Likewise.
22065 (tan_test): Likewise.
22066 (tan_test_tonearest): Likewise.
22067 (tan_test_towardzero): Likewise.
22068 (tan_test_downward): Likewise.
22069 (tan_test_upward): Likewise.
22070 (tanh_test): Likewise.
22071 (tgamma_test): Likewise.
22072 (trunc_test): Likewise.
22073 (y0_test): Likewise.
22074 (y1_test): Likewise.
22075 (yn_test): Likewise.
22076 (significand_test): Likewise.
22078 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
22079 individual tests in comment.
22080 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
22081 (prev_max_error): New variable.
22082 (prev_real_max_error): Likewise.
22083 (prev_imag_max_error): Likewise.
22084 (compare_ulp_data): Don't refer to test names in comment.
22085 (find_test_ulps): Remove function.
22086 (find_function_ulps): Likewise.
22087 (find_complex_function_ulps): Likewise.
22088 (init_max_error): Take function name as argument. Look up ulps
22090 (print_ulps): Remove function.
22091 (print_max_error): Use prev_max_error instead of calling
22092 find_function_ulps.
22093 (print_complex_max_error): Use prev_real_max_error and
22094 prev_imag_max_error instead of calling find_complex_function_ulps.
22095 (check_float_internal): Take max_ulp parameter instead of calling
22096 find_test_ulps. Don't call print_ulps.
22097 (check_float): Update call to check_float_internal.
22098 (check_complex): Update calls to check_float_internal.
22099 (START): Pass argument to init_max_error.
22100 * math/gen-libm-test.pl (%results): Don't include "kind"
22102 (parse_ulps): Don't handle ulps of individual tests.
22103 (print_ulps_file): Likewise.
22104 (output_ulps): Likewise.
22105 * math/README.libm-test: Update.
22106 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
22108 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
22109 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
22110 * sysdeps/arm/libm-test-ulps: Likewise.
22111 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22112 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
22113 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
22114 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
22115 * sysdeps/microblaze/libm-test-ulps: Likewise.
22116 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
22117 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22118 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22119 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
22120 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22121 * sysdeps/sh/libm-test-ulps: Likewise.
22122 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22123 * sysdeps/tile/libm-test-ulps: Likewise.
22124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22126 2014-03-04 Joseph Myers <joseph@codesourcery.com>
22128 * math/libm-test.inc (print_complex_max_error): Check separately
22129 whether real and imaginary errors are within allowed range and
22130 pass 0 to print_complex_function_ulps instead of value within
22133 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22135 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
22137 (get_handles_fopen): Likewise.
22138 (do_write_test): Likewise.
22140 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
22142 * libio/fileops.c (do_ftell): Use cached offset when
22144 * libio/iofwide.c (do_ftell_wide): Likewise.
22145 * libio/iofdopen.c (_IO_new_fdopen): Don't use
22147 * libio/wfileops.c (_IO_fwide): Don't cache offset.
22150 * libio/libioP.h (get_file_offset): New function.
22151 * libio/fileops.c (get_file_offset): Likewise.
22152 (do_ftell): Likewise.
22153 (_IO_new_file_seekoff): Split out ftell logic.
22154 * libio/wfileops.c (do_ftell_wide): Likewise.
22155 (_IO_wfile_seekoff): Split out ftell logic.
22156 * libio/tst-ftell-active-handler.c: New test case.
22157 * libio/Makefile (tests): Add it.
22159 2014-03-03 Roland McGrath <roland@hack.frob.com>
22161 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
22162 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
22164 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22167 * nscd/connections.c (nscd_init): Call do_exit.
22168 (start_threads): Call do_exit and notify_parent.
22169 (begin_drop_privileges): Call do_exit.
22170 (finish_drop_privileges): Likewise.
22171 * nscd/selinux.c (preserve_capabilities): Likewise.
22172 (install_real_capabilities): Likewise.
22173 (nscd_selinux_enabled): Likewise.
22174 (avc_create_thread): Likewise.
22175 (avc_alloc_lock): Likewise.
22176 (nscd_avc_init): Likewise.
22177 * nscd/nscd.c (parent_fd): New static variable.
22178 (main): Create a pipe between parent and child processes.
22179 Skip closing parent_fd.
22180 (monitor_child): New function.
22181 (do_exit): Likewise.
22182 (notify_parent): Likewise.
22183 * nscd/nscd.h (notify_parent): Likewise.
22184 (do_exit): Likewise.
22186 2014-03-03 Carlos O'Donell <carlos@redhat.com>
22188 * malloc/malloc.c (__libc_calloc): Revert last change.
22190 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22194 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22196 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
22197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
22199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22200 (__libc_ifunc_impl_list): Likewise.
22201 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
22202 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
22203 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
22204 * string/strrchr.c: Define STRRCHR.
22206 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
22208 * benchtest/bench-strtok.c (simple_strtok): Delete.
22209 (strtok_string): Use as benchmark.
22210 * string/strtok (STRTOK): New macro.
22212 2014-02-28 Carlos O'Donell <carlos@redhat.com>
22214 * manual/threads.texi: Add header and standard comments to all
22217 * elf/dl-lookup.c (check_match): New function.
22218 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
22219 (do_lookup_x): Remove nested function check_match. Use non-nested
22220 function check_match.
22222 2014-02-28 Roland McGrath <roland@hack.frob.com>
22224 * csu/Makefile (generated, before-compile): Use += rather than =.
22225 * catgets/Makefile (generated, generated-dirs): Likewise.
22226 * debug/Makefile (generated): Likewise.
22227 * dlfcn/Makefile (generated): Likewise.
22228 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
22229 * iconvdata/Makefile (before-compile, generated): Likewise.
22230 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
22231 * libio/Makefile (generated): Likewise.
22232 * malloc/Makefile (generated): Likewise.
22233 * manual/Makefile (generated, generated-dirs): Likewise.
22234 * misc/Makefile (generated): Likewise.
22235 * posix/Makefile (generated): Likewise.
22236 * resolv/Makefile (generated): Likewise.
22237 * sunrpc/Makefile (generated, generated-dirs): Likewise.
22238 * timezone/Makefile (generated, generated-dirs): Likewise.
22240 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
22242 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22244 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22245 power8 implementation.
22246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
22247 file: POWER8 llround ifunc implementation.
22248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22249 (__lllround): Add POWER8 implementation.
22250 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
22251 POWER8 llround implementation.
22253 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
22254 power8 implementation.
22255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
22256 file: POWER8 llrint ifunc implementation.
22257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
22258 Add POWER8 implementation.
22259 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
22260 POWER8 llrint implementation.
22262 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
22263 power8 implementation.
22264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
22265 file: POWER8 finite ifunc implementation.
22266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
22267 Add POWER8 implementation.
22268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
22270 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
22271 POWER8 finite implementation.
22272 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
22274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
22275 power8 implementation.
22276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
22277 file: POWER8 isinf ifunc implementation.
22278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
22279 POWER8 implementation.
22280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
22282 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
22283 isinf implementation.
22284 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
22286 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
22287 (INIT_ARCH): Add hwcap2 initialization.
22288 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22289 power8 implementation.
22290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
22291 file: POWER8 isnan ifunc implementation.
22292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
22293 POWER8 implementation.
22294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
22296 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
22297 isnan implementation.
22298 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
22300 2014-02-27 Joey Ye <joey.ye@arm.com>
22302 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22303 (_FP_NANFRAC_Q): Set to zero.
22305 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22308 * math/auto-libm-test-in: New test inputs.
22309 * math/auto-libm-test-out: Regenerate.
22310 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
22313 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22315 2014-02-27 Joseph Myers <joseph@codesourcery.com>
22317 * scripts/evaluate-test.sh: Take new argument indicating whether
22318 failure is expected.
22319 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
22320 indicating whether failure is expected.
22321 * conform/Makefile (test-xfail-run-conformtest): New variable.
22322 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
22324 * posix/Makefile (test-xfail-annexc): New variable.
22325 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
22327 2014-02-26 Joseph Myers <joseph@codesourcery.com>
22329 * argp/Makefile: Include Makeconfig immediately after defining
22331 * assert/Makefile: Likewise.
22332 * benchtests/Makefile: Likewise.
22333 * catgets/Makefile: Likewise.
22334 * conform/Makefile: Likewise.
22335 * crypt/Makefile: Likewise.
22336 * csu/Makefile: Likewise.
22337 (all): Remove target.
22338 * ctype/Makefile: Include Makeconfig immediately after defining
22340 * debug/Makefile: Likewise.
22341 * dirent/Makefile: Likewise.
22342 * dlfcn/Makefile: Likewise.
22343 * gmon/Makefile: Likewise.
22344 * gnulib/Makefile: Likewise.
22345 * grp/Makefile: Likewise.
22346 * gshadow/Makefile: Likewise.
22347 * hesiod/Makefile: Likewise.
22348 * hurd/Makefile: Likewise.
22349 (all): Remove target.
22350 * iconvdata/Makefile: Include Makeconfig immediately after
22352 * inet/Makefile: Likewise.
22353 * intl/Makefile: Likewise.
22354 * io/Makefile: Likewise.
22355 * libio/Makefile: Likewise.
22356 (all): Remove target.
22357 * locale/Makefile: Include Makeconfig immediately after defining
22359 * login/Makefile: Likewise.
22360 * mach/Makefile: Likewise.
22361 (all): Remove target.
22362 * malloc/Makefile: Include Makeconfig immediately after defining
22364 (all): Remove target.
22365 * manual/Makefile: Include Makeconfig immediately after defining
22367 * math/Makefile: Likewise.
22368 * misc/Makefile: Likewise.
22369 * nis/Makefile: Likewise.
22370 * nss/Makefile: Likewise.
22371 * po/Makefile: Likewise.
22372 (all): Remove target.
22373 * posix/Makefile: Include Makeconfig immediately after defining
22375 * pwd/Makefile: Likewise.
22376 * resolv/Makefile: Likewise.
22377 * resource/Makefile: Likewise.
22378 * rt/Makefile: Likewise.
22379 * setjmp/Makefile: Likewise.
22380 * shadow/Makefile: Likewise.
22381 * signal/Makefile: Likewise.
22382 * socket/Makefile: Likewise.
22383 * soft-fp/Makefile: Likewise.
22384 * stdio-common/Makefile: Likewise.
22385 * stdlib/Makefile: Likewise.
22386 * streams/Makefile: Likewise.
22387 * string/Makefile: Likewise.
22388 * sunrpc/Makefile: Likewise.
22389 (all): Remove target.
22390 * sysvipc/Makefile: Include Makeconfig immediately after defining
22392 * termios/Makefile: Likewise.
22393 * time/Makefile: Likewise.
22394 * timezone/Makefile: Likewise.
22395 (all): Remove target.
22396 * wcsmbs/Makefile: Include Makeconfig immediately after defining
22398 * wctype/Makefile: Likewise.
22400 2014-02-26 Steve Ellcey <sellcey@mips.com>
22402 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
22403 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
22404 (libc_feholdexcept_setround_mips): Ditto.
22405 (libc_feholdsetround): New.
22406 (libc_feholdsetroundf): New.
22407 (libc_feholdsetroundl): New.
22408 (libc_feupdateenv_test_mips): New.
22409 (libc_feupdateenv_test): New.
22410 (libc_feupdateenv_testf): New.
22411 (libc_feupdateenv_testl): New.
22412 (libc_feresetround): New.
22413 (libc_feresetroundf): New.
22414 (libc_feresetroundl): New.
22415 (libc_fetestexcept_mips): New.
22416 (libc_fetestexcept): New.
22417 (libc_fetestexceptf): New.
22418 (libc_fetestexceptl): New.
22419 (HAVE_RM_CTX): New.
22420 (libc_feholdexcept_setround_mips_ctx): New.
22421 (libc_feholdexcept_setround_ctx): New.
22422 (libc_feholdexcept_setroundf_ctx): New.
22423 (libc_feholdexcept_setroundl_ctx): New.
22424 (libc_fesetenv_mips_ctx): New.
22425 (libc_fesetenv_ctx): New.
22426 (libc_fesetenv_ctxf): New.
22427 (libc_fesetenv_ctxl): New.
22428 (libc_feupdateenv_mips_ctx): New.
22429 (libc_feupdateenv_ctx): New.
22430 (libc_feupdateenvf_ctx): New.
22431 (libc_feupdateenvl_ctx): New.
22432 (libc_feholdsetround_mips_ctx): New.
22433 (libc_feholdsetround_ctx): New.
22434 (libc_feholdsetroundf_ctx): New.
22435 (libc_feholdsetroundl_ctx): New.
22436 (libc_feresetround_mips_ctx): New.
22437 (libc_feresetround_ctx): New.
22438 (libc_feresetroundf_ctx): New.
22439 (libc_feresetroundl_ctx): New.
22441 2014-02-26 Carlos O'Donell <carlos@redhat.com>
22443 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
22445 * manual/ipc.texi: New file.
22446 * manual/Makefile (chapters): Add ipc.
22447 * manual/job.texi: Add "Inter-Process Communication" to next.
22448 * manual/process.texi: Add "Inter-Process Communication" to prev.
22450 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22454 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
22456 * malloc/malloc.c (__libc_calloc): Simplify implementation.
22458 * manual/arith.texi: Fix spaces after sentences.
22459 * manual/charset.texi: Likewise.
22460 * manual/errno.texi: Likewise.
22461 * manual/install.texi: Likewise.
22462 * manual/llio.texi: Likewise.
22463 * manual/locale.texi: Likewise.
22464 * manual/maint.texi: Likewise.
22465 * manual/math.texi: Likewise.
22466 * manual/memory.texi: Likewise.
22467 * manual/message.texi: Likewise.
22468 * manual/probes.texi: Likewise.
22469 * manual/resource.texi: Likewise.
22470 * manual/signal.texi: Likewise.
22471 * manual/socket.texi: Likewise.
22472 * manual/stdio.texi: Likewise.
22473 * manual/string.texi: Likewise.
22474 * manual/time.texi: Likewise.
22475 * manual/users.texi: Likewise.
22477 2014-02-25 Carlos O'Donell <carlos@redhat.com>
22480 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
22481 _DEFAULT_SOURCE is defined.
22483 2014-02-25 Ulrich Drepper <drepper@gmail.com>
22484 Carlos O'Donell <carlos@redhat.com>
22487 * elf/dl-tls.c (_dl_count_modids): New function.
22488 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
22489 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
22490 audit library and increment generation counter.
22491 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
22492 * elf/tst-audit9.c: New file.
22493 * elf/tst-auditmod9a.c: New file.
22494 * elf/tst-auditmod9b.c: New file.
22495 * elf/Makefile: Add rules to build and run tst-audit9.
22497 2014-02-25 Florian Weimer <fweimer@redhat.com>
22500 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
22502 2014-02-25 Will Newton <will.newton@linaro.org>
22504 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
22505 (__longjmp): Restore sp and lr before restoring callee
22506 saved registers. Add longjmp and longjmp_target
22507 SystemTap probe point.
22508 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
22509 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
22510 Define to zero to match jmpbuf layout.
22511 * sysdeps/arm/setjmp.S: Include stap-probe.h.
22512 (__sigsetjmp): Save sp and lr before saving callee
22513 saved registers. Add setjmp SystemTap probe point.
22515 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
22517 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22519 2014-02-24 Andreas Schwab <schwab@suse.de>
22522 * elf/pldd.c (wait_for_ptrace_stop): New function.
22523 (main): Call it after attaching.
22525 2014-02-22 Roland McGrath <roland@hack.frob.com>
22527 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
22528 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
22529 Versions files is now verboten.
22530 * hurd/Versions (libc: GLIBC_2.0):
22531 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
22532 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
22533 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
22534 * mach/Versions: Likewise.
22536 * csu/Versions: Remove unused %include.
22537 * resolv/Versions: Likewise.
22539 2014-02-21 Joseph Myers <joseph@codesourcery.com>
22541 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
22542 ($(objpfx)check-local-headers.out): Likewise.
22543 ($(objpfx)begin-end-check.out): Likewise.
22544 * Makerules (check-abi-%.out): Likewise.
22545 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22546 ($(objpfx)test2.cat): Likewise.
22547 ($(objpfx)de/libc.cat): Likewise.
22548 ($(objpfx)test-gencat.out): Likewise.
22549 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22550 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22551 ($(objpfx)noload-mem): Likewise.
22552 ($(objpfx)tst-pathopt.out): Likewise.
22553 ($(objpfx)tst-rtld-load-self.out): Likewise.
22554 ($(objpfx)tst-array1-cmp.out): Likewise.
22555 ($(objpfx)tst-array1-static-cmp.out): Likewise.
22556 ($(objpfx)tst-array2-cmp.out): Likewise.
22557 ($(objpfx)tst-array3-cmp.out): Likewise.
22558 ($(objpfx)tst-array4-cmp.out): Likewise.
22559 ($(objpfx)tst-array5-cmp.out): Likewise.
22560 ($(objpfx)tst-array5-static-cmp.out): Likewise.
22561 ($(objpfx)check-textrel.out): Likewise.
22562 ($(objpfx)check-execstack.out): Likewise.
22563 ($(objpfx)check-localplt.out): Likewise.
22564 ($(objpfx)order2-cmp.out): Likewise.
22565 ($(objpfx)tst-leaks1-mem): Likewise.
22566 ($(objpfx)tst-leaks1-static-mem): Likewise.
22567 ($(objpfx)tst-initorder-cmp.out): Likewise.
22568 ($(objpfx)tst-initorder2-cmp.out): Likewise.
22569 ($(objpfx)tst-unused-dep.out): Likewise.
22570 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22571 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22572 * iconv/Makefile (test-iconvconfig): Likewise.
22573 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22574 ($(objpfx)iconv-test.out): Likewise.
22575 ($(objpfx)tst-tables.out): Likewise.
22576 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22577 ($(objpfx)tst-gettext.out): Likewise.
22578 ($(objpfx)tst-translit.out): Likewise.
22579 ($(objpfx)tst-gettext2.out): Likewise.
22580 ($(objpfx)tst-gettext4.out): Likewise.
22581 ($(objpfx)tst-gettext6.out): Likewise.
22582 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22583 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22584 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22585 ($(objpfx)tst-fopenloc-mem.out): Likewise.
22586 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22587 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22588 * posix/Makefile ($(objpfx)globtest.out): Likewise.
22589 ($(objpfx)wordexp-tst.out): Likewise.
22590 ($(objpfx)annexc.out): Likewise.
22591 ($(objpfx)tst-fnmatch-mem): Likewise.
22592 ($(objpfx)bug-regex2-mem): Likewise.
22593 ($(objpfx)bug-regex14-mem): Likewise.
22594 ($(objpfx)bug-regex21-mem): Likewise.
22595 ($(objpfx)bug-regex31-mem): Likewise.
22596 ($(objpfx)tst-vfork3-mem): Likewise.
22597 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22598 ($(objpfx)tst-pcre-mem): Likewise.
22599 ($(objpfx)tst-boost-mem): Likewise.
22600 ($(objpfx)tst-getconf.out): Likewise.
22601 ($(objpfx)bug-ga2-mem): Likewise.
22602 ($(objpfx)bug-glob2-mem): Likewise.
22603 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22604 ($(objpfx)mtrace-tst-leaks2): Likewise.
22605 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22606 ($(objpfx)tst-printf.out): Likewise.
22607 ($(objpfx)tst-setvbuf1.out): Likewise.
22608 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22609 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22610 ($(objpfx)tst-fmtmsg.out): Likewise.
22611 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22612 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22614 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22615 * bits/sigaction.h [__USE_MISC]: Likewise.
22616 * bits/waitstatus.h: Update #endif comments.
22617 * ctype/ctype.h: Likewise.
22618 * dirent/dirent.h: Likewise.
22619 [__USE_MISC]: Remove redundant conditionals.
22620 * grp/grp.h: Update #endif comments.
22621 [__USE_GNU]: Remove redundant conditionals.
22622 [__USE_MISC]: Likewise.
22623 * inet/netinet/in.h [__USE_GNU]: Likewise.
22624 * io/sys/stat.h [__USE_MISC]: Likewise.
22625 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22626 * libio/bits/stdio.h: Update #endif comments.
22627 [__USE_MISC]: Remove redundant conditionals.
22628 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22629 * libio/stdio.h: Update #endif comments.
22630 [__USE_MISC]: Remove redundant conditionals.
22631 * math/bits/math-finite.h [__USE_MISC]: Likewise.
22632 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22633 * math/math.h: Update #else and #endif comments.
22634 [__USE_MISC]: Remove redundant conditionals.
22635 * misc/sys/uio.h: Update #endif comments.
22636 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22637 * posix/glob.h [__USE_MISC]: Likewise.
22638 * posix/sys/types.h: Update #endif comments.
22639 [__USE_MISC]: Remove redundant conditionals.
22640 * posix/sys/wait.h: Update #endif comments.
22641 [__USE_MISC]: Remove redundant conditionals.
22642 * posix/unistd.h: Update #endif comments.
22643 [__USE_MISC]: Remove redundant conditionals.
22644 * pwd/pwd.h [__USE_GNU]: Likewise.
22645 [__USE_MISC]: Likewise.
22646 * resolv/netdb.h [__USE_GNU]: Likewise.
22647 * signal/signal.h: Update #endif comments.
22648 [__USE_MISC]: Remove redundant conditionals.
22649 * stdlib/stdlib.h: Update #else and #endif comments.
22650 [__USE_MISC]: Remove redundant conditionals.
22651 [__USE_GNU]: Likewise.
22652 * string/bits/string2.h [__USE_MISC]: Likewise.
22653 * string/string.h: Update #endif comments.
22654 [__USE_MISC]: Remove redundant conditionals.
22655 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22657 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22658 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22659 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22661 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22663 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22665 [__USE_MISC]: Remove redundant conditionals.
22666 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22667 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22668 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22669 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22670 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22672 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22673 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22675 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22676 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22678 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22680 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22681 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22683 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22685 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22686 * sysdeps/x86/bits/string.h: Update #endif comments.
22687 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22689 * time/sys/time.h: Update #endif comments.
22690 * time/time.h: Likewise.
22691 [__USE_MISC]: Remove redundant conditionals.
22693 2014-02-21 Yury Gribov <y.gribov@samsung.com>
22696 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22698 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
22700 * Versions.def (librt): Add GLIBC_2.17.
22702 2014-02-21 Adam Conrad <adconrad@0c3.net>
22704 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22705 synonym for _SYS_AUXV_H to allow direct inclusion.
22706 * sysdeps/sparc/bits/hwcap.h: Likewise.
22707 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22708 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22709 * sysdeps/sparc/sysdep.h: Likewise.
22711 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22713 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22715 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22717 * benchtests/bench-strrchr.c: Print length instead of position.
22719 2014-02-20 Joseph Myers <joseph@codesourcery.com>
22722 * sysdeps/unix/sysv/linux/kernel-features.h
22723 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22724 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22725 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22726 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22728 [__i386__ || __powerpc__ || __sh__ || __sparc__]
22729 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22730 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22731 (__ASSUME_SENDMMSG): Define instead of using previous
22732 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22733 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22734 (__ASSUME_SENDMMSG_SYSCALL): Define.
22735 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22736 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22738 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22739 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22741 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22742 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22744 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22745 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22746 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22747 [__ASSUME_SENDMMSG]: Change conditionals to
22748 [__ASSUME_SENDMMSG_SOCKETCALL].
22749 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22750 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22752 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22753 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22755 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22756 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22757 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22758 [!__ASSUME_SENDMMSG]: Change conditional to
22759 [!__ASSUME_SENDMMSG_SOCKETCALL].
22760 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22761 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22765 * sysdeps/unix/sysv/linux/kernel-features.h
22766 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22767 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22768 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22769 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22770 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22771 [__i386__ || __sparc__]
22772 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22773 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22774 (__ASSUME_RECVMMSG): Define instead of using previous
22775 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22776 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22777 (__ASSUME_RECVMMSG_SYSCALL): Define.
22778 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22779 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22781 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22782 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22784 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22785 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22787 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22788 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22789 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22790 [__ASSUME_RECVMMSG]: Change condition to
22791 [__ASSUME_RECVMMSG_SOCKETCALL].
22792 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22793 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22795 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22796 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22797 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22799 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22800 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22801 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22802 [!__ASSUME_RECVMMSG]: Change condition to
22803 [!__ASSUME_RECVMMSG_SOCKETCALL].
22804 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22805 (__ASSUME_RECVMMSG_SYSCALL): Define.
22808 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22809 __powerpc__ || __s390__ || __sh__ || __sparc__]
22810 (__ASSUME_SOCKETCALL): Define.
22811 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22812 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22813 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22814 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22815 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22816 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22817 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22818 (__ASSUME_ACCEPT4): Define instead of using previous
22819 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22820 __powerpc__ || __sparc__ || __s390__)] condition.
22821 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22822 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22823 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22824 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22825 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22826 [!__ASSUME_ACCEPT4]: Change condition to
22827 [!__ASSUME_ACCEPT4_SOCKETCALL].
22828 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22829 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
22830 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22831 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22832 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22833 __ASSUME_ACCEPT4_SYSCALL.
22834 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22835 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22836 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22837 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22838 __ASSUME_ACCEPT4_SYSCALL.
22839 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22840 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22841 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22842 [__ASSUME_ACCEPT4]: Change condition to
22843 [__ASSUME_ACCEPT4_SOCKETCALL].
22844 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22845 (__ASSUME_SOCKETCALL): Define.
22846 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22847 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22848 (__ASSUME_SOCKETCALL): Define.
22849 (__ASSUME_ACCEPT4): Remove.
22850 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22852 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22853 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22855 * sysdeps/unix/sysv/linux/tile/kernel-features.h
22856 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22858 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22860 (HWCAP_ARM_LPAE): Likewise.
22861 (HWCAP_ARM_EVTSTRM): Likewise.
22862 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22863 Add vpfd32, lpae and evtstrm.
22864 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22867 2014-02-19 Joseph Myers <joseph@codesourcery.com>
22869 * math/auto-libm-test-in: Add tests of clog10.
22870 * math/auto-libm-test-out: Regenerated.
22871 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22872 * sysdeps/i386/fpu/libm-test-ulps: Update.
22873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22875 2014-02-18 Andreas Schwab <schwab@suse.de>
22878 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22879 Store non-zero if the second buffer was newly allocated.
22880 (send_dg): Likewise.
22881 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22882 to send_vc and send_dg.
22883 (res_nsend): Pass NULL for ansp2_malloced.
22884 * resolv/res_query.c (__libc_res_nquery): Add parameter
22885 answerp2_malloced and pass it down to __libc_res_nsend.
22886 (res_nquery): Pass additional NULL to __libc_res_nquery.
22887 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22888 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
22889 second answer buffer if answerp2_malloced was set.
22890 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22891 (__libc_res_nquerydomain): Add parameter
22892 answerp2_malloced and pass it down to __libc_res_nquery.
22893 (res_nquerydomain): Pass additional NULL to
22894 __libc_res_nquerydomain.
22895 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22896 additional NULL to __libc_res_nsend and __libc_res_nquery.
22897 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22898 additional NULL to __libc_res_nsearch.
22899 (_nss_dns_gethostbyname4_r): Revert last change. Use new
22900 parameter of __libc_res_nsearch to check for separately allocated
22902 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22904 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22905 additional NULL to __libc_res_nquery.
22906 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22907 __libc_res_nsearch.
22908 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22909 * include/resolv.h: Update prototypes of __libc_res_nquery,
22910 __libc_res_nsearch, __libc_res_nsend.
22912 2014-02-18 Joseph Myers <joseph@codesourcery.com>
22914 * math/auto-libm-test-in: Add tests of fma.
22915 * math/auto-libm-test-out: Regenerated.
22916 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22917 (fma_towardzero_test_data): Likewise.
22918 (fma_downward_test_data): Likewise.
22919 (fma_upward_test_data): Likewise.
22920 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22922 (rounding_modes): Add values for new field.
22923 (func_calc_method): Add value mpfr_fff_f.
22924 (func_calc_desc): Add mpfr_fff_f union field.
22925 (test_function): Add field exact_args.
22926 (FUNC): Add macro argument EXACT_ARGS.
22927 (FUNC_mpfr_f_f): Update call to FUNC.
22928 (FUNC_mpfr_f_f): Likewise.
22929 (FUNC_mpfr_ff_f): Likewise.
22930 (FUNC_mpfr_if_f): Likewise.
22931 (FUNC_mpc_c_f): Likewise.
22932 (FUNC_mpc_c_c): Likewise.
22933 (test_functions): Add fma. Update calls to FUNC.
22934 (handle_input_arg): Add argument exact_args.
22935 (add_test): Update call to handle_input_arg.
22936 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
22937 (output_for_one_input_case): Update call to calc_generic_results.
22938 Recalculate exact zero results in each rounding mode.
22940 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22941 non-negative before setting low bit.
22942 * math/auto-libm-test-in: Mark one asin test possibly having
22943 spurious underflow.
22944 * math/auto-libm-test-out: Regenerated.
22945 * sysdeps/i386/fpu/libm-test-ulps: Update.
22946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22948 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
22950 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22951 * sysdeps/unix/sysv/linux/microblaze: Move directory from
22952 ports/sysdeps/unix/sysv/linux/microblaze.
22953 * README: Add missing listing for microblaze*-*-linux-gnu.
22955 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
22957 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22960 2014-02-16 Mike Frysinger <vapier@gentoo.org>
22962 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22963 * sysdeps/unix/sysv/linux/ia64: Move directory from
22964 ports/sysdeps/unix/sysv/linux/ia64.
22965 * README: Update listing for ia64-*-linux-gnu.
22967 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
22968 Joseph Myers <joseph@codesourcery.com>
22970 * Makeconfig (test-name): New variable.
22971 (evaluate-test): Likewise.
22972 * Makerules (do-test-clean): Remove .test-result files.
22973 (common-mostlyclean): Likewise.
22974 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22975 * scripts/evaluate-test.sh: New file.
22977 2014-02-14 Joseph Myers <joseph@codesourcery.com>
22979 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22980 separate $(objpfx)tst-fopenloc-cmp.out and
22981 $(objpfx)tst-fopenloc-mem.out targets.
22982 (tests): Update dependencies.
22983 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22984 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22985 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22986 (tst-rxspencer-no-utf8-ARGS): New variable.
22987 (tst-rxspencer-no-utf8-ENV): Likewise.
22988 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22989 instead of $(objpfx)tst-rxspencer-mem.
22990 ($(objpfx)tst-rxspencer-mem): Change target to
22991 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
22992 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22993 * posix/tst-rxspencer-no-utf8.c: New file.
22995 * elf/Makefile ($(objpfx)order.out): Remove rule.
22996 [$(run-built-tests) = yes] (tests): Depend on
22997 $(objpfx)order-cmp.out.
22998 ($(objpfx)order-cmp.out): New rule.
22999 [$(run-built-tests) = yes] (tests): Depend on
23000 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
23001 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
23002 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
23003 $(objpfx)tst-array5-static-cmp.out.
23004 ($(objpfx)tst-array1.out): Remove rule.
23005 ($(objpfx)tst-array1-cmp.out): New rule.
23006 ($(objpfx)tst-array1-static.out): Remove rule.
23007 ($(objpfx)tst-array1-static-cmp.out): New rule.
23008 ($(objpfx)tst-array2.out): Remove rule.
23009 ($(objpfx)tst-array2-cmp.out): New rule.
23010 ($(objpfx)tst-array3.out): Remove rule.
23011 ($(objpfx)tst-array3-cmp.out): New rule.
23012 ($(objpfx)tst-array4.out): Remove rule.
23013 ($(objpfx)tst-array4-cmp.out): New rule.
23014 ($(objpfx)tst-array5.out): Remove rule.
23015 ($(objpfx)tst-array5-cmp.out): New rule.
23016 ($(objpfx)tst-array5-static.out): Remove rule.
23017 ($(objpfx)tst-array5-static-cmp.out): New rule.
23018 [$(run-built-tests) = yes] (tests): Depend on
23019 $(objpfx)order2-cmp.out.
23020 ($(objpfx)order2.out): Remove rule.
23021 ($(objpfx)order2-cmp.out): New rule.
23022 ($(objpfx)tst-initorder.out): Remove rule.
23023 [$(run-built-tests) = yes] (tests): Depend on
23024 $(objpfx)tst-initorder-cmp.out.
23025 ($(objpfx)tst-initorder-cmp.out): New rule.
23026 ($(objpfx)tst-initorder2.out): Remove rule.
23027 [$(run-built-tests) = yes] (tests): Depend on
23028 $(objpfx)tst-initorder2-cmp.out.
23029 ($(objpfx)tst-initorder2-cmp.out): New rule.
23030 [$(run-built-tests) = yes] (tests): Depend on
23031 $(objpfx)tst-unused-dep-cmp.out.
23032 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
23033 ($(objpfx)tst-unused-dep-cmp.out): New rule.
23034 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
23035 on $(objpfx)tst-setvbuf1-cmp.out.
23036 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
23037 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
23038 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
23039 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
23040 ($(objpfx)tst-svc.out): Remove rule.
23041 ($(objpfx)tst-svc-cmp.out): New rule.
23043 2014-02-13 Joseph Myers <joseph@codesourcery.com>
23045 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
23046 * ctype/ctype.h [__USE_MISC]: Likewise.
23047 * dirent/dirent.h [__USE_MISC]: Likewise.
23048 * grp/grp.h [__USE_MISC]: Likewise.
23049 * io/fcntl.h [__USE_MISC]: Likewise.
23050 * io/sys/stat.h [__USE_MISC]: Likewise.
23051 * libio/stdio.h [__USE_MISC]: Likewise.
23052 * posix/unistd.h [__USE_MISC]: Likewise.
23053 * pwd/pwd.h [__USE_MISC]: Likewise.
23054 * stdlib.h [__USE_MISC]: Likewise.
23055 * string/bits/string2.h [__USE_MISC]: Likewise.
23056 * string/string.h [__USE_MISC]: Likewise.
23057 * time/time.h [__USE_MISC]: Likewise.
23059 2014-02-13 Andreas Schwab <schwab@suse.de>
23062 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
23063 second answer buffer if it was separately allocated.
23065 2014-02-12 Joseph Myers <joseph@codesourcery.com>
23067 * sysdeps/mips/math-tests.h: Include <features.h>.
23068 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23069 (ROUNDING_TESTS_long_double): Do not define.
23070 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
23071 (EXCEPTION_TESTS_long_double): Likewise.
23072 * sysdeps/mips/mips64/libm-test-ulps: Update.
23074 * include/features.h (__USE_BSD): Remove macro definitions.
23075 (__USE_SVID): Likewise.
23076 (_BSD_SOURCE): Likewise.
23077 (_SVID_SOURCE): Likewise.
23078 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
23079 from definition of _DEFAULT_SOURCE.
23080 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
23082 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
23083 * bits/mman.h [__USE_BSD]: Likewise.
23084 * bits/termios.h [__USE_BSD]: Likewise.
23085 * bits/waitstatus.h [__USE_BSD]: Likewise.
23086 * ctype/ctype.h [__USE_SVID]: Likewise.
23087 * dirent/dirent.h [__USE_BSD]: Likewise.
23088 * grp/grp.h [__USE_SVID]: Likewise.
23089 [__USE_BSD]: Likewise.
23090 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
23091 * io/fcntl.h [__USE_BSD]: Likewise.
23092 * io/ftw.h [__USE_BSD]: Likewise.
23093 * io/sys/stat.h [__USE_BSD]: Likewise.
23094 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
23095 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
23096 * libio/stdio.h [__USE_SVID]: Likewise.
23097 [__USE_BSD]: Likewise.
23098 * math/math.h [__USE_SVID]: Likewise.
23099 [__USE_BSD]: Likewise.
23100 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
23101 * misc/bits/syslog.h [__USE_BSD]: Likewise.
23102 * misc/search.h [__USE_SVID]: Likewise.
23103 * misc/sys/mman.h [__USE_BSD]: Likewise.
23104 * misc/sys/syslog.h [__USE_BSD]: Likewise.
23105 * misc/sys/uio.h [__USE_BSD]: Likewise.
23106 * posix/bits/unistd.h [__USE_BSD]: Likewise.
23107 * posix/glob.h [__USE_BSD]: Likewise.
23108 * posix/regex.h [__USE_BSD]: Likewise.
23109 * posix/sys/types.h [__USE_BSD]: Likewise.
23110 [__USE_SVID]: Likewise.
23111 * posix/sys/utsname.h [__USE_SVID]: Likewise.
23112 * posix/sys/wait.h [__USE_BSD]: Likewise.
23113 [__USE_SVID]: Likewise.
23114 * posix/unistd.h [__USE_BSD]: Likewise.
23115 [__USE_SVID]: Likewise.
23116 * pwd/pwd.h [__USE_SVID]: Likewise.
23117 * resolv/netdb.h [__USE_BSD]: Likewise.
23118 * setjmp/setjmp.h [__USE_BSD]: Likewise.
23119 * signal/signal.h [__USE_BSD]: Likewise.
23120 [__USE_SVID]: Likewise.
23121 * socket/sys/socket.h [__USE_BSD]: Likewise.
23122 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
23123 * stdlib/stdlib.h [__USE_BSD]: Likewise.
23124 [__USE_SVID]: Likewise.
23125 * string/bits/string2.h [__USE_BSD]: Likewise.
23126 [__USE_SVID]: Likewise.
23127 * string/bits/string3.h [__USE_BSD]: Likewise.
23128 * string/endian.h [__USE_BSD]: Likewise.
23129 * string/string.h [__USE_SVID]: Likewise.
23130 [__USE_BSD]: Likewise.
23131 * string/strings.h [__USE_BSD]: Likewise.
23132 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
23133 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
23134 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
23135 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
23136 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
23137 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
23139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
23141 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
23142 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
23144 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
23145 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
23147 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
23149 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
23150 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
23151 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
23153 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
23155 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
23156 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
23157 * termios/termios.h [__USE_BSD]: Likewise.
23158 * time/sys/time.h [__USE_BSD]: Likewise.
23159 * time/time.h [__USE_BSD]: Likewise.
23160 [__USE_SVID]: Likewise.
23162 * Makefile (subdir_targets): Remove subdir_lint.out.
23164 * stdio-common/Makefile (do-tst-unbputc): Remove target.
23165 (do-tst-printf): Likewise.
23166 (tests): Depend directly on $(objpfx)tst-unbputc.out and
23167 $(objpfx)tst-printf.out.
23169 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
23171 * Makerules (check-abi-%): Change target to
23172 $(objpfx)check-abi-%.out.
23173 (check-abi target): Update dependencies.
23174 (check-abi-pattern variable): Redirect output of diff to $@.
23175 (check-abi variable): Likewise.
23176 * elf/Makefile (check-abi): Update dependencies.
23178 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
23180 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
23181 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
23183 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
23184 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
23185 value has largest subnormal exponent.
23186 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
23187 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
23188 * sysdeps/aarch64/soft-fp/sfp-machine.h
23189 (_FP_TININESS_AFTER_ROUNDING): New macro.
23190 * sysdeps/alpha/soft-fp/sfp-machine.h
23191 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23192 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23194 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
23195 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23196 * sysdeps/mips/soft-fp/sfp-machine.h
23197 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23198 * sysdeps/powerpc/soft-fp/sfp-machine.h
23199 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23200 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23202 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23203 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23204 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23205 (_FP_TININESS_AFTER_ROUNDING): Likewise.
23206 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
23209 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
23212 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
23215 2014-02-12 Richard Henderson <rth@redhat.com>
23217 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
23218 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
23219 * sysdeps/unix/sysv/linux/alpha: Move directory from
23220 ports/sysdeps/unix/sysv/linux/alpha.
23221 * README: Update listing for alpha-*-linux-gnu.
23223 2014-02-11 Joseph Myers <joseph@codesourcery.com>
23225 * include/features.h: Update comment documenting feature test
23227 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
23229 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
23230 (_SVID_SOURCE): Likewise.
23231 (_DEFAULT_SOURCE): Update description of default features.
23232 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
23234 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
23235 (S_ISVTX): Likewise.
23236 * manual/math.texi (Mathematical Constants): Likewise.
23237 * manual/signal.texi (Interrupted Primitives): Likewise.
23238 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
23239 * math/test-matherr.c (_SVID_SOURCE): Do not define.
23240 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
23241 Don't refer to _SVID_SOURCE in warning text.
23243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23245 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
23247 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
23248 * sysdeps/mips/dl-lookup.c: Remove.
23249 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
23251 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
23254 * math/auto-libm-test-in: Add testcase for expl.
23255 * math/auto-libm-test-out: Regenerate.
23256 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
23257 calculation of unsafe.
23258 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
23260 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
23262 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
23263 * sysdeps/unix/sysv/linux/aarch64: Move directory from
23264 ports/sysdeps/unix/sysv/linux/aarch64.
23265 * README: Update listing for aarch64*-*-linux-gnu.
23267 2014-02-11 Will Newton <will.newton@linaro.org>
23269 * manual/probes.texi (Mathematical Function Probes): Use
23270 "triggered" instead of "hit".
23272 * manual/probes.texi (Internal Probes): Add documentation
23273 of setjmp, longjmp and longjmp_target probes.
23275 * include/stap-probe.h: Add comment about probe argument
23278 * malloc/mtrace.c (attribute_hidden): Remove unused macro
23279 definition. (tr_where, tr_freehook, tr_mallochook,
23280 tr_reallochook, tr_memalignhook): Use ANSI protoype.
23282 2014-02-11 David S. Miller <davem@davemloft.net>
23284 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
23285 processing int_tests.
23287 2014-02-10 Joseph Myers <joseph@codesourcery.com>
23289 * sysdeps/mips: Move directory from ports/sysdeps/mips.
23290 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
23291 * sysdeps/unix/sysv/linux/mips: Move directory from
23292 ports/sysdeps/unix/sysv/linux/mips.
23293 * README: Update listing for mips-*-linux-gnu and
23294 mips64-*-linux-gnu.
23296 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
23298 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
23299 * sysdeps/unix/sysv/linux/m68k: Move directory from
23300 ports/sysdeps/unix/sysv/linux/m68k.
23301 * README: Update listing for m68k-*-linux-gnu.
23303 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
23305 * sysdeps/tile: Move directory from ports/sysdeps/tile.
23306 * sysdeps/unix/sysv/linux/generic: Move directory from
23307 ports/sysdeps/unix/sysv/linux/generic.
23308 * sysdeps/unix/sysv/linux/tile: Move directory from
23309 ports/sysdeps/unix/sysv/linux/tile.
23310 * README: Update listing for tile*-*-linux-gnu.
23312 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
23314 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
23316 * benchtests/bench-memmem.c (simple_memmem): Likewise.
23317 * catgets/open_catalog.c (__open_catalog): Likewise.
23318 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
23319 * debug/confstr_chk.c: Likewise.
23320 * debug/fread_chk.c (__fread_chk): Likewise.
23321 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
23322 * debug/getgroups_chk.c: Likewise.
23323 * debug/mbsnrtowcs_chk.c: Likewise.
23324 * debug/mbsrtowcs_chk.c: Likewise.
23325 * debug/mbstowcs_chk.c: Likewise.
23326 * debug/memcpy_chk.c: Likewise.
23327 * debug/memmove_chk.c: Likewise.
23328 * debug/mempcpy_chk.c: Likewise.
23329 * debug/memset_chk.c: Likewise.
23330 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23331 * debug/strcat_chk.c (__strcat_chk): Likewise.
23332 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
23333 * debug/strncat_chk.c (__strncat_chk): Likewise.
23334 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
23335 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
23336 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
23337 * debug/wcpncpy_chk.c: Likewise.
23338 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23339 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
23340 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
23341 * debug/wcsncpy_chk.c: Likewise.
23342 * debug/wcsnrtombs_chk.c: Likewise.
23343 * debug/wcsrtombs_chk.c: Likewise.
23344 * debug/wcstombs_chk.c: Likewise.
23345 * debug/wmemcpy_chk.c: Likewise.
23346 * debug/wmemmove_chk.c: Likewise.
23347 * debug/wmempcpy_chk.c: Likewise.
23348 * debug/wmemset_chk.c: Likewise.
23349 * dirent/scandirat.c (SCANDIRAT): Likewise.
23350 * dlfcn/dladdr1.c (dladdr1): Likewise.
23351 * dlfcn/dladdr.c (dladdr): Likewise.
23352 * dlfcn/dlclose.c (dlclose_doit): Likewise.
23353 * dlfcn/dlerror.c (__dlerror): Likewise.
23354 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
23355 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
23356 * dlfcn/dlopen.c (dlopen_doit): Likewise.
23357 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
23358 * dlfcn/dlsym.c (dlsym_doit): Likewise.
23359 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
23360 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
23361 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
23363 * elf/dl-conflict.c: Likewise.
23364 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
23365 * elf/dl-dst.h: Likewise.
23366 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
23367 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
23368 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
23369 * elf/dl-init.c (call_init, _dl_init): Likewise.
23370 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
23371 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
23372 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
23374 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
23376 * elf/dl-minimal.c (__libc_memalign): Likewise.
23377 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
23378 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23379 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
23380 * elf/dl-sym.c (do_sym): Likewise.
23381 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
23382 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
23383 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
23384 * elf/dl-writev.h (_dl_writev): Likewise.
23385 * elf/ldconfig.c (search_dir): Likewise.
23386 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
23387 (dl_main): Likewise.
23388 * elf/setup-vdso.h (setup_vdso): Likewise.
23389 * grp/compat-initgroups.c (compat_call): Likewise.
23390 * grp/fgetgrent.c (fgetgrent): Likewise.
23391 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
23392 * grp/putgrent.c (putgrent): Likewise.
23393 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
23395 * hurd/hurdinit.c: Likewise.
23396 * iconvdata/8bit-gap.c (struct): Likewise.
23397 * iconvdata/ansi_x3.110.c : Likewise.
23398 * iconvdata/big5.c : Likewise.
23399 * iconvdata/big5hkscs.c : Likewise.
23400 * iconvdata/cp1255.c: Likewise.
23401 * iconvdata/cp1258.c : Likewise.
23402 * iconvdata/cp932.c : Likewise.
23403 * iconvdata/euc-cn.c: Likewise.
23404 * iconvdata/euc-jisx0213.c : Likewise.
23405 * iconvdata/euc-jp.c: Likewise.
23406 * iconvdata/euc-jp-ms.c : Likewise.
23407 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
23408 * iconvdata/gb18030.c : Likewise.
23409 * iconvdata/gbbig5.c (const): Likewise.
23410 * iconvdata/gbgbk.c: Likewise.
23411 * iconvdata/gbk.c : Likewise.
23412 * iconvdata/ibm1364.c : Likewise.
23413 * iconvdata/ibm930.c : Likewise.
23414 * iconvdata/ibm932.c: Likewise.
23415 * iconvdata/ibm933.c : Likewise.
23416 * iconvdata/ibm935.c : Likewise.
23417 * iconvdata/ibm937.c : Likewise.
23418 * iconvdata/ibm939.c : Likewise.
23419 * iconvdata/ibm943.c: Likewise.
23420 * iconvdata/iso_11548-1.c: Likewise.
23421 * iconvdata/iso-2022-cn.c : Likewise.
23422 * iconvdata/iso-2022-cn-ext.c : Likewise.
23423 * iconvdata/iso-2022-jp-3.c: Likewise.
23424 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
23425 * iconvdata/iso-2022-kr.c : Likewise.
23426 * iconvdata/iso646.c (gconv_end): Likewise.
23427 * iconvdata/iso_6937-2.c : Likewise.
23428 * iconvdata/iso_6937.c : Likewise.
23429 * iconvdata/iso8859-1.c: Likewise.
23430 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
23431 * iconvdata/shift_jisx0213.c : Likewise.
23432 * iconvdata/sjis.c : Likewise.
23433 * iconvdata/t.61.c : Likewise.
23434 * iconvdata/tcvn5712-1.c : Likewise.
23435 * iconvdata/tscii.c: Likewise.
23436 * iconvdata/uhc.c : Likewise.
23437 * iconvdata/unicode.c (gconv_end): Likewise.
23438 * iconvdata/utf-16.c (gconv_end): Likewise.
23439 * iconvdata/utf-32.c (gconv_end): Likewise.
23440 * iconvdata/utf-7.c (base64): Likewise.
23441 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
23442 * iconv/gconv_close.c (__gconv_close): Likewise.
23443 * iconv/gconv_open.c (__gconv_open): Likewise.
23444 * iconv/gconv_simple.c (internal_ucs4_loop_single)
23445 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
23446 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
23447 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
23448 (ucs4le_internal_loop_single): Likewise.
23449 * iconv/iconv.c (iconv): Likewise.
23450 * iconv/iconv_close.c: Likewise.
23451 * iconv/loop.c (SINGLE): Likewise.
23452 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
23453 * include/atomic.h: Likewise.
23454 * inet/inet6_option.c (option_alloc): Likewise.
23455 * intl/bindtextdom.c (set_binding_values): Likewise.
23456 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
23457 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
23458 * intl/localealias.c (read_alias_file): Likewise.
23459 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23460 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
23461 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
23462 * libio/fmemopen.c (fmemopen): Likewise.
23463 * libio/iofgets.c (_IO_fgets): Likewise.
23464 * libio/iofgets_u.c (fgets_unlocked): Likewise.
23465 * libio/iofgetws.c (fgetws): Likewise.
23466 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
23467 * libio/iogetdelim.c (_IO_getdelim): Likewise.
23468 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
23469 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
23470 * locale/findlocale.c (_nl_find_locale): Likewise.
23471 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
23472 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
23474 * locale/setlocale.c (setlocale): Likewise.
23475 * login/programs/pt_chown.c (main): Likewise.
23476 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
23477 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
23478 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
23479 (mmap, mmap64, mremap, munmap): Likewise.
23480 * math/e_exp2l.c: Likewise.
23481 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
23482 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
23483 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
23484 * math/s_catan.c (__catan): Likewise.
23485 * math/s_catanf.c (__catanf): Likewise.
23486 * math/s_catanh.c (__catanh): Likewise.
23487 * math/s_catanhf.c (__catanhf): Likewise.
23488 * math/s_catanhl.c (__catanhl): Likewise.
23489 * math/s_catanl.c (__catanl): Likewise.
23490 * math/s_ccosh.c (__ccosh): Likewise.
23491 * math/s_ccoshf.c (__ccoshf): Likewise.
23492 * math/s_ccoshl.c (__ccoshl): Likewise.
23493 * math/s_cexp.c (__cexp): Likewise.
23494 * math/s_cexpf.c (__cexpf): Likewise.
23495 * math/s_cexpl.c (__cexpl): Likewise.
23496 * math/s_clog10.c (__clog10): Likewise.
23497 * math/s_clog10f.c (__clog10f): Likewise.
23498 * math/s_clog10l.c (__clog10l): Likewise.
23499 * math/s_clog.c (__clog): Likewise.
23500 * math/s_clogf.c (__clogf): Likewise.
23501 * math/s_clogl.c (__clogl): Likewise.
23502 * math/s_csin.c (__csin): Likewise.
23503 * math/s_csinf.c (__csinf): Likewise.
23504 * math/s_csinh.c (__csinh): Likewise.
23505 * math/s_csinhf.c (__csinhf): Likewise.
23506 * math/s_csinhl.c (__csinhl): Likewise.
23507 * math/s_csinl.c (__csinl): Likewise.
23508 * math/s_csqrt.c (__csqrt): Likewise.
23509 * math/s_csqrtf.c (__csqrtf): Likewise.
23510 * math/s_csqrtl.c (__csqrtl): Likewise.
23511 * math/s_ctan.c (__ctan): Likewise.
23512 * math/s_ctanf.c (__ctanf): Likewise.
23513 * math/s_ctanh.c (__ctanh): Likewise.
23514 * math/s_ctanhf.c (__ctanhf): Likewise.
23515 * math/s_ctanhl.c (__ctanhl): Likewise.
23516 * math/s_ctanl.c (__ctanl): Likewise.
23517 * math/w_pow.c: Likewise.
23518 * math/w_powf.c: Likewise.
23519 * math/w_powl.c: Likewise.
23520 * math/w_scalb.c (sysv_scalb): Likewise.
23521 * math/w_scalbf.c (sysv_scalbf): Likewise.
23522 * math/w_scalbl.c (sysv_scalbl): Likewise.
23523 * misc/error.c (error_tail): Likewise.
23524 * misc/pselect.c (__pselect): Likewise.
23525 * nis/nis_callback.c (__nis_create_callback): Likewise.
23526 * nis/nis_call.c (__nisfind_server): Likewise.
23527 * nis/nis_creategroup.c (nis_creategroup): Likewise.
23528 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
23529 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
23530 * nis/nis_getservlist.c (nis_getservlist): Likewise.
23531 * nis/nis_lookup.c (nis_lookup): Likewise.
23532 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
23533 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
23534 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
23535 * nis/nis_xdr.c (xdr_endpoint): Likewise.
23536 * nis/nss_compat/compat-grp.c (getgrent_next_file)
23537 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
23538 * nis/nss_compat/compat-initgroups.c (add_group)
23539 (internal_getgrent_r): Likewise.
23540 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
23541 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
23542 * nis/nss_compat/compat-spwd.c (getspent_next_file)
23543 (internal_getspnam_r): Likewise.
23544 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23545 (_nss_nis_getaliasbyname_r): Likewise.
23546 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23547 (_nss_nis_getntohost_r): Likewise.
23548 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23549 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23550 (_nss_nis_getgrgid_r): Likewise.
23551 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23552 (internal_nis_gethostent_r, internal_gethostbyname2_r)
23553 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23554 (_nss_nis_gethostbyname4_r): Likewise.
23555 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23556 (initgroups_netid): Likewise.
23557 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23558 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23559 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23560 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23561 (_nss_nis_getprotobynumber_r): Likewise.
23562 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23563 (_nss_nis_getsecretkey): Likewise.
23564 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23565 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23566 (_nss_nis_getpwuid_r): Likewise.
23567 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23568 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23569 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23570 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23571 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23572 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23573 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23575 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23576 (_nss_nisplus_getntohost_r): Likewise.
23577 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23578 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23579 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23580 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23582 * nis/nss_nisplus/nisplus-initgroups.c
23583 (_nss_nisplus_initgroups_dyn): Likewise.
23584 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23585 (_nss_nisplus_getnetbyaddr_r): Likewise.
23586 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23587 (_nss_nisplus_getprotobynumber_r): Likewise.
23588 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23589 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23590 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23592 * nis/nss_nisplus/nisplus-service.c
23593 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23594 (_nss_nisplus_getservbyport_r): Likewise.
23595 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23596 (_nss_nisplus_getspnam_r): Likewise.
23597 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23599 * nscd/aicache.c (addhstaiX): Likewise.
23600 * nscd/cache.c (cache_search, prune_cache): Likewise.
23601 * nscd/connections.c (register_traced_file, send_ro_fd)
23602 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23603 (main_loop_epoll): Likewise.
23604 * nscd/grpcache.c (addgrbyX): Likewise.
23605 * nscd/hstcache.c (addhstbyX): Likewise.
23606 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23607 * nscd/mem.c (gc, mempool_alloc): Likewise.
23608 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23609 (addinnetgrX): Likewise.
23610 * nscd/nscd-client.h (__nscd_acquire_maplock)
23611 (__nscd_drop_map_ref): Likewise.
23612 * nscd/nscd_getai.c (__nscd_getai): Likewise.
23613 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23614 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23616 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23617 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23618 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23619 (__nscd_get_map_ref): Likewise.
23620 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23621 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23623 * nscd/pwdcache.c (addpwbyX): Likewise.
23624 * nscd/selinux.c (preserve_capabilities): Likewise.
23625 * nscd/servicescache.c (addservbyX): Likewise.
23626 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23627 * posix/fnmatch.c (fnmatch): Likewise.
23628 * posix/getopt.c (_getopt_internal_r): Likewise.
23629 * posix/glob.c (glob, glob_in_dir): Likewise.
23630 * posix/wordexp.c (exec_comm_child): Likewise.
23631 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23632 (getanswer_r, gaih_getanswer_slice): Likewise.
23633 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23634 * resolv/res_init.c: Likewise.
23635 * resolv/res_mkquery.c (res_nmkquery): Likewise.
23636 * resolv/res_query.c (__libc_res_nquery): Likewise.
23637 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23639 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23640 * stdio-common/perror.c (perror): Likewise.
23641 * stdio-common/printf_fp.c (___printf_fp): Likewise.
23642 * stdio-common/tmpnam.c (tmpnam): Likewise.
23643 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23644 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23645 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23647 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23648 * stdlib/putenv.c (putenv): Likewise.
23649 * stdlib/setenv.c (__add_to_environ): Likewise.
23650 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23651 * stdlib/strtol_l.c (INTERNAL): Likewise.
23652 * string/memmem.c (memmem): Likewise.
23653 * string/strerror.c (strerror): Likewise.
23654 * string/strnlen.c (__strnlen): Likewise.
23655 * string/test-memmem.c (simple_memmem): Likewise.
23656 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23657 * sunrpc/pm_getport.c (__get_socket): Likewise.
23658 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23659 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23660 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23661 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23663 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23664 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23665 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23666 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23667 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23668 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23670 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23672 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23673 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23674 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23675 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23676 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23677 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23678 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23679 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23680 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23681 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23682 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23683 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23685 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23687 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23689 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23690 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23691 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23692 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23693 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23694 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23695 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23696 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23697 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23698 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23699 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23700 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23701 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23702 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23703 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23704 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23706 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23708 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23710 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23712 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23713 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23714 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23716 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23717 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23718 * sysdeps/posix/opendir.c (__opendirat): Likewise.
23719 * sysdeps/posix/sleep.c: Likewise.
23720 * sysdeps/posix/tempname.c: Likewise.
23721 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23722 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23724 * sysdeps/powerpc/powerpc32/dl-machine.h
23725 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23726 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23727 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23728 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23729 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23731 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23732 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23733 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23734 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23735 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23736 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23737 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23738 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23739 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23740 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23741 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23742 (elf_machine_lazy_rel): Likewise.
23743 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23744 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23745 (elf_machine_lazy_rel): Likewise.
23746 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23747 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23748 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23749 * sysdeps/unix/grantpt.c (grantpt): Likewise.
23750 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23751 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23752 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23753 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23755 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23756 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23757 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23758 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23759 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23760 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23761 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23762 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23763 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23764 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23765 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23767 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23768 (__posix_fallocate64_l64): Likewise.
23769 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23770 (posix_fallocate): Likewise.
23771 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23773 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23774 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23775 (getifaddrs_internal): Likewise.
23776 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23777 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23778 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23779 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23780 * sysdeps/unix/sysv/linux/posix_fallocate64.c
23781 (__posix_fallocate64_l64): Likewise.
23782 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23784 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23785 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23786 (__get_clockfreq): Likewise.
23787 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23788 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23789 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23790 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23792 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23793 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23794 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23796 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23797 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23798 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23799 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23800 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23801 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23802 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23804 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23805 (posix_fallocate): Likewise.
23806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23807 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23808 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23809 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23810 (elf_machine_rela, elf_machine_rela_relative)
23811 (elf_machine_lazy_rel): Likewise.
23812 * time/asctime.c (asctime_internal): Likewise.
23813 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23814 * time/tzset.c (__tzset_parse_tz): Likewise.
23815 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23816 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23817 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23818 * wcsmbs/wcsmbsload.h: Likewise.
23821 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23823 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23824 (arena_get2): Remove THREAD_STATS conditionals.
23825 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23826 (__malloc_stats, int): Likewise.
23828 2014-02-08 Mike Frysinger <vapier@gentoo.org>
23830 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23831 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
23833 * manual/setjmp.texi: Fix typos/grammar errors.
23835 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23836 Only return early when n is <= 0. Delete unused return statement.
23838 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23839 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23840 * debug/tst-longjmp_chk3.c: New file.
23842 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23843 (test_main): Replace code with set_fortify_handler call.
23844 * debug/test-strcpy_chk.c: Likewise.
23845 * debug/tst-chk1.c: Likewise.
23846 * debug/tst-longjmp_chk.c: Likewise.
23847 * test-skeleton.c: Include fcntl.h & paths.h
23848 (set_fortify_handler): Define.
23850 * debug/tst-longjmp_chk.c: Add header comment and include
23851 ../test-skeleton.c.
23852 (do_test): Mark static.
23853 (TEST_FUNCTION): Define.
23855 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23856 (IP_PMTUDISC_INTERFACE): Likewise.
23857 (IP_MULTICAST_IF): Likewise.
23858 (IP_MULTICAST_TTL): Likewise.
23859 (IP_MULTICAST_LOOP): Likewise.
23860 (IP_ADD_MEMBERSHIP): Likewise.
23861 (IP_DROP_MEMBERSHIP): Likewise.
23862 (IP_UNBLOCK_SOURCE): Likewise.
23863 (IP_BLOCK_SOURCE): Likewise.
23864 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23865 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23866 (IP_MSFILTER): Likewise.
23867 (MCAST_JOIN_GROUP): Likewise.
23868 (MCAST_BLOCK_SOURCE): Likewise.
23869 (MCAST_UNBLOCK_SOURCE): Likewise.
23870 (MCAST_LEAVE_GROUP): Likewise.
23871 (MCAST_JOIN_SOURCE_GROUP): Likewise.
23872 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23873 (MCAST_MSFILTER): Likewise.
23874 (IP_MULTICAST_ALL): Likewise.
23875 (IP_UNICAST_IF): Likewise.
23877 * timezone/Makefile: Delete $(have-ksh) check.
23878 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23879 * timezone/tzselect.ksh: Add +x mode bits.
23881 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23882 (ANON_INODE_FS_MAGIC): Likewise.
23883 (BDEVFS_MAGIC): Likewise.
23884 (BINFMTFS_MAGIC): Likewise.
23885 (BTRFS_TEST_MAGIC): Likewise.
23886 (CRAMFS_MAGIC_WEND): Likewise.
23887 (DEBUGFS_MAGIC): Likewise.
23888 (ECRYPTFS_SUPER_MAGIC): Likewise.
23889 (EXT3_SUPER_MAGIC): Likewise.
23890 (EXT4_SUPER_MAGIC): Likewise.
23891 (FUTEXFS_SUPER_MAGIC): Likewise.
23892 (HOSTFS_SUPER_MAGIC): Likewise.
23893 (HUGETLBFS_MAGIC): Likewise.
23894 (MINIX3_SUPER_MAGIC): Likewise.
23895 (MTD_INODE_FS_MAGIC): Likewise.
23896 (NILFS_SUPER_MAGIC): Likewise.
23897 (OPENPROM_SUPER_MAGIC): Likewise.
23898 (PIPEFS_MAGIC): Likewise.
23899 (PSTOREFS_MAGIC): Likewise.
23900 (QNX6_SUPER_MAGIC): Likewise.
23901 (RAMFS_MAGIC): Likewise.
23902 (REISERFS_SUPER_MAGIC_STRING): Likewise.
23903 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23904 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23905 (SECURITYFS_MAGIC): Likewise.
23906 (SELINUX_MAGIC): Likewise.
23907 (SMACK_MAGIC): Likewise.
23908 (SOCKFS_MAGIC): Likewise.
23909 (SQUASHFS_MAGIC): Likewise.
23910 (STACK_END_MAGIC): Likewise.
23911 (TMPFS_MAGIC): Likewise.
23912 (USBDEVICE_SUPER_MAGIC): Likewise.
23913 (V9FS_MAGIC): Likewise.
23914 (XENFS_SUPER_MAGIC): Likewise.
23915 (CRAMFS_MAGIC): Fix typo in comment.
23916 (EXT2_SUPER_MAGIC): Update comment.
23917 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23919 2014-02-08 Joseph Myers <joseph@codesourcery.com>
23921 * sysdeps/arm: Move directory from ports/sysdeps/arm.
23922 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23923 * sysdeps/unix/sysv/linux/arm: Move directory from
23924 ports/sysdeps/unix/sysv/linux/arm.
23925 * README: Update listing for arm-*-linux-gnueabi.
23927 * README: Remove mention of am33.
23929 2014-02-07 Roland McGrath <roland@hack.frob.com>
23931 * bits/sigset.h (__sigemptyset): Use a statement expression rather
23932 than the comma operator, to avoid "rhs of comma has no effect"
23934 (__sigfillset, __sigandset, __sigorset): Likewise.
23935 * include/signal.h (__sigemptyset): Likewise.
23936 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23938 2014-02-07 Allan McRae <allan@archlinux.org>
23940 * version.h (RELEASE): Set to "development".
23941 (VERSION): Set to "2.19.90"
23942 * NEWS: Add 2.20 section.
23944 2014-02-06 Carlos O'Donell <carlos@redhat.com>
23947 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23949 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23951 * manual/contrib.texi: Update entry for Carlos O'Donell,
23952 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23954 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
23956 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23958 * sysdeps/unix/sysv/linux/kernel-features.h
23959 [__LINUX_KERNEL_VERSION >= 0x020621]
23960 (__ASSUME_PROC_PID_TASK_COMM): Define.
23962 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23965 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23966 conversion when destination buffer does not have enough space.
23967 * libio/tst-ftell-partial-wide.c: New test case.
23968 * libio/Makefile (tests): Add tst-ftell-partial-wide.
23970 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23971 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
23972 Leonard and Allan McRae.
23974 2014-02-04 David S. Miller <davem@davemloft.net>
23976 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23979 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24008 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24010 * nptl/shlib-versions: Change powerpc*le start to 2.17.
24011 * shlib-versions: Likewise.
24013 2014-02-04 Roland McGrath <roland@hack.frob.com>
24014 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24016 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
24017 (abilist-pattern): New variable, set to %-le.abilist.
24019 * Makerules (abilist-pattern): New variable.
24020 (vpath): Use $(abilist-pattern) in place of %.abilist.
24021 (check-abi-% pattern rule): Likewise.
24022 (check-abi, update-abi): Likewise.
24024 2014-02-04 Eric Wong <normalperson@yhbt.net>
24026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24028 2014-02-03 Carlos O'Donell <carlos@redhat.com>
24030 * manual/startup.texi: Add next, previous, and top entries for
24031 the `Program Arguments' and `Environment Variables' nodes.
24033 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
24035 * manual/macros.texi: Add comments before MTASC-safety macros.
24037 * manual/users.texi: Document MTASC-safety properties.
24039 * manual/threads.texi (pthread_key_create, pthread_key_delete)
24040 (pthread_getspecific, pthread_setspecific): Format with
24041 @deftypefun, and add @safety note.
24042 * manual/signal.texi: Move comments that analyze the above
24043 functions to their home place.
24045 2014-02-03 Allan McRae <allan@archlinux.org>
24047 * po/sl.po: Update Slovenian translation from translation project.
24049 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
24051 * manual/time.texi (timegm): Add missing blank after @c.
24052 Reported by Joseph Myers <joseph@codesourcery.com>.
24054 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
24056 * manual/check-safety.sh: New.
24057 * manual/Makefile ($(objpfx)stamp-summary): Run it.
24059 * manual/terminal.texi: Document MTASC-safety properties.
24061 * manual/filesys.texi: Document MTASC-safety properties.
24063 * manual/errno.texi: Document MTASC-safety properties.
24065 * manual/intro.texi: Document safety identifiers and
24068 * manual/string.texi (wcstok): Fix prototype.
24069 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
24071 * manual/time.texi: Document MTASC-safety properties.
24073 * manual/string.texi: Document MTASC-safety properties.
24075 * manual/threads.texi: Document MTASC-safety properties.
24077 * manual/stdio.texi: Document MTASC-safety properties.
24079 * manual/syslog.texi: Document MTASC-safety properties.
24081 * manual/sysinfo.texi: Document MTASC-safety properties.
24083 * manual/startup.texi: Document MTASC-safety properties.
24085 * manual/socket.texi: Document MTASC-safety properties.
24087 * manual/signal.texi: Document MTASC-safety properties.
24089 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
24091 * manual/setjmp.texi: Document MTASC-safety properties.
24093 * manual/search.texi: Document MTASC-safety properties.
24095 * manual/resource.texi: Document MTASC-safety properties.
24097 * manual/process.texi: Document MTASC-safety properties.
24099 * manual/platform.texi: Document MTASC-safety properties.
24101 * manual/pipe.texi: Document MTASC-safety properties.
24103 * manual/pattern.texi: Document MTASC-safety properties.
24105 * manual/message.texi: Document MTASC-safety properties.
24108 * manual/memory.texi: Document MTASC-safety properties.
24110 * manual/math.texi: Document MTASC-safety properties.
24112 * manual/locale.texi: Document MTASC-safety properties.
24114 * manual/llio.texi: Document MTASC-safety properties.
24116 * manual/libdl.texi: New.
24118 * manual/lang.texi: Document MTASC-safety properties.
24120 * manual/job.texi: Document MTASC-safety properties.
24122 * manual/getopt.texi: Document MTASC-safety properties.
24124 * manual/ctype.texi: Document MTASC-safety properties.
24126 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
24129 * csu/libc-tls.c (static_map): Remove variable.
24130 (__libc_setup_tls): Use main executable's link map for TLS data.
24131 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
24132 casing for LM_ID_BASE and GL(dl_nns).
24133 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
24134 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
24135 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
24136 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
24137 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
24139 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
24142 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
24144 * manual/debug.texi: Document MTASC-safety properties.
24146 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
24149 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
24150 of __x86_64__ when disabling x87 inline functions.
24152 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
24154 * manual/charset.texi: Document MTASC-safety properties.
24156 * manual/crypt.texi: Document MTASC-safety properties.
24158 * manual/conf.texi: Document MTASC-safety properties.
24160 * manual/arith.texi: Document MTASC-safety properties.
24162 * manual/argp.texi: Document MTASC-safety properties.
24164 * manual/macros.texi: Introduce macros to document multi
24165 thread, asynchronous signal and asynchronous cancellation
24167 * manual/intro.texi: Introduce the properties themselves.
24169 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24171 * sysdeps/sh/sh4/Makefile: New file.
24173 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
24175 * math/gen-libm-test.pl ($srcdir): New variable.
24176 ($auto_input): Use it.
24178 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24181 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
24182 access beyond array bounds when parsing netgroups file.
24184 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
24185 the old buffer before realloc.
24187 2014-01-27 Allan McRae <allan@archlinux.org>
24189 * po/fr.po: Update French translation from translation project.
24191 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24193 * sysdeps/sh/libm-test-ulps: Regenerate.
24195 2014-01-24 David S. Miller <davem@davemloft.net>
24197 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
24199 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24201 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
24202 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
24204 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24207 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
24208 string pointers after reallocation.
24210 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24212 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
24213 __SH4A__ instead of __SH_FPU_ANY__.
24215 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24217 * sysdeps/sh/fpu_control.h: New file.
24218 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
24219 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
24220 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
24221 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
24222 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
24223 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
24224 * sysdeps/sh/sys/ucontext.h: Remove.
24225 * sysdeps/sh/sys: Remove directory.
24227 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24229 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
24230 s390/sys/ucontext.h.
24231 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
24232 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
24234 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
24237 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
24239 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24242 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24243 Adjust the vDSO correctly for internal calls.
24244 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
24246 2014-01-20 Allan McRae <allan@archlinux.org>
24248 * po/ca.po: Update Catalan translation from translation project.
24250 2014-01-16 Mike Frysinger <vapier@gentoo.org>
24252 * sysdeps/s390/sotruss-lib.c: New file.
24254 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24257 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
24258 (__GI___gettimeofday): Alias for a different internal symbol to avoid
24259 local calls issues by not having a PLT stub required for IFUNC calls.
24260 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
24262 2014-01-16 Joseph Myers <joseph@codesourcery.com>
24264 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
24265 * math/test-fpucw-static.c: Likewise.
24267 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24270 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
24272 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24274 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
24275 implementation for powerpc.
24277 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
24280 * sysdeps/posix/system.c (__libc_system): Do not enable
24281 asynchronous cancellation.
24283 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24286 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
24287 handling only for numbers special also in the IEEE case.
24289 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24291 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24293 2014-01-11 Allan McRae <allan@archlinux.org>
24295 * po/bg.po: Update Bulgarian translation from translation project.
24297 * po/de.po: Update German translation from translation project.
24299 2014-01-10 Roland McGrath <roland@hack.frob.com>
24301 * sysdeps/generic/gcc-compat.h: New file.
24303 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24305 * benchtests/asin-inputs: Correct slow inputs.
24306 * benchtests/acos-inputs: Likewise.
24308 2014-01-10 Allan McRae <allan@archlinux.org>
24310 * po:sv.po: Update Swedish translation from translation project.
24312 * po/vi.po: Update Vietnamese translation from translation project.
24314 * po/eo.po: Update Esperanto translation from translation project.
24316 * po/cs.po: Update Czech translation from translation project.
24318 * po/nl.po: Update Dutch translation from translation project.
24320 * po/pl.po: Update Polish translation from translation project.
24322 * po/ru.po: Update Russian translation from translation project.
24324 * po/uk.po: Update Ukrainian translation from translation project.
24326 2014-01-08 Brooks Moses <bmoses@google.com>
24328 * elf/dl-load.c: Fix comment typo.
24330 2014-01-08 Carlos O'Donell <carlos@redhat.com>
24332 * po/header.pot: Rename to...
24333 * po/pot.header: ... this.
24334 * po/Makefile: Use pot.header.
24336 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
24337 Maxim Kuvyrkov <maxim@kugelworks.com>
24340 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
24341 SRC and DEST against LEN.
24343 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24346 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
24348 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
24350 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24354 2014-01-08 Joseph Myers <joseph@codesourcery.com>
24357 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
24358 for large positive arguments.
24360 2014-01-07 Joseph Myers <joseph@codesourcery.com>
24362 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24364 * math/auto-libm-test-in: Mark various tests with
24365 xfail-rounding:ldbl-128ibm.
24366 * math/auto-libm-test-out: Regenerated.
24369 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24370 Increase overflow threshold.
24372 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
24375 * stdio-common/vfprintf.c: Check for integer overflow.
24377 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24379 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
24380 the first argument and return value of __tls_get_addr_internal.
24382 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24384 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
24385 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
24387 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24389 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
24390 * sysdeps/s390/rtld-global-offsets.sym: New file.
24391 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
24393 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
24394 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
24395 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
24397 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
24398 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
24400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24404 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
24405 halfs of GPRs for high_gprs contexts.
24406 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
24407 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
24409 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
24411 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
24413 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
24414 for high GPRs (uc_high_gprs) and for future extensions
24416 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
24417 for future extensions (__reserved).
24418 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
24420 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
24421 SC_HIGHGPRS offset definition.
24422 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
24423 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
24425 * Versions.def: Add GLIBC_2.19 for libpthread.
24426 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
24427 siglongjmp for libpthread with GLIBC_2.19 symver.
24428 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
24429 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
24430 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
24431 * sysdeps/s390/__longjmp.c: New file.
24432 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
24433 * sysdeps/s390/longjmp.c: New file.
24434 * sysdeps/s390/setjmp.S: New file.
24435 * sysdeps/s390/sigjmp.S: New file.
24436 * sysdeps/s390/v1-longjmp.c: New file.
24437 * sysdeps/s390/v1-setjmp.h: New file.
24438 * sysdeps/s390/v1-sigjmp.c: New file.
24439 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
24440 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
24441 GLIBC_2.19 version.
24442 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
24443 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
24444 versioned symbols for ____longjmp_chk.
24445 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
24447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24451 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24453 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24455 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
24456 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
24457 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
24458 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
24459 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
24460 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
24461 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
24462 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
24463 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
24464 * sysdeps/s390/rtld-__longjmp.c: New file.
24465 * sysdeps/s390/rtld-setjmp.S: New file.
24467 2014-01-06 Joseph Myers <joseph@codesourcery.com>
24470 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24471 Return -__logl (x) for small positive arguments without evaluating
24474 2014-01-06 Mike Frysinger <vapier@gentoo.org>
24476 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
24478 (__ptrace_peeksiginfo_args): ... this.
24479 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24481 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24483 2014-01-06 Allan McRae <allan@archlinux.org>
24485 * inet/netinet/in.h: Fix typo in comment.
24487 2014-01-05 Andreas Jaeger <aj@suse.de>
24489 * sysdeps/i386/fpu/libm-test-ulps: Update.
24491 2014-01-05 Allan McRae <allan@archlinux.org>
24493 * po/libc.pot: Regenerated.
24495 * malloc/memusagestat.c: Fix gettext call formatting.
24497 2014-01-04 Sami Kerola <kerolasa@iki.fi>
24499 * nscd/nscd.c: Improve usage() output.
24501 2014-01-04 Mike Frysinger <vapier@gentoo.org>
24503 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
24504 * sysdeps/unix/sysv/linux/configure: Regenerated.
24505 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
24506 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
24508 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24511 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24512 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
24514 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24516 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
24517 extra tokens at end of #undef directive.
24518 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
24519 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
24520 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
24522 2014-01-03 Joseph Myers <joseph@codesourcery.com>
24524 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24526 * math/auto-libm-test-in: Mark various tests with
24527 xfail-rounding:ldbl-128ibm.
24528 * math/auto-libm-test-out: Regenerated.
24530 2014-01-02 Joseph Myers <joseph@codesourcery.com>
24533 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
24534 numbers with subnormal high part when calculating exponent.
24537 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
24541 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
24543 (__ieee754_acoshl): Use __log1pl not __log1p.
24545 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
24547 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24548 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24549 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24550 (grow_heap, heap_trim, _int_new_arena, get_free_list)
24551 (reused_arena, arena_get2): Convert to GNU style.
24552 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24553 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24554 (memalign_check, __malloc_set_state): Likewise.
24555 * malloc/mallocbug.c (main): Likewise.
24556 * malloc/malloc.c (__malloc_assert, malloc_init_state)
24557 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24558 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24559 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24560 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24561 (__posix_memalign, malloc_info): Likewise.
24562 * malloc/malloc.h: Likewise.
24563 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24564 (mallochook, memalignhook, reallochook, mabort): Likewise.
24565 * malloc/mcheck.h: Likewise.
24566 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24567 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24568 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24569 * malloc/morecore.c (__default_morecore): Likewise.
24570 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24571 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24572 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24573 (print_and_abort): Likewise.
24574 * malloc/obstack.h: Likewise.
24575 * malloc/set-freeres.c (__libc_freeres): Likewise.
24576 * malloc/tst-mallocstate.c (main): Likewise.
24577 * malloc/tst-mtrace.c (main): Likewise.
24578 * malloc/tst-realloc.c (do_test): Likewise.
24580 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24583 * nscd/netgroupcache.c (do_notfound): New function.
24584 (addgetnetgrentX): Use it.
24587 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24588 NSS_STATUS_NOTFOUND.
24590 2014-01-01 Joseph Myers <joseph@codesourcery.com>
24592 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24595 2014-01-01 Allan McRae <allan@archlinux.org>
24597 * scripts/update-copyrights: Update configure input file suffix.
24599 * NEWS: Update copyright year.
24600 * catgets/gencat.c: Likewise.
24601 * csu/version.c: Likewise.
24602 * debug/catchsegv.sh: Likewise.
24603 * debug/pcprofiledump.c: Likewise.
24604 * debug/xtrace.sh: Likewise.
24605 * elf/ldconfig.c: Likewise.
24606 * elf/ldd.bash.in: Likewise.
24607 * elf/pldd.c: Likewise.
24608 * elf/sotruss.ksh: Likewise.
24609 * elf/sprof.c: Likewise.
24610 * iconv/iconv_prog.c: Likewise.
24611 * iconv/iconvconfig.c: Likewise.
24612 * locale/programs/locale.c: Likewise.
24613 * locale/programs/localedef.c: Likewise.
24614 * login/programs/pt_chown.c: Likewise.
24615 * malloc/memusage.sh: Likewise.
24616 * malloc/memusagestat.c: Likewise.
24617 * malloc/mtrace.pl: Likewise.
24618 * manual/libc.texinfo: Likewise.
24619 * nscd/nscd.c: Likewise.
24620 * nss/getent.c: Likewise.
24621 * nss/makedb.c: Likewise.
24622 * posix/getconf.c: Likewise.
24623 * scripts/test-installation.pl: Likewise.
24625 * All files with FSF copyright notices: Update copyright dates
24626 using scripts/update-copyrights.
24627 * intl/plural.c: Regenerated.
24628 * locale/programs/charmap-kw.h: Likewise.
24629 * locale/programs/locfile-kw.h: Likewise.
24631 2013-12-31 Mike Frysinger <vapier@gentoo.org>
24633 * sysdeps/unix/sysv/linux/configure: Regenerated.
24634 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24635 the linux/fanotify.h header.
24636 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24637 HAVE_LINUX_FANOTIFY_H is defined.
24639 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24641 * benchtests/cos-inputs: New inputs.
24642 * benchtests/sin-inputs: Likewise.
24644 * benchtests/atan-inputs: New inputs. Fix name of multiple
24645 precision fallback inputs.
24647 * benchtests/atanh-inputs: New inputs.
24648 * benchtests/tanh-inputs: Likewise.
24650 * benchtests/acosh-inputs: New inputs.
24651 * benchtests/asinh-inputs: Likewise.
24653 * benchtests/cosh-inputs: New inputs.
24654 * benchtests/sinh-inputs: Likewise.
24656 * benchtests/acos-inputs: Add more inputs.
24657 * benchtests/asin-inputs: Likewise.
24659 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
24662 * manual/arith.texi: Fix spelling.
24663 * manual/charset.texi: Likewise.
24664 * manual/errno.texi: Likewise.
24665 * manual/filesys.texi: Likewise.
24666 * manual/lang.texi: Likewise.
24667 * manual/llio.texi: Likewise.
24668 * manual/locale.texi: Likewise.
24669 * manual/message.texi: Likewise.
24670 * manual/resource.texi: Likewise.
24671 * manual/search.texi: Likewise.
24672 * manual/setjmp.texi: Likewise.
24673 * manual/stdio.texi: Likewise.
24674 * manual/string.texi: Likewise.
24675 * manual/sysinfo.texi: Likewise.
24676 * manual/time.texi: Likewise.
24678 2013-12-27 Carlos O'Donell <carlos@redhat.com>
24680 * po/sl.po: New file.
24682 2013-12-27 Mike Frysinger <vapier@gentoo.org>
24684 * .gitignore: Add core/.gdbinit/.gdb_history.
24686 2013-12-27 Allan McRae <allan@archlinux.org>
24689 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24690 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24692 2013-12-24 Brooks Moses <bmoses@google.com>
24694 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24695 all compilers that claim C++98 compliance, not just GCC.
24696 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24699 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24701 * NEWS: Restore accidentally deleted bug-fix entries.
24703 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
24704 Ondřej Bílka <neleai@seznam.cz>
24707 * malloc/malloc.c (_int_free): Perform sanity check only if we
24710 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
24713 * manual/stdio.texi (String Input Conversions): Clarify that character
24714 classes are not supported.
24716 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24720 2013-12-22 Joseph Myers <joseph@codesourcery.com>
24723 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24724 Calculate results for small negative arguments directly rather
24725 than using reflection formula with special underflow handling.
24727 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24728 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24729 sysdeps/unix/bsd/bsd4.4/syscalls.list.
24730 (fchflags): Likewise.
24731 (revoke): Likewise.
24732 (setlogin): Likewise.
24733 (sigaltstack): Likewise.
24735 (sigblock): Remove.
24736 (sigsetmask): Likewise.
24738 (waitpid): Likewise.
24739 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24740 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24742 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24743 * sysdeps/unix/bsd/Makefile: ... here.
24744 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24745 * sysdeps/unix/bsd/Versions: ... here.
24746 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24747 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24748 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24749 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24750 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24751 * sysdeps/unix/bsd/sigblock.c: ... here.
24752 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24753 * sysdeps/unix/bsd/sigsetmask.c: ... here.
24754 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24755 * sysdeps/unix/bsd/sigvec.c: ... here.
24756 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24757 * sysdeps/unix/bsd/tcdrain.c: ... here.
24758 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24759 * sysdeps/unix/bsd/tcgetattr.c: ... here.
24760 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24761 * sysdeps/unix/bsd/tcsetattr.c: ... here.
24762 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24763 * sysdeps/unix/bsd/wait.c: ... here.
24764 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24765 * sysdeps/unix/bsd/wait3.c: ... here.
24766 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24767 * sysdeps/unix/bsd/waitpid.c: ... here.
24769 2013-12-21 Joseph Myers <joseph@codesourcery.com>
24772 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24773 round-to-nearest for [!USE_AS_EXPM1L].
24774 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24775 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
24776 more tests of exp and exp10. Expect some exp10 tests to miss
24777 exceptions or fail in directed rounding modes.
24778 * math/auto-libm-test-out: Regenerated.
24779 * math/libm-test.inc (exp10_tonearest_test_data): New array.
24780 (exp10_test_tonearest): New function.
24781 (exp10_towardzero_test_data): New array.
24782 (exp10_test_towardzero): New function.
24783 (exp10_downward_test_data): New array.
24784 (exp10_test_downward): New function.
24785 (exp10_upward_test_data): New array.
24786 (exp10_test_upward): New function.
24787 (main): Call the new functions.
24788 * sysdeps/i386/fpu/libm-test-ulps: Update.
24789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24791 2013-12-20 Joseph Myers <joseph@codesourcery.com>
24793 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24794 asinh, atan, atan2, atanh, cbrt, cos and cosh.
24795 * math/auto-libm-test-out: Regenerated.
24796 * math/libm-test.inc (acosh_test_data): Add more tests.
24797 (atanh_test_data): Likewise.
24798 (ceil_test_data): Likewise.
24799 (copysign_test_data): Likewise.
24800 * sysdeps/i386/fpu/libm-test-ulps: Update.
24801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24803 * timezone/checktab.awk: Update from tzcode 2013i.
24804 * timezone/private.h: Likewise.
24805 * timezone/scheck.c: Likewise.
24806 * timezone/tzfile.h: Likewise.
24807 * timezone/tzselect.ksh: Likewise.
24808 * timezone/zdump.c: Likewise.
24809 * timezone/zic.c: Likewise.
24811 * math/auto-libm-test-in: Add tests of cpow.
24812 * math/auto-libm-test-out: Regenerated.
24813 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24814 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24816 (func_calc_desc): Add mpc_cc_c union field.
24817 (test_functions): Add cpow.
24818 (special_fill_2pi): New function.
24819 (special_real_inputs): Add 2pi.
24820 (calc_generic_results): Handle mpc_cc_c.
24821 * sysdeps/i386/fpu/libm-test-ulps: Update.
24822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24824 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24825 csqrt, ctan and ctanh.
24826 * math/auto-libm-test-out: Regenerated.
24827 * math/libm-test.inc (TEST_COND_x86_64): New macro.
24828 (TEST_COND_x86): Likewise.
24829 (ccos_test_data): Use AUTO_TESTS_c_c.
24830 (ccosh_test_data): Likewise.
24831 (cexp_test_data): Likewise.
24832 (clog_test_data): Likewise.
24833 (csqrt_test_data): Likewise.
24834 (ctan_test_data): Likewise.
24835 (ctan_tonearest_test_data): Likewise.
24836 (ctan_towardzero_test_data): Likewise.
24837 (ctan_downward_test_data): Likewise.
24838 (ctan_upward_test_data): Likewise.
24839 (ctanh_test_data): Likewise.
24840 (ctanh_tonearest_test_data): Likewise.
24841 (ctanh_towardzero_test_data): Likewise.
24842 (ctanh_downward_test_data): Likewise.
24843 (ctanh_upward_test_data): Likewise.
24844 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24846 (func_calc_desc): Add mpc_c_c union field.
24847 (FUNC_mpc_c_c): New macro.
24848 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24849 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24851 (special_fill_min_subnorm_p120): New function.
24852 (special_real_inputs): Add min_subnorm_p120.
24853 (calc_generic_results): Handle mpc_c_c.
24854 * sysdeps/i386/fpu/libm-test-ulps: Update.
24855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24857 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24859 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24860 (do_sin_slow): New functions.
24861 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24862 (cslow2, csloww1, csloww2): Use the new functions.
24864 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24865 Use M to change sign of result instead of X. Assume X is
24867 (csloww1): Likewise.
24871 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24872 arguments A and DA.
24876 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24878 (sloww1): Don't adjust sign of DX.
24879 (csloww1): Likewise.
24880 (sloww2): Use X directly and don't adjust sign of DX.
24881 (csloww2): Likewise.
24883 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24885 * math/auto-libm-test-in: Add tests of cabs and carg.
24886 * math/auto-libm-test-out: Regenerated.
24887 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24888 (carg_test_data): Likewise.
24889 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24891 (func_calc_desc): Add mpc_c_f union field.
24892 (test_functions): Add cabs and carg.
24893 (calc_generic_results): Handle mpc_c_f.
24895 * sysdeps/powerpc/powerpc32/libgcc-compat.S
24896 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24897 as a macro and a compat symbol.
24898 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24899 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24900 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24901 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24902 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24903 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24905 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24907 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24909 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24911 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24913 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24915 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24916 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24919 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24923 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24925 * manual/texinfo.tex: Update to version 2013-11-26.10 with
24926 trailing whitespace removed.
24927 * scripts/config.guess: Update to version 2013-11-29.
24928 * scripts/config.sub: Update to version 2013-10-01.
24930 * math/auto-libm-test-in: Add tests of sincos.
24931 * math/auto-libm-test-out: Regenerated.
24932 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24933 * math/gen-auto-libm-tests.c (func_calc_method): Add value
24935 (func_calc_desc): Add mpfr_f_11 union field.
24936 (test_functions): Add sincos.
24937 (calc_generic_results): Handle mpfr_f_11.
24938 * sysdeps/i386/fpu/libm-test-ulps: Update.
24939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24941 2013-12-19 Andreas Schwab <schwab@suse.de>
24943 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24945 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24946 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24947 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24949 2013-12-19 Joseph Myers <joseph@codesourcery.com>
24951 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24952 * sysdeps/i386/fpu/libm-test-ulps: Update.
24953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24956 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24957 round-to-nearest mode when using frndint.
24958 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24959 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24960 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24962 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
24964 * math/auto-libm-test-out: Regenerated.
24965 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24966 (TEST_COND_x86): Likewise.
24967 (expm1_tonearest_test_data): New array.
24968 (expm1_test_tonearest): New function.
24969 (expm1_towardzero_test_data): New array.
24970 (expm1_test_towardzero): New function.
24971 (expm1_downward_test_data): New array.
24972 (expm1_test_downward): New function.
24973 (expm1_upward_test_data): New array.
24974 (expm1_test_upward): New function.
24975 (main): Run the new test functions.
24976 * sysdeps/i386/fpu/libm-test-ulps: Update.
24977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24979 * include/features.h: Update comment documenting feature test
24980 macros. Mention _DEFAULT_SOURCE in comment.
24981 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24982 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24983 _BSD_SOURCE and _SVID_SOURCE.
24984 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24985 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24986 !_SVID_SOURCE]: Likewise.
24987 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24988 (__USE_POSIX_IMPLICITLY): Define.
24989 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24990 (_POSIX_SOURCE): Undefine and redefine.
24991 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24992 (_POSIX_C_SOURCE): Likewise.
24993 * manual/creature.texi (_DEFAULT_SOURCE): Document.
24994 (Feature Test Macros): Update documentation of default features.
24996 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24998 * benchtests/Makefile: Add bench-strtok.
24999 * benchtests/bench-strtok.c: New file: strtok benchtest.
25001 2013-12-19 Allan McRae <allan@archlinux.org>
25003 * manual/install.texi: Suppress menu for plain text output.
25004 * INSTALL: Regenerated.
25006 2013-12-18 Brooks Moses <bmoses@google.com>
25009 * misc/getauxval.c: Include errno.h.
25010 (__getauxval): Set errno to ENOENT if the requested type is not
25012 * misc/sys/auxv.h (getauxval): Document that it may set errno;
25013 don't declare with __attribute_const__.
25014 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
25015 * manual/startup.texi: Document that getauxval sets errno.
25017 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25019 * math/auto-libm-test-in: Add tests of jn and yn.
25020 * math/auto-libm-test-out: Regenerated.
25021 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
25022 (yn_test_data): Likewise.
25023 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25025 (func_calc_desc): Add mpfr_if_f union field.
25026 (FUNC_mpfr_if_f): New macro.
25027 (test_functions): Add jn and yn.
25028 (calc_generic_results): Assert type of second input for
25029 mpfr_ff_f. Handle mpfr_if_f.
25030 (output_for_one_input_case): Disable all checking for arguments
25031 fitting floating-point types in case of an integer argument.
25032 * sysdeps/i386/fpu/libm-test-ulps: Update.
25033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25036 Don't expect fegetround reference in libm.so.
25038 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25040 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
25041 $(config-cflags-nofma).
25043 2013-12-18 Joseph Myers <joseph@codesourcery.com>
25045 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
25046 * math/auto-libm-test-out: Regenerated.
25049 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
25050 to determine exponent and adjust argument to have exponent of -1.
25051 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
25053 * math/auto-libm-test-out: Regenerated.
25054 * sysdeps/i386/fpu/libm-test-ulps: Update.
25055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25057 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
25059 * manual/probes.texi: Remove cases when per-thread arenas are
25062 2013-12-18 Andreas Schwab <schwab@suse.de>
25064 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
25065 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
25066 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
25067 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
25068 * sysdeps/i386/i686/multiarch/Makefile: Update.
25069 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
25071 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25073 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
25074 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
25076 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
25079 Support TZ transition times < 00:00:00.
25080 This is needed for version-3 tz-format files; it supports time
25081 stamps past 2037 for America/Godthab (the only entry in the tz
25082 database for which this change is relevant).
25083 * manual/time.texi (TZ Variable): Document transition times
25084 from -167:59:59 through -00:00:01.
25085 * time/tzset.c (tz_rule): Time of day is now signed.
25086 (__tzset_parse_tz): Parse negative time of day.
25088 Document TZ transition times >= 25:00:00.
25089 * manual/time.texi (TZ Variable): Document transition times from
25090 25:00:00 through 167:59:59. These are already supported, and this
25091 support will help with version-3 tz-format files.
25093 * manual/time.texi (TZ Variable): Modernize North America example
25094 to reflect current (i.e., 2007-and-later) daylight saving rules.
25096 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
25098 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25100 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
25101 * sysdeps/unix/bsd/bits/stat.h: Likewise.
25102 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
25103 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25104 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
25105 * sysdeps/unix/bsd/bsdstat.h: Likewise.
25106 * sysdeps/unix/bsd/clock.c: Likewise.
25107 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
25108 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
25109 * sysdeps/unix/bsd/init-posix.c: Likewise.
25110 * sysdeps/unix/bsd/poll.c: Likewise.
25111 * sysdeps/unix/bsd/ptsname.c: Likewise.
25112 * sysdeps/unix/bsd/seekdir.c: Likewise.
25113 * sysdeps/unix/bsd/setegid.c: Likewise.
25114 * sysdeps/unix/bsd/seteuid.c: Likewise.
25115 * sysdeps/unix/bsd/setgid.c: Likewise.
25116 * sysdeps/unix/bsd/setrgid.c: Likewise.
25117 * sysdeps/unix/bsd/setruid.c: Likewise.
25118 * sysdeps/unix/bsd/setsid.c: Likewise.
25119 * sysdeps/unix/bsd/setuid.c: Likewise.
25120 * sysdeps/unix/bsd/sigaction.c: Likewise.
25121 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
25122 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
25123 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
25124 * sysdeps/unix/bsd/telldir.c: Likewise.
25125 * sysdeps/unix/bsd/times.c: Likewise.
25126 * sysdeps/unix/bsd/usleep.c: Likewise.
25128 * misc/Makefile (install-lib): Remove libbsd-compat.a.
25129 ($(objpfx)libbsd-compat.a): Remove rule.
25131 * include/features.h (__FAVOR_BSD): Do not define.
25132 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
25133 features conflicting with POSIX.
25134 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
25135 (_BSD_SOURCE): Remove description of not being a subset of other
25136 feature test macros.
25137 * manual/job.texi (getpgrp): Do not document BSD version.
25138 (getpgid): Do not document by reference to BSD getpgrp.
25139 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
25140 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
25141 * signal/signal.h [__FAVOR_BSD]: Likewise.
25142 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
25143 instead of making contents conditional on [__FAVOR_BSD].
25144 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
25146 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25150 2013-12-17 Joseph Myers <joseph@codesourcery.com>
25153 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
25154 values below 2**-450, not 2**-500.
25155 * math/auto-libm-test-in: Don't allow spurious underflow from
25157 * math/auto-libm-test-out: Regenerated.
25161 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
25162 values of ha and hb and sort them after adjusting subnormal
25164 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
25166 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
25167 values of ea and eb and sort them after adjusting subnormal
25169 * math/auto-libm-test-in: Do not expect some hypot tests of
25170 subnormals to fail. Add more hypot tests.
25171 * math/auto-libm-test-out: Regenerated.
25173 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25176 * sysdeps/sh/s_fma.c: New file.
25177 * sysdeps/sh/s_fmaf.c: New file.
25178 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
25180 * sysdeps/sh/Implies: Add sh/soft-fp.
25182 2013-12-16 Roland McGrath <roland@hack.frob.com>
25184 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
25185 level of indirection to members `objname', `errstring', `malloced'.
25186 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
25187 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
25188 it as the __longjmp argument (just pass 1 instead).
25189 (_dl_catch_error): Initialize C with argument pointers and address of
25190 volatile local ERRCODE rather than copying values out of C at return.
25192 2013-12-16 Joseph Myers <joseph@codesourcery.com>
25194 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
25195 * math/auto-libm-test-out: Regenerated.
25196 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
25197 (hypot_test_data): Likewise.
25198 (pow_test_data): Likewise.
25199 (pow_tonearest_test_data): Likewise.
25200 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25202 (func_calc_desc): Add mpfr_ff_f union field.
25203 (FUNC_mpfr_ff_f): New macro.
25204 (test_functions): Add atan2, hypot and pow.
25205 (special_fill_min): New function.
25206 (special_fill_minus_min): Likewise.
25207 (special_fill_min_subnorm): Likewise.
25208 (special_fill_minus_min_subnorm): Likewise.
25209 (special_real_inputs): Add min, -min, min_subnorm and
25211 (calc_generic_results): Handle mpfr_ff_f.
25212 * sysdeps/i386/fpu/libm-test-ulps: Update.
25213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25215 2013-12-16 Will Newton <will.newton@linaro.org>
25217 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
25218 (Aligned Memory Blocks): Add documentation for aligned_alloc
25219 and suggest it as an alternative to posix_memalign.
25220 (Hooks for Malloc): Document __memalign_hook is also called
25221 for aligned_alloc. (Summary of Malloc): Add summary for
25222 aligned alloc. Document __memalign_hook is also called
25225 2013-12-16 Will Newton <will.newton@linaro.org>
25227 * manual/memory.texi (Malloc Examples): Clarify default
25228 alignment documentation. Suggest posix_memalign rather
25229 than memalign or valloc.
25230 (Aligned Memory Blocks): Remove suggestion to use memalign
25231 or valloc. Remove obsolete comment about BSD.
25232 Document memalign errno values and mark the function obsolete.
25233 Document posix_memalign returned error codes. Mark valloc
25234 as obsolete. (Hooks for Malloc): __memalign_hook is also
25235 called for posix_memalign and valloc.
25236 (Summary of Malloc): Add posix_memalign to function summary.
25237 __memalign_hook is also called for posix_memalign and valloc.
25239 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25241 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
25245 (sloww): Use mynumber union. Expand ternary operator into
25246 if-else statements.
25247 (cslow): use mynumber union.
25249 2013-12-16 Allan McRae <allan@archlinux.org>
25251 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
25252 * configure: Regenerated.
25254 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
25257 * configure.ac: Added --enable-maintainer-mode. Check for
25258 autoconf when enabled.
25259 * configure: Regenerated.
25261 * nscd/nscd.service: New file.
25262 * nscd/nscd.tmpfiles: New file.
25264 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
25267 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
25268 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
25269 * sysdeps/x86_64/multiarch/strstr.c: ... here.
25270 (strstr): Add __strstr_sse2_unaligned ifunc.
25271 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
25272 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
25273 (strcasestr): Remove __strcasestr_sse42 ifunc.
25274 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
25275 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25278 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25280 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
25281 * sysdeps/sh/bits/fenv.h: ... here.
25282 * sysdeps/sh/sh4/fpu/bits: Remove directory.
25284 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25286 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
25288 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
25289 hypotf multiarch implementations.
25290 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
25291 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
25292 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
25293 multiarch hypot for PPC64.
25294 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
25295 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
25296 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
25297 multiarch hypotf for PPC64.
25299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
25300 modff multiarch implementations.
25301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
25302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
25303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
25304 multiarch modf for PPC64.
25305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
25306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
25307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
25308 multiarch modff for PPC64.
25310 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
25311 and logl multiarch implementations.
25312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
25313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
25314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
25315 multiarch logb for PPC64.
25316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
25317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
25318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
25319 multiarch logb for PPC64.
25320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
25321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
25322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
25323 multiarch logb for PPC64.
25325 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
25326 isinff multiarch implementation.
25327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
25329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
25330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
25331 multiarch isinf for PPC64.
25332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
25334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
25335 multiarch isinff for PPC64.
25337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
25338 finitef multiarch implementation.
25339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
25341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
25342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
25343 multiarch finite for PPC64.
25344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
25346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
25347 multiarch finitef for PPC64.
25349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
25350 lrint multiarch implementation.
25351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
25353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
25354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
25355 multiarch llrint for PPC64.
25356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
25357 multiarch lrint for PPC64.
25359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
25360 copysignf multiarch implementation.
25361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
25363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
25365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
25366 multiarch copysign for PPC64.
25367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
25368 multiarch copysignf for PPC64.
25370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
25371 multiarch implementation.
25372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
25374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
25376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
25378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
25380 multiarch llround for PPC64.
25381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
25382 multiarch trunc for PPC64.
25383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
25384 multiarch truncf for PPC64.
25386 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
25387 multiarch implementation.
25388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
25390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
25392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
25394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
25396 multiarch llround for PPC64.
25397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
25398 multiarch round for PPC64.
25399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
25400 multiarch roundf for PPC64.
25402 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
25403 multiarch implementation.
25404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
25406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
25408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
25410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
25412 multiarch llround for PPC64.
25413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
25414 multiarch floor for PPC64.
25415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
25416 multiarch floorf for PPC64.
25418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
25419 multiarch implementation.
25420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
25422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
25424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
25426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
25428 multiarch llround for PPC64.
25429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
25430 multiarch ceil for PPC64.
25431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
25432 multiarch ceilf for PPC64.
25434 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25435 multiarch implementation.
25436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
25438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
25440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
25442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
25443 multiarch llround for PPC64.
25444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
25445 multiarch lround for PPC64.
25447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25448 multiarch implementation.
25449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
25450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
25451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
25453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
25454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
25455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
25456 multiarch isnan for PPC64.
25457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
25458 multiarch isnanf for PPC64.
25460 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
25461 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
25462 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
25463 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
25464 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
25465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
25467 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
25468 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25469 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25470 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
25473 multiarch implementations.
25474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25475 (__libc_ifunc_impl_list): Likewise.
25476 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25477 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
25478 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
25479 multiarch stpcpy for PPC64.
25481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
25482 multiarch implementations.
25483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25484 (__libc_ifunc_impl_list): Likewise.
25485 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
25486 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
25487 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
25488 multiarch strcpy for PPC64.
25490 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
25491 redefine function name.
25492 (_wordcopy_fwd_dest_aligned): Likewise.
25493 (_wordcopy_bwd_aligned): Likewise.
25494 (_wordcopy_bwd_dest_aligned): Likewise.
25495 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
25496 multiarch implementations.
25497 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25498 (__libc_ifunc_impl_list): Likewise.
25499 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
25500 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
25501 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
25502 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
25503 multiarch wcscpy for PPC64.
25505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
25506 multiarch implementations.
25507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25508 (__libc_ifunc_impl_list): Likewise.
25509 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
25510 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
25511 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
25512 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
25513 multiarch wcscpy for PPC64.
25515 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
25516 multiarch implementations.
25517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25518 (__libc_ifunc_impl_list): Likewise.
25519 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
25520 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
25521 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
25522 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
25523 multiarch wcsrchr for PPC64.
25525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
25526 multiarch implementations.
25527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25528 (__libc_ifunc_impl_list): Likewise.
25529 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
25530 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
25531 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
25532 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
25533 multiarch wcschr for PPC64.
25535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
25536 multiarch implementations.
25537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25538 (__libc_ifunc_impl_list): Likewise.
25539 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
25540 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
25541 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
25542 multiarch strchrnul for PPC64.
25544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25547 (__libc_ifunc_impl_list): Likewise.
25548 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25549 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25550 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25551 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25557 (__libc_ifunc_impl_list): Likewise.
25558 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25559 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25560 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25561 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25565 multiarch implementations.
25566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25567 (__libc_ifunc_impl_list): Likewise.
25568 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25569 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25570 strncasecmp for PPC64.
25571 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25572 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25573 multiarch strncasecmp_l for PPC64.
25575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25576 multiarch implementations.
25577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25578 (__libc_ifunc_impl_list): Likewise.
25579 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25580 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25581 multiarch strcasecmp for PPC64.
25582 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25584 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25585 multiarch strcasecmp_l for PPC64.
25587 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25589 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25590 (__libc_ifunc_impl_list): Likewise.
25591 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25592 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25593 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25599 (__libc_ifunc_impl_list): Likewise.
25600 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25601 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25602 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25608 (__libc_ifunc_impl_list): Likewise.
25609 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25610 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25611 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25612 rawmemrchr for PPC64.
25614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25617 (__libc_ifunc_impl_list): Likewise.
25618 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25619 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25620 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25626 (__libc_ifunc_impl_list): Likewise.
25627 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25628 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25629 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25634 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25635 (__libc_ifunc_impl_list): Likewise.
25636 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25637 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25638 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25641 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25642 avoid cretion of __bzero symbol.
25643 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25645 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25647 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25650 multiarch implementations.
25651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25652 (__libc_ifunc_impl_list): Likewise.
25653 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25654 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25655 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25656 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25658 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25659 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25660 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25661 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25662 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25664 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25666 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25670 (__libc_ifunc_impl_list): Likewise.
25671 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25672 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25673 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25674 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25678 multiarch for POWER/PPC64.
25679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25680 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25681 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25682 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25683 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25684 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25685 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25686 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25687 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25690 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25691 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25692 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25693 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25694 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25695 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25696 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25697 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25698 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25699 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25700 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25701 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25702 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25703 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25704 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25713 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25715 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25717 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25719 * benchtests/Makefile (bench): Add exp2 and log2.
25720 (LDLIBS-bench-exp2): Add -lm.
25721 (LDLIBS-bench-log2): Likewise.
25722 * benchtests/exp2-inputs: New inputs file.
25723 * benchtests/log2-inputs: New inputs file.
25724 * benchtests/log-inputs: Add new inputs.
25725 * benchtests/tan-inputs: Likewise.
25727 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25729 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25731 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25732 (csloww2): ... from here.
25734 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25735 instead of structures.
25736 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25737 (POLYNOMIAL): Likewise.
25738 (TAYLOR_SLOW): Likewise.
25744 (sloww1); Likewise.
25745 (sloww2): Likewise.
25746 (bsloww1): Likewise.
25747 (bsloww2): Likewise.
25748 (cslow2): Likewise.
25749 (csloww): Likewise.
25750 (csloww1): Likewise.
25751 (csloww2): Likewise.
25753 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
25755 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25756 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25757 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25758 * malloc/hooks.c (realloc_check): Likewise.
25760 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25761 * malloc/arena.c: Remove PER_THREAD conditional.
25762 [!PER_THREAD]: Remove code.
25763 (ptmalloc_unlock_all2): Likewise.
25764 (ptmalloc_init): Likewise.
25765 (_int_new_arena): Likewise.
25766 (arena_get2): Likewise.
25767 * malloc/hooks.c (__malloc_get_state): Likewise.
25768 (__malloc_set_state): Likewise.
25769 * malloc/malloc.c: Likewise.
25770 (struct malloc_state): Likewise.
25771 (struct malloc_par): Likewise.
25772 (__libc_realloc): Likewise.
25773 (__libc_mallopt): Likewise.
25775 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25777 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25779 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
25781 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25782 macro to a function. Check for zero perturb_byte.
25783 (_int_malloc, _int_free): Remove zero perturb_byte checks.
25785 * malloc/malloc.c: (force_reg): Remove.
25786 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25787 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25788 force_reg by atomic_forced_read.
25789 * malloc/arena.c (ptmalloc_init): Likewise.
25790 * malloc/hooks.c (top_check): Likewise.
25792 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25796 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
25798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25800 2013-12-08 Joseph Myers <joseph@codesourcery.com>
25802 * math/auto-libm-test-in: Add tests of lgamma.
25803 * math/auto-libm-test-out: Regenerated.
25804 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25805 (M_LOG_2_SQRT_PIl): Likewise.
25806 (lgamma_test_data): Use AUTO_TESTS_f_f1.
25807 * math/gen-auto-libm-tests.c (func_calc_method): Add value
25809 (func_calc_desc): Add mpfr_f_f1 union field.
25810 (ARGS1): New macro.
25818 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25819 (test_functions): Add lgamma.
25820 (calc_generic_results): Handle mpfr_f_f1.
25821 * sysdeps/i386/fpu/libm-test-ulps: Update.
25822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25824 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25826 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25827 __mpn_add_n for PowerPC64/POWER7.
25828 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25829 __mpn_sub_n for PowerPC64/POWER7.
25831 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25832 __mpn_addmul_1 for PowerPC64.
25833 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25834 __mpn_submul_1 for PowerPC64.
25835 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25837 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25840 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
25843 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25845 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25847 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25849 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25850 add multiarch folders.
25851 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25852 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25853 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25854 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25855 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25856 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25857 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25858 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25859 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25860 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25861 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25870 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25876 multiarch __ieee754_hypot for PowerPC32.
25877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25882 multiarch __ieee754_hypotf for PowerPC32.
25884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25885 long_double_symbol only if __logbl is defined.
25886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25887 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25889 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25890 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25891 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25892 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25893 path for implementation.
25894 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25895 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25897 logb, and logbl multiarch implementations for PowerPC32.
25898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25903 multiarch logb for PowerPC32.
25904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25909 multiarch logbf for PowerPC32.
25910 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25914 multiarch logbl implementation for PowerPC32.
25916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25917 and modff multiarch implementations.
25918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25923 multiarch modf for PowerPC32.
25924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25929 multiarch modff for PowerPC32.
25931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25932 and lrintf multiarch implementations.
25933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25938 multiarch lrint for PowerPC32.
25939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25940 file: multiarch lrintf for PowerPC32.
25942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25943 and lroundf multiarch implementations.
25944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25951 multiarch lround for PowerPC32.
25952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25953 file: multiarch lroundf for PowerPC32.
25955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25956 copysign and copysignf multiarch implementations.
25957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25962 file: multiarch copysign for PowerPC32.
25963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25964 file: multiarch copysignf for PowerPC32.
25966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25967 and truncf multiarch implementations.
25968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25973 multiarch trunc for PowerPC32.
25974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25979 multiarch truncf for PowerPC32.
25981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25982 and roundf multiarch implementations.
25983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25988 multiarch round for PowerPC32.
25989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25994 multiarch roundf for PowerPC32.
25996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25997 and floorf multiarch implementations.
25998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
26000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
26002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
26003 multiarch floor for PowerPC32.
26004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
26006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
26008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
26009 multiarch floorf for PowerPC32.
26011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
26012 and ceilf multiarch implementations.
26013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
26015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
26017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
26018 multiarch ceil for PowerPC32.
26019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
26021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
26023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
26024 multiarch ceilf for PowerPC32.
26026 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
26028 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
26029 FINITEF is defined.
26030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
26031 and finitef multiarch implementations.
26032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
26034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
26036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
26037 multiarch finite for PowerPC32.
26038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
26040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
26041 file: multiarch finitef for PowerPC32.
26043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
26044 and isinff multiarch implementations.
26045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
26047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
26049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
26050 multiarch isinf for PowerPC32.
26051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
26053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
26054 multiarch isinff for PowerPC32.
26056 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
26057 alias when __isnan is defined.
26058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
26059 and isnanf multiarch implementations.
26060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
26062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
26064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
26066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
26068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
26069 multiarch isnan for PowerPC32.
26070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
26072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
26074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
26075 multiarch isnanf for PowerPC32.
26077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
26078 and sqrtf multiarch implementations.
26079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
26081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
26083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
26084 multiarch sqrt for PowerPC32.
26085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
26087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
26089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
26090 multiarch sqrtf for PowerPC32.
26092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
26093 and llroundf multiarch implementations.
26094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
26096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
26098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
26100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
26101 file: multiarch llround for PowerPC32.
26102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
26103 file: multiarch llroundf for PowerPC32.
26105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
26106 multiarch PowerPC32 fpu implementations.
26107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
26109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
26111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
26112 multiarch llrint for PowerPC32.
26113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
26115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
26117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
26120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
26122 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
26124 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
26126 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
26128 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
26129 multiarch wordcopy for PPC32.
26130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26133 (__libc_ifunc_impl_list): Likewise.
26134 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
26135 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
26136 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
26137 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
26138 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
26139 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
26141 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
26142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
26144 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
26146 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
26148 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
26149 multiarch wcscpy for PPC32.
26150 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
26152 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26153 (__libc_ifunc_impl_list): Likewise.
26154 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26155 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26156 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
26157 sysdeps/powerpc/power6/wcscpy.c.
26159 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
26160 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
26162 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
26164 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
26166 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
26167 multiarch wcsrchr for PPC32.
26168 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26170 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26171 (__libc_ifunc_impl_list): Likewise.
26172 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
26173 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
26174 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
26175 sysdeps/powerpc/power6/wcsrchr.c.
26177 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
26179 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
26181 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
26182 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
26183 multiarch wcschr for PPc32.
26184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
26186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26187 (__libc_ifunc_impl_list): Likewise.
26188 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
26189 * sysdeps/powerpc/power6/wcschr.c: ... to here.
26190 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
26191 sysdeps/powerpc/power6/wcschr.c.
26193 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
26194 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
26196 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
26197 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
26198 file: multiarch strchr for PPC32.
26199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
26201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26202 (__libc_ifunc_impl_list): Likewise.
26204 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
26206 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
26208 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
26210 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
26211 multiarch strchrnul for PPC32.
26212 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
26214 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26215 (__libc_ifunc_impl_list): Likewise.
26217 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
26219 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
26220 multiarch strncasecmp for PPC32.
26221 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
26223 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
26224 multiarch strncasecmp_l for PPC32.
26225 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
26226 strncasecmp multiarch objects.
26227 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26228 (__libc_ifunc_impl_list): Likewise.
26230 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
26232 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
26233 multiarch strncasecmp for PPC32.
26234 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26236 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
26237 multiarch strcasecmp_l for PPC32.
26238 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
26240 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26241 (__libc_ifunc_impl_list): Likewise.
26243 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
26245 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
26247 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
26248 multiarch strncmp for PPC32.
26249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
26251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26252 (__libc_ifunc_impl_list): Likewise.
26254 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
26255 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
26257 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
26258 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
26259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
26261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26262 (__libc_ifunc_impl_list): Likewise.
26264 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
26266 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
26268 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
26269 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
26271 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26272 (__libc_ifunc_impl_list): Likewise.
26274 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
26276 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
26278 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
26279 multiarch rawmemchr for PPC32.
26280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
26282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26283 (__libc_ifunc_impl_list): Likewise.
26285 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
26287 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
26289 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
26290 file: memrchr multiarch for PPC32.
26291 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
26293 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
26294 (__libc_ifunc_impl_list): Likewise.
26296 * string/memchr.c (__memchr): Using macro to redefine symbol name.
26297 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
26299 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
26300 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
26301 multiarch memchr for PPC32.
26302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
26304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26305 (__libc_ifunc_impl_list): Likewise.
26307 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
26308 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
26310 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
26312 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
26313 file: multiarch mempcpy for PPC32.
26314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
26316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26317 (__libc_ifunc_impl_list): Likewise.
26319 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
26320 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
26321 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
26322 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
26323 multiarch bzero for PPC32.
26324 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
26326 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
26328 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
26329 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
26330 file: multiarch memset for PPC32.
26331 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
26332 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
26333 memset multiarch objects.
26334 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26335 (__libc_ifunc_impl_list): Likewise.
26337 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
26339 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
26340 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
26342 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
26343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
26345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26346 (__libc_ifunc_impl_list): Likewise.
26348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
26349 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
26350 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
26352 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
26354 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
26356 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
26357 multiarch memcpy for PPC32.
26358 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
26360 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26361 (__libc_ifunc_impl_list): Likewise.
26363 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
26364 support multiarch for POWER/PPC32.
26365 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
26367 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26369 Implies file to make multiarch folder appers before the fpu and
26370 default folder for power4 configuration.
26372 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26374 * scripts/bench.pl: Append volatile keyword to type.
26376 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26378 * sysdeps/sh/sotruss-lib.c: New file.
26379 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
26381 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26385 2013-12-05 Joseph Myers <joseph@codesourcery.com>
26388 * math/w_tgamma.c: Include <errno.h>.
26389 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
26390 * math/w_tgammaf.c: Include <errno.h>.
26391 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
26392 * math/w_tgammal.c: Include <errno.h>.
26393 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
26394 * math/auto-libm-test-in: Do not allow missing errno on tgamma
26395 underflow. Add more tgamma tests.
26396 * math/auto-libm-test-out: Regenerated.
26397 * sysdeps/i386/fpu/libm-test-ulps: Update.
26398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26400 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
26401 sin, sinh, tan, tanh, tgamma, y0 and y1.
26402 * math/auto-libm-test-out: Regenerated.
26403 * math/libm-test.inc (TEST_COND_x86_64): New macro.
26404 (TEST_COND_x86): Likewise.
26405 (M_E2l): Remove macro.
26407 (M_2_SQRT_PIl): Likewise.
26408 (M_SQRT_PIl): Likewise.
26409 (M_1_DIV_El): Likewise.
26410 (log_test_data): Use AUTO_TESTS_f_f.
26411 (log10_test_data): Likewise.
26412 (log1p_test_data): Likewise.
26413 (log2_test_data): Likewise.
26414 (sin_test_data): Likewise.
26415 (sin_tonearest_test_data): Likewise.
26416 (sin_towardzero_test_data): Likewise.
26417 (sin_downward_test_data): Likewise.
26418 (sin_upward_test_data): Likewise.
26419 (sinh_test_data): Likewise.
26420 (sinh_tonearest_test_data): Likewise.
26421 (sinh_towardzero_test_data): Likewise.
26422 (sinh_downward_test_data): Likewise.
26423 (sinh_upward_test_data): Likewise.
26424 (tan_test_data): Likewise.
26425 (tan_tonearest_test_data): Likewise.
26426 (tan_towardzero_test_data): Likewise.
26427 (tan_downward_test_data): Likewise.
26428 (tan_upward_test_data): Likewise.
26429 (tanh_test_data): Likewise.
26430 (tgamma_test_data): Likewise.
26431 (y0_test_data): Likewise.
26432 (y1_test_data): Likewise.
26433 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
26434 (special_real_inputs): Add pi/4.
26435 * sysdeps/i386/fpu/libm-test-ulps: Update.
26436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26438 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26440 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
26441 "longjmp_target" static probes.
26442 (__longjmp): Rename to __longjmp_symbol.
26443 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26444 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
26445 on which longjmp to generate.
26446 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26447 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
26449 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26450 (__sigjmp_save): Rename to __sigjmp_save_symbol.
26451 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26452 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
26453 and __sigjmp_save_symbol based on which sigsetjmp to generated.
26454 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
26455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
26456 __longjmp_symbol based on which __longjmp to generate.
26457 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
26459 (setjmp): Rename to setjmp_symbol.
26460 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26461 (_setjmp): Rename to _setjmp_symbol.
26462 (__sigsetjmp): Rename to __sigsetjmp_symbol.
26463 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
26464 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
26465 which setjmp to generate.
26466 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
26467 "longjmp_target" static probes.
26469 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26471 * benchtests/README: Add note about output arguments.
26472 * benchtests/bench-sincos.c: Remove file.
26473 * benchtests/sincos-inputs: New file.
26474 * scripts/bench.pl: Identify output arguments and define
26475 static variables for them.
26477 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
26480 * Makefile (INSTALL): Add install-plain.texi as the primary
26482 * manual/install-plain.texi: New file.
26483 * manual/install.texi: Include node directive only for
26484 non-plaintext output.
26486 2013-12-04 Joseph Myers <joseph@codesourcery.com>
26488 * stdlib/longlong.h: Update from GCC.
26492 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
26493 * math/w_j0f.c (y0f): Likewise.
26494 * math/w_j0l.c (__y0l): Likewise.
26495 * math/w_j1.c (y1): Likewise.
26496 * math/w_j1f.c (y1f): Likewise.
26497 * math/w_j1l.c (__y1l): Likewise
26498 * math/w_jn.c (yn): Likewise.
26499 * math/w_jnf.c (ynf): Likewise.
26500 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
26501 Bessel function pole errors in _POSIX_ mode. Use NAN as return
26502 value for Bessel function domain errors outside _SVID_ mode.
26503 Adjust sign of return value for yn (negative integer, 0).
26504 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
26505 by zero in return for negative x and set sign appropriately for
26507 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
26508 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26509 * math/libm-test.inc (y0_test_data): Add more tests and adjust
26510 expectations in error cases.
26511 (y1_test_data): Likewise.
26512 (yn_test_data): Likewise.
26513 * sysdeps/i386/fpu/libm-test-ulps: Update.
26514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26516 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26518 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
26519 "64" to "64-v1". Add "64-v2".
26520 (abi-64-options): Rename to ...
26521 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
26522 (abi-64-condition): Rename to ...
26523 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
26524 (abi-64-ld-soname): Rename to ...
26525 (abi-64-v1-ld-soname): ... this.
26526 (abi-64-v2-options): Define.
26527 (abi-64-v2-condition): Likewise.
26528 (abi-64-v2-ld-soname): Likewise.
26529 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
26530 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
26531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
26532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
26533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
26535 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26536 Alan Modra <amodra@gmail.com>
26538 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
26539 New versions for use with the ELFv2 ABI.
26540 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
26541 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
26543 (struct La_ppc64v2_retval): Likewise.
26544 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26545 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26546 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26547 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26548 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26549 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26550 Do not save or restore CR.
26551 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26552 (_dl_profile_resolve): Do no save or restore CR. Support extended
26553 return values for ELFv2 ABI. Fix location of FPR return registers.
26554 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26555 updated values for _CALL_ELF == 2.
26556 (La_regs, La_retval, int_retval): Likewise.
26558 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26560 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26561 (FRAME_MIN_SIZE_PARM): Likewise.
26562 (FRAME_BACKCHAIN): Likewise.
26563 (FRAME_CR_SAVE): Likewise.
26564 (FRAME_LR_SAVE): Likewise.
26565 (FRAME_TOC_SAVE): Likewise.
26566 (FRAME_PARM_SAVE): Likewise.
26567 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26568 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26569 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26570 (call_mcount_parm_offset): New macro.
26571 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26572 (PROF): Use symbolic stack frame offsets.
26573 (TAIL_CALL_SYSCALL_ERROR): Likewise.
26574 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26575 Redefine in terms of FRAME_MIN_SIZE.
26576 (_dl_runtime_resolve): Use symbolic stack frame offsets.
26577 (_dl_profile_resolve): Likewise. Update comment.
26578 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26579 symbols stack frame offsets.
26580 (__sigsetjmp): Likewise.
26581 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26582 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26583 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26584 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26587 (FRAME_BACKCHAIN): Remove.
26588 (FRAME_CR_SAVE): Likewise.
26589 (FRAME_LR_SAVE): Likewise.
26590 (FRAME_COMPILER_DW): Likewise.
26591 (FRAME_LINKER_DW): Likewise.
26592 (FRAME_TOC_SAVE): Likewise.
26593 (FRAME_PARM_SAVE): Likewise.
26594 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26595 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26596 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26598 (CHECK_SP): Use symbolic stack frame offsets.
26599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26600 zone" instead of caller's parameter save area for temp storage.
26601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26602 Likewise. Also, use symbolic stack frame offsets.
26603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26604 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26605 our own stack frame instead of the caller's.
26606 (__socket): Use symbolic stack frame offsets.
26608 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26609 Alan Modra <amodra@gmail.com>
26611 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26613 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26614 (PPC64_LOCAL_ENTRY_OFFSET): Define.
26615 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26617 (elf_machine_fixup_plt): Call it.
26618 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
26620 (elf_machine_rela): Update call to elf_machine_plt_conflict.
26621 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26622 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26623 r2 before calling target.
26625 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26626 Alan Modra <amodra@gmail.com>
26628 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26629 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26630 versions of macros to support ELFv2 ABI.
26631 (LOCALENTRY): New macro.
26632 (ENTRY, EALIGN): Use it.
26633 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26634 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26635 fall through into ENTRY entry point.
26636 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26637 Only define if _CALL_ELF != 2.
26639 (elf_machine_matches_host): Verify ABI version matches.
26640 (RTLD_START): Use LOCALENTRY.
26641 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26642 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26643 (PLT_ENTRY_WORDS): New macro.
26644 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26645 (elf_machine_runtime_setup): Support ELFv2 ABI.
26646 (elf_machine_fixup_plt): Likewise.
26647 (elf_machine_plt_conflict): Likewise.
26648 (resolve_ifunc): Likewise.
26649 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26650 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26653 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26655 (makecontext): Support ELFv2 ABI.
26656 * elf/elf.h (EF_PPC64_ABI): Define.
26658 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26660 * sysdeps/powerpc/powerpc64/sysdep.h
26661 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26662 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26663 (ENTRY) [ASSEMBLER]: ... but instead here ...
26664 (EALIGN) [ASSEMBLER]: ... and here.
26665 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26666 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26667 (ENTRY_2) [!ASSEMBLER]: Use it.
26668 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26669 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
26670 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26671 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26672 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26674 Use PPC64_LOAD_FUNCPTR.
26676 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26678 2013-12-04 Alan Modra <amodra@gmail.com>
26680 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26681 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26682 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26683 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26685 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26686 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26687 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26688 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26689 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26690 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26692 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
26694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26695 (__makecontext): Fix incorrect CFI when backtracing out of
26696 context created via makecontext.
26697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26698 (__setcontext): Fix incorrect CFI during switch to new context.
26699 (__novec_setcontext): Likewise.
26701 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26704 * time/strptime_l.c (__strptime_internal): Allow modifiers
26706 * time/tst-strptime.c (day_tests): Add testcase.
26708 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26710 * scripts/bench.pl: Skip over blank lines.
26712 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
26715 * manual/time.texi (Calendar Time): Clarify what timezone functions
26718 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26722 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
26724 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26726 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26727 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26728 * debug/memset_chk.c (__memset_chk): Likewise.
26729 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26730 * debug/strncpy_chk.c: Likewise.
26732 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26736 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26737 (__ieee754_exp): For possibly underflowing results, check size of
26738 result and force underflow exception if required.
26739 * math/auto-libm-test-in: Add more tests of exp.
26740 * math/auto-libm-test-out: Regenerated.
26741 * sysdeps/i386/fpu/libm-test-ulps: Update.
26742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26745 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26746 * math/w_exp2f.c (__exp2f): Likewise.
26747 * math/w_exp2l.c (__exp2l): Likewise.
26748 * math/auto-libm-test-in: Do not allow missing errno on exp2
26750 * math/auto-libm-test-out: Regenerated.
26752 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
26755 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26756 handle filename validation.
26757 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26760 2013-12-03 Joseph Myers <joseph@codesourcery.com>
26763 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26764 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26765 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26767 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26768 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26769 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26770 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26771 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26772 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26773 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26774 * math/auto-libm-test-in: Don't allow missing errno from erfc.
26775 Add more erfc tests.
26776 * math/auto-libm-test-out: Regenerated.
26777 * sysdeps/i386/fpu/libm-test-ulps: Update.
26778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26780 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26781 exp2, expm1, j0 and j1.
26782 * math/auto-libm-test-out: Regenerated.
26783 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26784 (erfc_test_data): Likewise.
26785 (exp_test_data): Likewise.
26786 (exp_tonearest_test_data): Likewise.
26787 (exp_towardzero_test_data): Likewise.
26788 (exp_downward_test_data): Likewise.
26789 (exp_upward_test_data): Likewise.
26790 (exp10_test_data): Likewise.
26791 (exp2_test_data): Likewise.
26792 (expm1_test_data): Likewise.
26793 (j0_test_data): Likewise.
26794 (j1_test_data): Likewise.
26795 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26796 (input_flag_type): Add flag_xfail_rounding.
26797 (input_flags): Add xfail-rounding.
26798 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26799 (output_for_one_input_case): Handle flag_xfail_rounding.
26800 * sysdeps/i386/fpu/libm-test-ulps: Update.
26801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26803 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
26806 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26809 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26812 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26813 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26814 (STAP_PROBE0): New macro.
26815 (STAP_PROBE1): Likewise.
26816 (STAP_PROBE2): Likewise.
26817 (STAP_PROBE3): Likewise.
26818 (STAP_PROBE4): Likewise.
26820 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
26822 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26824 2013-12-02 Steve Ellcey <sellcey@mips.com>
26826 * benchtests/Makefile (bench): Add sqrt.
26827 (LDLIBS-bench-sqrt): New.
26828 * benchtests/sqrt-input: New.
26830 2013-12-02 Pavel Simerda <psimerda@redhat.com>
26832 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26833 (GAIH_EAI): Likewise.
26834 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26835 (gaih_inet): Likewise.
26836 (getaddrinfo): Don't use GAIH_EAI.
26838 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26839 (struct gaih): Remove definition.
26841 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26843 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26844 Use HERRNOP directly.
26846 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26850 2013-11-30 Joseph Myers <joseph@codesourcery.com>
26852 * math/gen-auto-libm-tests.c (test_functions): Add more
26853 single-argument functions.
26854 (special_fill_pi_2): New function.
26855 (special_fill_minus_pi_2): Likewise.
26856 (special_fill_pi_6): Likewise.
26857 (special_fill_minus_pi_6): Likewise.
26858 (special_fill_pi_3): Likewise.
26859 (special_fill_2pi_3): Likewise.
26860 (special_fill_e): Likewise.
26861 (special_fill_1_e): Likewise.
26862 (special_fill_e_minus_1): Likewise.
26863 (special_real_inputs): Add more special inputs.
26864 (output_for_one_input_case): Do not require ERANGE on underflow to
26865 zero if round-to-nearest result does not underflow to zero, unless
26866 exact results required.
26867 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26868 atan, atanh, cbrt, cos and cosh.
26869 * math/auto-libm-test-out: Regenerated.
26870 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26871 (acos_tonearest_test_data): Likewise.
26872 (acos_towardzero_test_data): Likewise.
26873 (acos_downward_test_data): Likewise.
26874 (acos_upward_test_data): Likewise.
26875 (acosh_test_data): Likewise.
26876 (asin_test_data): Likewise.
26877 (asin_tonearest_test_data): Likewise.
26878 (asin_towardzero_test_data): Likewise.
26879 (asin_upward_test_data): Likewise.
26880 (asinh_test_data): Likewise.
26881 (atan_test_data): Likewise.
26882 (atanh_test_data): Likewise.
26883 (cbrt_test_data): Likewise.
26884 (cos_test_data): Likewise.
26885 (cos_tonearest_test_data): Likewise.
26886 (cos_towardzero_test_data): Likewise.
26887 (cos_downward_test_data): Likewise.
26888 (cos_upward_test_data): Likewise.
26889 (cosh_test_data): Likewise.
26890 (cosh_tonearest_test_data): Likewise.
26891 (cosh_towardzero_test_data): Likewise.
26892 (cosh_downward_test_data): Likewise.
26893 (cosh_upward_test_data): Likewise.
26894 * sysdeps/i386/fpu/libm-test-ulps: Update.
26895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26897 2013-11-29 Joseph Myers <joseph@codesourcery.com>
26900 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26901 * math/w_exp10f.c (__exp10f): Likewise.
26902 * math/w_exp10l.c (__exp10l): Likewise.
26903 * math/libm-test.inc (exp10_test_data): Add more tests and expect
26904 errno settings in existing tests.
26907 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26908 precision control set to double precision.
26909 * sysdeps/i386/fpu/w_sqrt.c: New file.
26910 * math/auto-libm-test-in: Add more tests.
26911 * math/auto-libm-test-out: Update.
26913 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26914 (sqrt_test_tonearest): New function.
26915 (sqrt_towardzero_test_data): New variable.
26916 (sqrt_test_towardzero): New function.
26917 (sqrt_downward_test_data): New variable.
26918 (sqrt_test_downward): New function.
26919 (sqrt_upward_test_data): New variable.
26920 (sqrt_test_upward): New function.
26921 (main): Call the new functions.
26923 * math/gen-auto-libm-tests.c: New file.
26924 * math/auto-libm-test-in: Likewise.
26925 * math/auto-libm-test-out: New generated file.
26926 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26928 (%beautify): Add generated representations of zero.
26929 (top level): Set $auto_input and call parse_auto_input.
26930 (beautify): Remove trailing "f" from hex float constants.
26931 (parse_args): Handle XFAIL_TEST.
26932 (convert_condition): New function.
26933 (or_value): Likewise.
26934 (or_cond_value): Likewise.
26935 (generate_testfile): Handle AUTO_TESTS_* lines.
26936 (parse_auto_input): New function.
26937 * math/libm-test.inc (XFAIL_TEST): New macro.
26938 (ERRNO_UNCHANGED): Update value.
26939 (ERRNO_EDOM): Likewise.
26940 (ERRNO_ERANGE): Likewise.
26941 (IGNORE_RESULT): Likewise.
26942 (TEST_COND_flt_32): New macro.
26943 (TEST_COND_dbl_64): Likewise.
26944 (TEST_COND_ldbl_96_intel): Likewise.
26945 (TEST_COND_ldbl_96_m68k): Likewise.
26946 (TEST_COND_ldbl_128): Likewise.
26947 (TEST_COND_ldbl_128ibm): Likewise.
26948 (TEST_COND_long32): Likewise.
26949 (TEST_COND_long64): Likewise.
26950 (TEST_COND_before_rounding): Likewise.
26951 (TEST_COND_after_rounding): Likewise.
26952 (enable_test): Handle XFAIL_TEST flag.
26953 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26954 with finite results.
26955 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26956 auto-libm-test-out.
26958 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26959 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26962 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26963 __tls_get_addr_internal instead of __tls_get_offset in order to
26964 avoid GOT pointer dependency. Make rtld export
26965 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26966 __tls_get_addr since we are a __tls_get_offset platform.
26967 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26968 GOT pointer being set up before.
26969 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26971 2013-11-28 Joseph Myers <joseph@codesourcery.com>
26973 * manual/math.texi (Errors in Math Functions): Document accuracy
26977 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26978 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26979 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26980 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26981 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26982 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26983 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26984 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26985 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26986 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26987 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26988 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26989 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26990 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26991 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26992 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26994 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26995 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26996 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26997 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26998 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
27000 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
27002 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
27004 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
27005 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
27006 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
27007 atomic-feupdateenv and flt-rounds.
27008 * sysdeps/powerpc/nofpu/Versions (libc): Add
27009 __atomic_feholdexcept, __atomic_feclearexcept,
27010 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
27011 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
27012 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
27013 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
27014 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
27016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
27019 * manual/arith.texi (FP Exceptions): Document that exceptions may
27020 not be raised when matherr is used.
27021 (Math Error Reporting): Document overflow in directed rounding
27022 modes. Document that errno may not be set when finite values are
27023 returned on overflow. Document intent to set errno on underflow
27024 only for underflow to zero.
27027 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
27028 round-to-nearest then adjust result for other rounding modes.
27029 * include/fenv.h (fegetround): Use libm_hidden_proto.
27030 * math/fegetround.c (fegetround): Use libm_hidden_def.
27031 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27032 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27033 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27034 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27036 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
27037 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27038 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27039 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
27041 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27044 * nss/Versions (libnss_files): Add
27045 _nss_files_gethostbyname3_r.
27046 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
27048 (HOST_DB_LOOKUP): Remove macro.
27049 (_nss_files_gethostbyname_r): Implement function without the
27050 HOST_DB_LOOKUP macro.
27051 (_nss_files_gethostbyname2_r): Likewise.
27053 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
27055 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
27057 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
27059 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
27060 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
27063 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27065 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
27066 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
27067 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
27068 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27069 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
27070 __fe_nomask_env_priv and attribute_hidden.
27071 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
27072 (libc_feupdateenv_test_ppc): Likewise.
27073 (libc_feresetround_ppc): Likewise.
27074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27075 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
27076 compat_symbol macro.
27077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27078 (__fe_nomask_env): Likewise.
27079 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
27081 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27083 * string/Makefile: Remove ifunc tests.
27084 * string/test-string.h: Define TEST_IFUNC.
27085 * string/test-bcopy-ifunc.c: Remove.
27086 * string/test-bzero-ifunc.c: Likewise.
27087 * string/test-memccpy-ifunc.c: Likewise.
27088 * string/test-memchr-ifunc.c: Likewise.
27089 * string/test-memcmp-ifunc.c: Likewise.
27090 * string/test-memcpy-ifunc.c: Likewise.
27091 * string/test-memmem-ifunc.c: Likewise.
27092 * string/test-memmove-ifunc.c: Likewise.
27093 * string/test-mempcpy-ifunc.c: Likewise.
27094 * string/test-memrchr-ifunc.c: Likewise.
27095 * string/test-memset-ifunc.c: Likewise.
27096 * string/test-rawmemchr-ifunc.c: Likewise.
27097 * string/test-stpcpy-ifunc.c: Likewise.
27098 * string/test-stpncpy-ifunc.c: Likewise.
27099 * string/test-strcasecmp-ifunc.c: Likewise.
27100 * string/test-strcasestr-ifunc.c: Likewise.
27101 * string/test-strcat-ifunc.c: Likewise.
27102 * string/test-strchr-ifunc.c: Likewise.
27103 * string/test-strchrnul-ifunc.c: Likewise.
27104 * string/test-strcmp-ifunc.c: Likewise.
27105 * string/test-strcpy-ifunc.c: Likewise.
27106 * string/test-strcspn-ifunc.c: Likewise.
27107 * string/test-strlen-ifunc.c: Likewise.
27108 * string/test-strncasecmp-ifunc.c: Likewise.
27109 * string/test-strncat-ifunc.c: Likewise.
27110 * string/test-strncmp-ifunc.c: Likewise.
27111 * string/test-strncpy-ifunc.c: Likewise.
27112 * string/test-strnlen-ifunc.c: Likewise.
27113 * string/test-strpbrk-ifunc.c: Likewise.
27114 * string/test-strrchr-ifunc.c: Likewise.
27115 * string/test-strspn-ifunc.c: Likewise.
27116 * string/test-strstr-ifunc.c: Likewise.
27118 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27120 * benchtests/Makefile: Remove ifunc tests.
27121 * benchtests/bench-string.h: Define TEST_IFUNC.
27122 * benchtests/bench-bcopy-ifunc.c: Remove.
27123 * benchtests/bench-bzero-ifunc.c: Likewise.
27124 * benchtests/bench-memccpy-ifunc.c: Likewise.
27125 * benchtests/bench-memchr-ifunc.c: Likewise.
27126 * benchtests/bench-memcmp-ifunc.c: Likewise.
27127 * benchtests/bench-memcpy-ifunc.c: Likewise.
27128 * benchtests/bench-memmem-ifunc.c: Likewise.
27129 * benchtests/bench-memmove-ifunc.c: Likewise.
27130 * benchtests/bench-mempcpy-ifunc.c: Likewise.
27131 * benchtests/bench-memrchr-ifunc.c: Likewise.
27132 * benchtests/bench-memset-ifunc.c: Likewise.
27133 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
27134 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
27135 * benchtests/bench-stpcpy-ifunc.c: Likewise.
27136 * benchtests/bench-stpncpy-ifunc.c: Likewise.
27137 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
27138 * benchtests/bench-strcasestr-ifunc.c: Likewise.
27139 * benchtests/bench-strcat-ifunc.c: Likewise.
27140 * benchtests/bench-strchr-ifunc.c: Likewise.
27141 * benchtests/bench-strchrnul-ifunc.c: Likewise.
27142 * benchtests/bench-strcmp-ifunc.c: Likewise.
27143 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
27144 * benchtests/bench-strcpy-ifunc.c: Likewise.
27145 * benchtests/bench-strcspn-ifunc.c: Likewise.
27146 * benchtests/bench-strlen-ifunc.c: Likewise.
27147 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
27148 * benchtests/bench-strncat-ifunc.c: Likewise.
27149 * benchtests/bench-strncmp-ifunc.c: Likewise.
27150 * benchtests/bench-strncpy-ifunc.c: Likewise.
27151 * benchtests/bench-strnlen-ifunc.c: Likewise.
27152 * benchtests/bench-strpbrk-ifunc.c: Likewise.
27153 * benchtests/bench-strrchr-ifunc.c: Likewise.
27154 * benchtests/bench-strsep-ifunc.c: Likewise.
27155 * benchtests/bench-strspn-ifunc.c: Likewise.
27156 * benchtests/bench-strstr-ifunc.c: Likewise.
27158 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27160 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
27162 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
27164 * resolv/netdb.h: Use __glibc_reserved instead __unused.
27165 * rt/aio.h: Likewise.
27166 * sysdeps/gnu/bits/utmp.h: Likewise.
27167 * sysdeps/gnu/bits/utmpx.h: Likewise.
27168 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
27169 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
27170 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
27171 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
27172 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
27173 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
27174 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
27175 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
27176 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
27177 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
27178 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
27179 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
27180 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
27181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
27182 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27183 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
27184 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
27185 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
27186 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
27187 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
27188 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
27189 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
27190 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
27191 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27192 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
27193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27194 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
27195 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
27196 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
27197 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
27198 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
27199 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
27200 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
27201 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27202 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
27203 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
27204 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
27205 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
27206 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
27207 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
27208 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
27209 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27211 2013-11-25 Carlos O'Donell <carlos@redhat.com>
27214 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
27215 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
27217 2013-11-25 Joseph Myers <joseph@codesourcery.com>
27219 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
27220 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27223 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27225 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
27226 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
27227 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
27228 (__fesetround): Remove define.
27229 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
27230 rounding and exceptions handling.
27231 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
27232 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
27233 (__fe_nomask_env): Likewise.
27234 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
27235 __fegetround instead of fegetround.
27236 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
27237 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
27239 2013-11-21 Roland McGrath <roland@hack.frob.com>
27241 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
27244 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
27246 2013-11-21 Meador Inge <meadori@codesourcery.com>
27249 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
27250 (encrypt_r): Likewise.
27251 * malloc/obstack.h (obstack_free): Likewise.
27252 * posix/unistd.h (encrypt): Likewise.
27254 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
27256 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
27257 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
27258 DL_CALL_DT_FINI() that call the functions directly.
27259 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
27260 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
27261 * elf/dl-fini.c: Likewise.
27263 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
27265 * malloc/hooks.c (memalign_check): Add alignment rounding.
27266 * malloc/malloc.c (_mid_memalign): New function.
27267 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27268 Implement by calling _mid_memalign.
27269 * manual/probes.texi (Memory Allocation Probes): Remove
27270 memory_valloc_retry and memory_pvalloc_retry.
27272 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27274 * locale/programs/locarchive.c (open_archive): Add const
27275 qualifier to ARCHIVEFNAME and copy default fname to
27279 * libio/tst-widetext.input: Rename Oriya to Odia.
27280 * locale/iso-639.def: Likewise.
27282 * manual/probes.texi (Mathematical Function Probes): Add
27283 documentation for sin, cos, asin and acos probes.
27284 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
27285 (__sin32): Add slowasin probe.
27286 (__cos32): Add slowacos probe.
27287 (__mpsin): Add slowsin probe.
27288 (__mpcos): Add slowcos probe.
27290 2013-11-19 Joseph Myers <joseph@codesourcery.com>
27293 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
27294 thread-local __sim_exceptions_thread and global
27295 __sim_exceptions_global.
27296 (__sim_disabled_exceptions): Change to thread-local
27297 __sim_disabled_exceptions_thread and global
27298 __sim_disabled_exceptions_global.
27299 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27300 and global __sim_round_mode_global.
27301 (__simulate_exceptions): Use thread-local floating-point state and
27302 set global state from it as needed.
27303 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
27304 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
27305 __sim_round_mode_thread.
27306 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
27307 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
27308 and global __sim_exceptions_global.
27309 (__sim_disabled_exceptions): Change to thread-local
27310 __sim_disabled_exceptions_thread and global
27311 __sim_disabled_exceptions_global.
27312 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
27313 and global __sim_round_mode_global.
27314 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
27315 (SIM_SET_GLOBAL): Likewise.
27316 * sysdeps/powerpc/soft-fp/sfp-machine.h
27317 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
27318 __sim_round_mode_thread.
27319 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
27320 __sim_disabled_exceptions_thread.
27321 (__sim_exceptions): Change to __sim_exceptions_thread.
27322 (__sim_disabled_exceptions): Change to
27323 __sim_disabled_exceptions_thread.
27324 (__sim_round_mode): Change to __sim_round_mode_thread.
27325 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
27326 thread-local floating-point state and set global state from it as
27328 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
27329 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
27330 (__sim_disabled_exceptions): Remove extern declaration.
27331 (feenableexcept): Use thread-local floating-point state and set
27332 global state from it as needed.
27333 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
27334 extern declaration.
27335 (__sim_disabled_exceptions): Likewise.
27336 (__sim_round_mode): Likewise.
27337 (__fegetenv): Use thread-local floating-point state.
27338 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
27339 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
27340 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
27341 floating-point state and set global state from it as needed.
27342 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
27343 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27344 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
27346 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27347 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
27349 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
27350 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
27351 Use __sim_round_mode_thread.
27352 * math/test-fenv-tls.c: New file.
27353 * math/Makefile (tests): Add test-fenv-tls.
27354 ($(objpfx)test-fenv-tls): Depend on
27355 $(common-objpfx)nptl/libpthread.so.
27357 2013-11-19 Andreas Schwab <schwab@suse.de>
27359 * locale/programs/locale.c (show_info): Decode wordarray elements.
27360 * locale/categories.def (LC_MONETARY): Add element for
27361 _NL_MONETARY_CRNCYSTR.
27362 * locale/C-monetary.c (conversion_rate): New variable.
27363 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
27366 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
27368 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
27369 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
27371 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27373 * elf/Makefile (tst-auxv): New test.
27374 * elf/tst-auxv.c: New
27375 * elf/rtld.c (dl_main): Adjust AT_EXECFN
27377 2013-11-18 Joseph Myers <joseph@codesourcery.com>
27379 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
27380 (hidden_proto): Caller changed.
27381 (hidden_tls_proto): New macro.
27382 (libc_hidden_tls_proto): Likewise.
27383 (rtld_hidden_tls_proto): Likewise.
27384 (libm_hidden_tls_proto): Likewise.
27385 (libresolv_hidden_tls_proto): Likewise.
27386 (librt_hidden_tls_proto): Likewise.
27387 (libdl_hidden_tls_proto): Likewise.
27388 (libnss_files_hidden_tls_proto): Likewise.
27389 (libnsl_hidden_tls_proto): Likewise.
27390 (libnss_nisplus_hidden_tls_proto): Likewise.
27391 (libutil_hidden_tls_proto): Likewise.
27393 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
27396 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
27397 (decompose_rpath): Defer expansion to fillin_rpath.
27398 (_dl_init_paths): Pass linkmap to fillin_rpath.
27400 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27402 * benchtests/Makefile: Add strsep.
27403 * benchtests/bench-strsep.c: New file: strsep benchtest.
27404 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
27406 2013-11-18 Andreas Schwab <schwab@suse.de>
27408 * locale/programs/locale.c (show_info) [case byte]: Check for
27409 '\377' instead of '\177'.
27410 * locale/C-monetary.c (not_available): Always use "\377".
27411 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
27412 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
27413 detect unavailable sign_posn locale elements.
27414 * locale/localeconv.c (__localeconv): For grouping and
27415 mon_grouping handle "\177" and "\377" like no grouping.
27416 (INT_ELEM): New macro. Use it to set all numeric members.
27417 * locale/programs/ld-monetary.c (monetary_read)
27418 <tok_mon_grouping>: Normalize single -1 to the empty string.
27419 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
27422 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27425 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
27426 when we match (nil).
27427 * stdio-common/tst-sscanf.c (struct test): Add testcase.
27429 2013-11-16 Joseph Myers <joseph@codesourcery.com>
27431 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27432 (NO_TEST_INLINE): Update value.
27433 (ERRNO_UNCHANGED): Likewise.
27434 (ERRNO_EDOM): Likewise.
27435 (ERRNO_ERANGE): Likewise.
27436 (IGNORE_RESULT): Likewise.
27437 (check_float_internal): Check signs of NaN results if
27438 TEST_NAN_SIGN used.
27439 (check_complex): Pass TEST_NAN_SIGN flag through to second
27440 check_float_internal call.
27441 (copysign_test_data): Add tests with quiet NaNs as second
27442 argument. Use TEST_NAN_SIGN.
27443 (fabs_test_data): Add test of negative quiet NaN argument. Use
27445 (signbit_test_data): Add tests of quiet NaN argument.
27446 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
27448 * math/gen-libm-test.pl (show_exceptions): Take extra argument
27450 (parse_args): Handle function results specified as IGNORE.
27451 * math/libm-test.inc (IGNORE_RESULT): New macro.
27452 (check_float_internal): Do not check numerical result if flag
27454 (check_complex): Pass through IGNORE_RESULT to second
27455 check_float_internal call.
27456 (check_int): Do not check numerical result if flag IGNORE_RESULT
27458 (check_long): Likewise.
27459 (check_bool): Likewise.
27460 (check_longlong): Likewise.
27461 (lrint_test_data): Add tests of infinite and NaN arguments.
27462 (lrint_tonearest_test_data): Likewise.
27463 (lrint_towardzero_test_data): Likewise.
27464 (lrint_downward_test_data): Likewise.
27465 (lrint_upward_test_data): Likewise.
27466 (llrint_test_data): Likewise.
27467 (llrint_tonearest_test_data): Likewise.
27468 (llrint_towardzero_test_data): Likewise.
27469 (llrint_downward_test_data): Likewise.
27470 (llrint_upward_test_data): Likewise.
27471 (lround_test_data): Likewise.
27472 (llround_test_data): Likewise.
27474 * math/libm-test.inc (NO_TEST_INLINE): New macro.
27475 (ERRNO_UNCHANGED): Update value.
27476 (ERRNO_EDOM): Likewise.
27477 (ERRNO_ERANGE): Likewise.
27478 (NO_TEST_INLINE_FLOAT): New macro.
27479 (NO_TEST_INLINE_DOUBLE): Likewise.
27480 (enable_test): New function.
27481 (RUN_TEST_f_f): Check enable_test before running test.
27482 (RUN_TEST_2_f): Likewise.
27483 (RUN_TEST_fff_f): Likewise.
27484 (RUN_TEST_c_f): Likewise.
27485 (RUN_TEST_f_f1): Likewise.
27486 (RUN_TEST_fF_f1): Likewise.
27487 (RUN_TEST_fI_f1): Likewise.
27488 (RUN_TEST_ffI_f1): Likewise.
27489 (RUN_TEST_c_c): Likewise.
27490 (RUN_TEST_cc_c): Likewise.
27491 (RUN_TEST_f_i): Likewise.
27492 (RUN_TEST_f_i_tg): Likewise.
27493 (RUN_TEST_ff_i_tg): Likewise.
27494 (RUN_TEST_f_b): Likewise.
27495 (RUN_TEST_f_b_tg): Likewise.
27496 (RUN_TEST_f_l): Likewise.
27497 (RUN_TEST_f_L): Likewise.
27498 (RUN_TEST_fFF_11): Likewise.
27499 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
27501 (cosh_test_data): Likewise.
27502 (exp_test_data): Likewise.
27503 (expm1_test_data): Likewise.
27504 (hypot_test_data): Likewise.
27505 (pow_test_data): Likewise.
27506 (sinh_test_data): Likewise.
27507 (tanh_test_data): Likewise.
27508 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
27511 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
27512 tests with quiet NaN input and output.
27513 (acosh_test_data): Likewise.
27514 (asin_test_data): Likewise.
27515 (asinh_test_data): Likewise.
27516 (atan_test_data): Likewise.
27517 (atanh_test_data): Likewise.
27518 (atan2_test_data): Likewise.
27519 (cbrt_test_data): Likewise.
27520 (cos_test_data): Likewise.
27521 (cosh_test_data): Likewise.
27522 (erf_test_data): Likewise.
27523 (erfc_test_data): Likewise.
27524 (exp_test_data): Likewise.
27525 (exp10_test_data): Likewise.
27526 (exp2_test_data): Likewise.
27527 (expm1_test_data): Likewise.
27528 (hypot_test_data): Likewise.
27529 (j0_test_data): Likewise.
27530 (j1_test_data): Likewise.
27531 (jn_test_data): Likewise.
27532 (lgamma_test_data): Likewise.
27533 (log_test_data): Likewise.
27534 (log10_test_data): Likewise.
27535 (log1p_test_data): Likewise.
27536 (log2_test_data): Likewise.
27537 (pow_test_data): Likewise.
27538 (scalb_test_data): Likewise.
27539 (sin_test_data): Likewise.
27540 (sincos_test_data): Likewise.
27541 (sinh_test_data): Likewise.
27542 (tan_test_data): Likewise.
27543 (tanh_test_data): Likewise.
27544 (tgamma_test_data): Likewise.
27545 (y0_test_data): Likewise.
27546 (y1_test_data): Likewise.
27547 (yn_test_data): Likewise.
27550 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27551 argument being NaN and avoid computations with second argument in
27553 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27554 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27555 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27557 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
27559 * locale/iso-639.def: Add Chitwani Tharu (the).
27561 2013-11-14 Andreas Schwab <schwab@suse.de>
27563 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27564 word instead of empty string.
27566 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27569 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27571 (__fe_nomask_env): Likewise.
27573 2013-11-13 Steve Ellcey <sellcey@mips.com>
27575 * benchtests/bench-timing.h: Include time.h.
27577 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
27580 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27582 * sysdeps/unix/sysv/linux/configure: Regenerated.
27584 2013-11-13 Joseph Myers <joseph@codesourcery.com>
27587 * stdlib/strtod_l.c (round_and_return): Do not consider
27588 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27589 exponent one less than half the least subnormal exponent.
27590 * stdlib/test-strtod-round-data: Add more tests.
27591 * stdlib/tst-strtod-round.c (tests): Regenerated.
27593 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27596 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27597 (__fe_mask_env): Likewise.
27598 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27599 libm_hidden_proto and add function prototype.
27600 (__fe_mask_env): Add function prototype.
27601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27602 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27604 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27606 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27608 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27610 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27611 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27613 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27615 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27616 of htab_find_slot().
27618 2013-11-11 David S. Miller <davem@davemloft.net>
27621 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27622 symbol in the non-vis3 case in static builds.
27623 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27624 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27625 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27626 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27628 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
27631 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27634 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27636 * benchtests/Makefile: Add bench-strtod.
27637 * benchtests/bench-strtod.c: New file: strtod benchtest
27639 2013-11-11 Andreas Schwab <schwab@suse.de>
27642 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27643 terminating NUL in key length.
27645 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27647 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27648 Add artificial ODP entry for vDSO symbol for PPC64.
27649 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27650 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27652 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
27655 * nss/getent.c (services_keys): Recognize services starting with digit.
27657 2013-11-06 David S. Miller <davem@davemloft.net>
27660 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27661 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27663 2013-11-06 Will Newton <will.newton@linaro.org>
27665 * manual/memory.texi (Malloc Examples): Remove register
27666 keyword from examples.
27668 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
27670 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27672 2013-11-04 Joseph Myers <joseph@codesourcery.com>
27675 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27676 depending on [__GCC_IEC_559 > 0].
27677 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27678 depending on [__GCC_IEC_559_COMPLEX > 0].
27680 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
27682 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27685 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
27687 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27689 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
27692 * malloc/malloc (malloc_info): Do not handle first bin as
27695 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
27697 * locale/iso-639.def: Add Central Nahuatl (nhn).
27699 2013-11-01 Bruno Haible <bruno@clisp.org>
27702 * manual/math.texi (BSD Random): Specify range upper bound as
27705 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
27707 * locale/iso-639.def: Add Meadow Mari (mhr).
27709 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
27711 [BZ #14752], [BZ #15763]
27712 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27714 * rt/tst_shm.c: Add test for escaping directory.
27716 2013-10-31 Andreas Schwab <schwab@suse.de>
27719 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27720 followed by 'x' as part of digit sequence.
27721 * stdio-common/tst-sscanf.c (double_tests2): New tests.
27723 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27726 * configure.ac: allow GNU Make 4.0 and greater.
27727 * configure: Regenerated.
27729 2013-10-30 Will Newton <will.newton@linaro.org>
27732 * malloc/hooks.c (memalign_check): Limit alignment to the
27733 maximum representable power of two.
27734 * malloc/malloc.c (__libc_memalign): Likewise.
27735 * malloc/tst-memalign.c (do_test): Add test for very
27736 large alignment values.
27737 * malloc/tst-posix_memalign.c (do_test): Likewise.
27739 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27742 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27743 (munmap_chunk): Likewise.
27744 (mremap_chunk): Likewise.
27746 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
27749 * stdlib/div.c (div): Remove obsolete code.
27750 * stdlib/ldiv.c (ldiv): Likewise.
27751 * stdlib/lldiv.c (lldiv): Likewise.
27753 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27756 * nss/nss_files/files-XXX.c (get_contents_ret): New
27758 (get_contents): New function.
27759 (internal_getent): Use it. Expand size of LINEBUFLEN.
27761 2013-10-30 Mike Frysinger <vapier@gentoo.org>
27763 * configure.in: Moved to ...
27764 * configure.ac: ... here. Change reference to configure.in
27766 * sysdeps/arm/preconfigure.ac: ... here.
27767 configure.in to configure.ac.
27768 * sysdeps/gnu/configure.in: Moved to ...
27769 * sysdeps/gnu/configure.ac: ... here.
27770 * sysdeps/i386/configure.in: Moved to ...
27771 * sysdeps/i386/configure.ac: ... here.
27772 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27773 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27774 * sysdeps/mach/configure.in: Moved to ...
27775 * sysdeps/mach/configure.ac: ... here.
27776 * sysdeps/mach/hurd/configure.in: Moved to ...
27777 * sysdeps/mach/hurd/configure.ac: ... here.
27778 * sysdeps/powerpc/configure.in: Moved to ...
27779 * sysdeps/powerpc/configure.ac: ... here.
27780 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27781 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27782 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27783 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27784 * sysdeps/s390/s390-32/configure.in: Moved to ...
27785 * sysdeps/s390/s390-32/configure.ac: ... here.
27786 * sysdeps/s390/s390-64/configure.in: Moved to ...
27787 * sysdeps/s390/s390-64/configure.ac: ... here.
27788 * sysdeps/sh/configure.in: Moved to ...
27789 * sysdeps/sh/configure.ac: ... here.
27790 * sysdeps/sparc/configure.in: Moved to ...
27791 * sysdeps/sparc/configure.ac: ... here.
27792 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27793 * sysdeps/unix/sysv/linux/configure.ac: ... here.
27794 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27795 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27796 * sysdeps/x86_64/configure.in: Moved to ...
27797 * sysdeps/x86_64/configure.ac: ... here.
27798 * sysdeps/x86_64/preconfigure.in: Moved to ...
27799 * sysdeps/x86_64/preconfigure.ac: ... here.
27800 * aclocal.m4: Change reference to configure.in to configure.ac.
27801 * config.h.in: Likewise.
27802 * manual/install.texi: Likewise.
27803 * manual/maint.texi: Likewise.
27804 * Makefile: Likewise.
27805 * malloc/Makefile: Likewise.
27806 * nscd/Makefile: Likewise.
27807 * Makeconfig: Change reference to configure.in and
27808 preconfigure.in to configure.ac and preconfigure.ac
27810 * INSTALL: Regenerated.
27811 * configure: Likewise.
27812 * sysdeps/gnu/configure: Likewise.
27813 * sysdeps/i386/configure: Likewise.
27814 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27815 * sysdeps/mach/configure: Likewise.
27816 * sysdeps/mach/hurd/configure: Likewise.
27817 * sysdeps/powerpc/configure: Likewise.
27818 * sysdeps/powerpc/powerpc32/configure: Likewise.
27819 * sysdeps/powerpc/powerpc64/configure: Likewise.
27820 * sysdeps/s390/s390-32/configure: Likewise.
27821 * sysdeps/s390/s390-64/configure: Likewise.
27822 * sysdeps/sh/configure: Likewise.
27823 * sysdeps/sparc/configure: Likewise.
27824 * sysdeps/unix/sysv/linux/configure: Likewise.
27825 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27826 * sysdeps/x86_64/configure: Likewise.
27827 * sysdeps/x86_64/preconfigure: Likewise.
27829 2013-10-29 Andreas Schwab <schwab@suse.de>
27831 * stdio-common/Makefile (tst-swscanf-ENV): Define.
27833 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27835 * benchtests/pow-inputs: Add new inputs.
27837 * benchtests/exp-inputs: Add new inputs.
27839 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27840 conditional check for return value.
27841 (__cos32): Likewise.
27843 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27845 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27846 to provide a boost for large inputs with word alignment.
27847 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27848 implementation based on optimized PPC64 strcpy.
27849 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27850 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27851 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27852 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27854 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27857 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27859 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27862 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27863 * time/tst-strptime.c (day_tests): Add testcase.
27865 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
27868 * manual/pattern.texi: Acknowledge that fnmatch can fail.
27870 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
27873 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27874 MAP_FAILED on error.
27876 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27879 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27880 heap for large requests.
27882 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
27885 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27886 result if the result has no associated interface.
27887 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27888 interface for all 127.X.Y.Z addresses.
27890 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
27892 * locale/iso-639.def: Add Ligurian (lij)
27894 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
27897 * sunrpc/rpc_main.c: Document rpcgen -5.
27899 2013-10-19 Michael Stahl <mstahl@redhat.com>
27901 * elf/rtld.c (do_preload): Print the reason why preloading failed.
27903 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27906 * posix/glob.c: Match only directories when trailing slash is present.
27907 * posix/tst-gnuglob.c (my_opendir): Do not open files.
27908 (main): Add testcase.
27910 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
27913 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27915 2013-10-18 Carlos O'Donell <carlos@redhat.com>
27917 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27918 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27919 AUTH_DES and cindex for FIPS 140-2.
27920 (DES Encryption): Add cindex FIPS 46-3.
27922 * locale/locarchive.h (struct locarhandle): Add fname.
27923 * locale/programs/localedef.c (main): Pass ARGV[remaining]
27924 if an optional argument was specified to --list-archive,
27926 * locale/programs/locarchive.c (show_archive_content): Take new
27927 argument fname and pass it via ah.fname to open_archive.
27928 * locale/programs/localedef.h: Update decl.
27929 (open_archive): If AH->fname is non-null, open that file
27930 rather than the default file name, and don't ignore ENOENT.
27931 (create_archive): Set AH.fname to NULL.
27932 (delete_locales_from_archive): Likewise.
27933 (add_locales_to_archive): Likewise.
27934 * locale/programs/locfile.c (write_all_categories): Likewise.
27936 2013-10-18 Joseph Myers <joseph@codesourcery.com>
27937 Aldy Hernandez <aldyh@redhat.com>
27939 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27940 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27941 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27942 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27943 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27944 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27945 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27946 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27947 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27948 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27949 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27950 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27951 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27952 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27953 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27955 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27957 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27959 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27961 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27962 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27964 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27965 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27966 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27967 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27969 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27970 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27971 * sysdeps/powerpc/preconfigure: Likewise.
27972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27974 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27975 Replace contents of file by #include of <fenv_libc.h>.
27976 * sysdeps/powerpc/soft-fp/sfp-machine.h
27977 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27979 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27980 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27981 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27982 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27983 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27984 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27985 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27986 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27987 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27988 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27989 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27990 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27992 Allow copysignl PLT reference to be missing.
27994 2013-10-18 Richard Sandiford <richard@codesourcery.com>
27995 Joseph Myers <joseph@codesourcery.com
27998 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
28000 (add_to_tablewc): Assert sequence of wide characters is nonempty.
28002 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28004 * elf/tst-tls-dlinfo.c: Don't include tls.h.
28005 * elf/tst-tls1.c: Likewise.
28006 * elf/tst-tls10.h: Likewise.
28007 * elf/tst-tls14.c: Likewise.
28008 * elf/tst-tls2.c: Likewise.
28009 * elf/tst-tls3.c: Likewise.
28010 * elf/tst-tls4.c: Likewise.
28011 * elf/tst-tls5.c: Likewise.
28012 * elf/tst-tls6.c: Likewise.
28013 * elf/tst-tls7.c: Likewise.
28014 * elf/tst-tls8.c: Likewise.
28015 * elf/tst-tls9.c: Likewise.
28016 * elf/tst-tlsmod1.c: Likewise.
28017 * elf/tst-tlsmod13.c: Likewise.
28018 * elf/tst-tlsmod13a.c: Likewise.
28019 * elf/tst-tlsmod14a.c: Likewise.
28020 * elf/tst-tlsmod16a.c: Likewise.
28021 * elf/tst-tlsmod16b.c: Likewise.
28022 * elf/tst-tlsmod2.c: Likewise.
28023 * elf/tst-tlsmod3.c: Likewise.
28024 * elf/tst-tlsmod4.c: Likewise.
28025 * elf/tst-tlsmod5.c: Likewise.
28026 * elf/tst-tlsmod6.c: Likewise.
28028 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
28031 * malloc/malloc.c: remove checks for statistics.
28033 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28036 * inet/inet_net.c (inet_network): Detect additional invalid strings.
28037 * inet/tst-network.c: Add testcase.
28039 2013-10-17 Andreas Schwab <schwab@suse.de>
28042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
28043 to determine canonical name.
28045 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
28047 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
28048 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
28049 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28050 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28052 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28053 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28054 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28055 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28056 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28057 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28058 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28059 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28060 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28061 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28062 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28063 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28064 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28065 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28066 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28067 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28068 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28069 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28070 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
28071 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
28072 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28073 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28074 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
28075 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28076 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
28077 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28078 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28079 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28080 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28081 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28082 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28083 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28084 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28085 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28086 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28087 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28088 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28089 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28090 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28091 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28092 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28093 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28094 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28095 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28096 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28097 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28098 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28099 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28100 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28101 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28102 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28103 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28104 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28106 2013-10-17 Joseph Myers <joseph@codesourcery.com>
28109 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
28110 make result into a quiet NaN.
28112 2013-10-16 Joseph Myers <joseph@codesourcery.com>
28114 * soft-fp/adddf3.c: Fix horizontal whitespace.
28115 * soft-fp/addsf3.c: Likewise.
28116 * soft-fp/addtf3.c: Likewise.
28117 * soft-fp/divdf3.c: Likewise.
28118 * soft-fp/divsf3.c: Likewise.
28119 * soft-fp/divtf3.c: Likewise.
28120 * soft-fp/double.h: Likewise.
28121 * soft-fp/eqdf2.c: Likewise.
28122 * soft-fp/eqsf2.c: Likewise.
28123 * soft-fp/eqtf2.c: Likewise.
28124 * soft-fp/extenddftf2.c: Likewise.
28125 * soft-fp/extended.h: Likewise.
28126 * soft-fp/extendsfdf2.c: Likewise.
28127 * soft-fp/extendsftf2.c: Likewise.
28128 * soft-fp/extendxftf2.c: Likewise.
28129 * soft-fp/fixdfdi.c: Likewise.
28130 * soft-fp/fixdfsi.c: Likewise.
28131 * soft-fp/fixdfti.c: Likewise.
28132 * soft-fp/fixsfdi.c: Likewise.
28133 * soft-fp/fixsfsi.c: Likewise.
28134 * soft-fp/fixsfti.c: Likewise.
28135 * soft-fp/fixtfdi.c: Likewise.
28136 * soft-fp/fixtfsi.c: Likewise.
28137 * soft-fp/fixtfti.c: Likewise.
28138 * soft-fp/fixunsdfdi.c: Likewise.
28139 * soft-fp/fixunsdfsi.c: Likewise.
28140 * soft-fp/fixunsdfti.c: Likewise.
28141 * soft-fp/fixunssfdi.c: Likewise.
28142 * soft-fp/fixunssfsi.c: Likewise.
28143 * soft-fp/fixunssfti.c: Likewise.
28144 * soft-fp/fixunstfdi.c: Likewise.
28145 * soft-fp/fixunstfsi.c: Likewise.
28146 * soft-fp/fixunstfti.c: Likewise.
28147 * soft-fp/floatdidf.c: Likewise.
28148 * soft-fp/floatdisf.c: Likewise.
28149 * soft-fp/floatditf.c: Likewise.
28150 * soft-fp/floatsidf.c: Likewise.
28151 * soft-fp/floatsisf.c: Likewise.
28152 * soft-fp/floatsitf.c: Likewise.
28153 * soft-fp/floattidf.c: Likewise.
28154 * soft-fp/floattisf.c: Likewise.
28155 * soft-fp/floattitf.c: Likewise.
28156 * soft-fp/floatundidf.c: Likewise.
28157 * soft-fp/floatundisf.c: Likewise.
28158 * soft-fp/floatunditf.c: Likewise.
28159 * soft-fp/floatunsidf.c: Likewise.
28160 * soft-fp/floatunsisf.c: Likewise.
28161 * soft-fp/floatunsitf.c: Likewise.
28162 * soft-fp/floatuntidf.c: Likewise.
28163 * soft-fp/floatuntisf.c: Likewise.
28164 * soft-fp/floatuntitf.c: Likewise.
28165 * soft-fp/fmadf4.c: Likewise.
28166 * soft-fp/fmasf4.c: Likewise.
28167 * soft-fp/fmatf4.c: Likewise.
28168 * soft-fp/gedf2.c: Likewise.
28169 * soft-fp/gesf2.c: Likewise.
28170 * soft-fp/getf2.c: Likewise.
28171 * soft-fp/ledf2.c: Likewise.
28172 * soft-fp/lesf2.c: Likewise.
28173 * soft-fp/letf2.c: Likewise.
28174 * soft-fp/muldf3.c: Likewise.
28175 * soft-fp/mulsf3.c: Likewise.
28176 * soft-fp/multf3.c: Likewise.
28177 * soft-fp/negdf2.c: Likewise.
28178 * soft-fp/negsf2.c: Likewise.
28179 * soft-fp/negtf2.c: Likewise.
28180 * soft-fp/op-1.h: Likewise.
28181 * soft-fp/op-2.h: Likewise.
28182 * soft-fp/op-4.h: Likewise.
28183 * soft-fp/op-8.h: Likewise.
28184 * soft-fp/op-common.h: Likewise.
28185 * soft-fp/quad.h: Likewise.
28186 * soft-fp/single.h: Likewise.
28187 * soft-fp/soft-fp.h: Likewise.
28188 * soft-fp/sqrtdf2.c: Likewise.
28189 * soft-fp/sqrtsf2.c: Likewise.
28190 * soft-fp/sqrttf2.c: Likewise.
28191 * soft-fp/subdf3.c: Likewise.
28192 * soft-fp/subsf3.c: Likewise.
28193 * soft-fp/subtf3.c: Likewise.
28194 * soft-fp/truncdfsf2.c: Likewise.
28195 * soft-fp/trunctfdf2.c: Likewise.
28196 * soft-fp/trunctfsf2.c: Likewise.
28197 * soft-fp/trunctfxf2.c: Likewise.
28198 * soft-fp/unorddf2.c: Likewise.
28199 * soft-fp/unordsf2.c: Likewise.
28200 * soft-fp/unordtf2.c: Likewise.
28202 2013-10-15 Joseph Myers <joseph@codesourcery.com>
28204 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
28205 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
28207 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
28209 * elf/dl-libc.c: Clear initfini list after freeing.
28211 2013-10-14 Joseph Myers <joseph@codesourcery.com>
28213 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
28214 * soft-fp/addsf3.c: Likewise.
28215 * soft-fp/addtf3.c: Likewise.
28216 * soft-fp/divdf3.c: Likewise.
28217 * soft-fp/divsf3.c: Likewise.
28218 * soft-fp/divtf3.c: Likewise.
28219 * soft-fp/double.h: Likewise.
28220 * soft-fp/eqdf2.c: Likewise.
28221 * soft-fp/eqsf2.c: Likewise.
28222 * soft-fp/eqtf2.c: Likewise.
28223 * soft-fp/extenddftf2.c: Likewise.
28224 * soft-fp/extended.h: Likewise.
28225 * soft-fp/extendsfdf2.c: Likewise.
28226 * soft-fp/extendsftf2.c: Likewise.
28227 * soft-fp/extendxftf2.c: Likewise.
28228 * soft-fp/fixdfdi.c: Likewise.
28229 * soft-fp/fixdfsi.c: Likewise.
28230 * soft-fp/fixdfti.c: Likewise.
28231 * soft-fp/fixsfdi.c: Likewise.
28232 * soft-fp/fixsfsi.c: Likewise.
28233 * soft-fp/fixsfti.c: Likewise.
28234 * soft-fp/fixtfdi.c: Likewise.
28235 * soft-fp/fixtfsi.c: Likewise.
28236 * soft-fp/fixtfti.c: Likewise.
28237 * soft-fp/fixunsdfdi.c: Likewise.
28238 * soft-fp/fixunsdfsi.c: Likewise.
28239 * soft-fp/fixunsdfti.c: Likewise.
28240 * soft-fp/fixunssfdi.c: Likewise.
28241 * soft-fp/fixunssfsi.c: Likewise.
28242 * soft-fp/fixunssfti.c: Likewise.
28243 * soft-fp/fixunstfdi.c: Likewise.
28244 * soft-fp/fixunstfsi.c: Likewise.
28245 * soft-fp/fixunstfti.c: Likewise.
28246 * soft-fp/floatdidf.c: Likewise.
28247 * soft-fp/floatdisf.c: Likewise.
28248 * soft-fp/floatditf.c: Likewise.
28249 * soft-fp/floatsidf.c: Likewise.
28250 * soft-fp/floatsisf.c: Likewise.
28251 * soft-fp/floatsitf.c: Likewise.
28252 * soft-fp/floattidf.c: Likewise.
28253 * soft-fp/floattisf.c: Likewise.
28254 * soft-fp/floattitf.c: Likewise.
28255 * soft-fp/floatundidf.c: Likewise.
28256 * soft-fp/floatundisf.c: Likewise.
28257 * soft-fp/floatunsidf.c: Likewise.
28258 * soft-fp/floatunsisf.c: Likewise.
28259 * soft-fp/floatuntidf.c: Likewise.
28260 * soft-fp/floatuntisf.c: Likewise.
28261 * soft-fp/floatuntitf.c: Likewise.
28262 * soft-fp/fmadf4.c: Likewise.
28263 * soft-fp/fmasf4.c: Likewise.
28264 * soft-fp/fmatf4.c: Likewise.
28265 * soft-fp/gedf2.c: Likewise.
28266 * soft-fp/gesf2.c: Likewise.
28267 * soft-fp/getf2.c: Likewise.
28268 * soft-fp/ledf2.c: Likewise.
28269 * soft-fp/lesf2.c: Likewise.
28270 * soft-fp/letf2.c: Likewise.
28271 * soft-fp/muldf3.c: Likewise.
28272 * soft-fp/mulsf3.c: Likewise.
28273 * soft-fp/multf3.c: Likewise.
28274 * soft-fp/negdf2.c: Likewise.
28275 * soft-fp/negsf2.c: Likewise.
28276 * soft-fp/negtf2.c: Likewise.
28277 * soft-fp/op-1.h: Likewise.
28278 * soft-fp/op-2.h: Likewise.
28279 * soft-fp/op-4.h: Likewise.
28280 * soft-fp/op-8.h: Likewise.
28281 * soft-fp/op-common.h: Likewise.
28282 * soft-fp/quad.h: Likewise.
28283 * soft-fp/single.h: Likewise.
28284 * soft-fp/soft-fp.h: Likewise.
28285 * soft-fp/sqrtdf2.c: Likewise.
28286 * soft-fp/sqrtsf2.c: Likewise.
28287 * soft-fp/sqrttf2.c: Likewise.
28288 * soft-fp/subdf3.c: Likewise.
28289 * soft-fp/subsf3.c: Likewise.
28290 * soft-fp/subtf3.c: Likewise.
28291 * soft-fp/truncdfsf2.c: Likewise.
28292 * soft-fp/trunctfdf2.c: Likewise.
28293 * soft-fp/trunctfsf2.c: Likewise.
28294 * soft-fp/trunctfxf2.c: Likewise.
28295 * soft-fp/unorddf2.c: Likewise.
28296 * soft-fp/unordsf2.c: Likewise.
28297 * soft-fp/unordtf2.c: Likewise.
28299 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
28302 * misc/error.c (error_tail): Fix possible buffer overflow.
28304 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
28307 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
28310 2013-10-14 P. J. McDermott <pj@pehjota.net>
28313 * elf/ldd.bash.in (try_trace): New function. Delete previous code
28314 testing pipefail option.
28316 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28318 * soft-fp/double.h: Indent preprocessor directives inside #if.
28319 * soft-fp/extended.h: Likewise.
28320 * soft-fp/op-2.h: Likewise.
28321 * soft-fp/op-4.h: Likewise.
28322 * soft-fp/op-common.h: Likewise.
28323 * soft-fp/quad.h: Likewise.
28324 * soft-fp/single.h: Likewise.
28325 * soft-fp/soft-fp.h: Likewise.
28327 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
28329 * iconv/iconv_prog.c: Fix typos.
28330 * stdio-common/psiginfo-data.h: Likewise.
28332 2013-10-12 Reuben Thomas <rrt@sc3d.org>
28335 * locale/setlocale.c: Fix typo.
28337 2013-10-12 Joseph Myers <joseph@codesourcery.com>
28340 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
28341 signaling NaN arguments.
28342 * soft-fp/unordsf2.c (__unordsf2): Likewise.
28343 * soft-fp/unordtf2.c (__unordtf2): Likewise.
28346 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
28347 unordered operands.
28348 * soft-fp/gesf2.c (__gesf2): Likewise.
28349 * soft-fp/getf2.c (__getf2): Likewise.
28350 * soft-fp/ledf2.c (__ledf2): Likewise.
28351 * soft-fp/lesf2.c (__lesf2): Likewise.
28352 * soft-fp/letf2.c (__letf2): Likewise.
28354 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
28355 * soft-fp/eqsf2.c (__eqsf2): Likewise.
28356 * soft-fp/eqtf2.c (__eqtf2): Likewise.
28357 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
28358 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
28359 * soft-fp/fixdfti.c (__fixdfti): Likewise.
28360 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
28361 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
28362 * soft-fp/fixsfti.c (__fixsfti): Likewise.
28363 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
28364 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
28365 * soft-fp/fixtfti.c (__fixtfti): Likewise.
28366 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
28367 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
28368 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
28369 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
28370 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
28371 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
28372 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
28373 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
28374 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
28375 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
28376 * soft-fp/floatdisf.c (__floatdisf): Likewise.
28377 * soft-fp/floatsisf.c (__floatsisf): Likewise.
28378 * soft-fp/floattidf.c (__floattidf): Likewise.
28379 * soft-fp/floattisf.c (__floattisf): Likewise.
28380 * soft-fp/floattitf.c (__floattitf): Likewise.
28381 * soft-fp/floatundidf.c (__floatundidf): Likewise.
28382 * soft-fp/floatundisf.c (__floatundisf): Likewise.
28383 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
28384 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
28385 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
28386 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
28387 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
28388 * soft-fp/gesf2.c (__gesf2): Likewise.
28389 * soft-fp/getf2.c (__getf2): Likewise.
28390 * soft-fp/ledf2.c (__ledf2): Likewise.
28391 * soft-fp/lesf2.c (__lesf2): Likewise.
28392 * soft-fp/letf2.c (__letf2): Likewise.
28394 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
28395 Undefine and redefine.
28396 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
28397 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
28398 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
28399 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
28400 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28401 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
28402 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28403 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
28404 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28405 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
28406 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28407 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
28408 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28409 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
28410 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
28413 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
28414 without decrementing exponent if mantissa >= that for the
28415 denominator, not >.
28416 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
28417 denominator, not >. Decrement exponent in < case instead of
28418 incrementing in >= case.
28419 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
28420 without decrementing exponent if mantissa >= that for the
28421 denominator, not >.
28423 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
28424 computing saturated result for unsigned overflow.
28426 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28427 Jeff Law <law@redhat.com>
28429 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
28430 (atan2Mp): Add systemtap probe marker.
28431 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
28432 (__ieee754_log): Add systemtap probe marker.
28433 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
28434 (atanMp): Add systemtap probe marker.
28435 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
28436 (tanMp): Add systemtap probe marker.
28437 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
28438 (__slowexp): Add systemtap probe marker.
28439 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
28440 (__slowpow): Add systemtap probe marker.
28441 * manual/probes.texi: Document probes.
28443 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
28446 * libio/fileops.c (_IO_new_file_write): Return count of bytes
28448 (_IO_new_file_xsputn): Don't return EOF if nothing has been
28450 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
28451 written to buffer but not flushed.
28452 * libio/iofwrite_u.c: Likewise.
28453 * libio/iopadn.c: Return bytes returned even if EOF was
28455 * libio/iowpadn.c: Likewise.
28456 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
28457 if _IO_padn does not write the whole buffer.
28458 [!COMPILE_WPRINTF] (PAD): Likewise.
28460 2013-10-10 David S. Miller <davem@davemloft.net>
28462 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
28465 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28467 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
28468 instead of FSF address.
28469 * soft-fp/fixdfti.c: Likewise.
28470 * soft-fp/fixsfti.c: Likewise.
28471 * soft-fp/fixtfti.c: Likewise.
28472 * soft-fp/fixunsdfti.c: Likewise.
28473 * soft-fp/fixunssfti.c: Likewise.
28474 * soft-fp/fixunstfti.c: Likewise.
28475 * soft-fp/floattidf.c: Likewise.
28476 * soft-fp/floattisf.c: Likewise.
28477 * soft-fp/floattitf.c: Likewise.
28478 * soft-fp/floatuntidf.c: Likewise.
28479 * soft-fp/floatuntisf.c: Likewise.
28480 * soft-fp/floatuntitf.c: Likewise.
28481 * soft-fp/trunctfxf2.c: Likewise.
28483 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
28484 * soft-fp/fixdfti.c: Likewise.
28485 * soft-fp/fixsfti.c: Likewise.
28486 * soft-fp/fixtfti.c: Likewise.
28487 * soft-fp/fixunsdfti.c: Likewise.
28488 * soft-fp/fixunssfti.c: Likewise.
28489 * soft-fp/fixunstfti.c: Likewise.
28490 * soft-fp/floattidf.c: Likewise.
28491 * soft-fp/floattisf.c: Likewise.
28492 * soft-fp/floattitf.c: Likewise.
28493 * soft-fp/floatuntidf.c: Likewise.
28494 * soft-fp/floatuntisf.c: Likewise.
28495 * soft-fp/floatuntitf.c: Likewise.
28496 * soft-fp/trunctfxf2.c: Likewise.
28498 2013-10-10 David S. Miller <davem@davemloft.net>
28500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28502 2013-10-10 Joseph Myers <joseph@codsourcery.com>
28504 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28505 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
28506 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
28507 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
28508 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
28509 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
28510 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
28512 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
28513 for NaNs before doing comparisons on argument.
28514 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
28517 2013-10-10 Will Newton <will.newton@linaro.org>
28519 * malloc/hooks.c (memalign_check): Ensure the value of bytes
28520 passed to _int_memalign does not overflow.
28522 2013-10-10 Torvald Riegel <triegel@redhat.com>
28524 * scripts/bench.pl: Add include-sources directive.
28525 * benchtests/README: Update documentation.
28527 2013-10-10 Joseph Myers <joseph@codesourcery.com>
28529 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
28530 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
28531 instead of FP_INIT_ROUNDMODE.
28532 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
28533 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
28536 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
28537 copy class of input value.
28538 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
28539 not handle exceptions.
28540 * soft-fp/negsf2.c (__negsf2): Likewise.
28541 * soft-fp/negtf2.c (__negtf2): Likewise.
28542 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
28544 2013-10-09 Joseph Myers <joseph@codesourcery.com>
28546 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28547 semicolon. From Linux kernel.
28549 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
28551 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28553 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
28556 * manual/socket.texi: Added statement about buffer
28557 for gethostbyname2_r.
28559 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
28561 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28562 Use .p2align directive instead, throughout.
28563 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28564 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28565 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28566 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28567 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28568 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28569 * sysdeps/x86_64/strchr.S: Likewise.
28570 * sysdeps/x86_64/strrchr.S: Likewise.
28572 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28574 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28576 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28578 * sysdeps/generic/math_private.h (__mpsin1): Remove
28580 (__mpcos1): Likewise.
28581 (__mpsin): New argument __range_reduce.
28582 (__mpcos): Likewise.
28583 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28584 (slow): Use __mpsin and __mpcos.
28588 (sloww1): Likewise.
28589 (sloww2): Likewise.
28590 (bsloww): Likewise.
28591 (bsloww1): Likewise.
28592 (bsloww2): Likewise.
28593 (cslow2): Likewise.
28594 (csloww): Likewise.
28595 (csloww1): Likewise.
28596 (csloww2): Likewise.
28597 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28598 range_reduce. Merge in __mpsin1.
28599 (__mpcos): Likewise.
28600 (__mpsin1): Remove.
28601 (__mpcos1): Likewise.
28603 2013-10-07 Joseph Myers <joseph@codesourcery.com>
28605 * locale/loadlocale.c (_nl_intern_locale_data): Use
28607 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28608 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28609 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28610 obstack data is appropriately aligned.
28611 (obstack_int32_grow_fast): Likewise.
28612 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28613 * locale/programs/locfile.c (add_locale_uint32): Likewise.
28614 (add_locale_uint32_array): Likewise.
28616 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28618 * benchtests/Makefile: Remove ARGLIST and RET variables.
28619 ($(objpfx)bench-%.c): Pass only function name to the script.
28620 * benchtests/README: Update documentation.
28621 * benchtests/acos-inputs: Add new directives.
28622 * benchtests/acosh-inputs: Likewise.
28623 * benchtests/asin-inputs: Likewise.
28624 * benchtests/asinh-inputs: Likewise.
28625 * benchtests/atan-inputs: Likewise.
28626 * benchtests/atanh-inputs: Likewise.
28627 * benchtests/cos-inputs: Likewise.
28628 * benchtests/cosh-inputs: Likewise.
28629 * benchtests/exp-inputs: Likewise.
28630 * benchtests/log-inputs: Likewise.
28631 * benchtests/pow-inputs: Likewise.
28632 * benchtests/rint-inputs: Likewise.
28633 * benchtests/sin-inputs: Likewise.
28634 * benchtests/sinh-inputs: Likewise.
28635 * benchtests/tan-inputs: Likewise.
28636 * benchtests/tanh-inputs: Likewise.
28637 * scripts/bench.pl: Add support for new directives.
28639 2013-10-07 Alan Modra <amodra@gmail.com>
28641 * README: Fix careless merge.
28643 2013-10-05 Alan Modra <amodra@gmail.com>
28645 * NEWS: Mention powerpc64le support and bugs fixed.
28646 * README: Both big-endian and little-endian powerpc64 supported.
28648 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28650 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28651 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28652 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28653 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28655 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
28657 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28660 2013-10-04 Joseph Myers <joseph@codesourcery.com>
28662 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28663 Move -mhard-float appending from
28664 ports/sysdeps/powerpc/powerpc32/Makefile.
28665 [$(with-fp) = yes] (ASFLAGS): Likewise.
28666 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28667 * sysdeps/powerpc/nofpu: Move directory from
28668 ports/sysdeps/powerpc/nofpu.
28669 * sysdeps/powerpc/soft-fp: Move directory from
28670 ports/sysdeps/powerpc/soft-fp.
28671 * sysdeps/powerpc/powerpc32/405: Move directory from
28672 ports/sysdeps/powerpc/powerpc32/405.
28673 * sysdeps/powerpc/powerpc32/440: Move directory from
28674 ports/sysdeps/powerpc/powerpc32/440.
28675 * sysdeps/powerpc/powerpc32/464: Move directory from
28676 ports/sysdeps/powerpc/powerpc32/464.
28677 * sysdeps/powerpc/powerpc32/476: Move directory from
28678 ports/sysdeps/powerpc/powerpc32/476.
28679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28680 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28682 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28684 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28686 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28688 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28689 * README: Update for powerpc-*-linux-gnu software floating point
28692 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28693 case to powerpc/powerpc32*.
28694 * sysdeps/unix/sysv/linux/configure: Regenerated.
28696 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28697 (_FPU_MASK_OM): Define as 0x04.
28698 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28701 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28703 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28706 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28709 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28712 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28713 and setcontext_e500.
28715 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
28717 * locale/iso-3166.def: Update iso-1366.def and related occurrences
28719 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28721 * manual/threads.texi (Default Thread Attributes): Fix typo.
28723 2013-10-04 Will Newton <will.newton@linaro.org>
28725 * malloc/Makefile: Add tst-memalign.
28726 * malloc/tst-memalign.c: New file.
28728 * malloc/tst-posix_memalign.c: Add comments.
28729 (do_test): Add comments and call free on all potentially
28730 allocated pointers. Add space after cast.
28732 * malloc/tst-pvalloc.c: Add comments.
28733 (do_test): Add comments and call free on all potentially
28734 allocated pointers. Remove duplicate check for NULL pointer.
28735 Add space after cast.
28737 * malloc/tst-valloc.c: Add comments.
28738 (do_test): Add comments and call free on all potentially
28739 allocated pointers. Remove duplicate check for NULL pointer.
28740 Add space after cast.
28742 2013-10-04 Alan Modra <amodra@gmail.com>
28744 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28745 Use stdint types in rather than __attribute__((mode())).
28746 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28748 2013-10-04 Alan Modra <amodra@gmail.com>
28750 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28751 Correct handling of unaligned relocs for little-endian.
28752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28754 2013-10-04 Alan Modra <amodra@gmail.com>
28756 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28757 * configure: Regenerate.
28758 * nptl/shlib-versions: Powerpc*le starts at 2.18.
28759 * shlib-versions: Likewise.
28761 2013-10-04 Alan Modra <amodra@gmail.com>
28763 * string/tester.c (test_memrchr): Increment reported test cycle.
28765 2013-10-04 Alan Modra <amodra@gmail.com>
28767 * string/test-memcpy.c (do_one_test): When reporting errors, print
28768 string address and don't overrun end of string.
28770 2013-10-04 Alan Modra <amodra@gmail.com>
28772 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28773 insrdi. Make better use of reg selection to speed exit slightly.
28774 Schedule entry path a little better. Remove useless "are we done"
28775 checks on entry to main loop. Handle wrapping around zero address.
28776 Correct main loop count. Handle single left-over word from main
28777 loop inline rather than by using loop_small. Remove extra word
28778 case in loop_small caused by wrong loop count. Add little-endian
28780 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28781 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
28783 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28784 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28785 support. Avoid rlwimi.
28786 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28788 2013-10-04 Alan Modra <amodra@gmail.com>
28790 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28791 insrdi. Formatting.
28792 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28793 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28794 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28795 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28796 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28797 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28799 2013-10-04 Alan Modra <amodra@gmail.com>
28801 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28802 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28803 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28804 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28805 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28806 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28807 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28808 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28809 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
28810 use of regs. Use power7 mtocrf. Tidy function tails.
28812 2013-10-04 Alan Modra <amodra@gmail.com>
28814 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28815 Formatting. Consistently use rXXX register defines or rN defines.
28816 Use early exit labels that avoid restoring unused non-volatile regs.
28817 Make cr field use more consistent with rWORDn compares. Rename
28818 regs used as shift registers for unaligned loop, using rN defines
28819 for short lifetime/multiple use regs.
28820 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28821 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
28822 addi 1,1,64 to pop stack frame. Simplify return value code.
28823 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28825 2013-10-04 Alan Modra <amodra@gmail.com>
28827 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28828 support. Correct typos, formatting. Optimize tail. Use insrdi
28829 rather than rlwimi.
28830 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28831 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28832 little-endian support. Correct typos.
28833 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
28834 rather than rlwimi.
28835 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
28836 in loop and entry code to keep "and." results.
28837 (strchr): Add little-endian support. Comment. Move cntlzd
28839 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28841 2013-10-04 Alan Modra <amodra@gmail.com>
28843 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28844 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28845 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28846 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28848 2013-10-04 Alan Modra <amodra@gmail.com>
28850 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28851 (rTMP): Define as r11.
28852 (strcmp): Add little-endian support. Optimise tail.
28853 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28854 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28855 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28856 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28857 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28858 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28859 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28861 2013-10-04 Alan Modra <amodra@gmail.com>
28863 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28864 little-endian support. Remove unnecessary "are we done" tests.
28865 Handle "s" wrapping around zero and extremely large "size".
28866 Correct main loop count. Handle single left-over word from main
28867 loop inline rather than by using small_loop. Correct comments.
28868 Delete "zero" tail, use "end_max" instead.
28869 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28871 2013-10-04 Alan Modra <amodra@gmail.com>
28873 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28874 support. Don't branch over align.
28875 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28876 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28877 support. Rearrange tmp reg use to suit. Comment.
28878 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28880 2013-10-04 Alan Modra <amodra@gmail.com>
28882 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28884 2013-10-04 Alan Modra <amodra@gmail.com>
28886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28887 conditional form of branch and link when obtaining pc.
28888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28890 2013-10-04 Alan Modra <amodra@gmail.com>
28892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28897 2013-10-04 Alan Modra <amodra@gmail.com>
28899 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28900 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28901 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28902 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28903 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28904 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28905 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28906 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28907 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28908 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28910 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28911 Alistair Popple <alistair@ozlabs.au.ibm.com>
28912 Alan Modra <amodra@gmail.com>
28915 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28916 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28917 _dl_hwcap access for little-endian.
28918 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
28919 destroy vmx regs when saving unaligned.
28920 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28921 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
28922 destroy vmx regs when saving unaligned.
28924 2013-10-04 Alan Modra <amodra@gmail.com>
28926 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28927 Don't use a union to pack hi/low value.
28929 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28931 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28933 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28934 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28935 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28936 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28937 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28939 2013-10-04 Alan Modra <amodra@gmail.com>
28941 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28942 constants to usual value for .cst8 section, and remove redundant
28944 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28945 constant for 0x1p52. Load little-endian words of double from
28946 correct stack offsets.
28948 2013-10-04 Alan Modra <amodra@gmail.com>
28950 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28951 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28952 words of double from correct stack offsets.
28953 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28954 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28955 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28956 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28957 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28958 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28959 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28960 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28961 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28962 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28963 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28964 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28965 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28966 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28967 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28968 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28969 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28971 2013-10-04 Alan Modra <amodra@gmail.com>
28973 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28974 64-bit int/double union.
28975 (_FPU_SETCW): Likewise.
28976 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28977 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28979 2013-10-04 Alan Modra <amodra@gmail.com>
28981 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28982 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28984 2013-10-04 Alan Modra <amodra@gmail.com>
28986 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28987 use vector int constants.
28988 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28990 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
28992 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28993 array with long long.
28994 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28995 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28996 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28997 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28998 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28999 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
29000 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
29001 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
29002 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
29003 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
29004 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
29005 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
29006 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29008 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
29010 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
29011 (__signbit): Likewise. Correct for little-endian.
29012 (__signbitl): Call __signbit.
29013 (lrint): Correct for little-endian.
29014 (lrintf): Call lrint.
29016 2013-10-04 Alan Modra <amodra@gmail.com>
29018 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
29019 union 32-bit int array member with 64-bit int array.
29020 (t515, tm256): Double rather than long double.
29021 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
29023 2013-10-04 Alan Modra <amodra@gmail.com>
29025 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
29027 (IEEE854_LONG_DOUBLE_BIAS): Delete.
29028 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
29029 version of math_ldbl.h.
29031 2013-10-04 Alan Modra <amodra@gmail.com>
29033 [BZ #15734], [BZ #15735]
29034 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
29035 all uses of ieee875 long double macros and unions. Simplify test
29036 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
29037 ldbl_extract_mantissa value for ix,iy exponents. Properly
29038 normalize after ldbl_extract_mantissa, and don't add hidden bit
29039 already handled. Don't treat low word of ieee854 mantissa like
29040 low word of IBM long double and mask off bit when testing for
29042 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
29043 all uses of ieee875 long double macros and unions. Simplify tests
29044 for 0.0L and inf. Correct double adjustment of k. Delete dead code
29045 adjusting ha,hb. Simplify code setting kld. Delete two600 and
29046 two1022, instead use their values. Recognise that tests for large
29047 "a" and small "b" are mutually exclusive. Rename vars. Comment.
29048 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
29049 Rewrite all uses of ieee875 long double macros and unions. Simplify
29050 test for 0.0L and nan. Correct negation.
29051 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
29052 ieee875 long double macros and unions. Correct output for large
29053 magnitude x. Correct absolute value calculation.
29054 (__erfcl): Likewise.
29055 * math/libm-test.inc: Add tests for errors discovered in IBM long
29056 double versions of fmodl, remainderl, erfl and erfcl.
29058 2013-10-04 Alan Modra <amodra@gmail.com>
29060 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
29061 all uses of ieee854 long double macros and unions. Simplify tests
29062 for long doubles that are fully specified by the high double.
29063 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
29065 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
29066 Remove dead code too.
29067 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29068 (__ieee754_ynl): Likewise.
29069 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29070 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
29071 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
29072 Remove dead code too.
29073 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
29074 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
29075 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
29076 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
29078 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
29080 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
29081 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
29082 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
29083 Comment on variable precision.
29084 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
29085 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29087 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29088 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29089 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29090 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
29091 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
29093 2013-10-04 Alan Modra <amodra@gmail.com>
29095 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
29096 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
29097 all uses of ieee854 long double macros and unions.
29098 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
29099 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29100 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
29101 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
29102 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29103 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29105 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
29106 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29107 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
29108 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29109 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
29110 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
29111 Simplify sign and nan test too.
29112 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
29113 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
29114 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
29115 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
29117 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29118 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
29120 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29121 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
29122 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
29123 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
29124 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
29125 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
29127 2013-10-04 Alan Modra <amodra@gmail.com>
29129 * stdio-common/printf_size.c (__printf_size): Don't use
29130 union ieee854_long_double in fpnum union.
29131 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
29132 signbit macro to retrieve sign from long double.
29133 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
29134 retrieve sign from long double.
29135 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
29136 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
29137 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
29138 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29139 * math/test-misc.c (main): Don't use union ieee854_long_double.
29141 2013-10-04 Alan Modra <amodra@gmail.com>
29144 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
29145 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
29146 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
29147 calculation. Remove unnecessary test for denormal exponent.
29148 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
29149 Correct handling of denormals. Avoid undefined shift behaviour.
29150 Correct normalisation of low mantissa when low double is denormal.
29151 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
29152 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
29153 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
29154 Correct normalisation of low mantissa. Test for overflow of high
29155 mantissa and normalise.
29156 (ldbl_nearbyint): Use more readable constant for two52.
29157 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
29158 (__mpn_construct_long_double): Fix test for overflow of high
29159 mantissa and correct normalisation. Avoid undefined shift.
29161 2013-10-04 Alan Modra <amodra@gmail.com>
29163 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29164 (union ibm_extended_long_double): Define as an array of ieee754_double.
29165 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
29166 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
29167 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
29168 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29169 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29170 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
29171 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29172 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29173 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29174 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
29175 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
29177 2013-10-03 Joseph Myers <joseph@codesourcery.com>
29179 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
29180 page size instead of calling getpagesize.
29182 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
29183 (LOCFILE_ALIGN_MASK): Likewise.
29184 (LOCFILE_ALIGN_UP): Likewise.
29185 (LOCFILE_ALIGNED_P): Likewise.
29186 * locale/programs/ld-collate.c (collate_output): Use the new
29187 macros instead of __alignof__ (int32_t).
29188 * locale/weight.h (findidx): Likewise.
29190 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
29193 * manual/string.texi: Fix strncat and wcsncat.
29195 2013-10-03 Brooks Moses <bmoses@google.com>
29198 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
29199 * Makerules: ...here, and adjust associated comments.
29201 2013-10-02 Will Newton <will.newton@linaro.org>
29203 * malloc/Makefile: Add tst-pvalloc.
29204 * malloc/tst-pvalloc.c: New file.
29206 2013-10-02 Will Newton <will.newton@linaro.org>
29208 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
29209 improve test coverage.
29211 2013-10-02 Will Newton <will.newton@linaro.org>
29213 * malloc/Makefile: Add tst-posix_memalign.
29214 * malloc/tst-posix_memalign.c: New file.
29216 2013-10-01 Eric Blake <eblake@redhat.com>
29218 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
29219 Use __THROWNL rather than __THROW on static functions.
29221 2013-09-30 Petr Machata <pmachata@redhat.com>
29223 * elf/elf.h (R_AARCH64_ABS16): New macro.
29224 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
29225 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
29226 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
29227 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
29228 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
29229 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
29230 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
29231 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
29232 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
29233 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
29234 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
29235 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
29236 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
29237 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
29238 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
29239 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
29240 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
29241 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
29242 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
29243 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
29244 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
29245 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
29246 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
29247 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
29248 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
29249 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
29250 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
29251 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
29252 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
29253 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
29254 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
29255 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
29256 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
29257 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
29258 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
29259 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
29260 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
29261 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
29262 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
29263 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
29264 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
29265 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
29266 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
29267 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
29268 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
29269 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
29270 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
29271 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
29272 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
29273 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
29274 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
29275 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
29276 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
29277 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
29278 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
29279 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
29280 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
29281 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
29282 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
29283 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
29284 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
29285 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
29286 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
29287 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
29288 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
29289 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
29290 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
29291 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
29292 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
29293 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
29294 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
29295 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
29296 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
29297 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
29298 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
29299 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
29300 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
29301 (R_AARCH64_TLSDESC_LDR): Likewise.
29302 (R_AARCH64_TLSDESC_ADD): Likewise.
29303 (R_AARCH64_TLSDESC_CALL): Likewise.
29305 2013-09-30 Andreas Schwab <schwab@suse.de>
29308 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
29309 the nss database lookup.
29310 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29313 2013-09-28 Mike Frysinger <vapier@gentoo.org>
29315 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
29317 2013-09-28 P. J. McDermott <pj@pehjota.net>
29319 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
29320 ${Bash-specific parameter/pattern/string} parameter expansion.
29321 * sysdeps/unix/make-syscalls.sh: Likewise.
29323 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29325 * sysdeps/sh/stackguard-macros.h: New file.
29327 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
29329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29330 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
29331 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
29332 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
29333 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29334 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
29336 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29338 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
29339 Fix thread ID register.
29341 2013-09-25 Joseph Myers <joseph@codesourcery.com>
29343 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
29344 [POSIX || UNIX98]: Require rather than permitting all symbols from
29346 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
29347 element of struct sched_param.
29348 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
29349 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
29350 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
29351 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
29354 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
29356 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
29357 argument calculation.
29359 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29361 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
29363 [POSIX] (pthread_attr_t): Do not require type.
29364 [POSIX] (pthread_cond_t): Likewise.
29365 [POSIX] (pthread_condattr_t): Likewise.
29366 [POSIX] (pthread_key_t): Likewise.
29367 [POSIX] (pthread_mutex_t): Likewise.
29368 [POSIX] (pthread_mutexattr_t): Likewise.
29369 [POSIX] (pthread_once_t): Likewise.
29370 [POSIX] (pthread_t): Likewise.
29371 [POSIX-based standards] (pthread_atfork): Expect function.
29373 2013-09-24 Joseph Myers <joseph@codesourcery.com>
29374 Richard Sandiford <richard@codesourcery.com>
29376 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
29377 (swap_endianness_p): New extern variable.
29378 (set_big_endian): New inline function.
29379 (maybe_swap_uint32): Likewise.
29380 (maybe_swap_uint32_array): Likewise.
29381 (maybe_swap_uint32_obstack): Likewise.
29382 * locale/programs/locfile.c: Include <stdbool.h>.
29383 (swap_endianness_p): New variable.
29384 (add_locale_uint32): Call maybe_swap_uint32.
29385 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
29386 (write_locale_data): Call maybe_swap_uint32_array.
29387 * locale/programs/ld-collate.c (obstack_int32_grow): Call
29389 (obstack_int32_grow_fast): Likewise.
29390 (output_weightwc): Call maybe_swap_uint32_obstack.
29391 (collate_output): Likewise.
29392 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
29393 (OPT_LITTLE_ENDIAN): Likewise.
29394 (options): Add --little-endian and --big-endian options.
29395 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
29396 * locale/programs/locarchive.c: Include "locfile.h".
29400 (create_archive): Use the new macros to access fields of
29401 structures directly mapped from or written to locale archives.
29402 (oldlocrecentcmp): Likewise.
29403 (enlarge_archive): Likewise.
29404 (insert_name): Likewise.
29405 (add_alias): Likewise.
29406 (add_locale): Likewise.
29407 (delete_locales_from_archive): Likewise.
29408 (show_archive_content): Likewise.
29409 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
29412 2013-09-24 Roland McGrath <roland@hack.frob.com>
29414 * manual/freemanuals.texi: Updated from (newly) canonical copy at
29415 http://www.gnu.org/doc/freemanuals.texi.
29416 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
29418 2013-09-24 Will Newton <will.newton@linaro.org>
29420 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
29423 2013-09-23 Joseph Myers <joseph@codesourcery.com>
29425 * locale/hashval.h (compute_hashval): Interpret bytes of key as
29428 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
29430 * manual/threads.texi (POSIX Threads): Fix a typo.
29432 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29435 * string/tst-strcoll-overflow.c: New test case.
29436 * string/Makefile (xtests): Add tst-strcoll-overflow.
29437 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
29438 cache if string sizes may cause integer overflow.
29441 * string/strcoll_l.c (coll_seq): New members rule, idx,
29442 save_idx and back_us.
29443 (get_next_seq_nocache): New function.
29444 (do_compare_nocache): New function.
29445 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
29448 2013-09-23 Carlos O'Donell <carlos@redhat.com>
29451 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
29452 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
29453 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
29456 * elf/Makefile (tests): Add tst-ptrguard1.
29457 (tests-static): Add tst-ptrguard1-static.
29458 (tst-ptrguard1-ARGS): Define.
29459 (tst-ptrguard1-static-ARGS): Define.
29460 * elf/tst-ptrguard1.c: New file.
29461 * elf/tst-ptrguard1-static.c: New file.
29462 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
29463 * sysdeps/i386/stackguard-macros.h: Likewise.
29464 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29465 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29466 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29467 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29468 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29469 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29471 2013-09-23 Hector Marco <hecmargi@upv.es>
29472 Ismael Ripoll <iripoll@disca.upv.es>
29473 Carlos O'Donell <carlos@redhat.com>
29476 * sysdeps/generic/stackguard-macros.h: Define
29477 __pointer_chk_guard_local and POINTER_CHK_GUARD.
29478 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
29479 Define __pointer_chk_guard_local.
29480 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
29481 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
29483 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
29486 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
29488 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
29490 * include/string.h (__ffs): Declare as hidden.
29491 * string/ffs.c (__ffs): Define as hidden.
29492 * sysdeps/i386/ffs.c (__ffs): Likewise.
29493 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
29494 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
29495 * sysdeps/s390/ffs.c (__ffs): Likewise.
29496 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
29498 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
29500 * NEWS: Mention malloc probes.
29502 * malloc/arena.c (new_heap): New memory_heap_new probe.
29503 (grow_heap): New memory_heap_more probe.
29504 (shrink_heap): New memory_heap_less probe.
29505 (heap_trim): New memory_heap_free probe.
29506 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
29507 (systrim): New memory_sbrk_less probe.
29508 * manual/probes.texi: Document them.
29510 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
29511 * manual/probes.texi: Document it.
29513 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
29514 (__libc_realloc): Add memory_realloc_retry probe.
29515 (__libc_memalign): Add memory_memalign_retry probe.
29516 (__libc_valloc): Add memory_valloc_retry probe.
29517 (__libc_pvalloc): Add memory_pvalloc_retry probe.
29518 (__libc_calloc): Add memory_calloc_retry probe.
29519 * manual/probes.texi: Document them.
29521 * malloc/arena.c (get_free_list): Add probe
29522 memory_arena_reuse_free_list.
29523 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
29524 and memory_arena_reuse.
29525 (arena_get2) [!PER_THREAD]: Likewise.
29526 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
29527 memory_arena_reuse_realloc.
29528 * manual/probes.texi: Document them.
29530 * malloc/malloc.c (__libc_free): Add
29531 memory_mallopt_free_dyn_thresholds probe.
29532 (__libc_mallopt): Add multiple memory_mallopt probes.
29533 * manual/probes.texi: Document them.
29535 * malloc/malloc.c: Include stap-probe.h.
29536 (__libc_mallopt): Add memory_mallopt probe.
29537 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
29538 * manual/probes.texi: New.
29539 * manual/Makefile (chapters): Add probes.
29540 * manual/threads.texi: Set next node.
29542 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
29544 [BZ #15963, #13985]
29545 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29546 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29547 Add `Chinese' to `nan' entry name.
29549 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29551 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29552 (POLYNOMIAL): Likewise.
29553 (TAYLOR_SINCOS): Likewise.
29554 (TAYLOR_SLOW): Likewise.
29555 (__sin): Use TAYLOR_SINCOS.
29557 (slow): Use TAYLOR_SLOW.
29559 (bsloww): Likewise.
29560 (csloww): Likewise.
29562 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29564 * stdlib/strtod_l.c: Fix buffer overrun.
29566 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29568 * benchtests/Makefile (bench): Add sincos.
29569 * benchtests/bench-sincos.c: New file.
29571 * math/libm-test.inc (cos_test_data): New test inputs.
29572 (sin_test_data): Likewise.
29574 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29580 (sloww1): Likewise.
29581 (sloww2): Likewise.
29582 (bsloww1): Likewise.
29583 (bsloww2): Likewise.
29584 (cslow2): Likewise.
29585 (csloww1): Likewise.
29586 (csloww2): Likewise.
29588 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29593 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29597 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
29599 * config.h.in (HAVE_MIPS_NAN2008): New macro.
29600 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29601 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29602 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29603 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29604 * elf/cache.c (print_entry): Handle the new cache flags.
29606 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29607 Aldy Hernandez <aldyh@redhat.com>
29609 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29610 Change condition to [_SOFT_FLOAT].
29611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29612 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29613 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29614 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29617 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29623 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29626 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29629 2013-09-18 Joseph Myers <joseph@codesourcery.com>
29631 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29632 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29633 (__longjmp): Use LOAD_GP to load saved GPRs.
29634 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29635 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29636 (__sigsetjmp): Use SAVE_GP to save GPRs.
29638 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29639 Do not append -msoft-float.
29640 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29642 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29644 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29646 2013-09-17 Joseph Myers <joseph@codesourcery.com>
29649 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29650 (_FPU_GETCW): Use initial "__" on variable and field names but not
29651 on macro parameter name.
29652 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
29653 parentheses around reference to macro parameter.
29655 2013-09-13 Richard Sandiford <richard@codesourcery.com>
29657 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29659 (ctype_startup): Use uint32_t in cast and sizeof for
29662 2013-09-11 Jia Liu <proljc@gmail.com>
29664 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29666 [__FreeBSD__]: Likewise.
29668 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
29670 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29671 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29672 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29673 (strchr): Remove __strchr_sse42 ifunc selection.
29674 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29675 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29677 2013-09-11 Will Newton <will.newton@linaro.org>
29679 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29680 parameter to RES. Remove hardcoded 1000 value.
29681 * benchtests/bench-skeleton.c (main): Pass RES parameter
29682 to TIMING_INIT and multiply result by 1000.
29684 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29688 2013-09-11 Andreas Schwab <schwab@suse.de>
29690 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29692 (O_TMPFILE) [__USE_GNU]: Define.
29693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29696 2013-09-11 Will Newton <will.newton@linaro.org>
29699 * malloc/malloc.c (__libc_memalign): Check the value of bytes
29702 2013-09-11 Will Newton <will.newton@linaro.org>
29705 * malloc/malloc.c (__libc_valloc): Check the value of bytes
29708 2013-09-11 Will Newton <will.newton@linaro.org>
29711 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29714 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
29716 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29717 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29718 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29719 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29720 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29722 2013-09-10 Allan McRae <allan@archlinux.org>
29725 * manual/arith.texi (Parsing of Floats): Clarify
29729 * manual/install.texi (Running make install): Mention
29731 * INSTALL: Regenerated.
29733 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
29735 * csu/init-first.c (_init): Remove the !SHARED condition around
29736 FPU control word initialization.
29737 * elf/dl-support.c (_dl_fpu_control): New variable.
29738 (_dl_aux_init) <AT_FPUCW>: Initialize it.
29739 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29740 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29741 * math/test-fpucw-static.c: New file.
29742 * math/test-fpucw-ieee.c: New file.
29743 * math/test-fpucw-ieee-static.c: New file.
29744 * math/Makefile (tests): Add `test-fpucw-ieee' and
29746 (tests-static): New variable.
29747 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29749 [($(build-shared),yes)]
29750 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29752 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29755 2013-09-09 Allan McRae <allan@archlinux.org>
29758 * manual/string.texi (Collation Functions): Fix typo in
29760 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29763 * stdlib/isomac.c (get_null_defines): Fix memory leak.
29766 * libio/memstream.c (open_memstream): Fix memory leak.
29767 * libio/wmemstream.c (open_wmemstream): Likewise.
29770 * nscd/netgroupcache.c: Fix nesting of ifdefs.
29772 2013-09-09 Will Newton <will.newton@linaro.org>
29774 * malloc/Makefile: Add tst-realloc to tests.
29775 * malloc/tst-realloc.c: New file.
29777 2013-09-09 Allan McRae <allan@archlinux.org>
29780 * COPYING: Update from GNU website to fix FSF address.
29781 * COPYING.LIB: Likewise.
29783 2013-09-06 David S. Miller <davem@davemloft.net>
29785 * po/zh_TW.po: Update Chinese (traditional) translation from
29786 translation project.
29788 2013-09-06 Richard Sandiford <richard@codesourcery.com>
29789 Joseph Myers <joseph@codesourcery.com>
29791 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29793 (obstack_chunk_alloc): New macro.
29794 (obstack_chunk_free): Likewise.
29795 (record_offset): New function.
29796 (init_locale_data): Likewise.
29797 (align_locale_data): Likewise.
29798 (add_locale_empty): Likewise.
29799 (add_locale_raw_data): Likewise.
29800 (add_locale_raw_obstack): Likewise.
29801 (add_locale_string): Likewise.
29802 (add_locale_wstring): Likewise.
29803 (add_locale_uint32): Likewise.
29804 (add_locale_uint32_array): Likewise.
29805 (add_locale_char): Likewise.
29806 (start_locale_structure): Likewise.
29807 (end_locale_structure): Likewise.
29808 (start_locale_prelude): Likewise.
29809 (end_locale_prelude): Likewise.
29810 (write_locale_data): Take locale_file structure rather than an
29812 * locale/programs/locfile.h: Include "obstack.h".
29813 (struct locale_file): Change to store locale file contents instead
29815 (init_locale_data): New prototype.
29816 (align_locale_data): Likewise.
29817 (add_locale_empty): Likewise.
29818 (add_locale_raw_data): Likewise.
29819 (add_locale_raw_obstack): Likewise.
29820 (add_locale_string): Likewise.
29821 (add_locale_wstring): Likewise.
29822 (add_locale_uint32): Likewise.
29823 (add_locale_uint32_array): Likewise.
29824 (add_locale_char): Likewise.
29825 (start_locale_structure): Likewise.
29826 (end_locale_structure): Likewise.
29827 (start_locale_prelude): Likewise.
29828 (end_locale_prelude): Likewise.
29829 (write_locale_data): Update prototype.
29830 * locale/programs/3level.h (struct TABLE): Remove result field.
29831 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29832 Use new locale_file interface.
29833 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29834 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29835 * locale/programs/ld-address.c (address_output): Use new
29836 locale_file interface.
29837 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29839 (collate_finish): Don't call collseq_table_finalize.
29840 (collate_output): Use new locale_file interface.
29841 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29843 (NO_FINALIZE): Change to NO_ADD_LOCALE.
29844 (TABLE): Move defines earlier in file.
29845 (ELEMENT): Likewise.
29846 (DEFAULT): Likewise.
29847 (wctrans_table_add): Move macro and inline function earlier in
29849 (struct wctype_table): Move type earlier in file.
29850 (add_locale_wctype_table): New static prototype.
29851 (struct locale_ctype_t): Use logical types instead of struct iovec
29852 pointers for members.
29853 (ctype_output): Use new locale_file interface.
29854 (wctype_table_finalize): Change to add_locale_wctype_table. Use
29855 new locale_file interface.
29856 (allocate_arrays): Update for use of new locale_file interface.
29857 * locale/programs/ld-identification.c (identification_output): Use
29858 new locale_file interface.
29859 * locale/programs/ld-measurement.c (measurement_output): Likewise.
29860 * locale/programs/ld-messages.c (messages_output): Likewise.
29861 * locale/programs/ld-monetary.c (monetary_output): Likewise.
29862 * locale/programs/ld-name.c (name_output): Likewise.
29863 * locale/programs/ld-numeric.c (numeric_output): Likewise.
29864 * locale/programs/ld-paper.c (paper_output): Likewise.
29865 * locale/programs/ld-telephone.c (telephone_output): Likewise.
29866 * locale/programs/ld-time.c (time_output): Likewise.
29868 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29870 * benchtests/Makefile: Add memrchr benchmark.
29871 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29872 benchmark as memrchr.
29873 * benchtests/bench-memrchr-ifunc.c: New file.
29874 * benchtests/bench-memrchr.c: New file.
29876 2013-09-06 Will Newton <will.newton@linaro.org>
29878 * benchtests/Makefile (string-bench): Add memcpy.
29880 2013-09-05 Carlos O'Donell <carlos@redhat.com>
29881 Cong Wang <amwang@redhat.com>
29884 * sysdeps/unix/sysv/linux/bits/in.h
29885 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29886 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29887 before __USE_KERNEL_IPV6_DEFS uses.
29888 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29890 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29891 sockaddr_in6, or ipv6_mreq.
29893 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29895 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29896 memory access for final bytes in some large inputs.
29897 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29899 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29901 * string/test-memrchr.c: New file.
29902 * string/test-memrchr-ifunc.c: New file.
29903 * string/Makefile: Add new memrchr testcase.
29905 2013-09-05 Mike Frysinger <vapier@gentoo.org>
29907 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29908 fanotify_init returns EPERM.
29910 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29912 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29914 (top level): Treat second token from macro or constant entries for
29915 allowed headers as allowed.
29916 * include/complex.h: Condition internal declarations on
29918 * include/fenv.h: Condition include of <stdbool.h> and internal
29919 declarations on [!_ISOMAC].
29921 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
29924 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29926 2013-09-04 Joseph Myers <joseph@codesourcery.com>
29928 * configure.in (--enable-versioning): Remove configure option.
29929 (libc_cv_asm_symver_directive): Remove configure test.
29930 (libc_cv_ld_version_script_option): Likewise.
29931 (VERSIONING): Remove variable and AC_SUBST.
29932 (DO_VERSIONING): Remove AC_DEFINE.
29933 * configure: Regenerated.
29934 * config.h.in (DO_VERSIONING): Remove macro.
29935 * Makerules [$(versioning) = yes]: Change conditionals to
29936 [$(build-shared) = yes].
29937 * config.make.in (versioning): Remove variable.
29938 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29939 [$(build-shared) = yes].
29940 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29941 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29942 * elf/Makefile [$(versioning) = yes]: Change conditionals to
29943 [$(build-shared) = yes].
29944 * extra-lib.mk [$(versioning) = yes]: Likewise.
29945 * hurd/Makefile [$(versioning) = yes]: Likewise.
29946 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29948 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29950 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29951 [SHARED && !NO_HIDDEN].
29952 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29954 [SHARED && DO_VERSIONING]: Likewise..
29955 * libio/Makefile [$(versioning) = yes]: Change conditionals to
29956 [$(build-shared) = yes].
29957 * manual/install.texi (--disable-versioning): Remove
29959 * INSTALL: Regenerated.
29960 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29962 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29963 [$(build-shared) = yes].
29964 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29965 * sysdeps/i386/i686/multiarch/strstr-c.c
29966 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29967 [SHARED && !NO_HIDDEN].
29968 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29969 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29970 * sysdeps/powerpc/powerpc32/dl-machine.c
29971 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29972 * sysdeps/powerpc/powerpc32/sysdep.h
29973 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29974 to [SHARED && PIC && !NO_HIDDEN].
29975 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29976 conditional to [SHARED].
29978 2013-09-04 Will Newton <will.newton@linaro.org>
29980 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29981 * benchtests/bench-string.h: Include bench-timing.h instead
29982 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29983 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29984 call to HP_TIMING_DIFF_INIT.
29985 * benchtests/bench-memccpy.c: Use bench-timing.h macros
29986 instead of hp-timing.h macros.
29987 * benchtests/bench-memchr.c: Likewise.
29988 * benchtests/bench-memcmp.c: Likewise.
29989 * benchtests/bench-memcpy.c: Likewise.
29990 * benchtests/bench-memmem.c: Likewise.
29991 * benchtests/bench-memmove.c: Likewise.
29992 * benchtests/bench-memset.c: Likewise.
29993 * benchtests/bench-rawmemchr.c: Likewise.
29994 * benchtests/bench-strcasecmp.c: Likewise.
29995 * benchtests/bench-strcasestr.c: Likewise.
29996 * benchtests/bench-strcat.c: Likewise.
29997 * benchtests/bench-strchr.c: Likewise.
29998 * benchtests/bench-strcmp.c: Likewise.
29999 * benchtests/bench-strcpy.c: Likewise.
30000 * benchtests/bench-strcpy_chk.c: Likewise.
30001 * benchtests/bench-strlen.c: Likewise.
30002 * benchtests/bench-strncasecmp.c: Likewise.
30003 * benchtests/bench-strncat.c: Likewise.
30004 * benchtests/bench-strncmp.c: Likewise.
30005 * benchtests/bench-strncpy.c: Likewise.
30006 * benchtests/bench-strnlen.c: Likewise.
30007 * benchtests/bench-strpbrk.c: Likewise.
30008 * benchtests/bench-strrchr.c: Likewise.
30009 * benchtests/bench-strspn.c: Likewise.
30010 * benchtests/bench-strstr.c: Likewise.
30012 2013-09-04 Will Newton <will.newton@linaro.org>
30014 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
30016 2013-09-03 Joseph Myers <joseph@codesourcery.com>
30019 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30020 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
30021 * math/libm-test.inc (lgamma_test_data): Add more tests.
30022 * sysdeps/i386/fpu/libm-test-ulps: Update.
30023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30025 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
30027 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
30028 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30031 Add strcmp-sse2-unaligned
30032 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
30034 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30036 * Versions.def (libc): Add GLIBC_2.19.
30038 2013-09-02 Mike Frysinger <vapier@gentoo.org>
30040 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
30041 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
30043 2013-09-02 Joseph Myers <joseph@codesourcery.com>
30046 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
30047 intermediate calculations in recurrence.
30048 (__ieee754_ynf): Likewise.
30049 * math/libm-test.inc (jn_test_data): Do not allow spurious
30050 underflow exception. Add more tests.
30051 (yn_test_data): Add more tests.
30052 * sysdeps/i386/fpu/libm-test-ulps: Update.
30053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30055 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
30057 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
30059 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30061 * csu/init-first.c: Fix then/than typos.
30062 * locale/programs/ld-collate.c: Likewise.
30063 * locale/programs/linereader.h: Likewise.
30064 * manual/charset.texi: Likewise.
30065 * manual/filesys.texi: Likewise.
30066 * manual/stdio.texi: Likewise.
30067 * manual/string.texi: Likewise.
30068 * stdlib/fmtmsg.c: Likewise.
30069 * sysdeps/i386/stpncpy.S: Likewise.
30070 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30071 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30072 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30073 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30075 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30077 * elf/dl-open.c: Fix typos.
30078 * iconvdata/gbbig5.c: Likewise.
30079 * iconvdata/iso-2022-jp.c: Likewise.
30080 * iconv/gconv_int.h: Likewise.
30081 * iconv/loop.c: Likewise.
30082 * nis/rpcsvc/nis.h: Likewise.
30083 * resolv/ns_name.c: Likewise.
30084 * stdio-common/vfscanf.c: Likewise.
30085 * streams/stropts.h: Likewise.
30086 * sunrpc/rpc_thread.c: Likewise.
30087 * sysdeps/i386/strpbrk.S: Likewise.
30088 * sysdeps/ieee754/k_standard.c: Likewise.
30089 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30090 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30091 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
30092 * sysdeps/mach/hurd/profil.c: Likewise.
30093 * sysdeps/s390/dl-procinfo.h: Likewise.
30094 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
30095 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30096 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
30097 * sysdeps/x86_64/dl-trampoline.S: Likewise.
30098 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30100 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
30102 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
30103 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
30105 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30107 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
30108 aix specific files.
30109 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
30110 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
30111 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
30112 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
30113 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
30114 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
30115 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
30116 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
30118 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30119 Roland McGrath <roland@hack.frob.com>
30121 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
30122 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
30124 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
30126 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
30127 __executable_start symbol instead of _start.
30129 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
30131 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
30132 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
30134 * sysdeps/gnu/ldsodefs.h: ... this new file.
30136 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
30137 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
30138 instead of ELFOSABI_LINUX.
30140 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
30141 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
30142 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
30143 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
30145 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
30146 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
30147 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
30149 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30150 (ibm_extended_long_double): Add ieee_nan member.
30151 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
30152 (do_test): New function.
30154 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
30156 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
30157 functions, renamed from truncdfsf_test, trunctfsf_test,
30159 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
30161 (do_test): Run all these.
30163 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
30165 * argp/argp-help.c: Fix typos.
30166 * argp/argp-parse.c: Likewise.
30167 * debug/backtracesyms.c: Likewise.
30168 * elf/elf.h: Likewise.
30169 * malloc/malloc.c: Likewise.
30170 * nis/nis_print.c: Likewise.
30171 * resolv/res_comp.c: Likewise.
30172 * stdlib/stdlib.h: Likewise.
30173 * sunrpc/clnt_tcp.c: Likewise.
30174 * sunrpc/clnt_udp.c: Likewise.
30175 * sunrpc/clnt_unix.c: Likewise.
30176 * sysdeps/unix/bsd/ptsname.c: Likewise.
30177 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30178 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
30179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
30181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
30183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
30185 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
30187 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30189 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
30190 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30192 2013-08-27 Mike Frysinger <vapier@gentoo.org>
30195 * dlfcn/Makefile (tests): Add bug-dl-leaf.
30196 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
30197 ($(objpfx)bug-dl-leaf): New rule.
30198 ($(objpfx)bug-dl-leaf.so): Likewise.
30199 ($(objpfx)bug-dl-leaf.out): Likewise.
30200 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
30201 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
30202 * dlfcn/bug-dl-leaf.c: New test.
30203 * dlfcn/bug-dl-leaf-lib.c: Likewise.
30204 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
30205 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
30206 (dlclose): Likewise.
30207 (dlmopen): Likewise.
30209 2013-08-27 Roland McGrath <roland@hack.frob.com>
30211 * include/netdb.h [!_ISOMAC]:
30212 Don't include <tls.h>.
30213 (h_errno, __libc_h_errno): Move declaration and macros out of
30216 * include/resolv.h [_RESOLV_H_]:
30217 Don't include <tls.h>.
30218 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
30219 * resolv/res_libc.c: Don't include <tls.h>.
30220 (_res): Use __attribute__ ((nocommon)) in place of
30221 __attribute__ ((section (".bss"))).
30223 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
30224 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
30226 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
30228 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
30229 only under [SIOCGIFCONF && SIOCGIFNETMASK].
30231 * resolv/res_mkquery.c: Include <sys/time.h>.
30233 * inet/ifreq.c: Moved to ...
30234 * sysdeps/unix/ifreq.c: ... here.
30235 * inet/ifreq.c: New file, true stub version.
30237 * socket/sa_len.c: New file.
30238 * socket/Makefile (aux): Add it.
30239 * sysdeps/unix/sysv/linux/Makefile
30240 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
30241 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
30242 and #include <socket/sa_len.c>.
30243 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
30244 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
30246 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
30247 * bits/socket.h: ... here.
30249 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
30250 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
30251 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
30253 2013-08-27 Andreas Schwab <schwab@suse.de>
30256 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
30257 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
30258 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
30259 * string/test-strcasecmp.c (test_main): Run tests in several
30261 * string/test-strncasecmp.c (test_main): Likewise.
30263 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
30264 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
30265 to __strcasecmp_nonascii and __strncasecmp_nonascii.
30266 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
30267 (__strncasecmp_ssse3) [PIC]: Likewise.
30269 2013-08-26 Roland McGrath <roland@hack.frob.com>
30271 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
30273 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
30274 instead of explicitly declaring xdecrypt.
30275 * nis/nss_nis/nis-publickey.c: Likewise.
30277 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30280 * nscd/aicache.c: Include res_hconf.h.
30281 (addhstaiX): Initialize res_hconf.
30283 2013-08-26 Andreas Schwab <schwab@suse.de>
30285 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
30286 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
30288 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30290 * nscd/aicache.c (addhstaiX): Fix indentation.
30292 2013-08-25 Mike Frysinger <vapier@gentoo.org>
30294 * configure.ac: Quote $build_pt_chown test.
30295 * configure: Regenerated.
30297 2013-08-23 Joseph Myers <joseph@codesourcery.com>
30300 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
30301 * math/s_cexpf.c (__cexpf): Likewise.
30302 * math/s_cexpl.c (__cexpl): Likewise.
30303 * math/libm-test.inc (cexp_test_data): Correct expected return
30304 value for NaN + i0. Add another test.
30306 2013-08-22 David S. Miller <davem@davemloft.net>
30308 * po/ca.po: Update Catalan translation from translation project.
30309 * po/uk.po: Add Ukrainian translations from translation project.
30311 2013-08-21 Joseph Myers <joseph@codesourcery.com>
30314 * math/s_fdim.c (__fdim): Check for infinite arguments if result
30315 is infinite, not alongside NaN test.
30316 * math/s_fdimf.c (__fdimf): Likewise.
30317 * math/s_fdiml.c (__fdiml): Likewise.
30318 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
30319 errno is unchanged.
30321 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
30323 * argp/argp-help.c: Fix typos.
30324 * crypt/speeds.c: Likewise.
30325 * csu/check_fds.c: Likewise.
30326 * elf/dl-load.c: Likewise.
30327 * elf/dl-open.c: Likewise.
30328 * elf/reldep3.c: Likewise.
30329 * elf/reldep.c: Likewise.
30330 * elf/sprof.c: Likewise.
30331 * iconv/iconv_charmap.c: Likewise.
30332 * iconv/skeleton.c: Likewise.
30333 * iconv/strtab.c: Likewise.
30334 * io/lockf64.c: Likewise.
30335 * libio/libioP.h: Likewise.
30336 * resolv/gai_notify.c: Likewise.
30337 * resolv/ns_name.c: Likewise.
30338 * resolv/ns_samedomain.c: Likewise.
30339 * resolv/res_send.c: Likewise.
30340 * stdlib/random.c: Likewise.
30341 * sunrpc/rpc/xdr.h: Likewise.
30342 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
30343 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30344 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30345 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30346 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30347 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30349 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30350 * sysdeps/mach/hurd/check_fds.c: Likewise.
30351 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30352 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30353 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30354 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30355 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30356 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30357 * sysdeps/pthread/aio_notify.c: Likewise.
30358 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
30359 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
30360 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
30361 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30362 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30364 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30366 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
30367 version if bit_Slow_SSE4_2 is set.
30368 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30369 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30371 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30374 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
30375 trampoline stack frame information.
30376 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
30377 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
30378 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
30379 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
30380 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
30381 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30382 (_libc_vdso_platform_setup): Initialize the signal trampolines.
30383 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
30385 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
30386 interrupting a syscall and set with option SA_SIGINFO.
30388 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30391 * math/s_cproj.c (__cproj): Only return an infinity if one part of
30392 argument is infinite.
30393 * math/s_cprojf.c (__cprojf): Likewise.
30394 * math/s_cprojl.c (__cprojl): Likewise.
30395 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
30396 * math/libm-test.inc (cproj_test_data): Add more tests.
30398 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
30400 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
30401 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
30402 size. Use __ffs to determine corresponding shift.
30404 2013-08-20 Joseph Myers <joseph@codesourcery.com>
30405 Roland McGrath <roland@hack.frob.com>
30407 * Makefile (INSTALL): Remove trailing blank lines from output of
30410 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30412 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
30413 Align 32 bit compat elf_greg to 8 bytes.
30415 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
30417 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
30419 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30421 * string/strcoll_l.c (coll_seq): New structure.
30422 (get_next_seq_cached): New function.
30423 (get_next_seq): New function.
30424 (do_compare): New function.
30425 (STRCOLL): Use GNU style definition. Simplify implementation
30426 by using get_next_seq, get_next_seq_cached and do_compare.
30428 2013-08-16 Florian Weimer <fweimer@redhat.com>
30432 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
30434 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
30436 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
30437 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
30438 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
30440 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
30441 GETDENTS_64BIT_ALIGNED.
30442 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30443 * manual/filesys.texi (Reading/Closing Directory): Document
30444 ENAMETOOLONG return value of readdir_r. Recommend readdir more
30446 * manual/conf.texi (Limits for Files): Add portability note to
30447 NAME_MAX, PATH_MAX.
30448 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
30450 2013-08-13 Andreas Schwab <schwab@suse.de>
30453 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
30455 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
30456 LDBL_MAX_EXP >= 16384]: Add tests for it.
30458 2013-08-12 David S. Miller <davem@davemloft.net>
30460 * version.h (RELEASE): Set to "development".
30461 (VERSION): Set to "2.18.90".
30462 * NEWS: Add 2.19 section.
30464 2013-08-03 David S. Miller <davem@davemloft.net>
30466 * po/ko.po: Update Korean translation from translation project.
30468 2013-08-01 David S. Miller <davem@davemloft.net>
30470 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
30471 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
30474 2013-07-30 David S. Miller <davem@davemloft.net>
30476 * po/fr.po: Update French translation from translation project.
30478 2013-07-28 David S. Miller <davem@davemloft.net>
30480 * po/cs.po: Update Czech translation from translation project.
30482 * po/sv.po: Update Swedish translation from translation project.
30484 2013-07-27 David S. Miller <davem@davemloft.net>
30486 * po/eo.po: Update Esperanto translation from translation project.
30488 * po/vi.po: Update Vietnamese translation from translation project.
30490 * po/de.po: Update German translation from translation project.
30492 2013-07-26 David S. Miller <davem@davemloft.net>
30494 * po/bg.po: Update Bulgarian translation from translation project.
30496 * po/nl.po: Update Dutch translation from translation project.
30497 * po/pl.po: Update Polish translation from translation project.
30498 * po/ru.po: Update Russian translation from translation project.
30500 2013-07-24 David S. Miller <davem@davemloft.net>
30502 * po/libc.pot: Update.
30504 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30506 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
30507 variable page size.
30508 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
30509 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
30510 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
30512 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30514 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
30516 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30517 Andreas Schwab <schwab@suse.de>
30518 Roland McGrath <roland@hack.frob.com>
30519 Joseph Myers <joseph@codesourcery.com>
30520 Carlos O'Donell <carlos@redhat.com>
30523 * config.h.in: Define HAVE_PT_CHOWN.
30524 * config.make.in (build-pt-chown): New variable.
30525 * configure.in (--enable-pt_chown): New configure option.
30526 * configure: Regenerate.
30527 * login/Makefile: Include Makeconfig. Build pt_chown only if
30528 build-pt-chown is enabled.
30529 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
30530 pt_chown to fix pty ownership.
30531 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
30533 * manual/install.texi (Configuring and compiling): Mention
30534 --enable-pt_chown. Add @findex for grantpt.
30535 * INSTALL: Regenerate.
30537 2013-07-20 David S. Miller <davem@davemloft.net>
30539 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
30540 difference between 32-bit and 64-bit.
30542 2013-07-15 Carlos O'Donell <carlos@redhat.com>
30545 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30546 Avoid system header dependency with -ffreestanding.
30547 ($(objpfx)bits/syscall%d): Likewise.
30549 2013-07-13 David S. Miller <davem@davemloft.net>
30551 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30552 underflows from atanl/atan2l due to bug 15319.
30553 (casinh_test_data): Likewise.
30555 2013-07-07 David S. Miller <davem@davemloft.net>
30557 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30559 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
30561 * sysdeps/i386/fpu/libm-test-ulps: Update.
30562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30564 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30566 * configure.in (--enable-lock-elision): Fix message text.
30567 * INSTALL: Regenerate.
30568 * configure: Regenerate.
30570 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30574 2013-07-03 Andreas Jaeger <aj@suse.de>
30576 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30578 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30579 (ptrace_peeksiginfo_args): Add.
30580 (__ptrace_peeksiginfo_flags): Add.
30581 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30582 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30583 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30585 2013-07-03 Allan McRae <allan@archlinux.org>
30587 * sysdeps/i386/fpu/libm-test-ulps: Update.
30589 2013-07-02 David S. Miller <davem@davemloft.net>
30591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30593 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
30595 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30597 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30599 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30602 2013-07-02 Andi Kleen <ak@linux.intel.com>
30604 * config.h.in (ENABLE_LOCK_ELISION): Add.
30605 * configure.in (--enable-lock-elision): Add option.
30606 * manual/install.texi: Document --enable lock elision.
30607 * configure: Regenerate
30608 * INSTALL: Regenerate.
30610 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
30612 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30613 SSE4.2 strcasecmp for libc.a.
30614 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30616 2013-07-02 Joseph Myers <joseph@codesourcery.com>
30619 * soft-fp/op-common.h (_FP_FMA): New macro.
30620 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30621 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
30622 (_FP_MUL_MEAT_1_imm): ... here.
30623 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
30624 (_FP_MUL_MEAT_1_wide): ... here.
30625 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
30626 (_FP_MUL_MEAT_1_hard): ... here.
30627 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30628 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
30629 (_FP_MUL_MEAT_2_wide): ... here.
30630 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
30631 (_FP_MUL_MEAT_2_wide_3mul): ... here.
30632 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
30633 (_FP_MUL_MEAT_2_gmp): ... here.
30634 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30635 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
30636 (_FP_MUL_MEAT_4_wide): ... here.
30637 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
30638 (_FP_MUL_MEAT_4_gmp): ... here.
30639 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30640 (_FP_WFRACBITS_DW_S): Likewise.
30641 (_FP_WFRACXBITS_DW_S): Likewise.
30642 (_FP_HIGHBIT_DW_S): Likewise.
30643 (FP_FMA_S): Likewise.
30644 (_FP_FRAC_HIGH_DW_S): Likewise.
30645 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30646 (_FP_WFRACBITS_DW_D): Likewise.
30647 (_FP_WFRACXBITS_DW_D): Likewise.
30648 (_FP_HIGHBIT_DW_D): Likewise.
30649 (FP_FMA_D): Likewise.
30650 (_FP_FRAC_HIGH_DW_D): Likewise.
30651 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30652 (_FP_WFRACBITS_DW_E): Likewise.
30653 (_FP_WFRACXBITS_DW_E): Likewise.
30654 (_FP_HIGHBIT_DW_E): Likewise.
30655 (FP_FMA_E): Likewise.
30656 (_FP_FRAC_HIGH_DW_E): Likewise.
30657 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30658 (_FP_WFRACBITS_DW_Q): Likewise.
30659 (_FP_WFRACXBITS_DW_Q): Likewise.
30660 (_FP_HIGHBIT_DW_Q): Likewise.
30661 (FP_FMA_Q): Likewise.
30662 (_FP_FRAC_HIGH_DW_Q): Likewise.
30663 * soft-fp/fmasf4.c: New file.
30664 * soft-fp/fmadf4.c: Likewise.
30665 * soft-fp/fmatf4.c: Likewise.
30667 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30670 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30672 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30674 (index_Slow_SSE4_2): Likewise.
30675 (index_Prefer_PMINUB_for_stringop): Likewise.
30676 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30677 bit_Slow_SSE4_2 is set.
30678 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30679 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30681 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30683 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30684 rtld_global._dl_hwcap2.
30685 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30687 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30688 POWER8 feature descriptions defined in _dl_hwcap2.
30689 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30690 string handling for POWER8 feature bits.
30691 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30692 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30693 _dl_powerpc_cap_flags.
30694 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30695 * sysdeps/powerpc/rtld-global-offsets.sym
30696 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30697 _dl_hwcap2 in the rtld_global_ro structure.
30699 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30701 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30702 hardware capabilities in support of AT_HWCAP2.
30703 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30704 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30706 (_dl_show_auxv): Add support for calling _dl_procinfo to display
30707 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
30708 explicitly the unknown a_type display mechanism is used.
30709 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30710 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30712 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30713 to macro prototype for AT_HWCAP2 support.
30714 * sysdeps/i386/dl-procinfo.h: Likewise.
30715 * sysdeps/s390/dl-procinfo.h: Likewise.
30716 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30717 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
30718 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
30719 return -1 for unknown a_type display fallback.
30720 * sysdeps/sparc/dl-procinfo.h: Likewise.
30721 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30722 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30724 2013-06-28 Joseph Myers <joseph@codesourcery.com>
30726 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30727 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30729 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
30732 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30733 mprotect making __stack_prot writable.
30735 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
30736 Joseph Myers <joseph@codesourcery.com>
30738 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30739 as being properly aligned.
30741 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
30743 * dlfcn/modstatic5.c: New file.
30744 * dlfcn/tststatic5.c: New file.
30745 * dlfcn/Makefile (tests): Add tststatic5.
30746 (tests-static): Likewise.
30747 (modules-names): Add modstatic5.
30748 (tststatic5-ENV): New variable.
30749 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30752 * elf/dl-support.c (_dl_main_map): New variable.
30753 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30754 (_dl_nns, _dl_load_adds): Set to 1.
30755 (_dl_initial_searchlist): Refer to _dl_main_map.
30756 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30757 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30758 call to _dl_get_origin.
30759 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30761 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30762 * dlfcn/modstatic3.c: New file.
30763 * dlfcn/tststatic3.c: New file.
30764 * dlfcn/tststatic4.c: New file.
30765 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30766 (tests-static): Likewise.
30767 (modules-names): Add modstatic3.
30768 (tststatic3-ENV, tststatic4-ENV): New variables.
30769 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30770 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30772 2013-06-26 Joseph Myers <joseph@codesourcery.com>
30774 * configure.in (CC): Require GCC version 4.4 or later.
30775 * configure: Regenerated.
30776 * manual/install.texi (Tools for Compilation): Update GCC version
30778 * INSTALL: Regenerated.
30780 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30783 * string/test-memcmp.c (check2): New.
30784 (main): Call check2.
30786 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30788 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
30791 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30793 (dl_open_worker) [!SHARED]: ... here.
30795 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30797 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30799 2013-06-25 Richard Henderson <rth@redhat.com>
30801 * locale/programs/locarchive.c: Include <libc-internal.h>
30803 2013-06-25 Joseph Myers <joseph@codesourcery.com>
30805 * manual/texinfo.tex: Update to version 2013-06-21.17, with
30806 trailing whitespace removed.
30808 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30811 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30812 * locale/programs/locarchive.c: Include libc-mmap.h.
30813 (prepare_address_space): Take two new outputs (the mmap base and len).
30814 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
30816 (create_archive): Declare new mmap base and len values for
30817 prepare_address_space, and store the result in ah.
30818 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30819 (enlarge_archive): If ah->mmap_base is not NULL, use that and
30820 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30821 Declare new mmap base and len values for
30822 prepare_address_space, and store the result in new_ah.
30823 (open_archive): Declare new mmap base and len values for
30824 prepare_address_space, and store the result in ah.
30825 (close_archive): If ah->mmap_base is not NULL, use that and
30826 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30827 * sysdeps/generic/libc-mmap.h: New file.
30829 2013-06-24 Mike Frysinger <vapier@gentoo.org>
30831 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30832 (ALIGN_UP): Likewise.
30833 (PTR_ALIGN_DOWN): Likewise.
30834 (PTR_ALIGN_UP): Likewise.
30836 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30838 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30839 entry mapped to PPC_PLATFORM_POWER8.
30840 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30842 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30843 (_dl_string_platform): Add case for exporting platform position for
30845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30846 search path to sysdeps/powerpc/powerpc32/power8 directory.
30847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30848 search path to sysdeps/powerpc/powerpc64/power8 directory.
30849 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30850 power7 directories.
30851 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30852 power7 directories.
30854 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30856 * INSTALL: Regenerate.
30858 * nscd/connections.c (nscd_init): Fix comment.
30860 2013-06-22 Joseph Myers <joseph@codesourcery.com>
30862 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30865 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30866 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30868 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30870 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30872 (DL_DST_REQ_STATIC): Remove macro.
30874 2013-06-21 Joseph Myers <joseph@codesourcery.com>
30877 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30878 with a shift of 0 bits.
30880 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
30882 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30885 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30888 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30890 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30892 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30893 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30894 accepts -fno-tree-loop-distribute-patterns.
30895 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30896 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30898 * string/memset.c (memset): Likewise.
30899 * string/test-memmove.c (simple_memmove): Disable loop transformation
30901 * string/test-memset.c (simple_memset): Likewise.
30902 * benchtests/bench-memmove.c (simple_memmove): Likewise.
30903 * benchtests/bench-memset.c (simple_memset): Likewise.
30904 * configure: Regenerated.
30906 2013-06-20 Joseph Myers <joseph@codesourcery.com>
30908 * math/test-misc.c (main): Ignore fesetround failure when failures
30909 of subsequent rounding tests would be ignored.
30912 * math/fedisblxcpt.c (fedisableexcept): Return 0.
30913 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30914 * math/fegetenv.c (__fegetenv): Return 0.
30915 * math/fegetexcept.c (fegetexcept): Return 0.
30916 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30918 * math/feholdexcpt.c (feholdexcept): Return 0.
30919 * math/fesetenv.c (__fesetenv): Return 0.
30920 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30921 argument FE_TONEAREST.
30922 * math/feupdateenv.c (__feupdateenv): Return 0.
30923 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30925 2013-06-18 Roland McGrath <roland@hack.frob.com>
30927 * elf/rtld-Rules (rtld-compile-command.S): New variable.
30928 (rtld-compile-command.s, rtld-compile-command.c): New variables.
30929 ($(objpfx)rtld-%.os rules): Use them.
30931 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30933 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30936 2013-06-17 Roland McGrath <roland@hack.frob.com>
30938 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30939 length of target pattern, then descending length of dependency pattern.
30940 * configure.in (AWK): Require gawk 3.1.2 or newer.
30941 * manual/install.texi (Tools for Compilation): Say that we do.
30942 * configure: Regenerated.
30944 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30945 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30946 * scripts/sysd-rules.awk: ... this new script.
30947 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30948 than a glob-style pattern.
30950 2013-06-17 Joseph Myers <joseph@codesourcery.com>
30952 * math/test-misc.c (main): Do not treat incorrectly rounded
30953 conversions as failure unless ROUNDING_TESTS passes.
30955 2013-06-15 Joseph Myers <joseph@codesourcery.com>
30958 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30959 restore exception state around main square root computation, then
30960 check for inexactness explicitly.
30962 * math/libm-test.inc (fma_test_data): Add another test.
30964 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30966 * manual/threads.texi (Non-POSIX Extensions): New document
30967 node. Document pthread_getattr_default_np and
30968 pthread_setattr_default_np.
30970 * Versions.def (libpthread): Add GLIBC_2.18.
30971 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30980 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30991 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30994 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30996 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30997 H.J. Lu <hjl.tools@gmail.com>
31000 * sysdeps/x86_64/rtld-memset.c: Remove file.
31001 * sysdeps/x86_64/rtld-memset.S: New file.
31003 2013-06-14 Joseph Myers <joseph@codesourcery.com>
31005 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
31006 (test_in_one_mode): Take arguments for whether the rounding mode
31007 is supported for each floating-point type.
31008 (do_test): Pass new arguments to test_in_one_mode using
31011 2013-06-13 Roland McGrath <roland@hack.frob.com>
31013 * posix/tst-waitid.c (do_test): Distinguish different instances of
31014 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
31015 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
31016 before entering the kernel for waitpid.
31018 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31020 * NEWS: Fix note on clock function precision. Text by Roland
31023 2013-06-13 Roland McGrath <roland@hack.frob.com>
31025 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
31026 it into place only when and if the sanity check passes.
31028 2013-06-13 Joseph Myers <joseph@codesourcery.com>
31030 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
31031 output for whether conversion result is exact. Take argument
31032 indicating whether type is IBM long double.
31033 (round_for_all): Change need_exact field to ibm_ld.
31034 * stdlib/tst-strtod-round.c (struct exactness): New type.
31035 (struct test): Change bool ld_ok field to struct exactness exact.
31036 (TEST): Update all definitions for change to field.
31037 (tests): Regenerate array contents.
31038 (test_in_one_mode): Take pointer to new field instead of old ld_ok
31039 field value. Check for IBM long double here.
31040 (do_test): Update calls to test_in_one_mode.
31042 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31045 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
31046 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
31048 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31051 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
31052 generated by the compiler on loop optimizations.
31053 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
31054 general definitions.
31056 2013-06-12 Joseph Myers <joseph@codesourcery.com>
31058 * math/bug-nextafter.c: Include <math-tests.h>.
31059 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31061 * math/bug-nexttoward.c: Include <math-tests.h>.
31062 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31064 * math/test-misc.c: Include <math-tests.h>.
31065 (main): Only test for exceptions if EXCEPTION_TESTS is true for
31068 2013-06-12 Andreas Jaeger <aj@suse.de>
31070 * po/ia.po: Update Interlingua translation from translation
31073 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
31075 * include/fenv.h: Include stdbool.h.
31076 (struct rm_ctx): New structure.
31077 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
31079 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
31080 (SET_RESTORE_ROUNDF): Likewise.
31081 (SET_RESTORE_ROUNDL): Likewise.
31082 (SET_RESTORE_ROUND_NOEX): Likewise.
31083 (SET_RESTORE_ROUND_NOEXF): Likewise.
31084 (SET_RESTORE_ROUND_NOEXL): Likewise.
31085 (SET_RESTORE_ROUND_53BIT): Likewise.
31086 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
31087 (libc_feresetround_noexf_ctx): Likewise.
31088 (libc_feresetround_noexl_ctx): Likewise.
31089 (libc_feholdsetround_53bit_ctx): Likewise.
31090 (libc_feresetround_53bit_ctx): Likewise.
31091 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
31092 (libc_feholdexcept_setround_sse_ctx): New function.
31093 (libc_fesetenv_sse_ctx): Likewise.
31094 (libc_feupdateenv_sse_ctx): Likewise.
31095 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
31096 (libc_feholdexcept_setround_387_ctx): Likewise.
31097 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
31098 (libc_feholdsetround_387_prec_ctx): Likewise.
31099 (libc_feholdsetround_387_ctx): Likewise.
31100 (libc_feholdsetround_387_53bit_ctx): Likewise.
31101 (libc_feholdsetround_sse_ctx): Likewise.
31102 (libc_feresetround_sse_ctx): Likewise.
31103 (libc_feresetround_387_ctx): Likewise.
31104 (libc_feupdateenv_387_ctx): Likewise.
31105 (libc_feholdexcept_setroundf_ctx): Define macro.
31106 (libc_fesetenvf_ctx): Likewise.
31107 (libc_feupdateenvf_ctx): Likewise.
31108 (libc_feholdsetroundf_ctx): Likewise.
31109 (libc_feresetroundf_ctx): Likewise.
31110 (libc_feholdexcept_setround_ctx): Likewise.
31111 (libc_fesetenv_ctx): Likewise.
31112 (libc_feupdateenv_ctx): Likewise.
31113 (libc_feholdsetround_ctx): Likewise.
31114 (libc_feresetround_ctx): Likewise.
31115 (libc_feholdexcept_setroundl_ctx): Likewise.
31116 (libc_feupdateenvl_ctx): Likewise.
31117 (libc_feholdsetroundl_ctx): Likewise.
31118 (libc_feresetroundl_ctx): Likewise.
31119 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
31120 (libc_feresetround_53bit_ctx): Likewise.
31122 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31124 * locale/iso-639.def: Convert to UTF-8.
31126 2013-06-11 Joseph Myers <joseph@codesourcery.com>
31128 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
31129 (EXCEPTION_TESTS_double): Likewise.
31130 (EXCEPTION_TESTS_long_double): Likewise.
31131 (EXCEPTION_TESTS): Likewise.
31132 * math/libm-test.inc (test_exceptions): Only test exceptions if
31133 EXCEPTION_TESTS (FLOAT).
31135 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31137 * benchtests/Makefile (string-bench): Add strcpy_chk and
31139 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
31140 * benchtests/bench-stpcpy_chk.c: New file.
31141 * benchtests/bench-strcpy_chk-ifunc.c: New file.
31142 * benchtests/bench-strcpy_chk.c: New file.
31143 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
31145 (do_test): Likewise.
31147 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31149 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
31150 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
31151 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
31152 with tabs where appropriate.
31153 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
31155 [PPC_PLATFORM_PPC440]: Likewise.
31156 [PPC_PLATFORM_PPC464]: Likewise.
31157 [PPC_PLATFORM_PPC476]: Likewise.
31158 (_dl_string_platform): Add support for detecting ppc405, ppc440,
31159 ppc464, and ppc476 platform strings merging from ports/
31162 2013-06-11 Andreas Schwab <schwab@suse.de>
31165 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
31166 (from_ucs4_idx): Regenerate.
31167 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
31168 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
31169 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
31170 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
31171 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
31172 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
31173 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
31174 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
31175 from FROM_LOOP and TO_LOOP specific macros.
31176 (BODY): Handle combining characters.
31177 * iconvdata/BIG5HKSCS.irreversible: Update.
31178 * iconvdata/BIG5HKSCS.precomposed: New file.
31179 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
31181 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
31183 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31185 * include/sys/time.h: Fix indentation and add copyright header.
31187 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
31188 (do_test): Likewise.
31189 * string/test-memchr.c (do_one_test): Likewise.
31190 (do_test): Likewise.
31191 * string/test-memcmp.c (do_one_test): Likewise.
31192 (do_test): Likewise.
31193 * string/test-memcpy.c (do_one_test): Likewise.
31194 (do_test): Likewise.
31195 * string/test-memmem.c (do_one_test): Likewise.
31196 (do_test): Likewise.
31197 (do_random_tests): Likewise.
31198 * string/test-memmove.c (do_one_test): Likewise.
31199 (do_test): Likewise.
31200 * string/test-memset.c (do_one_test): Likewise.
31201 (do_test): Likewise.
31202 * string/test-rawmemchr.c (do_one_test): Likewise.
31203 (do_test): Likewise.
31204 * string/test-strcasecmp.c (do_one_test): Likewise.
31205 (do_test): Likewise.
31206 * string/test-strcasestr.c (do_one_test): Likewise.
31207 (do_test): Likewise.
31208 * string/test-strcat.c (do_one_test): Likewise.
31209 (do_test): Likewise.
31210 * string/test-strchr.c (do_one_test): Likewise.
31211 (do_test): Likewise.
31212 * string/test-strcmp.c (do_one_test): Likewise.
31213 (do_test): Likewise.
31214 * string/test-strcpy.c (do_one_test): Likewise.
31215 (do_test): Likewise.
31216 * string/test-string.h: Likewise.
31217 (test_init): Likewise.
31218 * string/test-strlen.c (do_one_test): Likewise.
31219 (do_test): Likewise.
31220 * string/test-strncasecmp.c (do_one_test): Likewise.
31221 (do_test): Likewise.
31222 * string/test-strncat.c (do_one_test): Likewise.
31223 (do_test): Likewise.
31224 * string/test-strncmp.c (do_one_test): Likewise.
31225 (do_test_limit): Likewise.
31226 (do_test): Likewise.
31227 * string/test-strncpy.c (do_one_test): Likewise.
31228 (do_test): Likewise.
31229 * string/test-strnlen.c (do_one_test): Likewise.
31230 (do_test): Likewise.
31231 * string/test-strpbrk.c (do_one_test): Likewise.
31232 (do_test): Likewise.
31233 * string/test-strrchr.c (do_one_test): Likewise.
31234 (do_test): Likewise.
31235 * string/test-strspn.c (do_one_test): Likewise.
31236 (do_test): Likewise.
31237 * string/test-strstr.c (do_one_test): Likewise.
31238 (do_test): Likewise.
31240 * benchtests/Makefile (string-bench): Add string benchmarks.
31241 * benchtests/bench-bcopy-ifunc.c: New file.
31242 * benchtests/bench-bcopy.c: New file.
31243 * benchtests/bench-bzero-ifunc.c: New file.
31244 * benchtests/bench-bzero.c: New file.
31245 * benchtests/bench-memccpy-ifunc.c: New file.
31246 * benchtests/bench-memccpy.c: New file.
31247 * benchtests/bench-memchr-ifunc.c: New file.
31248 * benchtests/bench-memchr.c: New file.
31249 * benchtests/bench-memcmp-ifunc.c: New file.
31250 * benchtests/bench-memcmp.c: New file.
31251 * benchtests/bench-memmem-ifunc.c: New file.
31252 * benchtests/bench-memmem.c: New file.
31253 * benchtests/bench-memmove-ifunc.c: New file.
31254 * benchtests/bench-memmove.c: New file.
31255 * benchtests/bench-mempcpy-ifunc.c: New file.
31256 * benchtests/bench-mempcpy.c: New file.
31257 * benchtests/bench-memset-ifunc.c: New file.
31258 * benchtests/bench-memset.c: New file.
31259 * benchtests/bench-rawmemchr-ifunc.c: New file.
31260 * benchtests/bench-rawmemchr.c: New file.
31261 * benchtests/bench-stpcpy-ifunc.c: New file.
31262 * benchtests/bench-stpcpy.c: New file.
31263 * benchtests/bench-stpncpy-ifunc.c: New file.
31264 * benchtests/bench-stpncpy.c: New file.
31265 * benchtests/bench-strcasecmp-ifunc.c: New file.
31266 * benchtests/bench-strcasecmp.c: New file.
31267 * benchtests/bench-strcasestr-ifunc.c: New file.
31268 * benchtests/bench-strcasestr.c: New file.
31269 * benchtests/bench-strcat-ifunc.c: New file.
31270 * benchtests/bench-strcat.c: New file.
31271 * benchtests/bench-strchr-ifunc.c: New file.
31272 * benchtests/bench-strchr.c: New file.
31273 * benchtests/bench-strchrnul-ifunc.c: New file.
31274 * benchtests/bench-strchrnul.c: New file.
31275 * benchtests/bench-strcmp-ifunc.c: New file.
31276 * benchtests/bench-strcmp.c: New file.
31277 * benchtests/bench-strcpy-ifunc.c: New file.
31278 * benchtests/bench-strcpy.c: New file.
31279 * benchtests/bench-strcspn-ifunc.c: New file.
31280 * benchtests/bench-strcspn.c: New file.
31281 * benchtests/bench-strlen-ifunc.c: New file.
31282 * benchtests/bench-strlen.c: New file.
31283 * benchtests/bench-strncasecmp-ifunc.c: New file.
31284 * benchtests/bench-strncasecmp.c: New file.
31285 * benchtests/bench-strncat-ifunc.c: New file.
31286 * benchtests/bench-strncat.c: New file.
31287 * benchtests/bench-strncmp-ifunc.c: New file.
31288 * benchtests/bench-strncmp.c: New file.
31289 * benchtests/bench-strncpy-ifunc.c: New file.
31290 * benchtests/bench-strncpy.c: New file.
31291 * benchtests/bench-strnlen-ifunc.c: New file.
31292 * benchtests/bench-strnlen.c: New file.
31293 * benchtests/bench-strpbrk-ifunc.c: New file.
31294 * benchtests/bench-strpbrk.c: New file.
31295 * benchtests/bench-strrchr-ifunc.c: New file.
31296 * benchtests/bench-strrchr.c: New file.
31297 * benchtests/bench-strspn-ifunc.c: New file.
31298 * benchtests/bench-strspn.c: New file.
31299 * benchtests/bench-strstr-ifunc.c: New file.
31300 * benchtests/bench-strstr.c: New file.
31302 * benchtests/Makefile: Disable parallel execution of targets.
31303 (string-bench): Add memcpy.
31304 (benchset): New variable to store a list of benchmark sets.
31305 (bench-func): Renamed from bench.
31306 (bench-set): New target.
31307 (bench): Depend on bench-func and bench-set.
31308 * benchtests/README: Add section on benchmark sets.
31309 * benchtests/bench-memcpy-ifunc.c: New file.
31310 * benchtests/bench-memcpy.c: New file.
31311 * benchtests/bench-string.h: New file.
31313 2013-06-11 Andreas Schwab <schwab@suse.de>
31316 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
31317 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
31318 values in the triple.
31319 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
31320 terminator in the group key.
31322 2013-06-11 Andreas Jaeger <aj@suse.de>
31324 * po/zh_TW.po: Update Chinese (traditional) translation from
31325 translation project.
31327 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31329 * include/time.h (__clock_gettime): Add libc_hidden_proto.
31330 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
31331 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
31332 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31333 (clock_getcpuclockid): Likewise.
31334 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
31335 Add weak_alias and libc_hidden_def.
31336 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
31337 * rt/clock_gettime.c (clock_gettime): Rename to
31338 __clock_gettime. Add weak_alias and libc_hidden_def.
31339 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
31340 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
31341 __clock_nanosleep. Add weak_alias and libc_hidden_def.
31342 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
31343 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
31345 * rt/clock_settime.c (clock_settime): Rename to
31346 __clock_settime. Add weak_alias and libc_hidden_def.
31347 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
31349 2013-06-10 Joseph Myers <joseph@codesourcery.com>
31351 * mach/err_boot.sub: Remove trailing whitespace.
31352 * mach/err_ipc.sub: Likewise.
31353 * mach/err_mach.sub: Likewise.
31355 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
31356 (ROUNDING_TESTS_double): Likewise.
31357 (ROUNDING_TESTS_long_double): Likewise.
31358 (ROUNDING_TESTS): Likewise.
31359 * math/libm-test.inc: Include <math-tests.h>.
31360 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
31361 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31362 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31363 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31365 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31367 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
31370 2013-06-08 Joseph Myers <joseph@codesourcery.com>
31372 * sysdeps/gnu/errlist.awk: Do not generate space at end of
31373 otherwise empty TRANS lines.
31374 * sysdeps/gnu/errlist.c: Regenerated.
31376 * catgets/gencat.c (error_print): Use (void) in function
31378 * crypt/crypt_util.c (__init_des): Likewise.
31379 * crypt/speeds.c (Stop): Likewise.
31381 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
31382 * inet/ruserpass.c (token): Likewise.
31383 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
31384 * intl/localealias.c (extend_alias_table): Likewise.
31385 * intl/plural-exp.c (init_germanic_plural): Likewise.
31386 * libio/fcloseall.c (__fcloseall): Likewise.
31387 * libio/genops.c (_IO_flush_all): Likewise.
31388 (_IO_flush_all_linebuffered): Likewise.
31389 (_IO_cleanup): Likewise.
31390 (_IO_iter_begin): Likewise.
31391 (_IO_iter_end): Likewise.
31392 (_IO_list_lock): Likewise.
31393 (_IO_list_unlock): Likewise.
31394 (_IO_list_resetlock): Likewise.
31395 * libio/getchar.c (getchar): Likewise.
31396 * libio/getchar_u.c (getchar_unlocked): Likewise.
31397 * libio/getwchar.c (getwchar): Likewise.
31398 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
31399 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
31400 * login/getpt.c (__getpt): Likewise.
31401 * login/tst-utmp.c (main): Likewise.
31402 * malloc/hooks.c (__malloc_check_init): Likewise.
31403 * malloc/malloc.c (__malloc_stats): Likewise.
31404 * malloc/mtrace.c (tr_break): Likewise.
31405 (mtrace): Likewise.
31406 (muntrace): Likewise.
31407 * misc/fstab.c (endfsent): Likewise.
31408 * misc/getclktck.c (__getclktck): Likewise.
31409 * misc/getdtsz.c (__getdtablesize): Likewise.
31410 * misc/gethostid.c (gethostid): Likewise.
31411 * misc/getpagesize.c (__getpagesize): Likewise.
31412 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
31413 (__get_nprocs): Likewise.
31414 (__get_phys_pages): Likewise.
31415 (__get_avphys_pages): Likewise.
31416 * misc/getttyent.c (getttyent): Likewise.
31417 (setttyent): Likewise.
31418 (endttyent): Likewise.
31419 * misc/getusershell.c (getusershell): Likewise.
31420 (endusershell): Likewise.
31421 (setusershell): Likewise.
31422 (initshells): Likewise.
31423 * misc/hsearch.c (__hdestroy): Likewise.
31424 * misc/sync.c (sync): Likewise.
31425 * misc/syslog.c (closelog_internal): Likewise.
31426 (closelog): Likewise.
31427 * misc/ttyslot.c (ttyslot): Likewise.
31428 * misc/vhangup.c (vhangup): Likewise.
31429 * posix/fork.c (__fork): Likewise.
31430 * posix/getegid.c (__getegid): Likewise.
31431 * posix/geteuid.c (__geteuid): Likewise.
31432 * posix/getgid.c (__getgid): Likewise.
31433 * posix/getpid.c (__getpid): Likewise.
31434 * posix/getppid.c (__getppid): Likewise.
31435 * posix/getuid.c (__getuid): Likewise.
31436 * posix/pause.c (pause): Likewise.
31437 * posix/setpgrp.c (setpgrp): Likewise.
31438 * posix/setsid.c (__setsid): Likewise.
31439 * posix/test-vfork.c (noop): Likewise.
31440 * resolv/gethnamaddr.c (_endhtent): Likewise.
31441 (_gethtent): Likewise.
31442 (ht_endhostent): Likewise.
31443 (gethostent): Likewise.
31444 (dns_service): Likewise.
31445 * stdlib/drand48.c (drand48): Likewise.
31446 * stdlib/lrand48.c (lrand48): Likewise.
31447 * stdlib/mrand48.c (mrand48): Likewise.
31448 * stdlib/rand.c (rand): Likewise.
31449 * stdlib/random.c (__random): Likewise.
31450 * stdlib/setenv.c (clearenv): Likewise.
31451 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
31452 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
31453 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
31454 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
31455 (__get_nprocs): Likewise.
31456 (__get_phys_pages): Likewise.
31457 (__get_avphys_pages): Likewise.
31458 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
31459 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
31460 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
31461 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
31462 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
31463 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
31464 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
31465 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
31466 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
31467 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
31468 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
31469 * sysdeps/mach/hurd/sync.c (sync): Likewise.
31470 * sysdeps/posix/clock.c (clock): Likewise.
31471 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
31472 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
31473 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
31474 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
31475 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
31476 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
31477 (__get_nprocs_conf): Likewise.
31478 (__get_phys_pages): Likewise.
31479 (__get_avphys_pages): Likewise.
31480 * time/clock.c (clock): Likewise.
31481 * time/tzset.c (__tzname_max): Likewise.
31483 2013-06-07 Joseph Myers <joseph@codesourcery.com>
31485 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
31486 (__bswap_32): Do not use "register".
31487 * crypt/crypt.c (_ufc_doit_r): Likewise.
31488 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
31489 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
31490 * gmon/gmon.c (__monstartup): Likewise.
31491 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
31492 * hurd/hurdmalloc.c (more_memory): Likewise.
31493 (malloc): Likewise.
31495 (realloc): Likewise.
31496 (malloc_fork_prepare): Likewise.
31497 (malloc_fork_parent): Likewise.
31498 (malloc_fork_child): Likewise.
31499 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
31500 (_svcauth_des): Likewise.
31501 * inet/inet_lnaof.c (inet_lnaof): Likewise.
31502 * inet/inet_net.c (inet_network): Likewise.
31503 * inet/inet_netof.c (inet_netof): Likewise.
31504 * inet/rcmd.c (__validuser2_sa): Likewise.
31505 * io/fts.c (fts_open): Likewise.
31506 (fts_load): Likewise.
31507 (fts_close): Likewise.
31508 (fts_read): Likewise.
31509 (fts_children): Likewise.
31510 (fts_build): Likewise.
31511 (fts_stat): Likewise.
31512 (fts_sort): Likewise.
31513 (fts_alloc): Likewise.
31514 (fts_lfree): Likewise.
31515 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
31516 (_IO_file_xsgetn): Likewise.
31517 (_IO_file_xsgetn_mmap): Likewise.
31518 * libio/iofopncook.c (_IO_cookie_read): Likewise.
31519 (_IO_cookie_write): Likewise.
31520 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
31521 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
31522 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
31523 * malloc/obstack.c (_obstack_begin): Likewise.
31524 (_obstack_begin_1): Likewise.
31525 (_obstack_newchunk): Likewise.
31526 (_obstack_allocated_p): Likewise.
31527 (obstack_free): Likewise.
31528 (_obstack_memory_used): Likewise.
31529 * misc/getttyent.c (getttynam): Likewise.
31530 (getttyent): Likewise.
31533 * misc/getusershell.c (initshells): Likewise.
31534 * misc/syslog.c (__vsyslog_chk): Likewise.
31535 * misc/ttyslot.c (ttyslot): Likewise.
31536 * nis/nis_hash.c (__nis_hash): Likewise.
31537 * posix/fnmatch_loop.c (FCT): Likewise.
31538 * posix/getconf.c (print_all): Likewise.
31540 * posix/getopt.c (exchange): Likewise.
31541 * posix/glob.c (globfree): Likewise.
31542 (prefix_array): Likewise.
31543 (__glob_pattern_type): Likewise.
31544 * resolv/arpa/nameser.h (NS_GET16): Likewise.
31545 (NS_GET32): Likewise.
31546 (NS_PUT16): Likewise.
31547 (NS_PUT32): Likewise.
31548 * resolv/gethnamaddr.c (getanswer): Likewise.
31549 (gethostbyname2): Likewise.
31550 (gethostbyaddr): Likewise.
31551 (_gethtent): Likewise.
31552 (_gethtbyname2): Likewise.
31553 (_gethtbyaddr): Likewise.
31554 * resolv/ns_print.c (dst_s_get_int16): Likewise.
31555 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31556 * resolv/res_init.c (__res_vinit): Likewise.
31557 (net_mask): Likewise.
31558 * resolv/res_mkquery.c (outchar): Likewise.
31560 * stdio-common/printf_fp.c (outchar): Likewise.
31562 * stdio-common/printf_fphex.c (outchar): Likewise.
31564 * stdio-common/printf_size.c (outchar): Likewise.
31566 * stdio-common/test_rdwr.c (main): Likewise.
31567 * stdio-common/tfformat.c (matches): Likewise.
31568 * stdio-common/vfprintf.c (outchar): Likewise.
31569 (printf_unknown): Likewise.
31570 (buffered_vfprintf): Likewise.
31571 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31572 * stdio-common/xbug.c (AppendToBuffer): Likewise.
31573 (ReadFile): Likewise.
31574 * stdlib/qsort.c (SWAP): Likewise.
31575 (_quicksort): Likewise.
31576 * stdlib/setenv.c (__add_to_environ): Likewise.
31577 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31578 * stdlib/strtol_l.c (__strtol_l): Likewise.
31579 * stdlib/tst-strtod.c (main): Likewise.
31580 * stdlib/tst-strtol.c (main): Likewise.
31581 * stdlib/tst-strtoll.c (main): Likewise.
31582 * string/bits/string2.h (__strcmp_cc): Likewise.
31583 (__strcmp_cg): Likewise.
31584 (__strcspn_c1): Likewise.
31585 (__strcspn_c2): Likewise.
31586 (__strcspn_c3): Likewise.
31587 (__strspn_c1): Likewise.
31588 (__strspn_c2): Likewise.
31589 (__strspn_c3): Likewise.
31590 (__strsep_1c): Likewise.
31591 (__strsep_2c): Likewise.
31592 (__strsep_3c): Likewise.
31593 * string/memccpy.c (__memccpy): Likewise.
31594 * string/stpcpy.c (__stpcpy): Likewise.
31595 * string/strcmp.c (strcmp): Likewise.
31596 * string/strrchr.c (strrchr): Likewise.
31597 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31599 * sysdeps/mach/hurd/getcwd.c
31600 (_hurd_canonicalize_directory_name_internal): Likewise.
31601 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31602 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31603 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31604 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31605 Likewise, in both definitions.
31606 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31608 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31609 64] (__bswap_64): Likewise.
31610 * time/test_time.c (main): Likewise.
31611 * time/tzfile.c (__tzfile_read): Likewise.
31612 (__tzfile_compute): Likewise.
31613 * time/tzset.c (__tzset_parse_tz): Likewise.
31614 (tzset_internal): Likewise.
31615 (compute_change): Likewise.
31616 * wcsmbs/wcscat.c (__wcscat): Likewise.
31617 * wcsmbs/wcschr.c (wcschr): Likewise.
31618 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31619 * wcsmbs/wcscspn.c (wcscspn): Likewise.
31620 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31621 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31622 * wcsmbs/wcsspn.c (wcsspn): Likewise.
31623 * wcsmbs/wcsstr.c (wcsstr): Likewise.
31624 * wcsmbs/wmemchr.c (wmemchr): Likewise.
31625 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31626 * wcsmbs/wmemset.c (wmemset): Likewise.
31628 2013-06-06 Joseph Myers <joseph@codesourcery.com>
31630 * scripts/config.guess: Update to version 2013-05-16.
31631 * scripts/config.sub: Update to version 2013-04-24.
31632 * scripts/install-sh: Update to version 2011-11-20.07.
31633 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31634 * scripts/move-if-change: Update to version 2012-01-06 07:23.
31636 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
31638 * debug/fgetws_u_chk.c: Fix leading whitespaces.
31639 * elf/sln.c: Likewise.
31640 * hurd/hurd/ioctl.h: Likewise.
31641 * hurd/hurdmalloc.c: Likewise.
31642 * hurd/xattr.c: Likewise.
31643 * include/shlib-compat.h: Likewise.
31644 * inet/ruserpass.c: Likewise.
31645 * libio/iofgets_u.c: Likewise.
31646 * libio/iofgetws_u.c: Likewise.
31647 * locale/programs/ld-identification.c: Likewise.
31648 * locale/programs/ld-time.c: Likewise.
31649 * mach/msg-destroy.c: Likewise.
31650 * nss/nss_files/files-netgrp.c: Likewise.
31651 * resolv/res_data.c: Likewise.
31652 * soft-fp/op-1.h: Likewise.
31653 * soft-fp/op-2.h: Likewise.
31654 * soft-fp/op-4.h: Likewise.
31655 * soft-fp/op-common.h: Likewise.
31656 * stdio-common/printf_fphex.c: Likewise.
31657 * stdlib/strtod_l.c: Likewise.
31658 * sunrpc/rpc/clnt.h: Likewise.
31659 * sysdeps/generic/framestate.c: Likewise.
31660 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31661 * sysdeps/i386/bsd-setjmp.S: Likewise.
31662 * sysdeps/i386/__longjmp.S: Likewise.
31663 * sysdeps/i386/setjmp.S: Likewise.
31664 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31665 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31666 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31667 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31668 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31669 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31670 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31671 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31672 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31673 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31674 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31675 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31676 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31677 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31678 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31679 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31680 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31681 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31682 * sysdeps/ieee754/support.c: Likewise.
31683 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31684 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31685 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31686 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31687 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31688 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31689 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31690 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31691 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31692 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31693 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31694 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31695 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31696 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31697 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31698 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31699 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31702 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
31704 * posix/transbug.c: Remove executable mode.
31706 2013-06-05 Joseph Myers <joseph@codesourcery.com>
31708 * crypt/speeds.c: Remove trailing whitespace.
31709 * dlfcn/default.c: Likewise.
31710 * elf/ifuncdep2.c: Likewise.
31711 * elf/ifuncmain1.c: Likewise.
31712 * elf/ifuncmain1vis.c: Likewise.
31713 * elf/testobj.h: Likewise.
31714 * elf/tst-stackguard1.c: Likewise.
31715 * gmon/sys/gmon.h: Likewise.
31716 * hurd/hurdmsg.c: Likewise.
31717 * hurd/new-fd.c: Likewise.
31718 * hurd/ports-get.c: Likewise.
31719 * iconvdata/ibm1008_420.c: Likewise.
31720 * inet/tst-getni1.c: Likewise.
31721 * inet/tst-getni2.c: Likewise.
31722 * libio/ioungetc.c: Likewise.
31723 * libio/wfiledoalloc.c: Likewise.
31724 * manual/libm-err-tab.pl: Likewise.
31725 * math/w_dremf.c: Likewise.
31726 * misc/ftruncate.c: Likewise.
31727 * posix/bug-glob2.c: Likewise.
31728 * posix/tst-pcre.c: Likewise.
31729 * posix/wait4.c: Likewise.
31730 * resolv/README: Likewise.
31731 * resolv/res_debug.h: Likewise.
31732 * resolv/tst-inet_ntop.c: Likewise.
31733 * setjmp/bug269-setjmp.c: Likewise.
31734 * soft-fp/extended.h: Likewise.
31735 * soft-fp/op-1.h: Likewise.
31736 * soft-fp/op-2.h: Likewise.
31737 * soft-fp/op-4.h: Likewise.
31738 * soft-fp/op-8.h: Likewise.
31739 * soft-fp/testit.c: Likewise.
31740 * stdio-common/bug16.c: Likewise.
31741 * stdlib/random.c: Likewise.
31742 * sunrpc/rpcsvc/rquota.x: Likewise.
31743 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31744 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31745 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31746 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31747 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31748 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31749 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31750 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31751 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31752 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31753 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31754 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31755 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31756 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31757 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31758 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31759 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31760 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31761 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31762 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31763 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31764 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31765 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31766 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31767 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31768 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31769 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31770 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31771 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31772 * sysdeps/ieee754/s_lib_version.c: Likewise.
31773 * sysdeps/mach/hurd/check_fds.c: Likewise.
31774 * sysdeps/mach/hurd/getsockname.c: Likewise.
31775 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31776 * sysdeps/mach/hurd/recvfrom.c: Likewise.
31777 * sysdeps/powerpc/bits/link.h: Likewise.
31778 * sysdeps/powerpc/dl-procinfo.c: Likewise.
31779 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31780 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31781 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31782 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31783 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31784 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31785 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31786 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31787 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31788 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31789 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31790 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31791 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31792 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31793 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31794 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31795 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31796 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31797 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31798 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31799 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31800 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31801 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31802 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31803 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31804 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31805 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31806 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31807 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31808 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31809 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31810 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31811 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31812 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31813 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31814 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31815 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31816 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31817 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31818 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31819 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31820 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31821 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31822 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31823 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31824 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31825 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31826 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31827 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31828 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31829 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31830 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31831 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31832 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31833 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31834 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31835 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31836 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31837 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31838 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31839 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31840 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31841 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31842 * sysdeps/powerpc/sysdep.h: Likewise.
31843 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31844 * sysdeps/s390/s390-64/sub_n.S: Likewise.
31845 * sysdeps/sh/dl-trampoline.S: Likewise.
31846 * sysdeps/sh/memset.S: Likewise.
31847 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31848 * sysdeps/sh/strlen.S: Likewise.
31849 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31850 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31851 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31852 * sysdeps/sparc/sparc32/rem.S: Likewise.
31853 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31854 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31855 * sysdeps/sparc/sparc32/strchr.S: Likewise.
31856 * sysdeps/sparc/sparc32/udiv.S: Likewise.
31857 * sysdeps/sparc/sparc32/urem.S: Likewise.
31858 * sysdeps/sparc/sparc64/add_n.S: Likewise.
31859 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31860 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31861 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31862 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31863 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31864 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31865 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31866 * sysdeps/unix/bsd/times.c: Likewise.
31867 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31868 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31872 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31873 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31874 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31875 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31876 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31877 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31878 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31879 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31880 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31881 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31882 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31883 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31884 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31885 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31886 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31887 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31888 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31889 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31890 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31891 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31892 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31893 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31894 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31895 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31896 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31897 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31898 * sysdeps/x86_64/strcspn.S: Likewise.
31900 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31902 * locale/C-translit.h: Revert #include <stdint.h> because this is a
31903 generated file. Regenerate properly from gen-translit.pl.
31904 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
31905 locale/C-translit.h.
31907 2013-06-05 Andreas Schwab <schwab@suse.de>
31910 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31911 week as 6 instead of -1.
31912 * time/tst-strptime.c (day_tests): Add test case.
31914 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
31916 * sysdeps/generic/math_private.h
31917 (libc_feholdexcept_setround_53bit): Replace with
31918 libc_feholdsetround_53bit.
31919 (libc_feupdateenv_53bit): Replace with
31920 libc_feresetround_53bit.
31921 (SET_RESTORE_ROUND_53BIT): Adjust.
31923 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31925 * string/test-strchrnul.c: Add copyright header.
31927 * posix/tst-getaddrinfo4.c: Increase test timeout.
31929 2013-06-03 Carlos O'Donell <carlos@redhat.com>
31932 * math/libm-test.inc (MAX_EXP): Remove
31934 (ulp): Use MIN_EXP - MANT_DIG.
31935 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31937 2013-05-31 Carlos O'Donell <carlos@redhat.com>
31939 * po/be.po: Revert last change.
31940 * po/zh_CN.po: Likewise.
31941 * po/header.pot: Likewise.
31943 2013-05-31 Joseph Myers <joseph@codesourcery.com>
31945 * Makefile ($(common-objpfx)linkobj/libc.so): Define
31946 link-libc-deps to empty as target-specific variable.
31947 * Makerules (link-libc-args): New variable.
31948 (libc-for-link): Likewise.
31949 (link-libc-deps): Likewise.
31950 (lib%.so): Depend on $(link-libc-deps). Link with
31952 (build-module): Link with $(link-libc-args).
31953 (build-module-asneeded): Likewise.
31954 (build-module-helper-objlist): Filter out $(link-libc-deps) from
31956 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31957 target-specific variable.
31958 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31959 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31960 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31962 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31964 ($(objpfx)libpcprofile.so): Likewise.
31965 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31967 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31968 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31969 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31971 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31972 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31973 * login/Makefile ($(objpfx)libutil.so): Likewise.
31974 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31975 * math/Makefile ($(objpfx)libm.so): Likewise.
31976 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31977 $(objpfx)libnsl.so): Define libc-for-link as target-specific
31978 variable instead of depending directly on libc.
31979 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31980 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31982 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31984 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31985 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31986 ($(objpfx)libanl.so): Likewise.
31987 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31989 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31991 * sysdeps/i386/fpu/Makefile: Remove file.
31992 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31993 ($(objpfx)libm.so): Remove dependency on ld.so.
31995 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
31998 * nis/yp_xdr.c (XDRMAXNAME): Define.
31999 (XDRMAXRECORD): Define.
32000 (xdr_domainname): Use XDRMAXNAME.
32001 (xdr_mapname): Likewise.
32002 (xdr_peername): Likewise.
32003 (xdr_keydat): Use XDRMAXRECORD.
32004 (xdr_valdat): Likewise.
32006 2013-05-30 Jeff Law <law@redhat.com>
32009 * manual/errno.texi (ESTALE): Update to account for more than
32010 just NFS file systems.
32011 * sysdeps/gnu/errlist.c: Regenerated.
32013 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32016 * elf/Makefile (tests): Add tst-null-argv.
32017 (modules-names): Add tst-null-argv-lib.
32018 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
32019 (tst-null-argv-ENV): Set environment for tst-null-argv.
32020 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
32021 (RTLD_PROGNAME): New macro.
32022 * elf/tst-null-argv.c: New test case.
32023 * elf/tst-null-argv-lib.c: Library for test case.
32024 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
32025 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
32026 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
32027 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
32028 * elf/dl-init.c (call_init): Likewise.
32029 (_dl_init): Likewise.
32030 * elf/dl-load.c (print_search_path): Likewise.
32031 (_dl_map_object): Likewise.
32032 * elf/dl-lookup.c (do_lookup_x): Likewise.
32033 (add_dependency): Likewise.
32034 (_dl_lookup_symbol_x): Likewise.
32035 (_dl_debug_bindings): Likewise.
32036 * elf/dl-open.c (_dl_show_scope): Likewise.
32037 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32038 * elf/dl-version.c (match_symbol): Likewise.
32039 (_dl_check_map_versions): Likewise.
32040 * elf/rtld.c (dl_main): Likewise.
32041 (print_unresolved): Use RTLD_PROGNAME.
32042 (print_missing_version): Likewise.
32043 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
32044 (elf_machine_rela): Likewise.
32045 * sysdeps/powerpc/powerpc32/dl-machine.c
32046 (__process_machine_rela): Likewise.
32047 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32049 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32051 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32053 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
32056 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
32058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32060 2013-05-28 Carlos O'Donell <carlos@redhat.com>
32062 * po/be.po: Add descriptive title.
32063 * po/zh_CN.po: Likewise.
32064 * po/header.pot: Likewise.
32066 2013-05-28 Mike Frysinger <vapier@gentoo.org>
32068 * locale/programs/locarchive.c (create_archive): Inlucde fname in
32070 (enlarge_archive): Likewise.
32072 2013-05-28 Ben North <ben@redfrontdoor.org>
32074 * manual/arith.texi (frexp): It is the magnitude of the return
32075 value which lies in [0.5, 1), not the return value itself.
32077 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32081 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
32083 * stdio-common/bug26.c (main): Correct fscanf template.
32085 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
32086 declare _dl_skip_args.
32088 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
32091 * manual/platform.texi: Add missing @end deftypefun.
32093 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32096 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
32097 bit of mantissa of 2^16382.
32098 * math/libm-test.inc (hypot_test_data): Add more tests.
32100 * math/libm-test.inc: Add drem and pow10 to list of tested
32102 (pow10_test): New function.
32103 (drem_test): Likewise.
32104 (drem_test_tonearest): Likewise.
32105 (drem_test_towardzero): Likewise.
32106 (drem_test_downward): Likewise.
32107 (drem_test_upward): Likewise.
32108 (main): Call the new functions.
32110 * math/libm-test.inc (finite_test_data): Remove.
32111 (finite_test): Run tests from isfinite_test_data.
32112 (gamma_test_data): Remove.
32113 (gamma_test): Run tests from lgamma_test_data.
32114 * sysdeps/i386/fpu/libm-test-ulps: Update.
32115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32117 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32119 * manual/platform.texi: Add PowerPC PPR function set documentation.
32120 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
32123 2013-05-24 Carlos O'Donell <carlos@redhat.com>
32125 * math/libm-test.inc (MAX_EXP): Define.
32127 (ulp): New function.
32128 (check_float_internal): Use ULPDIFF.
32129 (cpow_test): Disable failing test.
32130 (check_ulp): Test ulp() implemetnation.
32131 (main): Call check_ulp before starting tests.
32133 2013-05-24 Joseph Myers <joseph@codesourcery.com>
32135 * math/gen-libm-test.pl (generate_testfile): Do not handle
32136 START_DATA and END_DATA.
32137 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
32139 (acos_tonearest_test_data): Likewise.
32140 (acos_towardzero_test_data): Likewise.
32141 (acos_downward_test_data): Likewise.
32142 (acos_upward_test_data): Likewise.
32143 (acosh_test_data): Likewise.
32144 (asin_test_data): Likewise.
32145 (asin_tonearest_test_data): Likewise.
32146 (asin_towardzero_test_data): Likewise.
32147 (asin_downward_test_data): Likewise.
32148 (asin_upward_test_data): Likewise.
32149 (asinh_test_data): Likewise.
32150 (atan_test_data): Likewise.
32151 (atanh_test_data): Likewise.
32152 (atan2_test_data): Likewise.
32153 (cabs_test_data): Likewise.
32154 (cacos_test_data): Likewise.
32155 (cacosh_test_data): Likewise.
32156 (carg_test_data): Likewise.
32157 (casin_test_data): Likewise.
32158 (casinh_test_data): Likewise.
32159 (catan_test_data): Likewise.
32160 (catanh_test_data): Likewise.
32161 (cbrt_test_data): Likewise.
32162 (ccos_test_data): Likewise.
32163 (ccosh_test_data): Likewise.
32164 (ceil_test_data): Likewise.
32165 (cexp_test_data): Likewise.
32166 (cimag_test_data): Likewise.
32167 (clog_test_data): Likewise.
32168 (clog10_test_data): Likewise.
32169 (conj_test_data): Likewise.
32170 (copysign_test_data): Likewise.
32171 (cos_test_data): Likewise.
32172 (cos_tonearest_test_data): Likewise.
32173 (cos_towardzero_test_data): Likewise.
32174 (cos_downward_test_data): Likewise.
32175 (cos_upward_test_data): Likewise.
32176 (cosh_test_data): Likewise.
32177 (cosh_tonearest_test_data): Likewise.
32178 (cosh_towardzero_test_data): Likewise.
32179 (cosh_downward_test_data): Likewise.
32180 (cosh_upward_test_data): Likewise.
32181 (cpow_test_data): Likewise.
32182 (cproj_test_data): Likewise.
32183 (creal_test_data): Likewise.
32184 (csin_test_data): Likewise.
32185 (csinh_test_data): Likewise.
32186 (csqrt_test_data): Likewise.
32187 (ctan_test_data): Likewise.
32188 (ctan_tonearest_test_data): Likewise.
32189 (ctan_towardzero_test_data): Likewise.
32190 (ctan_downward_test_data): Likewise.
32191 (ctan_upward_test_data): Likewise.
32192 (ctanh_test_data): Likewise.
32193 (ctanh_tonearest_test_data): Likewise.
32194 (ctanh_towardzero_test_data): Likewise.
32195 (ctanh_downward_test_data): Likewise.
32196 (ctanh_upward_test_data): Likewise.
32197 (erf_test_data): Likewise.
32198 (erfc_test_data): Likewise.
32199 (exp_test_data): Likewise.
32200 (exp_tonearest_test_data): Likewise.
32201 (exp_towardzero_test_data): Likewise.
32202 (exp_downward_test_data): Likewise.
32203 (exp_upward_test_data): Likewise.
32204 (exp10_test_data): Likewise.
32205 (exp2_test_data): Likewise.
32206 (expm1_test_data): Likewise.
32207 (fabs_test_data): Likewise.
32208 (fdim_test_data): Likewise.
32209 (finite_test_data): Likewise.
32210 (floor_test_data): Likewise.
32211 (fma_test_data): Likewise.
32212 (fma_towardzero_test_data): Likewise.
32213 (fma_downward_test_data): Likewise.
32214 (fma_upward_test_data): Likewise.
32215 (fmax_test_data): Likewise.
32216 (fmin_test_data): Likewise.
32217 (fmod_test_data): Likewise.
32218 (fpclassify_test_data): Likewise.
32219 (frexp_test_data): Likewise.
32220 (gamma_test_data): Likewise.
32221 (hypot_test_data): Likewise.
32222 (ilogb_test_data): Likewise.
32223 (isfinite_test_data): Likewise.
32224 (isgreater_test_data): Likewise.
32225 (isgreaterequal_test_data): Likewise.
32226 (isinf_test_data): Likewise.
32227 (isless_test_data): Likewise.
32228 (islessequal_test_data): Likewise.
32229 (islessgreater_test_data): Likewise.
32230 (isnan_test_data): Likewise.
32231 (isnormal_test_data): Likewise.
32232 (issignaling_test_data): Likewise.
32233 (isunordered_test_data): Likewise.
32234 (j0_test_data): Likewise.
32235 (j1_test_data): Likewise.
32236 (jn_test_data): Likewise.
32237 (ldexp_test_data): Likewise.
32238 (lgamma_test_data): Likewise.
32239 (lrint_test_data): Likewise.
32240 (lrint_tonearest_test_data): Likewise.
32241 (lrint_towardzero_test_data): Likewise.
32242 (lrint_downward_test_data): Likewise.
32243 (lrint_upward_test_data): Likewise.
32244 (llrint_test_data): Likewise.
32245 (llrint_tonearest_test_data): Likewise.
32246 (llrint_towardzero_test_data): Likewise.
32247 (llrint_downward_test_data): Likewise.
32248 (llrint_upward_test_data): Likewise.
32249 (log_test_data): Likewise.
32250 (log10_test_data): Likewise.
32251 (log1p_test_data): Likewise.
32252 (log2_test_data): Likewise.
32253 (logb_test_data): Likewise.
32254 (logb_downward_test_data): Likewise.
32255 (lround_test_data): Likewise.
32256 (llround_test_data): Likewise.
32257 (modf_test_data): Likewise.
32258 (nearbyint_test_data): Likewise.
32259 (nextafter_test_data): Likewise.
32260 (nexttoward_test_data): Likewise.
32261 (pow_test_data): Likewise.
32262 (pow_tonearest_test_data): Likewise.
32263 (pow_towardzero_test_data): Likewise.
32264 (pow_downward_test_data): Likewise.
32265 (pow_upward_test_data): Likewise.
32266 (remainder_test_data): Likewise.
32267 (remainder_tonearest_test_data): Likewise.
32268 (remainder_towardzero_test_data): Likewise.
32269 (remainder_downward_test_data): Likewise.
32270 (remainder_upward_test_data): Likewise.
32271 (remquo_test_data): Likewise.
32272 (rint_test_data): Likewise.
32273 (rint_tonearest_test_data): Likewise.
32274 (rint_towardzero_test_data): Likewise.
32275 (rint_downward_test_data): Likewise.
32276 (rint_upward_test_data): Likewise.
32277 (round_test_data): Likewise.
32278 (scalb_test_data): Likewise.
32279 (scalbn_test_data): Likewise.
32280 (scalbln_test_data): Likewise.
32281 (signbit_test_data): Likewise.
32282 (sin_test_data): Likewise.
32283 (sin_tonearest_test_data): Likewise.
32284 (sin_towardzero_test_data): Likewise.
32285 (sin_downward_test_data): Likewise.
32286 (sin_upward_test_data): Likewise.
32287 (sincos_test_data): Likewise.
32288 (sinh_test_data): Likewise.
32289 (sinh_tonearest_test_data): Likewise.
32290 (sinh_towardzero_test_data): Likewise.
32291 (sinh_downward_test_data): Likewise.
32292 (sinh_upward_test_data): Likewise.
32293 (sqrt_test_data): Likewise.
32294 (tan_test_data): Likewise.
32295 (tan_tonearest_test_data): Likewise.
32296 (tan_towardzero_test_data): Likewise.
32297 (tan_downward_test_data): Likewise.
32298 (tan_upward_test_data): Likewise.
32299 (tanh_test_data): Likewise.
32300 (tgamma_test_data): Likewise.
32301 (trunc_test_data): Likewise.
32302 (y0_test_data): Likewise.
32303 (y1_test_data): Likewise.
32304 (yn_test_data): Likewise.
32305 (significand_test_data): Likewise.
32307 * math/gen-libm-test.pl (@functions): Remove variable.
32308 (generate_testfile): Don't handle START and END lines.
32309 * math/libm-test.inc (START): New macro.
32311 (END_COMPLEX): Likewise.
32312 (acos_test): Use END macro without arguments.
32313 (acos_test_tonearest): Likewise.
32314 (acos_test_towardzero): Likewise.
32315 (acos_test_downward): Likewise.
32316 (acos_test_upward): Likewise.
32317 (acosh_test): Likewise.
32318 (asin_test): Likewise.
32319 (asin_test_tonearest): Likewise.
32320 (asin_test_towardzero): Likewise.
32321 (asin_test_downward): Likewise.
32322 (asin_test_upward): Likewise.
32323 (asinh_test): Likewise.
32324 (atan_test): Likewise.
32325 (atanh_test): Likewise.
32326 (atan2_test): Likewise.
32327 (cabs_test): Likewise.
32328 (cacos_test): Use END_COMPLEX macro without arguments.
32329 (cacosh_test): Likewise.
32330 (carg_test): Use END macro without arguments.
32331 (casin_test): Use END_COMPLEX macro without arguments.
32332 (casinh_test): Likewise.
32333 (catan_test): Likewise.
32334 (catanh_test): Likewise.
32335 (cbrt_test): Use END macro without arguments.
32336 (ccos_test): Use END_COMPLEX macro without arguments.
32337 (ccosh_test): Likewise.
32338 (ceil_test): Use END macro without arguments.
32339 (cexp_test): Use END_COMPLEX macro without arguments.
32340 (cimag_test): Use END macro without arguments.
32341 (clog_test): Use END_COMPLEX macro without arguments.
32342 (clog10_test): Likewise.
32343 (conj_test): Likewise.
32344 (copysign_test): Use END macro without arguments.
32345 (cos_test): Likewise.
32346 (cos_test_tonearest): Likewise.
32347 (cos_test_towardzero): Likewise.
32348 (cos_test_downward): Likewise.
32349 (cos_test_upward): Likewise.
32350 (cosh_test): Likewise.
32351 (cosh_test_tonearest): Likewise.
32352 (cosh_test_towardzero): Likewise.
32353 (cosh_test_downward): Likewise.
32354 (cosh_test_upward): Likewise.
32355 (cpow_test): Use END_COMPLEX macro without arguments.
32356 (cproj_test): Likewise.
32357 (creal_test): Use END macro without arguments.
32358 (csin_test): Use END_COMPLEX macro without arguments.
32359 (csinh_test): Likewise.
32360 (csqrt_test): Likewise.
32361 (ctan_test): Likewise.
32362 (ctan_test_tonearest): Likewise.
32363 (ctan_test_towardzero): Likewise.
32364 (ctan_test_downward): Likewise.
32365 (ctan_test_upward): Likewise.
32366 (ctanh_test): Likewise.
32367 (ctanh_test_tonearest): Likewise.
32368 (ctanh_test_towardzero): Likewise.
32369 (ctanh_test_downward): Likewise.
32370 (ctanh_test_upward): Likewise.
32371 (erf_test): Use END macro without arguments.
32372 (erfc_test): Likewise.
32373 (exp_test): Likewise.
32374 (exp_test_tonearest): Likewise.
32375 (exp_test_towardzero): Likewise.
32376 (exp_test_downward): Likewise.
32377 (exp_test_upward): Likewise.
32378 (exp10_test): Likewise.
32379 (exp2_test): Likewise.
32380 (expm1_test): Likewise.
32381 (fabs_test): Likewise.
32382 (fdim_test): Likewise.
32383 (finite_test): Likewise.
32384 (floor_test): Likewise.
32385 (fma_test): Likewise.
32386 (fma_test_towardzero): Likewise.
32387 (fma_test_downward): Likewise.
32388 (fma_test_upward): Likewise.
32389 (fmax_test): Likewise.
32390 (fmin_test): Likewise.
32391 (fmod_test): Likewise.
32392 (fpclassify_test): Likewise.
32393 (frexp_test): Likewise.
32394 (gamma_test): Likewise.
32395 (hypot_test): Likewise.
32396 (ilogb_test): Likewise.
32397 (isfinite_test): Likewise.
32398 (isgreater_test): Likewise.
32399 (isgreaterequal_test): Likewise.
32400 (isinf_test): Likewise.
32401 (isless_test): Likewise.
32402 (islessequal_test): Likewise.
32403 (islessgreater_test): Likewise.
32404 (isnan_test): Likewise.
32405 (isnormal_test): Likewise.
32406 (issignaling_test): Likewise.
32407 (isunordered_test): Likewise.
32408 (j0_test): Likewise.
32409 (j1_test): Likewise.
32410 (jn_test): Likewise.
32411 (ldexp_test): Likewise.
32412 (lgamma_test): Likewise.
32413 (lrint_test): Likewise.
32414 (lrint_test_tonearest): Likewise.
32415 (lrint_test_towardzero): Likewise.
32416 (lrint_test_downward): Likewise.
32417 (lrint_test_upward): Likewise.
32418 (llrint_test): Likewise.
32419 (llrint_test_tonearest): Likewise.
32420 (llrint_test_towardzero): Likewise.
32421 (llrint_test_downward): Likewise.
32422 (llrint_test_upward): Likewise.
32423 (log_test): Likewise.
32424 (log10_test): Likewise.
32425 (log1p_test): Likewise.
32426 (log2_test): Likewise.
32427 (logb_test): Likewise.
32428 (logb_test_downward): Likewise.
32429 (lround_test): Likewise.
32430 (llround_test): Likewise.
32431 (modf_test): Likewise.
32432 (nearbyint_test): Likewise.
32433 (nextafter_test): Likewise.
32434 (nexttoward_test): Likewise.
32435 (pow_test): Likewise.
32436 (pow_test_tonearest): Likewise.
32437 (pow_test_towardzero): Likewise.
32438 (pow_test_downward): Likewise.
32439 (pow_test_upward): Likewise.
32440 (remainder_test): Likewise.
32441 (remainder_test_tonearest): Likewise.
32442 (remainder_test_towardzero): Likewise.
32443 (remainder_test_downward): Likewise.
32444 (remainder_test_upward): Likewise.
32445 (remquo_test): Likewise.
32446 (rint_test): Likewise.
32447 (rint_test_tonearest): Likewise.
32448 (rint_test_towardzero): Likewise.
32449 (rint_test_downward): Likewise.
32450 (rint_test_upward): Likewise.
32451 (round_test): Likewise.
32452 (scalb_test): Likewise.
32453 (scalbn_test): Likewise.
32454 (scalbln_test): Likewise.
32455 (signbit_test): Likewise.
32456 (sin_test): Likewise.
32457 (sin_test_tonearest): Likewise.
32458 (sin_test_towardzero): Likewise.
32459 (sin_test_downward): Likewise.
32460 (sin_test_upward): Likewise.
32461 (sincos_test): Likewise.
32462 (sinh_test): Likewise.
32463 (sinh_test_tonearest): Likewise.
32464 (sinh_test_towardzero): Likewise.
32465 (sinh_test_downward): Likewise.
32466 (sinh_test_upward): Likewise.
32467 (sqrt_test): Likewise.
32468 (tan_test): Likewise.
32469 (tan_test_tonearest): Likewise.
32470 (tan_test_towardzero): Likewise.
32471 (tan_test_downward): Likewise.
32472 (tan_test_upward): Likewise.
32473 (tanh_test): Likewise.
32474 (tgamma_test): Likewise.
32475 (trunc_test): Likewise.
32476 (y0_test): Likewise.
32477 (y1_test): Likewise.
32478 (yn_test): Likewise.
32479 (significand_test): Likewise.
32481 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
32484 * libio/genops.c (_IO_no_init): Initialize wide struct info.
32486 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
32489 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
32490 __ppc_mdoio and __ppc_mdoom.
32491 * manual/platform.texi: Document new functions __ppc_yield,
32492 __ppc_mdoio and __ppc_mdoom.
32494 2013-05-22 Carlos O'Donell <carlos@redhat.com>
32496 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
32497 (main): Mention "tls" pseudo-hwcap is legacy.
32498 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
32500 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32502 * math/gen-libm-test.pl (parse_args): Output only string of
32503 arguments as text for test name, not full call or descriptions of
32504 tests for extra outputs.
32505 (generate_testfile): Do not pass function name to parse_args.
32506 Generate this_func variable from START.
32507 * math/libm-test.inc (struct test_f_f_data): Rename test_name
32509 (struct test_ff_f_data): Likewise.
32510 (test_ff_f_data_nexttoward): Likewise.
32511 (struct test_fi_f_data): Likewise.
32512 (struct test_fl_f_data): Likewise.
32513 (struct test_if_f_data): Likewise.
32514 (struct test_fff_f_data): Likewise.
32515 (struct test_c_f_data): Likewise.
32516 (struct test_f_f1_data): Likewise. Remove field extra_name.
32517 (struct test_fF_f1_data): Likewise.
32518 (struct test_ffI_f1_data): Likewise.
32519 (struct test_c_c_data): Rename test_name field to arg_str.
32520 (struct test_cc_c_data): Likewise.
32521 (struct test_f_i_data): Likewise.
32522 (struct test_ff_i_data): Likewise.
32523 (struct test_f_l_data): Likewise.
32524 (struct test_f_L_data): Likewise.
32525 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
32527 (COMMON_TEST_SETUP): New macro.
32528 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
32529 (COMMON_TEST_CLEANUP): Likewise.
32530 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
32531 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
32533 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
32534 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
32536 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
32537 (RUN_TEST_fff_f): Take argument string. Call new setup and
32539 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
32540 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
32542 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
32543 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
32545 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32546 (RUN_TEST_fF_f1): Take argument string. Call new setup and
32548 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32549 (RUN_TEST_fI_f1): Take argument string. Call new setup and
32551 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32552 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
32554 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32555 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
32557 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32558 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
32560 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32561 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
32563 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32564 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
32566 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32567 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
32569 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32570 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
32572 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32573 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
32575 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32576 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
32578 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32579 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
32581 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32582 (RUN_TEST_fFF_11): Take argument string. Call new setup and
32584 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32586 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
32588 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32589 to _sifields.sigfault.
32590 (si_addr_lsb): Define new macro.
32591 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32592 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32593 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32595 2013-05-03 Carlos O'Donell <carlos at redhat.com>
32598 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32600 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32602 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32603 loading the domain.
32605 2013-05-22 Joseph Myers <joseph@codesourcery.com>
32607 * math/gen-libm-test.pl (parse_args): Do not include expected
32608 result in test name.
32609 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32610 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32611 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32612 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32613 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32616 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32618 * benchtests/Makefile: Sort function entries.
32620 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32621 tanh, asinh, acosh, atanh.
32622 * benchtests/acos-inputs: New file.
32623 * benchtests/acosh-inputs: New file.
32624 * benchtests/asin-inputs: New file.
32625 * benchtests/asinh-inputs: New file.
32626 * benchtests/atanh-inputs: New file.
32627 * benchtests/cosh-inputs: New file.
32628 * benchtests/log-inputs: New file.
32629 * benchtests/sinh-inputs: New file.
32630 * benchtests/tanh-inputs: New file.
32632 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
32635 * posix/tst-getaddrinfo4.c: New test.
32636 * posix/Makefile (tests): Add it.
32638 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32641 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32642 when no services were used.
32643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32644 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32646 2013-05-21 Andreas Schwab <schwab@suse.de>
32649 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32650 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32652 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32653 redundant variable declarations and reallocation of buffer when
32654 parsing as IPv6 address. Always set NSS status when called from
32655 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
32656 buffer too small. Correct computation of needed size.
32657 * nss/Makefile (tests): Add test-digits-dots.
32658 * nss/test-digits-dots.c: New test.
32660 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32662 * benchtests/Makefile: Remove instructions for adding
32664 * benchtests/README: New file to explain how to execute and
32665 enhance the benchmark tests.
32667 2013-05-21 Andreas Schwab <schwab@suse.de>
32670 * setjmp/Makefile (tests): Add tst-sigsetjmp.
32671 * setjmp/tst-sigsetjmp.c: New test.
32673 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32675 * sysdeps/x86_64/memset.S (memset): New implementation.
32676 (__bzero): Likewise.
32677 (__memset_tail): New function.
32679 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
32681 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32682 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32683 __memcpy_sse2_unaligned ifunc selection.
32684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32685 Add memcpy-sse2-unaligned.S.
32686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32687 Add: __memcpy_sse2_unaligned.
32689 2013-05-19 Joseph Myers <joseph@codesourcery.com>
32692 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32693 math_force_eval before restoring floating-point envrionment.
32694 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32695 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32697 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32699 (__nearbyintl): Use math_force_eval before restoring
32700 floating-point environment.
32701 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32703 * math/gen-libm-test.pl (special_functions): Remove.
32704 (parse_args): Don't handle TEST_extra. Handle functions with no
32706 * math/libm-test.inc (struct test_sincos_data): Replace with
32707 struct test_fFF_11_data.
32708 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32709 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32710 (sincos_test_data): Change element type to struct
32711 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
32712 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32713 RUN_TEST_LOOP_sincos.
32714 * math/README.libm-test: Don't mention special handling of
32715 individual functions.
32716 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32717 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32718 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32719 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32720 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32723 * math/gen-libm-test.pl (get_variable): Remove function.
32724 (parse_args): Don't show pointer parameters to call in test
32725 names. Use "extra output N" in test names for extra outputs
32726 rather than naming variables.
32728 2013-05-18 Joseph Myers <joseph@codesourcery.com>
32731 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32732 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32733 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32735 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32737 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32740 * math/gen-libm-test.pl (@tests): Remove variable.
32741 ($count): Likewise.
32742 (new_test): Remove function.
32743 (show_exceptions): New function.
32744 (special_functions): Use show_exceptions instead of new_test.
32745 (parse_args): Likewise.
32746 (generate_testfile): Pass only function name in generated call to
32747 print_max_error or print_complex_max_error.
32748 (get_ulps): Do not handle complex tests specially.
32749 (output_test): Rename to ...
32750 (get_all_ulps_for_test): ... this. Return a string rather than
32751 printing to a file. Require ulps to be present.
32752 (output_ulps): Generate arrays rather than #defines.
32753 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32754 (struct ulp_data): New type.
32755 (BUILD_COMPLEX_ULP): Remove macro.
32756 (compare_ulp_data): New function.
32757 (find_ulps): Likewise.
32758 (find_test_ulps): Likewise.
32759 (find_function_ulps): Likewise.
32760 (find_complex_function_ulps): Likewise.
32761 (print_max_error): Determine allowed ulps using
32762 find_function_ulps.
32763 (print_complex_max_error): Determine allowed ulps using
32764 find_complex_function_ulps.
32765 (check_float_internal): Determine max ulps using find_test_ulps.
32766 (check_float): Do not take max_ulp parameter. Update call to
32767 check_float_internal.
32768 (check_complex): Likewise.
32769 (check_int): Do not take max_ulp parameter.
32770 (check_long): Likewise.
32771 (check_bool): Likewise.
32772 (check_longlong): Likewise.
32773 (struct test_f_f_data): Remove max_ulp field.
32774 (struct test_ff_f_data): Likewise.
32775 (struct test_ff_f_data_nexttoward): Likewise.
32776 (struct test_fi_f_data): Likewise.
32777 (struct test_fl_f_data): Likewise.
32778 (struct test_if_f_data): Likewise.
32779 (struct test_fff_f_data): Likewise.
32780 (struct test_c_f_data): Likewise.
32781 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32782 (struct test_fF_f1_data): Likewise.
32783 (struct test_ffI_f1_data): Likewise.
32784 (struct test_c_c_data): Remove max_ulp field.
32785 (struct test_cc_c_data): Likewise.
32786 (struct test_f_i_data): Likewise.
32787 (struct test_ff_i_data): Likewise.
32788 (struct test_f_l_data): Likewise.
32789 (struct test_f_L_data): Likewise.
32790 (struct test_sincos_data): Likewise.
32791 (RUN_TEST_f_f): Do not handle ulps.
32792 (RUN_TEST_LOOP_f_f): Likewise.
32793 (RUN_TEST_2_f): Likewise.
32794 (RUN_TEST_LOOP_2_f): Likewise.
32795 (RUN_TEST_fff_f): Likewise.
32796 (RUN_TEST_LOOP_fff_f): Likewise.
32797 (RUN_TEST_c_f): Likewise.
32798 (RUN_TEST_LOOP_c_f): Likewise.
32799 (RUN_TEST_f_f1): Likewise.
32800 (RUN_TEST_LOOP_f_f1): Likewise.
32801 (RUN_TEST_fF_f1): Likewise.
32802 (RUN_TEST_LOOP_fF_f1): Likewise.
32803 (RUN_TEST_fI_f1): Likewise.
32804 (RUN_TEST_LOOP_fI_f1): Likewise.
32805 (RUN_TEST_ffI_f1): Likewise.
32806 (RUN_TEST_LOOP_ffI_f1): Likewise.
32807 (RUN_TEST_c_c): Likewise.
32808 (RUN_TEST_LOOP_c_c): Likewise.
32809 (RUN_TEST_cc_c): Likewise.
32810 (RUN_TEST_LOOP_cc_c): Likewise.
32811 (RUN_TEST_f_i): Likewise.
32812 (RUN_TEST_LOOP_f_i): Likewise.
32813 (RUN_TEST_f_i_tg): Likewise.
32814 (RUN_TEST_LOOP_f_i_tg): Likewise.
32815 (RUN_TEST_ff_i_tg): Likewise.
32816 (RUN_TEST_LOOP_ff_i_tg): Likewise.
32817 (RUN_TEST_f_b): Likewise.
32818 (RUN_TEST_LOOP_f_b): Likewise.
32819 (RUN_TEST_f_b_tg): Likewise.
32820 (RUN_TEST_LOOP_f_b_tg): Likewise.
32821 (RUN_TEST_f_l): Likewise.
32822 (RUN_TEST_LOOP_f_l): Likewise.
32823 (RUN_TEST_f_L): Likewise.
32824 (RUN_TEST_LOOP_f_L): Likewise.
32825 (RUN_TEST_sincos): Likewise.
32826 (RUN_TEST_LOOP_sincos): Likewise.
32828 2013-05-17 Joseph Myers <joseph@codesourcery.com>
32832 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32833 main case of finite arguments, set rounding mode to FE_TONEAREST
32834 and discard exceptions.
32835 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32837 (remainder_tonearest_test_data): New variable.
32838 (remainder_test_tonearest): New function.
32839 (remainder_towardzero_test_data): New variable.
32840 (remainder_test_towardzero): New function.
32841 (remainder_downward_test_data): New variable.
32842 (remainder_test_downward): New function.
32843 (remainder_upward_test_data): New variable.
32844 (remainder_test_upward): New function.
32845 (main): Call the new test functions.
32847 * math/libm-test.inc (struct test_f_f1_data): Remove field
32849 (struct test_fF_f1_data): Likewise.
32850 (struct test_ffI_f1_data): Likewise.
32851 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
32852 based on value of EXTRA_EXPECTED.
32853 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32854 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
32855 EXTRA_VAR based on value of EXTRA_EXPECTED.
32856 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32857 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
32858 EXTRA_VAR based on value of EXTRA_EXPECTED.
32859 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32860 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
32861 EXTRA_VAR based on value of EXTRA_EXPECTED.
32862 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32863 * math/gen-libm-test.pl (parse_args): Don't output initializers
32864 for extra output values.
32866 * math/libm-test.inc (check_int): Expect result to be exactly
32867 equal to expected value and do not handle ulps.
32868 (check_long): Likewise.
32869 (check_longlong): Likewise.
32871 * math/libm-test.inc (ceil_test_data): Test for "inexact"
32873 (cimag_test_data): Likewise.
32874 (conj_test_data): Likewise.
32875 (copysign_test_data): Likewise.
32876 (cproj_test_data): Likewise.
32877 (creal_test_data): Likewise.
32878 (fabs_test_data): Likewise.
32879 (fdim_test_data): Likewise.
32880 (finite_test_data): Likewise.
32881 (floor_test_data): Likewise.
32882 (fmax_test_data): Likewise.
32883 (fmin_test_data): Likewise.
32884 (fmod_test_data): Likewise.
32885 (fpclassify_test_data): Likewise.
32886 (frexp_test_data): Likewise.
32887 (ilogb_test_data): Likewise.
32888 (isfinite_test_data): Likewise.
32889 (isgreater_test_data): Likewise.
32890 (isgreaterequal_test_data): Likewise.
32891 (isinf_test_data): Likewise.
32892 (isless_test_data): Likewise.
32893 (islessequal_test_data): Likewise.
32894 (islessgreater_test_data): Likewise.
32895 (isnan_test_data): Likewise.
32896 (isnormal_test_data): Likewise.
32897 (issignaling_test_data): Likewise.
32898 (isunordered_test_data): Likewise.
32899 (ldexp_test_data): Likewise.
32900 (lrint_test_data): Likewise.
32901 (lrint_test_data) [TEST_FLOAT]: Disable one test.
32902 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32903 (lrint_tonearest_test_data): Test for "inexact" exceptions.
32904 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32905 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32906 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32908 (lrint_towardzero_test_data): Test for "inexact" exceptions.
32909 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32910 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32911 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32913 (lrint_downward_test_data): Test for "inexact" exceptions.
32914 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32915 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32916 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32918 (lrint_upward_test_data): Test for "inexact" exceptions.
32919 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32921 (llrint_test_data): Test for "inexact" exceptions.
32922 (llrint_test_data) [TEST_FLOAT]: Disable one test.
32923 (llrint_tonearest_test_data): Test for "inexact" exceptions.
32924 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32925 (llrint_towardzero_test_data): Test for "inexact" exceptions.
32926 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32927 (llrint_downward_test_data): Test for "inexact" exceptions.
32928 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32929 (llrint_upward_test_data): Test for "inexact" exceptions.
32930 (logb_test_data): Likewise.
32931 (logb_downward_test_data): Likewise.
32932 (nextafter_test_data): Likewise.
32933 (nexttoward_test_data): Likewise.
32934 (remainder_test_data): Likewise.
32935 (remquo_test_data): Likewise.
32936 (scalbn_test_data): Likewise.
32937 (scalbln_test_data): Likewise.
32938 (signbit_test_data): Likewise.
32939 (sqrt_test_data): Likewise.
32940 (significand_test_data): Likewise.
32942 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32945 * benchtests/bench-modf.c (struct args): Mark arg0 as
32947 * scripts/bench.pl: Mark members of struct args as volatile.
32949 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32952 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32953 negative infinity on POWER6 or lower.
32954 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32956 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
32959 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32960 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32961 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32962 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32963 (_FP_SETQNAN): New macro.
32964 (_FP_SETQNAN_SEMIRAW): Likewise.
32965 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32966 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32967 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32968 (FP_EXTEND): Use _FP_FRAC_SNANP.
32969 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32970 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32972 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32974 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32977 2013-05-16 Joseph Myers <joseph@codesourcery.com>
32979 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32980 with DIVIDE_BY_ZERO_EXCEPTION.
32981 (gamma_test_data): Likewise.
32982 (lgamma_test_data): Likewise.
32983 (log_test_data): Likewise.
32984 (log10_test_data): Likewise.
32985 (log2_test_data): Likewise.
32986 (tgamma_test_data): Likewise.
32988 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32989 (acos_test_tonearest): Likewise.
32990 (acos_test_towardzero): Likewise.
32991 (acos_test_downward): Likewise.
32992 (acos_test_upward): Likewise.
32993 (acosh_test): Likewise.
32994 (asin_test): Likewise.
32995 (asin_test_tonearest): Likewise.
32996 (asin_test_towardzero): Likewise.
32997 (asin_test_downward): Likewise.
32998 (asin_test_upward): Likewise.
32999 (asinh_test): Likewise.
33000 (atan_test): Likewise.
33001 (atanh_test): Likewise.
33002 (atan2_test): Likewise.
33003 (cabs_test): Likewise.
33004 (cacos_test): Likewise.
33005 (cacosh_test): Likewise.
33006 (casin_test): Likewise.
33007 (casinh_test): Likewise.
33008 (catan_test): Likewise.
33009 (catanh_test): Likewise.
33010 (cbrt_test): Likewise.
33011 (ccos_test): Likewise.
33012 (ccosh_test): Likewise.
33013 (cexp_test): Likewise.
33014 (clog_test): Likewise.
33015 (clog10_test): Likewise.
33016 (cos_test): Likewise.
33017 (cos_test_tonearest): Likewise.
33018 (cos_test_towardzero): Likewise.
33019 (cos_test_downward): Likewise.
33020 (cos_test_upward): Likewise.
33021 (cosh_test): Likewise.
33022 (cosh_test_tonearest): Likewise.
33023 (cosh_test_towardzero): Likewise.
33024 (cosh_test_downward): Likewise.
33025 (cosh_test_upward): Likewise.
33026 (cpow_test): Likewise.
33027 (csin_test): Likewise.
33028 (csinh_test): Likewise.
33029 (csqrt_test): Likewise.
33030 (ctan_test): Likewise.
33031 (ctan_test_tonearest): Likewise.
33032 (ctan_test_towardzero): Likewise.
33033 (ctan_test_downward): Likewise.
33034 (ctan_test_upward): Likewise.
33035 (ctanh_test): Likewise.
33036 (ctanh_test_tonearest): Likewise.
33037 (ctanh_test_towardzero): Likewise.
33038 (ctanh_test_downward): Likewise.
33039 (ctanh_test_upward): Likewise.
33040 (erf_test): Likewise.
33041 (erfc_test): Likewise.
33042 (exp_test): Likewise.
33043 (exp_test_tonearest): Likewise.
33044 (exp_test_towardzero): Likewise.
33045 (exp_test_downward): Likewise.
33046 (exp_test_upward): Likewise.
33047 (exp10_test): Likewise.
33048 (exp2_test): Likewise.
33049 (expm1_test): Likewise.
33050 (fmod_test): Likewise.
33051 (gamma_test): Likewise.
33052 (hypot_test): Likewise.
33053 (j0_test): Likewise.
33054 (j1_test): Likewise.
33055 (jn_test): Likewise.
33056 (lgamma_test): Likewise.
33057 (log_test): Likewise.
33058 (log10_test): Likewise.
33059 (log1p_test): Likewise.
33060 (log2_test): Likewise.
33061 (logb_test_downward): Likewise.
33062 (pow_test): Likewise.
33063 (pow_test_tonearest): Likewise.
33064 (pow_test_towardzero): Likewise.
33065 (pow_test_downward): Likewise.
33066 (pow_test_upward): Likewise.
33067 (remainder_test): Likewise.
33068 (remquo_test): Likewise.
33069 (sin_test): Likewise.
33070 (sin_test_tonearest): Likewise.
33071 (sin_test_towardzero): Likewise.
33072 (sin_test_downward): Likewise.
33073 (sin_test_upward): Likewise.
33074 (sincos_test): Likewise.
33075 (sinh_test): Likewise.
33076 (sinh_test_tonearest): Likewise.
33077 (sinh_test_towardzero): Likewise.
33078 (sinh_test_downward): Likewise.
33079 (sinh_test_upward): Likewise.
33080 (sqrt_test): Likewise.
33081 (tan_test): Likewise.
33082 (tan_test_tonearest): Likewise.
33083 (tan_test_towardzero): Likewise.
33084 (tan_test_downward): Likewise.
33085 (tan_test_upward): Likewise.
33086 (tanh_test): Likewise.
33087 (tgamma_test): Likewise.
33088 (y0_test): Likewise.
33089 (y1_test): Likewise.
33090 (yn_test): Likewise.
33092 * math/gen-libm-test.pl (adjust_arg): Remove function.
33093 (special_function): Remove argument $in_func. Only handle
33094 generating output for tables of tests, not inside functions.
33095 (parse_args): Likewise.
33096 (generate_testfile): Remove variable $in_func. Update call to
33098 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
33099 (MINUS_ZERO_INIT): Rename macro to minus_zero.
33100 (PLUS_INFTY_INIT): Rename macro to plus_infty.
33101 (MINUS_INFTY_INIT): Rename macro to minus_infty.
33102 (QNAN_VALUE_INIT): Rename macro to qnan_value.
33103 (MAX_VALUE_INIT): Rename macro to max_value.
33104 (MIN_VALUE_INIT): Rename macro to min_value.
33105 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
33106 (plus_zero): Remove variable.
33107 (minus_zero): Likewise.
33108 (plus_infty): Likewise.
33109 (minus_infty): Likewise.
33110 (qnan_value): Likewise.
33111 (max_value): Likewise.
33112 (min_value): Likewise.
33113 (min_subnorm_value): Likewise.
33115 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33117 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
33118 uint64_t or uint32_t usage.
33119 * crypt/sha256-block.c: Likewise.
33120 * crypt/sha256-crypt.c: Likewise.
33121 * crypt/sha256.c: Likewise.
33122 * crypt/sha512-block.c: Likewise.
33123 * crypt/sha512-crypt.c: Likewise.
33124 * crypt/sha512.c: Likewise.
33125 * debug/backtrace-tst.c: Likewise.
33126 * debug/pcprofiledump.c: Likewise.
33127 * elf/cache.c: Likewise.
33128 * elf/dl-cache.c: Likewise.
33129 * elf/dl-misc.c: Likewise.
33130 * elf/dl-profile.c: Likewise.
33131 * elf/dl-support.c: Likewise.
33132 * elf/ldconfig.c: Likewise.
33133 * elf/sprof.c: Likewise.
33134 * iconv/dummy-repertoire.c: Likewise.
33135 * iconv/iconv_charmap.c: Likewise.
33136 * iconv/skeleton.c: Likewise.
33137 * iconvdata/8bit-generic.c: Likewise.
33138 * iconvdata/cp737.h: Likewise.
33139 * iconvdata/cp775.h: Likewise.
33140 * iconvdata/ibm1008.h: Likewise.
33141 * iconvdata/ibm1025.h: Likewise.
33142 * iconvdata/ibm1046.h: Likewise.
33143 * iconvdata/ibm1097.h: Likewise.
33144 * iconvdata/ibm1112.h: Likewise.
33145 * iconvdata/ibm1122.h: Likewise.
33146 * iconvdata/ibm1123.h: Likewise.
33147 * iconvdata/ibm1124.h: Likewise.
33148 * iconvdata/ibm1129.h: Likewise.
33149 * iconvdata/ibm1130.h: Likewise.
33150 * iconvdata/ibm1132.h: Likewise.
33151 * iconvdata/ibm1133.h: Likewise.
33152 * iconvdata/ibm1137.h: Likewise.
33153 * iconvdata/ibm1140.h: Likewise.
33154 * iconvdata/ibm1141.h: Likewise.
33155 * iconvdata/ibm1142.h: Likewise.
33156 * iconvdata/ibm1143.h: Likewise.
33157 * iconvdata/ibm1144.h: Likewise.
33158 * iconvdata/ibm1145.h: Likewise.
33159 * iconvdata/ibm1146.h: Likewise.
33160 * iconvdata/ibm1147.h: Likewise.
33161 * iconvdata/ibm1148.h: Likewise.
33162 * iconvdata/ibm1149.h: Likewise.
33163 * iconvdata/ibm1153.h: Likewise.
33164 * iconvdata/ibm1154.h: Likewise.
33165 * iconvdata/ibm1155.h: Likewise.
33166 * iconvdata/ibm1156.h: Likewise.
33167 * iconvdata/ibm1157.h: Likewise.
33168 * iconvdata/ibm1158.h: Likewise.
33169 * iconvdata/ibm1160.h: Likewise.
33170 * iconvdata/ibm1161.h: Likewise.
33171 * iconvdata/ibm1162.h: Likewise.
33172 * iconvdata/ibm1163.h: Likewise.
33173 * iconvdata/ibm1164.h: Likewise.
33174 * iconvdata/ibm1166.h: Likewise.
33175 * iconvdata/ibm1167.h: Likewise.
33176 * iconvdata/ibm12712.h: Likewise.
33177 * iconvdata/ibm1390.h: Likewise.
33178 * iconvdata/ibm1399.h: Likewise.
33179 * iconvdata/ibm16804.h: Likewise.
33180 * iconvdata/ibm4517.h: Likewise.
33181 * iconvdata/ibm4899.h: Likewise.
33182 * iconvdata/ibm4909.h: Likewise.
33183 * iconvdata/ibm4971.h: Likewise.
33184 * iconvdata/ibm5347.h: Likewise.
33185 * iconvdata/ibm803.h: Likewise.
33186 * iconvdata/ibm856.h: Likewise.
33187 * iconvdata/ibm901.h: Likewise.
33188 * iconvdata/ibm902.h: Likewise.
33189 * iconvdata/ibm9030.h: Likewise.
33190 * iconvdata/ibm9066.h: Likewise.
33191 * iconvdata/ibm921.h: Likewise.
33192 * iconvdata/ibm922.h: Likewise.
33193 * iconvdata/ibm9448.h: Likewise.
33194 * iconvdata/isiri-3342.h: Likewise.
33195 * iconvdata/jis0201.h: Likewise.
33196 * include/link.h: Likewise.
33197 * include/netdb.h: Likewise.
33198 * inet/check_native.c: Likewise.
33199 * inet/check_pf.c: Likewise.
33200 * inet/getipv4sourcefilter.c: Likewise.
33201 * inet/getnameinfo.c: Likewise.
33202 * inet/getsourcefilter.c: Likewise.
33203 * inet/htonl.c: Likewise.
33204 * inet/setipv4sourcefilter.c: Likewise.
33205 * inet/setsourcefilter.c: Likewise.
33206 * inet/test-inet6_opt.c: Likewise.
33207 * inet/tst-network.c: Likewise.
33208 * locale/C-collate.c: Likewise.
33209 * locale/C-ctype.c: Likewise.
33210 * locale/C-time.c: Likewise.
33211 * locale/C-translit.h: Likewise.
33212 * locale/loadarchive.c: Likewise.
33213 * locale/programs/3level.h: Likewise.
33214 * locale/programs/charmap.c: Likewise.
33215 * locale/programs/charmap.h: Likewise.
33216 * locale/programs/ld-address.c: Likewise.
33217 * locale/programs/ld-collate.c: Likewise.
33218 * locale/programs/ld-ctype.c: Likewise.
33219 * locale/programs/ld-identification.c: Likewise.
33220 * locale/programs/ld-measurement.c: Likewise.
33221 * locale/programs/ld-messages.c: Likewise.
33222 * locale/programs/ld-monetary.c: Likewise.
33223 * locale/programs/ld-name.c: Likewise.
33224 * locale/programs/ld-numeric.c: Likewise.
33225 * locale/programs/ld-paper.c: Likewise.
33226 * locale/programs/ld-telephone.c: Likewise.
33227 * locale/programs/ld-time.c: Likewise.
33228 * locale/programs/linereader.c: Likewise.
33229 * locale/programs/locale.c: Likewise.
33230 * locale/programs/locarchive.c: Likewise.
33231 * locale/programs/locfile.h: Likewise.
33232 * locale/programs/repertoire.c: Likewise.
33233 * locale/programs/simple-hash.c: Likewise.
33234 * locale/programs/simple-hash.h: Likewise.
33235 * malloc/memusage.c: Likewise.
33236 * malloc/memusagestat.c: Likewise.
33237 * nis/nis_defaults.c: Likewise.
33238 * nis/nis_hash.c: Likewise.
33239 * nis/nis_print.c: Likewise.
33240 * nis/nis_xdr.c: Likewise.
33241 * nscd/connections.c: Likewise.
33242 * nscd/hstcache.c: Likewise.
33243 * nscd/nscd_gethst_r.c: Likewise.
33244 * nscd/nscd_getserv_r.c: Likewise.
33245 * nscd/nscd_helper.c: Likewise.
33246 * nscd/servicescache.c: Likewise.
33247 * nss/makedb.c: Likewise.
33248 * nss/nss_db/db-XXX.c: Likewise.
33249 * nss/nss_db/db-initgroups.c: Likewise.
33250 * nss/nss_db/db-netgrp.c: Likewise.
33251 * nss/nss_files/files-network.c: Likewise.
33252 * nss/nss_files/files-parse.c: Likewise.
33253 * posix/bug-regex5.c: Likewise.
33254 * posix/fnmatch_loop.c: Likewise.
33255 * posix/regcomp.c: Likewise.
33256 * posix/regexec.c: Likewise.
33257 * posix/tst-rfc3484-2.c: Likewise.
33258 * posix/tst-rfc3484-3.c: Likewise.
33259 * posix/tst-rfc3484.c: Likewise.
33260 * resolv/nss_dns/dns-canon.c: Likewise.
33261 * resolv/nss_dns/dns-network.c: Likewise.
33262 * resolv/res_init.c: Likewise.
33263 * resolv/res_mkquery.c: Likewise.
33264 * resolv/tst-aton.c: Likewise.
33265 * stdlib/cxa_atexit.c: Likewise.
33266 * stdlib/cxa_finalize.c: Likewise.
33267 * stdlib/gen-fpioconst.c: Likewise.
33268 * stdlib/strtol_l.c: Likewise.
33269 * string/tst-endian.c: Likewise.
33270 * sunrpc/auth_des.c: Likewise.
33271 * sunrpc/clnt_udp.c: Likewise.
33272 * sunrpc/rtime.c: Likewise.
33273 * sunrpc/svcauth_des.c: Likewise.
33274 * sunrpc/xdr.c: Likewise.
33275 * sunrpc/xdr_intXX_t.c: Likewise.
33276 * sunrpc/xdr_rec.c: Likewise.
33277 * sysdeps/generic/ldconfig.h: Likewise.
33278 * sysdeps/generic/ldsodefs.h: Likewise.
33279 * sysdeps/generic/memusage.h: Likewise.
33280 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33281 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
33282 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
33283 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33284 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33285 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33286 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33287 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33288 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33289 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33290 * sysdeps/posix/getaddrinfo.c: Likewise.
33291 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33292 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33293 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33294 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33295 * sysdeps/powerpc/test-gettimebase.c: Likewise.
33296 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33297 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
33298 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
33299 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33300 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
33301 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33302 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33303 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
33304 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
33305 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
33306 * sysdeps/x86_64/dl-tls.h: Likewise.
33307 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
33308 * time/alt_digit.c: Likewise.
33309 * time/era.c: Likewise.
33310 * wcsmbs/tst-c16c32-1.c: Likewise.
33312 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33314 * math/libm-test.inc (struct test_sincos_data): New type.
33315 (RUN_TEST_LOOP_sincos): New macro.
33316 (sincos_test_data): New variable.
33317 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
33319 2013-05-16 Richard Henderson <rth@redhat.com>
33321 * math/atest-exp2.c (LIMB64): New macro.
33322 (CONSTSZ): New macro.
33323 (mp_exp1, mp_exp_m1, mp_log2): New variables.
33325 (print_mpn_fp): ... to function scope.
33326 (read_mpn_hex): Remove.
33327 (get_log2): Remove.
33328 (exp2_mpn): Use mp_log2.
33329 (main): Use mp_exp1.
33331 2013-05-16 Joseph Myers <joseph@codesourcery.com>
33333 * math/libm-test.inc: Remove comment about not testing "inexact"
33335 (INEXACT_EXCEPTION): New macro.
33336 (NO_INEXACT_EXCEPTION): Likewise.
33337 (INVALID_EXCEPTION_OK): Update value.
33338 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33339 (OVERFLOW_EXCEPTION_OK): Likewise.
33340 (UNDERFLOW_EXCEPTION_OK): Likewise.
33341 (IGNORE_ZERO_INF_SIGN): Likewise.
33342 (ERRNO_UNCHANGED): Likewise.
33343 (ERRNO_EDOM): Likewise.
33344 (ERRNO_ERANGE): Likewise.
33345 (test_exceptions): Handle testing "inexact" exceptions.
33346 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
33347 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
33348 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
33349 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
33351 (rint_towardzero_test_data): Likewise.
33352 (rint_downward_test_data): Likewise.
33353 (rint_upward_test_data): Likewise.
33355 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
33356 with OVERFLOW_EXCEPTION.
33357 (exp10_test_data): Likewise.
33358 (exp2_test_data): Likewise.
33359 (expm1_test_data): Likewise.
33360 (lgamma_test_data): Likewise.
33361 (pow_test_data): Likewise.
33362 (tgamma_test_data): Likewise.
33363 (yn_test_data): Remove duplicate test of overflow.
33365 * math/libm-test.inc (struct test_cc_c_data): New type.
33366 (RUN_TEST_LOOP_cc_c): New macro.
33367 (cpow_test_data): New variable.
33368 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
33370 * math/libm-test.inc (struct test_f_L_data): New type.
33371 (RUN_TEST_LOOP_f_L): New macro.
33372 (llrint_test_data): New variable.
33373 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
33374 (llrint_tonearest_test_data): New variable.
33375 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
33376 (llrint_towardzero_test_data): New variable.
33377 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
33378 (llrint_downward_test_data): New variable.
33379 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
33380 (llrint_upward_test_data): New variable.
33381 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
33382 (llround_test_data): New variable.
33383 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
33385 2013-05-13 Peter Collingbourne <pcc@google.com>
33387 * math/atest-exp2.c (get_log2): Remove const attribute.
33389 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33391 * math/libm-test.inc (struct test_f_l_data): New type.
33392 (RUN_TEST_LOOP_f_l): New macro.
33393 (lrint_test_data): New variable.
33394 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
33395 (lrint_tonearest_test_data): New variable.
33396 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
33397 (lrint_towardzero_test_data): New variable.
33398 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
33399 (lrint_downward_test_data): New variable.
33400 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
33401 (lrint_upward_test_data): New variable.
33402 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
33403 (lround_test_data): New variable.
33404 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
33406 2013-05-15 Peter Collingbourne <pcc@google.com>
33408 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
33409 (EXTRACT_WORDS64) Use where appropriate.
33410 (INSERT_WORDS64) Likewise.
33412 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
33413 constraints with x constraints.
33414 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
33416 * malloc/obstack.c (_obstack_compat): Add initializer.
33418 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
33420 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
33421 si_trapno and add si_addr_lsb to _sifields.sigfault.
33422 (si_trapno): Remove macro.
33423 (si_addr_lsb): Define new macro.
33424 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
33426 2013-05-15 Joseph Myers <joseph@codesourcery.com>
33428 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
33429 instead of TEST_f_l.
33430 (llrint_test_tonearest): Likewise.
33431 (llrint_test_towardzero): Likewise.
33432 (llrint_test_downward): Likewise.
33433 (llrint_test_upward): Likewise.
33434 (llround_test): Likewise.
33436 * math/libm-test.inc (struct test_f_i_data): Add comment.
33437 (RUN_TEST_LOOP_f_b): New macro.
33438 (RUN_TEST_LOOP_f_b_tg): Likewise.
33439 (finite_test_data): New variable.
33440 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
33441 (isfinite_test_data): New variable.
33442 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33443 (isinf_test_data): New variable.
33444 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33445 (isnan_test_data): New variable.
33446 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33447 (isnormal_test_data): New variable.
33448 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33449 (issignaling_test_data): New variable.
33450 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33451 (signbit_test_data): New variable.
33452 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
33454 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
33455 with INVALID_EXCEPTION.
33456 (acosh_test_data): Likewise.
33457 (asin_test_data): Likewise.
33458 (atanh_test_data): Likewise.
33459 (fmod_test_data): Likewise.
33460 (log_test_data): Likewise.
33461 (log10_test_data): Likewise.
33462 (log2_test_data): Likewise.
33463 (pow_test_data): Likewise.
33464 (sqrt_test_data): Likewise.
33465 (y0_test_data): Likewise.
33466 (y1_test_data): Likewise.
33467 (yn_test_data): Likewise.
33469 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
33472 * math/libm-test.inc (struct test_ff_i_data): New type.
33473 (RUN_TEST_LOOP_ff_i_tg): New macro.
33474 (isgreater_test_data): New variable.
33475 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33476 (isgreaterequal_test_data): New variable.
33477 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33478 (isless_test_data): New variable.
33479 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33480 (islessequal_test_data): New variable.
33481 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33482 (islessgreater_test_data): New variable.
33483 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33484 (isunordered_test_data): New variable.
33485 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
33487 2013-05-14 David S. Miller <davem@davemloft.net>
33489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33491 2013-05-14 Joseph Myers <joseph@codesourcery.com>
33493 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
33495 * math/libm-test.inc (struct test_fF_f1_data): Change type of
33497 (struct test_f_i_data): Change type of max_ulp to int.
33499 * math/libm-test.inc (test_ffI_f1_data): New type.
33500 (RUN_TEST_LOOP_ffI_f1): New macro.
33501 (remquo_test_data): New variable.
33502 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
33504 * setjmp/tst-setjmp-fp.c: New file.
33505 * setjmp/Makefile (tests): Add tst-setjmp-fp.
33506 (link-libm): New variable.
33507 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
33509 * math/libm-test.inc (struct test_f_i_data): New type.
33510 (RUN_TEST_LOOP_f_i): New macro.
33511 (RUN_TEST_LOOP_f_i_tg): Likewise.
33512 (fpclassify_test_data): New variable.
33513 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
33514 (ilogb_test_data): New variable.
33515 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
33517 * math/libm-test.inc (scalbln_test): Correct function name in END
33520 * math/libm-test.inc (struct test_f_f1_data): Add comment.
33521 (RUN_TEST_LOOP_fI_f1): New macro.
33522 (frexp_test_data): New variable.
33523 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
33525 * math/libm-test.inc (struct test_fF_f1_data): New type.
33526 (RUN_TEST_LOOP_fF_f1): New macro.
33527 (modf_test_data): New variable.
33528 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33530 * math/libm-test.inc (struct test_f_f1_data): New type.
33531 (RUN_TEST_LOOP_f_f1): New macro.
33532 (gamma_test_data): New variable.
33533 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33534 (lgamma_test_data): New variable.
33535 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33537 2013-05-13 Carlos O'Donell <carlos@redhat.com>
33539 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
33540 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
33541 (main): Comment "tls" pseudo-hwcap.
33543 2013-05-13 Joseph Myers <joseph@codesourcery.com>
33545 * math/libm-test.inc (struct test_fl_f_data): New type.
33546 (RUN_TEST_LOOP_fl_f): New variable.
33547 (scalbln_test_data): New variable.
33548 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33550 * math/libm-test.inc (struct test_fi_f_data): New type.
33551 (RUN_TEST_LOOP_fi_f): New macro.
33552 (ldexp_test_data): New variable.
33553 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33554 (scalbn_test_data): New variable.
33555 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33557 * math/libm-test.inc (struct test_c_f_data): New type.
33558 (RUN_TEST_LOOP_c_f): New macro.
33559 (cabs_test_data): New variable.
33560 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33561 (carg_test_data): New variable.
33562 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33563 (cimag_test_data): New variable.
33564 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33565 (creal_test_data): New variable.
33566 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33568 * math/libm-test.inc (struct test_if_f_data): New type.
33569 (RUN_TEST_LOOP_if_f): New macro.
33570 (jn_test_data): New variable.
33571 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33572 (yn_test_data): New variable.
33573 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33575 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33577 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33579 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33580 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33582 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33584 * benchtests/Makefile (CPPFLAGS-nonlib): Add
33585 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33586 (bench-deps): Add bench-timing.h.
33587 * benchtests-bench-skeleton.c: Include bench-timing.h.
33588 (main): Use TIMING_* macros instead of clock_gettime.
33589 * benchtests/bench-timing.h: New file.
33592 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33593 Renamed from _LIB_VERSION.
33594 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33596 2013-05-12 Joseph Myers <joseph@codesourcery.com>
33598 * math/libm-test.inc (struct test_fff_f_data): New type.
33599 (RUN_TEST_LOOP_fff_f): New macro.
33600 (fma_test_data): New variable.
33601 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33602 (fma_towardzero_test_data): New variable.
33603 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33604 (fma_downward_test_data): New variable.
33605 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33606 (fma_upward_test_data): New variable.
33607 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33609 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33610 (struct test_c_c_data): New type.
33611 (RUN_TEST_LOOP_c_c): New macro.
33612 (cacos_test_data): New variable.
33613 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33614 (cacosh_test_data): New variable.
33615 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33616 (casin_test_data): New variable.
33617 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33618 (casinh_test_data): New variable.
33619 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33620 (catan_test_data): New variable.
33621 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33622 (catanh_test_data): New variable.
33623 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33624 (ccos_test_data): New variable.
33625 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33626 (ccosh_test_data): New variable.
33627 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33628 (cexp_test_data): New variable.
33629 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33630 (clog_test_data): New variable.
33631 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33632 (clog10_test_data): New variable.
33633 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33634 (conj_test_data): New variable.
33635 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33636 (cproj_test_data): New variable.
33637 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33638 (csin_test_data): New variable.
33639 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33640 (csinh_test_data): New variable.
33641 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33642 (csqrt_test_data): New variable.
33643 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33644 (ctan_test_data): New variable.
33645 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33646 (ctan_tonearest_test_data): New variable.
33647 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33648 (ctan_towardzero_test_data): New variable.
33649 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33650 (ctan_downward_test_data): New variable.
33651 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33652 (ctan_upward_test_data): New variable.
33653 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33654 (ctanh_test_data): New variable.
33655 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33656 (ctanh_tonearest_test_data): New variable.
33657 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33658 (ctanh_towardzero_test_data): New variable.
33659 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33660 (ctanh_downward_test_data): New variable.
33661 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33662 (ctanh_upward_test_data): New variable.
33663 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33664 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33667 * math/libm-test.inc (struct test_ff_f_data): New type.
33668 (struct test_ff_f_data_nexttoward): Likewise.
33669 (RUN_TEST_LOOP_2_f): New macro.
33670 (RUN_TEST_LOOP_ff_f): Likewise.
33671 (atan2_test_data): New variable.
33672 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33673 (copysign_test_data): New variable.
33674 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33675 (fdim_test_data): New variable.
33676 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33677 (fmax_test_data): New variable.
33678 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33679 (fmin_test_data): New variable.
33680 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33681 (fmod_test_data): New variable.
33682 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33683 (hypot_test_data): New variable.
33684 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33685 (nextafter_test_data): New variable.
33686 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33687 (nexttoward_test_data): New variable.
33688 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33689 (pow_test_data): New variable.
33690 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33691 (pow_tonearest_test_data): New variable.
33692 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33693 (pow_towardzero_test_data): New variable.
33694 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33695 (pow_downward_test_data): New variable.
33696 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33697 (pow_upward_test_data): New variable.
33698 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33699 (remainder_test_data): New variable.
33700 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33701 (scalb_test_data): New variable.
33702 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33703 * sysdeps/i386/fpu/libm-test-ulps: Update.
33705 2013-05-11 Joseph Myers <joseph@codesourcery.com>
33707 * math/libm-test.inc (fma_test): Use max_value instead of local
33709 (nextafter_test): Likewise.
33711 * math/libm-test.inc (acos_towardzero_test_data): New variable.
33712 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33713 (acos_downward_test_data): New variable.
33714 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33715 (acos_upward_test_data): New variable.
33716 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33717 (acosh_test_data): New variable.
33718 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33719 (asin_test_data): New variable.
33720 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33721 (asin_tonearest_test_data): New variable.
33722 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33723 (asin_towardzero_test_data): New variable.
33724 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33725 (asin_downward_test_data): New variable.
33726 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33727 (asin_upward_test_data): New variable.
33728 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33729 (asinh_test_data): New variable.
33730 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33731 (atan_test_data): New variable.
33732 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33733 (atanh_test_data): New variable.
33734 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33735 (cbrt_test_data): New variable.
33736 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33737 (ceil_test_data): New variable.
33738 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33739 (cos_test_data): New variable.
33740 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33741 (cos_tonearest_test_data): New variable.
33742 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33743 (cos_towardzero_test_data): New variable.
33744 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33745 (cos_downward_test_data): New variable.
33746 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33747 (cos_upward_test_data): New variable.
33748 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33749 (cosh_test_data): New variable.
33750 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33751 (cosh_tonearest_test_data): New variable.
33752 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33753 (cosh_towardzero_test_data): New variable.
33754 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33755 (cosh_downward_test_data): New variable.
33756 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33757 (cosh_upward_test_data): New variable.
33758 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33759 (erf_test_data): New variable.
33760 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33761 (erfc_test_data): New variable.
33762 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33763 (exp_test_data): New variable.
33764 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33765 (exp_tonearest_test_data): New variable.
33766 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33767 (exp_towardzero_test_data): New variable.
33768 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33769 (exp_downward_test_data): New variable.
33770 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33771 (exp_upward_test_data): New variable.
33772 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33773 (exp10_test_data): New variable.
33774 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33775 (exp2_test_data): New variable.
33776 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33777 (expm1_test_data): New variable.
33778 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33779 (fabs_test_data): New variable.
33780 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33781 (floor_test_data): New variable.
33782 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33783 (j0_test_data): New variable.
33784 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33785 (j1_test_data): New variable.
33786 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33787 (log_test_data): New variable.
33788 (log_test): Run tests with RUN_TEST_LOOP_f_f.
33789 (log10_test_data): New variable.
33790 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33791 (log1p_test_data): New variable.
33792 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33793 (log2_test_data): New variable.
33794 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33795 (logb_test_data): New variable.
33796 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33797 (logb_downward_test_data): New variable.
33798 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33799 (nearbyint_test_data): New variable.
33800 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33801 (rint_test_data): New variable.
33802 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33803 (rint_tonearest_test_data): New variable.
33804 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33805 (rint_towardzero_test_data): New variable.
33806 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33807 (rint_downward_test_data): New variable.
33808 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33809 (rint_upward_test_data): New variable.
33810 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33811 (round_test_data): New variable.
33812 (round_test): Run tests with RUN_TEST_LOOP_f_f.
33813 (sin_test_data): New variable.
33814 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33815 (sin_tonearest_test_data): New variable.
33816 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33817 (sin_towardzero_test_data): New variable.
33818 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33819 (sin_downward_test_data): New variable.
33820 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33821 (sin_upward_test_data): New variable.
33822 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33823 (sinh_test_data): New variable.
33824 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33825 (sinh_tonearest_test_data): New variable.
33826 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33827 (sinh_towardzero_test_data): New variable.
33828 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33829 (sinh_downward_test_data): New variable.
33830 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33831 (sinh_upward_test_data): New variable.
33832 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33833 (sqrt_test_data): New variable.
33834 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33835 (tan_test_data): New variable.
33836 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33837 (tan_tonearest_test_data): New variable.
33838 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33839 (tan_towardzero_test_data): New variable.
33840 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33841 (tan_downward_test_data): New variable.
33842 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33843 (tan_upward_test_data): New variable.
33844 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33845 (tanh_test_data): New variable.
33846 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33847 (tgamma_test_data): New variable.
33848 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33849 (trunc_test_data): New variable.
33850 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33851 (y0_test_data): New variable.
33852 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33853 (y1_test_data): New variable.
33854 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33855 (significand_test_data): New variable.
33856 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33858 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
33861 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33863 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
33865 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33867 2013-05-10 Andreas Jaeger <aj@suse.de>
33870 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33871 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33873 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33875 * math/gen-libm-test.pl (adjust_arg): New function.
33876 (special_functions): Handle generating output in both functions
33878 (parse_args): Likewise.
33879 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
33880 $in_func argument to parse_args.
33881 * math/libm-test.inc (struct test_f_f_data): New type.
33882 (IF_ROUND_INIT_): New macro.
33883 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33884 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33885 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33886 (IF_ROUND_INIT_FE_UPWARD): Likewise.
33887 (ROUND_RESTORE_): Likewise.
33888 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33889 (ROUND_RESTORE_FE_TONEAREST): Likewise.
33890 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33891 (ROUND_RESTORE_FE_UPWARD): Likewise.
33892 (RUN_TEST_LOOP_f_f): New macro.
33893 (acos_test_data): New variable.
33894 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33895 (acos_tonearest_test_data): New variable.
33896 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33898 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33900 * benchtests/bench-skeleton.c (startup): Fix coding style.
33902 2013-05-10 Joseph Myers <joseph@codesourcery.com>
33905 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33906 negative infinity argument.
33907 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33908 negative infinity argument.
33909 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33910 negative infinity argument.
33911 * math/libm-test.inc (tgamma_test): Expect errno to be set for
33914 2013-05-10 Florian Weimer <fweimer@redhat.com>
33916 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33917 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33918 * iconv/iconv_prog.c (main): Likewise.
33919 * locale/programs/charmap-dir.c (charmap_readdir)
33920 (fopen_uncompressed): Likewise.
33921 * locale/programs/locfile.c (siblings_uncached)
33922 (write_locale_data): Use lstat64 instead of lstat.
33923 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33926 2013-05-10 Andreas Jaeger <aj@suse.de>
33929 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33931 Include <locale.h>.
33933 2013-05-09 Carlos O'Donell <carlos@redhat.com>
33935 * elf/dl-close.c (_dl_close_worker): Add comments.
33937 2013-05-09 Joseph Myers <joseph@codesourcery.com>
33940 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33942 (__ieee754_rem_pio2l): Update comments.
33945 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33947 (__ieee754_rem_pio2l): Update comments.
33949 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33950 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33952 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33955 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33956 (M_PI_34_LOG10El): Likewise.
33957 (M_PI2_LOG10El): Likewise.
33958 (M_PI4_LOG10El): Likewise.
33959 (M_PI_LOG10El): Likewise.
33961 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33965 2013-05-08 Joseph Myers <joseph@codesourcery.com>
33967 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33968 (MINUS_ZERO_INIT): Likewise.
33969 (PLUS_INFTY_INIT): Likewise.
33970 (MINUS_INFTY_INIT): Likewise.
33971 (QNAN_VALUE_INIT): Likewise.
33972 (MAX_VALUE_INIT): Likewise.
33973 (MIN_VALUE_INIT): Likewise.
33974 (MIN_SUBNORM_VALUE_INIT): Likewise.
33975 (plus_zero): Initialize with PLUS_ZERO_INIT.
33976 (minus_zero): Initialize with MINUS_ZERO_INIT.
33977 (plus_infty): Initialize with PLUS_INFTY_INIT.
33978 (minus_infty): Initialize with MINUS_INFTY_INIT.
33979 (qnan_value): Initialize with QNAN_VALUE_INIT.
33980 (max_value): Initialize with MAX_VALUE_INIT.
33981 (min_value): Initialize with MIN_VALUE_INIT.
33982 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33984 * math/libm-test.inc (RUN_TEST_if_f): New macro.
33985 (jn_test): Use TEST_if_f instead of TEST_ff_f.
33986 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33987 (yn_test): Use TEST_if_f instead of TEST_ff_f.
33989 * math/libm-test.inc (RUN_TEST_f_f): New macro.
33990 (RUN_TEST_2_f): Likewise.
33991 (RUN_TEST_ff_f): Likewise.
33992 (RUN_TEST_fi_f): Likewise.
33993 (RUN_TEST_fl_f): Likewise.
33994 (RUN_TEST_fff_f): Likewise.
33995 (RUN_TEST_c_f): Likewise.
33996 (RUN_TEST_f_f1): Likewise.
33997 (RUN_TEST_fF_f1): Likewise.
33998 (RUN_TEST_fI_f1): Likewise.
33999 (RUN_TEST_ffI_f1): Likewise.
34000 (RUN_TEST_c_c): Likewise.
34001 (RUN_TEST_cc_c): Likewise.
34002 (RUN_TEST_f_i): Likewise.
34003 (RUN_TEST_f_i_tg): Likewise.
34004 (RUN_TEST_ff_i_tg): Likewise.
34005 (RUN_TEST_f_b): Likewise.
34006 (RUN_TEST_f_b_tg): Likewise.
34007 (RUN_TEST_f_l): Likewise.
34008 (RUN_TEST_f_L): Likewise.
34009 (RUN_TEST_sincos): Likewise.
34010 * math/gen-libm-test.pl (new_test): Take new argument to indicate
34011 whether to show exceptions. Do not include ");\n" in return
34013 (special_functions): Output call to RUN_TEST_sincos instead of
34014 check_float calls. Update calls to new_test.
34015 (parse_args): Output call to single RUN_TEST_* macro instead of
34016 check_* calls and other assignments. Update calls to new_test.
34022 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
34023 input to result for tgamma overflow.
34024 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
34025 (gamma_coeff): New variable.
34026 (NCOEFF): New macro.
34027 (gamma_positive): New function.
34028 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
34029 underflow here. Use gamma_positive instead of exp (lgamma) for
34031 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
34032 (gamma_coeff): New variable.
34033 (NCOEFF): New macro.
34034 (gammaf_positive): New function.
34035 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
34036 underflow here. Use gamma_positive instead of exp (lgamma) for
34038 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
34039 (gamma_coeff): New variable.
34040 (NCOEFF): New macro.
34041 (gammal_positive): New function.
34042 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
34043 underflow here. Use gamma_positive instead of exp (lgamma) for
34045 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
34046 (gamma_coeff): New variable.
34047 (NCOEFF): New macro.
34048 (gammal_positive): New function.
34049 (__ieee754_gammal_r): Handle positive infinity, overflow and
34050 underflow here. Handle NaN the same as positive infinity. Remove
34051 check x < 0xffffffff for negative integers. Use gamma_positive
34052 instead of exp (lgamma) for other arguments.
34053 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
34054 (gamma_coeff): New variable.
34055 (NCOEFF): New macro.
34056 (gammal_positive): New function.
34057 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
34058 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
34059 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
34060 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
34061 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
34062 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
34063 * sysdeps/generic/math_private.h (__gamma_productf): New
34065 (__gamma_product): Likewise.
34066 (__gamma_productl): Likewise.
34067 * math/Makefile (libm-calls): Add gamma_product.
34068 * math/libm-test.inc (tgamma_test): Add more tests.
34069 * sysdeps/i386/fpu/libm-test-ulps: Update.
34070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34072 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
34074 * benchtests/bench-skeleton.c (main): Preheat CPU.
34076 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
34078 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
34080 2013-05-07 Roland McGrath <roland@hack.frob.com>
34082 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
34083 and _dl_skip_args_internal.
34085 2013-05-07 Carlos O'Donell <carlos@redhat.com>
34087 * manual/message.texi (Message Translation): Talk about users.
34088 Message to key mapping impacts design.
34090 2013-05-06 Roland McGrath <roland@hack.frob.com>
34092 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
34094 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
34096 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
34097 * sysdeps/wordsize-64/glob64.c: ... here.
34099 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
34100 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
34103 * debug/getlogin_r_chk.c: Moved to ...
34104 * login/getlogin_r_chk.c: ... here.
34105 * debug/Makefile (routines): Move getlogin_r_chk to ...
34106 * login/Makefile (routines): ... here.
34107 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
34108 * login/Versions (libc: GLIBC_2.4): ... here.
34110 * io/poll.c (__poll): Renamed from poll.
34111 Add libc_hidden_def.
34112 (poll): Define as weak alias.
34114 * debug/ptsname_r_chk.c: Moved to ...
34115 * login/ptsname_r_chk.c: ... here.
34116 * debug/Makefile (routines): Move ptsname_r_chk to ...
34117 * login/Makefile (routines): ... here.
34118 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
34119 * login/Versions (libc: GLIBC_2.4): ... here.
34121 * posix/getlogin.c: Moved to ...
34122 * login/getlogin.c: ... here.
34123 * posix/getlogin_r.c: Moved to ...
34124 * login/getlogin_r.c: ... here.
34125 * posix/getlogin_r.c: Moved to ...
34126 * login/getlogin_r.c: ... here.
34127 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
34128 * login/Makefile (routines): ... here.
34129 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
34130 * login/Versions (libc: GLIBC_2.0): ... here.
34132 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
34133 (setrlimit): Define as weak alias.
34135 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
34136 Call __ names for open, ftruncate, and close.
34137 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
34138 (truncate): Define as weak alias.
34140 2013-05-06 Joseph Myers <joseph@codesourcery.com>
34142 * math/gen-libm-test.pl (parse_args): Initialize x before each
34143 test of frexp, modf and remquo.
34145 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
34146 test signgam value.
34148 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34152 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
34154 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34156 2013-05-06 Roland McGrath <roland@hack.frob.com>
34158 * elf/dl-writev.h: New file.
34159 * elf/dl-misc.c: Include it.
34160 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
34161 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
34163 2013-05-04 Joseph Myers <joseph@codesourcery.com>
34165 * math/libm-test.inc (noXFails): Remove variable.
34166 (noXPasses): Likewise.
34167 (BUILD_COMPLEX_INT): Remove macro.
34168 (print_screen): Remove xfail argument.
34169 (print_screen_max_error): Likewise.
34170 (update_stats): Likewise.
34171 (print_max_error): Likewise. Update calls to other affected
34173 (print_complex_max_error): Likewise.
34174 (test_single_exception): Update calls to print_screen.
34175 (test_single_errno): Likewise.
34176 (check_float_internal): Remove xfail argument. Update calls to
34177 other affected functions.
34178 (check_float): Likewise.
34179 (check_complex): Likewise.
34180 (check_int): Likewise.
34181 (check_long): Likewise.
34182 (check_bool): Likewise.
34183 (check_longlong): Likewise.
34184 (main): Don't print noXFails and noXPasses.
34185 * math/gen-libm-test.pl (top level): Don't mention expected
34186 failure handling in comment.
34187 (new_test): Don't handle expected failures.
34188 (parse_args): Don't mention expected failure handling in comment.
34189 (generate_testfile): Don't handle expected failures.
34190 (parse_ulps): Likewise.
34191 (print_ulps_file): Likewise.
34192 (get_failure): Remove function.
34193 (output_test): Don't handle expected failures.
34194 * make/README.libm-test: Don't mention expected failure handling.
34196 * math/libm-test.inc (plus_zero): Make const. Add initializer.
34197 (minus_zero): Likewise.
34198 (plus_infty): Likewise.
34199 (minus_infty): Likewise.
34200 (qnan_value): Likewise.
34201 (max_value): Likewise.
34202 (min_value): Likewise.
34203 (min_subnorm_value): Likewise.
34204 (initialize): Do not initialize those variables dynamically.
34206 2013-05-03 Roland McGrath <roland@hack.frob.com>
34208 * io/open.c (__open_2): Moved to ...
34209 * io/open_2.c: ... this new file.
34210 * io/open64.c (__open64_2): Moved to ...
34211 * io/open64_2.c: ... this new file.
34212 * io/openat.c (__openat_2): Moved to ...
34213 * io/openat_2.c: ... this new file.
34214 * io/openat64.c (__openat64_2): Moved to ...
34215 * io/openat64_2.c: ... this new file.
34216 * io/Makefile (routines): Add them.
34217 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
34218 * sysdeps/unix/sysv/linux/open_2.c: File removed.
34219 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
34220 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
34221 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
34222 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
34223 (__openat64): Add hidden_ver.
34224 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
34225 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
34227 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
34228 Separately conditionalize setting of GLRO(dl_sysinfo) so
34229 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
34230 as well, but the actual setting is only under [NEED_DL_SYSINFO].
34232 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34234 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
34235 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
34237 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
34238 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34239 (_libc_vdso_platform_setup): Add __vdso_time initialization.
34240 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
34241 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
34243 2013-05-03 Joseph Myers <joseph@codesourcery.com>
34245 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
34246 test signgam value.
34248 * math/libm-test.inc (hypot_test): Do not use
34249 IGNORE_ZERO_INF_SIGN.
34251 2013-05-03 Andreas Jaeger <aj@suse.de>
34253 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
34255 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
34256 (PF_MAX): Adjust for VSOCK change.
34258 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34262 2013-05-02 Carlos O'Donell <carlos@redhat.com>
34265 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
34266 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
34267 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
34269 2013-05-02 David S. Miller <davem@davemloft.net>
34271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34273 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
34275 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
34277 2013-05-01 Roland McGrath <roland@hack.frob.com>
34279 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
34281 2013-05-01 Richard Smith <richard@metafoo.co.uk>
34284 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
34285 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34286 Use __attribute__ ((__gnu_inline__)).
34287 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
34288 Don't use __attribute__ ((__gnu_inline__)).
34290 2013-05-01 Joseph Myers <joseph@codesourcery.com>
34293 * math/s_catan.c (__catan): Handle small real or imaginary part of
34294 input specially to avoid spurious underflow.
34295 * math/s_catanf.c (__catanf): Likewise.
34296 * math/s_catanh.c (__catanh): Likewise.
34297 * math/s_catanhf.c (__catanhf): Likewise.
34298 * math/s_catanhl.c (__catanhl): Likewise.
34299 * math/s_catanl.c (__catanl): Likewise.
34300 * math/libm-test.inc (catan_test): Add more tests.
34301 (catanh_test): Likewise.
34302 * sysdeps/i386/fpu/libm-test-ulps: Update.
34303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34305 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34309 2013-04-30 Joseph Myers <joseph@codesourcery.com>
34312 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
34313 accurately for denominator in atan2.
34314 * math/s_catanf.c (__catanf): Likewise.
34315 * math/s_catanh.c (__catanh): Likewise.
34316 * math/s_catanhf.c (__catanhf): Likewise.
34317 * math/s_catanhl.c (__catanhl): Likewise.
34318 * math/s_catanl.c (__catanl): Likewise.
34319 * math/libm-test.inc (catan_test): Add more tests.
34320 (catanh_test): Likewise.
34321 * sysdeps/i386/fpu/libm-test-ulps: Update.
34322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34324 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34326 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
34328 * benchtests/Makefile (bench): Remove slow benchmarks.
34329 * benchtests/atan-inputs: Add slow benchmark inputs.
34330 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
34331 (BENCH_FUNC): Accept variant offset.
34333 * benchtests/bench-skeleton.c (main): Run benchmark for each
34335 * benchtests/cos-inputs: Add slow benchmark inputs.
34336 * benchtests/exp-inputs: Likewise.
34337 * benchtests/pow-inputs: Likewise.
34338 * benchtests/sin-inputs: Likewise.
34339 * benchtests/slowatan-inputs: Remove.
34340 * benchtests/slowatan.c: Remove.
34341 * benchtests/slowcos-inputs: Remove.
34342 * benchtests/slowcos.c: Remove.
34343 * benchtests/slowexp-inputs: Remove.
34344 * benchtests/slowexp.c: Remove.
34345 * benchtests/slowpow-inputs: Remove.
34346 * benchtests/slowpow.c: Remove.
34347 * benchtests/slowsin-inputs: Remove.
34348 * benchtests/slowsin.c: Remove.
34349 * benchtests/slowtan-inputs: Remove.
34350 * benchtests/slowtan.c: Remove.
34351 * benchtests/tan-inputs: Add slow benchmark inputs.
34352 * scripts/bench.pl: Parse comments and directives.
34354 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
34356 ($(objpfx)bench-%.c): Remove *-ITER.
34357 * benchtests/bench-modf.c: Remove definition of ITER.
34358 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
34359 (main): Loop for DURATION seconds instead of fixed number of
34361 * scripts/bench.pl: Don't expect iterations in parameters.
34363 2013-04-29 Roland McGrath <roland@hack.frob.com>
34365 * io/fchdir.c (__fchdir): Renamed from fchdir.
34366 (fchdir): Define as weak alias.
34368 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34370 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
34371 (ERRNO_EDOM): Likewise.
34372 (ERRNO_ERANGE): Likewise.
34373 (noErrnoTests): New variable.
34374 (init_max_error): Set errno to 0.
34375 (test_single_errno): New function.
34376 (test_errno): Likewise.
34377 (check_float_internal): Call test_errno. Set errno to 0.
34378 (check_complex): Refer to errno tests in comment.
34379 (check_int): Call test_errno. Set errno to 0.
34380 (check_long): Likewise.
34381 (check_bool): Likewise.
34382 (check_longlong): Likewise.
34383 (cos_test): Use ERRNO_* flags for errno tests instead of
34385 (expm1_test): Likewise.
34386 (fmod_test): Likewise.
34387 (ilogb_test): Likewise.
34388 (lgamma_test): Likewise.
34389 (pow_test): Likewise.
34390 (remainder_test): Likewise.
34391 (sin_test): Likewise.
34392 (tan_test): Likewise.
34393 (yn_test): Likewise.
34394 (initialize): Set errno to 0.
34395 (main): Print number of errno tests.
34396 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
34398 2013-04-29 Andreas Jaeger <aj@suse.de>
34401 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
34405 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
34406 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
34410 * stdlib/random.c (__initstate): Return NULL if
34414 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
34415 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
34418 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34422 2013-04-29 Joseph Myers <joseph@codesourcery.com>
34424 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
34425 of individual tests.
34426 (casin_test): Likewise.
34427 (casinh_test): Likewise.
34429 2013-04-27 Joseph Myers <joseph@codesourcery.com>
34432 * math/s_catan.c (__catan): Handle arguments with large real or
34433 imaginary part separately without squaring.
34434 * math/s_catanf.c (__catanf): Likewise.
34435 * math/s_catanh.c (__catanh): Likewise.
34436 * math/s_catanhf.c (__catanhf): Likewise.
34437 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34439 (__catanhl): Handle arguments with large real or imaginary part
34440 separately without squaring.
34441 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34443 (__catanl): Handle arguments with large real or imaginary part
34444 separately without squaring.
34445 * math/libm-test.inc (catan_test): Add more tests.
34446 (catanh_test): Likewise.
34447 * sysdeps/i386/fpu/libm-test-ulps: Update.
34448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34450 2013-04-27 Andreas Jaeger <aj@suse.de>
34453 * stdlib/stdlib.h: Update guards for qecvt.
34454 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
34457 2013-04-27 Allan McRae <allan@archlinux.org>
34459 * sysdeps/i386/fpu/libm-test-ulps: Update.
34461 2013-04-26 Joseph Myers <joseph@codesourcery.com>
34464 * math/s_catan.c: Include <float.h>.
34465 (__catan): Ensure underflow exception occurs for underflowed
34467 * math/s_catanf.c: Include <float.h>.
34468 (__catanf): Ensure underflow exception occurs for underflowed
34470 * math/s_catanh.c: Include <float.h>.
34471 (__catanh): Ensure underflow exception occurs for underflowed
34473 * math/s_catanhf.c: Include <float.h>.
34474 (__catanhf): Ensure underflow exception occurs for underflowed
34476 * math/s_catanhl.c: Include <float.h>.
34477 (__catanhl): Ensure underflow exception occurs for underflowed
34479 * math/s_catanl.c: Include <float.h>.
34480 (__catanl): Ensure underflow exception occurs for underflowed
34482 * math/libm-test.inc (catan_test): Add more tests.
34483 (catanh_test): Likewise.
34486 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
34487 underflowed result.
34488 * math/s_ccoshf.c (__ccoshf): Likewise.
34489 * math/s_ccoshl.c (__ccoshl): Likewise.
34490 * math/s_csin.c (__csin): Likewise.
34491 * math/s_csinf.c (__csinf): Likewise.
34492 * math/s_csinh.c (__csinh): Likewise.
34493 * math/s_csinhf.c (__csinhf): Likewise.
34494 * math/s_csinhl.c (__csinhl): Likewise.
34495 * math/s_csinl.c (__csinl): Likewise.
34496 * math/libm-test.inc (ccos_test): Add more tests.
34497 (ccosh_test): Likewise.
34498 (csin_test): Likewise.
34499 (csinh_test): Likewise.
34501 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34503 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
34504 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
34505 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
34506 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
34507 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
34508 powerpc/power5+/fpu folders.
34509 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
34512 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
34514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34516 2013-04-25 Joseph Myers <joseph@codesourcery.com>
34518 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
34519 additions to variable.
34520 [$(config-machine) = x86_64] (modules-names): Likewise.
34521 ($(objpfx)tst-audit3): Remove dependency.
34522 ($(objpfx)tst-audit3.out): Likewise.
34523 ($(objpfx)tst-audit4): Likewise.
34524 ($(objpfx)tst-audit4.out): Likewise.
34525 ($(objpfx)tst-audit5): Likewise.
34526 ($(objpfx)tst-audit5.out): Likewise.
34527 ($(objpfx)tst-audit6): Likewise.
34528 ($(objpfx)tst-audit6.out): Likewise.
34529 ($(objpfx)tst-audit7): Likewise.
34530 ($(objpfx)tst-audit7.out): Likewise.
34531 (tst-audit3-ENV): Remove variable.
34532 (tst-audit4-ENV): Likewise.
34533 (tst-audit5-ENV): Likewise.
34534 (tst-audit6-ENV): Likewise.
34535 (tst-audit7-ENV): Likewise.
34536 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
34537 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
34538 addition to variable.
34539 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
34540 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
34541 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
34542 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
34543 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
34544 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34545 tst-audit3, tst-audit4 and tst-audit5.
34546 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34547 tst-audit6 and tst-audit7.
34548 [$(subdir) = elf] (modules-names): Add audit modules for those
34550 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34551 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34552 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34553 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34554 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34555 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34556 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34557 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34558 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34559 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34560 [$(subdir) = elf] (tst-audit3-ENV): New variable.
34561 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34562 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34563 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34564 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34565 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34567 [$(subdir) = elf && $(config-cflags-avx) = yes]
34568 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34569 [$(subdir) = elf && $(config-cflags-avx) = yes]
34570 (CFLAGS-tst-auditmod4a.c): Likewise.
34571 [$(subdir) = elf && $(config-cflags-avx) = yes]
34572 (CFLAGS-tst-auditmod4b.c): Likewise.
34573 [$(subdir) = elf && $(config-cflags-avx) = yes]
34574 (CFLAGS-tst-auditmod6b.c): Likewise.
34575 [$(subdir) = elf && $(config-cflags-avx) = yes]
34576 (CFLAGS-tst-auditmod6c.c): Likewise.
34577 [$(subdir) = elf && $(config-cflags-avx) = yes]
34578 (CFLAGS-tst-auditmod7b.c): Likewise.
34579 * elf/tst-audit3.c: Move to ...
34580 * sysdeps/x86_64/tst-audit3.c: ... here.
34581 * elf/tst-audit4.c: Move to ...
34582 * sysdeps/x86_64/tst-audit4.c: ... here.
34583 * elf/tst-audit5.c: Move to ...
34584 * sysdeps/x86_64/tst-audit5.c: ... here.
34585 * elf/tst-audit6.c: Move to ...
34586 * sysdeps/x86_64/tst-audit6.c: ... here.
34587 * elf/tst-audit7.c: Move to ...
34588 * sysdeps/x86_64/tst-audit7.c: ... here.
34589 * elf/tst-auditmod3a.c: Move to ...
34590 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34591 * elf/tst-auditmod3b.c: Move to ...
34592 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34593 * elf/tst-auditmod4a.c: Move to ...
34594 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34595 * elf/tst-auditmod4b.c: Move to ...
34596 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34597 * elf/tst-auditmod5a.c: Move to ...
34598 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34599 * elf/tst-auditmod5b.c: Move to ...
34600 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34601 * elf/tst-auditmod6a.c: Move to ...
34602 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34603 * elf/tst-auditmod6b.c: Move to ...
34604 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34605 * elf/tst-auditmod6c.c: Move to ...
34606 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34607 * elf/tst-auditmod7a.c: Move to ...
34608 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34609 * elf/tst-auditmod7b.c: Move to ...
34610 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34612 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
34615 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34616 define unconditionally.
34617 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34618 define unconditionally.
34619 (INT8_C, INT16_C, etc.): Likewise.
34621 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
34623 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34624 __ehdr_start with hidden visibility.
34626 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34628 2013-04-24 Carlos O'Donell <carlos@redhat.com>
34630 * math/libm-test.inc (cos_test): Use accurate hex constants.
34631 (sincost_test): Likewise.
34633 2013-04-24 Joseph Myers <joseph@codesourcery.com>
34635 * math/libm-test.inc (catan_test): Add more tests.
34636 (catanh_test): Likewise.
34638 * math/s_catanf.c (__catanf): Use suffixed floating-point
34640 * math/s_catanhf.c (__catanhf): Likewise.
34641 * math/s_catanhl.c (__catanhl): Likewise.
34642 * math/s_catanl.c (__catanl): Likewise.
34645 * math/s_catan.c (__catan): Calculate imaginary part of result
34646 with log1p not log unless computing log of number close to 0.
34647 * math/s_catanf.c (__catanf): Likewise.
34648 * math/s_catanl.c (__catanl): Likewise.
34649 * math/s_catanh.c (__catanh): Calculate real part of result with
34650 log1p not log unless computing log of number close to 0.
34651 * math/s_catanhf.c (__catanhf): Likewise.
34652 * math/s_catanhl.c (__catanhl): Likewise.
34653 * math/libm-test.inc (catan_test): Add more tests.
34654 (catanh_test): Likewise.
34655 * sysdeps/i386/fpu/libm-test-ulps: Update.
34656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34658 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
34660 * benchtests/Makefile: Mention files in which fast and slow
34661 paths of math functions are implemented.
34663 2013-04-23 Roland McGrath <roland@hack.frob.com>
34665 * sysdeps/posix/timespec_get.c: New file.
34667 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34669 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34671 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34673 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34674 powerpc/power5/fpu folders.
34675 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34676 * benchtests/Makefile: Add modf testcase.
34677 * benchtests/bench-modf.c: New file: Benchmark test for mo
34679 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34682 * time/Makefile (tests): Add tst-strptime-whitespace.
34683 * time/strptime_l.c (get_number): Use ISSPACE.
34684 (__strptime_internal): Likewise.
34685 * time/tst-strptime-whitespace.c: New test case.
34687 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
34689 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34691 (_nss_files_init): Set it here.
34693 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
34695 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34696 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34699 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
34701 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34703 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
34705 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34708 2013-04-21 David S. Miller <davem@davemloft.net>
34710 * po/ru.po: Update Russion translation from translation project.
34712 2013-04-17 Adam Conrad <adconrad@0c3.net>
34714 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34717 2013-04-17 Carlos O'Donell <carlos@redhat.com>
34719 * configure.in: Remove i386 configure warning. Remove i386 case.
34720 * configure: Regenerate.
34721 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34722 Add example to error message.
34723 * sysdeps/i386/configure: Regenerate.
34725 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34727 * benchtests/Makefile (bench): Add cos, tan, slowcos and
34729 * benchtests/cos-inputs: New file.
34730 * benchtests/slowcos-inputs: New file.
34731 * benchtests/slowcos.c: New file.
34732 * benchtests/slowtan-inputs: New file.
34733 * benchtests/slowtan.c: New file.
34734 * benchtests/tan-inputs: New file.
34736 2013-04-16 Roland McGrath <roland@hack.frob.com>
34738 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34741 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34743 * benchtests/Makefile: Include cppflags-iterator.mk to add
34744 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34746 * Makefile.in (bench-clean): New target.
34747 * benchtests/Makefile (bench-clean): Likewise.
34749 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
34751 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34753 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
34755 * stdio-common/tstdiomisc.c: Fix coding-style violation.
34757 2013-04-15 Andreas Schwab <schwab@suse.de>
34759 * nscd/grpcache.c (cache_addgr): Properly check for short write.
34760 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34761 * nscd/pwdcache.c (cache_addpw): Likewise.
34762 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
34765 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34767 * benchtests/Makefile (bench): Write all output to
34768 bench-out.tmp together.
34770 2013-04-15 Andreas Schwab <schwab@suse.de>
34772 * nscd/nscd.c (main): Don't fork again after closing files.
34774 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34776 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34778 * benchtests/Rules (bench-deps): Collect dependencies into a
34779 single variable. Add Makefile to dependencies.
34780 ($(objpfx)bench-%.c): Depend on bench-deps.
34782 2013-04-12 Roland McGrath <roland@hack.frob.com>
34783 Xavier Roche <roche+kml2@exalead.com>
34786 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34787 just that it's a file descriptor.
34788 * manual/llio.texi (Synchronizing AIO Operations): Update description
34789 for EBADF error from aio_fsync.
34791 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34793 * Rules (bench): Move target definition...
34794 * benchtests/Makefile: ... here.
34796 2013-04-11 Carlos O'Donell <carlos@redhat.com>
34798 * math/libm-test.inc (cos_test): Fix PI/2 test.
34799 (sincos_test): Likewise.
34800 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34801 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34803 2013-04-11 Andreas Schwab <schwab@suse.de>
34806 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34807 accept exponent character only when digits were seen.
34808 * stdio-common/Makefile (tests): Add bug26.
34809 * stdio-common/bug26.c: New file.
34812 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34815 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34817 * Makeconfig (rtld-prefix): Define built linker prefix.
34818 * Rules (run-bench): Use it.
34819 * math/Makefile (run-regen-ulps): Likewise.
34821 * Rules (bench): Remove eval.
34823 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34824 Roland McGrath <roland@hack.frob.com>
34825 Ondrej Bilka <neleai@seznam.cz>
34828 * time/getdate.c: Include ctype.h and alloca.h.
34829 (__getdate_r): Trim leading and trailing spaces of input.
34830 * time/tst-getdate.c (tests): Add tests with leading and
34833 2013-04-08 Roland McGrath <roland@hack.frob.com>
34836 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34837 when computing value.
34839 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34841 * math/README.libm-test (How can I generate "libm-test-ulps"?):
34842 Use testrun.sh to run libm tests.
34845 * elf/dl-open.c (dl_open_worker): memset all of seen array.
34847 2013-04-06 Marko Myllynen <myllynen@redhat.com>
34850 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34852 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34854 * Makefile.in (regen-ulps): New target.
34855 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34856 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34857 [ifneq (no,$(PERL)] (regen-ulps): New target.
34858 [ifeq (no,$(PERL)] (regen-ulps): New target.
34859 * math/libm-test.inc (ulps_file_name): Define.
34860 (output_dir): New variable.
34861 (options): Add "output-dir" option.
34862 (parse_opt): Handle 'o' case.
34863 (main): If output_dir is non-NULL use it as a prefix
34865 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34867 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34869 [BZ #10060, #10062]
34870 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34871 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34872 fail configure if __sync_val_compare_and_swap is not inlined.
34873 * sysdeps/i386/configure: Regenerate.
34874 * configure.in: Build for i686 when configured for i386.
34875 * configure: Regenerate.
34876 * README: Remove i386 reference.
34878 2013-04-06 Carlos O'Donell <carlos@redhat.com>
34880 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34881 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34883 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
34885 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34886 (lmsnanval): New variables.
34887 (F): Add conversion tests.
34888 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34889 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34891 * stdio-common/tstdiomisc.c (F): Properly collect individual
34894 [BZ #14686, #15336]
34895 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34896 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34897 Instead, use input NaN values or generate a qNaN by arithmetic
34898 operation. Also fix bugs to comply with the standard.
34899 * math/libm-test.inc (remainder_test): Add more tests.
34901 [BZ #15335, #15342]
34902 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34903 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34904 input NaN values or generate a qNaN by arithmetic operation.
34906 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34909 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34912 2013-04-03 Joseph Myers <joseph@codesourcery.com>
34915 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34916 underflowed result.
34917 * math/s_cexpf.c (__cexpf): Likewise.
34918 * math/s_cexpl.c (__cexpl): Likewise.
34919 * math/libm-test.inc (cexp_test): Add more tests.
34921 2013-04-03 Andreas Schwab <schwab@suse.de>
34924 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34925 order arrays from heap if bigger than alloca cutoff.
34927 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
34929 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34930 (SNAN_TESTS_double): Refer to GCC PR56831.
34931 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34934 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34936 * Rules (bench): Move bench.out after the run is complete.
34938 * Rules (bench): Echo currently running benchmark.
34940 * benchtests/Makefile (bench): Add atan and slowatan.
34941 * benchtests/atan-inputs: New file.
34942 * benchtests/slowatan-inputs: New file.
34943 * benchtests/slowatan.c: New file.
34945 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34946 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34950 * sysdeps/unix/sysv/linux/kernel-features.h
34951 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34952 __ASSUME_XFS_RESTRICTED_CHOWN.
34953 * sysdeps/unix/sysv/linux/pathconf.c
34954 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34955 Save and restore errno.
34957 2013-04-02 Joseph Myers <joseph@codesourcery.com>
34960 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34961 arguments using __kernel_casinh.
34962 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34963 arguments using __kernel_casinhf.
34964 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34965 arguments using __kernel_casinhl.
34966 * math/libm-test.inc (cacosh_test): Add more tests.
34967 * sysdeps/i386/fpu/libm-test-ulps: Update.
34968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34970 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34972 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34975 * bench/Makefile (bench): Add sin and slowsin.
34976 * benchtests/sin-inputs: New file.
34977 * benchtests/slowsin-inputs: New file.
34978 * benchtests/slowsin.c: New file.
34980 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34981 (bench): Add slowexp and slowpow.
34982 (exp-ITER): Increase iterations.
34983 (pow-ITER): Likewise.
34984 * benchtests/exp-inputs: Change input.
34985 * benchtests/pow-inputs: Likewise.
34986 * benchtests/slowexp-inputs: New file.
34987 * benchtests/slowexp.c: New file.
34988 * benchtests/slowpow-inputs: New file.
34989 * benchtests/slowpow.c: New file.
34991 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34993 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34995 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34996 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34997 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34998 * benchtests/Makefile: Add rint benchtest.
34999 * benchtests/rint-inputs: Input for rint benchtest.
35001 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
35003 * Versions.def (libm): Add GLIBC_2.18.
35004 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
35005 hidden libm prototypes.
35006 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
35007 * math/Makefile (libm-calls): Add s_issignaling.
35008 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
35009 __issignalingf, __issignalingl. Adjust all libm.abilist files.
35010 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
35012 * math/math.h [__USE_GNU] (issignaling): New macro.
35013 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
35014 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
35015 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
35016 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
35017 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
35018 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
35019 * manual/arith.texi (issignaling): New section.
35020 * manual/libm-err-tab.pl (@all_functions): Update comment.
35021 * math/gen-libm-test.pl (parse_args): Apply special handling for
35023 * math/libm-test.inc (print_float, issignaling_test): New
35025 (check_float_internal): Add issignaling checks.
35026 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
35027 default definition.
35028 * sysdeps/powerpc/math-tests.h: New file.
35029 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
35031 * math/test-snan.c (TEST_FUNC): Likewise.
35033 2013-03-30 David S. Miller <davem@davemloft.net>
35035 * po/de.po: Update from translation team.
35037 2013-03-30 Joseph Myers <joseph@codesourcery.com>
35040 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35041 imaginary part less than 1.0 and real part less than 0.5
35043 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35044 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35045 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
35046 (cacos_test): Add more tests.
35047 (casin_test): Likewise.
35048 (casinh_test): Likewise.
35049 * sysdeps/i386/fpu/libm-test-ulps: Update.
35050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35052 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35054 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
35055 ONE with its value.
35057 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
35058 (__pow_mp): Replace ONE and MONE with their values.
35059 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35060 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
35061 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35062 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
35063 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35064 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35066 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
35068 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
35069 (__pow_mp): Replace ZERO and MZERO with their values.
35070 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35071 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35072 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35073 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35074 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35075 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
35078 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
35080 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
35082 2013-03-28 Roland McGrath <roland@hack.frob.com>
35084 * include/stdlib.h [!SHARED] (__call_tls_dtors):
35085 Declare with __attribute__ ((weak)).
35086 * stdlib/exit.c (__libc_atexit) [!SHARED]:
35087 Call __call_tls_dtors only if it's not NULL.
35089 2013-03-28 Roland McGrath <roland@hack.frob.com>
35091 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
35092 didn't do it already, then set _dl_phdr and _dl_phnum based on the
35093 magic __ehdr_start linker symbol if it's defined.
35094 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
35095 them up here if it was already done.
35097 * elf/dl-support.c (_dl_phdr): Make pointer to const.
35098 (_dl_aux_init): Use const in cast when setting it.
35099 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
35100 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
35101 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
35103 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
35105 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
35106 * csu/libc-tls.c: Nor here.
35107 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
35109 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
35110 (__libc_message): Never call vsyslog.
35112 2013-03-28 Alan Modra <amodra@gmail.com>
35114 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
35116 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
35119 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35122 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
35124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35126 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35129 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35130 Don't add gid passed as argument.
35132 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
35134 2013-03-27 Joseph Myers <joseph@codesourcery.com>
35137 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35138 imaginary part between 1.0 and 1.5 and real part less than 0.5
35140 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35141 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35142 * math/libm-test.inc (cacos_test): Add more tests.
35143 (casin_test): Likewise.
35144 (casinh_test): Likewise.
35145 * sysdeps/i386/fpu/libm-test-ulps: Update.
35146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35148 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35150 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
35153 (denorm): Likewise.
35154 (__dbl_mp): Likewise.
35155 (add_magnitudes): Likewise.
35156 (sub_magnitudes): Likewise.
35164 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
35166 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
35167 (__dubcos): Likewise.
35168 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
35169 (__ieee754_acos): Likewise.
35170 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35171 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
35172 (__exp1): Likewise.
35173 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
35174 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35176 (my_log2): Likewise.
35177 (checkint): Likewise.
35178 * sysdeps/ieee754/dbl-64/e_remainder.c
35179 (__ieee754_remainder): Likewise.
35180 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
35181 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
35182 (bsloww): Likewise.
35183 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35185 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35186 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
35187 MANTISSA_STORE_T to store computations on mantissa. Use
35188 macros for rounding and division.
35189 (denorm): Likewise.
35190 (__dbl_mp): Likewise.
35191 (add_magnitudes): Likewise.
35192 (sub_magnitudes): Likewise.
35195 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35196 powers of two in terms of TWOPOW macro.
35197 (mp_no): Make type of mantissa as MANTISSA_T.
35198 [!RADIXI]: Define RADIXI.
35199 [!TWO52]: Define TWO52.
35200 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35202 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35204 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
35205 llroundl symbol when building for PPC32.
35207 2013-03-24 Mark H Weaver <mhw@netris.org>
35209 * manual/arith.texi (Normalization Functions): Fix prototypes for
35210 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
35212 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35215 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
35216 high value to check if expl overflow.
35217 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
35218 to check for underflow and overflow.
35219 * math/libm-test.inc: Add exp test.
35221 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
35224 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
35227 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35229 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
35232 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
35234 * math/gen-libm-test.pl (parse_args, special_functions): Properly
35235 wrap blocks consisting of several statements.
35237 * sysdeps/generic/math-tests.h: New file.
35238 * sysdeps/i386/fpu/math-tests.h: Likewise.
35239 * math/test-snan.c: Include it.
35240 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
35242 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35245 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
35246 (__ieee754_j0l): Do not improve calculations using cos of twice
35247 input for inputs above LDBL_MAX / 2.0L.
35248 (__ieee754_y0l): Likewise.
35249 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
35250 (__ieee754_j1l): Do not improve calculations using cos of twice
35251 input for inputs above LDBL_MAX / 2.0L.
35252 (__ieee754_y1l): Likewise.
35253 * math/libm-test.inc (j0_test): Add another test.
35254 (j1_test): Likewise.
35255 (y0_test): Likewise.
35256 (y1_test): Likewise.
35257 * sysdeps/i386/fpu/libm-test-ulps: Update.
35259 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35261 * Rules ($(objpfx)bench-%.c): Include code from a C source
35264 2013-03-21 Joseph Myers <joseph@codesourcery.com>
35267 * math/k_casinh.c (__kernel_casinh): Handle arguments with
35268 imaginary part 1.0 and real part less than 0.5 specially.
35269 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35270 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35271 * math/libm-test.inc (cacos_test): Add more tests.
35272 (casin_test): Likewise.
35273 (casinh_test): Likewise.
35274 * sysdeps/i386/fpu/libm-test-ulps: Update.
35275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35277 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35279 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
35280 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
35282 2013-03-20 Joseph Myers <joseph@codesourcery.com>
35284 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
35285 * config.make.in (config-cflags-sse4): Remove variable.
35286 (config-cflags-avx): Likewise.
35287 (config-cflags-sse2avx): Likewise.
35288 (config-cflags-novzeroupper): Likewise.
35289 (config-asflags-i686): Likewise.
35290 (have-mfma4): Likewise.
35291 (have-as-vis3): Likewise.
35293 * configure.in (MIG): Do not AC_SUBST.
35294 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
35295 (libc_cv_cc_sse4): Do not AC_SUBST.
35296 (libc_cv_cc_avx): Likewise.
35297 (libc_cv_cc_sse2avx): Likewise.
35298 (libc_cv_cc_novzeroupper): Likewise.
35299 (libc_cv_cc_fma4): Likewise.
35300 (libc_cv_as_i686): Likewise.
35301 (libc_cv_sparc_as_vis3): Likewise.
35302 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
35304 (config-asflags-i686): Likewise.
35305 (config-cflags-avx): Likewise.
35306 (config-cflags-sse2avx): Likewise.
35307 (have-mfma4): Likewise.
35308 (config-cflags-novzeroupper): Likewise.
35309 * sysdeps/mach/configure.in (MIG): Likewise.
35310 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
35311 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
35313 (config-cflags-avx): Likewise.
35314 (config-cflags-sse2avx): Likewise.
35315 (have-mfma4): Likewise.
35316 (config-cflags-novzeroupper): Likewise.
35317 * configure: Regenerated.
35318 * sysdeps/i386/configure: Likewise.
35319 * sysdeps/mach/configure: Likewise.
35320 * sysdeps/sparc/configure: Likewise.
35321 * sysdeps/x86_64/configure: Likewise.
35323 2013-03-20 Roland McGrath <roland@hack.frob.com>
35326 * locale/programs/localedef.c (options): Put N_ translation marker
35327 on argument names, not just descriptions.
35329 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35331 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
35333 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
35336 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
35338 2013-03-19 Roland McGrath <roland@hack.frob.com>
35340 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
35341 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
35342 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
35343 [!BEFORE_ABORT] (before_abort): New function.
35344 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
35345 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
35346 (writev_for_fatal): New function.
35347 (WRITEV_FOR_FATAL): New macro; call that.
35348 (backtrace_and_maps): New function.
35349 (BEFORE_ABORT): New macro; call that.
35350 (struct str_list): Type removed.
35351 (__libc_message, __libc_fatal): Functions removed.
35352 Include <sysdeps/posix/libc_fatal.c> instead.
35354 2013-03-19 Joseph Myers <joseph@codesourcery.com>
35356 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
35358 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
35361 2013-03-19 Andreas Schwab <schwab@suse.de>
35363 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
35364 * sysdeps/gnu/configure: Regenerate.
35366 * configure.in: Substitute libc_cv_rtlddir.
35367 * configure: Regenerate.
35368 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
35369 * Makeconfig (rtlddir, inst_rtlddir): New variables.
35370 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
35371 * elf/Makefile (install-others, CFLAGS-interp.c)
35372 (ldso_install, common-ldd-rewrite): Likewise.
35373 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
35374 $(inst_slibdir)/$(rtld-installed-name).
35375 * scripts/rellns-sh: Add -p option.
35376 * Makerules (make-shlib-link): Use rellns-sh to get relative name
35379 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35381 * manual/nptl.texi: Renamed to ...
35382 * manual/threads.texi: ... this.
35383 * manual/Makefile (chapters): Update.
35385 2013-03-18 Roland McGrath <roland@hack.frob.com>
35388 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
35389 on argument names, not just descriptions.
35390 * malloc/memusagestat.c (options): Likewise.
35391 * nss/getent.c (options): Likewise.
35393 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
35396 * iconv/iconv_prog.c (options): Put N_ translation marker
35397 on argument names, not just descriptions.
35398 * iconv/iconvconfig.c (options): Likewise.
35400 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
35402 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
35403 implementation which is faster on all x86_64 architectures.
35404 Tested on AMD, Intel Nehalem, SNB, IVB.
35405 * sysdeps/x86_64/strnlen.S: Likewise.
35407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35408 Remove all multiarch strlen and strnlen versions.
35409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
35410 Remove strlen and strnlen related parts.
35412 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
35413 Inline strlen part.
35414 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
35416 * sysdeps/x86_64/multiarch/strlen.S: Remove.
35417 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
35418 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
35419 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
35420 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35421 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
35423 2013-03-17 Carlos O'Donell <carlos@redhat.com>
35425 * manual/memory.texi (Malloc Tunable Parameters):
35426 Sort parameters alphabetically. Add comments for missing entries.
35428 2013-03-17 David S. Miller <davem@davemloft.net>
35430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35432 2013-03-16 Joseph Myers <joseph@codesourcery.com>
35435 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
35436 for arguments at most half maximum finite value.
35437 * math/libm-test.inc (j0_test): Add more tests.
35438 (j1_test): Likewise.
35439 (y0_test): Likewise.
35440 (y1_test): Likewise.
35441 * sysdeps/i386/fpu/libm-test-ulps: Update.
35442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35445 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
35446 1 / x and functions P and Q for arguments above 0x1p256L.
35447 (__ieee754_y0l): Likewise.
35448 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
35449 (__ieee754_y1l): Likewise.
35450 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
35451 (j1_test): Likewise.
35452 (y0_test): Likewise.
35453 (y1_test): Likewise.
35455 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
35457 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
35460 2013-03-15 Roland McGrath <roland@hack.frob.com>
35462 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
35463 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
35464 zero since it's initialized to EXEC_PAGESIZE.
35466 * sysdeps/unix/sysv/linux/ldsodefs.h
35467 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
35468 * sysdeps/generic/ldsodefs.h: ... here.
35470 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
35472 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
35474 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
35476 * math/test-snan.c: Renamed from
35477 sysdeps/powerpc/fpu/test-powerpc-snan.c.
35478 * math/Makefile (tests): Add test-snan.
35479 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
35482 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
35483 SUFFIX. Initialize qNaN_var with __builtin_nan family of
35485 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
35486 __builtin_nan family of functions.
35487 * math/libm-test.inc (initialize): Initialize qnan_value with
35488 __builtin_nan family of functions.
35489 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
35491 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
35493 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
35494 storage class. Initialize qNaN_var and sNaN_var with
35495 __builtin_nan and __builtin_nans families of functions,
35498 * math/libm-test.inc (acosh_test): Also test with qNaN input.
35499 (sqrt_test): Remove duplicate test with qNaN input.
35500 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
35501 (round_test, signbit_test, significand_test): Note missing +/-Inf
35502 as well as qNaN tests.
35504 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
35505 qNaN_var. Fix a few strings, too.
35506 * math/libm-test.inc (nan_value): Rename to qnan_value.
35507 * math/gen-libm-test.pl (%beautify): Adjust to that.
35508 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
35509 * math/test-misc.c (main): Likewise.
35510 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
35511 to __qnan_bytes, and __qnan_union, respectively.
35512 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
35514 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
35515 and lqnanval, respectively.
35516 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
35517 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
35518 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
35519 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
35521 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
35522 * math/test-misc.c (main) [__x86_64__]: Enable test for long
35525 * math/test-misc.c (main): Fix copy'n'pastos.
35526 * misc/tst-efgcvt.c (special): Likewise.
35528 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
35529 Remove declarations.
35531 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35533 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
35534 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
35535 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
35536 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
35538 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35540 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
35541 macro to return vdso values correctly in IFUNC implementations.
35542 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35543 Optimization by using IFUNC.
35545 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35546 Richard Henderson <rth@redhat.com>
35547 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35549 * Makefile.in (bench): New target.
35550 * NEWS: Mention the benchmark framework.
35551 * Rules (bench): Likewise.
35552 (binaries-bench): Generate binaries for functions to
35554 * benchtests/Makefile: New makefile for benchmark tests.
35555 * benchtests/bench-skeleton.c: New skeleton file for benchmark
35557 * benchtests/exp-inputs: New input file for EXP function.
35558 * benchtests/pow-inputs: New input file for POW function.
35559 * scripts/bench.pl: New script to generate source files for
35560 benchmark programs.
35562 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35564 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35565 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35566 computations on mantissa. Use macros for rounding and
35568 (denorm): Likewise.
35569 (__dbl_mp): Likewise.
35570 (add_magnitudes): Likewise.
35571 (sub_magnitudes): Likewise.
35574 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
35575 powers of two in terms of TWOPOW macro.
35576 (mp_no): Make type of mantissa as MANTISSA_T.
35577 [!RADIXI]: Define RADIXI.
35578 [!TWO52]: Define TWO52.
35579 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35581 * manual/nptl.texi (cindex): Modify threads to pthreads.
35583 2013-03-15 Joseph Myers <joseph@codesourcery.com>
35585 * sysdeps/x86_64/preconfigure: Regenerated.
35587 2013-03-14 Joseph Myers <joseph@codesourcery.com>
35590 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35592 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35593 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35595 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35596 * math/libm-test.inc (j0_test): Do not allow one spurious
35597 underflow exception.
35598 (y1_test): Likewise.
35600 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35602 * manual/Makefile (chapters): Add nptl.
35603 * manual/debug.texi (Debugging Support): Add link to Threads
35605 * manual/nptl.texi: New file.
35607 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35609 2013-03-14 Petr Baudis <pasky@ucw.cz>
35611 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35612 for non-NULL pointer before the memory validity test. Pointed
35613 out by Holger Brunck <holger.brunck@keymile.com>.
35615 2013-03-13 Andreas Schwab <schwab@suse.de>
35617 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35620 2013-03-13 Joseph Myers <joseph@codesourcery.com>
35622 * timezone/zic.c: Update from tzcode 2013b.
35624 2013-03-12 Carlos O'Donell <carlos@redhat.com>
35626 * manual/install.texi (Configuring and compiling):
35627 Mention i686 and i586.
35628 * INSTALL: Regenerate.
35630 2013-03-12 Roland McGrath <roland@hack.frob.com>
35632 * sysdeps/init_array/elf-init.c: New file.
35634 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35635 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35637 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35638 __gmon_start__ as global, but as static with a .preinit_array pointer.
35639 * sysdeps/init_array/gmon-start.c: New file. Use that.
35640 * sysdeps/init_array/crti.S: New file, empty except for comments.
35641 * sysdeps/init_array/crtn.S: Likewise.
35643 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
35645 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35648 Remove Prefer_SSE_for_memop.
35649 * sysdeps/x86_64/multiarch/init-arch.h: Remove
35650 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35651 HAS_PREFER_SSE_FOR_MEMOP.
35652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35654 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35655 Remove bzero, memset ifunc support.
35656 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35657 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35658 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35659 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35661 2013-03-11 Andreas Schwab <schwab@suse.de>
35664 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35666 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35667 (GLIBC_2.16): Remove pthread_atfork.
35669 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
35671 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35672 (ptestcases.h): Likewise.
35674 2013-03-08 Roland McGrath <roland@hack.frob.com>
35676 * Makeconfig ($(common-objpfx)config.status): Depend on
35677 sysdeps/*/preconfigure{,.in} too.
35679 2013-03-08 Joseph Myers <joseph@codesourcery.com>
35681 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35682 (__free_hook): Use void * instead of __malloc_ptr_t.
35683 (__malloc_hook): Likewise.
35684 (__realloc_hook): Likewise.
35685 (__memalign_hook): Likewise.
35686 (__after_morecore_hook): Likewise.
35687 * malloc/arena.c (save_malloc_hook): Likewise.
35688 (save_free_hook): Likewise.
35689 * malloc/hooks.c (malloc_hook_ini): Likewise.
35690 (realloc_hook_ini): Likewise.
35691 (memalign_hook_ini): Likewise.
35692 * malloc/malloc.c (malloc_hook_ini): Likewise.
35693 (realloc_hook_ini): Likewise.
35694 (memalign_hook_ini): Likewise.
35695 (__free_hook): Likewise.
35696 (__malloc_hook): Likewise.
35697 (__realloc_hook): Likewise.
35698 (__memalign_hook): Likewise.
35699 (__libc_malloc): Likewise.
35700 (__libc_free): Likewise.
35701 (__libc_realloc): Likewise.
35702 (__libc_memalign): Likewise.
35703 (__libc_valloc): Likewise.
35704 (__libc_pvalloc): Likewise.
35705 (__libc_calloc): Likewise.
35706 (__posix_memalign): Likewise.
35707 * malloc/morecore.c (__sbrk): Likewise.
35708 (__default_morecore): Likewise.
35710 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35712 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35713 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35714 __malloc_ptrdiff_t.
35716 * malloc/malloc.h (__malloc_size_t): Remove macro.
35717 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35719 (old_memalign_hook): Likewise.
35720 (old_realloc_hook): Likewise.
35721 (struct hdr): Likewise.
35723 (mallochook): Likewise.
35724 (memalignhook): Likewise.
35725 (reallochook): Likewise.
35726 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35727 (tr_old_realloc_hook): Likewise.
35728 (tr_old_memalign_hook): Likewise.
35729 (tr_mallochook): Likewise.
35730 (tr_reallochook): Likewise.
35731 (tr_memalignhook): Likewise.
35733 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35735 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35736 default_ldbl_pack and using as default implementation.
35737 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35739 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35740 redundant definition.
35741 (ldbl_insert_mantissa): Likewise.
35742 (ldbl_canonicalize): Likewise.
35743 (ldbl_nearbyint): Likewise.
35744 (ldbl_pack): Rename to ldbl_pack_ppc.
35745 (ldbl_unpack): Rename to ldbl_unpack_ppc.
35746 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35747 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35749 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35752 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35753 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35754 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35756 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35757 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35758 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35760 2013-03-07 Andreas Jaeger <aj@suse.de>
35762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35765 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35767 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35768 Include mpa.h and declare __MPEXP.
35769 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35770 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35771 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35772 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35773 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35774 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35775 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35777 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35778 (__slowpow): Use long double EXPL and LOGL functions to
35780 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35781 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35782 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35783 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35784 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35785 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35788 intermediate variable to calculate exponent.
35790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35794 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35795 [!NO__SQR]: Define __sqr.
35796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35797 and NO__SQR. Remove all code except __mul and __sqr. Include
35798 sysdeps/ieee754/dbl-64/mpa.c.
35799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35802 * posix/Makefile (tests): Add tst-pathconf.
35803 * posix/tst-pathconf.c: New test case.
35804 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35806 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35808 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
35810 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35812 2013-03-06 Andreas Jaeger <aj@suse.de>
35814 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35815 definition via __MAP_ANONYMOUS.
35817 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35818 it's not part of Linux headers.
35820 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35821 (MAP_HUGE_MASK): Define.
35823 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35825 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35826 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35828 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35829 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35831 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35832 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35834 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35836 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35837 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35838 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35839 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35840 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35841 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35843 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35846 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35847 Handle f2fs and efivarfs.
35849 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35852 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35853 (EFIVARFS_MAGIC): Add.
35854 (F2FS_LINK_MAX): Add.
35856 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35858 * stdio-common/vfprintf.c: Replace __builtin_expect with
35861 2013-03-06 Joseph Myers <joseph@codesourcery.com>
35864 * sysdeps/generic/bp-sym.h: Remove file.
35865 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35866 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35867 <bp-sym.h> and <bp-asm.h>.
35868 (__longjmp): Don't use BP_SYM.
35869 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35871 (memcpy): Don't use BP_SYM.
35872 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35873 <bp-sym.h> and <bp-asm.h>.
35874 (memcpy): Don't use BP_SYM.
35875 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35877 (memcpy): Don't use BP_SYM.
35878 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35880 (memset): Don't use BP_SYM.
35881 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35882 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35883 (__bzero): Don't use BP_SYM.
35884 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35885 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35886 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35887 <bp-sym.h> and <bp-asm.h>.
35888 (memcmp): Don't use BP_SYM. Remove comment about bounded
35890 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35891 <bp-sym.h> and <bp-asm.h>.
35892 (memcpy): Don't use BP_SYM.
35893 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35894 <bp-sym.h> and <bp-asm.h>.
35895 (memset): Don't use BP_SYM.
35896 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35897 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35898 (__bzero): Don't use BP_SYM.
35899 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35900 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35901 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35902 <bp-sym.h> and <bp-asm.h>.
35903 (strncmp): Don't use BP_SYM. Remove comment about bounded
35905 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35906 <bp-sym.h> and <bp-asm.h>.
35907 (memcpy): Don't use BP_SYM.
35908 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35909 <bp-sym.h> and <bp-asm.h>.
35910 (memset): Don't use BP_SYM.
35911 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35912 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35913 (__bzero): Don't use BP_SYM.
35914 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35915 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35917 <bp-sym.h> and <bp-asm.h>.
35918 (__memchr): Don't use BP_SYM.
35919 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35920 <bp-sym.h> and <bp-asm.h>.
35921 (memcmp): Don't use BP_SYM. Remove comment about bounded
35923 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35924 <bp-sym.h> and <bp-asm.h>.
35925 (memcpy): Don't use BP_SYM.
35926 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35927 <bp-sym.h> and <bp-asm.h>.
35928 (__mempcpy): Don't use BP_SYM.
35929 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35930 <bp-sym.h> and <bp-asm.h>.
35931 (__memrchr): Don't use BP_SYM.
35932 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35933 <bp-sym.h> and <bp-asm.h>.
35934 (memset): Don't use BP_SYM.
35935 (__bzero): Likewise.
35936 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35937 <bp-sym.h> and <bp-asm.h>.
35938 (__rawmemchr): Don't use BP_SYM.
35939 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35940 <bp-sym.h> and <bp-asm.h>.
35941 (__STRCMP): Don't use BP_SYM.
35942 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35943 <bp-sym.h> and <bp-asm.h>.
35944 (strchr): Don't use BP_SYM.
35945 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35946 <bp-sym.h> and <bp-asm.h>.
35947 (__strchrnul): Don't use BP_SYM.
35948 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35949 <bp-sym.h> and <bp-asm.h>.
35950 (strlen): Don't use BP_SYM.
35951 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35952 <bp-sym.h> and <bp-asm.h>.
35953 (strncmp): Don't use BP_SYM. Remove comment about bounded
35955 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35956 <bp-sym.h> and <bp-asm.h>.
35957 (__strnlen): Don't use BP_SYM.
35958 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35959 <bp-sym.h> and <bp-asm.h>.
35960 (__GI__setjmp): Don't use BP_SYM.
35961 (_setjmp): Likewise.
35962 (__sigsetjmp): Likewise.
35963 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35964 (L(start_addresses)): Don't use BP_SYM.
35965 (_start): Likewise.
35966 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35968 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35969 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35970 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35971 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35972 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35974 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35975 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
35976 about bounded pointers.
35977 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35978 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35979 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35981 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35982 about bounded pointers. Remove GKM FIXME comments.
35983 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35984 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35986 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35987 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
35988 Remove GKM FIXME comments.
35989 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35990 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35991 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35993 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
35994 about bounded pointers. Remove GKM FIXME comment.
35995 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35997 (strncmp): Don't use BP_SYM. Remove comment about bounded
35999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
36000 <bp-sym.h> and <bp-asm.h>.
36001 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
36003 <bp-sym.h> and <bp-asm.h>.
36004 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36007 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36009 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
36012 2013-03-05 David S. Miller <davem@davemloft.net>
36014 * po/es.po: Update from translation team.
36016 2013-03-05 Andreas Jaeger <aj@suse.de>
36018 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
36019 <bits/mman-linux.h>.
36020 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36022 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
36023 <bits/mman-linux.h> to end of file.
36024 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36026 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
36027 <bits/mman-linux.h> to end of file.
36028 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
36030 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
36031 <bits/mman-linux.h> to end of file.
36033 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
36034 (MCL_CURRENT, MCL_FUTURE): Define here.
36036 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36039 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
36041 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36043 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36045 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
36046 fourth parameter needed for rt_sigprocmask syscall.
36047 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36048 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36049 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
36050 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36051 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36052 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
36054 2013-03-04 Joseph Myers <joseph@codesourcery.com>
36057 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
36058 comment about bounded pointers.
36059 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
36060 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
36062 2013-03-04 Andreas Jaeger <aj@suse.de>
36064 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
36065 common definitions.
36067 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
36068 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
36069 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
36070 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36071 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36072 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36074 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36077 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36078 __ieee754_sqrl instead of __sqrl.
36080 2013-03-01 Joseph Myers <joseph@codesourcery.com>
36082 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
36083 * sysdeps/powerpc/fpu_control.h: ... here.
36084 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
36085 * sysdeps/powerpc/bits/fenvinline.h: ... here.
36086 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
36087 * sysdeps/powerpc/bits/mathinline.h: ... here.
36089 2013-03-01 Roland McGrath <roland@hack.frob.com>
36091 * elf/dl-hwcaps.c (_dl_important_hwcaps):
36092 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
36093 to just [NEED_DL_SYSINFO_DSO].
36094 * elf/dl-support.c: Likewise.
36095 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
36096 * elf/rtld.c (dl_main): Likewise.
36097 * elf/setup-vdso.h (setup_vdso): Likewise.
36098 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
36099 * sysdeps/unix/sysv/linux/dl-sysdep.c
36100 (_dl_discover_osversion): Likewise.
36102 2013-03-01 Carlos O'Donell <carlos@redhat.com>
36104 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
36105 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36107 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36109 * NEWS: Mention libm performance improvements and non-x86 PI
36112 * csu/libc-start.c (__pthread_initialize_minimal): Change
36113 function arguments.
36114 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
36116 2013-02-28 Joseph Myers <joseph@codesourcery.com>
36119 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
36120 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
36121 <bp-sym.h> and <bp-asm.h>.
36122 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36123 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
36125 (memcpy): Don't use BP_SYM.
36126 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
36128 (__mpn_add_n): Don't use BP_SYM.
36129 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
36130 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
36132 (__mpn_addmul_1): Don't use BP_SYM.
36133 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36134 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
36136 (_setjmp): Don't use BP_SYM.
36137 (__novmx_setjmp): Likewise.
36138 (__GI__setjmp): Likewise.
36139 (__vmx_setjmp): Likewise.
36140 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
36142 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
36143 (__bzero): Don't use BP_SYM.
36144 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
36145 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
36146 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
36147 <bp-sym.h> and <bp-asm.h>.
36148 (memcpy): Don't use BP_SYM.
36149 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
36150 <bp-sym.h> and <bp-asm.h>.
36151 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36152 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
36153 <bp-sym.h> and <bp-asm.h>.
36154 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
36155 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
36157 (__mpn_lshift): Don't use BP_SYM.
36158 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36159 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
36161 (memset): Don't use BP_SYM.
36162 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
36163 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
36164 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
36166 (__mpn_mul_1): Don't use BP_SYM.
36167 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36168 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
36169 <bp-sym.h> and <bp-asm.h>.
36170 (memcmp): Don't use BP_SYM.
36171 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
36172 <bp-sym.h> and <bp-asm.h>.
36173 (memcpy): Don't use BP_SYM.
36174 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
36175 <bp-sym.h> and <bp-asm.h>.
36176 (memset): Don't use BP_SYM.
36177 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
36178 <bp-sym.h> and <bp-asm.h>.
36179 (strncmp): Don't use BP_SYM.
36180 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
36181 <bp-sym.h> and <bp-asm.h>.
36182 (memcpy): Don't use BP_SYM.
36183 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
36184 <bp-sym.h> and <bp-asm.h>.
36185 (memset): Don't use BP_SYM.
36186 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
36187 <bp-sym.h> and <bp-asm.h>.
36188 (__memchr): Don't use BP_SYM.
36189 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
36190 <bp-sym.h> and <bp-asm.h>.
36191 (memcmp): Don't use BP_SYM.
36192 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
36193 <bp-sym.h> and <bp-asm.h>.
36194 (memcpy): Don't use BP_SYM.
36195 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
36196 <bp-sym.h> and <bp-asm.h>.
36197 (__mempcpy): Don't use BP_SYM.
36198 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
36199 <bp-sym.h> and <bp-asm.h>.
36200 (__memrchr): Don't use BP_SYM.
36201 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
36202 <bp-sym.h> and <bp-asm.h>.
36203 (memset): Don't use BP_SYM.
36204 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
36205 <bp-sym.h> and <bp-asm.h>.
36206 (__rawmemchr): Don't use BP_SYM.
36207 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
36208 <bp-sym.h> and <bp-asm.h>.
36209 (__STRCMP): Don't use BP_SYM.
36210 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
36211 <bp-sym.h> and <bp-asm.h>.
36212 (strchr): Don't use BP_SYM.
36213 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
36214 <bp-sym.h> and <bp-asm.h>.
36215 (__strchrnul): Don't use BP_SYM.
36216 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
36217 <bp-sym.h> and <bp-asm.h>.
36218 (strlen): Don't use BP_SYM.
36219 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
36220 <bp-sym.h> and <bp-asm.h>.
36221 (strncmp): Don't use BP_SYM.
36222 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
36223 <bp-sym.h> and <bp-asm.h>.
36224 (__strnlen): Don't use BP_SYM.
36225 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
36227 (__mpn_rshift): Don't use BP_SYM.
36228 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36229 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
36230 <bp-sym.h> and <bp-asm.h>.
36231 (__sigsetjmp): Don't use BP_SYM.
36232 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
36233 (L(start_addresses)): Don't use BP_SYM.
36234 (_start): Likewise.
36235 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
36237 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
36238 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36239 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36240 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
36242 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
36243 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36244 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36245 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
36247 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36249 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36250 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
36252 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
36254 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36255 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
36256 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
36258 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
36260 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
36262 (strncmp): Don't use BP_SYM,
36263 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
36265 (__mpn_sub_n): Don't use BP_SYM.
36266 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36267 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
36269 (__mpn_submul_1): Don't use BP_SYM.
36270 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
36272 <bp-sym.h> and <bp-asm.h>.
36273 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
36274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
36275 <bp-sym.h> and <bp-asm.h>.
36276 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
36279 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
36282 Use ZK to minimize writes to Z.
36283 (sub_magnitudes): Simplify code a bit.
36284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
36285 Use ZK to minimize writes to Z.
36286 (sub_magnitudes): Simplify code a bit.
36288 2013-02-27 Roland McGrath <roland@hack.frob.com>
36290 * csu/gmon-start.c: Add special exception to license text.
36292 2013-02-27 Richard Henderson <rth@redhat.com>
36294 * scripts/config.guess: Update from config.git.
36295 * scripts/config.sub: Likewise.
36297 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36299 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
36301 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
36303 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
36305 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
36307 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
36309 2013-02-26 Roland McGrath <roland@hack.frob.com>
36311 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
36312 [$(build-shared = yes].
36314 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36316 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
36317 (__mul): Reduce iterations for calculating mantissa.
36319 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
36321 (__mpranred): Likewise.
36324 * malloc/memusagestat.c (main): Draw graphs for heap and stack
36325 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
36327 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
36329 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
36330 Define __attribute__.
36332 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36334 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
36336 * posix/regex_internal.h (__attribute): Remove.
36337 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
36338 (re_string_context_at): Likewise.
36339 (bitset_not): Use __attribute__ and mark function as possibly
36341 (bitset_merge): Likewise.
36342 (bitset_mask): Likewise.
36343 (re_string_char_size_at): Likewise.
36344 (re_string_wchar_at): Likewise.
36345 (re_string_elem_size_at): Likewise.
36347 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36349 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
36353 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
36357 (denorm): Likewise.
36358 (__dbl_mp): Likewise.
36359 (add_magnitudes): Likewise.
36360 (sub_magnitudes): Likewise.
36364 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
36367 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
36370 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
36373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
36374 up changes with default code.
36375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
36378 2013-02-24 Allan McRae <allan@archlinux.org>
36380 * manual/socket.texi (The Internet Namespace): Order menu items
36381 to match that in the file.
36383 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
36384 node listing of the info page menu.
36386 2013-02-21 Joseph Myers <joseph@codesourcery.com>
36389 * sysdeps/i386/bp-asm.h: Remove file.
36390 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36391 (PARMS): Do not use macros from bp-asm.h.
36395 (__mpn_add_n): Do not use BP_SYM
36396 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
36398 (PARMS): Do not use macros from bp-asm.h.
36401 (__mpn_addmul_1): Do not use BP_SYM
36402 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
36404 (PARMS): Do not use macros from bp-asm.h.
36405 (SIGMSK): Likewise.
36406 (_setjmp): Likewise. Do not use BP_SYM.
36407 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
36409 (PARMS): Do not use macros from bp-asm.h.
36410 (SIGMSK): Likewise.
36411 (setjmp): Likewise. Do not use BP_SYM.
36412 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
36414 (PARMS): Do not use macros from bp-asm.h.
36415 (__frexp): Do not use BP_SYM.
36417 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
36419 (PARMS): Do not use macros from bp-asm.h.
36420 (__frexpf): Do not use BP_SYM.
36421 (frexpf): Likewise.
36422 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
36424 (PARMS): Do not use macros from bp-asm.h.
36425 (__frexpl): Do not use BP_SYM.
36426 (frexpl): Likewise.
36427 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
36429 (PARMS): Do not use macros from bp-asm.h.
36430 (__remquo): Do not use BP_SYM.
36431 (remquo): Likewise.
36432 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
36434 (PARMS): Do not use macros from bp-asm.h.
36435 (__remquof): Do not use BP_SYM.
36436 (remquof): Likewise.
36437 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
36439 (PARMS): Do not use macros from bp-asm.h.
36440 (__remquol): Do not use BP_SYM.
36441 (remquol): Likewise.
36442 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
36444 (PARMS): Do not use macros from bp-asm.h.
36447 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
36448 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
36450 (PARMS): Do not use macros from bp-asm.h.
36451 (strlen): Do not use BP_SYM.
36452 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
36454 (PARMS): Do not use macros from bp-asm.h.
36458 (__mpn_add_n): Do not use BP_SYM.
36459 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
36461 (PARMS): Do not use macros from bp-asm.h.
36464 (__mpn_addmul_1): Do not use BP_SYM.
36465 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
36468 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
36470 (PARMS): Do not use macros from bp-asm.h.
36473 (__mpn_lshift): Do not use BP_SYM.
36474 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
36476 (PARMS): Do not use macros from bp-asm.h.
36480 (memcpy): Likewise. Do not use BP_SYM.
36481 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
36482 libc_hidden_def and weak_alias.
36483 (mempcpy): Do not use BP_SYM in weak_alias.
36484 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
36486 (PARMS): Do not use macros from bp-asm.h.
36489 [!BZERO_P] (CHR): Likewise.
36490 (memset): Likewise. Do not use BP_SYM.
36491 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
36493 (PARMS): Do not use macros from bp-asm.h.
36496 (__mpn_mul_1): Do not use BP_SYM.
36497 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
36499 (PARMS): Do not use macros from bp-asm.h.
36502 (__mpn_rshift): Do not use BP_SYM.
36503 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
36505 (PARMS): Do not use macros from bp-asm.h.
36508 (strchr): Likewise. Do not use BP_SYM.
36509 (index): Do not use BP_SYM in weak_alias.
36510 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
36512 (PARMS): Do not use macros from bp-asm.h.
36515 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
36516 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
36518 (PARMS): Do not use macros from bp-asm.h.
36519 (strlen): Do not use BP_SYM.
36520 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
36522 (PARMS): Do not use macros from bp-asm.h.
36526 (__mpn_sub_n): Do not use BP_SYM.
36527 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
36529 (PARMS): Do not use macros from bp-asm.h.
36532 (__mpn_submul_1): Do not use BP_SYM.
36533 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
36535 (PARMS): Do not use macros from bp-asm.h.
36539 (__mpn_add_n): Do not use BP_SYM.
36540 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
36543 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
36545 (PARMS): Do not use macros from bp-asm.h.
36548 (memcmp): Do not use BP_SYM.
36549 (bcmp): Do not use BP_SYM in weak_alias.
36550 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36552 (PARMS): Do not use macros from bp-asm.h.
36556 (memcpy): Likewise. Do not use BP_SYM.
36557 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36559 (PARMS): Do not use macros from bp-asm.h.
36563 (memmove): Likewise. Do not use BP_SYM.
36564 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36566 (PARMS): Do not use macros from bp-asm.h.
36570 (__mempcpy): Likewise. Do not use BP_SYM.
36571 (mempcpy): Do not use BP_SYM in weak_alias.
36572 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36574 (PARMS): Do not use macros from bp-asm.h.
36577 [!BZERO_P] (CHR): Likewise.
36578 (memset): Likewise. Do not use BP_SYM.
36579 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36581 (PARMS): Do not use macros from bp-asm.h.
36583 (strcmp): Do not use BP_SYM.
36584 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36586 (PARMS): Do not use macros from bp-asm.h.
36589 [USE_AS_STRTOK_R] (SAVE): Likewise.
36590 (FUNCTION): Likewise. Do not use BP_SYM.
36591 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36593 (strtok_r): Likewise.
36594 (__GI___strtok_r): Likewise.
36595 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36596 (PARMS): Do not use macros from bp-asm.h.
36599 (__mpn_lshift): Do not use BP_SYM.
36600 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36601 (PARMS): Do not use macros from bp-asm.h.
36604 (__memchr): Do not use BP_SYM.
36605 (memchr): Do not use BP_SYM in weak_alias.
36606 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36607 (PARMS): Do not use macros from bp-asm.h.
36610 (memcmp): Do not use BP_SYM.
36611 (bcmp): Do not use BP_SYM in weak_alias.
36612 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36613 (PARMS): Do not use macros from bp-asm.h.
36616 (__mpn_mul_1): Do not use BP_SYM.
36617 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36619 (PARMS): Do not use macros from bp-asm.h.
36622 (__rawmemchr): Do not use BP_SYM.
36623 (rawmemchr): Do not use BP_SYM in weak_alias.
36624 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36625 (PARMS): Do not use macros from bp-asm.h.
36628 (__mpn_rshift): Do not use BP_SYM.
36629 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36630 (PARMS): Do not use macros from bp-asm.h.
36631 (SIGMSK): Likewise.
36632 (__sigsetjmp): Likewise. Do not use BP_SYM.
36633 * sysdeps/i386/start.S: Do not include "bp-sym.h".
36634 (_start): Do not use BP_SYM.
36635 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36636 (PARMS): Do not use macros from bp-asm.h.
36639 (__stpcpy): Likewise. Do not use BP_SYM.
36640 (stpcpy): Do not use BP_SYM in weak_alias.
36641 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36643 (PARMS): Do not use macros from bp-asm.h.
36647 (__stpncpy): Likewise. Do not use BP_SYM.
36648 (stpncpy): Do not use BP_SYM in weak_alias.
36649 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36650 (PARMS): Do not use macros from bp-asm.h.
36653 (strchr): Likewise. Do not use BP_SYM.
36654 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36656 (PARMS): Do not use macros from bp-asm.h.
36659 (__strchrnul): Likewise. Do not use BP_SYM.
36660 (strchrnul): Do not use BP_SYM in weak_alias.
36661 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36663 (PARMS): Do not use macros from bp-asm.h.
36665 (strcspn): Do not use BP_SYM.
36666 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36668 (PARMS): Do not use macros from bp-asm.h.
36671 (strpbrk): Likewise. Do not use BP_SYM.
36672 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36674 (PARMS): Do not use macros from bp-asm.h.
36677 (strrchr): Likewise. Do not use BP_SYM.
36678 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36679 (PARMS): Do not use macros from bp-asm.h.
36681 (strspn): Do not use BP_SYM.
36682 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36683 (PARMS): Do not use macros from bp-asm.h.
36687 (FUNCTION): Likewise. Do not use BP_SYM.
36688 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36690 (strtok_r): Likewise.
36691 (__GI___strtok_r): Likewise.
36692 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36693 (PARMS): Do not use macros from bp-asm.h.
36697 (__mpn_sub_n): Do not use BP_SYM.
36698 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36700 (PARMS): Do not use macros from bp-asm.h.
36703 (__mpn_submul_1): Do not use BP_SYM.
36704 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36706 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36708 (PARMS): Do not use macros from bp-asm.h.
36713 (__clone): Do not use BP_SYM.
36714 (clone): Do not use BP_SYM in weak_alias.
36715 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36717 (PARMS): Do not use macros from bp-asm.h.
36719 (__mmap64): Do not use BP_SYM.
36720 (mmap64): Do not use BP_SYM in weak_alias.
36721 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36722 <bp-sym.h> and <bp-asm.h>.
36723 (PARMS): Do not use macros from bp-asm.h.
36724 (__posix_fadvise64_l64): Do not use BP_SYM.
36725 * sysdeps/unix/sysv/linux/i386/semtimedop.S
36726 (PARMS): Do not use macros from bp-asm.h.
36728 (semtimedop): Do not use BP_SYM.
36729 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36732 2013-02-21 Allan McRae <allan@archlinux.org>
36734 * manual/message.texi (Charset conversion in gettext):
36735 Move @end statement to beginning of line.
36737 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36744 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36745 (denorm): Likewise.
36746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36749 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36751 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36752 tail-call to the resolved function if pltexit isn't needed.
36754 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36757 or Y being zero as being unlikely.
36758 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36761 2013-02-20 Carlos O'Donell <carlos@redhat.com>
36763 * manual/nss.texi (System Databases and Name Service Switch):
36764 Remove frobnicate @pxref.
36766 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36768 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36769 __attribute__ ((unused)) to __attribute__ ((__unused__)).
36771 2013-02-20 Petr Machata <pmachata@redhat.com>
36773 * elf/elf.h (R_ARM_TARGET1): New macro.
36774 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36775 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36776 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36777 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36778 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36779 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36780 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36781 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36782 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36783 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36784 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36785 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36786 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36787 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36788 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36789 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36790 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36791 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36792 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36793 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36794 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36795 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36796 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36797 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36798 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36799 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36800 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36801 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36802 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36803 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36804 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36805 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36806 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36807 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36808 (R_ARM_THM_GOT_BREL12): Likewise.
36809 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36810 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36811 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36812 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36813 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36814 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36815 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36816 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36817 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36819 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
36821 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36822 __attribute_used__ to __attribute__ ((unused)).
36824 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36826 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36829 comment formatting.
36830 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36832 2013-02-19 Joseph Myers <joseph@codesourcery.com>
36835 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36837 (ENTER): Remove both macro definitions.
36839 (CHECK_BOUNDS_LOW): Likewise.
36840 (CHECK_BOUNDS_HIGH): Likewise.
36841 (CHECK_BOUNDS_BOTH): Likewise.
36842 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36843 (RETURN_BOUNDED_POINTER): Likewise.
36844 (RETURN_NULL_BOUNDED_POINTER): Likewise.
36845 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36846 (POP_ERRNO_LOCATION_RETURN): Likewise.
36847 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36848 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36849 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36851 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36852 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36853 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36854 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36855 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36856 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36857 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36858 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36859 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36860 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36861 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36862 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36863 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36864 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36866 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36867 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36869 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36870 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36871 * sysdeps/i386/i586/memset.S (memset): Likewise.
36872 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36873 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36874 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36876 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36877 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36878 Change uses of L(2) to L(out).
36879 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36880 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36881 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36882 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36883 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36885 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36886 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36888 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36889 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36890 (RETURN): Do not use macro LEAVE.
36891 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36892 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36893 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36894 * sysdeps/i386/i686/memset.S (memset): Likewise.
36895 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36896 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36897 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36898 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36900 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36901 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
36902 L(1_2) and L(1_3) into L(1).
36903 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36904 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36905 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36906 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36907 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36908 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36909 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36910 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36911 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36913 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36914 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36915 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36916 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36917 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36918 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36919 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36920 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36921 * sysdeps/i386/strcspn.S (strcspn): Likewise.
36922 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36923 * sysdeps/i386/strrchr.S (strrchr): Likewise.
36924 * sysdeps/i386/strspn.S (strspn): Likewise.
36925 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36927 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36928 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36929 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36930 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
36931 L(1_3) into L(1_1).
36932 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36933 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36934 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36936 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36938 2013-02-19 Jakub Jelinek <jakub@redhat.com>
36940 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36943 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36945 * math/atest-exp.c (exp_mpn): Remove ROUND.
36946 * math/atest-exp2.c (exp_mpn): Likewise.
36947 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36949 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36950 * stdlib/tst-tls-atexit-lib.c: Likewise.
36951 * stdlib/tst-tls-atexit.c: Likewise.
36953 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36955 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36956 and __attribute_alloc_size__.
36958 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36960 * include/programs/xmalloc.h: Change __attribute_alloc_size to
36961 __attribute_alloc_size__.
36962 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36963 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36965 2013-02-18 Mike Frysinger <vapier@gentoo.org>
36967 * include/programs/xmalloc.h: New file.
36968 * catgets/gencat.c: Include it.
36969 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36970 * elf/pldd.c: Likewise.
36971 * iconv/iconv_charmap.c: Likewise.
36972 * iconv/iconvconfig.c: Likewise.
36973 * iconv/strtab.c: Likewise.
36974 * locale/programs/locale.c: Likewise.
36975 * locale/programs/localedef.h: Likewise.
36976 * locale/programs/simple-hash.c: Likewise.
36977 * nscd/nscd.h: Likewise.
36978 * nss/makedb.c: Likewise.
36979 * sysdeps/generic/ldconfig.h: Likewise.
36981 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36983 * Versions.def: Add GLIBC_2.18.
36984 * include/link.h (struct link_map): New member l_tls_dtor_count.
36985 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36986 (__call_tls_dtors): Likewise.
36987 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36988 __cxa_thread_atexit_impl.
36989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36995 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36997 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
37000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
37002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37005 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
37006 (tests): Add test case tst-tls-atexit.
37007 (modules-names): Add shared library for tst-tls-atexit.
37008 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
37009 (GLIBC_PRIVATE): Add __call_tls_dtors.
37010 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
37012 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
37013 * stdlib/tst-tls-atexit.c: New test case.
37014 * stdlib/tst-tls-atexit-lib.c: New test case.
37016 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
37018 * elf/Versions (ld): Add _dl_find_dso_for_object.
37019 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
37020 * elf/dl-open.c (_dl_find_dso_for_object): New function.
37021 (dl_open_worker): Use _dl_find_dso_for_object.
37022 * elf/dl-sym.c (do_sym): Likewise.
37023 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
37025 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37027 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
37028 Syntactic changes only.
37029 (_dl_runtime_profile): Do a tail-call to the resolved function.
37031 2013-02-17 Joseph Myers <joseph@codesourcery.com>
37034 * sysdeps/x86_64/bp-asm.h: Remove file.
37035 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
37036 <bp-sym.h> and <bp-asm.h>.
37037 (__clone): Do not use BP_SYM.
37038 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
37039 <bp-sym.h> and <bp-asm.h>.
37040 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37041 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
37043 (_setjmp): Do not use BP_SYM.
37044 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
37046 (setjmp): Do not use BP_SYM.
37047 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
37049 (mempcpy): Do not use BP_SYM in weak_alias.
37050 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
37052 (strchr): Do not use BP_SYM.
37053 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
37055 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
37056 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
37057 (_start): Do not use BP_SYM.
37058 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
37060 (strcat): Do not use BP_SYM.
37061 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
37063 (STRCMP): Do not use BP_SYM.
37064 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
37066 (STRCPY): Do not use BP_SYM.
37067 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
37069 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
37071 (FUNCTION): Do not use BP_SYM.
37072 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
37074 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
37076 2013-02-17 Andreas Jaeger <aj@suse.de>
37078 * time/Versions: Sort entries.
37079 * string/Versions: Likewise.
37080 * resolv/Versions: Likewise.
37081 * posix/Versions: Likewise.
37082 * iconv/Versions: Likewise.
37083 * elf/Versions: Likewise.
37084 * wcsmbs/Versions: Likewise.
37086 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37088 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
37089 loop termination condition.
37091 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
37092 variable to calculate EZ.
37095 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
37096 the lower precision input.
37098 2013-02-15 Joseph Myers <joseph@codesourcery.com>
37101 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
37102 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
37103 (run-via-rtld-prefix): Do not handle %-bp tests.
37104 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
37105 (all-object-suffixes): Remove .ob.
37106 (bppfx): Remove variable.
37107 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
37108 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
37109 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
37110 [$(build-bounded) = yes] (libtype.ob): Likewise.
37111 * Makerules (elide-routines.ob): Remove variable.
37112 (do-tests-clean): Do not handle *-bp.out.
37113 (common-mostlyclean): Do not handle *-bp and *-bp.out.
37114 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
37115 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
37116 (tests): Do not include $(tests-bp.out).
37117 (xtests): Do not include $(xtests-bp.out).
37118 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
37119 [$(build-bounded) = yes] ($(addprefix
37120 $(objpfx),$(binaries-bounded))): Remove rule.
37121 ($(objpfx)%-bp.out): Remove rule.
37122 * config.make.in (build-bounded): Remove variable.
37123 * crypt/Makefile [$(build-bounded) = yes]
37124 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
37125 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
37126 append to variable.
37127 [$(build-bounded) = yes] (install-lib): Likewise.
37128 [$(build-bounded) = yes] (generated): Likewise.
37129 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
37131 * intl/Makefile [$(build-bounded) = yes]
37132 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
37133 * math/Makefile [$(build-bounded) = yes]
37134 ($(tests:%=$(objpfx)%-bp): Likewise.
37135 * misc/Makefile [$(build-bounded) = yes]
37136 ($(objpfx)tst-tsearch-bp): Likewise.
37137 * nptl/Makeconfig (bounded-thread-library): Remove variable.
37138 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
37140 * string/Makefile (o-objects.ob): Remove variable.
37141 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
37142 (CFLAGS-.ob): Remove variable.
37143 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
37144 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
37145 both definitions of variable.
37146 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
37147 (ASFLAGS-.ob): Remove variable.
37149 2013-02-14 Joseph Myers <joseph@codesourcery.com>
37152 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
37153 Remove __BOUNDED_POINTERS__ from condition.
37154 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
37155 * string/bits/string2.h [!__NO_STRING_INLINES &&
37156 !__BOUNDED_POINTERS__]: Likewise.
37157 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
37159 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
37160 Remove conditional code.
37161 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
37162 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
37163 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
37167 * csu/libc-start.c: Do not include <bp-sym.h>.
37168 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
37169 * elf/dl-open.c: Do not include <bp-sym.h>.
37170 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
37171 * math/fegetenv.c: Do not include <bp-sym.h>.
37172 (fegetenv): Do not use BP_SYM in versioned symbols.
37173 * nptl/sysdeps/pthread/bits/libc-lockP.h
37174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
37176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37177 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
37178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37179 (__pthread_mutex_destroy): Likewise.
37180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37181 (__pthread_mutex_lock): Likewise.
37182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37183 (__pthread_mutex_trylock): Likewise.
37184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37185 (__pthread_mutex_unlock): Likewise.
37186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37187 (__pthread_mutexattr_init): Likewise.
37188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37189 (__pthread_mutexattr_destroy): Likewise.
37190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37191 (__pthread_mutexattr_settype): Likewise.
37192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37193 (__pthread_rwlock_init): Likewise.
37194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37195 (__pthread_rwlock_destroy): Likewise.
37196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37197 (__pthread_rwlock_rdlock): Likewise.
37198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37199 (__pthread_rwlock_tryrdlock): Likewise.
37200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37201 (__pthread_rwlock_wrlock): Likewise.
37202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37203 (__pthread_rwlock_trywrlock): Likewise.
37204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37205 (__pthread_rwlock_unlock): Likewise.
37206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37207 (__pthread_key_create): Likewise.
37208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37209 (__pthread_setspecific): Likewise.
37210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37211 (__pthread_getspecific): Likewise.
37212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
37214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37215 (_pthread_cleanup_push_defer): Likewise.
37216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37217 (_pthread_cleanup_pop_restore): Likewise.
37218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
37219 (pthread_setcancelstate): Likewise.
37220 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
37222 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
37223 (memchr): Do not use BP_SYM in weak_alias.
37224 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
37225 (fegetenv): Do not use BP_SYM in versioned symbols.
37226 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
37227 (fesetenv): Do not use BP_SYM in versioned symbols.
37228 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37229 (feupdateenv): Do not use BP_SYM in versioned symbols.
37230 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37231 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37232 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
37233 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
37234 (open64): Do not use BP_SYM in weak_alias.
37235 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
37236 (fegetenv): Do not use BP_SYM in versioned symbols.
37237 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
37238 (fesetenv): Do not use BP_SYM in versioned symbols.
37239 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
37240 (feupdateenv): Do not use BP_SYM in versioned symbols.
37241 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
37242 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
37243 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
37244 (feraiseexcept): Do not use BP_SYM in versioned symbols.
37245 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
37246 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
37247 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
37249 (__libc_start_main): Do not use BP_SYM.
37251 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
37253 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
37254 redundant return line.
37256 (denorm): Likewise.
37257 (dbl_mp): Likewise.
37258 (sub_magnitudes): Likewise.
37264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
37266 (denorm): Likewise.
37267 (dbl_mp): Likewise.
37268 (sub_magnitudes): Likewise.
37275 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
37277 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37278 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
37281 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
37282 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
37283 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
37284 of __mul for squares.
37285 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
37287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
37289 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
37290 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37292 2013-02-13 Joseph Myers <joseph@codesourcery.com>
37295 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
37297 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
37298 prototype or function definition. Rename ubp_* variables and
37299 parameters. Remove argv definitions conditional on
37300 [__BOUNDED_POINTERS__].
37301 * debug/backtrace.c (__backtrace): Do not use __unbounded.
37302 * elf/dl-runtime.c (_dl_fixup): Likewise.
37303 * include/set-hooks.h (RUN_HOOK): Likewise.
37304 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
37306 * string/strcpy.c (strcpy): Do not use __unbounded.
37307 * sysdeps/generic/frame.h (struct layout): Likewise.
37308 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
37309 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
37310 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
37311 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
37312 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
37313 (__backtrace): Likewise.
37314 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
37316 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
37317 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
37318 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
37320 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
37321 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
37322 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
37323 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37324 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
37325 Do not use __unbounded.
37326 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
37327 Rename __unboundedrlimits parameter to rlimits in prototype.
37328 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
37329 Do not use __unbounded.
37330 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
37331 not use __ptrvalue.
37332 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37333 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
37334 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37335 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
37336 __ptrvalue or __unbounded.
37337 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
37338 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
37340 (__new_msgctl): Do not use __ptrvalue.
37341 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
37343 (__libc_msgrcv): Do not use __ptrvalue.
37344 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
37345 startup_info): Do not use __unbounded.
37346 (__libc_start_main): Likewise. Rename ubp_* variables and
37347 parameters. Remove argv definitions conditional on
37348 [__BOUNDED_POINTERS__].
37349 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
37351 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
37353 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
37355 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
37357 (__new_shmctl): Do not use __ptrvalue.
37358 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
37359 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
37361 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
37362 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
37363 (__libc_sigaction): Likewise.
37364 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
37365 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
37367 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37369 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
37371 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
37373 * string/mempcpy.c: Implement by calling memcpy.
37375 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37377 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
37379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
37382 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
37383 values in the mantissa.
37385 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
37386 minimize writes to Z.
37387 (sub_magnitudes): Simplify code a bit.
37389 2013-02-12 Roland McGrath <roland@hack.frob.com>
37391 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
37392 from the message. The linker prefixes all warnings with that already.
37394 2013-02-12 Andreas Schwab <schwab@suse.de>
37397 * posix/regexec.c (extend_buffers): Add parameter min_len.
37398 (check_matching): Pass minimum needed length.
37399 (clean_state_log_if_needed): Likewise.
37400 (get_subexp): Likewise.
37401 * posix/Makefile (tests): Add bug-regex34.
37402 (bug-regex34-ENV): Define.
37403 * posix/bug-regex34.c: New file.
37406 * posix/regcomp.c (parse_bracket_exp): When looking up collating
37407 elements compare against the byte sequence of it, not its name.
37408 * posix/Makefile (tests): Add bug-regex35.
37409 (bug-regex35-ENV): Define.
37410 * posix/bug-regex35.c: New file.
37412 2013-02-11 Tom de Vries <tom@codesourcery.com>
37414 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
37416 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
37417 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
37418 (CHECK_EOL): Add undef.
37420 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
37422 * bits/stdlib-bsearch.h: New file.
37423 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
37424 * stdlib/stdlib.h: Likewise.
37426 2013-02-11 Roland McGrath <roland@hack.frob.com>
37428 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
37429 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
37431 * manual/search.texi (Array Search Function): Add missing const in
37433 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
37434 declaration to use rlim_t.
37435 (Basic Scheduling Functions): Remove erroneous const from
37436 sched_getparam prototype. Remove erroneous * from
37437 sched_get_priority_max and sched_get_priority_min prototypes.
37438 (Resource Usage): Fix summary @comment on vtimes to refer to
37439 sys/vtimes.h rather than vtimes.h.
37440 Add missing *s in vtimes prototype.
37441 (Limits on Resources): Fix ulimit prototype to return long int.
37442 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
37443 prototypes to use long int rather than double.
37444 (BSD Random): Fix initstate and setstate to use char *, not void *.
37445 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
37446 prototype to make second argument 'struct aiocb64 *const[]'.
37447 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
37448 (Status of AIO Operations): Remove erroneous const in aio_return and
37449 aio_return64 prototypes.
37450 (Synchronizing I/O): Fix sync prototype to return void.
37451 * manual/startup.texi (Suboptions): Remove an erroneous const in
37452 getsubopt prototype.
37453 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
37454 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
37455 use size_t rather than int.
37456 (Scanning All Users): Likewise for getpwent_r.
37457 (Setting Groups): Add missing const to setgroups prototype.
37458 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
37459 * manual/socket.texi (Host Names): Fix gethostbyaddr and
37460 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
37461 'const void *' rather than 'const char *'.
37462 (Host Address Functions): Likewise for inet_ntop.
37463 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
37464 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
37465 ssize_t for return value.
37466 (Sending Data): Likewise for send, sendto, sendmsg.
37467 (Socket Option Functions): Add a missing const in setsockopt prototype.
37468 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
37469 use wchar_t for the argument.
37470 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
37471 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
37473 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
37474 double/float/long double for second argument.
37475 Fix return types of significand, significandf, significandl.
37476 * manual/filesys.texi (Setting Permissions): Use mode_t for second
37477 argument in fchmod prototype.
37478 (File Owner): Use uid_t and gid_t in fchown prototype.
37479 (File Times): Add const to utimes, futimes, and lutimes prototypes.
37480 (Making Special Files): Use mode_t and dev_t in mknod prototype.
37481 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
37482 use 'const struct dirent **' as argument types to CMP function pointer
37484 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
37485 (File Times): Fix summary magic @comment for struct utimbuf and utime
37486 to refer to utime.h, not time.h.
37487 * manual/string.texi (Argz Functions): Add missing const in
37488 argz_extract and argz_next prototypes.
37489 (Finding Tokens in a String): Likewise for basename.
37490 (String/Array Comparison): Fix typo in wcscasecmp prototype.
37491 (Copying and Concatenation): Fix typo in wmemmove prototype.
37492 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
37493 (Signal Stack): Remove erroneous const in sigstack prototype.
37494 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
37496 (Simple Calendar Time): Likewise for stime.
37497 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
37499 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
37500 say sys/sysctl.h instead.
37501 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
37502 and vsyslog prototypes.
37504 2013-02-11 Tom de Vries <tom@codesourcery.com>
37506 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
37509 2013-02-11 Roland McGrath <roland@hack.frob.com>
37511 * misc/sys/mman.h: Fix typo in mremap comment.
37513 2013-02-08 Roland McGrath <roland@hack.frob.com>
37515 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
37516 the '\0' terminator.
37518 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37521 * debug/segfault.c: Don't include <bp-checks.h>.
37522 * sysdeps/generic/bp-checks.h: Remove file.
37523 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
37524 (__GETDENTS): Don't use CHECK_N.
37525 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
37526 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37527 (__getgroups): Don't use CHECK_N.
37528 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
37529 (setgroups): Don't use CHECK_N.
37530 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
37531 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
37532 (__libc_msgrcv): Don't use CHECK_N.
37533 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
37534 (__libc_msgsnd): Don't use CHECK_N.
37535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
37537 (__libc_pread): Don't use CHECK_N.
37538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
37539 include <bp-checks.h>.
37540 (__libc_pread64): Don't use CHECK_N.
37541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
37542 include <bp-checks.h>.
37543 (__libc_pwrite): Don't use CHECK_N.
37544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37545 include <bp-checks.h>.
37546 (__libc_pwrite64): Don't use CHECK_N.
37547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37549 (__libc_pread): Don't use CHECK_N.
37550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37551 include <bp-checks.h>.
37552 (__libc_pread64): Don't use CHECK_N.
37553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37554 include <bp-checks.h>.
37555 (__libc_pwrite): Don't use CHECK_N.
37556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37557 include <bp-checks.h>.
37558 (__libc_pwrite64): Don't use CHECK_N.
37559 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37560 (do_pread): Don't use CHECK_N.
37561 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37562 (do_pread64): Don't use CHECK_N.
37563 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37564 (do_pwrite): Don't use CHECK_N.
37565 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37566 (do_pwrite64): Don't use CHECK_N.
37567 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37568 (__libc_readv): Don't use CHECK_N.
37569 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37570 (semop): Don't use CHECK_N.
37571 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37573 (semtimedop): Don't use CHECK_N.
37574 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37575 (__libc_pread): Don't use CHECK_N.
37576 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37578 (__libc_pread64): Don't use CHECK_N.
37579 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37581 (__libc_pwrite): Don't use CHECK_N.
37582 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37584 (__libc_pwrite64): Don't use CHECK_N.
37585 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37587 (__libc_msgrcv): Don't use CHECK_N.
37588 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37589 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
37590 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37591 (__libc_writev): Don't use CHECK_N.
37593 2013-02-08 Roland McGrath <roland@hack.frob.com>
37595 * string/strcpy.c: Removed unused variable.
37597 * Makeconfig (+sysdep-includes): Define with := rather than =.
37598 Use an existing include/ subdir of each sysdeps dir before it.
37600 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37602 * nscd/connection.c (register_traced_file): Comment function.
37603 [HAVE_INOTIFY] (union __inev): Define.
37604 [HAVE_INOTIFY] (inotify_check_files): New function.
37605 [HAVE_INOTIFY] (clear_db_cache): Likewise.
37606 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37608 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37610 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37612 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37613 loaded if not already and that a failure is permanent.
37615 2013-02-08 Carlos O'Donell <carlos@redhat.com>
37618 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37619 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37621 2013-02-08 Joseph Myers <joseph@codesourcery.com>
37624 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37625 (CHECK_1_NULL_OK): Likewise.
37626 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37627 (__fxstat): Do not use CHECK_1.
37628 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37630 (___fxstat64): Do not use CHECK_1.
37631 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37633 (__fxstatat): Do not use CHECK_1.
37634 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37636 (__fxstatat64): Do not use CHECK_1.
37637 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37639 (__fxstat): Do not use CHECK_1.
37640 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37642 (__fxstatat): Do not use CHECK_1.
37643 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37645 (__getresgid): Do not use CHECK_1.
37646 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37648 (__getresuid): Do not use CHECK_1.
37649 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37651 (__lxstat): Do not use CHECK_1.
37652 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37654 (__old_msgctl): Do not use CHECK_1.
37655 (__new_msgctl): Likewise.
37656 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37658 (__new_setrlimit): Do not use CHECK_1.
37659 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37661 (__old_shmctl): Do not use CHECK_1.
37662 (__new_shmctl): Likewise.
37663 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37665 (__xstat): Do not use CHECK_1.
37666 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37667 (__lxstat): Do not use CHECK_1.
37668 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37670 (___lxstat64): Do not use CHECK_1.
37671 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37672 (__old_msgctl): Do not use CHECK_1.
37673 (__new_msgctl): Likewise.
37674 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37676 (__gettimeofday): Do not use CHECK_1.
37677 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37678 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37679 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37681 (__gettimeofday): Do not use CHECK_1.
37682 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37683 (__old_shmctl): Do not use CHECK_1_NULL_OK.
37684 (__new_shmctl): Do not use CHECK_1.
37685 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37687 (do_sigtimedwait): Do not use CHECK_1.
37688 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37690 (do_sigwaitinfo): Do not use CHECK_1.
37691 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37693 (msgctl): Do not use CHECK_1.
37694 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37696 (shmctl): Do not use CHECK_1.
37697 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37698 (ustat): Do not use CHECK_1.
37699 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37701 (__fxstat): Do not use CHECK_1.
37702 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37704 (__fxstatat): Do not use CHECK_1.
37705 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37707 (__lxstat): Do not use CHECK_1.
37708 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37710 (__xstat): Do not use CHECK_1.
37711 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37712 (__xstat): Do not use CHECK_1.
37713 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37714 (___xstat64): Do not use CHECK_1.
37717 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37719 (CHECK_BOUNDS_HIGH): Likewise.
37720 * string/strcpy.c: Do not include <bp-checks.h>.
37721 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37723 2013-02-07 Roland McGrath <roland@hack.frob.com>
37725 * nscd/nscd-client.h (__nscd_drop_map_ref):
37726 Add __attribute__ ((unused)).
37727 * nis/nss-nisplus.h (niserr2nss): Likewise.
37729 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37730 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37732 * csu/libc-tls.c (init_static_tls, init_slotinfo):
37733 Remove inline keyword.
37734 * include/rounding-mode.h (round_away): Likewise.
37735 * libio/wfileops.c (adjust_wide_data): Likewise.
37736 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37737 (__m128i_strloadu_tolower): Likewise.
37738 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37739 (__m128i_strloadu_tolower): Likewise.
37740 * time/mktime.c (ydhms_diff): Likewise.
37741 * locale/elem-hash.h (elem_hash): Likewise.
37742 * locale/setlocale.c (setdata): Likewise.
37743 * posix/regex_internal.h (re_string_char_size_at): Likewise.
37744 (re_string_wchar_at): Likewise.
37745 (bitset_not, bitset_merge, bitset_mask): Likewise.
37746 [!(__GNUC__ > 3)] (inline): Remove macro.
37747 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37748 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37749 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37750 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37751 * string/memcmp.c (memcmp_bytes): Likewise.
37752 * locale/programs/locarchive.c (compute_hashval): Likewise.
37753 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37754 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37755 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37756 * nss/getent.c (print_rpc, print_protocols): Likewise.
37757 (print_passwd, print_group, print_aliases): Likewise.
37758 * nis/nss-nisplus.h (niserr2nss): Likewise.
37759 * nscd/connections.c (restart_p): Likewise.
37760 Change return type to bool.
37762 2013-02-05 Roland McGrath <roland@hack.frob.com>
37764 * Makeconfig (all-Depend-files): Add existing
37765 $(sorted-subdirs:=/Depend) files.
37766 (all-subdirs): Remove nss.
37767 * sysdeps/unix/inet/Subdirs: Add it here instead.
37768 * hesiod/Depend: New file.
37770 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37771 instead of calling alloca.
37773 * io/lseek.c (__lseek): Rename to __libc_lseek.
37774 Define __lseek as an alias.
37776 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37778 2013-02-04 Carlos O'Donell <carlos@redhat.com>
37780 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37781 else clause and remove check for non-standard endianness.
37783 2013-02-04 David S. Miller <davem@davemloft.net>
37785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37787 2013-02-04 Joseph Myers <joseph@codesourcery.com>
37790 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37791 (__ubp_memchr): Remove prototype.
37792 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37793 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37794 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37795 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37796 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37798 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37799 (__ubp_memchr): Likewise.
37800 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37801 (__ubp_memchr): Likewise.
37802 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37803 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37804 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37805 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37807 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37808 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37809 (__getcwd): Do not use CHECK_STRING.
37810 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37812 (__real_chown): Do not use CHECK_STRING.
37813 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37815 (fchownat): Do not use CHECK_STRING.
37816 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37818 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37820 (__lchown): Do not use CHECK_STRING.
37821 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37822 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37823 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37824 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37826 include <bp-checks.h>.
37827 (truncate64): Do not use CHECK_STRING.
37828 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37830 (__real_chown): Do not use CHECK_STRING.
37831 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37833 (__lchown): Do not use CHECK_STRING.
37834 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37836 (__chown): Do not use CHECK_STRING.
37837 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37839 (truncate64): Do not use CHECK_STRING.
37840 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37842 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37843 (__xmknod): Do not use CHECK_STRING.
37844 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37846 (__xmknodat): Do not use CHECK_STRING.
37847 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37848 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37850 2013-02-04 Andreas Schwab <schwab@suse.de>
37853 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37854 * include/netdb.h: Likewise for h_errno.
37855 * elf/tst-stackguard1.c: Include <tls.h>.
37857 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
37859 * elf/link.h (struct link_map): Extend the l_addr comment.
37860 * include/link.h (struct link_map): Likewise.
37862 2013-02-01 Joseph Myers <joseph@codesourcery.com>
37865 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37866 (BOUNDED_1): Remove macro.
37867 * debug/backtrace.c: Don't include <bp-checks.h>.
37868 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37869 (__backtrace): Likewise.
37870 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37872 (__backtrace): Don't use BOUNDED_1.
37873 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37875 (__backtrace): Don't use BOUNDED_1.
37876 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37877 (__backtrace): Don't use BOUNDED_1.
37878 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37879 (shmat): Don't use BOUNDED_N.
37881 2013-01-31 Joseph Myers <joseph@codesourcery.com>
37884 * sysdeps/generic/bp-start.h: Remove file.
37885 * csu/libc-start.c: Don't include <bp-start.h>.
37886 (LIBC_START_MAIN): Set up __environ directly instead of using
37887 INIT_ARGV_and_ENVIRON.
37888 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37892 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37894 (CHECK_FCNTL): Likewise.
37895 (CHECK_N_PAGES): Likewise.
37898 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37900 (CHECK_SIGSET_NULL_OK): Likewise.
37901 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37903 (sigpending): Don't use CHECK_SIGSET.
37904 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37906 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37907 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37909 (do_sigsuspend): Don't use CHECK_SIGSET.
37910 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37912 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37913 (do_sigwait): Don't use CHECK_SIGSET.
37914 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37916 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37917 include <bp-checks.h>.
37918 (sigpending): Don't use CHECK_SIGSET.
37919 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37920 include <bp-checks.h>.
37921 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37922 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37924 (sigpending): Don't use CHECK_SIGSET.
37925 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37927 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37930 * sysdeps/generic/bp-semctl.h: Remove file.
37931 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37932 <bp-checks.h> and <bp-semctl.h>.
37933 (__old_semctl): Don't use CHECK_SEMCTL.
37934 (__new_semctl): Likewise.
37935 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37937 (__old_semctl): Don't use CHECK_SEMCTL.
37938 (__new_semctl): Likewise.
37939 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37940 <bp-checks.h> and <bp-semctl.h>.
37941 (__old_semctl): Don't use CHECK_SEMCTL.
37942 (__new_semctl): Likewise.
37943 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37944 <bp-checks.h> and <bp-semctl.h>.
37945 (semctl): Don't use CHECK_SEMCTL.
37948 * Makerules (elide-bp-thunks): Remove variable.
37949 (elide-routines.oS): Don't use $(elide-bp-thunks).
37950 (elide-routines.os): Likewise.
37951 (elide-routines.o): Likewise.
37952 (elide-routines.op): Likewise.
37953 (elide-routines.og): Likewise.
37954 (objects): Don't use $(bp-thunks).
37955 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37957 (common-generated): Do not add s-proto-bp.d.
37958 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37961 Do not generate makefile rules for bounded-pointer thunks.
37962 * sysdeps/generic/bp-thunks.h: Remove file.
37963 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37964 * sysdeps/unix/s-proto-bp.S: Likewise.
37967 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37968 parts of result separately when argument is not close to line from
37969 -i to i and one part of argument is small.
37970 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37971 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37972 * math/libm-test.inc (cacos_test): Add more tests.
37973 (casin_test): Likewise.
37974 (casinh_test): Likewise.
37975 * sysdeps/i386/fpu/libm-test-ulps: Update.
37976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37978 2013-01-31 David S. Miller <davem@davemloft.net>
37980 * po/de.po: Update from translation team.
37982 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
37984 * time/tzfile.c: Include stdint.h for SIZE_MAX.
37986 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
37988 * configure.in (_AC_PROG_CC_C89): New definition.
37989 * configure: Regenerate.
37991 * configure.in (AC_PROG_CPP): New definition.
37992 * configure: Regenerate.
37994 2013-01-23 Joseph Myers <joseph@codesourcery.com>
37996 * debug/tst-backtrace.h: New file.
37997 * debug/tst-backtrace2.c: Include tst-backtrace.h.
37998 (ret): Remove variable.
38000 (FAIL): Remove macro.
38001 (NO_INLINE): Likewise.
38002 (fn1): Use match function instead of strstr.
38003 * debug/tst-backtrace3.c: Include tst-backtrace.h.
38004 (ret): Remove variable.
38006 (FAIL): Remove macro.
38007 (NO_INLINE): Likewise.
38008 (fn): Use match function instead of strstr.
38009 * debug/tst-backtrace4.c: Include tst-backtrace.h.
38010 (ret): Remove variable.
38012 (FAIL): Remove macro.
38013 (NO_INLINE): Likewise.
38014 (handle_signal): Use match function instead of strstr.
38015 * debug/tst-backtrace5.c: Include tst-backtrace.h.
38016 (ret): Remove variable.
38018 (FAIL): Remove macro.
38019 (NO_INLINE): Likewise.
38020 (handle_signal): Use match function instead of strstr.
38022 2013-01-23 Roland McGrath <roland@hack.frob.com>
38024 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
38026 2013-01-23 David S. Miller <davem@davemloft.net>
38028 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
38029 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
38030 argument of CAS if possible.
38031 * sysdeps/sparc/sparc64/bits/atomic.h
38032 (__arch_compare_and_exchange_val_32_acq): Likewise.
38033 (__arch_compare_and_exchange_val_64_acq): Likewise.
38035 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
38037 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
38038 * sysdeps/posix/ulimit.c: ... this.
38039 Include <limits.h>.
38040 * sysdeps/unix/bsd/ulimit.c: Remove file.
38042 2013-01-23 Adam Conrad <adconrad@0c3.net>
38044 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
38045 (LDFLAGS-tst-array5): Likewise.
38047 2013-01-23 Joseph Myers <joseph@codesourcery.com>
38050 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
38051 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
38052 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
38053 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
38055 2013-01-21 David S. Miller <davem@davemloft.net>
38057 * sysdeps/sparc/backtrace.c: New file.
38058 * sysdeps/sparc/sparc32/backtrace.h: New file.
38059 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
38060 * sysdeps/sparc/sparc64/backtrace.h: New file.
38061 * sysdeps/sparc/sparc64/backtrace.c: Delete.
38062 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
38065 2013-01-21 Andreas Schwab <schwab@suse.de>
38068 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
38071 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
38073 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
38075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38077 2013-01-18 Joseph Myers <joseph@codesourcery.com>
38078 Mark Mitchell <mark@codesourcery.com>
38079 Tom de Vries <tom@codesourcery.com>
38080 Paul Pluzhnikov <ppluzhnikov@google.com>
38082 * debug/tst-backtrace2.c: New file.
38083 * debug/tst-backtrace3.c: Likewise.
38084 * debug/tst-backtrace4.c: Likewise.
38085 * debug/tst-backtrace5.c: Likewise.
38086 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
38087 (CFLAGS-tst-backtrace3.c): Likewise.
38088 (CFLAGS-tst-backtrace4.c): Likewise.
38089 (CFLAGS-tst-backtrace5.c): Likewise.
38090 (LDFLAGS-tst-backtrace2): Likewise.
38091 (LDFLAGS-tst-backtrace3): Likewise.
38092 (LDFLAGS-tst-backtrace4): Likewise.
38093 (LDFLAGS-tst-backtrace5): Likewise.
38094 (tests): Add new tests tst-backtrace2, tst-backtrace3,
38095 tst-backtrace4 and tst-backtrace5.
38097 2013-01-18 Anton Blanchard <anton@samba.org>
38098 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
38100 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
38101 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
38102 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
38103 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
38104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38105 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
38106 "+r" and remove output regs list as redundant. Add explicit inline
38107 asm to specify register of return val to work around compiler codegen
38108 bug. Remove (int) cast on return value. Add return type parameter to
38109 use in macro so that this macro does not truncate return value for
38111 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
38112 pass to INTERNAL_VSYSCALL_NCS.
38113 (INLINE_VSYSCALL): Add 'long int' as return type to
38114 INTERNAL_VSYSCALL_NCS macro invocation.
38115 (INTERNAL_VSYSCALL): Add 'long int' as return type to
38116 INTERNAL_VSYSCALL_NCS macro invocation.
38117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38119 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38122 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
38123 Fix application of SIMD FP exception mask.
38125 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
38126 mp_no from a power of two.
38127 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
38128 __mpexp_twomm1. Use __pow_mp.
38130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
38133 2013-01-17 David S. Miller <davem@davemloft.net>
38135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38137 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38140 * include/complex.h: Condition contents on [!_COMPLEX_H].
38141 (__kernel_casinhf): New prototype.
38142 (__kernel_casinh): Likewise.
38143 (__kernel_casinhl): Likewise.
38144 * math/Makefile (libm_calls): Add k_casinh.
38145 * math/k_casinh.c: New file.
38146 * math/k_casinhf.c: Likewise.
38147 * math/k_casinhl.c: Likewise.
38148 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
38149 finite nonzero arguments.
38150 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
38151 finite nonzero arguments.
38152 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
38153 finite nonzero arguments.
38154 * math/s_casinh.c: Do not include <float.h>.
38155 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
38156 * math/s_casinhf.c: Do not include <float.h>.
38157 (__casinhf): Move code for finite nonzero arguments to
38159 * math/s_casinhl.c: Do not include <float.h>.
38160 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
38162 (__casinhl): Move code for finite nonzero arguments to
38164 * math/libm-test.inc (cacos_test): Add more tests.
38165 * sysdeps/i386/fpu/libm-test-ulps: Update.
38166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38168 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
38170 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
38171 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
38172 [!HAVE_MREMAP]: Remove [defined linux] case.
38173 * malloc/arena.c: Do not include <malloc-sysdep.h>.
38175 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
38177 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
38179 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
38181 * elf/elf.h (R_386_SIZE32): New relocation.
38182 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
38184 (elf_machine_rela): Likewise.
38185 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38186 R_X86_64_SIZE64 and R_X86_64_SIZE32.
38188 2013-01-17 Joseph Myers <joseph@codesourcery.com>
38190 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
38191 (FP_FAST_FMA): Do not define.
38192 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
38193 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
38194 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
38195 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
38196 !_SOFT_FLOAT]: Likewise.
38197 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
38198 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
38200 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
38201 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
38202 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
38203 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
38204 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
38205 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
38208 2013-01-16 Andreas Schwab <schwab@suse.de>
38211 * include/stdlib.h (__mktemp): Add declaration.
38212 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
38213 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
38215 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
38217 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
38219 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38220 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
38221 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
38223 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
38224 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
38226 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
38228 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
38229 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
38230 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
38232 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
38233 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
38235 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38237 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
38239 2013-01-15 David S. Miller <davem@davemloft.net>
38241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38242 trunc{,f} to libm-sysdep_routes.
38243 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
38246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
38247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
38249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
38251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
38252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
38253 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
38254 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
38255 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
38256 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
38257 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
38258 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
38260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38261 nearbyint{,f} to libm-sysdep_routes.
38262 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
38265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
38267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
38269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
38271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
38272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
38273 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
38275 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
38276 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
38278 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
38279 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
38280 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
38282 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
38283 libc_feholdexcept and libc_fesetenv.
38285 2013-01-15 Mike Frysinger <vapier@gentoo.org>
38287 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
38289 2013-01-14 David S. Miller <davem@davemloft.net>
38291 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
38292 (SPARC_ASM_VIS2_IFUNC): Likewise.
38293 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
38294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
38295 use of 'siam' instruction.
38296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
38298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
38300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
38302 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
38303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
38304 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
38305 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
38306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
38308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
38310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
38312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
38314 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
38315 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
38316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
38317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
38318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
38320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38325 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
38329 routines to libm-sysdep_routines.
38330 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
38332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
38333 fdim/fdimf to libm-sysdep_routines.
38334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
38336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
38337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
38339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
38340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
38341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
38342 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
38343 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
38344 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
38345 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
38347 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38349 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
38350 to optimize copies.
38352 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
38353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
38357 local variable MPTWO.
38358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38361 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38363 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
38366 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38368 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
38370 2013-01-13 Mike Frysinger <vapier@gentoo.org>
38372 * manual/pattern.texi (glob_t): Document gl_flags.
38373 (glob64_t): Likewise.
38375 2013-01-11 David S. Miller <davem@davemloft.net>
38377 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
38378 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
38379 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
38380 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
38381 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
38382 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
38383 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
38384 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
38385 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
38386 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
38387 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
38388 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
38389 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
38391 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38392 sparc V9 rather than using V8 code.
38393 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38394 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38396 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38398 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
38401 2013-01-11 Roland McGrath <roland@hack.frob.com>
38403 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
38404 not in the main loop.
38405 * configure: Regenerated.
38407 2013-01-11 Joseph Myers <joseph@codesourcery.com>
38409 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
38410 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
38412 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
38413 [!__GLIBC_HAVE_LONG_LONG] case.
38414 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
38415 condition to just #else.
38416 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
38417 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
38418 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
38419 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
38421 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
38422 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38423 #elif condition to just #else.
38424 * sysdeps/unix/sysv/linux/sys/sysmacros.h
38425 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
38426 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
38427 #elif condition to just #else.
38429 2013-01-11 Steve Ellcey <sellcey@mips.com>
38431 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
38432 (EF_MIPS_ARCH_64): Fix value.
38433 (EF_MIPS_ARCH_32R2): New.
38434 (EF_MIPS_ARCH_64R2): New.
38436 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
38438 * Makeconfig (+link-pie-before-libc): New.
38439 (+link-pie-after-libc): Likewise.
38440 (+link-pie-tests): Likewise.
38441 (+link-pie): Rewritten.
38442 (link-before-libc): Remove $(config-LDFLAGS).
38443 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
38444 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
38445 (config-LDFLAGS): Renamed to ...
38446 (rtld-LDFLAGS): This.
38447 (rtld-tests-LDFLAGS): New macro.
38448 (link-libc-rpath-link): Likewise.
38449 (link-libc-tests-rpath-link): Likewise.
38450 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
38451 (link-libc): Prepand $(link-libc-rpath-link).
38452 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
38453 (test-program-prefix): New macro.
38454 (test-via-rtld-prefix): Likewise.
38455 (test-program-cmd): Likewise.
38456 (host-test-program-cmd): Likewise.
38457 * Makefile ($(common-objpfx)testrun.sh): Replace
38458 $(run-program-prefix) with $(test-program-prefix).
38459 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
38461 ($(common-objpfx)shlib.lds): Likewise.
38462 (build-module-helper): Likewise.
38463 ($(common-objpfx)format.lds): Likewise.
38464 * Rules (binaries-pie-tests): New.
38465 (binaries-pie-notests): Likewise.
38466 (binaries-pie): Rewritten.
38467 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
38468 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
38469 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
38470 (make-test-out): Replace $(host-built-program-cmd) with
38471 $(host-test-program-cmd).
38472 * config.make.in (build-hardcoded-path-in-tests): New variable.
38473 * configure.in (--enable-hardcoded-path-in-tests): New configure
38475 (hardcoded_path_in_tests): New AC_SUBST.
38476 * configure: Regenerated.
38477 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
38478 $(built-program-cmd) with $(test-program-cmd).
38479 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
38480 (test_program_cmd): This.
38481 * elf/Makefile ($(objpfx)order.out): Run test with
38482 $(test-program-prefix).
38483 ($(objpfx)order2.out): Likewise.
38484 ($(objpfx)tst-initorder.out): Likewise.
38485 ($(objpfx)tst-initorder2.out): Likewise.
38486 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
38487 $(test-program-cmd).
38488 ($(objpfx)tst-array1-static.out): Likewise.
38489 ($(objpfx)tst-array2.out): Likewise.
38490 ($(objpfx)tst-array3.out): Likewise.
38491 ($(objpfx)tst-array4.out): Likewise.
38492 ($(objpfx)tst-array5.out): Likewise.
38493 ($(objpfx)tst-array5-static.out): Likewise.
38494 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
38495 $(test-program-cmd).
38496 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
38497 $(run-program-prefix) with $(test-program-prefix).
38498 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
38499 (test_program_prefix): This.
38500 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
38501 $(run-program-prefix) with $(test-program-prefix).
38502 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
38503 (test_program_prefix): This.
38504 * iconvdata/tst-tables.sh: Likewise.
38505 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
38506 $(run-program-prefix) with $(test-program-prefix).
38507 ($(objpfx)tst-translit.out): Likewise.
38508 ($(objpfx)tst-gettext2.out): Likewise.
38509 ($(objpfx)tst-gettext4.out): Likewise.
38510 ($(objpfx)tst-gettext6.out): Likewise.
38511 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
38512 (test_program_prefix): This.
38513 * intl/tst-gettext2.sh: Likewise.
38514 * intl/tst-gettext4.sh Likewise.
38515 * intl/tst-gettext6.sh: Likewise.
38516 * intl/tst-translit.sh: Likewise.
38517 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
38518 with $(test-program-cmd).
38519 * libio/Makefile ($(objpfx)test-freopen.out): Replace
38520 $(run-program-prefix) with $(test-program-prefix).
38521 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
38522 (test_program_prefix): This.
38523 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
38524 $(run-program-prefix) with $(test-program-prefix).
38525 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
38526 (test_program_prefix): This.
38527 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
38528 * posix/Makefile ($(objpfx)globtest.out): Replace
38529 $(run-via-rtld-prefix) and $(test-wrapper) with
38530 $(test-program-prefix) and $(test-via-rtld-prefix).
38531 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
38532 $(test-program-prefix).
38533 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
38534 $(host-test-program-cmd).
38535 (tst-spawn-ARGS): Likewise.
38536 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
38537 $(test-program-prefix).
38538 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
38539 (test_via_rtld_prefix): This.
38540 (test_wrapper): Renamed to ...
38541 (test_program_prefix): This.
38542 (run_program_prefix): Replaced by test_program_prefix.
38543 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
38544 (test_program_prefix): This.
38545 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38546 with $(host-test-program-cmd).
38547 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38548 $(run-program-prefix) with $(test-program-prefix).
38549 ($(objpfx)tst-printf.out): Likewise.
38550 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38551 $(test-program-cmd).
38552 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38553 (test_program_prefix): This.
38554 * stdio-common/tst-unbputc.sh: Likewise.
38555 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38556 $(run-program-prefix) with $(test-program-prefix).
38557 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38558 (test_program_prefix): This.
38559 * string/Makefile ($(objpfx)tst-svc.out): Replace
38560 $(built-program-cmd) with $(test-program-cmd).
38562 2013-01-11 Andreas Jaeger <aj@suse.de>
38565 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38566 value. Sync with Linux 3.7.
38568 2013-01-10 David S. Miller <davem@davemloft.net>
38570 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38571 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38572 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38574 2013-01-10 Roland McGrath <roland@hack.frob.com>
38576 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38578 * configure: Regenerated.
38580 2013-01-10 David S. Miller <davem@davemloft.net>
38582 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38583 sparc V9 rather than using V8 code.
38584 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38585 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38587 2013-01-10 Roland McGrath <roland@hack.frob.com>
38589 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38590 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38591 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38592 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38593 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38594 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38595 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38596 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38597 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38598 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38599 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38600 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38601 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38602 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38603 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38604 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38605 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38606 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38607 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38608 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38609 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38610 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38611 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38612 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38613 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38614 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38615 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38617 2013-01-10 David S. Miller <davem@davemloft.net>
38619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38621 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38623 * posix/Makefile (tests-static): New variable.
38624 (tests): Add $(tests-static).
38625 (tst-exec-static-ARGS): New variable.
38626 (tst-spawn-static-ARGS): Likewise.
38627 * posix/tst-exec-static.c: New file.
38628 * posix/tst-spawn-static.c: Likewise.
38629 * posix/tst-exec.c: Support run directly.
38630 * posix/tst-spawn.c: Likewise.
38632 2013-01-10 Joseph Myers <joseph@codesourcery.com>
38634 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38636 * math/bits/mathcalls.h (llrint): Likewise.
38637 (llround): Likewise.
38638 * stdlib/stdlib.h (struct drand48_data): Likewise.
38639 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38640 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38641 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38643 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38645 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38646 (elf_greg_t): Likewise.
38647 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38648 (__jmp_buf): Likewise.
38649 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38651 (llrint): Likewise, for all definitions.
38652 (llrintl): Likewise.
38654 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38655 Remove [__GNUC__] condition.
38656 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38657 condition to just [__USE_ISOC99].
38658 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38660 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
38663 * sysdeps/unix/sysv/linux/x86/bits/environments.h
38664 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38666 (_POSIX_V6_ILP32_OFF32): Likewise.
38667 (_XBS5_ILP32_OFF32): Likewise.
38668 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38669 (__ILP32_OFFBIG_LDFLAGS): Likewise.
38671 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38673 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38676 doubles __mpexp_twomm1. Adjust usage.
38677 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38680 2013-01-10 Andreas Schwab <schwab@suse.de>
38683 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38684 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38686 2013-01-09 David S. Miller <davem@davemloft.net>
38689 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38690 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38691 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38692 (TCP_FASTOPEN): Define.
38693 (tcp_repair_opt): New structure.
38694 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38696 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38697 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38698 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38699 (tcp_cookie_transactions): New structure.
38701 2013-01-09 Anton Blanchard <anton@samba.org>
38703 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38704 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38705 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38706 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38708 2013-01-09 Joseph Myers <joseph@codesourcery.com>
38710 * include/features.h (__USE_ANSI): Remove.
38712 2013-01-09 Roland McGrath <roland@hack.frob.com>
38714 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38716 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38718 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
38720 * sysdeps/s390/fpu/libm-test-ulps: Update.
38722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38724 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38728 (denorm): Likewise.
38729 (__mp_dbl): Likewise.
38730 (__dbl_mp): Likewise.
38731 (add_magnitudes): Likewise.
38732 (sub_magnitudes): Likewise.
38738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38742 (denorm): Likewise.
38743 (__mp_dbl): Likewise.
38744 (__dbl_mp): Likewise.
38745 (add_magnitudes): Likewise.
38746 (sub_magnitudes): Likewise.
38752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38756 (denorm): Likewise.
38757 (__mp_dbl): Likewise.
38758 (__dbl_mp): Likewise.
38759 (add_magnitudes): Likewise.
38760 (sub_magnitudes): Likewise.
38767 2013-01-08 Joseph Myers <joseph@codesourcery.com>
38769 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38770 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38771 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38772 2 && __USE_EXTERN_INLINES]: Likewise.
38774 2013-01-08 Andreas Jaeger <aj@suse.de>
38777 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38779 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38780 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38782 2013-01-07 Anton Blanchard <anton@samba.org>
38784 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38785 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38786 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38787 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38788 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38789 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38790 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38791 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38793 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38794 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38795 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38796 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38797 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38798 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38799 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38800 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38801 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38802 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38803 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38804 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38805 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38806 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38807 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38808 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38809 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38810 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38811 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38812 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38813 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38814 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38816 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38817 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38818 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38819 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38820 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38821 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38822 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38823 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38824 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38825 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38826 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38828 2013-01-07 Joseph Myers <joseph@codesourcery.com>
38830 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38831 (__MALLOC_PMT): Likewise.
38832 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38833 [__GNUC__], only on [_LIBC].
38834 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38835 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38836 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38837 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38838 forward declaration.
38839 (realloc_hook_ini): Likewise.
38840 (memalign_hook_ini): Likewise.
38841 (__libc_memalign): Do not use __MALLOC_PMT in variable
38843 (__libc_valloc): Likewise.
38844 (__libc_pvalloc): Likewise.
38845 (__libc_calloc): Likewise.
38846 (__posix_memalign): Likewise.
38849 * math/s_casinh.c: Include <float.h>.
38850 (__casinh): Do not do computation with squaring and square root
38851 for large arguments.
38852 * math/s_casinhf.c: Include <float.h>.
38853 (__casinhf): Do not do computation with squaring and square root
38854 for large arguments.
38855 * math/s_casinhl.c: Include <float.h>.
38856 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38857 (__casinhl): Do not do computation with squaring and square root
38858 for large arguments.
38859 * math/libm-test.inc (casin_test): Add more tests.
38860 (casinh_test): Likewise.
38861 * sysdeps/i386/fpu/libm-test-ulps: Update.
38862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38864 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
38866 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38867 (__x86_64_raw_data_cache_size): Likewise.
38868 (__x86_64_data_cache_size_half): Likewise.
38869 (__x86_64_raw_data_cache_size_half): Likewise.
38870 (__x86_64_shared_cache_size): Likewise.
38871 (__x86_64_raw_shared_cache_size): Likewise.
38872 (__x86_64_shared_cache_size_half): Likewise.
38873 (__x86_64_raw_shared_cache_size_half): Likewise.
38874 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38876 (__x86_data_cache_size): This.
38877 (__x86_64_raw_data_cache_size): Renamed to ...
38878 (__x86_raw_data_cache_size): This.
38879 (__x86_64_data_cache_size_half): Renamed to ...
38880 (__x86_data_cache_size_half): This.
38881 (__x86_64_raw_data_cache_size_half): Renamed to ...
38882 (__x86_raw_data_cache_size_half): This.
38883 (__x86_64_shared_cache_size): Renamed to ...
38884 (__x86_shared_cache_size): This.
38885 (__x86_64_raw_shared_cache_size): Renamed to ...
38886 (__x86_raw_shared_cache_size): This.
38887 (__x86_64_shared_cache_size_half): Renamed to ...
38888 (__x86_shared_cache_size_half): This.
38889 (__x86_64_raw_shared_cache_size_half): Renamed to ...
38890 (__x86_raw_shared_cache_size_half): This.
38891 * sysdeps/x86_64/memcpy.S: Updated.
38892 * sysdeps/x86_64/memset.S: Likewise.
38893 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38894 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38895 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38897 2013-01-04 David S. Miller <davem@davemloft.net>
38899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38901 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
38903 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38904 1 to avoid redefinition warning.
38905 (__USE_GNU): Don't define.
38906 (init_signaling_nan): Protoize.
38908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38910 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38912 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38914 (__cpymn): Likewise.
38915 (norm): Remove commented code.
38916 (denorm): Likewise.
38917 (__mp_dbl): Likewise.
38919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38920 (__cpymn): Likewise.
38921 (norm): Remove commented code.
38922 (denorm): Likewise.
38923 (__mp_dbl): Likewise.
38926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38927 mp_no value for 1.0 and 2.0.
38928 (norm): Use RADIXI instead of radixi.d.
38929 (denorm): Likewise.
38930 (__mul): Use 0.0 instead of zero.d.
38931 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38932 mp_no value for 1.0 and 2.0.
38933 (norm): Use RADIXI instead of radixi.d.
38934 (denorm): Likewise.
38935 (__mul): Use 0.0 instead of zero.d.
38937 2013-01-04 Joseph Myers <joseph@codesourcery.com>
38940 * math/s_casinh.c (__casinh): Reduce finite argument to first
38941 quadrant then set signs of results at the end.
38942 * math/s_casinhf.c (__casinhf): Likewise.
38943 * math/s_casinhl.c (__casinhl): Likewise.
38944 * math/libm-test.inc (casin_test): Add more tests.
38945 (casinh_test): Likewise.
38946 * sysdeps/i386/fpu/libm-test-ulps: Update.
38947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38949 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38951 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38953 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38955 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38957 (denorm): Likewise.
38958 (__mp_dbl): Likewise.
38961 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38962 and adjust the header comment.
38964 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38965 variable name from declaration.
38967 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
38969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38970 Initialize COMMON_CPUID_INDEX_7 element.
38971 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38972 (CPUID_RTM): Likewise.
38973 (HAS_RTM): Likewise.
38974 (COMMON_CPUID_INDEX_7): New enum.
38976 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
38979 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38980 size is zero, record memory as freed.
38982 2013-01-03 Andreas Jaeger <aj@suse.de>
38984 * po/ia.po: Add new Interlingua translation.
38986 2012-01-03 Allan McRae <allan@archlinux.org>
38988 * locale/programs/localedef.c: Fix description of '--posix' flag.
38990 2013-01-02 Joseph Myers <joseph@codesourcery.com>
38992 * NEWS: Update dates in second copyright notice.
38993 * README: Update copyright dates in example.
38994 * manual/libc.texinfo: Update copyright dates.
38995 * scripts/test-installation.pl: Update copyright date in --version
38998 * hurd/ctty-input.c: Fix copyright notice formatting.
38999 * hurd/ctty-output.c: Likewise.
39000 * hurd/dtable.c: Likewise.
39001 * hurd/hurd-raise.c: Likewise.
39002 * hurd/hurdprio.c: Likewise.
39003 * hurd/msgportdemux.c: Likewise.
39004 * misc/sys/file.h: Likewise.
39005 * misc/sys/ioctl.h: Likewise.
39006 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39007 * sysdeps/mach/hurd/chdir.c: Likewise.
39008 * sysdeps/mach/hurd/fchdir.c: Likewise.
39009 * sysdeps/mach/hurd/rename.c: Likewise.
39010 * sysdeps/mach/hurd/rmdir.c: Likewise.
39011 * sysdeps/mach/hurd/seekdir.c: Likewise.
39012 * sysdeps/mach/hurd/setsid.c: Likewise.
39013 * sysdeps/posix/wait3.c: Likewise.
39015 * All files with FSF copyright notices: Update copyright dates
39016 using scripts/update-copyrights.
39017 * intl/plural.c: Regenerated.
39018 * locale/programs/charmap-kw.h: Likewise.
39019 * locale/programs/locfile-kw.h: Likewise.
39021 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39023 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
39026 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
39027 calculation loop and add branch prediction.
39029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
39030 check access beyond bounds of m1np.
39032 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39034 (__inv): Remove local variable MPTWO to use the global
39036 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
39037 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39039 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
39040 MP3HALFS static const.
39042 2013-01-01 David S. Miller <davem@davemloft.net>
39044 * po/ca.po: Update from translation team.
39046 2013-01-01 Joseph Myers <joseph@codesourcery.com>
39048 * scripts/update-copyrights: New file.
39049 * Makeconfig: Reformat copyright notice.
39050 * ctype/ctype.h: Likewise.
39051 * debug/swprintf_chk.c: Likewise.
39052 * elf/dl-cache.c: Likewise.
39053 * elf/dl-debug.c: Likewise.
39054 * elf/dl-object.c: Likewise.
39055 * grp/initgroups.c: Likewise.
39056 * hurd/Makefile: Likewise.
39057 * hurd/hurd/signal.h: Likewise.
39058 * hurd/hurdfault.c: Likewise.
39059 * hurd/hurdioctl.c: Likewise.
39060 * hurd/hurdlookup.c: Likewise.
39061 * hurd/intr-msg.c: Likewise.
39062 * iconv/gconv_open.c: Likewise.
39063 * libio/swprintf.c: Likewise.
39064 * locale/lc-ctype.c: Likewise.
39065 * locale/nl_langinfo.c: Likewise.
39066 * mach/Machrules: Likewise.
39067 * mach/Makefile: Likewise.
39068 * malloc/obstack.h: Likewise.
39069 * manual/Makefile: Likewise.
39070 * manual/tsort.awk: Likewise.
39071 * misc/bits/stab.def: Likewise.
39072 * nis/nis_print_group_entry.c: Likewise.
39073 * nis/nis_table.c: Likewise.
39074 * nis/nss_compat/compat-pwd.c: Likewise.
39075 * nis/nss_compat/compat-spwd.c: Likewise.
39076 * po/Makefile: Likewise.
39077 * posix/fnmatch.c: Likewise.
39078 * posix/regex.h: Likewise.
39079 * resolv/Makefile: Likewise.
39080 * resolv/nss_dns/dns-network.c: Likewise.
39081 * resolv/res_hconf.c: Likewise.
39082 * scripts/gen-sorted.awk: Likewise.
39083 * soft-fp/soft-fp.h: Likewise.
39084 * stdio-common/printf.h: Likewise.
39085 * stdlib/monetary.h: Likewise.
39086 * stdlib/random.c: Likewise.
39087 * stdlib/random_r.c: Likewise.
39088 * sysdeps/generic/Makefile: Likewise.
39089 * sysdeps/gnu/Makefile: Likewise.
39090 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39091 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39092 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39093 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39094 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39095 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39096 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39097 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39098 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39099 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39100 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39101 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39102 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39103 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39104 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
39105 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39106 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39107 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39108 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39109 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39110 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39111 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39112 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39113 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39114 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
39115 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39116 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39117 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
39118 * sysdeps/mach/hurd/errnos.awk: Likewise.
39119 * sysdeps/mach/hurd/fork.c: Likewise.
39120 * sysdeps/mach/hurd/getcwd.c: Likewise.
39121 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
39122 * sysdeps/mach/hurd/mmap.c: Likewise.
39123 * sysdeps/mach/hurd/utimes.c: Likewise.
39124 * sysdeps/mach/hurd/xmknod.c: Likewise.
39125 * sysdeps/posix/profil.c: Likewise.
39126 * sysdeps/posix/readdir_r.c: Likewise.
39127 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39128 * sysdeps/powerpc/bits/setjmp.h: Likewise.
39129 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
39130 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
39131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39132 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39133 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39134 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39136 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39137 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39138 * sysdeps/pthread/lio_listio.c: Likewise.
39139 * sysdeps/sparc/dl-procinfo.h: Likewise.
39140 * sysdeps/unix/i386/sysdep.S: Likewise.
39141 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
39142 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
39143 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
39144 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
39145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39146 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
39147 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
39148 * sysdeps/unix/sysv/linux/speed.c: Likewise.
39149 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
39150 * sysdeps/wordsize-32/divdi3.c: Likewise.
39151 * time/sys/time.h: Likewise.
39152 * wcsmbs/Makefile: Likewise.
39154 2013-01-01 David S. Miller <davem@davemloft.net>
39156 * po/fr.po: Update from translation team.
39158 * catgets/gencat.c: Update copyright year.
39159 * csu/version.c: Likewise.
39160 * debug/catchsegv.sh: Likewise.
39161 * debug/pcprofiledump.c: Likewise.
39162 * debug/xtrace.sh: Likewise.
39163 * elf/ldconfig.c: Likewise.
39164 * elf/ldd.bash.in: Likewise.
39165 * elf/pldd.c: Likewise.
39166 * elf/sotruss.ksh: Likewise.
39167 * elf/sprof.c: Likewise.
39168 * iconv/iconv_prog.c: Likewise.
39169 * iconv/iconvconfig.c: Likewise.
39170 * locale/programs/locale.c: Likewise.
39171 * locale/programs/localedef.c: Likewise.
39172 * login/programs/pt_chown.c: Likewise.
39173 * malloc/memusage.sh: Likewise.
39174 * malloc/memusagestat.c: Likewise.
39175 * malloc/mtrace.pl: Likewise.
39176 * nscd/nscd.c: Likewise.
39177 * nss/getent.c: Likewise.
39178 * nss/makedb.c: Likewise.
39179 * posix/getconf.c: Likewise.
39181 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
39183 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
39186 2012-12-30 Mike Frysinger <vapier@gentoo.org>
39188 * math/bits/mathcalls.h (modf): Use __nonnull.
39190 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39192 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
39193 (split): Use macro CN instead of the bare value.
39194 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
39196 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
39197 instead of the bare value.
39198 (power1): Likewise.
39200 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39202 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
39204 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39206 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
39208 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39209 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39210 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
39211 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39213 2012-12-28 Andreas Jaeger <aj@suse.de>
39215 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
39216 values are from Linux 3.7.
39218 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
39219 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
39221 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39223 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
39226 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
39228 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
39229 variables with preprocessor constants.
39230 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39231 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39232 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39234 2012-12-27 Bruno Haible <bruno@clisp.org>
39237 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
39240 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39242 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
39243 and use variable directly.
39244 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
39246 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
39248 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
39249 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
39251 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39252 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39253 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
39254 include directive. Remove local variable MPONE.
39255 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
39256 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
39257 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39259 2012-12-25 David S. Miller <davem@davemloft.net>
39261 * version.h (RELEASE): Set to "development".
39262 (VERSION): Set to "2.17.90".
39263 * NEWS: Add 2.18 section.
39265 2012-12-21 David S. Miller <davem@davemloft.net>
39267 * po/hr.po: Update from translation team.
39269 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39271 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
39273 2012-12-19 Steve Ellcey <sellcey@mips.com>
39275 * NEWS: Mention new memcpy for MIPS.
39277 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39279 * manual/contrib.texi (Contributors): Spelling correction.
39281 2012-12-15 David S. Miller <davem@davemloft.net>
39283 * po/ru.po: Update from translation team.
39285 2012-12-13 David S. Miller <davem@davemloft.net>
39287 * NEWS: Mention IFUNC testsuite enhancements.
39289 * po/pl.po: Update from translation team.
39290 * po/bg.po: Likewise.
39292 * manual/contrib.texi (Contributors): Update entries for Hongjiu
39293 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
39295 2012-12-11 David S. Miller <davem@davemloft.net>
39297 * po/sv.po: Update from translation team.
39299 * po/vi.po: Update from translation team.
39301 * po/cs.po: Update from translation team.
39303 * po/de.po: Update from translation team.
39304 * po/eo.po: Likewise.
39305 * po/nl.po: Likewise.
39307 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39310 * manual/argp.texi (Argp Helper Functions): Move node to follow
39311 Argp Parsing State.
39314 * manual/conf.texi (Limits on File System Capacity): Mention if
39315 terminating null is included in the max size.
39317 2012-12-10 Andreas Jaeger <aj@suse.de>
39319 * po/cs.po: Update from translation team.
39321 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
39323 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
39324 void pointer and cast to uintptr_t.
39325 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
39327 * sysdeps/s390/s390-64/memcpy.S: Likewise.
39328 * sysdeps/s390/s390-64/memset.S: Likewise.
39330 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
39333 * menual/message.texi (Message Translation): Fix typos.
39334 (Helper programs for gettext): Likewise.
39336 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
39339 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
39342 2012-12-07 David S. Miller <davem@davemloft.net>
39344 * po/libc.pot: Update.
39346 2012-12-07 Richard Henderson <rth@redhat.com>
39349 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
39350 normal/normal case to before the switch.
39351 (_FP_DIV): Likewise.
39353 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
39354 Mike Frysinger <vapier@gentoo.org>
39356 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
39357 check for __NR_fadvise64_64.
39359 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
39361 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
39362 0, not just to plain "0" as a statement.
39363 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
39366 2012-12-06 Joseph Myers <joseph@codesourcery.com>
39368 * NEWS: Use sourceware.org in Bugzilla URL.
39370 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
39373 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39375 * stdio-common/tst-put-error.c (do_test): Add newline to the
39376 padded test to ensure flush.
39378 2012-12-05 Jeff Law <law@redhat.com>
39380 * sunrpc/etc.rpc (fedfs_admin): Add entry.
39382 2012-12-05 Joseph Myers <joseph@codesourcery.com>
39384 * README: Don't refer to ports add-on as distributed separately.
39385 Mention AArch64 in list of systems supported in the ports add-on.
39387 * LICENSES: Add more non-FSF copyright and license notices.
39389 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
39392 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
39394 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
39395 10000 as width of padded output.
39397 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39399 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
39401 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
39402 variable LX with __attribute__ ((unused)).
39403 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39405 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39407 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
39408 with __attribute__ ((unused)).
39410 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
39412 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
39414 2012-12-04 Joseph Myers <joseph@codesourcery.com>
39416 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
39417 (CFLAGS-nldbl-acos.c): New variable.
39418 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
39419 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
39420 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
39421 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
39422 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
39423 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
39424 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
39425 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
39426 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
39427 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
39428 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
39429 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
39430 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
39431 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
39432 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
39433 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
39434 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
39435 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
39436 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
39437 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
39438 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
39439 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
39440 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
39441 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
39442 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
39443 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
39444 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
39445 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
39446 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
39447 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
39448 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
39449 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
39450 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
39451 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
39452 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
39453 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
39454 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
39455 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
39456 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
39457 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
39458 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
39459 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
39460 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
39461 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
39462 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
39463 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
39464 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
39465 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
39466 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
39467 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
39468 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
39469 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
39470 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
39471 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
39472 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
39473 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
39474 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
39475 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
39476 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
39477 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
39478 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
39479 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
39480 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
39481 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
39482 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
39483 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
39484 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
39485 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
39486 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
39487 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
39488 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
39489 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
39490 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
39491 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
39492 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
39493 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
39494 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
39495 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
39496 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
39497 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
39498 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
39499 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
39500 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
39501 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
39502 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
39503 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
39504 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
39505 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
39506 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
39507 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
39508 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
39509 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
39510 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
39511 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
39512 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
39513 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
39514 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
39516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39517 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
39520 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
39521 whole low double instead of just low 47 bits when splitting values
39524 2012-12-03 Allan McRae <allan@archlinux.org>
39526 * manual/stdio.texi (Predefined Printf Handlers): Remove
39527 @hsep and @vsep usage.
39529 2012-12-03 Mike Frysinger <vapier@gentoo.org>
39531 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
39532 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
39534 2012-12-03 Jeff Law <law@redhat.com>
39536 * time/sys/time.h (settimeofday): Do not mark TV argument
39539 2012-12-01 Mike Frysinger <vapier@gentoo.org>
39541 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
39542 when currently writing and seek to current position when not.
39543 * libio/Makefile (tests): Remove bug-fclose1.
39544 * libio/bug-fclose1.c: Delete.
39546 2012-12-01 Joseph Myers <joseph@codesourcery.com>
39548 * manual/arith.texi (feenableexcept): Fix typo.
39549 (fedisableexcept): Likewise.
39551 2012-11-30 Roland McGrath <roland@hack.frob.com>
39553 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39554 second, differently-typed declaration, rather than a cast.
39556 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39558 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39559 * include/rpc/svc.h: ... here.
39561 2012-11-30 Aurelien Jarno <aurel32@debian.org>
39564 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39565 depending n and resplen2 to catch cases where answer
39568 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
39570 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39571 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39573 2012-11-29 Mike Frysinger <vapier@gentoo.org>
39575 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39577 2012-11-29 Roland McGrath <roland@hack.frob.com>
39579 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39581 2012-11-28 Jeff Law <law@redhat.com>
39584 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39585 dataset_temporary. Track alloca usage into alloca_used.
39586 If dataset is large allocate and release it via malloc/free.
39588 2012-06-04 Florian Weimer <fweimer@redhat.com>
39591 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39593 2012-11-28 David S. Miller <davem@davemloft.net>
39595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39597 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39600 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39601 of pi/2 rounded to nearest to 64 bits.
39602 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39603 nearest to 64 bits.
39604 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39607 2012-11-28 Jeff Law <law@redhat.com>
39608 Martin Osvald <mosvald@redhat.com>
39611 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39612 * sunrpc/svc.c: Include time.h.
39613 (__svc_accept_failed): New function.
39614 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39615 any reason other than EINTR, call __svc_accept_failed.
39616 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39617 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39619 2012-11-28 Andreas Schwab <schwab@suse.de>
39621 * scripts/abilist.awk: Also handle indirect functions in .opd
39624 2012-11-28 Joseph Myers <joseph@codesourcery.com>
39627 * sysdeps/x86/fpu/powl_helper.c: New file.
39628 * sysdeps/x86/fpu/Makefile: Likewise.
39629 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39631 (__ieee754_powl): Use __powl_helper for finite arguments except
39632 integer exponents below 8.
39633 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39635 (__ieee754_powl): Use __powl_helper for finite arguments except
39636 integer exponents below 8.
39637 * math/libm-test.inc (pow_test): Add more tests and enable some
39638 previously disabled tests.
39639 * sysdeps/i386/fpu/libm-test-ulps: Update.
39640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39642 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39643 Carlos O'Donell <carlos_odonell@mentor.com>
39645 * nss/makedb.c (is_prime): Assert that input is odd and greater
39646 than 4. Note that fact in a comment too.
39647 (next_prime): Add 4 to input.
39649 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39652 * libio/Makefile (tests): Add test case tst-fwrite-error.
39653 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39654 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39655 * libio/tst-fwrite-error.c: New test case.
39657 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
39659 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39660 before casting to void *.
39661 * include/libc-internal.h (__pointer_type): New macro.
39662 (__integer_if_pointer_type_sub): Likewise.
39663 (__integer_if_pointer_type): Likewise.
39664 (cast_to_integer): Likewise.
39665 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39666 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39667 before casting to atomic64_t.
39668 (atomic_exchange_acq): Likewise.
39669 (__arch_exchange_and_add_body): Likewise.
39670 (__arch_add_body): Likewise.
39671 (atomic_add_negative): Likewise.
39672 (atomic_add_zero): Likewise.
39674 2012-11-26 Joseph Myers <joseph@codesourcery.com>
39676 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39677 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39678 (add_fdes): Likewise.
39679 (linear_search_fdes): Likewise.
39680 (binary_search_unencoded_fdes): Likewise.
39682 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
39684 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39686 2012-11-24 Adam Conrad <adconrad@0c3.net>
39688 * configure.in: Autodetect C++ header directories.
39689 * configure: Regenerated.
39691 2012-11-23 Mike Frysinger <vapier@gentoo.org>
39693 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39695 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
39697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39699 2012-11-22 Joseph Myers <joseph@codesourcery.com>
39701 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39702 LDBL_MANT_DIG == 106]: Disable some tests.
39703 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39705 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39709 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39710 input for small inputs. Return +/- pi/2 for large inputs.
39711 * math/libm-test.inc (atan_test): Add more tests.
39713 * sysdeps/generic/unwind-dw2-fde-glibc.c
39714 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39715 __attribute__ ((unused)).
39718 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39719 x * y if x and y are nonzero and z is zero.
39722 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39723 nonzero exponents with absolute value below 0x1p-117 to +/-
39727 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39728 up arguments below 2**-450, not just those below 2**-500.
39729 * math/libm-test.inc (hypot_test): Add another test.
39732 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39733 Return a+b for ratio over 2**120, not 2**60.
39734 * math/libm-test.inc (hypot_test): Add another test.
39736 * math/libm-test.inc (clog_test): Use
39737 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39738 (clog10_test): Likewise.
39741 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39743 2012-11-22 Andreas Schwab <schwab@suse.de>
39745 * sysdeps/i386/fpu/libm-test-ulps: Update.
39747 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
39749 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39750 printf output with newline.
39752 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
39755 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39756 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39757 -z nodlopen, -z initfirst and -z execstack support.
39758 * configure: Regenerated.
39760 * elf/elf.h (DF_1_NODIRECT): New macro.
39761 (DF_1_IGNMULDEF): Likewise.
39762 (DF_1_NOKSYMS): Likewise.
39763 (DF_1_NOHDR): Likewise.
39764 (DF_1_EDITED): Likewise.
39765 (DF_1_NORELOC): Likewise.
39766 (DF_1_SYMINTPOSE): Likewise.
39767 (DF_1_GLOBAUDIT): Likewise.
39768 (DF_1_SINGLETON): Likewise.
39769 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39770 DT_1_SUPPORTED_MASK bits.
39771 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39773 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
39775 * sysdeps/unix/make-syscalls.sh: Document prefixes.
39777 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
39779 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39782 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39783 (sendmmsg): Move declarations...
39784 * socket/sys/socket.h: ... here.
39785 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39786 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39788 * socket/recvmmsg.c: ... this new file.
39789 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39790 (sendmmsg): Rename to __sendmmsg, create weak alias and make
39791 definition of __sendmmsg hidden.
39792 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39793 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39794 Move ENOSYS stub into and include it from...
39795 * socket/sendmmsg.c: ... this new file.
39796 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39797 (sysdep_routines): Move recvmmsg and sendmmsg...
39798 * socket/Makefile (routines): ... here.
39799 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39800 (GLIBC_PRIVATE): Add __sendmmsg.
39801 * include/sys/socket.h (__sendmmsg): Add declarations.
39802 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39805 2012-11-20 Joseph Myers <joseph@codesourcery.com>
39807 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39808 variable I1 with __attribute__ ((unused)).
39809 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39811 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39813 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39814 DUMMY variables with __attribute__ ((unused)).
39816 * bits/byteswap.h: Include <bits/types.h>.
39817 (__bswap_64): Use __uint64_t instead of unsigned long long int.
39819 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
39821 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39822 string_t. Do not manually set errno.
39823 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39824 length with __strnlen. Make sure to both set errno and return it on
39827 2012-11-19 David S. Miller <davem@davemloft.net>
39829 With help from Joseph Myers.
39830 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39831 very large arguments properly.
39832 * math/libm-test.inc (atan_test): New tests.
39833 (atan2_test): New tests.
39834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39835 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39837 2012-11-19 Joseph Myers <joseph@codesourcery.com>
39840 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39843 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39844 [POSIX] (EADDRNOTAVAIL): Likewise.
39845 [POSIX] (EAFNOSUPPORT): Likewise.
39846 [POSIX] (EALREADY): Likewise.
39847 [POSIX] (ECONNABORTED): Likewise.
39848 [POSIX] (ECONNREFUSED): Likewise.
39849 [POSIX] (ECONNRESET): Likewise.
39850 [POSIX] (EDESTADDRREQ): Likewise.
39851 [POSIX] (EDQUOT): Likewise.
39852 [POSIX] (EHOSTUNREACH): Likewise.
39853 [POSIX] (EIDRM): Likewise.
39854 [POSIX] (EISCONN): Likewise.
39855 [POSIX] (ELOOP): Likewise.
39856 [POSIX] (EMULTIHOP): Likewise.
39857 [POSIX] (ENETDOWN): Likewise.
39858 [POSIX] (ENETUNREACH): Likewise.
39859 [POSIX] (ENOBUFS): Likewise.
39860 [POSIX] (ENODATA): Likewise.
39861 [POSIX] (ENOLINK): Likewise.
39862 [POSIX] (ENOMSG): Likewise.
39863 [POSIX] (ENOPROTOOPT): Likewise.
39864 [POSIX] (ENOSR): Likewise.
39865 [POSIX] (ENOSTR): Likewise.
39866 [POSIX] (ENOTCONN): Likewise.
39867 [POSIX] (ENOTSOCK): Likewise.
39868 [POSIX] (EOPNOTSUPP): Likewise.
39869 [POSIX] (EOVERFLOW): Likewise.
39870 [POSIX] (EPROTO): Likewise.
39871 [POSIX] (EPROTONOSUPPORT): Likewise.
39872 [POSIX] (EPROTOTYPE): Likewise.
39873 [POSIX] (ESTALE): Likewise.
39874 [POSIX] (ETIME): Likewise.
39875 [POSIX] (ETXTBSY): Likewise.
39876 [POSIX] (EWOULDBLOCK): Likewise.
39877 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39878 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39879 [POSIX] (SEEK_CUR): Likewise.
39880 [POSIX] (SEEK_END): Likewise.
39881 [POSIX || UNIX98] (mode_t): Do not require.
39882 [POSIX] (off_t): Likewise.
39883 [POSIX] (pid_t): Likewise.
39884 [POSIX] (sys/stat.h): Do not allow header.
39885 [POSIX] (unistd.h): Likewise.
39886 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39887 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39888 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39889 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39891 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39892 sigevent): Specify elements.
39893 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39895 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39896 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39898 * conform/data/cpio.h-data [POSIX]: Disable whole file.
39899 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39900 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39901 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39902 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39903 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39904 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39905 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39906 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39907 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39908 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39909 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39910 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39911 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39913 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39915 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39917 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39919 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39920 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39921 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39922 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39923 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39924 Specify lower bound on value.
39925 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39926 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39927 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39928 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39929 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39930 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39931 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39932 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39934 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39936 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39937 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39938 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39939 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39940 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39941 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39942 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39943 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39944 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39945 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39946 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39947 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39948 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39949 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39950 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39951 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39953 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39955 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39956 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39957 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39958 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39959 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39960 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39962 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39963 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39964 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39965 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39966 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
39967 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39968 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39970 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39971 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39972 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39973 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39974 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39975 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39976 specify as optional.
39977 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39978 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39979 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39980 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39981 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39982 [XPG3] (NL_LANGMAX): Likewise.
39983 [POSIX || XPG3] (NL_MSGMAX): Likewise.
39984 [POSIX || XPG3] (NL_NMAX): Likewise.
39985 [POSIX || XPG3] (NL_SETMAX): Likewise.
39986 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39987 [XPG3] (NZERO): Likewise.
39988 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39989 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39990 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39991 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39992 (REG_ERANGE): Expect.
39993 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39995 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39996 Use (void) in prototype.
39997 [POSIX] (*_t): Allow.
39998 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39999 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
40000 (WRDE_BADVAL): Expect.
40002 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
40004 [XPG3 || XPG4] (O_RSYNC): Likewise.
40005 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
40007 [XPG3 || XPG4] (pthread_sigmask): Likewise.
40008 [XPG3 || XPG4] (sigqueue): Likewise.
40009 [XPG3 || XPG4] (sigtimedwait): Likewise.
40010 [XPG3 || XPG4] (sigwaitinfo): Likewise.
40011 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
40012 [XPG3 || XPG4] (vsnprintf): Likewise.
40013 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
40015 [XPG3 || XPG4] (blksize_t): Likewise.
40016 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
40018 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
40019 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40020 [XPG3 || XPG4] (struct itimerspec): Likewise.
40021 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
40022 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
40023 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
40024 [XPG3 || XPG4] (clockid_t): Likewise.
40025 [XPG3 || XPG4] (timer_t): Likewise.
40026 [XPG3 || XPG4] (clock_getres): Likewise.
40027 [XPG3 || XPG4] (clock_gettime): Likewise.
40028 [XPG3 || XPG4] (clock_settime): Likewise.
40029 [XPG3 || XPG4] (nanosleep): Likewise.
40030 [XPG3 || XPG4] (timer_create): Likewise.
40031 [XPG3 || XPG4] (timer_delete): Likewise.
40032 [XPG3 || XPG4] (timer_gettime): Likewise.
40033 [XPG3 || XPG4] (timer_getoverrun): Likewise.
40034 [XPG3 || XPG4] (timer_settime): Likewise.
40035 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
40036 [XPG3 || XPG4] (getlogin_r): Likewise.
40037 [XPG3 || XPG4] (pread): Likewise.
40038 [XPG3 || XPG4] (pthread_atfork): Likewise.
40039 [XPG3 || XPG4] (pwrite): Likewise.
40042 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
40045 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
40047 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
40048 finalizing MALLSTREAM.
40050 * sysdeps/mach/hurd/syncfs.c: New file.
40052 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
40055 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
40056 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
40057 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
40058 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
40059 (_nss_dns_gethostbyname4_r): Likewise.
40060 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
40061 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
40063 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
40066 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
40068 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
40070 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
40071 * elf/cache.c (print_entry): Print ",AArch64" for
40074 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
40075 * elf/cache.c (print_entry): Print ",hard-float" for
40078 2012-11-18 David S. Miller <davem@davemloft.net>
40080 With help from Joseph Myers.
40081 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
40083 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
40085 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
40086 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
40088 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
40089 * math/libm-test.inc (y0_test): New tests.
40090 (y1_test): New tests.
40091 * sysdeps/i386/fpu/libm-test-ulps: Update.
40092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40095 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
40097 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
40099 * configure: Regenerated.
40101 2012-11-17 David S. Miller <davem@davemloft.net>
40104 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
40105 nonzero exponents with absolute value below 0x1p-128 to +/-
40108 2012-11-17 Joseph Myers <joseph@codesourcery.com>
40110 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
40112 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
40114 * posix/getconf-speclist.c: New file.
40115 * posix/posix-envs.def: Likewise.
40116 * posix/confstr.c (START_ENV_GROUP): New macro.
40117 (END_ENV_GROUP): Likewise.
40118 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40119 (KNOWN_PRESENT_ENV_STRING): Likewise.
40120 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40121 (UNKNOWN_ENVIRONMENT): Likewise.
40122 (confstr): Include posix-envs.def instead of handling
40123 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
40124 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
40125 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
40126 (END_ENV_GROUP): Likewise.
40127 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
40128 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
40129 (UNKNOWN_ENVIRONMENT): Likewise.
40130 (__sysconf): Include posix-envs.def instead of handling associated
40131 cases directly here.
40132 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
40133 preprocessing getconf-speclist.c rather than running getconf or
40134 generating empty file.
40136 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
40138 * scripts/check-local-headers.sh: Ignore 'mach' headers.
40140 2012-11-16 Andrej Lajovic <natrij@gmail.com>
40143 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
40145 2012-11-16 David S. Miller <davem@davemloft.net>
40147 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
40148 smaller than LDBL_EPSILON/2.0L, just return xm1.
40150 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
40152 * elf/tst-array1.c (init): Set constructor priority to 1000.
40153 (fini): Set destructor priority to 1000.
40154 * elf/tst-array2dep.c: Likewise.
40156 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40159 * libio/fileops.c (_IO_new_file_write): Correctly return error.
40160 (_IO_new_file_xsputn): Also return EOF if none of the input
40161 data was written when overflow failed.
40162 * libio/iopadn.c (_IO_padn): Likewise.
40163 * libio/iowpadn.c (_IO_wpadn): Likewise.
40164 * stdio-common/tst-put-error.c: Add copyright notice.
40165 (do_test): Add case for printing padded string.
40166 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
40167 _IO_padn returned error.
40168 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
40169 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
40172 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40174 * libio/libioP.h: Add comment note that the references to C++
40175 bits are now obsolete.
40177 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40179 * math/libm-test.inc (check_complex): Use asprintf.
40181 2012-11-14 Joseph Myers <joseph@codesourcery.com>
40183 * debug/pcprofiledump.c (print_version): Update copyright year.
40184 * malloc/memusagestat.c (print_version): Likewise.
40186 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
40189 * elf/Makefile (tests): Add tst-audit8.
40190 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
40191 ($(objpfx)tst-audit8.out): New target.
40192 (tst-audit8-ENV): New variable.
40193 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
40194 audit if l_reloc_result is NULL.
40195 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
40196 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
40197 * elf/tst-audit8.c: New file.
40199 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40201 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
40202 * misc/Makefile (CFLAGS-select.c): Define.
40203 * posix/Makefile (CFLAGS-pause.c): Define.
40205 2012-11-13 David S. Miller <davem@davemloft.net>
40207 * crypt/Makefile: Move test targets after toplevel Rules
40208 inclusion. Grab any necessary sysdep routines when linking.
40209 * crypt/md5.c (md5_process_block): Remove define, we will always
40210 name it __md5_process_block.
40211 (md5_finish_ctx): Update md5_process_block call.
40212 (md5_stream): Likewise.
40213 (md5_process_bytes): Likewise.
40214 (md5_process_block): Rename to __md5_process_block and move to ...
40215 * crypt/md5-block.c: ... here.
40216 * crypt/sha256.c (sha256_process_block): Move to ...
40217 * crypt/sha256-block.c: ... here.
40218 * crypt/sha512.c (sha512_process_block): Move to ...
40219 * crypt/sha512-block.c: ... here.
40220 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
40222 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
40223 * sysdeps/sparc/sparc64/multiarch/Makefile
40224 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
40226 (localedef-aux): Add md5 crypto assembler when in locale subdir.
40227 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
40229 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
40230 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
40231 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
40232 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
40233 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
40234 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
40235 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
40236 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
40237 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
40239 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
40240 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
40242 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
40244 2012-11-13 Joseph Myers <joseph@codesourcery.com>
40246 * timezone/tzselect.ksh: Update from tzcode git revision
40247 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
40248 * timezone/zdump.c: Likewise.
40249 * timezone/zic.c: Likewise.
40250 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
40251 in TZVERSION setting, not $(PKGVERSION).
40252 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
40253 REPORT_BUGS_TO settings.
40256 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
40259 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40261 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
40262 detection to immediately after _FP_ROUND().
40263 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
40266 2012-11-11 David S. Miller <davem@davemloft.net>
40268 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
40270 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
40271 __close rather than their public counterparts.
40273 2012-11-10 Joseph Myers <joseph@codesourcery.com>
40275 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
40277 [UNIX98] (sem_timedwait): Do not expect.
40278 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
40279 [XPG4 || UNIX98] (sockatmark): Do not expect.
40280 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
40281 (clock_getcpuclockid): Do not expect.
40282 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
40283 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
40285 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
40286 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
40287 [UNIX98] (vwscanf): Likewise.
40288 [UNIX98] (vswscanf): Likewise.
40290 2012-11-09 Joseph Myers <joseph@codesourcery.com>
40292 * timezone/version.h: Remove file.
40293 * timezone/README: Do not refer to version.h.
40294 * timezone/Makefile ($(objpfx)zic.o): New dependency on
40295 $(objpfx)version.h.
40296 ($(objpfx)zdump.o): Likewise.
40297 ($(objpfx)version.h): New target.
40299 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
40301 * timezone/README: Don't mention modification to tzselect.ksh.
40302 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
40303 work on unmodified tzselect.ksh. Substitute version numbers in
40306 * Makefile (format-me): Remove.
40307 (INSTALL): Adjust indentation. Use commands directly instead of
40308 using $(format-me).
40310 * aclocal.m4 (ACX_PKGVERSION): New macro.
40311 (ACX_BUGURL): Likewise.
40312 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
40313 (PKGVERSION): New AC_DEFINE_UNQUOTED.
40314 (REPORT_BUGS_TO): Likewise.
40315 * configure: Regenerated.
40316 * config.h.in (PKGVERSION): New macro.
40317 (REPORT_BUGS_TO): Likewise.
40318 * config.make.in (PKGVERSION): New variable.
40319 (PKGVERSION_TEXI): Likewise.
40320 (REPORT_BUGS_TO): Likewise.
40321 (REPORT_BUGS_TEXI): Likewise.
40322 * Makefile (format-me): Use -I$(common-objpfx)manual.
40323 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
40324 ($(common-objpfx)manual/%): New target.
40325 (manual/%): Remove target.
40326 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
40327 (print_version): Use PKGVERSION.
40328 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
40329 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
40330 and REPORT_BUGS_TO.
40331 ($(objpfx)xtrace): Likewise.
40332 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
40333 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
40334 (print_version): Use PKGVERSION.
40335 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
40336 (do_version): Use PKGVERSION.
40337 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
40339 (common-ldd-rewrite): Likewise.
40340 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
40341 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
40342 (print_version): Use PKGVERSION.
40343 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
40344 * elf/pldd.c (argp_program_bug_address): Remove variable.
40345 (more_help): New function.
40346 (argp): Use more_help.
40347 (print_version): Use PKGVERSION.
40348 * elf/sln.c (main): Use PKGVERSION.
40349 (usage): Use REPORT_BUGS_TO.
40350 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
40351 (top level): Use PKGVERSION.
40352 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
40353 (print_version): Use PKGVERSION.
40354 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
40355 (print_version): Use PKGVERSION.
40356 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
40357 (print_version): Use PKGVERSION.
40358 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
40359 (print_version): Use PKGVERSION.
40360 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
40361 (print_version): Use PKGVERSION.
40362 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
40363 (print_version): Use PKGVERSION.
40364 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
40366 ($(objpfx)memusage): Likewise.
40367 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
40368 (do_version): Use PKGVERSION.
40369 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
40370 (print_version): Use PKGVERSION.
40371 * malloc/mtrace.pl ($PACKAGE): Remove variable.
40372 ($PKGVERSION): New variable.
40373 ($REPORT_BUGS_TO): Likewise.
40374 (usage): Use $REPORT_BUGS_TO.
40375 (top level): Use $PKGVERSION.
40376 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
40377 ($(objpfx)pkgvers.texi): New rule.
40378 ($(objpfx)stamp-pkgvers): Likewise.
40379 * manual/install.texi: Include pkgvers.texi.
40380 (--with-pkgversion): Document new configure option.
40381 (--with-bugurl): Likewise.
40382 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
40383 than necessarily for this particular distribution. Use
40384 REPORT_BUGS_TO for where to report bugs.
40385 * INSTALL: Regenerated.
40386 * manual/libc.texinfo: Include pkgvers.texi.
40387 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
40388 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
40389 (print_version): Use PKGVERSION.
40390 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
40391 (print_version): Use PKGVERSION.
40392 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
40393 (print_version): Use PKGVERSION.
40394 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
40395 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
40397 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
40398 (print_version): Use PKGVERSION.
40399 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
40400 (print_version): Use PKGVERSION.
40401 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
40404 * timezone/checktab.awk: Update from tzcode 2012i.
40405 * timezone/ialloc.c: Likewise.
40406 * timezone/private.h: Likewise.
40407 * timezone/scheck.c: Likewise.
40408 * timezone/tzfile.h: Likewise.
40409 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
40410 (TZVERSION): Hardcode tzcode version number.
40411 * timezone/zdump.c: Update from tzcode 2012i.
40412 * timezone/zic.c: Likewise.
40413 * timezone/version.h: New file.
40414 * timezone/README: Describe version.h. Update upstream location.
40417 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
40418 (mktemp): Enable declaration.
40419 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
40420 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
40421 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
40422 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
40424 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
40426 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
40428 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
40430 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
40432 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
40436 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
40437 offset in buffer as u_int32_t not u_long. Consistently use memcpy
40438 for copies of such integer values.
40439 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40440 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40442 2012-11-09 Andreas Jaeger <aj@suse.de>
40444 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
40445 definitions and declarations that are provided by
40446 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40448 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40450 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
40451 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
40452 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
40455 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40457 * elf/elf.h: Update comment before AArch64 relocations.
40459 2012-11-07 David S. Miller <davem@davemloft.net>
40461 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
40462 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40463 (__start_context): Declare.
40464 (__makecontext_ret): Delete.
40465 (__makecontext): Hook up __start_context instead of
40467 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
40468 (sysdep_routines): Add __start_context when in stdlib.
40470 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40472 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
40473 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
40474 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
40476 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
40477 (READELF): New variable. Use it instead of hardcoded "readelf".
40479 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
40481 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
40482 * sysdeps/x86/Makefile: Here.
40483 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
40484 * sysdeps/x86/tst-xmmymm.sh: This.
40486 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40488 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
40490 [UNIX98] (pthread_barrier_t): Do not expect.
40491 [UNIX98] (pthread_barrierattr_t): Likewise.
40492 [UNIX98] (pthread_spinlock_t): Likewise.
40493 [UNIX98] (pthread_barrier_destroy): Likewise.
40494 [UNIX98] (pthread_barrier_init): Likewise.
40495 [UNIX98] (pthread_barrier_wait): Likewise.
40496 [UNIX98] (pthread_barrierattr_destroy): Likewise.
40497 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
40498 [UNIX98] (pthread_barrierattr_init): Likewise.
40499 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
40500 [UNIX98] (pthread_getcpuclockid): Likewise.
40501 [UNIX98] (pthread_mutex_timedlock): Likewise.
40502 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
40503 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
40504 [UNIX98] (pthread_sigmask): Likewise.
40505 [UNIX98] (pthread_spin_destroy): Likewise.
40506 [UNIX98] (pthread_spin_init): Likewise.
40507 [UNIX98] (pthread_spin_lock): Likewise.
40508 [UNIX98] (pthread_spin_trylock): Likewise.
40509 [UNIX98] (pthread_spin_unlock): Likewise.
40510 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
40512 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
40513 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
40514 [XPG3 || XPG4] (pthread_cond_t): Likewise.
40515 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
40516 [XPG3 || XPG4] (pthread_key_t): Likewise.
40517 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
40518 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
40519 [XPG3 || XPG4] (pthread_once_t): Likewise.
40520 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
40521 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
40522 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
40523 [XPG3 || XPG4] (pthread_t): Likewise.
40525 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
40527 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
40529 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
40530 Change function return type to int.
40532 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
40533 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
40534 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
40535 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
40536 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
40537 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
40538 [!POSIX] (posix_madvise): Likewise.
40539 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
40541 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
40542 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
40543 (mode_t): Likewise.
40544 (posix_mem_offset): Likewise.
40545 (posix_typed_mem_get_info): Likewise.
40546 (posix_typed_mem_open): Likewise.
40548 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40549 Change condition to [XOPEN2K8].
40551 * conform/conformtest.pl: Preprocess allow-header data with -x c
40552 instead of from stdin.
40553 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40554 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40555 [C99-based standards] (cerfc): Likewise.
40556 [C99-based standards] (cexp2): Likewise.
40557 [C99-based standards] (cexpm1): Likewise.
40558 [C99-based standards] (clog10): Likewise.
40559 [C99-based standards] (clog1p): Likewise.
40560 [C99-based standards] (clog2): Likewise.
40561 [C99-based standards] (clgamma): Likewise.
40562 [C99-based standards] (ctgamma): Likewise.
40563 [C99-based standards] (cerff): Likewise.
40564 [C99-based standards] (cerfcf): Likewise.
40565 [C99-based standards] (cexp2f): Likewise.
40566 [C99-based standards] (cexpm1f): Likewise.
40567 [C99-based standards] (clog10f): Likewise.
40568 [C99-based standards] (clog1pf): Likewise.
40569 [C99-based standards] (clog2f): Likewise.
40570 [C99-based standards] (clgammaf): Likewise.
40571 [C99-based standards] (ctgammaf): Likewise.
40572 [C99-based standards] (cerfl): Likewise.
40573 [C99-based standards] (cerfcl): Likewise.
40574 [C99-based standards] (cexp2l): Likewise.
40575 [C99-based standards] (cexpm1l): Likewise.
40576 [C99-based standards] (clog10l): Likewise.
40577 [C99-based standards] (clog1pl): Likewise.
40578 [C99-based standards] (clog2l): Likewise.
40579 [C99-based standards] (clgammal): Likewise.
40580 [C99-based standards] (ctgammal): Likewise.
40581 * conform/data/inttypes.h-data [C99-based standards]: Include
40582 stdint.h-data. Remove all expectations for stdint.h contents.
40583 [C99-based standards] (PRI*): Do not allow.
40584 [C99-based standards] (SCN*): Likewise.
40585 [C99-based standards] (*_t): Likewise.
40586 [C99-based-standards] (PRId8): Expect macro.
40587 [C99-based-standards] (PRIi8): Likewise.
40588 [C99-based-standards] (PRIo8): Likewise.
40589 [C99-based-standards] (PRIu8): Likewise.
40590 [C99-based-standards] (PRIx8): Likewise.
40591 [C99-based-standards] (PRIX8): Likewise.
40592 [C99-based-standards] (SCNd8): Likewise.
40593 [C99-based-standards] (SCNi8): Likewise.
40594 [C99-based-standards] (SCNo8): Likewise.
40595 [C99-based-standards] (SCNu8): Likewise.
40596 [C99-based-standards] (SCNx8): Likewise.
40597 [C99-based-standards] (PRIdLEAST8): Likewise.
40598 [C99-based-standards] (PRIiLEAST8): Likewise.
40599 [C99-based-standards] (PRIoLEAST8): Likewise.
40600 [C99-based-standards] (PRIuLEAST8): Likewise.
40601 [C99-based-standards] (PRIxLEAST8): Likewise.
40602 [C99-based-standards] (PRIXLEAST8): Likewise.
40603 [C99-based-standards] (SCNdLEAST8): Likewise.
40604 [C99-based-standards] (SCNiLEAST8): Likewise.
40605 [C99-based-standards] (SCNoLEAST8): Likewise.
40606 [C99-based-standards] (SCNuLEAST8): Likewise.
40607 [C99-based-standards] (SCNxLEAST8): Likewise.
40608 [C99-based-standards] (PRIdFAST8): Likewise.
40609 [C99-based-standards] (PRIiFAST8): Likewise.
40610 [C99-based-standards] (PRIoFAST8): Likewise.
40611 [C99-based-standards] (PRIuFAST8): Likewise.
40612 [C99-based-standards] (PRIxFAST8): Likewise.
40613 [C99-based-standards] (PRIXFAST8): Likewise.
40614 [C99-based-standards] (SCNdFAST8): Likewise.
40615 [C99-based-standards] (SCNiFAST8): Likewise.
40616 [C99-based-standards] (SCNoFAST8): Likewise.
40617 [C99-based-standards] (SCNuFAST8): Likewise.
40618 [C99-based-standards] (SCNxFAST8): Likewise.
40619 [C99-based-standards] (PRId16): Likewise.
40620 [C99-based-standards] (PRIi16): Likewise.
40621 [C99-based-standards] (PRIo16): Likewise.
40622 [C99-based-standards] (PRIu16): Likewise.
40623 [C99-based-standards] (PRIx16): Likewise.
40624 [C99-based-standards] (PRIX16): Likewise.
40625 [C99-based-standards] (SCNd16): Likewise.
40626 [C99-based-standards] (SCNi16): Likewise.
40627 [C99-based-standards] (SCNo16): Likewise.
40628 [C99-based-standards] (SCNu16): Likewise.
40629 [C99-based-standards] (SCNx16): Likewise.
40630 [C99-based-standards] (PRIdLEAST16): Likewise.
40631 [C99-based-standards] (PRIiLEAST16): Likewise.
40632 [C99-based-standards] (PRIoLEAST16): Likewise.
40633 [C99-based-standards] (PRIuLEAST16): Likewise.
40634 [C99-based-standards] (PRIxLEAST16): Likewise.
40635 [C99-based-standards] (PRIXLEAST16): Likewise.
40636 [C99-based-standards] (SCNdLEAST16): Likewise.
40637 [C99-based-standards] (SCNiLEAST16): Likewise.
40638 [C99-based-standards] (SCNoLEAST16): Likewise.
40639 [C99-based-standards] (SCNuLEAST16): Likewise.
40640 [C99-based-standards] (SCNxLEAST16): Likewise.
40641 [C99-based-standards] (PRIdFAST16): Likewise.
40642 [C99-based-standards] (PRIiFAST16): Likewise.
40643 [C99-based-standards] (PRIoFAST16): Likewise.
40644 [C99-based-standards] (PRIuFAST16): Likewise.
40645 [C99-based-standards] (PRIxFAST16): Likewise.
40646 [C99-based-standards] (PRIXFAST16): Likewise.
40647 [C99-based-standards] (SCNdFAST16): Likewise.
40648 [C99-based-standards] (SCNiFAST16): Likewise.
40649 [C99-based-standards] (SCNoFAST16): Likewise.
40650 [C99-based-standards] (SCNuFAST16): Likewise.
40651 [C99-based-standards] (SCNxFAST16): Likewise.
40652 [C99-based-standards] (PRId32): Likewise.
40653 [C99-based-standards] (PRIi32): Likewise.
40654 [C99-based-standards] (PRIo32): Likewise.
40655 [C99-based-standards] (PRIu32): Likewise.
40656 [C99-based-standards] (PRIx32): Likewise.
40657 [C99-based-standards] (PRIX32): Likewise.
40658 [C99-based-standards] (SCNd32): Likewise.
40659 [C99-based-standards] (SCNi32): Likewise.
40660 [C99-based-standards] (SCNo32): Likewise.
40661 [C99-based-standards] (SCNu32): Likewise.
40662 [C99-based-standards] (SCNx32): Likewise.
40663 [C99-based-standards] (PRIdLEAST32): Likewise.
40664 [C99-based-standards] (PRIiLEAST32): Likewise.
40665 [C99-based-standards] (PRIoLEAST32): Likewise.
40666 [C99-based-standards] (PRIuLEAST32): Likewise.
40667 [C99-based-standards] (PRIxLEAST32): Likewise.
40668 [C99-based-standards] (PRIXLEAST32): Likewise.
40669 [C99-based-standards] (SCNdLEAST32): Likewise.
40670 [C99-based-standards] (SCNiLEAST32): Likewise.
40671 [C99-based-standards] (SCNoLEAST32): Likewise.
40672 [C99-based-standards] (SCNuLEAST32): Likewise.
40673 [C99-based-standards] (SCNxLEAST32): Likewise.
40674 [C99-based-standards] (PRIdFAST32): Likewise.
40675 [C99-based-standards] (PRIiFAST32): Likewise.
40676 [C99-based-standards] (PRIoFAST32): Likewise.
40677 [C99-based-standards] (PRIuFAST32): Likewise.
40678 [C99-based-standards] (PRIxFAST32): Likewise.
40679 [C99-based-standards] (PRIXFAST32): Likewise.
40680 [C99-based-standards] (SCNdFAST32): Likewise.
40681 [C99-based-standards] (SCNiFAST32): Likewise.
40682 [C99-based-standards] (SCNoFAST32): Likewise.
40683 [C99-based-standards] (SCNuFAST32): Likewise.
40684 [C99-based-standards] (SCNxFAST32): Likewise.
40685 [C99-based-standards] (PRId64): Likewise.
40686 [C99-based-standards] (PRIi64): Likewise.
40687 [C99-based-standards] (PRIo64): Likewise.
40688 [C99-based-standards] (PRIu64): Likewise.
40689 [C99-based-standards] (PRIx64): Likewise.
40690 [C99-based-standards] (PRIX64): Likewise.
40691 [C99-based-standards] (SCNd64): Likewise.
40692 [C99-based-standards] (SCNi64): Likewise.
40693 [C99-based-standards] (SCNo64): Likewise.
40694 [C99-based-standards] (SCNu64): Likewise.
40695 [C99-based-standards] (SCNx64): Likewise.
40696 [C99-based-standards] (PRIdLEAST64): Likewise.
40697 [C99-based-standards] (PRIiLEAST64): Likewise.
40698 [C99-based-standards] (PRIoLEAST64): Likewise.
40699 [C99-based-standards] (PRIuLEAST64): Likewise.
40700 [C99-based-standards] (PRIxLEAST64): Likewise.
40701 [C99-based-standards] (PRIXLEAST64): Likewise.
40702 [C99-based-standards] (SCNdLEAST64): Likewise.
40703 [C99-based-standards] (SCNiLEAST64): Likewise.
40704 [C99-based-standards] (SCNoLEAST64): Likewise.
40705 [C99-based-standards] (SCNuLEAST64): Likewise.
40706 [C99-based-standards] (SCNxLEAST64): Likewise.
40707 [C99-based-standards] (PRIdFAST64): Likewise.
40708 [C99-based-standards] (PRIiFAST64): Likewise.
40709 [C99-based-standards] (PRIoFAST64): Likewise.
40710 [C99-based-standards] (PRIuFAST64): Likewise.
40711 [C99-based-standards] (PRIxFAST64): Likewise.
40712 [C99-based-standards] (PRIXFAST64): Likewise.
40713 [C99-based-standards] (SCNdFAST64): Likewise.
40714 [C99-based-standards] (SCNiFAST64): Likewise.
40715 [C99-based-standards] (SCNoFAST64): Likewise.
40716 [C99-based-standards] (SCNuFAST64): Likewise.
40717 [C99-based-standards] (SCNxFAST64): Likewise.
40718 [C99-based-standards] (PRIdMAX): Likewise.
40719 [C99-based-standards] (PRIiMAX): Likewise.
40720 [C99-based-standards] (PRIoMAX): Likewise.
40721 [C99-based-standards] (PRIuMAX): Likewise.
40722 [C99-based-standards] (PRIxMAX): Likewise.
40723 [C99-based-standards] (PRIXMAX): Likewise.
40724 [C99-based-standards] (SCNdMAX): Likewise.
40725 [C99-based-standards] (SCNiMAX): Likewise.
40726 [C99-based-standards] (SCNoMAX): Likewise.
40727 [C99-based-standards] (SCNuMAX): Likewise.
40728 [C99-based-standards] (SCNxMAX): Likewise.
40729 [C99-based-standards] (PRIdPTR): Likewise.
40730 [C99-based-standards] (PRIiPTR): Likewise.
40731 [C99-based-standards] (PRIoPTR): Likewise.
40732 [C99-based-standards] (PRIuPTR): Likewise.
40733 [C99-based-standards] (PRIxPTR): Likewise.
40734 [C99-based-standards] (PRIXPTR): Likewise.
40735 [C99-based-standards] (SCNdPTR): Likewise.
40736 [C99-based-standards] (SCNiPTR): Likewise.
40737 [C99-based-standards] (SCNoPTR): Likewise.
40738 [C99-based-standards] (SCNuPTR): Likewise.
40739 [C99-based-standards] (SCNxPTR): Likewise.
40740 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40742 * conform/data/stdint.h-data: Update comments to clarify
40744 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
40746 [C99-based standards] (INT8_MAX): Likewise.
40747 [C99-based standards] (INT16_MIN): Likewise.
40748 [C99-based standards] (INT16_MAX): Likewise.
40749 [C99-based standards] (INT32_MIN): Likewise.
40750 [C99-based standards] (INT32_MAX): Likewise.
40751 [C99-based standards] (INT64_MIN): Likewise.
40752 [C99-based standards] (INT64_MAX): Likewise.
40753 [C99-based standards] (UINT8_MAX): Likewise.
40754 [C99-based standards] (UINT16_MAX): Likewise.
40755 [C99-based standards] (UINT32_MAX): Likewise.
40756 [C99-based standards] (UINT64_MAX): Likewise.
40757 [C99-based standards] (INT_LEAST8_MIN): Likewise.
40758 [C99-based standards] (INT_LEAST8_MAX): Likewise.
40759 [C99-based standards] (INT_LEAST16_MIN): Likewise.
40760 [C99-based standards] (INT_LEAST16_MAX): Likewise.
40761 [C99-based standards] (INT_LEAST32_MIN): Likewise.
40762 [C99-based standards] (INT_LEAST32_MAX): Likewise.
40763 [C99-based standards] (INT_LEAST64_MIN): Likewise.
40764 [C99-based standards] (INT_LEAST64_MAX): Likewise.
40765 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40766 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40767 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40768 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40769 [C99-based standards] (INT_FAST8_MIN): Likewise.
40770 [C99-based standards] (INT_FAST8_MAX): Likewise.
40771 [C99-based standards] (INT_FAST16_MIN): Likewise.
40772 [C99-based standards] (INT_FAST16_MAX): Likewise.
40773 [C99-based standards] (INT_FAST32_MIN): Likewise.
40774 [C99-based standards] (INT_FAST32_MAX): Likewise.
40775 [C99-based standards] (INT_FAST64_MIN): Likewise.
40776 [C99-based standards] (INT_FAST64_MAX): Likewise.
40777 [C99-based standards] (UINT_FAST8_MAX): Likewise.
40778 [C99-based standards] (UINT_FAST16_MAX): Likewise.
40779 [C99-based standards] (UINT_FAST32_MAX): Likewise.
40780 [C99-based standards] (UINT_FAST64_MAX): Likewise.
40781 [C99-based standards] (INTPTR_MIN): Likewise.
40782 [C99-based standards] (INTPTR_MAX): Likewise.
40783 [C99-based standards] (UINTPTR_MAX): Likewise.
40784 [C99-based standards] (INTMAX_MIN): Likewise.
40785 [C99-based standards] (INTMAX_MAX): Likewise.
40786 [C99-based standards] (UINTMAX_MAX): Likewise.
40787 [C99-based standards] (PTRDIFF_MIN): Likewise.
40788 [C99-based standards] (PTRDIFF_MAX): Likewise.
40789 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40790 [C99-based standards] (SIZE_MAX): Likewise.
40791 [C99-based standards] (WCHAR_MAX): Likewise.
40792 [C99-based standards] (WINT_MAX): Likewise.
40793 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
40794 constraint on value.
40795 [C99-based standards] (WCHAR_MIN): Likewise.
40796 [C99-based standards] (WINT_MIN): Likewise.
40797 [C99-based standards] (*_t): Allow.
40798 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40799 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40800 Include math.h-data and complex.h-data. Remove all expectations
40801 of math.h and complex.h contents.
40802 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40804 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40805 (struct tm): Expect tag.
40806 [C99-based-standards] (wcstof): Expect function.
40807 [C99-based-standards] (wcstold): Likewise.
40808 [C99-based-standards] (wcstoll): Likewise.
40809 [C99-based-standards] (wcstoull): Likewise.
40810 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40811 macro-int-constant. Specify type.
40812 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
40813 constraint on value.
40814 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40816 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40818 [ISO C standards]: Do not allow headers.
40819 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40820 wcs[abcdefghijklmnopqrstuvwxyz]*.
40821 [ISO C standards] (*_t): Do not allow.
40822 * conform/data/wctype.h-data [C99-based standards] (iswblank):
40824 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40825 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40827 [ISO C standards]: Do not allow headers.
40828 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40829 is[abcdefghijklmnopqrstuvwxyz]*.
40830 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40831 to[abcdefghijklmnopqrstuvwxyz]*.
40832 [ISO C standards] (*_t): Do not allow.
40833 * conform/data/stdalign.h-data: New file.
40834 * conform/data/stdbool.h-data: Likewise.
40835 * conform/data/stdnoreturn.h-data: Likewise.
40837 2012-11-07 Roland McGrath <roland@hack.frob.com>
40840 * manual/filesys.texi (Directory Entries): Typo fix.
40841 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40843 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40845 * elf/elf.h (EM_AARCH64): New macro.
40846 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40847 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40848 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40849 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40850 (R_AARCH64_TLSDESC): Likewise.
40851 (NT_ARM_TLS): Likewise.
40852 (NT_ARM_HW_BREAK): Likewise.
40853 (NT_ARM_HW_WATCH): Likewise.
40855 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40858 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40859 (__ieee754_powl): Saturate nonzero exponents with absolute value
40860 below 0x1p-79 to +/- 0x1p-79.
40861 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40862 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40863 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40864 nonzero exponents with absolute value below 0x1p-32 to +/-
40866 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40867 (__ieee754_powl): Saturate nonzero exponents with absolute value
40868 below 0x1p-79 to +/- 0x1p-79.
40869 * math/libm-test.inc (pow_test): Add more tests.
40871 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40873 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40874 _dl_s390_cap_flags with kernel. Increase string length.
40875 (_dl_s390_platforms): Add z196 and zEC12.
40877 2012-11-07 Joseph Myers <joseph@codesourcery.com>
40879 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40880 Change XOPEN21K to XOPEN2K.
40882 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
40884 * string/memmove.c: Use memcpy when possible.
40886 2012-11-06 Andreas Jaeger <aj@suse.de>
40888 * po/eo.po: Update from translation team.
40890 2012-11-06 Joseph Myers <joseph@codesourcery.com>
40893 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40894 exponent and small x and y exponents, scale x or y up. Increase
40895 by 2 the exponent used in scaling up.
40896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40897 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40898 * math/libm-test.inc (fma_test): Add more tests.
40899 (fma_test_towardzero): Likewise.
40900 (fma_test_downward): Likewise.
40901 (fma_test_upward): Likewise.
40903 2012-11-05 Joseph Myers <joseph@codesourcery.com>
40906 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40910 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40911 namespace for names of struct fields.
40912 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40914 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40915 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40917 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
40920 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40922 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40924 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40928 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40931 2012-11-04 Joseph Myers <joseph@codesourcery.com>
40934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40935 definitely overflow as x * y not x * y + z.
40936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40937 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40938 * math/libm-test.inc (fma_test): Add more tests.
40939 (fma_test_towardzero): Likewise.
40940 (fma_test_downward): Likewise.
40941 (fma_test_upward): Likewise.
40943 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
40947 * include/stub-tag.h: Remove file.
40948 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40950 * manual/maint.texi (Porting): Don't reference it.
40951 * Makerules ($(objpfx)stubs): Likewise.
40952 * dirent/closedir.c: Don't include <stub-tag.h>.
40953 * dirent/dirfd.c: Likewise.
40954 * dirent/fdopendir.c: Likewise.
40955 * dirent/getdents.c: Likewise.
40956 * dirent/getdents64.c: Likewise.
40957 * dirent/opendir.c: Likewise.
40958 * dirent/readdir.c: Likewise.
40959 * dirent/readdir64.c: Likewise.
40960 * dirent/readdir64_r.c: Likewise.
40961 * dirent/readdir_r.c: Likewise.
40962 * dirent/rewinddir.c: Likewise.
40963 * dirent/seekdir.c: Likewise.
40964 * dirent/telldir.c: Likewise.
40965 * gmon/profil.c: Likewise.
40966 * grp/setgroups.c: Likewise.
40967 * inet/if_index.c: Likewise.
40968 * io/access.c: Likewise.
40969 * io/chdir.c: Likewise.
40970 * io/chmod.c: Likewise.
40971 * io/chown.c: Likewise.
40972 * io/close.c: Likewise.
40973 * io/dup.c: Likewise.
40974 * io/dup2.c: Likewise.
40975 * io/dup3.c: Likewise.
40976 * io/euidaccess.c: Likewise.
40977 * io/faccessat.c: Likewise.
40978 * io/fchdir.c: Likewise.
40979 * io/fchmod.c: Likewise.
40980 * io/fchmodat.c: Likewise.
40981 * io/fchown.c: Likewise.
40982 * io/fchownat.c: Likewise.
40983 * io/fcntl.c: Likewise.
40984 * io/flock.c: Likewise.
40985 * io/fstatfs.c: Likewise.
40986 * io/fstatfs64.c: Likewise.
40987 * io/fstatvfs.c: Likewise.
40988 * io/fstatvfs64.c: Likewise.
40989 * io/futimens.c: Likewise.
40990 * io/fxstat.c: Likewise.
40991 * io/fxstat64.c: Likewise.
40992 * io/fxstatat.c: Likewise.
40993 * io/fxstatat64.c: Likewise.
40994 * io/getcwd.c: Likewise.
40995 * io/isatty.c: Likewise.
40996 * io/lchmod.c: Likewise.
40997 * io/lchown.c: Likewise.
40998 * io/link.c: Likewise.
40999 * io/linkat.c: Likewise.
41000 * io/lseek.c: Likewise.
41001 * io/lseek64.c: Likewise.
41002 * io/lxstat64.c: Likewise.
41003 * io/mkdir.c: Likewise.
41004 * io/mkdirat.c: Likewise.
41005 * io/mkfifo.c: Likewise.
41006 * io/mkfifoat.c: Likewise.
41007 * io/open.c: Likewise.
41008 * io/open64.c: Likewise.
41009 * io/openat.c: Likewise.
41010 * io/openat64.c: Likewise.
41011 * io/pipe.c: Likewise.
41012 * io/pipe2.c: Likewise.
41013 * io/poll.c: Likewise.
41014 * io/posix_fadvise.c: Likewise.
41015 * io/posix_fadvise64.c: Likewise.
41016 * io/posix_fallocate.c: Likewise.
41017 * io/posix_fallocate64.c: Likewise.
41018 * io/read.c: Likewise.
41019 * io/readlink.c: Likewise.
41020 * io/readlinkat.c: Likewise.
41021 * io/rmdir.c: Likewise.
41022 * io/sendfile.c: Likewise.
41023 * io/sendfile64.c: Likewise.
41024 * io/statfs.c: Likewise.
41025 * io/statfs64.c: Likewise.
41026 * io/statvfs.c: Likewise.
41027 * io/statvfs64.c: Likewise.
41028 * io/symlink.c: Likewise.
41029 * io/symlinkat.c: Likewise.
41030 * io/ttyname.c: Likewise.
41031 * io/ttyname_r.c: Likewise.
41032 * io/umask.c: Likewise.
41033 * io/unlink.c: Likewise.
41034 * io/unlinkat.c: Likewise.
41035 * io/utime.c: Likewise.
41036 * io/utimensat.c: Likewise.
41037 * io/write.c: Likewise.
41038 * io/xmknod.c: Likewise.
41039 * io/xmknodat.c: Likewise.
41040 * io/xstat.c: Likewise.
41041 * io/xstat64.c: Likewise.
41042 * login/getpt.c: Likewise.
41043 * login/grantpt.c: Likewise.
41044 * login/unlockpt.c: Likewise.
41045 * math/e_acoshl.c: Likewise.
41046 * math/e_acosl.c: Likewise.
41047 * math/e_asinl.c: Likewise.
41048 * math/e_atan2l.c: Likewise.
41049 * math/e_atanhl.c: Likewise.
41050 * math/e_coshl.c: Likewise.
41051 * math/e_expl.c: Likewise.
41052 * math/e_fmodl.c: Likewise.
41053 * math/e_gammal_r.c: Likewise.
41054 * math/e_hypotl.c: Likewise.
41055 * math/e_j0l.c: Likewise.
41056 * math/e_j1l.c: Likewise.
41057 * math/e_jnl.c: Likewise.
41058 * math/e_lgammal_r.c: Likewise.
41059 * math/e_log10l.c: Likewise.
41060 * math/e_log2l.c: Likewise.
41061 * math/e_logl.c: Likewise.
41062 * math/e_powl.c: Likewise.
41063 * math/e_rem_pio2l.c: Likewise.
41064 * math/e_sinhl.c: Likewise.
41065 * math/e_sqrtl.c: Likewise.
41066 * math/fclrexcpt.c: Likewise.
41067 * math/fedisblxcpt.c: Likewise.
41068 * math/feenablxcpt.c: Likewise.
41069 * math/fegetenv.c: Likewise.
41070 * math/fegetexcept.c: Likewise.
41071 * math/fegetround.c: Likewise.
41072 * math/feholdexcpt.c: Likewise.
41073 * math/fesetenv.c: Likewise.
41074 * math/fesetround.c: Likewise.
41075 * math/feupdateenv.c: Likewise.
41076 * math/fgetexcptflg.c: Likewise.
41077 * math/fraiseexcpt.c: Likewise.
41078 * math/fsetexcptflg.c: Likewise.
41079 * math/ftestexcept.c: Likewise.
41080 * math/k_cosl.c: Likewise.
41081 * math/k_rem_pio2l.c: Likewise.
41082 * math/k_sinl.c: Likewise.
41083 * math/k_tanl.c: Likewise.
41084 * math/s_asinhl.c: Likewise.
41085 * math/s_atanl.c: Likewise.
41086 * math/s_cbrtl.c: Likewise.
41087 * math/s_erfl.c: Likewise.
41088 * math/s_expm1l.c: Likewise.
41089 * math/s_log1pl.c: Likewise.
41090 * math/s_tanhl.c: Likewise.
41091 * misc/acct.c: Likewise.
41092 * misc/brk.c: Likewise.
41093 * misc/chflags.c: Likewise.
41094 * misc/chroot.c: Likewise.
41095 * misc/fchflags.c: Likewise.
41096 * misc/fgetxattr.c: Likewise.
41097 * misc/flistxattr.c: Likewise.
41098 * misc/fremovexattr.c: Likewise.
41099 * misc/fsetxattr.c: Likewise.
41100 * misc/fsync.c: Likewise.
41101 * misc/ftruncate.c: Likewise.
41102 * misc/futimes.c: Likewise.
41103 * misc/futimesat.c: Likewise.
41104 * misc/getdomain.c: Likewise.
41105 * misc/getdtsz.c: Likewise.
41106 * misc/gethostid.c: Likewise.
41107 * misc/gethostname.c: Likewise.
41108 * misc/getloadavg.c: Likewise.
41109 * misc/getpagesize.c: Likewise.
41110 * misc/getsysstats.c: Likewise.
41111 * misc/getxattr.c: Likewise.
41112 * misc/gtty.c: Likewise.
41113 * misc/ioctl.c: Likewise.
41114 * misc/lgetxattr.c: Likewise.
41115 * misc/listxattr.c: Likewise.
41116 * misc/llistxattr.c: Likewise.
41117 * misc/lremovexattr.c: Likewise.
41118 * misc/lsetxattr.c: Likewise.
41119 * misc/lutimes.c: Likewise.
41120 * misc/madvise.c: Likewise.
41121 * misc/mincore.c: Likewise.
41122 * misc/mlock.c: Likewise.
41123 * misc/mlockall.c: Likewise.
41124 * misc/mmap.c: Likewise.
41125 * misc/mprotect.c: Likewise.
41126 * misc/msync.c: Likewise.
41127 * misc/munlock.c: Likewise.
41128 * misc/munlockall.c: Likewise.
41129 * misc/munmap.c: Likewise.
41130 * misc/preadv.c: Likewise.
41131 * misc/preadv64.c: Likewise.
41132 * misc/ptrace.c: Likewise.
41133 * misc/pwritev.c: Likewise.
41134 * misc/pwritev64.c: Likewise.
41135 * misc/readv.c: Likewise.
41136 * misc/reboot.c: Likewise.
41137 * misc/remap_file_pages.c: Likewise.
41138 * misc/removexattr.c: Likewise.
41139 * misc/revoke.c: Likewise.
41140 * misc/select.c: Likewise.
41141 * misc/setdomain.c: Likewise.
41142 * misc/setegid.c: Likewise.
41143 * misc/seteuid.c: Likewise.
41144 * misc/sethostid.c: Likewise.
41145 * misc/sethostname.c: Likewise.
41146 * misc/setregid.c: Likewise.
41147 * misc/setreuid.c: Likewise.
41148 * misc/setxattr.c: Likewise.
41149 * misc/sstk.c: Likewise.
41150 * misc/stty.c: Likewise.
41151 * misc/swapoff.c: Likewise.
41152 * misc/swapon.c: Likewise.
41153 * misc/sync.c: Likewise.
41154 * misc/syncfs.c: Likewise.
41155 * misc/syscall.c: Likewise.
41156 * misc/truncate.c: Likewise.
41157 * misc/ualarm.c: Likewise.
41158 * misc/usleep.c: Likewise.
41159 * misc/ustat.c: Likewise.
41160 * misc/utimes.c: Likewise.
41161 * misc/vhangup.c: Likewise.
41162 * misc/writev.c: Likewise.
41163 * posix/_exit.c: Likewise.
41164 * posix/alarm.c: Likewise.
41165 * posix/execve.c: Likewise.
41166 * posix/fexecve.c: Likewise.
41167 * posix/fork.c: Likewise.
41168 * posix/fpathconf.c: Likewise.
41169 * posix/getaddrinfo.c: Likewise.
41170 * posix/getegid.c: Likewise.
41171 * posix/geteuid.c: Likewise.
41172 * posix/getgid.c: Likewise.
41173 * posix/getgroups.c: Likewise.
41174 * posix/getlogin.c: Likewise.
41175 * posix/getlogin_r.c: Likewise.
41176 * posix/getpgid.c: Likewise.
41177 * posix/getpid.c: Likewise.
41178 * posix/getppid.c: Likewise.
41179 * posix/getresgid.c: Likewise.
41180 * posix/getresuid.c: Likewise.
41181 * posix/getsid.c: Likewise.
41182 * posix/getuid.c: Likewise.
41183 * posix/glob64.c: Likewise.
41184 * posix/nanosleep.c: Likewise.
41185 * posix/pathconf.c: Likewise.
41186 * posix/pause.c: Likewise.
41187 * posix/posix_madvise.c: Likewise.
41188 * posix/pread.c: Likewise.
41189 * posix/pread64.c: Likewise.
41190 * posix/pwrite.c: Likewise.
41191 * posix/pwrite64.c: Likewise.
41192 * posix/sched_getaffinity.c: Likewise.
41193 * posix/sched_getp.c: Likewise.
41194 * posix/sched_gets.c: Likewise.
41195 * posix/sched_primax.c: Likewise.
41196 * posix/sched_primin.c: Likewise.
41197 * posix/sched_rr_gi.c: Likewise.
41198 * posix/sched_setaffinity.c: Likewise.
41199 * posix/sched_setp.c: Likewise.
41200 * posix/sched_sets.c: Likewise.
41201 * posix/sched_yield.c: Likewise.
41202 * posix/setgid.c: Likewise.
41203 * posix/setlogin.c: Likewise.
41204 * posix/setpgid.c: Likewise.
41205 * posix/setresgid.c: Likewise.
41206 * posix/setresuid.c: Likewise.
41207 * posix/setsid.c: Likewise.
41208 * posix/setuid.c: Likewise.
41209 * posix/sleep.c: Likewise.
41210 * posix/spawni.c: Likewise.
41211 * posix/sysconf.c: Likewise.
41212 * posix/times.c: Likewise.
41213 * posix/wait.c: Likewise.
41214 * posix/wait3.c: Likewise.
41215 * posix/wait4.c: Likewise.
41216 * posix/waitpid.c: Likewise.
41217 * resolv/gai_sigqueue.c: Likewise.
41218 * resource/getpriority.c: Likewise.
41219 * resource/getrlimit.c: Likewise.
41220 * resource/getrusage.c: Likewise.
41221 * resource/nice.c: Likewise.
41222 * resource/setpriority.c: Likewise.
41223 * resource/setrlimit.c: Likewise.
41224 * resource/ulimit.c: Likewise.
41225 * rt/aio_cancel.c: Likewise.
41226 * rt/aio_fsync.c: Likewise.
41227 * rt/aio_read.c: Likewise.
41228 * rt/aio_sigqueue.c: Likewise.
41229 * rt/aio_suspend.c: Likewise.
41230 * rt/aio_write.c: Likewise.
41231 * rt/clock_getres.c: Likewise.
41232 * rt/clock_gettime.c: Likewise.
41233 * rt/clock_nanosleep.c: Likewise.
41234 * rt/clock_settime.c: Likewise.
41235 * rt/lio_listio.c: Likewise.
41236 * rt/mq_close.c: Likewise.
41237 * rt/mq_getattr.c: Likewise.
41238 * rt/mq_notify.c: Likewise.
41239 * rt/mq_open.c: Likewise.
41240 * rt/mq_receive.c: Likewise.
41241 * rt/mq_send.c: Likewise.
41242 * rt/mq_setattr.c: Likewise.
41243 * rt/mq_timedreceive.c: Likewise.
41244 * rt/mq_timedsend.c: Likewise.
41245 * rt/mq_unlink.c: Likewise.
41246 * rt/shm_open.c: Likewise.
41247 * rt/shm_unlink.c: Likewise.
41248 * rt/timer_create.c: Likewise.
41249 * rt/timer_delete.c: Likewise.
41250 * rt/timer_getoverr.c: Likewise.
41251 * rt/timer_gettime.c: Likewise.
41252 * rt/timer_settime.c: Likewise.
41253 * setjmp/__longjmp.c: Likewise.
41254 * setjmp/setjmp.c: Likewise.
41255 * signal/kill.c: Likewise.
41256 * signal/killpg.c: Likewise.
41257 * signal/raise.c: Likewise.
41258 * signal/sigaction.c: Likewise.
41259 * signal/sigaltstack.c: Likewise.
41260 * signal/sigblock.c: Likewise.
41261 * signal/sigignore.c: Likewise.
41262 * signal/sigintr.c: Likewise.
41263 * signal/signal.c: Likewise.
41264 * signal/sigpause.c: Likewise.
41265 * signal/sigpending.c: Likewise.
41266 * signal/sigqueue.c: Likewise.
41267 * signal/sigreturn.c: Likewise.
41268 * signal/sigset.c: Likewise.
41269 * signal/sigsetmask.c: Likewise.
41270 * signal/sigstack.c: Likewise.
41271 * signal/sigsuspend.c: Likewise.
41272 * signal/sigtimedwait.c: Likewise.
41273 * signal/sigvec.c: Likewise.
41274 * signal/sigwait.c: Likewise.
41275 * signal/sigwaitinfo.c: Likewise.
41276 * signal/sysv_signal.c: Likewise.
41277 * socket/accept.c: Likewise.
41278 * socket/accept4.c: Likewise.
41279 * socket/bind.c: Likewise.
41280 * socket/connect.c: Likewise.
41281 * socket/getpeername.c: Likewise.
41282 * socket/getsockname.c: Likewise.
41283 * socket/getsockopt.c: Likewise.
41284 * socket/isfdtype.c: Likewise.
41285 * socket/listen.c: Likewise.
41286 * socket/recv.c: Likewise.
41287 * socket/recvfrom.c: Likewise.
41288 * socket/recvmsg.c: Likewise.
41289 * socket/send.c: Likewise.
41290 * socket/sendmsg.c: Likewise.
41291 * socket/sendto.c: Likewise.
41292 * socket/setsockopt.c: Likewise.
41293 * socket/shutdown.c: Likewise.
41294 * socket/sockatmark.c: Likewise.
41295 * socket/socket.c: Likewise.
41296 * socket/socketpair.c: Likewise.
41297 * stdio-common/ctermid.c: Likewise.
41298 * stdio-common/cuserid.c: Likewise.
41299 * stdio-common/remove.c: Likewise.
41300 * stdio-common/rename.c: Likewise.
41301 * stdio-common/renameat.c: Likewise.
41302 * stdio-common/tempname.c: Likewise.
41303 * stdlib/getcontext.c: Likewise.
41304 * stdlib/makecontext.c: Likewise.
41305 * stdlib/setcontext.c: Likewise.
41306 * stdlib/swapcontext.c: Likewise.
41307 * stdlib/system.c: Likewise.
41308 * streams/fattach.c: Likewise.
41309 * streams/fdetach.c: Likewise.
41310 * streams/getmsg.c: Likewise.
41311 * streams/getpmsg.c: Likewise.
41312 * streams/putmsg.c: Likewise.
41313 * streams/putpmsg.c: Likewise.
41314 * sysdeps/unix/bsd/getpt.c: Likewise.
41315 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
41316 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
41317 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41320 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
41321 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41322 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41323 * sysvipc/msgctl.c: Likewise.
41324 * sysvipc/msgget.c: Likewise.
41325 * sysvipc/msgrcv.c: Likewise.
41326 * sysvipc/msgsnd.c: Likewise.
41327 * sysvipc/semctl.c: Likewise.
41328 * sysvipc/semget.c: Likewise.
41329 * sysvipc/semop.c: Likewise.
41330 * sysvipc/semtimedop.c: Likewise.
41331 * sysvipc/shmat.c: Likewise.
41332 * sysvipc/shmctl.c: Likewise.
41333 * sysvipc/shmdt.c: Likewise.
41334 * sysvipc/shmget.c: Likewise.
41335 * termios/tcdrain.c: Likewise.
41336 * termios/tcflow.c: Likewise.
41337 * termios/tcflush.c: Likewise.
41338 * termios/tcgetattr.c: Likewise.
41339 * termios/tcgetpgrp.c: Likewise.
41340 * termios/tcsendbrk.c: Likewise.
41341 * termios/tcsetattr.c: Likewise.
41342 * termios/tcsetpgrp.c: Likewise.
41343 * time/adjtime.c: Likewise.
41344 * time/clock.c: Likewise.
41345 * time/getitimer.c: Likewise.
41346 * time/gettimeofday.c: Likewise.
41347 * time/setitimer.c: Likewise.
41348 * time/settimeofday.c: Likewise.
41349 * time/stime.c: Likewise.
41350 * time/time.c: Likewise.
41352 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
41354 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
41357 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
41359 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
41361 2012-11-03 Joseph Myers <joseph@codesourcery.com>
41364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
41365 FE_TONEAREST before applying Dekker multiplication and Knuth
41366 addition. Clear inexact exceptions and check for exact zero
41367 results afterwards.
41368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41369 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41370 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41371 * math/libm-test.inc (fma_test): Add more tests.
41372 (fma_test_towardzero): Likewise.
41373 (fma_test_downward): Likewise.
41374 (fma_test_upward): Likewise.
41375 * sysdeps/generic/math_private.h (default_libc_fesetround): New
41377 (libc_fesetround): New macro.
41378 (libc_fesetroundf): Likewise.
41379 (libc_fesetroundl): Likewise.
41380 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
41382 (libc_fesetround_387): Likewise.
41383 (libc_fesetroundf): New macro.
41384 (libc_fesetround): Likewise.
41385 (libc_fesetroundl): Likewise.
41386 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
41388 (libc_fesetroundf): New macro.
41389 (libc_fesetround): Likewise.
41390 (libc_fesetroundl): Likewise.
41391 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
41392 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
41393 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
41395 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
41396 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
41398 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
41399 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
41401 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
41405 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
41406 integer constant usable in #if and use that to give value to enum
41408 (FE_DIVBYZERO): Likewise.
41409 (FE_UNDERFLOW): Likewise.
41410 (FE_OVERFLOW): Likewise.
41411 (FE_INVALID): Likewise.
41412 (FE_INVALID_SNAN): Likewise.
41413 (FE_INVALID_ISI): Likewise.
41414 (FE_INVALID_IDI): Likewise.
41415 (FE_INVALID_ZDZ): Likewise.
41416 (FE_INVALID_IMZ): Likewise.
41417 (FE_INVALID_COMPARE): Likewise.
41418 (FE_INVALID_SOFTWARE): Likewise.
41419 (FE_INVALID_SQRT): Likewise.
41420 (FE_INVALID_INTEGER_CONVERSION): Likewise.
41421 (FE_TONEAREST): Likewise.
41422 (FE_TOWARDZERO): Likewise.
41423 (FE_UPWARD): Likewise.
41424 (FE_DOWNWARD): Likewise.
41425 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
41426 (FE_DIVBYZERO): Likewise.
41427 (FE_OVERFLOW): Likewise.
41428 (FE_UNDERFLOW): Likewise.
41429 (FE_INEXACT): Likewise.
41430 (FE_TONEAREST): Likewise.
41431 (FE_DOWNWARD): Likewise.
41432 (FE_UPWARD): Likewise.
41433 (FE_TOWARDZERO): Likewise.
41434 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
41435 (FE_UNDERFLOW): Likewise.
41436 (FE_OVERFLOW): Likewise.
41437 (FE_DIVBYZERO): Likewise.
41438 (FE_INVALID): Likewise.
41439 (FE_TONEAREST): Likewise.
41440 (FE_TOWARDZERO): Likewise.
41441 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
41442 (FE_OVERFLOW): Likewise.
41443 (FE_UNDERFLOW): Likewise.
41444 (FE_DIVBYZERO): Likewise.
41445 (FE_INEXACT): Likewise.
41446 (FE_TONEAREST): Likewise.
41447 (FE_TOWARDZERO): Likewise.
41448 (FE_UPWARD): Likewise.
41449 (FE_DOWNWARD): Likewise.
41450 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
41451 (FE_DIVBYZERO): Likewise.
41452 (FE_OVERFLOW): Likewise.
41453 (FE_UNDERFLOW): Likewise.
41454 (FE_INEXACT): Likewise.
41455 (FE_TONEAREST): Likewise.
41456 (FE_DOWNWARD): Likewise.
41457 (FE_UPWARD): Likewise.
41458 (FE_TOWARDZERO): Likewise.
41460 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
41462 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
41464 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
41466 * scripts/cross-test-ssh.sh (command): Use newlines to separate
41467 commands. Quote $PWD.
41468 (blacklist_exports): Don't use remove_newlines. Replace "declare
41470 (remove_newlines): Remove.
41472 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
41474 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
41475 * stdlib/stdlib.h (atof): Moved to ...
41476 * include/bits/stdlib-float.h: Here. New file.
41477 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
41478 * stdlib/bits/stdlib-float.h: New file.
41479 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
41481 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
41484 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41486 * conform/conformtest.pl (@headers): Add fenv.h.
41487 * conform/data/fenv.h-data: New file.
41488 * include/fenv.h [_ISOMAC]: Disable all contents of file except
41489 include of <math/fenv.h>.
41491 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
41492 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
41493 && !UNIX98]. Enables tests for XOPEN2K8.
41494 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
41495 POSIX2008]: Likewise.
41497 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
41498 (struct rusage): Do not expect type or its members.
41501 * math/math.h (FP_NAN): Define macro to integer constant usable in
41502 #if and use that to give value to enum constant.
41503 (FP_INFINITE): Likewise.
41504 (FP_ZERO): Likewise.
41505 (FP_SUBNORMAL): Likewise.
41506 (FP_NORMAL): Likewise.
41508 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
41510 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
41511 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
41514 2012-11-02 Roland McGrath <roland@hack.frob.com>
41516 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
41517 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
41518 autoconf-time if not.
41519 * configure.in: Remove AC_PREREQ.
41521 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41523 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
41524 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
41525 of the internal implementation.
41527 2012-11-02 Joseph Myers <joseph@codesourcery.com>
41529 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
41530 except include of <misc/sys/syslog.h>.
41532 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
41535 function returns with a NULL context exit with zero.
41537 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41539 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
41541 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
41543 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
41544 (run_program_cmd): This.
41545 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41546 (tst_langinfo): New variable. Use it.
41548 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
41550 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41551 floating point opcodes.
41553 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41555 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41558 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41560 * sysdeps/mach/hurd/powerpc: Remove directory.
41561 * sysdeps/mach/powerpc: Likewise.
41563 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
41565 * scripts/check-local-headers.sh: Ignore c++ headers.
41567 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41569 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41570 __libc_cleanup_region_start argument.
41572 2012-11-01 Joseph Myers <joseph@codesourcery.com>
41576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41577 x * y using scaling, not as x * y + z.
41578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41579 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41580 * math/libm-test.inc (fma_test): Add more tests.
41581 (fma_test_towardzero): Likewise.
41582 (fma_test_downward): Likewise.
41583 (fma_test_upward): Likewise.
41585 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
41587 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41589 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41591 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41594 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
41596 * rt/tst-shm.c (worker): Correct checking for mmap failure.
41598 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41605 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41608 Fix the order of the list for glibc 2.17.
41609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41612 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
41614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41616 2012-10-31 Joseph Myers <joseph@codesourcery.com>
41619 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41620 for low part of x being zero before using __atanl (y).
41621 * math/libm-test.inc (atan2_test): Add another test.
41623 * manual/install.texi (Configuring and compiling): Document
41624 general use of test-wrapper and test-wrapper-env.
41625 * INSTALL: Regenerated.
41627 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41628 (__fma): Do not extract and scale down low bits on after-rounding
41629 systems when result rounded to normal precision would have normal
41631 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41632 (__fmal): Do not extract and scale down low bits on after-rounding
41633 systems when result rounded to normal precision would have normal
41635 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41636 (__fmal): Do not extract and scale down low bits on after-rounding
41637 systems when result rounded to normal precision would have normal
41639 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41641 (fma_test): Add more tests.
41642 (fma_test_towardzero): Likewise.
41643 (fma_test_downward): Likewise.
41644 (fma_test_upward): Likewise.
41646 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
41648 * sysdeps/i386/tininess.h: Renamed to ...
41649 * sysdeps/x86/tininess.h: This.
41650 * sysdeps/x86_64/tininess.h: Removed.
41652 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41654 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41655 input. Use $(build-program-cmd).
41656 ($(objpfx)tst-array1-static.out): Likewise.
41657 ($(objpfx)tst-array2.out): Likewise.
41658 ($(objpfx)tst-array3.out): Likewise.
41659 ($(objpfx)tst-array4.out): Likewise.
41660 ($(objpfx)tst-array5.out): Likewise.
41661 ($(objpfx)tst-array5-static.out): Likewise.
41663 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
41665 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41668 * nss/nsswitch.h (nss_interface_function): Provide new
41669 macro for use with NSS functions.
41670 * grp/initgroups.c: Use new macro.
41671 * nss/getXXbyYY.c: Likewise.
41672 * nss/getXXbyYY_r.c: Likewise.
41673 * nss/getXXent.c: Likewise.
41674 * nss/getXXent_r.c: Likewise.
41675 * sysdeps/posix/getaddrinfo.c: Likewise.
41677 2012-10-30 Andreas Jaeger <aj@suse.de>
41679 * po/ru.po: Update Russion translation from translation project.
41681 2012-10-30 Joseph Myers <joseph@codesourcery.com>
41685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41686 result and shift together with sticky bit instead of replicating
41687 round-to-nearest rounding.
41688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41689 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41690 * math/libm-test.inc (fma_test): Add more tests. Do not permit
41691 missing underflow exceptions.
41692 (fma_test_towardzero): Add more tests.
41693 (fma_test_downward): Likewise.
41694 (fma_test_upward): Likewise.
41697 * sysdeps/generic/tininess.h: New file.
41698 * sysdeps/i386/tininess.h: Likewise.
41699 * sysdeps/sh/tininess.h: Likewise.
41700 * sysdeps/x86_64/tininess.h: Likewise.
41701 * stdlib/tst-strtod-underflow.c: Likewise.
41702 * stdlib/tst-tininess.c: Likewise.
41703 * stdlib/strtod_l.c: Include <tininess.h>.
41704 (round_and_return): Do not set errno for exact underflow cases.
41705 Force an underflow exception when setting errno for underflow.
41706 Determine underflow based on rounding to normal precision if
41707 TININESS_AFTER_ROUNDING.
41708 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41709 ERANGE for exact underflow cases.
41710 * stdlib/Makefile (tests): Add tst-tininess and
41711 tst-strtod-underflow.
41712 ($(objpfx)tst-tininess): Use $(link-libm).
41713 ($(objpfx)tst-strtod-underflow): Likewise.
41715 2012-10-30 Andreas Jaeger <aj@suse.de>
41718 * elf/Makefile (tests): Remove conditional for have-initfini-array
41719 since this is now always required and the variable does not exist
41721 (tests-static): Likewise.
41722 (modules-names): Likewise.
41724 * po/eo.po: Add Esperanto translation from translation project.
41726 * elf/tst-array1.c (fini_array): Make writeable so that it can be
41727 merged with constructor/destructor.
41728 (init_array): Likewise.
41729 * elf/tst-array2dep.c (fini_array): Likewise.
41730 (init_array): Likewise.
41732 2012-10-29 Mike Frysinger <vapier@gentoo.org>
41734 * manual/message.texi: Delete @cartouche tags.
41736 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
41738 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41740 * sysdeps/mach/hurd/fsync.c: Likewise.
41742 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41743 [_POSIX_REALTIME_SIGNALS]: Change condition to
41744 [_POSIX_REALTIME_SIGNALS > 0].
41746 2012-10-27 Andreas Jaeger <aj@suse.de>
41748 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41749 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41751 [__WORDSIZE != 64]: Likewise.
41753 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
41755 * iconvdata/tst-table.sh: Remove ${SHELL}.
41756 * iconvdata/tst-tables.sh: Likewise.
41758 2012-10-25 David S. Miller <davem@davemloft.net>
41760 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41761 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41764 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41766 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41767 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41768 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41771 2012-10-25 Roland McGrath <roland@hack.frob.com>
41773 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41774 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41777 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41778 Jim Blandy <jimb@codesourcery.com>
41780 * scripts/cross-test-ssh.sh: New file.
41781 * manual/install.texi (Configuring and compiling): Document use of
41783 * INSTALL: Regenerated.
41785 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
41787 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41790 2012-10-25 Joseph Myers <joseph@codesourcery.com>
41792 * Makeconfig (run-program-prefix): Fix comment.
41794 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41795 Jim Blandy <jimb@codesourcery.com>
41797 * Makeconfig (test-wrapper): New variable,
41798 (test-wrapper-env): Likewise.
41799 [$(cross-compiling) = yes && $(test-wrapper) != ""]
41800 (run-built-tests): Define to yes.
41801 (run-program-prefix): Use $(test-wrapper).
41802 (built-program-cmd): Likewise.
41803 * Rules (make-test-out): Use $(test-wrapper-env) and
41804 $(host-built-program-cmd).
41805 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41806 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41808 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41809 $(test-wrapper-env) to tst-rtld-load-self.sh.
41810 ($(objpfx)order2.out): Use $(test-wrapper).
41811 ($(objpfx)tst-initorder.out): Likewise.
41812 ($(objpfx)tst-initorder2.out): Likewise.
41813 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41814 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41815 (test_wrapper_env): New variable. Use it to run ld.so.
41816 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41817 Use it to run ld.so.
41818 (test_wrapper_env): Likewise.
41819 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41820 $(test-wrapper) to run-iconv-test.sh.
41821 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41822 (ICONV): Use $test_wrapper.
41823 * posix/Makefile ($(objpfx)globtest.out): Pass
41824 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41825 globtest.sh, not $(run-program-prefix).
41826 * posix/globtest.sh (run_via_rtld_prefix): New variable.
41827 (test_wrapper): Likewise.
41828 (test_wrapper_env): Likewise. Use it to run globtest with HOME
41829 set together with run_via_rtld_prefix.
41830 (run_program_prefix): Define in terms of test_wrapper and
41831 run_via_rtld_prefix.
41833 2012-10-24 Roland McGrath <roland@hack.frob.com>
41835 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41836 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41840 * include/time.h: Remove librt_hidden_proto (clock_gettime).
41841 Declare __clock_getres, __clock_gettime, __clock_settime,
41842 __clock_nanosleep, and __clock_getcpuclockid.
41843 * rt/clock_gettime.c: Define __clock_gettime as an alias.
41844 Remove librt_hidden_def (clock_gettime).
41845 * sysdeps/unix/clock_gettime.c: Likewise.
41846 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41847 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41848 * rt/clock_getres.c: Define __clock_getres as an alias.
41849 * sysdeps/posix/clock_getres.c: Likewise.
41850 * rt/clock_settime.c: Define __clock_settime as an alias.
41851 * sysdeps/unix/clock_settime.c: Likewise.
41852 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41853 * sysdeps/unix/clock_nanosleep.c: Likewise.
41854 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41855 * rt/clock-compat.c: New file.
41856 * rt/Makefile (librt-routines): Add clock-compat and move
41857 $(clock-routines) to ...
41858 (routines): ... here, new variable.
41859 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41860 Don't add get_clockfreq here.
41861 * rt/Versions (libc: GLIBC_2.17): New version set.
41862 Add clock_* symbols here.
41863 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
41864 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41865 (GLIBC_2.17): Add clock_* symbols.
41866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41868 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41877 * NEWS: Mention the move.
41879 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41880 Use __open, __read, __close rather than their public counterparts.
41881 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41882 (__get_clockfreq_via_cpuinfo): Likewise.
41883 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41884 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41886 * config.h.in (HAVE_IFUNC): New #undef.
41887 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41889 * configure: Regenerated.
41891 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41893 * configure.in: Move READELF check to start of file.
41894 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41895 libc_cv_asm_gnu_indirect_function in the process.
41896 * configure: Regenerated.
41898 2012-10-24 Mike Frysinger <vapier@gentoo.org>
41900 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41901 send the output to /dev/null.
41902 (libc_cv_cc_with_libunwind): Likewise.
41903 (libc_cv_as_noexecstack): Likewise.
41904 * configure: Regenerate.
41906 2012-10-24 Joseph Myers <joseph@codesourcery.com>
41908 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41910 * posix/globtest.sh (TMPDIR): Do not set.
41911 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41912 (testout): Likewise.
41914 2012-10-24 Andreas Jaeger <aj@suse.de>
41916 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41917 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41918 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41919 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41920 posix_fadvise64, posix_fallocate64.
41922 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41923 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41924 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41926 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41928 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41930 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41931 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41932 <bits/fcntl-linux.h>.
41933 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41935 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41936 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41937 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41938 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41939 [__WORDSIZE != 64]: Likewise.
41941 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41943 * Makeconfig (run-built-tests): New variable.
41944 * Rules [$(cross-compiling) = yes]: Change condition to
41945 [$(run-built-tests) = no].
41946 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41947 to [$(run-built-tests) = yes].
41948 * elf/Makefile [$(cross-compiling) = no]: Likewise
41949 * grp/Makefile [$(cross-compiling) = no]: Likewise.
41950 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41951 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41952 * intl/Makefile [$(cross-compiling) = no]: Likewise.
41953 * io/Makefile [$(cross-compiling) = no]: Likewise.
41954 * libio/Makefile [$(cross-compiling) = no]: Likewise.
41955 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41956 * misc/Makefile [$(cross-compiling) = no]: Likewise.
41957 * posix/Makefile [$(cross-compiling) = no]: Likewise.
41958 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41959 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41960 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41961 * string/Makefile [$(cross-compiling) = no]: Likewise.
41963 * posix/Makefile ($(objpfx)globtest.out): Pass
41964 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41965 $(rtld-installed-name).
41966 * posix/globtest.sh (elf_objpfx): Remove variable.
41967 (rtld_installed_name): Likewise.
41968 (library_path): Likewise.
41969 (run_program_prefix): New variable. Use for running globtest
41972 2012-10-23 Jim Blandy <jimb@codesourcery.com>
41973 Joseph Myers <joseph@codesourcery.com>
41975 * Makeconfig (host-built-program-cmd): New variable.
41976 * elf/Makefile (tst-stackguard1-ARGS): Use
41977 $(host-built-program-cmd).
41978 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41979 (tst-spawn-ARGS): Likewise.
41980 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41982 2012-10-23 Joseph Myers <joseph@codesourcery.com>
41983 Jim Blandy <jimb@codesourcery.com>
41985 * Makeconfig (run-via-rtld-prefix): New variable.
41986 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41987 (built-program-cmd): Likewise.
41989 2012-10-22 Andreas Jaeger <aj@suse.de>
41991 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41992 __O_RSYNC if it exists, otherwise to O_SYNC.
41994 2012-10-22 Jim Blandy <jimb@codesourcery.com>
41995 Joseph Myers <joseph@codesourcery.com>
41997 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41999 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
42001 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
42004 2012-10-22 Andreas Jaeger <aj@suse.de>
42006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
42008 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
42010 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42011 bits/fcntl-linux.h.
42013 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
42014 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
42016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
42018 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
42021 2012-10-21 Jim Blandy <jimb@codesourcery.com>
42022 Joseph Myers <joseph@codesourcery.com>
42024 * config.make.in (NM): New variable.
42026 2012-10-21 Andreas Jaeger <aj@suse.de>
42028 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
42029 definitions and declarations that are provided by
42030 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
42032 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42035 * elf/Makefile (tests-static): Add tst-leaks1-static.
42036 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
42037 ($(objpfx)tst-leaks1-static): New rule.
42038 ($(objpfx)tst-leaks1-static-mem): Likewise.
42039 (tst-leaks1-static-ENV): New macro.
42040 * elf/dl-open.c (dl_open_worker): Check the main application
42041 only if SHARED is defined.
42042 * elf/tst-leaks1-static.c: New file.
42044 2012-10-20 Andreas Jaeger <aj@suse.de>
42046 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
42047 generic values for Linux.
42048 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
42049 and declarations that are provided by <bits/fcntl-linux.h> and
42050 include <bits/fcntl-linux.h>.
42051 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42052 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42054 2012-10-20 Roland McGrath <roland@hack.frob.com>
42056 * io/fcntl.h: Move include of <bits/types.h> to the top and
42057 include it unconditionally.
42059 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
42061 * wcsmbs/Makefile (tests-ifunc): New variable.
42062 (tests): Add $(tests-ifunc).
42063 * wcsmbs/test-wcschr-ifunc.c: New file.
42064 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42065 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42066 * wcsmbs/test-wcslen-ifunc.c: Likewise.
42067 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42068 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42070 * string/Makefile (tests-ifunc): New variable.
42071 (tests): Add $(tests-ifunc).
42072 * string/test-memccpy.c (TEST_NAME): New macro.
42073 * string/test-memchr.c (TEST_NAME): Likewise.
42074 * string/test-memcmp.c (TEST_NAME): Likewise.
42075 * string/test-memcpy.c (TEST_NAME): Likewise.
42076 * string/test-memmem.c (TEST_NAME): Likewise.
42077 * string/test-memmove.c (TEST_NAME): Likewise.
42078 * string/test-memset.c (TEST_NAME): Likewise.
42079 * string/test-rawmemchr.c (TEST_NAME): Likewise.
42080 * string/test-stpcpy.c (TEST_NAME): Likewise.
42081 * string/test-stpncpy.c (TEST_NAME): Likewise.
42082 * string/test-strcasecmp.c (TEST_NAME): Likewise.
42083 * string/test-strcasestr.c (TEST_NAME): Likewise.
42084 * string/test-strcat.c (TEST_NAME): Likewise.
42085 * string/test-strchr.c (TEST_NAME): Likewise.
42086 * string/test-strcmp.c(TEST_NAME): Likewise.
42087 * string/test-strcpy.c (TEST_NAME): Likewise.
42088 * string/test-strcspn.c (TEST_NAME): Likewise.
42089 * string/test-strlen.c (TEST_NAME): Likewise.
42090 * string/test-strncasecmp.c (TEST_NAME): Likewise.
42091 * string/test-strncmp.c (TEST_NAME): Likewise.
42092 * string/test-strncpy.c (TEST_NAME): Likewise.
42093 * string/test-strnlen.c (TEST_NAME): Likewise.
42094 * string/test-strpbrk.c (TEST_NAME): Likewise.
42095 * string/test-strrchr.c (TEST_NAME): Likewise.
42096 * string/test-strspn.c (TEST_NAME): Likewise.
42097 * string/test-strstr.c (TEST_NAME): Likewise.
42098 * string/test-bcopy-ifunc.c: New file.
42099 * string/test-bzero-ifunc.c: Likewise.
42100 * string/test-memccpy-ifunc.c: Likewise.
42101 * string/test-memchr-ifunc.c: Likewise.
42102 * string/test-memcmp-ifunc.c: Likewise.
42103 * string/test-memcpy-ifunc.c: Likewise.
42104 * string/test-memmem-ifunc.c: Likewise.
42105 * string/test-memmove-ifunc.c: Likewise.
42106 * string/test-mempcpy-ifunc.c: Likewise.
42107 * string/test-memset-ifunc.c: Likewise.
42108 * string/test-rawmemchr-ifunc.c: Likewise.
42109 * string/test-stpcpy-ifunc.c: Likewise.
42110 * string/test-stpncpy-ifunc.c: Likewise.
42111 * string/test-strcasecmp-ifunc.c: Likewise.
42112 * string/test-strcasestr-ifunc.c: Likewise.
42113 * string/test-strcat-ifunc.c: Likewise.
42114 * string/test-strchr-ifunc.c: Likewise.
42115 * string/test-strchrnul-ifunc.c: Likewise.
42116 * string/test-strcmp-ifunc.c: Likewise.
42117 * string/test-strcpy-ifunc.c: Likewise.
42118 * string/test-strcspn-ifunc.c: Likewise.
42119 * string/test-strlen-ifunc.c: Likewise.
42120 * string/test-strncasecmp-ifunc.c: Likewise.
42121 * string/test-strncat-ifunc.c: Likewise.
42122 * string/test-strncmp-ifunc.c: Likewise.
42123 * string/test-strncpy-ifunc.c: Likewise.
42124 * string/test-strnlen-ifunc.c: Likewise.
42125 * string/test-strpbrk-ifunc.c: Likewise.
42126 * string/test-strrchr-ifunc.c: Likewise.
42127 * string/test-strspn-ifunc.c: Likewise.
42128 * string/test-strstr-ifunc.c: Likewise.
42130 * debug/Makefile (tests-ifunc): New variable.
42131 (tests): Add $(tests-ifunc).
42132 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
42133 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
42134 * debug/test-stpcpy_chk-ifunc.c: New file.
42135 * debug/test-strcpy_chk-ifunc.c: Likewise.
42137 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42140 * elf/dl-load.c (open_verify): Retry read if the entire ELF
42141 header is not read in.
42143 2012-10-19 Joseph Myers <joseph@codesourcery.com>
42145 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
42146 script to $(SHELL) as $<. Pass $(common-objpfx) to script
42147 directly. Pass built executable to script as
42148 $(built-program-cmd).
42149 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
42150 $testprogram without using LD_LIBRARY_PATH and $ldso.
42152 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
42153 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
42154 $(rtld-installed-name).
42155 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
42156 (rtld_installed_name): Likewise.
42157 (library_path): Likewise.
42158 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
42159 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
42160 $(run-program-prefix) to tst-tables.sh.
42161 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
42162 it to run tst-table-from and tst-table-to.
42163 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
42164 Pass it to tst-table.sh.
42165 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
42166 $(run-program-prefix) to tst-gettext.sh.
42167 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
42169 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
42171 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
42172 to run tst-gettext.
42173 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
42174 to run tst-gettext2.
42175 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
42176 to run tst-translit.
42177 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
42178 $(run-program-prefix) to tst-mtrace.sh.
42179 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
42181 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
42182 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
42183 $(rtld-installed-name).
42184 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
42185 (rtld_installed_name): Likewise.
42186 (run_program_prefix): New variable. Use it to run wordexp-test.
42188 * Makeconfig (ARCH): Remove all definitions.
42189 (machine): Likewise.
42190 [ARCH]: Remove conditional code.
42191 [!objdir]: Give error.
42192 [!objdir] (objpfx): Remove.
42193 [!objdir] (common-objpfx): Likewise.
42194 [!objdir] (common-objdir): Likewise.
42195 * configure.in (config_makefile): Remove. Hardcode Makefile in
42196 AC_CONFIG_FILES call.
42197 * configure: Regenerated.
42200 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
42202 (testout): Likewise.
42204 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
42205 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
42206 $(rtld-installed-name).
42207 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
42208 (rtld_installed_name): Likwise.
42209 (runit): Remove function.
42210 (run_getconf): New variable, Use it for running getconf binary.
42212 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
42215 * string/test-memmem.c (check_result): New function.
42216 (do_one_test): Use it.
42217 (check1): New function.
42218 (test_main): Use it.
42220 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
42222 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
42224 2012-10-18 Joseph Myers <joseph@codesourcery.com>
42226 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
42227 (_G_LSEEK64): Likewise.
42228 (_G_MMAP64): Likewise.
42229 (_G_FSTAT64): Likewise.
42230 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
42231 (_G_LSEEK64): Likewise.
42232 (_G_MMAP64): Likewise.
42233 (_G_FSTAT64): Likewise.
42234 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
42235 unconditional. Call __mmap64 directly.
42236 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
42237 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
42238 __lseek64 directly.
42239 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
42240 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
42242 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
42243 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
42244 __lseek64 directly.
42245 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
42246 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
42247 __lseek64 directly.
42248 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
42249 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
42250 __lseek64 directly.
42251 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
42252 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
42253 __fxstat64 directly.
42254 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
42255 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
42257 (freopen64) [!_G_OPEN64]: Remove conditional code.
42258 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
42260 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
42261 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
42263 (ftello64) [!_G_LSEEK64]: Remove conditional code.
42264 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
42266 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42267 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
42269 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
42270 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
42272 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42273 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
42275 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
42276 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
42278 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
42280 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42283 * manual/memory.texi (Malloc Tunable Parameters): Add note
42284 about free list pointers overwriting some perturb bytes.
42285 Wording suggested by Roland McGrath.
42287 2012-10-17 Joseph Myers <joseph@codesourcery.com>
42289 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
42290 (lgamma_test): Likewise.
42291 (tgamma_test): Likewise.
42293 2012-10-16 Florian Weimer <fweimer@redhat.com>
42296 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
42297 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
42299 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
42301 * NEWS: Mention BZ #14716.
42302 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
42303 when removing AVAILABLE1_USES_J macro.
42305 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
42307 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
42308 (__bswap_64): __uint64_t for unsigned 64-bit int.
42310 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
42312 * include/string.h (memmem): Declare libc hidden alias.
42313 * string/memmem.c (memmem): Define libc hidden alias.
42314 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
42315 __read, __close instead of open, read, close.
42317 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
42319 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
42320 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
42322 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
42323 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
42324 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
42326 (__rawmemchr_sse2): Likewise.
42327 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
42328 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
42329 (__strchr_sse2): Likewise.
42330 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
42331 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
42332 (__strcasecmp_sse2): Likewise.
42333 (__strncasecmp_sse2): Likewise.
42334 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
42335 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
42336 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
42337 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
42338 (__strrchr_sse2): Likewise.
42339 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
42341 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42342 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42343 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42344 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42345 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42346 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42347 * sysdeps/x86_64/multiarch/memset.S: Likewise.
42348 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42349 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
42350 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
42351 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
42352 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
42353 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
42354 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42355 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42356 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42357 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42358 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42359 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
42360 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
42361 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
42362 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
42363 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
42364 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42365 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
42366 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42367 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42368 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42369 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42370 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42372 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
42374 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
42375 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
42376 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
42377 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
42379 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
42381 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
42382 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
42383 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
42384 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
42386 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42387 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42388 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42389 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42390 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42391 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42392 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42393 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42394 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42395 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42396 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42397 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42398 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42399 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
42400 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
42401 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42402 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
42403 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
42404 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42405 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42406 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42407 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42408 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42409 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42410 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42411 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
42412 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
42413 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
42414 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
42415 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42416 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
42417 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42418 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42419 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
42420 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42421 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42422 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42423 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42424 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42425 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42426 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
42428 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
42429 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
42430 * include/ifunc-impl-list.h: New file.
42431 * misc/ifunc-impl-list.c: Likewise.
42432 * misc/Makefile (routines): Add ifunc-impl-list.
42433 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
42434 * string/test-string.h: Include <ifunc-impl-list.h>.
42435 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
42436 TEST_NAME]: New variables.
42437 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
42439 (test_init): Call __libc_ifunc_impl_list to initialize
42440 func_list if TEST_IFUNC and TEST_NAME are defined.
42442 * string/Makefile (strop-tests): Add bcopy and bzero.
42443 * string/test-bcopy.c: New file.
42444 * string/test-bzero.c: Likewise.
42445 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
42447 * string/test-memset.c: Support bzero test if TEST_BZERO is
42449 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
42451 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
42453 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
42456 2012-10-10 Joseph Myers <joseph@codesourcery.com>
42458 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
42459 * configure: Regenerated.
42461 * Makeconfig (+link-static-before-libc): Don't include
42462 $(link-static-libc).
42464 * libio/libio.h (_IO_pos_t): Remove.
42466 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42468 * NEWS: Add note about FIPS mode. Wording suggested by Roland
42471 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42473 * crypt/crypt-entry.c: Include fips-private.h.
42474 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
42475 * crypt/md5c-test.c (main): Tolerate disabled MD5.
42476 * sysdeps/unix/sysv/linux/fips-private.h: New file.
42477 * sysdeps/generic/fips-private.h: New file, dummy fallback.
42479 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
42481 * crypt/crypt-private.h: Include stdbool.h.
42482 (_ufc_setup_salt_r): Return bool.
42483 * crypt/crypt-entry.c: Include errno.h.
42484 (__crypt_r): Return NULL with EINVAL for bad salt.
42485 * crypt/crypt_util.c (bad_for_salt): New.
42486 (_ufc_setup_salt_r): Check that salt is long enough and within
42487 the specified alphabet.
42488 * crypt/badsalttest.c: New file.
42489 * crypt/Makefile (tests): Add it.
42490 ($(objpfx)badsalttest): New.
42492 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
42494 * NEWS: Add entry for BZ #14602.
42496 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42498 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
42500 * math/libm-test.inc: Update comment listing what functions and
42502 (isgreater_test): New function.
42503 (isgreaterequal_test): Likewise.
42504 (isless_test): Likewise.
42505 (islessequal_test): Likewise.
42506 (islessgreater_test): Likewise.
42507 (isunordered_test): Likewise.
42508 (main): Call the new functions.
42510 2012-10-09 Roland McGrath <roland@hack.frob.com>
42512 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
42513 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
42514 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
42515 * sysdeps/i386/configure: Regenerated.
42516 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
42517 * sysdeps/mach/configure: Regenerated.
42518 * sysdeps/mach/hurd/configure: Regenerated.
42519 * sysdeps/powerpc/configure: Regenerated.
42520 * sysdeps/powerpc/powerpc32/configure: Regenerated.
42521 * sysdeps/powerpc/powerpc64/configure: Regenerated.
42522 * sysdeps/s390/s390-32/configure: Regenerated.
42523 * sysdeps/s390/s390-64/configure: Regenerated.
42524 * sysdeps/sh/configure: Regenerated.
42525 * sysdeps/sparc/configure: Regenerated.
42526 * sysdeps/unix/sysv/linux/configure: Regenerated.
42527 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42528 * sysdeps/x86_64/configure: Regenerated.
42530 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
42531 defined. Don't check if MAP is NULL.
42533 2012-10-09 Joseph Myers <joseph@codesourcery.com>
42535 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
42536 (_G_stat64): Likewise.
42537 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
42538 (_G_stat64): Likewise.
42539 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
42540 instead of struct _G_stat64.
42541 * libio/fileops.c (mmap_remap_check): Likewise.
42542 (decide_maybe_mmap): Likewise.
42543 (_IO_new_file_seekoff): Likewise.
42544 (_IO_file_stat): Likewise.
42545 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42547 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42548 instead of struct _G_stat64.
42549 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42551 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
42554 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42556 (CHECK_EOL): New macro.
42557 (two_way_short_needle): Check beginning of haystack for EOL. Use
42559 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42560 Replace with CHECK_EOL.
42561 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42562 Replace with CHECK_EOL.
42564 2012-10-08 Joseph Myers <joseph@codesourcery.com>
42566 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42568 * math/libm-test.inc: Update comment listing what functions and
42570 (finite_test): New function.
42571 (isinf_test): Likewise.
42572 (isnan_test): Likewise.
42573 (fpclassify_test): Test subnormal input.
42574 (isfinite_test): Likewise.
42575 (isnormal_test): Likewise.
42576 (main): Call the new functions.
42578 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
42581 * Makerules (%.dynsym): Force C locale when running
42582 $(OBJDUMP) --dynamic-syms.
42584 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
42586 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42589 2012-10-06 David S. Miller <davem@davemloft.net>
42591 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42592 upper 32-bits of the length value in %o2 since we use branch-on-register
42593 tests which consider the entire 64-bit register.
42595 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
42597 * string/test-strstr.c (check2): Add a test for page boundary.
42599 2012-10-05 David S. Miller <davem@davemloft.net>
42601 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42602 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42604 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42606 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42607 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42608 and bzero when HWCAP_SPARC_CRYPTO is present.
42610 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
42613 * string/test-strstr.c (check2): New function.
42614 (test_main): Call check2.
42616 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42618 * string/bug-strcasestr1.c (do_test): Moved to ...
42619 * string/test-strcasestr.c (check1): Here. New function.
42620 (do_one_test): Break out result checking code into ...
42621 (check_result): This. New function.
42622 (do_one_test): Call check_result.
42623 (test_main): Call check1.
42624 * string/bug-strchr1.c (do_test): Moved to ...
42625 * string/test-strchr.c (check1): Here. New function.
42626 (do_one_test): Break out result checking code into ...
42627 (check_result): This. New function.
42628 (do_one_test): Call check_result.
42629 (test_main): Call check1.
42630 * string/bug-strstr1.c (main): Moved to ...
42631 * string/test-strstr.c (check1): Here. New function.
42632 (do_one_test): Break out result checking code into ...
42633 (check_result): This. New function.
42634 (do_one_test): Call check_result.
42635 (test_main): Call check1.
42636 * string/bug-strcasestr1.c: Removed.
42637 * string/bug-strchr1.c: Likewise.
42638 * string/bug-strstr1.c: Likewise.
42640 * elf/Makefile (dl-routines): Add hwcaps.
42641 * elf/dl-support.c (_dl_important_hwcaps): Removed.
42642 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42643 (_dl_important_hwcaps): Moved to ...
42644 * elf/dl-hwcaps.c: Here. New file.
42645 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42648 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42649 if IS_IN_rtld isn't defined.
42651 * elf/dl-support.c (_dl_sysinfo_map): New.
42652 Include "get-dynamic-info.h" and "setup-vdso.h".
42653 (_dl_non_dynamic_init): Call setup_vdso.
42654 * elf/dynamic-link.h: Don't include <assert.h>.
42655 (elf_get_dynamic_info): Moved to ...
42656 * elf/get-dynamic-info.h: Here. New file.
42657 * elf/dynamic-link.h: Include "get-dynamic-info.h".
42658 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42659 * elf/setup-vdso.h: Here. New file.
42660 * elf/rtld.c: Include "setup-vdso.h".
42661 (dl_main): Call setup_vdso.
42663 2012-10-05 Joseph Myers <joseph@codesourcery.com>
42665 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42666 creal in comment listing functions tested. List finite, isinf,
42667 isnan, isless, islessequal, isgreater, isgreaterequal,
42668 islessgreater, isunordered, lgamma_r and pow10 as functions and
42669 macros not tested. Mention which functions not tested are aliases
42670 for other functions. Fix typo. Note that signs of NaNs are not
42673 * scripts/config.guess: Update from config.git.
42674 * scripts/config.sub: Likewise.
42676 2012-10-04 Roland McGrath <roland@hack.frob.com>
42678 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42679 * misc/madvise.c (madvise): Renamed to __madvise.
42680 Make madvise a weak alias.
42681 * include/sys/mman.h: Declare __madvise.
42682 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42683 * sysdeps/unix/syscalls.list
42684 (madvise): Make __madvise the strong name, and madvise a weak alias.
42685 * sysdeps/unix/sysv/linux/syscalls.list
42686 (madvise, mmap): Remove redundant entries.
42687 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42688 * malloc/malloc.c (mtrim): Likewise.
42689 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42691 2012-10-03 Roland McGrath <roland@hack.frob.com>
42693 * sysdeps/mach/hurd/dl-cache.c: File removed.
42694 * config.h.in (USE_LDCONFIG): New #undef.
42695 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42696 * configure: Regenerated.
42697 * elf/Makefile (dl-routines): Add dl-cache only under
42698 [$(use-ldconfig) = yes].
42699 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42700 cache on [USE_LDCONFIG].
42701 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42703 * elf/rtld.c (dl_main): Likewise.
42705 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
42707 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42708 _SC_LEVEL4_CACHE_LINESIZE.
42710 2012-10-03 Roland McGrath <roland@hack.frob.com>
42712 * sysdeps/unix/bsd/confstr.h: File removed.
42714 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
42716 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42719 2012-10-02 Roland McGrath <roland@hack.frob.com>
42721 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42722 Make 'mapoff' field ElfW(Off) rather than off_t.
42724 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
42726 * nscd/Makefile: Remove nscd-cflags and all its users.
42727 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42728 (CFLAGS-nonlib): Add compiler flags for nscd modules.
42731 * malloc.c (malloc_printerr): Clarify error message.
42733 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
42736 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42737 Set bit_FMA_Usable if FMA is supported.
42738 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42740 (bit_FMA4_Usable): Updated.
42741 (index_FMA_Usable): New macro.
42742 (CPUID_FMA): Likewise
42743 (HAS_FMA): Defined with bit_FMA_Usable.
42745 2012-10-01 Roland McGrath <roland@hack.frob.com>
42747 * bits/types.h (__swblk_t): Type removed.
42748 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42749 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42750 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42751 (__SWBLK_T_TYPE): Likewise.
42752 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42753 (__SWBLK_T_TYPE): Likewise.
42754 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42755 (__SWBLK_T_TYPE): Likewise.
42756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42757 (__SWBLK_T_TYPE): Likewise.
42759 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
42760 Honza Horak <hhorak@redhat.com>
42762 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42763 (xdr_mapname): Use YPMAXMAP as maxsize.
42764 (xdr_peername): Use YPMAXPEER as maxsize.
42765 (xdr_keydat): Use YPAXRECORD as maxsize.
42766 (xdr_valdat): Use YPMAXRECORD as maxsize.
42768 2012-10-01 Roland McGrath <roland@hack.frob.com>
42770 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42772 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42773 * csu/init-first.c: ... here.
42774 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42775 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42776 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42777 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42778 * sysdeps/i386/init-first.c: File removed.
42779 * sysdeps/sh/init-first.c: File removed.
42781 2012-10-01 Joseph Myers <joseph@codesourcery.com>
42784 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42785 if x * y might underflow to zero and z is zero.
42786 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42787 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42788 * math/libm-test.inc (min_subnorm_value): New variable.
42789 (fma_test): Add more tests.
42790 (fma_test_towardzero): Likewise.
42791 (fma_test_downward): Likewise
42792 (fma_test_upward): Likewise.
42793 (initialize): Set min_subnorm_value.
42795 2012-09-29 Joseph Myers <joseph@codesourcery.com>
42798 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42800 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42801 mode for addition resulting in exact zero.
42802 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42803 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42805 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42806 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42807 * math/libm-test.inc (fma_test): Add more tests.
42808 (fma_test_towardzero): New function.
42809 (fma_test_downward): Likewise.
42810 (fma_test_upward): Likewise.
42811 (main): Call the new functions.
42813 2012-09-28 David S. Miller <davem@davemloft.net>
42815 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42817 2012-09-28 Roland McGrath <roland@hack.frob.com>
42819 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42820 instead of SIGALRM.
42822 * sysdeps/gnu/_G_config.h: Moved to ...
42823 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42824 * sysdeps/mach/hurd/_G_config.h: Moved to ...
42825 * sysdeps/generic/_G_config.h: ... here.
42827 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
42829 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42831 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42832 Conditionalize target on [libnss_test1.so-version].
42834 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42836 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42837 (elfobjdir): Move out of conditionals.
42839 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42840 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42841 (__nss_lookup_function): Conditionalize label remove_from_tree on
42842 [!DO_STATIC_NSS || SHARED], matching its only use.
42844 2012-09-28 David S. Miller <davem@davemloft.net>
42846 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42847 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42849 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42851 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42852 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42853 when HWCAP_SPARC_CRYPTO is present.
42855 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42857 * io/tst-mknodat.c: Create a FIFO instead of a socket.
42859 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
42862 * stdio-common/vfprintf.c (process_string_arg): Revert
42865 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
42867 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42869 * stdio-common/tst-sprintf.c: Include <locale.h>
42870 (main): Test sprintf's handling of incomplete multibyte
42873 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
42875 * elf/dl-runtime.c (VERSYMIDX): Removed.
42876 * elf/dl-version.c (VERSYMIDX): Likewise.
42877 * elf/do-rel.h (VERSYMIDX): Likewise.
42878 (VALIDX): Likewise.
42879 * elf/dynamic-link.h (VERSYMIDX): Likewise.
42880 * elf/rtld.c (VALIDX): Likewise.
42881 (ADDRIDX): Likewise.
42882 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42883 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42884 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42885 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42886 (VALIDX): Likewise.
42887 (ADDRIDX): Likewise.
42889 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42891 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42893 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
42896 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42898 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42899 addresses are in the same scope as 192.0.2/24.
42900 * posix/gai.conf: Document new scope table defaults.
42902 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42905 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42906 for ftell. Compute offsets from write pointers instead.
42907 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42909 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42912 * libio/Makefile (tests): New test case tst-fseek.
42913 * libio/tst-fseek.c: New test case to verify that fseek/ftell
42914 combination works in wide mode.
42915 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42916 state when the external buffer state changes.
42918 2012-09-27 David S. Miller <davem@davemloft.net>
42921 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42922 pass reloc->r_addend in as the 'high' argument to
42923 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42925 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42927 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
42929 * rt/tst-aio2.c: Include <pthread.h>.
42930 * rt/tst-aio3.c: Likewise.
42932 2012-09-27 Steve Ellcey <sellcey@mips.com>
42934 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42936 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
42938 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42939 contents on [SHARED].
42941 2012-09-26 Marek Polacek <polacek@redhat.com>
42945 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42946 for C++ and GCC <4.3 as well as for non GCC compilers.
42948 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
42950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42952 2012-09-25 Roland McGrath <roland@hack.frob.com>
42954 * Makefile.in (all, install): Declare with .PHONY.
42955 Reported by Michael Hope <michael.hope@linaro.org>.
42957 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42959 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42960 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42962 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42964 (sydep_routines): Add the new and the internal functions.
42965 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42966 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42968 (GLIBC_2.17): Add the new function.
42969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42970 (GLIBC_2.17): Likewise.
42971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42972 (GLIBC_2.17): Likewise.
42973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42974 (GLIBC_2.17): Likewise.
42975 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42977 2012-09-25 Alan Modra <amodra@gmail.com>
42979 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42980 Add release barrier before setting once_control to say
42981 initialisation is done. Add hints on lwarx. Use macro in
42983 (clear_once_control): Add release barrier.
42985 2012-09-25 Joseph Myers <joseph@codesourcery.com>
42988 * math/s_clog.c (__clog): Handle more values close to |z| = 1
42990 * math/s_clog10.c (__clog10): Likewise.
42991 * math/s_clog10f.c (__clog10f): Likewise.
42992 * math/s_clog10l.c (__clog10l): Likewise.
42993 * math/s_clogf.c (__clogf): Likewise.
42994 * math/s_clogl.c (__clogl): Likewise.
42995 * math/Makefile (libm-calls): Add x2y2m1.
42996 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42997 (__x2y2m1): Likewise.
42998 (__x2y2m1l): Likewise.
42999 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
43000 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
43001 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
43002 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
43003 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
43004 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
43005 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
43006 * sysdeps/i386/fpu/libm-test-ulps: Update.
43007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43010 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
43011 int as type of variable DEPTH.
43012 (glob): Use size_t instead of int as type of variables NEWCOUNT
43015 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43017 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43018 Add s_sincosf-sse2.
43019 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
43020 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
43021 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
43022 macros for using routine as __sincosf_ia32.
43023 Use macro for function declaration and weak_alias.
43024 * sysdeps/i386/fpu/libm-test-ulps: Update.
43026 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
43027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43029 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
43030 subnormal argument.
43031 * math/s_cexpf.c (__cexpf): Likewise.
43032 * math/s_csinf.c (__csinf): Likewise.
43033 * math/s_csinhf.c (__csinhf): Likewise.
43034 * math/s_ctanf.c (__ctanf): Likewise.
43035 * math/s_ctanhf.c (__ctanhf): Likewise.
43036 * math/s_ccosh.c (__ccoshf): Likewise.
43037 * math/s_cexp.c (__cexpl): Likewise.
43038 * math/s_csin.c (__csin): Likewise.
43039 * math/s_csinh.c (__csinh): Likewise.
43040 * math/s_ctan.c (__ctan): Likewise.
43041 * math/s_ctanh.c (ctanh): Likewise.
43042 * math/s_ccoshl.c (__ccoshl): Likewise.
43043 * math/s_cexpl.c (__cexpl): Likewise.
43044 * math/s_csinl.c (__csinl): Likewise.
43045 * math/s_csinhl.c (__csinhl): Likewise.
43046 * math/s_ctanl.c (__ctanl): Likewise.
43047 * math/s_ctanhl.c (__ctanhl): Likewise.
43049 2012-09-25 Joseph Myers <joseph@codesourcery.com>
43051 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
43052 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
43053 (_IO_off_t): Define to __off_t, not _G_off_t.
43054 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
43055 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
43056 (_IO_wint_t): Define to wint_t, not _G_wint_t.
43057 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
43058 type of __dummy and __dummy2 fields.
43059 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
43060 (_G_ssize_t): Likewise.
43061 (_G_off_t): Likewise.
43062 (_G_pid_t): Likewise.
43063 (_G_uid_t): Likewise.
43064 (_G_wchar_t): Likewise.
43065 (_G_wint_t): Likewise.
43066 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
43067 (_G_ssize_t): Likewise.
43068 (_G_off_t): Likewise.
43069 (_G_pid_t): Likewise.
43070 (_G_uid_t): Likewise.
43071 (_G_wchar_t): Likewise.
43072 (_G_wint_t): Likewise.
43073 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
43074 (_G_ssize_t): Likewise.
43075 (_G_off_t): Likewise.
43076 (_G_pid_t): Likewise.
43077 (_G_uid_t): Likewise.
43078 (_G_wchar_t): Likewise.
43079 (_G_wint_t): Likewise.
43081 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43083 * malloc/arena.c: Include malloc-sysdep.h.
43084 (shrink_heap): Use check_may_shrink_heap to decide if madvise
43085 is sufficient to shrink the heap or an unmap is needed.
43086 * sysdeps/generic/malloc-sysdep.h: New file. Define
43087 new function check_may_shrink_heap.
43088 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
43089 new function check_may_shrink_heap.
43091 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43093 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
43096 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
43098 * catgets/test-gencat.sh: Add "set -e".
43099 * elf/tst-pathopt.sh: Likewise.
43100 * grp/tst_fgetgrent.sh: Likewise.
43101 * iconvdata/run-iconv-test.sh: Likewise.
43102 * intl/tst-gettext.sh: Likewise.
43103 * intl/tst-gettext2.sh: Likewise.
43104 * intl/tst-gettext4.sh: Likewise.
43105 * intl/tst-gettext6.sh: Likewise.
43106 * intl/tst-translit.sh: Likewise.
43107 * io/ftwtest-sh: Likewise.
43108 * libio/test-freopen.sh: Likewise.
43109 * malloc/tst-mtrace.sh: Likewise.
43110 * posix/globtest.sh: Likewise.
43111 * posix/tst-getconf.sh: Likewise.
43112 * posix/wordexp-tst.sh: Likewise.
43113 * stdio-common/tst-printf.sh: Likewise.
43114 * stdio-common/tst-unbputc.sh: Likewise.
43115 * stdlib/tst-fmtmsg.sh: Likewise.
43116 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43117 * catgets/Makefile: Do not specify -e option when running
43118 testsuite shell scripts.
43119 * elf/Makefile: Likewise.
43120 * grp/Makefile: Likewise.
43121 * iconvdata/Makefile: Likewise.
43122 * intl/Makefile: Likewise.
43123 * io/Makefile: Likewise.
43124 * libio/Makefile: Likewise.
43125 * malloc/Makefile: Likewise.
43126 * posix/Makefile: Likewise.
43127 * stdio-common/Makefile: Likewise.
43128 * stdlib/Makefile: Likewise.
43129 * sysdeps/x86_64/Makefile: Likewise.
43131 * io/ftwtest-sh: Add copyright header.
43132 * posix/globtest.sh: Likewise.
43133 * posix/tst-getconf.sh: Likewise.
43134 * posix/wordexp-tst.sh: Likewise.
43135 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
43137 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
43140 * Makeconfig (+link): Defined as $(+link-static) if
43141 $(build-shared) isn't yes.
43142 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
43144 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
43146 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
43149 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
43150 new chunk size with MALLOC_ALIGN_MASK.
43152 2012-09-24 Joseph Myers <joseph@codesourcery.com>
43155 * stdio-common/printf_fphex.c: Include <stdbool.h> and
43157 (__printf_fphex): Determine rounding using get_rounding_mode and
43159 * stdio-common/tst-printf-round.c (struct hex_test): New
43161 (hex_tests): New variable.
43162 (test_hex_in_one_mode): New function.
43163 (do_test): Also run tests for hex float output.
43165 2012-09-21 Joseph Myers <joseph@codesourcery.com>
43167 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43168 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43169 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
43170 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
43171 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
43172 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
43173 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43174 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
43176 2012-09-20 Joseph Myers <joseph@codesourcery.com>
43178 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
43179 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
43180 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
43181 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
43183 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
43186 * elf/rtld.c (dl_main): Limit the check for self loading to normal
43188 * elf/tst-rtld-load-self.sh: New test.
43189 * elf/Makefile: Run it.
43191 2012-09-18 Joseph Myers <joseph@codesourcery.com>
43193 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
43194 (tst-writev-ENV): Remove.
43195 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
43197 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
43199 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
43201 2012-09-17 Joseph Myers <joseph@codesourcery.com>
43203 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
43205 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
43207 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
43208 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
43209 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
43212 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
43215 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
43216 * config.make.in (have-cpp-asm-debuginfo): Removed.
43217 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
43218 * configure: Regenerated.
43220 2012-09-14 Joseph Myers <joseph@codesourcery.com>
43223 * stdio-common/printf_fp.c: Include <stdbool.h> and
43225 (___printf_fp): Determine rounding using get_rounding_mode and
43227 * stdio-common/tst-printf-round.c: New file.
43228 * stdio-common/Makefile (tests): Add tst-printf-round.
43229 (link-libm): New variable.
43230 ($(objpfx)tst-printf-round): Depend in $(link-libm).
43232 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
43235 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
43236 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
43238 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
43241 2012-09-13 Joseph Myers <joseph@codesourcery.com>
43243 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
43244 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43245 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43246 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
43248 2012-09-12 Joseph Myers <joseph@codesourcery.com>
43251 * include/rounding-mode.h: New file.
43252 * sysdeps/generic/get-rounding-mode.h: Likewise.
43253 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
43254 * stdlib/strtod_l.c: Include <rounding-mode.h>.
43255 (MAX_VALUE): New macro.
43256 (MIN_VALUE): Likewise.
43257 (overflow_value): New function.
43258 (underflow_value): Likewise.
43259 (round_and_return): Use overflow_value and underflow_value to
43260 determine return values in overflow and underflow cases. Use
43261 round_away to determine rounding depending on rounding mode.
43262 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
43263 determine return values in overflow and underflow cases.
43264 * stdlib/tst-strtod-round.c: Include <fenv.h>.
43265 (struct test_results): New structure.
43266 (struct test): Use struct test_results to store expected results
43267 for all rounding modes.
43268 (TEST): Include expected results for all rounding modes.
43269 (test_in_one_mode): New function.
43270 (do_test): Use test_in_one_mode to compute and check results.
43271 Check results for all rounding modes.
43272 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
43275 2012-12-09 Allan McRae <allan@archlinux.org>
43277 * sysdeps/i386/fpu/libm-test-ulps: Update
43279 2012-09-11 Joseph Myers <joseph@codesourcery.com>
43281 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
43282 (_G_int32_t): Likewise.
43283 (_G_uint16_t): Likewise.
43284 (_G_uint32_t): Likewise.
43285 (_G_HAVE_BOOL): Likewise.
43286 (_G_HAVE_ATEXIT): Likewise.
43287 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43288 (_G_HAVE_IO_FILE_OPEN): Likewise.
43289 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
43290 (_G_int32_t): Likewise.
43291 (_G_uint16_t): Likewise.
43292 (_G_uint32_t): Likewise.
43293 (_G_HAVE_BOOL): Likewise.
43294 (_G_HAVE_ATEXIT): Likewise.
43295 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43296 (_G_HAVE_IO_FILE_OPEN): Likewise.
43297 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
43298 (_G_int32_t): Likewise.
43299 (_G_uint16_t): Likewise.
43300 (_G_uint32_t): Likewise.
43301 (_G_HAVE_BOOL): Likewise.
43302 (_G_HAVE_ATEXIT): Likewise.
43303 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
43304 (_G_HAVE_IO_FILE_OPEN): Likewise.
43306 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
43308 * csu/libc-tls.c: Update copyright years.
43310 2012-09-10 Joseph Myers <joseph@codesourcery.com>
43312 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
43313 [!_G_USING_THUNKS]: Remove conditional code.
43314 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
43315 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
43317 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
43318 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
43319 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43320 (_G_VTABLE_LABEL_PREFIX): Likewise.
43321 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43322 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43323 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43324 (_G_VTABLE_LABEL_PREFIX): Likewise.
43325 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43326 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
43327 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
43328 (_G_VTABLE_LABEL_PREFIX): Likewise.
43329 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
43331 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
43333 * libio/Makefile: Include ../Makeconfig before tests.
43334 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
43335 only if $(build-shared) is yes.
43337 * iconv/gconv_db.c: Update copyright years.
43339 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43341 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
43342 unwind info if defined PIC. Fix special cases description.
43343 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
43345 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
43347 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
43349 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
43351 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
43353 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
43356 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
43357 (LDLIBS-tst-chk4): This.
43358 (LDFLAGS-tst-chk5): Renamed to ...
43359 (LDLIBS-tst-chk5): This.
43360 (LDFLAGS-tst-chk6): Renamed to ...
43361 (LDLIBS-tst-chk6): This.
43362 (LDFLAGS-tst-lfschk4): Renamed to ...
43363 (LDLIBS-tst-lfschk4): This.
43364 (LDFLAGS-tst-lfschk5): Renamed to ...
43365 (LDLIBS-tst-lfschk5): This.
43366 (LDFLAGS-tst-lfschk6): Renamed to ...
43367 (LDLIBS-tst-lfschk6): This.
43369 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
43370 on $(common-objpfx)soversions.mk.
43372 2012-09-07 Joseph Myers <joseph@codesourcery.com>
43375 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
43378 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
43380 * malloc/arena.c (arena_get_retry): New function that gets
43381 another arena for the caller to try its request on.
43382 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
43383 current arena cannot fulfill the request.
43384 (__libc_memalign): Likewise.
43385 (__libc_memalign): Likewise.
43386 (__libc_pvalloc): Likewise.
43387 (__libc_calloc): Likewise.
43389 2012-09-05 John Tobey <john.tobey@gmail.com>
43392 * manual/arith.texi (Operations on Complex): Fix description
43393 of carg branch cut.
43395 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43398 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
43402 * manual/memory.texi (Memory): Make order of menu items match
43405 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43407 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
43408 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
43409 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
43411 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43413 * csu/libc-tls.c (static_dtv): Renamed to ...
43414 (_dl_static_dtv): This. Make it global.
43415 (_dl_initial_dtv): Removed.
43416 (__libc_setup_tls): Updated.
43417 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
43418 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
43421 2012-09-06 Petr Machata <pmachata@redhat.com>
43423 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
43424 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
43425 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
43426 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
43428 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43431 * csu/libc-tls.c (_dl_initial_dtv): New variable.
43432 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
43435 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
43438 * Makeconfig (link-static-before-libc): Replace $(+prector)
43440 (link-static-after-libc): Replace $(+postctor) with
43442 (link-bounded): Replace $(+prector)/$(+postctor) with
43443 $(+prectorT)/$(+postctorT).
43444 (+prectorT): New macro.
43445 (+postctorT): Likewise.
43447 2012-09-06 Joseph Myers <joseph@codesourcery.com>
43449 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
43450 (round_str): Handle values above the maximum for IBM long double
43452 * stdlib/tst-strtod-round.c (tests): Regenerated.
43454 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43456 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
43458 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
43459 zarch_nohighgprs around the zarch optimized routines.
43460 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43461 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43462 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
43465 2012-09-05 David S. Miller <davem@davemloft.net>
43467 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43469 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
43470 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
43471 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
43472 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43475 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43477 * malloc/arena.c: Fold copyright years.
43478 * malloc/mcheck.c, malloc/memusage.c: Likewise.
43480 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43482 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
43484 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43486 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
43488 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43490 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
43491 change internal state upon failure.
43493 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
43495 * malloc/mcheck.c (mcheck_check_all): Fix typo.
43496 * malloc/memusage.c (mmap): Likewise.
43497 (mmap64, mremap): Likewise. Adjust name in comment.
43499 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43501 * libio/fileops.c: Fix typos in comments.
43502 * libio/oldfileops.c: Likewise.
43503 * libio/wfileops.c: Likewise.
43505 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
43508 * malloc/Makefile (tests): Add tst-malloc-usable test case.
43509 (tst-malloc-usable-ENV): Set environment for test case.
43510 * malloc/hooks.c (malloc_check_get_size): New function to get
43512 * malloc/malloc.c (musable): Use malloc_check_get_size.
43513 * malloc/tst-malloc-usable.c: New test case.
43515 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43517 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
43519 2012-09-05 Allan McRae <allan@archlinux.org>
43522 * configure.in (CXX_SYSINCLUDES): Use compiler output to
43523 determine header location.
43524 * configure: Regenerated.
43526 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
43528 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
43530 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
43531 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
43533 (test): Regenerate.
43535 2012-09-04 David S. Miller <davem@davemloft.net>
43537 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
43538 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
43539 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
43541 2012-09-04 Florian Weimer <fweimer@redhat.com>
43543 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
43546 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43548 2012-09-04 Joseph Myers <joseph@codesourcery.com>
43551 * libio/iogetdelim.c: Include <limits.h>.
43552 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43553 + len + 1 would overflow.
43555 2012-09-03 Andreas Jaeger <aj@suse.de>
43557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43558 * sysdeps/i386/fpu/libm-test-ulps: Update.
43560 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43562 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43563 Add s_sinf-sse2, s_conf-sse2.
43565 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43566 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43567 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43568 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43570 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43571 for using routine as __sinf_ia32.
43572 Use macro for function declaration and weak_alias.
43573 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43574 for using routine as __cosf_ia32.
43575 Use macro for function declaration and weak_alias.
43577 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43578 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43580 * sysdeps/x86_64/fpu/s_sinf.S: New file.
43581 * sysdeps/x86_64/fpu/s_cosf.S: New file.
43582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43584 * math/libm-test.inc (cos_test): Add more test cases.
43585 (sin_test): Likewise.
43586 (sincos_test): Likewise.
43588 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43590 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43591 (IFUNC_RESOLVE): Make pointers to the specialized implementations
43593 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43595 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
43598 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43599 first element of the GOT.
43600 (elf_machine_load_address): Return the difference between
43601 the runtime address of _DYNAMIC and elf_machine_dynamic ().
43603 2012-09-01 Allan McRae <allan@archlinux.org>
43606 * configure.in (AWK): Require gawk version 3.0 or later.
43607 * configure: Regenerated.
43609 2012-09-01 Joseph Myers <joseph@codesourcery.com>
43611 * sysdeps/unix/sysv/linux/kernel-features.h
43612 (__ASSUME_POSIX_CPU_TIMERS): Remove.
43613 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43614 [__NR_clock_getres]: Make code unconditional.
43615 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43616 (clock_getcpuclockid): Remove code left unreachable by removal of
43618 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43619 code unconditional.
43620 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43621 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43622 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43623 Make code unconditional.
43624 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43625 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43626 * sysdeps/unix/sysv/linux/clock_settime.c
43627 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43629 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43630 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43632 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
43635 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43636 scripts/test-installation.pl.
43638 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43639 and $ld_so_version if it is set.
43641 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43644 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43645 failure if reading from procfs failed.
43646 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43648 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43650 * sysdeps/unix/sysv/linux/kernel-features.h
43651 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43652 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43653 Remove conditional code.
43654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43655 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43656 Remove conditional code.
43657 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43658 * sysdeps/unix/sysv/linux/i386/fxstat.c
43659 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43660 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43661 * sysdeps/unix/sysv/linux/i386/fxstatat.c
43662 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43663 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43664 * sysdeps/unix/sysv/linux/i386/lxstat.c
43665 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43666 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43667 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43668 Remove conditional code.
43669 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43670 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43671 Remove conditional code.
43672 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43673 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43674 <kernel-features.h>.
43675 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43677 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43678 Remove conditional code.
43679 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43680 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43681 Remove conditional.
43683 2012-08-27 Mike Frysinger <vapier@gentoo.org>
43686 * NEWS: Add fixed bug number.
43688 2012-08-27 Joseph Myers <joseph@codesourcery.com>
43691 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43692 underflowing exponent in case of negative sign.
43693 * stdlib/tst-strtod-round-data: Add more tests.
43694 * stdlib/tst-strtod-round.c (tests): Regenerated.
43697 * stdlib/strtod_l.c (NDIG): Remove.
43698 (HEXNDIG): Likewise.
43699 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43700 smallest representable value.
43701 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43702 lie within an exact representation of 1/2 ulp of the result.
43703 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43705 (TENS_P9_IDX): Define unconditionally.
43706 (TENS_P9_SIZE): Likewise.
43707 (TENS_P10_IDX): Likewise.
43708 (TENS_P10_SIZE): Likewise.
43709 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43710 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43711 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43712 entries for 10^2^13 and 10^2^14.
43713 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43714 (TENS_P13_IDX): Define.
43715 (TENS_P13_SIZE): Likewise.
43716 (TENS_P14_IDX): Likewise.
43717 (TENS_P14_SIZE): Likewise.
43718 (_fpioconst_pow10): Change array size to
43719 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
43721 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43722 1024]: Add entries for 10^2^13 and 10^2^14.
43723 [LAST_POW10 > _LAST_POW10]: Remove #error.
43724 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43725 (_fpioconst_pow10): Change array size to
43726 FPIOCONST_POW10_ARRAY_SIZE.
43727 * stdlib/gen-fpioconst.c: New file.
43728 * stdlib/gen-tst-strtod-round.c: Likewise.
43729 * stdlib/tst-strtod-round-data: Likewise.
43730 * stdlib/tst-strtod-round.c: Likewise.
43731 * stdlib/Makefile (tests): Add tst-strtod-round.
43734 * stdlib/strtod_l.c: Include <stdint.h>.
43735 (NDEBUG): Do not define.
43736 (round_and_return): Change EXPONENT parameter to type intmax_t.
43737 Rearrange calculations to avoid internal overflow possibilities.
43738 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43739 Rearrange calculations to avoid internal overflow possibilities.
43740 Assert that number fits inside MPNSIZE limbs.
43741 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43742 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
43743 calculations and add assertions to avoid internal overflow
43744 possibilities. Add casts to avoid signed/unsigned operations.
43745 * stdlib/tst-strtod-overflow.c: New file.
43746 * stdlib/Makefile (tests): Add tst-strtod-overflow.
43748 2012-08-25 Marek Polacek <polacek@redhat.com>
43750 * time/time.h: Fix some typos in comments.
43752 2012-08-23 Roland McGrath <roland@hack.frob.com>
43754 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43755 * posix/tst-rfc3484-2.c: Likewise.
43756 * posix/tst-rfc3484-3.c: Likewise.
43758 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
43760 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43761 (EF_ARM_ABI_FLOAT_HARD): Likewise.
43763 2012-08-23 Joseph Myers <joseph@codesourcery.com>
43765 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43766 #include of fxstatat64.c.
43768 2012-08-22 Roland McGrath <roland@hack.frob.com>
43770 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43771 * shadow/getspent_r.c: Likewise.
43772 * shadow/getspnam.c: Likewise.
43773 * shadow/getspnam_r.c: Likewise.
43774 * gshadow/getsgent.c: Likewise.
43775 * gshadow/getsgent_r.c: Likewise.
43776 * gshadow/getsgnam.c: Likewise.
43777 * gshadow/getsgnam_r.c: Likewise.
43778 * inet/getnetbyad.c: Likewise.
43779 * inet/getnetbyad_r.c: Likewise.
43780 * inet/getnetbynm.c: Likewise.
43781 * inet/getnetbynm_r.c: Likewise.
43782 * inet/getnetent.c: Likewise.
43783 * inet/getnetent_r.c: Likewise.
43784 * inet/getproto.c: Likewise.
43785 * inet/getproto_r.c: Likewise.
43786 * inet/getprtent.c: Likewise.
43787 * inet/getprtent_r.c: Likewise.
43788 * inet/getprtname.c: Likewise.
43789 * inet/getprtname_r.c: Likewise.
43790 * inet/getrpcbyname.c: Likewise.
43791 * inet/getrpcbyname_r.c: Likewise.
43792 * inet/getrpcbynumber.c: Likewise.
43793 * inet/getrpcbynumber_r.c: Likewise.
43794 * inet/getrpcent.c: Likewise.
43795 * inet/getrpcent_r.c: Likewise.
43796 * inet/getaliasent.c: Likewise.
43797 * inet/getaliasent_r.c: Likewise.
43798 * inet/getaliasname.c: Likewise.
43799 * inet/getaliasname_r.c: Likewise.
43800 * nscd/getgrgid_r.c: Likewise.
43801 * nscd/getgrnam_r.c: Likewise.
43802 * nscd/gethstbyad_r.c: Likewise.
43803 * nscd/gethstbynm3_r.c: Likewise.
43804 * nscd/getpwnam_r.c: Likewise.
43805 * nscd/getpwuid_r.c: Likewise.
43806 * nscd/getsrvbynm_r.c: Likewise.
43807 * nscd/getsrvbypt_r.c: Likewise.
43808 * nscd/gai.c: Likewise.
43810 * configure.in (build_nscd): New substituted variable, set
43811 by --disable-build-nscd and defaults to $use_nscd.
43812 * configure: Regenerated.
43813 * config.make.in (build-nscd): New substituted variable.
43814 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43815 Change conditional to require [$(build-nscd) = yes] as well.
43816 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43819 * configure.in (use_nscd): New substituted variable, set by
43820 --disable-nscd. If enabled, define USE_NSCD.
43821 * configure: Regenerated.
43822 * config.h.in: Add USE_NSCD.
43823 * config.make.in (use-nscd): New substituted variable.
43824 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43825 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43826 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43827 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43828 (CFLAGS-getgrnam_r.c): Likewise.
43829 (CFLAGS-initgroups.c): Likewise.
43830 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43831 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43833 * inet/getnetgrent_r.c
43834 (nscd_setnetgrent): New function, broken out of ...
43835 (setnetgrent): ... here. Call it.
43836 (innetgr): Conditionalize nscd bits on [USE_NSCD].
43837 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43838 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43839 * nscd/Makefile (routines, aux): Move definitions after include of
43840 Makeconfig. Conditionalize on [$(use-nscd) != no].
43841 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43842 Conditionalize on [USE_NSCD].
43843 (is_nscd, nscd_init_cb): Likewise.
43844 (nss_load_library): Conditionalize init callback on [USE_NSCD].
43845 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43846 * nss/nss_db/db-init.c: Likewise.
43847 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43849 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43850 (make_request): Use it.
43851 (cache_valid_p): New function.
43852 (__check_pf): Use it.
43853 * NEWS: Add item for --disable-nscd.
43855 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
43857 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43858 to support sed >= 4.2.1-20-ga9bf076.
43859 * configure: Regenerated.
43861 2012-08-22 Roland McGrath <roland@hack.frob.com>
43863 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43864 Conditionalize whole body on [IREL].
43866 2012-08-22 Jeff Law <law@redhat.com>
43869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43870 if the family is PF_UNSPEC.
43872 2012-08-22 Mike Frysinger <vapier@gentoo.org>
43874 * Makerules (lib-version): Rename from V.
43875 (install-lib-nosubdir): Change V to lib-version.
43877 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
43880 * powerpc32/power6/wcschr.c: New file.
43881 * powerpc32/power6/wcscpy.c: New file.
43882 * powerpc32/power6/wcsrchr.c: New file.
43883 * powerpc64/power6/wcschr.c: New file.
43884 * powerpc64/power6/wcscpy.c: New file.
43885 * powerpc64/power6/wcsrchr.c: New file.
43887 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43889 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43890 (two_way_short_needle): Use it.
43891 * string/strstr.c (AVAILABLE1_USES_J): Define.
43892 * string/strcasestr.c: Likewise.
43894 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43896 * string/strcasestr.c (TOLOWER): Make side-effect safe.
43899 * NEWS: Add an entry.
43900 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43901 define their defaults.
43902 (two_way_short_needle): Detect end-of-string on-the-fly.
43903 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43904 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43905 * string/bug-strcasestr1.c: New test.
43906 * string/Makefile: Run it.
43908 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
43911 * string/str-two-way.h (two_way_short_needle): Optimize matching of
43912 the first character.
43914 2012-08-21 Roland McGrath <roland@hack.frob.com>
43916 * csu/elf-init.c (__libc_csu_irel): Function removed.
43917 * csu/libc-start.c (apply_irel): New function.
43918 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43920 2012-08-21 Joseph Myers <joseph@codesourcery.com>
43922 * sysdeps/unix/sysv/linux/kernel-features.h
43923 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43924 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43925 <kernel-features.h>.
43926 [__NR_fadvise64_64]: Make code unconditional.
43927 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43928 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43929 !__NR_fadvise64_64)]: Likewise.
43930 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43931 !__NR_fadvise64_64))]: Likewise.
43932 [__NR_fadvise64]: Make code unconditional.
43933 [!__NR_fadvise64]: Remove conditional code.
43934 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43935 <kernel-features.h>.
43936 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43938 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43941 not include <kernel-features.h>.
43942 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43944 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43946 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43947 include <kernel-features.h>.
43948 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43950 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43953 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43955 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43956 slight instruction rearrangements per scrollpipe analysis.
43957 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43959 2012-08-20 Roland McGrath <roland@hack.frob.com>
43961 * manual/syslog.texi (syslog; vsyslog, closelog):
43962 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43963 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43965 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43966 DSOCAPS to match condition on defining it.
43968 2012-08-20 Joseph Myers <joseph@codesourcery.com>
43970 * sysdeps/unix/sysv/linux/kernel-features.h
43971 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43973 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43974 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43976 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43977 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43979 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43980 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43982 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43983 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43985 * sysdeps/unix/sysv/linux/kernel-features.h
43986 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43987 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43989 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43990 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43991 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43992 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43993 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43994 Make code unconditional.
43995 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43996 (__mmap64) [!__NR_mmap2]: Likewise.
43997 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43998 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43999 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44000 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
44001 [__NR_mmap2]: Make code unconditional.
44002 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
44003 (__mmap64) [!__NR_mmap2]: Likewise.
44005 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44007 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
44009 2012-08-18 Andreas Jaeger <aj@suse.de>
44011 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
44013 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44015 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
44016 * include/unistd.h (__have_sock_cloexec): Likewise.
44017 (__have_pipe2): Likewise.
44018 (__have_dup3): Likewise.
44020 2012-08-18 Mike Frysinger <vapier@gentoo.org>
44023 * include/unistd.h (__have_pipe2): Change define into an extern int.
44024 (__have_dup3): Likewise.
44025 * socket/have_sock_cloexec.c: Include fcntl.h.
44026 (__have_pipe2): New variable.
44027 (__have_dup3): Likewise.
44029 2012-08-17 Mike Frysinger <vapier@gentoo.org>
44031 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
44033 2012-08-17 Marek Polacek <polacek@redhat.com>
44035 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
44036 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
44038 2012-08-17 Roland McGrath <roland@hack.frob.com>
44040 * configure.in: Add AC_SUBST for sysheaders.
44041 * configure: Regenerated.
44042 * config.make.in (sysheaders): New substituted variable.
44044 * sysdeps/unix/mkfifo.c: Moved ...
44045 * sysdeps/posix/mkfifo.c: ... here.
44046 * sysdeps/unix/mkfifoat.c: Moved ...
44047 * sysdeps/posix/mkfifoat.c: ... here.
44049 * sysdeps/unix/utime.c: Moved ...
44050 * sysdeps/posix/utime.c: ... here.
44052 * sysdeps/unix/time.c: Moved ...
44053 * sysdeps/posix/time.c: ... here.
44054 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
44055 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
44057 * sysdeps/unix/nice.c: Moved ...
44058 * sysdeps/posix/nice.c: ... here.
44060 * sysdeps/unix/alarm.c: Moved ...
44061 * sysdeps/posix/alarm.c: ... here.
44063 * intl/Makefile ($(codeset_mo)): Depend on the input file.
44065 2012-08-17 Jeff Law <law@redhat.com>
44067 * intl/Makefile (codeset_mo): New variable.
44068 ($(codeset_mo)): New target.
44069 (tst-codeset.out): Depend on that. Remove explicit rule.
44070 (tst-gettext3.out, tst-gettext5.out): Likewise.
44071 (LOCPATH-ENV, tst-codeset-ENV): New variables.
44072 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
44073 * intl/tst-codeset.sh: Remove.
44074 * intl/tst-gettext3.sh: Likewise.
44075 * intl/tst-gettext5.sh: Likewise.
44077 2012-08-17 Roland McGrath <roland@hack.frob.com>
44079 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
44080 * sysdeps/unix/syscalls.list: ... here.
44082 * sysdeps/posix/getaddrinfo.c
44083 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
44084 (gaiconf_init, gaiconf_reload): Use them.
44085 [!_STATBUF_ST_NSEC]
44086 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
44087 Define using time_t rather than struct timespec.
44089 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
44090 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
44092 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
44094 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
44095 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
44098 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
44099 __libc_cleanup_push argument.
44101 * bits/param.h: New file.
44102 * misc/sys/param.h: New file.
44103 * include/sys/param.h: New file.
44104 * misc/Makefile (headers): Add bits/param.h.
44105 * sysdeps/generic/sys/param.h: File removed.
44106 * sysdeps/unix/sysv/linux/bits/param.h: New file.
44107 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
44108 * sysdeps/mach/hurd/bits/param.h: New file.
44109 * sysdeps/mach/hurd/sys/param.h: File removed.
44111 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
44114 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
44116 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
44117 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
44120 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
44121 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
44122 rather than -D_IO_MTSAFE_IO conditionally.
44123 * stdio-common/Makefile (CPPFLAGS): Likewise.
44124 * wcsmbs/Makefile (CPPFLAGS): Likewise.
44125 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
44126 Use $(libio-mtsafe).
44127 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
44128 of -D_IO_MTSAFE_IO.
44129 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
44130 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
44131 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
44132 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
44133 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
44134 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
44135 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
44136 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
44137 (CFLAGS-fread_u_chk.c): Likewise.
44138 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
44139 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
44140 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
44141 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
44142 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
44143 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
44144 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
44145 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
44146 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
44148 * libio/Makefile: Test [$(libc-reentrant) = yes]
44149 instead of [$(filter %REENTRANT, $(defines)) nonempty].
44152 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
44153 * sysdeps/pthread/configure: File removed.
44154 * sysdeps/pthread/Makeconfig: New file.
44155 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
44156 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
44158 2012-08-16 Gary Benson <gbenson@redhat.com>
44160 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
44161 unmapping the first object in a namespace.
44163 2012-08-16 Roland McGrath <roland@hack.frob.com>
44165 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
44166 (__internal_setnetgrent): ... this. Add internal_function to
44167 definition. Add libc_hidden_def.
44168 (setnetgrent): Update caller.
44169 (internal_endnetgrent): Renamed to ...
44170 (__internal_endnetgrent): ... this. Add internal_function to
44171 definition. Add libc_hidden_def.
44172 (endnetgrent): Update caller.
44173 (internal_getnetgrent_r): Renamed to ...
44174 (__internal_getnetgrent_r): ... this. Add internal_function to
44175 definition. Add libc_hidden_def.
44176 (__getnetgrent_r): Update caller.
44177 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
44179 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44181 * stdlib/longlong.h: Update from GCC.
44183 2012-08-16 Roland McGrath <roland@hack.frob.com>
44185 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
44186 on _QL, which is set by umul_ppmm but never used.
44187 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
44188 variables, which are set by GMP macros but never used.
44189 * stdio-common/_itowa.c (_itowa): Likewise.
44190 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
44191 * stdlib/mod_1.c (mpn_mod_1): Likewise.
44193 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
44195 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
44196 struct La_sh_regs is not constant.
44197 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
44198 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
44199 and struct La_sparc64_regs are not constant.
44201 2012-08-16 Joseph Myers <joseph@codesourcery.com>
44203 * sysdeps/unix/sysv/linux/kernel-features.h
44204 (__ASSUME_POSIX_TIMERS): Remove.
44205 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44206 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44207 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
44208 Make code unconditional.
44209 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44210 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
44211 Make code unconditional.
44212 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44213 * sysdeps/unix/sysv/linux/clock_nanosleep.c
44214 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
44215 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44216 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
44217 Make code unconditional.
44218 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
44219 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
44220 (__libc_missing_posix_timers): Remove.
44222 2012-08-15 Roland McGrath <roland@hack.frob.com>
44224 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
44225 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
44227 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
44229 * elf/dl-sym.c: Include <stdlib.h>.
44231 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
44232 constants, which avoids warnings in 32-bit builds.
44234 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
44235 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
44237 * misc/lseek.c: File moved to ...
44238 * io/lseek.c: ... here.
44240 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
44242 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
44243 shifting LEN more than 31 bits at once.
44245 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44248 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
44249 segmentation fault for a case of two empty input strings.
44250 * string/test-strncasecmp.c (check1): Renamed to...
44251 (bz12205): ...this.
44252 (bz14195): Add new testcase for two empty input strings and N > 0.
44253 (test_main): Call new testcase, adapt for renamed function.
44255 2012-08-15 Andreas Jaeger <aj@suse.de>
44258 * crypt/md5test2.c: New test, based on test supplied by Serge
44259 Belyshev <belyshev@depni.sinp.msu.ru>.
44260 * crypt/Makefile (xtests): Add md5test-giant..
44261 * crypt/Makefile ($(objpfx)md5test-giant): Add.
44263 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
44266 * crypt/md5.c (md5_process_block): Don't assume the buffer
44267 length is less than 2**32.
44268 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
44269 length is less than 2**64.
44271 2012-08-15 Roland McGrath <roland@hack.frob.com>
44273 * string/str-two-way.h: Include <sys/param.h>.
44274 (MAX): Macro removed.
44276 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
44277 Move #define and #undef of memmove to just before and after
44278 including <string.h>.
44280 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
44281 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
44282 and after including <string.h>. Move declarations of
44283 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
44284 to before #include "string/memmove.c".
44286 * include/dirent.h: Declare __getdirentries.
44288 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
44289 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
44291 2012-08-14 Mike Frysinger <vapier@gentoo.org>
44293 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
44294 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
44295 * sysdeps/i386/configure: Regenerated.
44296 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
44297 STABS_CURRENT_FILE, and STABS_FUN.
44298 (END): Remove call to STABS_FUN_END.
44299 (STABS_CURRENT_FILE1): Delete.
44300 (STABS_CURRENT_FILE): Likewise.
44301 (STABS_FUN): Likewise.
44302 (STABS_FUN_END): Likewise.
44303 (STABS_FUN2): Likewise.
44304 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
44305 * sysdeps/x86_64/configure: Regenerated.
44307 2012-08-14 Roland McGrath <roland@hack.frob.com>
44309 * elf/dl-open.c: Include <atomic.h>.
44310 * elf/dl-lookup.c: Likewise.
44312 2012-08-14 Joseph Myers <joseph@codesourcery.com>
44314 * sysdeps/unix/sysv/linux/kernel-features.h
44315 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
44316 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
44318 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
44320 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
44321 condition on __ASSUME_CLONE_THREAD_FLAGS.
44323 2012-08-14 Andreas Jaeger <aj@suse.de>
44325 * sysdeps/i386/fpu/libm-test-ulps: Update.
44327 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
44329 * include/atomic.h (atomic_exchange_and_add): Split into ...
44330 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
44333 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
44335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44337 2012-08-13 Jeff Law <law@redhat.com>
44339 * manual/stdio.texi (snprintf): Clarify handling of the trailing
44340 null byte in the output string.
44342 2012-08-10 Joseph Myers <joseph@codesourcery.com>
44344 * sysdeps/unix/sysv/linux/kernel-features.h
44345 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
44346 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
44347 (__ASSUME_ARG_MAX_STACK_BASED): Define.
44348 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
44349 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
44350 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
44351 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
44353 2012-08-09 Jeff Law <law@redhat.com>
44356 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
44357 When avoid_arena is set, don't retry in the that arena. Pick the
44358 next one, whatever it might be.
44359 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
44360 (arena_lock): Pass in new parameter to arena_get2.
44361 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
44363 (__libc_malloc): Unify retrying after main arena failure with
44364 __libc_memalign version.
44365 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
44367 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
44370 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
44371 to __redirect_strstr.
44372 (__strstr_sse42): Use typeof __redirect_strstr.
44373 (__strstr_ia32): Likewise.
44374 (__libc_strstr): New prototype.
44375 (strstr): Renamed to ...
44376 (__libc_strstr): This.
44377 (strstr): New strong alias of __libc_strstr.
44378 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
44379 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
44382 (__libc_time): New prototype.
44383 (time_ifunc): Replace time with __libc_time.
44384 (time): New strong alias and hidden definition of __libc_time.
44385 (__GI_time): Remove strong alias.
44386 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
44387 Include <stddef.h>.
44388 (memmove): Redefined to __redirect_memmove.
44389 (__memmove_sse2): Use typeof __redirect_memmove.
44390 (__memmove_ssse3): Likewise.
44391 (__memmove_ssse3_back): Likewise.
44392 (__libc_memmove): New prototype.
44393 (memmove): Renamed to ...
44394 (__libc_memmove): This.
44395 (memmove): New strong alias of __libc_memmove.
44397 2012-08-08 Mark Salter <msalter@redhat.com>
44400 (R_MN10300_TLS_GD): Define.
44401 (R_MN10300_TLS_LD): Likewise.
44402 (R_MN10300_TLS_LDO): Likewise.
44403 (R_MN10300_TLS_GOTIE): Likewise.
44404 (R_MN10300_TLS_IE): Likewise.
44405 (R_MN10300_TLS_LE): Likewise.
44406 (R_MN10300_TLS_DTPMOD): Likewise.
44407 (R_MN10300_TLS_DTPOFF): Likewise.
44408 (R_MN10300_TLS_TPOFF): Likewise.
44409 (R_MN10300_SYM_DIFF): Likewise.
44410 (R_MN10300_ALIGN): Likewise.
44411 (R_MN10300_NUM): Update.
44413 2012-08-08 Joseph Myers <joseph@codesourcery.com>
44415 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
44418 2012-08-08 Roland McGrath <roland@hack.frob.com>
44420 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
44422 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
44423 sysdeps/unix -> sysdeps/posix move.
44424 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
44426 2012-08-07 Allan McRae <allan@archlinux.org>
44429 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
44430 (SUNOS_CPP): Likewise.
44431 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
44433 (open_input): Call CPP using execvp.
44435 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44437 * sysdeps/unix/sysv/linux/kernel-features.h
44438 (__ASSUME_PROT_GROWSUPDOWN): Remove.
44439 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44440 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44441 (__ASSUME_WAITID_SYSCALL): Likewise.
44442 * sysdeps/unix/sysv/linux/dl-execstack.c
44443 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
44444 code unconditional.
44445 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
44447 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
44448 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
44449 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
44451 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
44453 [__ASSUME_WAITID_SYSCALL]: Likewise.
44454 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
44456 2012-08-07 Roland McGrath <roland@hack.frob.com>
44458 * sysdeps/unix/closedir.c: Renamed to ...
44459 * sysdeps/posix/closedir.c: ... here.
44460 * sysdeps/unix/dirfd.c: Renamed to ...
44461 * sysdeps/posix/dirfd.c: ... here.
44462 * sysdeps/unix/dirstream.h: Renamed to ...
44463 * sysdeps/posix/dirstream.h: ... here.
44464 * sysdeps/unix/fdopendir.c: Renamed to ...
44465 * sysdeps/posix/fdopendir.c: ... here.
44466 * sysdeps/unix/opendir.c: Renamed to ...
44467 * sysdeps/posix/opendir.c: ... here.
44468 * sysdeps/unix/readdir.c: Renamed to ...
44469 * sysdeps/posix/readdir.c: ... here.
44470 * sysdeps/unix/readdir_r.c: Renamed to ...
44471 * sysdeps/posix/readdir_r.c: ... here.
44472 * sysdeps/unix/rewinddir.c: Renamed to ...
44473 * sysdeps/posix/rewinddir.c: ... here.
44474 * sysdeps/unix/seekdir.c: Renamed to ...
44475 * sysdeps/posix/seekdir.c: ... here.
44476 * sysdeps/unix/telldir.c: Renamed to ...
44477 * sysdeps/posix/telldir.c: ... here.
44478 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
44479 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
44480 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
44481 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
44483 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
44484 * bits/fcntl.h: ... here.
44486 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
44488 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
44489 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
44490 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
44491 (struct flock): Move l_start, l_len to the beginning.
44492 Use __pid_t for l_pid.
44493 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
44494 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
44495 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
44496 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
44497 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
44498 [__USE_LARGEFILE64] (struct flock64): New type.
44499 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
44501 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
44502 * bits/dirent.h: ... here.
44504 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
44505 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
44507 2012-08-07 Joseph Myers <joseph@codesourcery.com>
44509 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44510 Change from 2.6.0 to 2.6.16.
44511 * sysdeps/unix/sysv/linux/configure: Regenerated.
44512 * sysdeps/unix/sysv/linux/kernel-features.h
44513 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
44514 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
44516 (__ASSUME_UTIMES): Likewise.
44517 (__ASSUME_CLONE_STOPPED): Remove.
44518 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
44519 architectures, not kernel version.
44520 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
44521 (__ASSUME_NO_CLONE_DETACHED): Likewise.
44522 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
44523 (__ASSUME_WAITID_SYSCALL): Likewise.
44524 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
44525 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
44526 * README: State 2.6.16 as minimum Linux kernel version. Do not
44527 refer to older versions.
44529 2012-08-06 Roland McGrath <roland@hack.frob.com>
44531 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
44532 Define alphasort64 as an alias.
44533 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
44534 Define versionsort64 as an alias.
44535 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
44536 Define scandir64 as an alias.
44537 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
44538 Define scandirat64 as an alias.
44539 * dirent/alphasort64.c (alphasort64):
44540 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
44541 * dirent/versionsort64.c: Likewise.
44542 * dirent/scandir64.c: Likewise.
44543 * dirent/scandirat64.c: Likewise.
44544 * sysdeps/wordsize-64/alphasort.c: File removed.
44545 * sysdeps/wordsize-64/alphasort64.c: File removed.
44546 * sysdeps/wordsize-64/scandir.c: File removed.
44547 * sysdeps/wordsize-64/scandir64.c: File removed.
44548 * sysdeps/wordsize-64/scandirat.c: File removed.
44549 * sysdeps/wordsize-64/scandirat64.c: File removed.
44550 * sysdeps/wordsize-64/versionsort.c: File removed.
44551 * sysdeps/wordsize-64/versionsort64.c: File removed.
44552 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44553 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44554 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44555 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44556 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44557 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44558 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44559 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44561 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44562 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44563 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44564 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44565 [defined __arch64__ || defined __sparcv9]
44566 (__INO_T_MATCHES_INO64_T): New macro.
44567 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44568 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44569 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44570 * sysdeps/unix/sysv/linux/bits/dirent.h
44571 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44572 (_DIRENT_MATCHES_DIRENT64): New macro.
44574 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44575 Define lockf64 as an alias.
44576 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44577 Define fseeko64 as an alias.
44578 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44579 Define ftello64 as an alias.
44580 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44581 Define _IO_fgetpos64 and fgetpos64 as aliases.
44582 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44583 Define _IO_fsetpos64 and fsetpos64 as aliases.
44584 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44585 Conditionalize body on this.
44586 * libio/fseeko64.c: Likewise.
44587 * libio/ftello64.c: Likewise.
44588 * libio/iofgetpos64.c: Likewise.
44589 * libio/iofsetpos64.c: Likewise.
44590 * sysdeps/wordsize-64/lockf.c: File removed.
44591 * sysdeps/wordsize-64/lockf64.c: File removed.
44592 * sysdeps/wordsize-64/fseeko.c: File removed.
44593 * sysdeps/wordsize-64/fseeko64.c: File removed.
44594 * sysdeps/wordsize-64/ftello.c: File removed.
44595 * sysdeps/wordsize-64/ftello64.c: File removed.
44596 * sysdeps/wordsize-64/iofgetpos.c: File removed.
44597 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44598 * sysdeps/wordsize-64/iofsetpos.c: File removed.
44599 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44600 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44601 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44602 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44603 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44604 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44605 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44606 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44607 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44608 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44609 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44611 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44612 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44613 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44615 [defined __arch64__ || defined __sparcv9]
44616 (__OFF_T_MATCHES_OFF64_T): New macro.
44617 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44618 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44619 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44620 (__OFF_T_MATCHES_OFF64_T): New macro.
44622 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44624 * stdlib/secure-getenv.c (__secure_getenv): Replace
44625 GLIBC_2_16 with GLIBC_2_17.
44627 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
44629 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44630 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44632 2012-08-03 David S. Miller <davem@davemloft.net>
44634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44636 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44638 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44640 (__ASSUME_CORRECT_SI_PID): Likewise.
44641 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44642 (__ASSUME_TMPFS_NAME): Likewise.
44643 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44644 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44645 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44646 (HAVE_AUX_SECURE): Make definition unconditional.
44647 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44648 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44650 2012-08-03 Roland McGrath <roland@hack.frob.com>
44652 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44653 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44654 * sysdeps/mach/hurd/eloop-threshold.h: New file.
44655 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44656 __eloop_threshold instead of SYMLOOP_MAX.
44658 * sysdeps/generic/eloop-threshold.h: New file.
44659 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44661 * elf/chroot_canon.c (chroot_canon): Likewise.
44663 2012-08-03 Joseph Myers <joseph@codesourcery.com>
44666 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44667 Change to 2.6.0 everywhere.
44668 * sysdeps/unix/sysv/linux/configure: Regenerated.
44669 * sysdeps/unix/sysv/linux/kernel-features.h
44670 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44671 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44673 (__ASSUME_POSIX_TIMERS): Define unconditionally.
44674 (__ASSUME_FUTEX_REQUEUE): Remove.
44675 (__ASSUME_STATFS64): Define unconditionally.
44676 (__ASSUME_AT_SECURE): Likewise.
44677 (__ASSUME_CORRECT_SI_PID): Likewise.
44678 (__ASSUME_TGKILL): Define without depending on kernel version for
44680 (__ASSUME_UTIMES): Likewise.
44681 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44683 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44684 (__ASSUME_TMPFS_NAME): Likewise.
44685 * README: Update reference to Linux kernel versions.
44687 2012-08-02 Marek Polacek <polacek@redhat.com>
44690 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
44691 libc_cv_asm_type_prefix with %.
44692 * configure: Regenerated.
44693 * include/libc-symbols.h: Remove comment about
44694 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44695 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44696 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44697 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44698 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44699 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44700 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44701 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44702 * elf/tst-unique2mod1.c: Likewise.
44703 * elf/tst-unique1mod2.c: Likewise.
44704 * elf/tst-unique1mod1.c: Likewise.
44705 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44706 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44707 Replace ASM_TYPE_DIRECTIVE with .type.
44708 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44709 * sysdeps/i386/sysdep.h: Likewise.
44710 * sysdeps/x86_64/sysdep.h: Likewise.
44711 * sysdeps/sh/sysdep.h: Likewise.
44712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44713 Do not define ASM_TYPE_DIRECTIVE.
44714 * sysdeps/powerpc/sysdep.h: Likewise.
44715 * sysdeps/powerpc/powerpc32/sysdep.h:
44716 Replace ASM_TYPE_DIRECTIVE with .type.
44717 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44718 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44719 * sysdeps/i386/fpu/e_powf.S: Likewise.
44720 * sysdeps/i386/fpu/e_expl.S: Likewise.
44721 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44722 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44723 * sysdeps/i386/fpu/e_pow.S: Likewise.
44724 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44725 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44726 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44727 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44728 * sysdeps/i386/fpu/e_log2.S: Likewise.
44729 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44730 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44731 * sysdeps/i386/fpu/e_powl.S: Likewise.
44732 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44733 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44734 * sysdeps/i386/fpu/e_logl.S: Likewise.
44735 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44736 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44737 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44738 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44739 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44740 * sysdeps/i386/fpu/e_log.S: Likewise.
44741 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44742 * sysdeps/i386/fpu/e_logf.S: Likewise.
44743 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44744 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44745 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44746 * sysdeps/i386/fpu/e_log10.S: Likewise.
44747 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44748 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44749 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44750 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44751 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44752 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44753 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44754 * sysdeps/i386/i686/strtok.S: Likewise.
44755 * sysdeps/i386/i386-mcount.S: Likewise.
44756 * sysdeps/i386/strtok.S: Likewise.
44757 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44758 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44759 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44760 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44761 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44762 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44763 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44764 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44765 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44766 * sysdeps/x86_64/_mcount.S: Likewise.
44767 * sysdeps/x86_64/strtok.S: Likewise.
44768 * sysdeps/sh/_mcount.S: Likewise.
44770 2012-08-01 Roland McGrath <roland@hack.frob.com>
44772 * libio/iofopen.c: Include <fcntl.h>.
44773 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44774 (_IO_fopen64, fopen64): Define as aliases.
44775 * libio/iofopen64.c: Include <fcntl.h>.
44776 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44777 Conditionalize body on this.
44778 * sysdeps/wordsize-64/iofopen.c: File removed.
44779 * sysdeps/wordsize-64/iofopen64.c: File removed.
44781 2012-08-01 Marek Polacek <polacek@redhat.com>
44783 * libc/Makeconfig: Use elf in place of binfmt-subdir.
44784 Use dlfcn directly instead of a variable.
44785 (binfmt-subdir): Do not define.
44788 2012-08-01 Joseph Myers <joseph@codesourcery.com>
44790 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44791 Remove all definitions.
44792 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44793 <kernel-features.h>.
44794 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44795 (miss_F_GETOWN_EX): Remove all definitions.
44796 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44798 [!__ASSUME_FCNTL64]: Remove conditional code.
44799 [__ASSUME_FCNTL64]: Make code unconditional.
44800 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44801 <kernel-features.h>.
44802 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44803 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44804 (lockf64) [__NR_fcntl64]: Make code unconditional.
44805 (lockf64) [__ASSUME_FCNTL64]: Likewise.
44807 * sysdeps/unix/sysv/linux/kernel-features.h
44808 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44809 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44810 Make code unconditional.
44811 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44812 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44814 [__NR_vfork]: Make code unconditional.
44815 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44816 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44818 [__NR_vfork]: Make code unconditional.
44819 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44820 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44822 2012-08-01 Roland McGrath <roland@hack.frob.com>
44824 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44825 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44827 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44828 Define mkstemp64 as an alias.
44829 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44830 Define mkstemps64 as an alias.
44831 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44832 Define mkostemp64 as an alias.
44833 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44834 Define mkostemps64 as an alias.
44835 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44836 Conditionalize body on this.
44837 * misc/mkostemp64.c: Likewise.
44838 * misc/mkostemps64.c: Likewise.
44839 * misc/mkstemps64.c: Likewise.
44840 * sysdeps/wordsize-64/mkstemp64.c: File removed.
44841 * sysdeps/wordsize-64/mkostemp64.c: File removed.
44842 * sysdeps/wordsize-64/mkostemp.c: File removed.
44843 * sysdeps/wordsize-64/mkstemp.c: File removed.
44844 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44845 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44846 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44847 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44850 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44851 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44852 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44853 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44855 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44856 compat_symbol macros from <shlib-compat.h> rather than the underlying
44857 default_symbol_version and symbol_version macros, so that DEFAULT
44858 lines in shlib-versions are respected.
44859 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44861 2012-08-01 Florian Weimer <fweimer@redhat.com>
44863 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44864 Declare with warn_unused_result.
44865 (setgid, setregid, setegid, setresgid): Likewise.
44866 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44868 * WUR-REPORT: Remove set*id functions.
44870 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
44872 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44874 2012-07-31 Roland McGrath <roland@hack.frob.com>
44877 * include/sys/socket.h (__libc_accept, __libc_accept4):
44878 Add attribute_hidden.
44879 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44881 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44883 * inet/getnetgrent_r.c (setup): Likewise.
44885 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44887 2012-07-31 David S. Miller <davem@davemloft.net>
44889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44891 2012-07-31 Joseph Myers <joseph@codesourcery.com>
44894 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44895 value between 1.0 and 2.0 and smaller part has absolute value less
44897 * math/s_clog10.c (__clog10): Likewise.
44898 * math/s_clog10f.c (__clog10f): Likewise.
44899 * math/s_clog10l.c (__clog10l): Likewise.
44900 * math/s_clogf.c (__clogf): Likewise.
44901 * math/s_clogl.c (__clogl): Likewise.
44902 * math/libm-test.inc (clog_test): Add more tests.
44903 (clog10_test): Likewise.
44904 * sysdeps/i386/fpu/libm-test-ulps: Update.
44905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44907 2012-07-31 Florian Weimer <fweimer@redhat.com>
44909 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44910 Exit with zero in case no suitable GID is found, and write a
44911 message to standard error.
44913 2012-07-30 Roland McGrath <roland@hack.frob.com>
44915 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44917 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44918 (MAXPATHLEN): Removed.
44919 (NOGROUP, NODEV): New macros.
44920 (setbit, clrbit, isset, isclr): New macros.
44921 (howmany, roundup, powerof2): New macros.
44922 (DEV_BSIZE): New macro.
44924 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44925 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44927 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44928 definition on [!__NO_LONG_DOUBLE_MATH].
44930 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44931 PTR_MANGLE and PTR_DEMANGLE.
44933 * socket/accept4.c (accept4): Rename to __libc_accept4.
44934 Define accept4 as a weak alias.
44936 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44937 on [_DIRENT_HAVE_D_TYPE].
44938 * io/ftw.c (ftw_dir): Likewise.
44940 * io/xmknod.c (__xmknod): Don't check PATH for being null.
44942 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44944 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44945 Use the BSD numbers rather than the arbitrary ones we had.
44946 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44947 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44948 (SIGXCPU, SIGXFSZ): New macros.
44951 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44952 initializer on [_LIBC_REENTRANT].
44954 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44955 definitions inside [_POSIX_MAPPED_FILES].
44957 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44959 * dirent/opendir.c: Include <fcntl.h>.
44961 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44962 (__libc_getspecific): Likewise.
44963 (__libc_key_create): Likewise.
44965 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44966 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44967 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44968 (tmpfile64): Define as alias.
44969 * sysdeps/wordsize-64/tmpfile.c: File removed.
44970 * sysdeps/wordsize-64/tmpfile64.c: File removed.
44971 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44972 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44974 * stdio-common/vfscanf.c: Include <stdbool.h>.
44975 * nss/makedb.c: Likewise.
44976 * stdio-common/_i18n_number.h: Likewise.
44977 * argp/argp-help.c: Likewise.
44978 * posix/wordexp.c: Likewise.
44979 * sysdeps/posix/spawni.c: Likewise.
44980 * nss/nss_files/files-initgroups.c: Likewise.
44981 * stdio-common/reg-modifier.c: Include <stdlib.h>.
44982 * nss/nss_files/files-initgroups.c: Likewise.
44983 * nss/nss_db/db-netgrp.c: Likewise.
44984 * nss/nss_db/db-initgroups.c: Likewise.
44985 * io/fchmodat.c: Include <sys/stat.h>.
44987 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44988 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44990 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44993 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44994 Add multiple inclusion protection.
44996 2012-07-27 David S. Miller <davem@davemloft.net>
44998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45000 2012-07-27 Gary Benson <gbenson@redhat.com>
45003 * elf/rtld.c: Include <stap-probe.h>.
45004 (dl_main): Added static probes "init_start" and "init_complete".
45005 * elf/dl-load.c: Include <stap-probe.h>.
45006 (lose): Take new parameter "nsid".
45007 Added static probe "map_failed".
45008 (_dl_map_object_from_fd): Pass namespace id to lose.
45009 Added static probe "map_start".
45010 (open_verify): Pass namespace id to lose.
45011 * elf/dl-open.c: Include <stap-probe.h>.
45012 (dl_open_worker) Added static probes "map_complete", "reloc_start"
45013 and "reloc_complete".
45014 * elf/dl-close.c: Include <stap-probe.h>.
45015 (_dl_close_worker): Added static probes "unmap_start" and
45017 * elf/rtld-debugger-interface.txt: New file documenting the above.
45019 2012-07-26 Roland McGrath <roland@hack.frob.com>
45021 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
45022 rather than a string variable.
45023 * sunrpc/rpc_main.c (h_output): Likewise.
45024 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
45026 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
45028 * inet/check_native.c: New file.
45030 2012-07-26 Joseph Myers <joseph@codesourcery.com>
45033 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
45034 if larger part has absolute value 1.0.
45035 * math/s_clog10.c (__clog10): Likewise.
45036 * math/s_clog10f.c (__clog10f): Likewise.
45037 * math/s_clog10l.c (__clog10l): Likewise.
45038 * math/s_clogf.c (__clogf): Likewise.
45039 * math/s_clogl.c (__clogl): Likewise.
45040 * math/libm-test.inc (clog_test): Add more tests.
45041 (clog10_test): Likewise.
45042 * sysdeps/i386/fpu/libm-test-ulps: Update.
45043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45045 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
45046 (pltexit): Likewise.
45047 (La_regs): Likewise.
45048 (La_retval): Likewise.
45049 (int_retval): Likewise.
45050 Update #error for removed macros to refer only to definitions in
45052 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
45054 (pltexit): Likewise.
45055 (La_regs): Likewise.
45056 (La_retval): Likewise.
45057 (int_retval): Likewise.
45058 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
45060 (pltexit): Likewise.
45061 (La_regs): Likewise.
45062 (La_retval): Likewise.
45063 (int_retval): Likewise.
45064 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
45066 (pltexit): Likewise.
45067 (La_regs): Likewise.
45068 (La_retval): Likewise.
45069 (int_retval): Likewise.
45070 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
45072 (pltexit): Likewise.
45073 (La_regs): Likewise.
45074 (La_retval): Likewise.
45075 (int_retval): Likewise.
45076 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
45078 (pltexit): Likewise.
45079 (La_regs): Likewise.
45080 (La_retval): Likewise.
45081 (int_retval): Likewise.
45082 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
45084 (pltexit): Likewise.
45085 (La_regs): Likewise.
45086 (La_retval): Likewise.
45087 (int_retval): Likewise.
45088 * sysdeps/generic/tst-audit.h: Update comment to refer only to
45089 macro definitions in tst-audit.h.
45090 * sysdeps/i386/tst-audit.h: New file.
45091 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
45092 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
45093 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
45094 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
45095 * sysdeps/sh/tst-audit.h: Likewise.
45096 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
45097 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
45098 * sysdeps/x86_64/tst-audit.h: Likewise.
45100 2012-07-26 Andreas Jaeger <aj@suse.de>
45102 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
45105 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
45106 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
45107 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
45109 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
45110 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
45111 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
45113 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
45116 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
45118 (si_call_addr, si_syscall, si_arch): Define new macro.
45119 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
45121 (si_call_addr, si_syscall, si_arch): Define new marcro.
45122 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
45124 (si_call_addr, si_syscall, si_arch): Define new macro.
45125 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
45127 (si_call_addr, si_syscall, si_arch): Define new macro.
45129 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45132 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45133 Change to 2.4.21 where previously 2.4.1.
45134 * sysdeps/unix/sysv/linux/configure: Regenerated.
45135 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
45136 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
45137 Linux kernel version.
45138 (__ASSUME_STD_AUXV): Remove.
45139 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
45141 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
45142 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
45143 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
45144 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
45145 (__ASSUME_NETLINK_SUPPORT): Likewise.
45146 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
45147 (__no_netlink_support): Remove conditional definition.
45148 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
45150 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45151 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
45152 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
45153 (if_nameindex_ioctl): Remove.
45154 (if_nameindex_netlink): Do not handle __no_netlink_support.
45155 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45157 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
45158 Remove conditional code.
45159 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
45161 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
45163 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
45164 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
45165 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
45167 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
45168 [!__ASSUME_STD_AUXV]: Remove conditional code.
45169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
45170 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
45171 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
45172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
45173 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
45174 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45176 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45178 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
45179 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45181 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
45182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45183 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
45185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45186 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
45188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
45189 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45190 code unconditional.
45191 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45193 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45195 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45198 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45200 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
45203 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45204 code unconditional.
45205 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45207 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45209 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
45212 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
45213 code unconditional.
45214 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45216 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
45218 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
45221 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
45223 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
45224 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
45225 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45226 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
45227 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
45228 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45229 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45230 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
45231 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
45232 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
45233 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
45234 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
45235 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
45236 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45237 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
45238 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
45239 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
45240 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
45241 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
45242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
45243 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
45244 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
45245 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45247 2012-07-25 Florian Weimer <fweimer@redhat.com>
45249 * Versions.def: Add GLIBC_2.17.
45250 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
45251 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
45252 Introduce __libc_secure_getenv.
45253 * stdlib/Versions (2.17): Add secure_getenv
45254 (GLIBC_PRIVATE): Add __libc_secure_getenv.
45255 * stdlib/secure-getenv.c: Rename __secure_getenv to
45256 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
45257 symbol __secure_getenv for GLIBC_2.0.
45258 * stdlib/tst-secure-getenv.c: New.
45259 * stdlib/Makefile (tests): Add testcase.
45260 * manual/startup.texi (Environment Access): Document
45262 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
45263 __libc_secure_getenv.
45264 * inet/ruserpass.c (ruserpass): Likewise.
45265 * malloc/mtrace.c (mtrace): Likewise.
45266 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
45267 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
45268 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
45269 * sysdeps/posix/tempname.c: Likewise. Evaluate
45270 HAVE_SECURE_GETENV.
45271 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
45272 __secure_getenv to __libc_secure_getenv.
45273 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
45274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
45279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
45280 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45281 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
45282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
45283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
45286 2012-07-25 Joseph Myers <joseph@codesourcery.com>
45288 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
45289 (struct La_i86_retval): Likewise.
45290 (struct La_x86_64_regs): Likewise.
45291 (struct La_x86_64_retval): Likewise.
45292 (struct La_x32_regs): Likewise.
45293 (struct La_x32_retval): Likewise.
45294 (struct La_ppc32_regs): Likewise.
45295 (struct La_ppc32_retval): Likewise.
45296 (struct La_ppc64_regs): Likewise.
45297 (struct La_ppc64_retval): Likewise.
45298 (struct La_sh_regs): Likewise.
45299 (struct La_sh_retval): Likewise.
45300 (struct La_s390_32_regs): Likewise.
45301 (struct La_s390_32_retval): Likewise.
45302 (struct La_s390_64_regs): Likewise.
45303 (struct La_s390_64_retval): Likewise.
45304 (struct La_sparc32_regs): Likewise.
45305 (struct La_sparc32_retval): Likewise.
45306 (struct La_sparc64_regs): Likewise.
45307 (struct La_sparc64_retval): Likewise.
45308 (struct audit_ifaces): Remove architecture-specific pltenter and
45310 * sysdeps/i386/ldsodefs.h: New file.
45311 * sysdeps/powerpc/ldsodefs.h: Likewise.
45312 * sysdeps/s390/ldsodefs.h: Likewise.
45313 * sysdeps/sh/ldsodefs.h: Likewise.
45314 * sysdeps/sparc/ldsodefs.h: Likewise.
45315 * sysdeps/x86_64/ldsodefs.h: Likewise.
45317 2012-07-25 Marek Polacek <polacek@redhat.com>
45320 * math/libm-test.inc (yn_test): Add another test.
45321 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
45322 to ERANGE when the result is +-Inf.
45323 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45324 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
45325 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
45326 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
45328 2012-07-24 Joseph Myers <joseph@codesourcery.com>
45330 * conform/data/time.h-data (NULL): Use macro-constant. Require
45332 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
45334 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
45336 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
45338 * configure.in <sysdeps resolving>: Correct printing
45340 * configure: Regenerate.
45342 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
45344 * math/w_ilogb.c: Include <limits.h>.
45345 * math/w_ilogbl.c: Likewise.
45347 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45349 * manual/lang.texi (__va_copy): Document primarily as ISO C99
45350 va_copy. Document allowing for unavailable va_copy only as
45351 pre-C99 compatibility.
45352 * manual/string.texi (Copying and Concatenation): Use va_copy
45353 instead of __va_copy in concat example.
45355 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
45357 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
45358 (__sendto): Use create_address_port. Initialize APORT and deallocate
45361 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
45362 with O_NOLINK passed to __file_name_lookup.
45364 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
45365 with O_NOLINK passed to __file_name_lookup.
45367 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
45368 negative N or less than NGIDS.
45370 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
45371 type to string_t. Set ERANGE as errno and return it if NAME is not big
45372 enough. Use memcpy instead of strncpy.
45374 2012-07-20 Joseph Myers <joseph@codesourcery.com>
45376 * elf/Makefile (check-data): Remove.
45377 (localplt.data): New vpath directive.
45378 ($(objpfx)check-localplt.out): Use localplt.data from vpath
45379 instead of $(check-data).
45380 * scripts/data/localplt-generic.data: Move to ...
45381 * sysdeps/generic/localplt.data: ... here.
45382 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
45383 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
45384 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
45385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
45387 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
45388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
45390 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
45391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
45393 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
45394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45396 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
45397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
45399 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
45400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
45403 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45405 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
45406 PPC32 and PPC64 files.
45407 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
45408 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
45410 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45412 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
45413 __makecontext_ret to ...
45414 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
45415 ... here and call exit if uc_link is NULL. New file.
45416 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
45417 __makecontext_ret.S.
45418 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
45419 __makecontext_ret to ...
45420 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
45421 ... here and call exit if uc_link is NULL. New file.
45422 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
45423 __makecontext_ret.S.
45425 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45427 * elf/elf.h (R_390_IRELATIVE): New definition.
45428 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
45429 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
45430 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
45431 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45432 (elf_machine_lazy_rel): Likewise.
45433 * sysdeps/s390/dl-irel.h: New file.
45434 * sysdeps/s390/s390-64/memcpy.S: New asm code.
45435 * sysdeps/s390/s390-64/memset.S: New asm code.
45436 * sysdeps/s390/s390-64/memcmp.S: New asm code.
45437 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
45438 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
45439 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
45440 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
45441 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
45442 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
45443 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
45444 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
45445 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
45446 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
45447 * sysdeps/s390/s390-32/memcpy.S: New asm code.
45448 * sysdeps/s390/s390-32/memset.S: New asm code.
45449 * sysdeps/s390/s390-32/memcmp.S: New asm code.
45451 2012-07-17 Marek Polacek <polacek@redhat.com>
45454 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
45455 * sysdeps/s390/s390-64/configure.in: Likewise.
45456 * sysdeps/sparc/configure.in: Likewise.
45457 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
45458 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
45459 * sysdeps/i386/configure.in: Likewise.
45460 * sysdeps/x86_64/configure.in: Likewise.
45461 * sysdeps/sh/configure.in: Likewise.
45462 * sysdeps/s390/s390-32/configure: Regenerated.
45463 * sysdeps/s390/s390-64/configure: Likewise.
45464 * sysdeps/x86_64/configure: Likewise.
45465 * sysdeps/sh/configure: Likewise.
45466 * sysdeps/powerpc/powerpc64/configure: Likewise.
45467 * sysdeps/powerpc/powerpc32/configure: Likewise.
45468 * sysdeps/sparc/configure: Likwise.
45469 * sysdeps/i386/configure: Likewise.
45471 * elf/dl-open.c: Comment fixes.
45473 2012-07-17 Joseph Myers <joseph@codesourcery.com>
45475 * Makefile [CXX] (check-data): Remove.
45476 [CXX] (c++-types.data): New vpath directive.
45477 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
45478 vpath. Do not allow for C++ type data being missing.
45479 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
45480 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
45481 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
45482 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
45483 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
45484 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
45485 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
45486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
45488 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
45489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
45491 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
45492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
45494 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
45495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
45497 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
45498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
45500 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
45501 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
45503 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
45504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
45506 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
45507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
45509 * elf/tls-macros.h (TLS_LE): Move architecture-specific
45510 definitions to architecture-specific files.
45511 (TLS_IE): Likewise.
45512 (TLS_LD): Likewise.
45513 (TLS_GD): Likewise.
45514 * sysdeps/i386/tls-macros.h: New file.
45515 * sysdeps/powerpc/tls-macros.h: Likewise.
45516 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
45517 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
45518 * sysdeps/sh/tls-macros.h: Likewise.
45519 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
45520 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
45521 * sysdeps/x86_64/tls-macros.h: Likewise.
45523 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45525 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
45526 zero value for regular exit case.
45528 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
45529 (__start_context): Preserve zero value for regular exit case.
45531 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
45532 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45534 * manual/setjmp.texi (setcontext): Clarify normal process
45535 termination when uc_link is the null pointer.
45536 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
45539 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
45541 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
45542 preprocessor. Test for each exception mask separately.
45544 2012-07-16 Andreas Jaeger <aj@suse.de>
45546 * po/ru.po: Update from translation team.
45548 2012-07-15 Joseph Myers <joseph@codesourcery.com>
45550 * conform/data/string.h-data (NULL): Use macro-constant. Require
45552 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45553 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45554 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45555 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45556 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45558 2012-07-13 Andreas Jaeger <aj@suse.de>
45560 * po/fr.po: Update from translation team.
45562 2012-07-12 Marek Polacek <polacek@redhat.com>
45565 * math/libm-test.inc (yn_test): Add test for BZ #14173.
45566 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45569 2012-07-12 Joseph Myers <joseph@codesourcery.com>
45572 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45573 Change to 2.4.1 where previously 2.4.0.
45574 * sysdeps/unix/sysv/linux/configure: Regenerated.
45575 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45576 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45578 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45579 (__ASSUME_AT_CLKTCK): Remove.
45580 (__ASSUME_AT_PAGESIZE): Likewise.
45581 (__ASSUME_AT_XID): Likewise.
45582 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45583 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45584 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45586 (HAVE_AUX_PAGESIZE): Likewise.
45587 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45588 [__ASSUME_AT_CLKTCK]: Make code unconditional.
45589 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45591 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
45594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45595 the temporary buffer used to invoke __gethostbyname2_r,
45596 __gethostbyaddr_r and gethostbyname4_r to make room for struct
45597 host_data / struct gaih_addrtuple.
45598 * resolv/nss_dns/dns-host.c (global scope): Move definition of
45599 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45600 header file nss/nsswitch.h.
45601 * nss/nsswitch.h (global scope): Add definition of implementation
45602 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45603 resolv/nss_dns/dns-host.c).
45605 2012-07-11 Andreas Jaeger <aj@suse.de>
45607 * po/fr.po: Update from translation team.
45609 * po/sv.po: Update from translation team
45610 * po/fr.po: Another update from translation team.
45612 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45614 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45615 for subnormals or multiply small sinh result by itself.
45616 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45619 2012-07-11 David S. Miller <davem@davemloft.net>
45621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45623 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
45626 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45627 (INTERNAL_MARK): Shift it here.
45629 2012-07-10 Marek Polacek <polacek@redhat.com>
45632 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
45633 libc_cv_asm_global_directive with .globl.
45634 * configure: Regenerated.
45635 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45637 * sysdeps/i386/configure: Regenerated.
45638 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45640 * sysdeps/x86_64/configure: Regenerated.
45641 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45642 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45643 * elf/tst-unique2mod2.c: Likewise.
45644 * elf/tst-unique2mod1.c: Likewise.
45645 * elf/tst-unique1mod2.c: Likewise.
45646 * elf/tst-unique1mod1.c: Likewise.
45647 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45648 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45649 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45650 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45651 * sysdeps/mach/sysdep.h: Likewise.
45652 * sysdeps/i386/sysdep.h: Likewise.
45653 * sysdeps/i386/i386-mcount.S: Likewise.
45654 * sysdeps/x86_64/_mcount.S: Likewise.
45655 * sysdeps/x86_64/sysdep.h: Likewise.
45656 * sysdeps/sh/_mcount.S: Likewise.
45657 * sysdeps/sh/sysdep.h: Likewise.
45658 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45659 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45660 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45661 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45662 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45663 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45664 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45665 * locale/localeinfo.h: Likewise.
45666 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45667 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45669 2012-07-09 Roland McGrath <roland@hack.frob.com>
45672 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45674 * manual/message.texi (The Uniforum approach): Likewise.
45675 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45676 (glibc iconv Implementation): Likewise.
45678 2012-07-09 Joseph Myers <joseph@codesourcery.com>
45681 * math/s_clog.c (__clog): Avoid scaling a value down where that
45682 could result in underflow.
45683 * math/s_clog10.c (__clog10): Likewise.
45684 * math/s_clog10f.c (__clog10f): Likewise.
45685 * math/s_clog10l.c (__clog10l): Likewise.
45686 * math/s_clogf.c (__clogf): Likewise.
45687 * math/s_clogl.c (__clogl): Likewise.
45688 * math/libm-test.inc (clog_test): Add more tests.
45689 (clog10_test): Likewise.
45690 * sysdeps/i386/fpu/libm-test-ulps: Update.
45691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45693 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
45696 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45697 by 7 not 8 to examine high bit of fractional part.
45700 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45701 for call to __mcount_internal.
45702 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45703 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45704 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45706 2012-07-06 Joseph Myers <joseph@codesourcery.com>
45709 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45710 approximation for values within 0x1p-13f of an odd multiple of
45712 * math/libm-test.inc (tan_test): Do not allow spurious underflow
45713 exception. Add more tests.
45714 * sysdeps/i386/fpu/libm-test-ulps: Update.
45717 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45718 inputs and return -1 for them. Do not check for +Inf in case not
45719 reachable for +Inf.
45720 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45721 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45722 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45723 and return -1 for them. Do not check for +Inf in case not
45724 reachable for +Inf.
45725 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45727 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45728 and return -1 for them. Do not check for +Inf in case not
45729 reachable for +Inf.
45730 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
45731 spurious underflow.
45732 * sysdeps/i386/fpu/libm-test-ulps: Update.
45733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45735 2012-07-06 Mike Frysinger <vapier@gentoo.org>
45737 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45739 2012-07-05 Joseph Myers <joseph@codesourcery.com>
45743 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45744 could result in spurious underflow. Scale down values above
45745 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45746 * math/s_csqrtf.c (__csqrtf): Likewise.
45747 * math/s_csqrtl.c (__csqrtl): Likewise.
45748 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
45749 spurious underflow.
45750 * sysdeps/i386/fpu/libm-test-ulps: Update.
45751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45753 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
45755 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45757 * catgets/xopen-msg.awk: New file.
45758 * catgets/xopen-msg.sed: Removed.
45760 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45762 * intl/po2test.awk: New file.
45763 * intl/po2test.sed: Removed.
45765 2012-07-04 Joseph Myers <joseph@codesourcery.com>
45768 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45769 or multiply small sinh result by itself.
45770 * math/s_ctanf.c (__ctanf): Likewise.
45771 * math/s_ctanh.c (__ctanh): Likewise.
45772 * math/s_ctanhf.c (__ctanhf): Likewise.
45773 * math/s_ctanhl.c (__ctanhl): Likewise.
45774 * math/s_ctanl.c (__ctanl): Likewise.
45775 * math/libm-test.inc (ctan_test_tonearest): New function.
45776 (ctan_test_towardzero): Likewise.
45777 (ctan_test_downward): Likewise.
45778 (ctan_test_upward): Likewise.
45779 (ctanh_test_tonearest): Likewise.
45780 (ctanh_test_towardzero): Likewise.
45781 (ctanh_test_downward): Likewise.
45782 (ctanh_test_upward): Likewise.
45783 (main): Call these new functions.
45784 * sysdeps/i386/fpu/libm-test-ulps: Update.
45785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45787 2012-07-03 Mike Frysinger <vapier@gentoo.org>
45789 * .gitignore: Delete /ports entry.
45791 2012-07-03 Andreas Jaeger <aj@suse.de>
45793 * po/bg.po: Update from translation team.
45794 * po/cs.po: Likewise.
45795 * po/de.po: Likewise.
45796 * po/hr.po: Likewise.
45797 * po/nl.pl: Likewise.
45798 * po/pl.po: Likewise.
45799 * po/vi.po: Likewise.
45801 2012-07-03 Joseph Myers <joseph@codesourcery.com>
45803 * Makeconfig [!+link] (+link-before-libc): New variable.
45804 [!+link] (+link-after-libc): Likewise.
45805 [!+link] (+link-tests): Likewise.
45806 [!+link] (+link): Define in terms of $(+link-before-libc) and
45807 $(+link-after-libc).
45808 [!+link-static] (+link-static-before-libc): New variable.
45809 [!+link-static] (+link-static-after-libc): Likewise.
45810 [!+link-static] (+link-static-tests): Likewise.
45811 [!+link-static] (+link-static): Define in terms of
45812 $(+link-static-before-libc) and $(+link-static-after-libc).
45813 [build-shared] (link-libc-before-gnulib): New variable.
45814 [build-shared] (link-libc-tests): Likewise.
45815 [build-shared] (link-libc): Define in terms of
45816 $(link-libc-before-gnulib).
45817 [!build-shared] (link-libc-tests): New variable.
45818 (link-libc-static-tests): New variable.
45819 [!gnulib] (gnulib-arch): New variable.
45820 [!gnulib] (gnulib-tests): Likewise.
45821 [!gnulib] (static-gnulib-arch): Likewise.
45822 [!gnulib] (static-gnulib-tests): Likewise.
45823 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
45824 Define with "=" instead of ":=".
45825 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
45826 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
45827 * Rules (binaries-all-notests): New variable.
45828 (binaries-all-tests): Likewise.
45829 (binaries-static-notests): Likewise.
45830 (binaries-static-tests): Likewise.
45831 (binaries-all): Define using $(binaries-all-notests) and
45832 $(binaries-all-tests).
45833 (binaries-static): Define using $(binaries-static-notests) and
45834 $(binaries-static-tests).
45835 (binaries-shared-tests): New variable.
45836 (binaries-shared-notests): Likewise.
45837 (binaries-shared): Remove variable.
45838 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45839 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45840 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45841 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45842 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45843 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45844 * elf/Makefile (sln-modules): New variable.
45845 (extra-objs): Add $(sln-modules:=.o).
45846 (ldconfig-modules): Add static-stubs.
45847 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45848 * elf/static-stubs.c: New file.
45851 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45852 by 7 not 8 to examine high bit of fractional part. Use volatile
45853 variables when splitting into final array of floats if
45854 __FLT_EVAL_METHOD__ != 0.
45855 * math/libm-test.inc (cos_test): Add another test.
45856 (sin_test): Likewise.
45857 * sysdeps/i386/fpu/libm-test-ulps: Update.
45860 * math/libm-test.inc (cosh_test): Add more tests.
45862 * version.h (RELEASE): Set to "development".
45863 (VERSION): Set to "2.16.90".
45865 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
45867 * NEWS: Update copyright. Remove last-updated date.
45868 Mention math library bug fixes and timezone data changes.
45869 * README: Mention GNU/Hurd, x32, and HPPA support status.
45871 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
45873 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45875 2012-06-27 Andreas Jaeger <aj@suse.de>
45877 * manual/contrib.texi (Contributors): Add Samuel Thibault.
45879 2012-06-25 Andreas Jaeger <aj@suse.de>
45881 * sysdeps/s390/fpu/libm-test-ulps: Update.
45883 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
45884 Thomas Schwinge <thomas@codesourcery.com>
45886 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45887 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45888 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45891 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
45893 * sysdeps/mach/start.c: Remove file.
45894 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45895 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45896 * sysdeps/sh/init-first.c: Likewise.
45898 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45899 registers for frame unwinding purposes, add CFI directives.
45900 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45901 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45902 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45905 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45906 __fortify_fail returning.
45907 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45909 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45910 sysdeps/sh/____longjmp_chk.S.
45911 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45912 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45913 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45914 (gen-as-const-headers): Append sigaltstack-offsets.sym.
45916 * sysdeps/sh/abort-instr.h: New file.
45917 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45918 process in case exit returns.
45920 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45921 initialize the GOT register before use.
45923 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45924 calculation of ARGC > 4.
45926 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45927 meaningful names to some local labels.
45929 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45930 Kaz Kojima <kkojima@rr.iij4u.or.jp>
45932 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45933 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45934 (__arch_compare_and_exchange_val_16_acq): Likewise.
45935 (__arch_compare_and_exchange_val_32_acq): Likewise.
45936 (atomic_exchange_and_add): Fix gUSA sequence.
45937 (atomic_add): Likewise.
45938 (atomic_add_negative): Likewise.
45939 (atomic_add_zero): Likewise.
45940 (atomic_bit_test_set): Likewise.
45942 2012-06-22 Andreas Schwab <schwab@redhat.com>
45945 * include/link.h (struct link_map): Add l_free_initfini.
45946 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45948 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45949 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45950 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45953 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
45955 * configure.in: Use AC_LANG_SOURCE.
45956 * configure: Regenerate.
45958 2012-06-22 Roland McGrath <roland@hack.frob.com>
45960 * configure.in (libc_cv_localstatedir): New substituted variable.
45961 * configure: Regenerated.
45962 * config.make.in (localstatedir): New variable, substituted from
45963 libc_cv_localstatedir.
45964 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45965 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45966 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45967 * sysdeps/gnu/configure: Regenerated.
45969 2012-06-21 Jeff Law <law@redhat.com>
45972 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45973 free. Simplify list management for _LIBC case.
45975 2012-06-21 Joseph Myers <joseph@codesourcery.com>
45978 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45979 Clear sign bit of 64-bit integer value before comparing against
45982 * sysdeps/mach/configure: Regenerated.
45984 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
45987 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45989 2012-06-21 Jeff Law <law@redhat.com>
45992 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
45993 uint16_t for elements in the "seen" array to avoid char overflows.
45994 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45995 * elf/dl-open.c (dl_open_worker): Likewise.
45997 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
45999 * scripts/list-sources.sh: Scan PORTS for translations.
46000 * po/libc.pot: Regenerated.
46002 2012-06-21 Andreas Jaeger <aj@suse.de>
46005 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
46007 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
46008 * bits/byteswap-16.h (__bswap_16): Likewise.
46009 * bits/byteswap.h (__bswap_constant_16): Likewise.
46011 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
46014 * sysdeps/i386/fpu_control.h: Removed.
46015 * sysdeps/x86_64/fpu_control.h: Moved to ...
46016 * sysdeps/x86/fpu_control.h: Here.
46018 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
46019 (_FPU_SETCW): Likewise.
46021 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
46024 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
46025 * sysdeps/x86/fpu/bits/mathinline.h: This.
46026 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
46030 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
46031 functions if __x86_64__ is defined.
46033 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
46035 * string/endian.h: Add !__ASSEMBLER__ condition for including
46036 conversion interfaces.
46038 2012-06-15 Joseph Myers <joseph@codesourcery.com>
46041 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
46042 of ABS(x) in calculating zero to negative powers other than odd
46044 * math/libm-test.inc (pow_test): Add more tests.
46046 2012-06-15 Andreas Jaeger <aj@suse.de>
46048 * manual/contrib.texi (Contributors): Update entry of Liubov
46049 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
46052 2012-06-15 Cyril Hrubis <metan@ucw.cz>
46054 * string/string.h: Add __wur to GNU version of strerror_r.
46056 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
46059 * string/Makefile (tests): Add tst-strtok_r.
46060 * string/tst-strtok_r.c: New file.
46061 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
46062 RAX_LP/RDX_LP on SAVE_PTR.
46064 2012-06-14 Roland McGrath <roland@hack.frob.com>
46066 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
46068 2012-06-14 Joseph Myers <joseph@codesourcery.com>
46070 * libm_test.inc (csqrt_test): Allow more spurious underflow
46072 (j0_test): Likewise.
46073 (j1_test): Likewise.
46074 (y0_test): Likewise.
46075 (y1_test): Likewise.
46077 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
46079 * po/Makefile (libc.pot): Use UTF-8 charset.
46081 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
46084 Suppress sign-conversion warning from FD_SET.
46085 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
46086 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
46087 not unsigned long int.
46088 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
46090 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
46094 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
46095 __extern_always_inline instead of __extern_inline.
46096 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
46097 (__signbit): Likewise.
46098 (__signbitl): Support C++ namespace.
46099 (lrintf): New inline function.
46101 (llrintf): Likewise.
46102 (llrint): Likewise.
46112 (floorf): Likewise.
46113 (nearbyint): Likewise.
46114 (nearbyintf): Likewise.
46116 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
46118 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
46119 non-default versions.
46121 2012-06-11 Roland McGrath <roland@hack.frob.com>
46124 * manual/argp.texi (Argp): Reword argp_parse description slightly.
46126 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
46128 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
46129 (FE_UPWARD, FE_DOWNWARD): Don't define.
46130 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
46131 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46133 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
46135 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46136 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46138 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46140 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46141 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
46142 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
46143 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
46145 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
46148 * sysdeps/i386/fpu/bits/fenv.h: Removed.
46149 * sysdeps/i386/fpu/Implies: New file.
46150 * sysdeps/x86_64/fpu/Implies: Likewise.
46151 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
46152 * sysdeps/x86/fpu/bits/fenv.h: This.
46154 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
46157 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46160 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
46161 character 0xffff that matches the last element of the
46164 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46166 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
46169 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46171 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
46172 values higher than 25.6283.
46174 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46176 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
46177 subnormal exponent extraction and add some __builtin_expect.
46178 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
46179 Fix for subnormal mantissa calculation.
46181 2012-06-04 Mike Frysinger <vapier@gentoo.org>
46183 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
46184 cpu2 is -1 and errno is not ENOSYS.
46186 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
46189 * sysdeps/i386/i486/bits/string.h: Renamed to ...
46190 * sysdeps/x86/bits/string.h: This.
46191 * sysdeps/x86_64/bits/string.h: Removed.
46193 * sysdeps/i386/i486/bits/string.h: Define inline functions only
46194 if not compiling for x86-64, but compiling for >= i486.
46196 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
46197 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
46199 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
46200 New macro from Linux kernel 3.4.0.
46201 (FP_XSTATE_MAGIC2): Likewise.
46202 (FP_XSTATE_MAGIC2_SIZE): Likewise.
46203 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
46204 (struct _fpx_sw_bytes): New struct.
46205 (struct _xsave_hdr): Likewise.
46206 (struct _ymmh_state): Likewise.
46207 (struct _xstate): Likewise.
46209 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
46210 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
46211 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
46212 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
46213 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
46214 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
46216 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
46217 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
46218 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
46219 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
46220 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
46221 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
46223 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46226 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
46227 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
46228 (sysdep_headers): Include sys/platform/ppc.h.
46229 * sysdeps/powerpc/test-gettimebase.c: Test for
46230 __ppc_get_timebase() to catch future ISA opcode/insn changes.
46231 * manual/Makefile (appendices): Include platform.texi.
46232 * manual/contrib.texi (Contributors): Update @node pointers.
46233 * manual/maint.texi (Maintenance): Likewise.
46234 (Platform): New node.
46235 * manual/platform.texi: New file. Document the new features.
46237 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46238 Jakub Jelinek <jakub@redhat.com>
46241 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
46242 where __builtin_expect is unavailable.
46244 2012-06-03 David S. Miller <davem@davemloft.net>
46246 * stdlib/longlong.h: Updated from GCC.
46248 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
46251 * sysdeps/powerpc/powerpc32/mcount.c: New file.
46252 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
46254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
46255 (GLIBC_2.16): Likewise.
46257 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46259 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
46261 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
46264 (default-abi): New variable.
46265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
46266 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
46268 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
46270 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
46272 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
46275 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
46276 definition. Document in comment.
46278 2012-06-01 David S. Miller <davem@davemloft.net>
46280 * stdlib/longlong.h: Updated from GCC.
46282 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46285 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
46286 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
46287 sys/debugreg.h sys/io.h here.
46288 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
46289 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
46291 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
46292 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
46293 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
46294 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
46295 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
46296 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
46298 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
46299 Define only if __x86_64__ is defined.
46301 2012-06-01 Joseph Myers <joseph@codesourcery.com>
46304 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
46305 Use int64_t for variable i.
46306 * math/libm-test.inc (fmod_test): Add more tests.
46308 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
46309 z computation is not scheduled after fetestexcept.
46310 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
46311 Use math_force_eval instead of asm to ensure calculation scheduled
46312 before exception test.
46313 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
46314 Ensure a1 + u.d computation is not scheduled after fetestexcept.
46316 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
46318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
46319 computation is not scheduled after fetestexcept.
46321 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
46324 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
46325 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
46327 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46329 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
46330 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46332 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46335 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
46337 (__WCHAR_MIN): Support __WORDSIZE == 64.
46338 (__WCHAR_MAX): Likewise.
46340 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
46341 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
46344 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
46345 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
46348 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
46349 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
46351 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
46352 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
46354 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
46355 Defined to 1 if __x86_64__ isn't defined.
46356 (_STAT_VER_LINUX_OLD): New.
46357 (st_atime): Remove duplicate.
46358 (st_mtime): Likewise.
46359 (st_ctime): Likewise.
46361 2012-05-31 David S. Miller <davem@davemloft.net>
46363 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
46366 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
46368 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
46372 * elf/dl-reloc.c: Include <_itoa.h>.
46373 (_dl_reloc_bad_type): Remove use of INTUSE.
46374 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
46375 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
46376 * stdio-common/psiginfo.c (psiginfo): Likewise.
46377 * stdio-common/psignal.c (psignal): Likewise.
46378 * string/strsignal.c (strsignal): Likewise.
46379 * include/signal.h (_sys_siglist): Declare hidden proto.
46380 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
46381 INTVARDEF with libc_hidden_data_def.
46382 * stdio-common/itoa-udigits.c: Likewise.
46383 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
46384 (_itoa_lower_digits_internal): Remove declaration.
46385 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
46386 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
46387 (_sys_sigabbrev_internal): Remove aliases.
46388 (_sys_siglist): Define hidden alias.
46390 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
46392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46395 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
46398 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
46399 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
46401 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
46402 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
46403 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
46404 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
46405 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46406 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
46408 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
46409 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
46410 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
46412 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
46420 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
46421 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
46422 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
46424 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
46425 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
46426 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
46427 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
46428 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
46429 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
46431 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
46432 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
46434 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46435 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
46437 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
46438 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
46439 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
46441 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
46442 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
46444 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
46446 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
46447 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
46448 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
46450 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
46452 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
46454 2012-05-31 Joseph Myers <joseph@codesourcery.com>
46456 * math/math.h (M_El): Use two more decimal places.
46457 (M_LOG2El): Likewise.
46458 (M_LOG10El): Likewise.
46459 (M_LN2l): Likewise.
46460 (M_LN10l): Likewise.
46462 (M_PI_2l): Likewise.
46463 (M_PI_4l): Likewise.
46464 (M_1_PIl): Likewise.
46465 (M_2_PIl): Likewise.
46466 (M_2_SQRTPIl): Likewise.
46467 (M_SQRT2l): Likewise.
46468 (M_SQRT1_2l): Likewise.
46470 2012-05-31 David S. Miller <davem@davemloft.net>
46472 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
46473 values between float registers.
46474 * sysdeps/sparc/sparc64/memset.S: Likewise.
46475 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46477 2012-05-31 Mike Frysinger <vapier@gentoo.org>
46479 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
46480 -D_FORTIFY_SOURCE=1.
46481 (CPPFLAGS-tst-longjmp_chk.c): Define.
46482 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
46483 (CPPFLAGS-tst-longjmp_chk2.c): Define.
46484 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
46485 CFLAGS-tst-wchar-h.c.
46487 2012-05-31 Marek Polacek <polacek@redhat.com>
46490 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
46491 __endmntent_internal): Remove declaration.
46492 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
46493 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
46494 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
46496 2012-05-30 David S. Miller <davem@davemloft.net>
46498 * sysdeps/sparc/sparc32/soft-fp/q_util.c
46499 (___Q_simulate_exceptions): Use real FP ops rather than writing
46501 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
46504 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46507 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
46508 * sysdeps/x86/bits/xtitypes.h: This.
46510 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
46511 * sysdeps/x86/bits/wordsize.h: This.
46513 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
46514 * sysdeps/x86/bits/huge_vall.h: This.
46516 * sysdeps/i386/bits/select.h: Removed.
46517 * sysdeps/x86_64/bits/select.h: Renamed to ...
46518 * sysdeps/x86/bits/select.h: This.
46520 * sysdeps/i386/bits/setjmp.h: Removed.
46521 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
46522 * sysdeps/x86/bits/setjmp.h: This.
46524 * sysdeps/i386/bits/mathdef.h: Removed.
46525 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
46526 * sysdeps/x86/bits/mathdef.h: This.
46528 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
46531 * include/sys/socket.h (__connect_internal)
46532 (__libc_sa_len_internal): Remove declaration.
46533 (__connect, __libc_sa_len): Declare hidden_proto.
46534 (SA_LEN): Remove use of INTUSE.
46535 * socket/connect.c: Add libc_hidden_def.
46536 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
46537 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
46538 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
46540 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
46541 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
46542 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
46543 of adding _internal alias.
46545 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46548 * sysdeps/i386/bits/link.h: Removed.
46549 * sysdeps/i386/bits/linkmap.h: Likewise.
46550 * sysdeps/x86_64/bits/link.h: Renamed to ...
46551 * sysdeps/x86/bits/link.h: This.
46552 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46553 * sysdeps/x86/bits/linkmap.h: This.
46555 * sysdeps/i386/bits/endian.h: Removed.
46556 * sysdeps/x86_64/bits/endian.h: Renamed to ...
46557 * sysdeps/x86/bits/endian.h: This.
46559 * sysdeps/i386/bits/byteswap.h: Removed.
46560 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46561 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46562 * sysdeps/x86/bits/byteswap.h: This.
46563 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46564 * sysdeps/x86/bits/byteswap-16.h: This.
46565 * sysdeps/i386/Implies: Add x86.
46566 * sysdeps/x86_64/Implies: Likewise.
46568 2012-05-30 David S. Miller <davem@davemloft.net>
46570 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46571 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46572 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46573 (FP_TRAPPING_EXCEPTIONS): Define.
46574 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46575 (FP_TRAPPING_EXCEPTIONS): Define.
46576 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46577 subnormals only when inexact has been signalled or underflow
46578 exceptions are enabled.
46579 (_FP_PACK_CANONICAL): Likewise.
46581 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46584 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46585 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46587 2012-05-30 Richard Henderson <rth@twiddle.net>
46589 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46590 with #ifndef NOT_IN_libc.
46592 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
46593 marked to avoid plt entry.
46595 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
46598 * Makeconfig (default-abi): New macro.
46599 (abi-includes): Likewise.
46600 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
46601 $(abi-$(default-abi)-lib-soname) for soname if defined.
46602 ($(common-objpfx)gnu/lib-names.stmp): Generate from
46604 * Makefile (installed-stubs): Likewise.
46605 * include/stubs-biarch.h: Removed.
46606 * scripts/lib-names.awk: Only handle one library at a time.
46607 * scripts/soversions.awk: Remove WORDSIZE support.
46608 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46610 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46612 (syscall-list-default-condition): Likewise.
46613 (syscall-list-default-condition): Likewise.
46614 (syscall-list-includes): Likewise.
46615 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46616 syscall-list-* with abi-*. Handle undefined abi-variants.
46617 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46618 * sysdeps/unix/sysv/linux/i386/Implies: New file.
46619 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46620 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46621 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46622 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46624 (syscall-list-32-options): Likewise.
46625 (syscall-list-32-condition): Likewise.
46626 (syscall-list-64-options): Likewise.
46627 (syscall-list-64-condition): Likewise.
46628 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46630 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46633 (abi-64-ld-soname): New macro.
46634 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46635 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46638 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46639 * sysdeps/x86_64/x32/shlib-versions: Likewise.
46641 2012-05-30 Joseph Myers <joseph@codesourcery.com>
46643 * sysdeps/unix/sysv/linux/kernel-features.h
46644 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46645 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46646 include <kernel-features.h>.
46647 [!__NR_ftruncate64]: Remove conditional code.
46648 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46649 [__NR_ftruncate64]: Make code unconditional.
46650 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46651 * sysdeps/unix/sysv/linux/truncate64.c: Do not
46652 include <kernel-features.h>.
46653 [!__NR_ftruncate64]: Remove conditional code.
46654 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46655 [__NR_ftruncate64]: Make code unconditional.
46656 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46658 include <kernel-features.h>.
46659 [!__NR_ftruncate64]: Remove conditional code.
46660 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46661 [__NR_ftruncate64]: Make code unconditional.
46662 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46664 include <kernel-features.h>.
46665 [!__NR_ftruncate64]: Remove conditional code.
46666 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46667 [__NR_ftruncate64]: Make code unconditional.
46668 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46670 * configure.in (libc_cv_fpie): Weaken to a compile test using
46671 LIBC_TRY_CC_OPTION.
46672 * configure: Regenerated.
46674 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46689 2012-05-27 David S. Miller <davem@davemloft.net>
46691 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46693 (__Q_simulate_exceptions): Return void. Change to simulate
46694 exceptions by writing into the %fsr.
46695 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46696 (__Qp_handle_exceptions): Likewise.
46698 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46699 __Qp_handle_exceptions.
46700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46701 __Qp_handle_exceptions.
46702 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46703 as unused and give dummy FP_RND_NEAREST initializer.
46704 (FP_INHIBIT_RESULTS): Define.
46705 (___Q_simulate_exceptions): Update declaration.
46706 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46708 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46709 as unused and give dummy FP_RND_NEAREST initializer.
46710 (__Qp_handle_exceptions): Update declaration.
46711 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46714 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
46716 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46717 the temporary FPU control word.
46718 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46719 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46720 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46721 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46722 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46723 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46724 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46725 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46726 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46727 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46728 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46730 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46732 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46735 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
46737 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46738 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46739 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46740 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46742 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46743 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46746 2012-05-27 Ulrich Drepper <drepper@gmail.com>
46748 * po/h.po: Update from translation team.
46750 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
46752 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46754 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46755 handling of denormals.
46756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46757 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46758 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46759 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46761 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46762 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46765 2012-05-26 Marek Polacek <polacek@redhat.com>
46768 * math/libm-test.inc (fma_test): Don't always expect underflow
46771 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46774 * elf/tst-execstack.c: Include stackinfo.h.
46775 (do_test): Adjust test case to ensure that pthread_getattr_np
46776 behaviour remains the same after marking stack executable.
46778 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46780 * sysdeps/unix/sysv/linux/kernel-features.h
46781 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46782 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46784 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46785 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46786 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46788 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46789 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46791 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
46793 * configure.in: Define the default includes to being none.
46794 * configure: Regenerated.
46796 2012-05-25 Roland McGrath <roland@hack.frob.com>
46798 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46799 * sysdeps/x86_64/setjmp.S: Likewise.
46800 * sysdeps/i386/bsd-setjmp.S: Likewise.
46801 * sysdeps/i386/bsd-_setjmp.S: Likewise.
46802 * sysdeps/i386/setjmp.S: Likewise.
46803 * sysdeps/i386/__longjmp.S: Likewise.
46804 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46805 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46807 * include/stap-probe.h: New file.
46808 * configure.in: Handle --enable-systemtap.
46809 * configure: Regenerated.
46810 * config.h.in (USE_STAP_PROBE): New #undef.
46811 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46812 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46813 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46815 2012-05-25 Joseph Myers <joseph@codesourcery.com>
46818 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46819 to 2.4.0 where earlier.
46820 * sysdeps/unix/sysv/linux/configure: Regenerated.
46821 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46822 <kernel-features.h>.
46823 [__ASSUME_32BITUIDS]: Make code unconditional.
46824 [!__ASSUME_32BITUIDS]: Remove conditional code.
46825 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46826 <kernel-features.h>.
46827 [__ASSUME_32BITUIDS]: Make code unconditional.
46828 [!__ASSUME_32BITUIDS]: Remove conditional code.
46829 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46830 [__ASSUME_32BITUIDS]: Make code unconditional.
46831 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46832 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46833 <kernel-features.h>.
46834 [__ASSUME_32BITUIDS]: Make code unconditional.
46835 [!__ASSUME_32BITUIDS]: Remove conditional code.
46836 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46837 <kernel-features.h>.
46838 [__ASSUME_32BITUIDS]: Make code unconditional.
46839 [!__ASSUME_32BITUIDS]: Remove conditional code.
46840 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46841 <kernel-features.h>.
46842 [__ASSUME_32BITUIDS]: Make code unconditional.
46843 [!__ASSUME_32BITUIDS]: Remove conditional code.
46844 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46845 <kernel-features.h>.
46846 [__ASSUME_32BITUIDS]: Make code unconditional.
46847 [!__ASSUME_32BITUIDS]: Remove conditional code.
46848 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46849 <kernel-features.h>.
46850 [__ASSUME_32BITUIDS]: Make code unconditional.
46851 [!__ASSUME_32BITUIDS]: Remove conditional code.
46852 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46853 <kernel-features.h>.
46854 [__ASSUME_32BITUIDS]: Make code unconditional.
46855 [!__ASSUME_32BITUIDS]: Remove conditional code.
46856 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46857 <kernel-features.h>.
46858 [__ASSUME_32BITUIDS]: Make code unconditional.
46859 [!__ASSUME_32BITUIDS]: Remove conditional code.
46860 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46861 <kernel-features.h>.
46862 [__ASSUME_32BITUIDS]: Make code unconditional.
46863 [!__ASSUME_32BITUIDS]: Remove conditional code.
46864 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46865 <kernel-features.h>.
46866 [__ASSUME_32BITUIDS]: Make code unconditional.
46867 [!__ASSUME_32BITUIDS]: Remove conditional code.
46868 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46869 <kernel-features.h>.
46870 [__ASSUME_32BITUIDS]: Make code unconditional.
46871 [!__ASSUME_32BITUIDS]: Remove conditional code.
46872 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46873 <kernel-features.h>.
46874 [__NR_setresgid] (__setresgid): Do not declare.
46875 [__ASSUME_32BITUIDS]: Make code unconditional.
46876 [!__ASSUME_32BITUIDS]: Remove conditional code.
46877 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46878 <kernel-features.h>.
46879 [__NR_setresuid] (__setresuid): Do not declare.
46880 [__ASSUME_32BITUIDS]: Make code unconditional.
46881 [!__ASSUME_32BITUIDS]: Remove conditional code.
46882 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46883 <kernel-features.h>.
46884 [__ASSUME_32BITUIDS]: Make code unconditional.
46885 [!__ASSUME_32BITUIDS]: Remove conditional code.
46886 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46887 <kernel-features.h>.
46888 [__ASSUME_32BITUIDS]: Make code unconditional.
46889 [!__ASSUME_32BITUIDS]: Remove conditional code.
46890 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46891 <kernel-features.h>.
46892 [__ASSUME_32BITUIDS]: Make code unconditional.
46893 [!__ASSUME_32BITUIDS]: Remove conditional code.
46894 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46895 <kernel-features.h>.
46896 [__ASSUME_32BITUIDS]: Make code unconditional.
46897 [!__ASSUME_32BITUIDS]: Remove conditional code.
46898 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46899 <kernel-features.h>.
46900 [__ASSUME_32BITUIDS]: Make code unconditional.
46901 [!__ASSUME_32BITUIDS]: Remove conditional code.
46902 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46903 <kernel-features.h>.
46904 [__ASSUME_32BITUIDS]: Make code unconditional.
46905 [!__ASSUME_32BITUIDS]: Remove conditional code.
46906 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46907 <kernel-features.h>.
46908 [__ASSUME_32BITUIDS]: Make code unconditional.
46909 [!__ASSUME_32BITUIDS]: Remove conditional code.
46910 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46911 <kernel-features.h>.
46912 [__ASSUME_32BITUIDS]: Make code unconditional.
46913 [!__ASSUME_32BITUIDS]: Remove conditional code.
46914 * sysdeps/unix/sysv/linux/i386/setuid.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/i386/shmctl.c: Do not include
46919 <kernel-features.h>.
46920 [__ASSUME_32BITUIDS]: Make code unconditional.
46921 [!__ASSUME_32BITUIDS]: Remove conditional code.
46922 * sysdeps/unix/sysv/linux/kernel-features.h
46923 (__ASSUME_SETRESUID_SYSCALL): Remove.
46924 (__ASSUME_SETRESGID_SYSCALL): Likewise.
46925 (__ASSUME_32BITUIDS): Likewise.
46926 (__ASSUME_LDT_WORKS): Likewise.
46927 (__ASSUME_O_DIRECTORY): Likewise.
46928 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46929 architecture but not kernel version.
46930 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46931 (__ASSUME_MMAP2_SYSCALL): Likewise.
46932 (__ASSUME_STAT64_SYSCALL): Likewise.
46933 (__ASSUME_IPC64): Likewise.
46934 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46935 <kernel-features.h>.
46936 [__ASSUME_32BITUIDS]: Make code unconditional.
46937 [!__ASSUME_32BITUIDS]: Remove conditional code.
46938 * sysdeps/unix/sysv/linux/opendir.c: Do not include
46939 <kernel-features.h>.
46940 [__ASSUME_O_DIRECTORY]: Make code unconditional.
46941 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46942 132096]: Remove conditional code.
46943 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46944 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46945 <kernel-features.h>.
46946 [__ASSUME_32BITUIDS]: Make code unconditional.
46947 [!__ASSUME_32BITUIDS]: Remove conditional code.
46948 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46949 <kernel-features.h>.
46950 [__ASSUME_32BITUIDS]: Make code unconditional.
46951 [!__ASSUME_32BITUIDS]: Remove conditional code.
46952 * sysdeps/unix/sysv/linux/setegid.c: Do not include
46953 <kernel-features.h>.
46954 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46956 (__setresgid): Do not declare.
46957 [__ASSUME_32BITUIDS]: Make code unconditional.
46958 [!__ASSUME_32BITUIDS]: Remove conditional code.
46959 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46960 <kernel-features.h>.
46961 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46963 (__setresuid): Do not declare.
46964 [__ASSUME_32BITUIDS]: Make code unconditional.
46965 [!__ASSUME_32BITUIDS]: Remove conditional code.
46966 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46967 <kernel-features.h>.
46968 [__ASSUME_32BITUIDS]: Make code unconditional.
46969 [!__ASSUME_32BITUIDS]: Remove conditional code.
46970 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46971 <kernel-features.h>.
46972 [__ASSUME_32BITUIDS]: Make code unconditional.
46973 [!__ASSUME_32BITUIDS]: Remove conditional code.
46975 2012-05-25 Richard Henderson <rth@twiddle.net>
46977 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46978 dl_hwcap to ifunc resolver.
46979 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46981 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46982 dl_hwcap to ifunc resolver.
46983 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46985 2012-05-24 Joseph Myers <joseph@codesourcery.com>
46988 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46989 for |x| <= 2**-26, not 2**-57.
46990 * math/libm-test.inc (acos_test): Do not allow spurious underflow
46993 2012-05-24 Jeff Law <law@redhat.com>
46995 * stdio-common/Makefile (tests): Add bug25.
46996 * stdio-common/bug25.c: New test.
46998 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47001 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
47002 multiple of MALLOC_ALIGNMENT in size.
47003 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
47005 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47007 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
47009 (FILENAME_MAX): Use macro-int-constant.
47010 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
47011 (_IOFBF): Use macro-int-constant.
47012 (_IOLBF): Likewise.
47013 (_IONBF): Likewise.
47014 (SEEK_CUR): Likewise.
47015 (SEEK_END): Likewise.
47016 (SEEK_SET): Likewise.
47017 (TMP_MAX): Likewise.
47018 (EOF): Use macro-int-constant. Require < 0.
47019 (NULL): Use macro-constant. Require == 0.
47020 (stdin): Require type to be FILE *.
47021 (stdout): Likewise.
47022 (stderr): Likewise.
47023 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
47024 macro-int-constant.
47025 (EXIT_SUCCESS): Likewise.
47026 (NULL): Use macro-constant. Require == 0.
47027 (RAND_MAX): Use macro-int-constant.
47028 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
47029 [C99-based standards] (strtof): Require function.
47030 [C99-based standards] (strtold): Likewise.
47031 [C99-based standards] (strtoll): Likewise.
47032 [C99-based standards] (strtoull): Likewise.
47033 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47034 [ISO || ISO99 || ISO11] (limits.h): Likewise.
47035 [ISO || ISO99 || ISO11] (math.h): Likewise.
47036 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
47037 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47038 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47040 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
47043 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
47044 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
47045 * intl/dgettext.c (DCGETTEXT): Likewise.
47046 * intl/gettext.c (DCGETTEXT): Likewise.
47047 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
47048 * posix/regex_internal.h (gettext): Likewise.
47049 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
47050 Remove declaration.
47051 * include/argz.h (__argz_count_internal)
47052 (__argz_stringify_internal): Remove declaration.
47053 (__argz_count, __argz_stringify): Declare hidden proto.
47054 * intl/dcgettext.c: Remove use of INTDEF.
47055 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
47056 * string/argz-stringify.c: Likewise.
47057 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47058 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47059 Declare hidden proto.
47060 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
47061 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
47062 Declare hidden proto.
47063 * include/stdio.h (__asprintf_internal): Don't declare.
47064 (__asprintf): Don't define as macro. Declare hidden proto.
47065 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
47066 (__fsetlocking): Declare hidden proto.
47067 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
47068 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
47070 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
47071 (_IO_setlinebuf): Remove use of INTUSE.
47072 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
47073 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
47074 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
47075 Remove declaration.
47076 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
47077 (_IO_do_flush): Remove use of INTUSE.
47078 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
47079 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
47080 (_IO_adjust_column, _IO_least_wmarker)
47081 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
47082 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
47083 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
47084 (_IO_default_doallocate, _IO_wdefault_doallocate)
47085 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
47086 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
47087 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
47088 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
47089 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
47090 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
47091 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
47092 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
47093 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
47094 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
47095 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
47096 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
47097 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
47099 (_IO_flush_all_internal, _IO_adjust_column_internal)
47100 (_IO_default_uflow_internal, _IO_default_finish_internal)
47101 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
47102 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
47103 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
47104 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
47105 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
47106 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
47107 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
47108 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
47109 (_IO_file_close_internal, _IO_file_close_it_internal)
47110 (_IO_file_underflow_internal, _IO_file_overflow_internal)
47111 (_IO_file_init_internal, _IO_file_attach_internal)
47112 (_IO_file_fopen_internal, _IO_file_read_internal)
47113 (_IO_file_sync_internal, _IO_file_seek_internal)
47114 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
47115 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
47116 (_IO_str_underflow_internal, _IO_str_overflow_internal)
47117 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
47118 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
47119 (_IO_list_all_internal, _IO_link_in_internal)
47120 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
47121 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
47122 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
47123 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
47124 (_IO_do_write_internal, _IO_padn_internal)
47125 (_IO_getline_info_internal, _IO_getline_internal)
47126 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
47127 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
47128 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
47129 (_IO_vfscanf_internal, _IO_vfprintf_internal)
47130 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
47131 (_IO_init_internal, _IO_un_link_internal): Don't declare.
47132 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
47133 with libc_hidden_ver, remove use of INTUSE.
47134 * libio/genops.c: Likewise.
47135 * libio/freopen.c: Likewise.
47136 * libio/freopen64.c: Likewise.
47137 * libio/iofclose.c: Likewise.
47138 * libio/iofdopen.c: Likewise.
47139 * libio/iofflush.c: Likewise.
47140 * libio/iofflush_u.c: Likewise.
47141 * libio/iofgets.c: Likewise.
47142 * libio/iofgets_u.c: Likewise.
47143 * libio/iofopen.c: Likewise.
47144 * libio/iofopncook.c: Likewise.
47145 * libio/iofread.c: Likewise.
47146 * libio/iofread_u.c: Likewise.
47147 * libio/ioftell.c: Likewise.
47148 * libio/iofwrite.c: Likewise.
47149 * libio/iogetline.c: Likewise.
47150 * libio/iogets.c: Likewise.
47151 * libio/iogetwline.c: Likewise.
47152 * libio/iopadn.c: Likewise.
47153 * libio/iopopen.c: Likewise.
47154 * libio/ioseekoff.c: Likewise.
47155 * libio/ioseekpos.c: Likewise.
47156 * libio/iosetbuffer.c: Likewise.
47157 * libio/iosetvbuf.c: Likewise.
47158 * libio/ioungetc.c: Likewise.
47159 * libio/ioungetwc.c: Likewise.
47160 * libio/iovdprintf.c: Likewise.
47161 * libio/iovsprintf.c: Likewise.
47162 * libio/iovsscanf.c: Likewise.
47163 * libio/memstream.c: Likewise.
47164 * libio/obprintf.c: Likewise.
47165 * libio/oldfileops.c: Likewise.
47166 * libio/oldiofclose.c: Likewise.
47167 * libio/oldiofdopen.c: Likewise.
47168 * libio/oldiofopen.c: Likewise.
47169 * libio/oldiopopen.c: Likewise.
47170 * libio/oldstdfiles.c: Likewise.
47171 * libio/putc.c: Likewise.
47172 * libio/setbuf.c: Likewise.
47173 * libio/setlinebuf.c: Likewise.
47174 * libio/stdfiles.c: Likewise.
47175 * libio/strops.c: Likewise.
47176 * libio/vasprintf.c: Likewise.
47177 * libio/vscanf.c: Likewise.
47178 * libio/vsnprintf.c: Likewise.
47179 * libio/vswprintf.c: Likewise.
47180 * libio/wfiledoalloc.c: Likewise.
47181 * libio/wfileops.c: Likewise.
47182 * libio/wgenops.c: Likewise.
47183 * libio/wmemstream.c: Likewise.
47184 * libio/wstrops.c: Likewise.
47185 * libio/__fpurge.c: Likewise.
47186 * libio/__fsetlocking.c: Likewise.
47187 * assert/assert.c: Likewise.
47188 * debug/fgets_chk.c: Likewise.
47189 * debug/fgets_u_chk.c: Likewise.
47190 * debug/fread_chk.c: Likewise.
47191 * debug/fread_u_chk.c: Likewise.
47192 * debug/gets_chk.c: Likewise.
47193 * debug/obprintf_chk.c: Likewise.
47194 * debug/vasprintf_chk.c: Likewise.
47195 * debug/vdprintf_chk.c: Likewise.
47196 * debug/vsnprintf_chk.c: Likewise.
47197 * debug/vsprintf_chk.c: Likewise.
47198 * malloc/mtrace.c: Likewise.
47199 * misc/error.c: Likewise.
47200 * misc/syslog.c: Likewise.
47201 * stdio-common/asprintf.c: Likewise.
47202 * stdio-common/fxprintf.c: Likewise.
47203 * stdio-common/getw.c: Likewise.
47204 * stdio-common/isoc99_fscanf.c: Likewise.
47205 * stdio-common/isoc99_scanf.c: Likewise.
47206 * stdio-common/isoc99_vfscanf.c: Likewise.
47207 * stdio-common/isoc99_vscanf.c: Likewise.
47208 * stdio-common/isoc99_vsscanf.c: Likewise.
47209 * stdio-common/printf-prs.c: Likewise.
47210 * stdio-common/printf_fp.c: Likewise.
47211 * stdio-common/printf_fphex.c: Likewise.
47212 * stdio-common/printf_size.c: Likewise.
47213 * stdio-common/putw.c: Likewise.
47214 * stdio-common/scanf.c: Likewise.
47215 * stdio-common/sprintf.c: Likewise.
47216 * stdio-common/tmpfile.c: Likewise.
47217 * stdio-common/vfprintf.c: Likewise.
47218 * stdio-common/vfscanf.c: Likewise.
47219 * stdlib/strfmon_l.c: Likewise.
47220 * sunrpc/openchild.c: Likewise.
47221 * sunrpc/xdr_stdio.c: Likewise.
47222 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
47223 * sysdeps/mach/hurd/tmpfile.c: Likewise.
47225 2012-05-24 Roland McGrath <roland@hack.frob.com>
47227 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47229 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
47230 in the third column, to generate for the shared library an IFUNC
47231 that uses _dl_vdso_vsym.
47232 * Makerules (COMPILE.c, compile-stdin.c): New variables.
47233 * Makeconfig (object-suffixes-noshared): New variable.
47235 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
47236 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
47237 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
47238 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
47241 * include/sys/time.h (__gettimeofday): Remove macro.
47242 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
47243 * time/gettimeofday.c (__gettimeofday): Remove #undef.
47245 (__gettimeofday): Add libc_hidden_def.
47246 (gettimeofday): Add libc_hidden_weak.
47247 * sysdeps/mach/gettimeofday.c: Likewise.
47248 * sysdeps/posix/gettimeofday.c: Likewise.
47249 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
47250 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
47251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
47252 (__gettimeofday_internal): Remove strong_alias.
47253 (__gettimeofday): Add libc_hidden_def.
47254 (gettimeofday): Add libc_hidden_weak.
47255 * sysdeps/unix/syscalls.list (gettimeofday):
47256 Remove __gettimeofday_internal alias.
47258 2012-05-24 Daniel Jacobowitz <drow@false.org>
47259 H.J. Lu <hongjiu.lu@intel.com>
47262 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
47263 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
47264 (largebin_index_32_big): New.
47265 (largebin_index): Use it for 16-byte alignment.
47266 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
47267 correction with front_misalign.
47269 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
47271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
47272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
47274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
47276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
47280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
47282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
47284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
47286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
47290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
47292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
47294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
47297 * scripts/data/c++-types-x32-linux-gnu.data: New file.
47298 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
47300 2012-05-24 Joseph Myers <joseph@codesourcery.com>
47304 * math/libm-test.inc (exp_test): Add test from bug 14036.
47305 (pow_test): Add test from bug 10846.
47307 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
47309 (special_function): Do not include flags in test name.
47310 (parse_args): Likewise.
47311 * sysdeps/i386/fpu/libm-test-ulps: Update.
47312 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47313 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
47314 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
47315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47317 * math/gen-libm-test.pl (%beautify): Add entries for underflow
47319 * math/libm-test.inc ("Philosophy"): Update comment about
47321 (UNDERFLOW_EXCEPTION): New macro.
47322 (UNDERFLOW_EXCEPTION_OK): Likewise.
47323 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
47324 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
47325 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
47326 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
47327 (INVALID_EXCEPTION_OK): Update value.
47328 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47329 (OVERFLOW_EXCEPTION_OK): Likewise.
47330 (IGNORE_ZERO_INF_SIGN): Likewise.
47331 (test_exceptions): Handle underflow exceptions.
47332 (acos_test): Update for underflow exception expectations.
47333 (cexp_test): Likewise.
47334 (clog_test): Likewise.
47335 (clog10_test): Likewise.
47336 (csqrt_test): Likewise.
47337 (ctan_test): Likewise.
47338 (ctanh_test): Likewise.
47339 (exp_test): Likewise.
47340 (exp10_test): Likewise.
47341 (exp2_test): Likewise.
47342 (expm1_test): Likewise.
47343 (fma_test): Likewise.
47344 (j0_test): Likewise.
47345 (jn_test): Likewise.
47346 (nexttoward_test): Likewise.
47347 (pow_test): Likewise.
47348 (scalbn_test): Likewise.
47349 (scalbln_test): Likewise.
47350 (tan_test): Likewise.
47351 (y1_test): Likewise.
47352 * sysdeps/i386/fpu/libm-test-ulps: Update.
47353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47355 2012-05-23 David S. Miller <davem@davemloft.net>
47357 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47358 (__libc_sigaction): Remove unused local variables.
47360 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47362 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
47364 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
47366 mktime: avoid signed integer overflow
47367 * time/mktime.c (__mktime_internal): Do not mishandle the case
47368 where diff == INT_MIN.
47370 mktime: simplify computation of average
47371 * time/mktime.c (ranged_convert): Use new time_t_avg function
47372 instead of rolling our own (probably-slower) code.
47374 mktime: do not assume signed right shift propagates sign bit
47375 * time/mktime.c (isdst_differ): New static function.
47376 (__mktime_internal): No need to normalize tm_isdst now.
47377 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
47380 mktime: merge another wrapv change from gnulib
47381 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
47382 from some compilers.
47384 mktime: remove incorrect attempt at unusual arithmetics
47385 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
47386 The code didn't really work on such machines anyway.
47387 (TYPE_MINIMUM): Assume two's complement.
47388 (twos_complement_arithmetic): Verify that long_int and time_t
47389 are two's complement (or unsigned, in the latter case).
47391 mktime: check signed shifts on long_int and time_t, too
47392 * time/mktime.c (SHR): Check that shifts work as desired
47393 on the types long_int and time_t too, as SHR is used on
47396 mktime: do not assume 'long' is wide enough
47397 * time/mktime.c (verify): Move decl up.
47398 (long_int): New type.
47399 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
47400 to remove assumption in the code that 'long' is wide enough to
47401 store year values. This assumption is not true on x32 and on
47402 some non-glibc platforms.
47404 mktime: merge wrapv change from gnulib
47405 * time/mktime.c (WRAPV): New macro.
47406 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
47407 (guess_time_tm, __mktime_internal): Do not assume that signed
47408 integer overflow wraps around; modern compilers generate code
47409 where this assumption is no longer valid.
47411 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47413 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47414 Replace "jmp L(pseudo_end)" with "ret".
47415 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
47418 2012-05-23 Andreas Jaeger <aj@suse.de>
47420 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
47421 * sysdeps/unix/sysv/linux/poll.c: Remove file.
47423 2012-05-23 Andreas Jaeger <aj@suse.de>
47424 Maximilian Attems <max@stro.at>
47426 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
47429 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
47431 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
47432 code so that pseudo_end is just ret and the stack pointer is
47433 correct also for static library in error case.
47435 2012-05-23 Joseph Myers <joseph@codesourcery.com>
47437 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
47438 move to syscalls.list.
47439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
47440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
47441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
47442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
47444 * manual/install.texi (Running make install): Do not mention Linux
47445 kernel version for which pt_chown is not needed.
47446 (Linux): Do not mention problems with nscd with 2.0 kernels.
47447 * INSTALL: Regenerated.
47449 2012-05-23 Andreas Jaeger <aj@suse.de>
47451 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
47452 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
47454 * sysdeps/unix/sysv/linux/s390/bits/mman.h
47455 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47456 * sysdeps/unix/sysv/linux/sh/bits/mman.h
47457 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47458 * sysdeps/unix/sysv/linux/i386/bits/mman.h
47459 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47460 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
47461 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47462 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
47463 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
47464 * sysdeps/unix/sysv/linux/bits/in.h
47465 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
47467 2012-05-22 Roland McGrath <roland@hack.frob.com>
47469 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
47470 (PREPARE_VERSION): Just use assert instead, it will be elided
47471 under [NDEBUG] anyway.
47473 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47475 * sysdeps/unix/sysv/linux/Makefile: Include
47476 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
47477 (sysdep_routines): Remove sysctl.
47478 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
47479 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
47480 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
47481 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
47482 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
47484 2012-05-22 Andreas Jaeger <aj@suse.de>
47486 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
47487 that pseudo_end is just ret and the stack pointer is correct also
47488 for static library in error case.
47490 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
47493 * nss/nsswitch.c (defconfig_entries): New variable.
47494 (__nss_database_lookup): Don't leak defconfig entries.
47495 (nss_parse_service_list): Don't leak on error paths.
47496 (free_database_entries): New function.
47497 (free_defconfig): New function.
47498 (free_mem): Move common code to free_database_entries.
47500 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47502 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
47504 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
47506 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47507 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
47508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
47510 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
47511 (INTERNAL_SYSCALL_TYPES): Likewise.
47512 (LOAD_ARGS_TYPES_[1-6]): Likewise.
47513 (LOAD_REGS_TYPES_[1-6]): Likewise.
47514 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
47515 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
47517 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47519 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
47520 copysignl for GLIBC_2_0.
47521 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
47522 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
47523 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
47524 logbl for GLIBC_2_0.
47525 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
47526 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
47528 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
47531 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
47533 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
47536 * time/mktime.c: Update copyright years.
47538 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
47540 mktime: merge comment-quoting-style change from gnulib
47541 * time/mktime.c: Quote 'like this' in comments.
47542 The GNU coding standards suggest that we no longer quote `like this',
47543 as "`" and "'" are typically rendered asymmetrically nowadays.
47544 The typical gnulib style is to quote 'like this' when quoting
47545 code, and "like this" when quoting English.
47547 * time/mktime.c (compile-command): Add "-I.".
47549 mktime: merge mktime-internal.h change from gnulib
47550 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47552 mktime: merge time_r change from gnulib
47553 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47555 mktime: merge DEBUG change from gnulib
47556 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47557 case system <time.h> has a #define.
47559 mktime: merge <sys/types.h> change from gnulib
47560 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47561 since <time.t> is now guaranteed to define time_t.
47563 mktime: merge HAVE_CONFIG_H change from gnulib
47564 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47566 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
47568 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47571 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47573 (struct rusage): Use anonymous union to pad each field to
47576 2012-05-21 David S. Miller <davem@davemloft.net>
47578 * Makefules (o-iterator): Remove .s cases.
47579 (compile-command.s): Delete.
47580 (COMPILE.s): Delete.
47581 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47583 2012-05-21 Joseph Myers <joseph@codesourcery.com>
47585 * configure.in (libc_cv_predef_stack_protector): Only consider
47586 "foobar" and "__stack_chk_fail" lines in libc_undefs.
47587 * configure: Regenerated.
47589 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47592 New macro. Use R*LP on int and pointer.
47593 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47594 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47595 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47596 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47598 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47599 [__WORDSIZE_TIME64_COMPAT32] instead of
47600 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47601 (struct utmp): Likewise.
47602 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47603 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47605 (__WORDSIZE_TIME64_COMPAT32): This.
47606 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47607 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47608 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47609 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47610 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47611 (__WORDSIZE_TIME64_COMPAT32): New macro.
47613 2012-05-21 Andreas Jaeger <aj@suse.de>
47615 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47616 only if [SHARED]. Add prototype for __wcschr_ia32.
47618 2012-05-21 Roland McGrath <roland@hack.frob.com>
47620 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47621 of %rbp unmolested in the jmp_buf while mangling the low bits.
47622 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47623 unmolested high bits of %rbp while demangling the low bits.
47624 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47626 2012-05-21 Andreas Jaeger <aj@suse.de>
47628 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47629 * sunrpc/svc_simple.c: Use it for registerrpc.
47630 * sunrpc/xcrypt.c: Use it for passwd2des.
47632 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47634 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47636 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47637 Don't define if [__SYSCALL_WORDSIZE != 32].
47638 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47641 2012-05-21 Bruno Haible <bruno@clisp.org>
47642 Andreas Jaeger <aj@suse.de>
47644 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47645 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47646 inptr and inend for must_buffer_ch.
47647 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47648 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47649 * stdio-common/Makefile (tests): Remove bug15.
47650 (bug15-ENV): Remove macro.
47651 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47654 2012-05-19 Andreas Jaeger <aj@suse.de>
47655 Roland McGrath <roland@hack.frob.com>
47657 * manual/contrib.texi: Completely rewritten. It contains now an
47658 alphabetical list of contributors and their contributions.
47660 2012-05-21 Richard Henderson <rth@twiddle.net>
47662 * misc/getauxval.c (__getauxval): Use unsigned long int.
47663 * misc/sys/auxv.h: Include <sys/cdefs.h>.
47664 (getauxval): Use unsigned long int.
47666 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
47668 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47670 2012-05-21 Roland McGrath <roland@hack.frob.com>
47672 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47673 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47674 __alignof__ (long double).
47676 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47680 2012-05-20 Richard Henderson <rth@twiddle.net>
47682 * misc/getauxval.c: New file.
47683 * misc/sys/auxv.h: New file.
47684 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47685 (routines): Add getauxval.
47686 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47687 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47688 * elf/dl-sysdep.c (_dl_auxv): Remove.
47689 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47690 * elf/dl-support.c (_dl_auxv): New variable.
47691 (_dl_aux_init): Initialize it.
47692 * manual/startup.texi (Auxiliary Vector): New node.
47693 * sysdeps/generic/bits/hwcap.h: New file.
47694 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47695 * sysdeps/powerpc/sysdep.h: ... here. Include it.
47696 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47697 * sysdeps/sparc/sysdep.h: ... here. Include it.
47698 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47699 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47705 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47711 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47715 2012-05-19 David S. Miller <davem@davemloft.net>
47717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47719 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47722 * math/s_ccosh.c: Include <float.h>
47723 (__ccosh): Avoid internal overflow calculating sinh and cosh
47724 values before multiplying by sin and cos values.
47725 * math/s_ccoshf.c: Likewise.
47726 * math/s_ccoshl.c: Likewise.
47727 * math/s_csin.c: Likewise.
47728 * math/s_csinf.c: Likewise.
47729 * math/s_csinl.c: Likewise.
47730 * math/s_csinh.c: Likewise.
47731 * math/s_csinhf.c: Likewise.
47732 * math/s_csinhl.c: Likewise.
47733 * math/libm-test.inc (ccos_test): Add more tests.
47734 (ccosh_test): Likewise.
47735 (csin_test): Likewise.
47736 (csinh_test): Likewise.
47737 * sysdeps/i386/fpu/libm-test-ulps: Update.
47738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47740 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
47742 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47743 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47745 * sysdeps/x86_64/x32/_itoa.h: Add comment.
47747 2012-05-19 Joseph Myers <joseph@codesourcery.com>
47749 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47750 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47751 * sysdeps/powerpc/soft-fp/Versions: Likewise.
47752 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47753 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47754 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47755 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47756 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47757 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47758 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47759 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47760 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47761 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47762 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47763 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47764 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47765 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47766 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47767 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47768 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47769 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47770 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47771 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47772 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47773 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47774 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47775 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47776 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47777 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47778 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47779 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47781 2012-05-18 Andreas Jaeger <aj@suse.de>
47783 * csu/.gitignore: Delete.
47785 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47787 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47788 (timex): Use __syscall_slong_t.
47790 2012-05-18 Andreas Jaeger <aj@suse.de>
47791 Carlos O'Donell <carlos_odonell@mentor.com>
47793 * manual/install.texi (Configuring and compiling): Update
47794 description about files modified in the source directory.
47795 * INSTALL: Regenerated.
47797 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47799 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47800 value. Use "or" to set return value to -1.
47801 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47802 negate return value.
47804 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47806 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47807 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47808 failure if the compiler has Graphite support disabled.
47809 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47811 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47812 (CFLAGS-memmove.c): Likewise.
47813 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47816 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
47818 * sysdeps/x86_64/x32/_itoa.h: New file.
47820 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47821 getdents system call only if kernel and user dirents have the
47822 same d_ino and d_off.
47824 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47825 LLONG_MAX != LONG_MAX.
47826 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47827 (_fitoa_word): Likewise.
47829 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47831 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47832 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47833 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47835 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47836 include <bits/wordsize.h>. Check __x86_64__ instead of
47838 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47839 if __x86_64__ is defined. Use anonymous union on fpstate.
47841 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47844 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
47846 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47847 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47848 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47849 Refer to _rtld_local_ro instead of _rtld_global_ro.
47850 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47852 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47854 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47856 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47857 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47858 of _rtld_global, and rtld_progname instead of _dl_argv[0].
47860 * sysdeps/powerpc/powerpc32/dl-machine.c
47861 (__elf_machine_runtime_setup) [PROF]: Don't reference
47864 2012-05-18 Andreas Jaeger <aj@suse.de>
47866 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47867 function only available for GCCs before 3.4 since GCC 3.4
47868 introduced a builtin.
47870 (llrintf): Likewise.
47871 (llrint): Likewise.
47878 (nearbyint): Likewise.
47879 (nearbyintf): Likewise.
47883 (floorf): Likewise.
47885 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47887 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47888 on both fields and cast pointer to __syscall_ulong_t.
47890 * bits/types.h (__fsword_t): New type.
47891 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47892 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47893 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47894 (__FSWORD_T_TYPE): Likewise.
47895 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47896 (__FSWORD_T_TYPE): Likewise.
47897 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47898 (__FSWORD_T_TYPE): Likewise.
47899 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47900 (__FSWORD_T_TYPE): Likewise.
47901 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47902 __SWORD_TYPE with __fsword_t.
47903 (statfs64): Likewise.
47905 2012-05-17 David S. Miller <davem@davemloft.net>
47907 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47909 2012-05-17 Andreas Jaeger <aj@suse.de>
47911 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47914 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47916 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47918 2012-05-17 Andreas Jaeger <aj@suse.de>
47920 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47923 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47925 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47927 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
47929 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47930 * sysdeps/x86_64/tst-mallocalign1.c: New file.
47932 2012-05-17 Andreas Jaeger <aj@suse.de>
47933 Carlos O'Donell <carlos_odonell@mentor.com>
47936 * sysdeps/x86_64/multiarch/init-arch.h
47937 (bit_YMM_Usable): Rename to...
47938 (bit_AVX_Usable): ... this.
47939 (bit_FMA4_Usable): New macro.
47940 (bit_XMM_state): New macro.
47941 (bit_YMM_state): New macro.
47942 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47943 [__ASSEMBLER__] (index_AVX_Usable): ... this.
47944 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47945 (CPUID_OSXSAVE): New macro.
47946 (CPUID_AVX): New macro.
47947 (CPUID_FMA4): New macro.
47948 (index_YMM_Usable): Rename to...
47949 (index_AVX_Usable): ... this.
47950 (HAS_AVX): Use HAS_ARCH_FEATURE.
47951 (HAS_FMA4): Likewise.
47952 (HAS_YMM_USABLE): Remove.
47953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47954 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47956 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47957 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47958 * sysdeps/x86_64/multiarch/Makefile: Likewise.
47959 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47960 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47962 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
47964 * math/libm-test.c: Support platforms without multiple rounding modes.
47965 * math/bug-nextafter.c: Support platforms without FP exceptions.
47966 * math/bug-nexttoward.c: Likewise.
47967 * math/test-fenv.c: Likewise.
47968 * math/test-misc.c: Likewise.
47969 * stdlib/bug-getcontext.c: Likewise.
47971 2012-05-17 Andreas Jaeger <aj@suse.de>
47973 * manual/examples/search.c (critter_cmp): Change signature to
47975 * manual/string.texi (Collation Functions): Likewise.
47977 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
47979 * bits/types.h: Fold copyright years.
47980 * bits/typesizes.h: Likewise.
47981 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47982 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47983 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47984 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47985 * time/time.h: Likewise.
47987 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
47990 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47991 in instead of returning them. Return void.
47992 (__libc_mallinfo): Accumulate over all arenas.
47993 (__malloc_stats): Adjust for change in int_mallinfo interface.
47995 2012-05-16 Roland McGrath <roland@hack.frob.com>
47998 * configure.in (NM): Add AC_CHECK_TOOL for it.
47999 (libc_extra_cflags): New substituted variable.
48000 Check for -fstack-protector being used implicitly.
48001 * configure: Regenerated.
48002 * config.make.in (config-extra-cflags): New variable,
48003 gets @libc_extra_cflags@.
48004 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
48007 * configure.in: Check for _FORTIFY_SOURCE being predefined.
48008 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
48009 * configure: Regenerated.
48010 * config.make.in (CPPUNDEFS): New substituted variable.
48011 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
48012 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
48013 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
48015 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48017 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
48018 (mq_attr): Use __syscall_slong_t.
48020 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48022 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
48023 Check __x86_64__ instead of __WORDSIZE.
48024 (_STAT_VER_LINUX): Likewise.
48025 (stat): Check __x86_64__ instead of __WORDSIZE. Use
48026 __syscall_ulong_t and __syscall_slong_t.
48027 (stat64): Likewise.
48029 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48031 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
48033 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48035 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
48037 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48039 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
48042 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
48043 include <bits/wordsize.h>. Check __x86_64__ instead of
48045 (greg_t): Use "__extension__ long long int" if __x86_64__ is
48047 (mcontext_t): Replace "unsigned long" with "unsigned long long".
48049 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
48050 include <bits/wordsize.h>. Check __x86_64__ instead of
48052 (user_regs_struct): Use "__extension__ unsigned long long"
48053 instead of "unsigned long" if __x86_64__ is defined.
48054 (user): Likewise. Pad after pointer field if __ILP32__ is
48057 2012-05-16 Joseph Myers <joseph@codesourcery.com>
48059 * configure.in (makeinfo): Require version 4.5 or later. Allow
48061 * configure: Regenerated.
48062 * manual/install.texi (texinfo): Increase version requirement to
48064 * INSTALL: Regenerated.
48066 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
48068 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
48070 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
48072 * sysdeps/x86_64/x32/ffs.c: New file.
48074 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
48076 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
48077 defined. Use __syscall_ulong_t.
48078 (shminfo): Use __syscall_ulong_t.
48079 (shm_info): Likewise.
48081 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
48084 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
48086 (msgqnum_t): Use __syscall_ulong_t.
48087 (msglen_t): Likewise.
48088 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
48091 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
48092 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48094 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
48096 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
48097 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
48099 * sysvipc/sys/msg.h (msgbuf): Replace long int with
48102 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
48103 include <bits/wordsize.h>. Check __x86_64__ instead of
48106 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
48107 "unsigned long long int" if __x86_64__ is defined.
48108 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
48110 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
48111 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
48112 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
48114 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
48116 (GET_PC): Cast to uintptr_t first.
48117 (GET_FRAME): Likewise.
48118 (GET_STACK): Likewise.
48120 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
48121 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
48122 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
48123 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
48124 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
48125 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
48126 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
48127 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
48128 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
48129 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
48130 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
48131 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
48132 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
48133 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
48134 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
48135 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
48136 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
48137 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
48138 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
48139 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
48140 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
48141 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
48142 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
48143 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
48144 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
48145 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
48146 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
48147 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
48148 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
48150 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
48152 * Makerules (+depfiles): Also collect depfiles from .oS in
48154 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
48155 .oS, $(libnldbl-routines)).
48157 * Makerules (native-compile-mkdep-flags): Define.
48158 * sunrpc/Makefile (extra-objs): Add $(addprefix
48159 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
48160 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
48161 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
48162 calling $(make-target-directory).
48164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48166 * bits/types.h (__snseconds_t): Removed.
48167 * time/time.h (struct timespec): Replace __snseconds_t with
48169 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
48170 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
48172 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48173 (__SNSECONDS_T_TYPE): Likewise.
48174 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48175 (__SNSECONDS_T_TYPE): Likewise.
48176 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48177 (__SNSECONDS_T_TYPE): Likewise.
48179 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48181 * sysdeps/mach/hurd/bits/typesizes.h
48182 (__SYSCALL_SLONG_TYPE): New macro.
48183 (__SYSCALL_ULONG_TYPE): Likewise.
48185 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48187 * bits/types.h (__syscall_slong_t): New type.
48188 (__syscall_ulong_t): Likewise.
48190 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
48191 (__SYSCALL_ULONG_TYPE): Likewise.
48192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48193 (__SYSCALL_SLONG_TYPE): Likewise.
48194 (__SYSCALL_ULONG_TYPE): Likewise.
48195 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48196 (__SYSCALL_SLONG_TYPE): Likewise.
48197 (__SYSCALL_ULONG_TYPE): Likewise.
48198 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48199 (__SYSCALL_SLONG_TYPE): Likewise.
48200 (__SYSCALL_ULONG_TYPE): Likewise.
48202 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48204 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
48205 Add sigaltstack-offsets.sym.
48206 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
48207 <sigaltstack-offsets.h>.
48208 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
48209 longjmp_msg pointer.
48210 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
48211 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
48213 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
48215 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48217 * elf/stackguard-macros.h: Remove file.
48218 * sysdeps/generic/stackguard-macros.h: New file.
48219 * sysdeps/i386/stackguard-macros.h: Likewise.
48220 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48221 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48222 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48223 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48224 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48225 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48226 * sysdeps/x86_64/stackguard-macros.h: Likewise.
48227 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
48228 <elf/stackguard-macros.h>.
48231 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
48232 __aligned__ in attribute.
48233 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
48234 (gregset_t): Likewise.
48236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48238 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
48239 * sysdeps/x86_64/64/Implies-after: Here. New file.
48240 * sysdeps/x86_64/x32/Implies-after: New file.
48242 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48244 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
48245 and access return value for _dl_profile_fixup. Use R10_LP to
48248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48250 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
48252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48254 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
48255 * sysdeps/x86_64/x32/sysdep.h: New file.
48257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48259 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
48260 * sysdeps/x86_64/setjmp.S: Likewise.
48262 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48264 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
48265 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
48266 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
48267 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
48268 remove unused global constant.
48270 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
48272 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
48273 include of <not-cancel.h>.
48275 2012-05-15 Roland McGrath <roland@hack.frob.com>
48277 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
48279 2012-05-15 Jeff Law <law@redhat.com>
48280 Andreas Jaeger <aj@suse.de>
48283 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
48285 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
48286 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
48287 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
48288 code changing __hst_map_handle.map.
48290 2012-05-15 Roland McGrath <roland@hack.frob.com>
48292 * configure.in (sysnames): Look for Implies-before and Implies-after
48294 * configure: Regenerated.
48296 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48298 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
48299 8-byte data alignment with LP_SIZE alignment.
48301 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48303 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
48306 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48308 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
48310 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48312 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
48313 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
48314 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
48316 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48318 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48320 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
48321 (stackinfo_sub_sp): Likewise.
48323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48325 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
48328 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48330 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
48333 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48335 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
48338 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48340 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
48342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48344 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
48345 into R11_LP and load __x86_64_shared_cache_size_half into
48348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
48350 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
48353 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
48357 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
48359 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
48361 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
48362 powerpc32/power7/fpu/s_logb.c via #include.
48363 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
48364 powerpc32/power7/fpu/s_logbf.c via #include.
48365 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
48366 powerpc32/power7/fpu/s_logbl.c via #include.
48368 2012-05-15 Joseph Myers <joseph@codesourcery.com>
48370 * README.libm: Remove file.
48372 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48374 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
48375 count for x32. Use R*_LP and omit operand-size suffix.
48377 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48379 * shlib-versions: Move x86_64-.*-linux.* entries to ...
48380 * sysdeps/x86_64/64/shlib-versions: Here. New file.
48381 * sysdeps/x86_64/x32/shlib-versions: New file.
48383 2012-05-14 Roland McGrath <roland@hack.frob.com>
48385 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
48386 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
48387 Use _dl_fatal_printf instead.
48389 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48391 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
48392 set if not set by the user. Do not allow for being unset.
48393 * sysdeps/unix/sysv/linux/configure: Regenerated.
48395 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48397 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
48398 the `q' suffix from lea and replace .quad with ASM_ADDR.
48400 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48402 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
48403 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
48405 (PTR_DEMANGLE): Likewise.
48407 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48409 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
48411 (ASM_ADDR): Likewise.
48412 (RAX_LP): Likewise.
48413 (RBP_LP): Likewise.
48414 (RBX_LP): Likewise.
48415 (RCX_LP): Likewise.
48416 (RDI_LP): Likewise.
48417 (RSI_LP): Likewise.
48418 (RSP_LP): Likewise.
48421 (R10_LP): Likewise.
48422 (R10_LP): Likewise.
48423 (R11_LP): Likewise.
48424 (R12_LP): Likewise.
48425 (R13_LP): Likewise.
48426 (R14_LP): Likewise.
48427 (R15_LP): Likewise.
48429 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48431 * sysdeps/x86_64/x32/dl-machine.h: New file.
48433 2012-05-14 Andreas Jaeger <aj@suse.de>
48435 * manual/Makefile (subdir): Remove export of subdir.
48436 (all): Remove target.
48437 (.PHONY): Remove all from list.
48438 (mkinstalldirs): Remove.
48439 (.PHONY): Remove installdirs from list.
48440 ($(inst_infodir)/libc.info): Use make-target-directory.
48441 (installdirs): Remove.
48442 (subdir_%): Remove.
48443 (glibc-targets): Remove.
48446 ($(objpfx)stubs ../po/manual.pot): Remove.
48447 ($(objpfx)stamp%): Remove.
48448 (make-target-directory): Remove.
48449 (subdir_install): Remove.
48450 (routines): Remove.
48457 * manual/.gitignore: Remove, it's not needed anymore.
48458 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
48460 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
48462 (texis): Renamed to $(objpfx)texis.
48463 (texis-path): New, contains path to generated files.
48464 (chapters.%): Use texis-path for complete path, add extra argument
48466 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
48467 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
48468 (summary,texi, stamp-summary): Use complete path of
48469 files. Generate files in build dir.
48470 (dir-add.texi): Build in build dir.
48471 (libm-err.texi,stamp-libm-err): Likewise.
48472 (version.texi, stamp-version): Likewise.
48473 (.%c.texi): Likewise.
48474 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
48475 (mostlyclean): Remove target.
48476 (realclean): Remove target.
48477 (generated): Add new variable with contents from mostlyclean and
48478 realclean, remove entries duplicated in common-mostlyclean, add
48479 stamp-libm-err and stamp-version.
48480 (generated-dirs): Add libc directory.
48481 ($(inst_infodir)/libc.info): Install files from build dir.
48483 * manual/install.texi (Configuring and compiling): Adjust since
48484 the info files are not part of the tar ball anymore.
48486 2012-05-14 Andreas Jaeger <aj@suse.de>
48488 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
48491 2012-05-14 Joseph Myers <joseph@codesourcery.com>
48494 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48495 to 2.2.0 where earlier.
48496 * sysdeps/unix/sysv/linux/configure: Regenerated.
48497 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
48498 Remove conditional code.
48499 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
48500 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
48501 Remove conditional code.
48502 [!__NR_lchown]: Likewise.
48503 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48504 [__NR_lchown]: Likewise.
48505 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
48506 comment referencing __ASSUME_LCHOWN_SYSCALL.
48507 * sysdeps/unix/sysv/linux/i386/sigaction.c
48508 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48509 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48510 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
48511 Remove conditional code.
48512 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
48513 (__protocol_available): Remove #if 0 code.
48514 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
48516 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
48517 * sysdeps/unix/sysv/linux/kernel-features.h
48518 (__ASSUME_GETCWD_SYSCALL): Don't define.
48519 (__ASSUME_REALTIME_SIGNALS): Likewise.
48520 (__ASSUME_PREAD_SYSCALL): Likewise.
48521 (__ASSUME_PWRITE_SYSCALL): Likewise.
48522 (__ASSUME_POLL_SYSCALL): Likewise.
48523 (__ASSUME_LCHOWN_SYSCALL): Likewise.
48524 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
48526 (__ASSUME_SIOCGIFNAME): Don't define.
48527 (__ASSUME_MSG_NOSIGNAL): Likewise.
48528 (__ASSUME_SENDFILE): Define unconditionally.
48529 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
48530 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
48532 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
48533 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
48534 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48535 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48536 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
48537 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
48538 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
48539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
48540 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48541 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
48543 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48544 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48546 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48547 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48549 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48550 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48552 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48553 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48555 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48556 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48558 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48559 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48561 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48562 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48563 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48564 Remove conditional code.
48565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48566 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48567 Remove conditional code.
48568 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48569 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48570 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48571 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48572 Remove conditional code.
48573 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48574 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48575 Remove conditional code.
48576 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48577 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48578 Remove conditional code.
48579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48580 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48581 Remove conditional code.
48582 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48583 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48584 Remove conditional code.
48585 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48586 * sysdeps/unix/sysv/linux/sh/pwrite64.c
48587 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48588 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48589 * sysdeps/unix/sysv/linux/sigaction.c
48590 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48591 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48592 * sysdeps/unix/sysv/linux/sigpending.c
48593 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48594 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48595 * sysdeps/unix/sysv/linux/sigprocmask.c
48596 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48597 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48598 * sysdeps/unix/sysv/linux/sigsuspend.c
48599 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48600 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48601 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48602 (__libc_missing_rt_sigs): Remove.
48603 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48604 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48605 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48606 Remove conditional code.
48607 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48608 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48610 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48611 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48612 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48613 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48615 2012-05-14 Andreas Jaeger <aj@suse.de>
48617 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48618 it's not used in glibc.
48619 (__coshm1): Likewise.
48620 (__acosh1p): Likewise.
48623 * manual/string.texi (Copying and Concatenation): Add missing
48624 variable in concat example.
48625 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48627 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48630 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48631 __builtin_clzl with __builtin_clzll.
48633 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
48636 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48639 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48641 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48642 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48643 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48644 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48646 2012-05-14 Mike Frysinger <vapier@gentoo.org>
48648 * NEWS: Update ia64 info.
48650 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
48652 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48655 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
48657 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48658 * sysdeps/unix/syscalls.list (dup3): Likewise.
48659 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48660 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48662 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48664 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48665 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48667 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
48669 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48671 (TLS_IE): Use mov/add instead of movq/addq to load thread
48673 (TLS_GD_PREFIX): New.
48676 2012-05-11 David S. Miller <davem@davemloft.net>
48678 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48679 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48680 (_FPU_SETCW): Likewise.
48682 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48684 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48685 is 32-byte aligned.
48687 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
48690 * iconvdata/gb18030.c: Update tables.
48691 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
48692 characters specially.
48693 (BODY for TO_LOOP): Add encoding of missing ranges.
48695 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
48698 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48699 * sysdeps/mach/hurd/dup3.c: Likewise.
48700 * sysdeps/mach/hurd/readlinkat.c: Likewise.
48701 * sysdeps/powerpc/memmove.c:: Likewise.
48703 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48705 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48706 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48708 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
48710 * elf/elf.h (R_X86_64_RELATIVE64): New.
48711 (R_X86_64_NUM): Updated.
48712 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48713 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
48714 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48715 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48716 tst-quad1pie tst-quad2pie
48717 (modules-names): Add tst-quadmod1 tst-quadmod2.
48718 ($(objpfx)tst-quad1): New dependency.
48719 ($(objpfx)tst-quad2): Likewise.
48720 ($(objpfx)tst-quad1pie): Likewise.
48721 ($(objpfx)tst-quad2pie): Likewise.
48722 * sysdeps/x86_64/tst-quad1.c: New file.
48723 * sysdeps/x86_64/tst-quad1pie.c: New file.
48724 * sysdeps/x86_64/tst-quad2.c: Likewise.
48725 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48726 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48727 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48728 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48729 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48731 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48733 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48734 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48735 * streams/stropts.h (t_scalar_t): Define type.
48737 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48738 (_PATH_PRESERVE): Set to "/var/lib".
48739 (_PATH_RWHODIR): Set to "/var/spool/rwho".
48741 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48744 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48745 if __dir_mkfile succeeded.
48747 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48748 checking for _hurd_dtablesize. Unlock it right after having
48749 finished _hurd_dtable allocation.
48751 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48753 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48754 * sysdeps/mach/hurd/configure: Regenerated.
48755 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48756 special-casing to...
48757 * sysdeps/gnu/configure.in: ... this new file.
48758 * sysdeps/unix/sysv/linux/configure: Regenerated.
48759 * sysdeps/gnu/configure: New generated file.
48761 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48762 for Linux: use nsec instead of usec, as well as:
48763 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48764 members of type struct timespec.
48765 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48767 (struct stat64): Likewise.
48768 (_STATBUF_ST_NSEC): New macro.
48769 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48771 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48772 __strtoul_internal rather than strtoul.
48774 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48776 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48779 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48781 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48782 which preserves existing values.
48783 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48785 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48787 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48788 TIMEOUT values. Return EINVAL for NFDS values either negative or
48789 greater than FD_SETSIZE.
48791 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48793 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48794 allocated, call __vm_protect to finish enabling the existing space, and
48795 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48796 allocate the remainder.
48798 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48800 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48801 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
48803 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48805 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48806 sysdeps/mach/hurd/readlink.c.
48808 * posix/tst-sysconf.c (posix_options): Only use
48809 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48810 _POSIX_SYNCHRONIZED_IO when they are defined
48811 * sysdeps/mach/hurd/bits/posix_opt.h:
48812 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48813 (_XOPEN_REALTIME): Undefine macro.
48814 (_XOPEN_REALTIME_THREADS): Undefine macro.
48815 (_XOPEN_SHM): Undefine macro.
48816 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48818 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48820 (_POSIX_ASYNC_IO): Undefine macro.
48821 (_POSIX_PRIORITIZED_IO): Undefine macro.
48822 (_POSIX_SPIN_LOCKS): Define macro to -1.
48824 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48825 SA_NODEFER, SA_RESETHAND.
48826 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48827 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48830 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48832 * elf/Makefile (pldd-modules): Define unconditionally.
48834 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48836 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48838 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48840 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48841 Return ENOENT when name is empty.
48842 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48844 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48846 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48848 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48850 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48852 Fix mlock in all cases except non-readable pages.
48853 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48854 instead of VM_PROT_ALL as parameter to __vm_wire function.
48856 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48857 (__mkdir): When path is `/', just fail with EEXIST.
48858 * sysdeps/mach/hurd/mkdirat.c: Likewise.
48860 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48862 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48863 <sys/uio.h> (for writev).
48864 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48865 and <sys/param.h> (for MIN).
48867 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
48869 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48870 REQUESTED_TIME. Properly set the remaining time and return EINTR
48873 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48875 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48876 Depend on against $(link-rpcuserlibs).
48878 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48880 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48881 (__libc_stack_end): Do not use attribute_relro.
48882 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48883 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48884 to libthread-provided value.
48885 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48888 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48891 * bits/libc-lock.h (__libc_once_get): New macro.
48892 * sysdeps/mach/bits/libc-lock.h: Likewise.
48893 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48894 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48895 instead of using implementation details.
48897 * libio/fileops.c: Unconditionally include <kernel-features.h>.
48898 * libio/freopen.c: Likewise.
48899 * libio/freopen64.c: Likewise.
48900 * misc/syslog.c: Likewise.
48901 * nscd/connections.c: Likewise.
48902 * nscd/netgroupcache.c: Likewise.
48903 * sysdeps/posix/getcwd.c: Likewise.
48905 2012-05-10 Roland McGrath <roland@hack.frob.com>
48907 * math/w_ilogbf.c: Add #include <limits.h>.
48909 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48911 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48912 path instead of returning without unlocking.
48914 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48915 immediate-write ioctls.
48916 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48918 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48920 * sysdeps/mach/hurd/i386/init-first.c (init): Use
48921 __builtin_frame_address instead of making assumptions about the
48922 location of the return address relative to DATA. Force early load of
48923 the return address.
48924 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48925 __builtin_frame_address.
48928 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48929 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
48930 implement dup3 and do some further code clean-ups.
48931 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48932 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48934 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48936 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48938 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48939 HURD_CRITICAL_END around holding _hurd_dtable_lock.
48940 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48941 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48942 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48945 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48946 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
48947 when handler == SIG_ERR, not when handler != SIG_ERR.
48949 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48951 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48952 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48955 accept4 for GNU Hurd.
48956 * include/sys/socket.h (__libc_accept4): New prototype.
48957 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
48958 to implement __libc_accept4.
48959 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48961 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48963 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48964 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48965 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48966 signal-defines.sym.
48968 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48970 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48972 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
48974 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48975 assertion on O_CLOEXEC flag.
48976 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48977 * hurd/intern-fd.c: Likewise.
48978 * hurd/port2fd.c: Likewise.
48980 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
48983 * bits/in.h (IPV6_PKTINFO): Define new macro.
48984 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48986 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48991 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48992 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48993 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48994 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48995 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48996 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48997 * math/libm-test.inc (logb_test) : Additional logb tests.
48999 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
49000 Andreas Jaeger <aj@suse.de>
49002 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
49003 * configure: Regenerated.
49004 * config.h.in (LINK_OBSOLETE_RPC): New macro.
49005 * config.make.in (link-obsolete-rpc): New substituted variable.
49006 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
49007 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
49008 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49009 (shared-only-routines): Don't set it under [link-obsolete-rpc],
49010 so that libc.a contains the symbols.
49011 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
49012 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
49013 * sunrpc/auth_none.c: Likewise.
49014 * sunrpc/auth_unix.c: Likewise.
49015 * sunrpc/authdes_prot.c: Likewise.
49016 * sunrpc/authuxprot.c: Likewise.
49017 * sunrpc/clnt_gen.c: Likewise.
49018 * sunrpc/clnt_perr.c: Likewise.
49019 * sunrpc/clnt_raw.c: Likewise.
49020 * sunrpc/clnt_simp.c: Likewise.
49021 * sunrpc/clnt_tcp.c: Likewise.
49022 * sunrpc/clnt_udp.c: Likewise.
49023 * sunrpc/clnt_unix.c: Likewise.
49024 * sunrpc/des_crypt.c: Likewise.
49025 * sunrpc/des_soft.c: Likewise.
49026 * sunrpc/get_myaddr.c: Likewise.
49027 * sunrpc/key_call.c: Likewise.
49028 * sunrpc/key_prot.c: Likewise.
49029 * sunrpc/netname.c: Likewise.
49030 * sunrpc/pm_getmaps.c: Likewise.
49031 * sunrpc/pm_getport.c: Likewise.
49032 * sunrpc/pmap_clnt.c: Likewise.
49033 * sunrpc/pmap_prot.c: Likewise.
49034 * sunrpc/pmap_prot2.c: Likewise.
49035 * sunrpc/pmap_rmt.c: Likewise.
49036 * sunrpc/publickey.c: Likewise.
49037 * sunrpc/rpc_cmsg.c: Likewise.
49038 * sunrpc/rpc_common.c: Likewise.
49039 * sunrpc/rpc_dtable.c: Likewise.
49040 * sunrpc/rpc_prot.c: Likewise.
49041 * sunrpc/rpc_thread.c: Likewise.
49042 * sunrpc/rtime.c: Likewise.
49043 * sunrpc/svc.c: Likewise.
49044 * sunrpc/svc_auth.c: Likewise.
49045 * sunrpc/svc_raw.c: Likewise.
49046 * sunrpc/svc_run.c: Likewise.
49047 * sunrpc/svc_tcp.c: Likewise.
49048 * sunrpc/svc_udp.c: Likewise.
49049 * sunrpc/svc_unix.c: Likewise.
49050 * sunrpc/svcauth_des.c: Likewise.
49051 * sunrpc/xcrypt.c: Likewise.
49052 * sunrpc/xdr.c: Likewise.
49053 * sunrpc/xdr_array.c: Likewise.
49054 * sunrpc/xdr_float.c: Likewise.
49055 * sunrpc/xdr_intXX_t.c: Likewise.
49056 * sunrpc/xdr_mem.c: Likewise.
49057 * sunrpc/xdr_rec.c: Likewise.
49058 * sunrpc/xdr_ref.c: Likewise.
49059 * sunrpc/xdr_sizeof.c: Likewise.
49060 * sunrpc/xdr_stdio.c: Likewise.
49062 2012-05-10 Roland McGrath <roland@hack.frob.com>
49064 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
49065 change. Update copyright years.
49067 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49069 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
49071 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
49072 Joseph Myers <joseph@codesourcery.com>
49073 Paul Pluzhnikov <ppluzhnikov@google.com>
49076 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
49078 [cross-compiling] (extra-libs): Likewise.
49079 [cross-compiling] (extra-libs-others): Likewise.
49080 [cross-compiling] (librpcsvc-routines): Likewise.
49081 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
49082 [cross-compiling] (omit-deps): Likewise.
49083 (sunrpc-CPPFLAGS): New variable.
49084 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
49085 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
49086 (cross-rpcgen-objs): New variable.
49087 (extra-objs): Append $(cross-rpcgen-objs).
49088 ($(cross-rpcgen-objs)): New rule.
49089 ($(objpfx)cross-rpcgen): Likewise.
49090 (rpcgen-cmd): Define to use $(built-program-file). Expand
49092 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
49093 ($(objpfx)x%.stmp): Likewise.
49094 * sunrpc/proto.h [IS_IN_build] (_): Define.
49095 [IS_IN_build] (_libc_intl_domainname): Likewise.
49097 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
49099 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
49100 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
49101 and R_X86_64_TPOFF64.
49103 2012-05-10 Joseph Myers <joseph@codesourcery.com>
49105 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
49106 sysdeps/unix/sysv/syscalls.list.
49109 * sysdeps/unix/sysv/syscalls.list: Remove file.
49111 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
49114 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
49115 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
49116 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
49117 (__LC_IDENTIFICATION): Make these macros useful in #if
49118 expressions, as required by C99.
49120 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
49122 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
49123 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
49126 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
49128 * stdlib/longlong.h: Updated from GCC.
49130 2012-05-09 Andreas Jaeger <aj@suse.de>
49132 * nscd/nscd.c (run_modes): Make named enum, reorder so that
49133 default is first entry.
49134 (run_mode): Set type.
49135 (main): Remove informal message about syslog.
49136 (options): Fix typo.
49139 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
49142 (llrintf): Likewise.
49143 (llrint): Likewise.
49146 (nearbyint): Likewise.
49147 (nearbyintf): Likewise.
49149 2012-05-09 Andreas Jaeger <aj@suse.de>
49150 Pedro Alves <palves@redhat.com>
49152 * nscd/nscd.c (run_mode): Use enum.
49153 (main): Cleanup coding style issue.
49155 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
49156 Andreas Jaeger <aj@suse.de>
49158 * nscd/nscd.c (go_background): Replaced with...
49159 (run_mode): ... this.
49160 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
49161 (options): Add -F --foreground.
49162 (main): Implement it.
49163 (parse_opt): Parse it.
49165 2012-05-09 Andreas Jaeger <aj@suse.de>
49168 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
49169 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
49170 -Wconversion warning.
49171 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
49174 2012-05-09 Joseph Myers <joseph@codesourcery.com>
49176 * conform/data/locale.h-data (NULL): Use macro-constant. Require
49178 (LC_ALL): Use macro-int-constant.
49179 (LC_COLLATE): Likewise.
49180 (LC_CTYPE): Likewise.
49181 (LC_MESSAGES): Likewise.
49182 (LC_MONETARY): Likewise.
49183 (LC_NUMERIC): Likewise.
49184 (LC_TIME): Likewise.
49185 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
49186 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49187 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49188 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
49190 [C99-based standards] (float_t): Expect type.
49191 [C99-based standards] (double_t): Expect type.
49192 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
49194 [C99-based standards] (HUGE_VALL): Likewise.
49195 [C99-based standards] (INFINITY): Likewise.
49196 [C99-based standards] (NAN): Likewise.
49197 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
49198 [C99-based standards] (FP_NAN): Likewise.
49199 [C99-based standards] (FP_NORMAL): Likewise.
49200 [C99-based standards] (FP_SUBNORMAL): Likewise.
49201 [C99-based standards] (FP_ZERO): Likewise.
49202 [C99-based standards] (FP_FAST_FMA): Use
49203 optional-macro-int-constant. Specify type. Require == 1.
49204 [C99-based standards] (FP_FAST_FMAF): Likewise.
49205 [C99-based standards] (FP_FAST_FMAL): Likewise.
49206 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
49207 [C99-based standards] (FP_ILOGBNAN): Likewise.
49208 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
49210 [C99-based standards] (MATH_ERREXCEPT): Likewise.
49211 [C99-based standards] (math_errhandling): Specify type.
49212 [ISO99 || ISO11] (signgam): Do not allow.
49213 [non-C99-based standards] (copysignf): Do not allow.
49214 [non-C99-based standards] (exp2f): Likewise.
49215 [non-C99-based standards] (log2f): Likewise.
49216 [non-C99-based standards] (modff): Allow.
49217 [non-C99-based standards] (erff): Do not allow.
49218 [non-C99-based standards] (erfcf): Likewise.
49219 [non-C99-based standards] (gammaf): Likewise.
49220 [non-C99-based standards] (hypotf): Likewise.
49221 [non-C99-based standards] (j0f): Likewise.
49222 [non-C99-based standards] (j1f): Likewise.
49223 [non-C99-based standards] (jnf): Likewise.
49224 [non-C99-based standards] (lgammaf): Likewise.
49225 [non-C99-based standards] (tgammaf): Likewise.
49226 [non-C99-based standards] (y0f): Likewise.
49227 [non-C99-based standards] (y1f): Likewise.
49228 [non-C99-based standards] (ynf): Likewise.
49229 [non-C99-based standards] (isnanf): Likewise.
49230 [non-C99-based standards] (acoshf): Likewise.
49231 [non-C99-based standards] (asinhf): Likewise.
49232 [non-C99-based standards] (atanhf): Likewise.
49233 [non-C99-based standards] (cbrtf): Likewise.
49234 [non-C99-based standards] (expm1f): Likewise.
49235 [non-C99-based standards] (ilogbf): Likewise.
49236 [non-C99-based standards] (log1pf): Likewise.
49237 [non-C99-based standards] (logbf): Likewise.
49238 [non-C99-based standards] (nextafterf): Likewise.
49239 [non-C99-based standards] (remainderf): Likewise.
49240 [non-C99-based standards] (rintf): Likewise.
49241 [non-C99-based standards] (scalbf): Likewise.
49242 [non-C99-based standards] (copysignl): Likewise.
49243 [non-C99-based standards] (exp2l): Likewise.
49244 [non-C99-based standards] (log2l): Likewise.
49245 [non-C99-based standards] (modfl): Allow.
49246 [non-C99-based standards] (erfl): Do not allow.
49247 [non-C99-based standards] (erfcl): Likewise.
49248 [non-C99-based standards] (gammal): Likewise.
49249 [non-C99-based standards] (hypotl): Likewise.
49250 [non-C99-based standards] (j0l): Likewise.
49251 [non-C99-based standards] (j1l): Likewise.
49252 [non-C99-based standards] (jnl): Likewise.
49253 [non-C99-based standards] (lgammal): Likewise.
49254 [non-C99-based standards] (tgammal): Likewise.
49255 [non-C99-based standards] (y0l): Likewise.
49256 [non-C99-based standards] (y1l): Likewise.
49257 [non-C99-based standards] (ynl): Likewise.
49258 [non-C99-based standards] (isnanl): Likewise.
49259 [non-C99-based standards] (acoshl): Likewise.
49260 [non-C99-based standards] (asinhl): Likewise.
49261 [non-C99-based standards] (atanhl): Likewise.
49262 [non-C99-based standards] (cbrtl): Likewise.
49263 [non-C99-based standards] (expm1l): Likewise.
49264 [non-C99-based standards] (ilogbl): Likewise.
49265 [non-C99-based standards] (log1pl): Likewise.
49266 [non-C99-based standards] (logbl): Likewise.
49267 [non-C99-based standards] (nextafterl): Likewise.
49268 [non-C99-based standards] (remainderl): Likewise.
49269 [non-C99-based standards] (rintl): Likewise.
49270 [non-C99-based standards] (scalbl): Likewise.
49271 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49272 [non-C99-based standards] (FP_*): Do not allow.
49273 [C99-based standards] (FP_*): Change to
49274 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
49275 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49277 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
49278 (SIG_ERR): Likewise.
49279 [X/Open-based standards] (SIG_HOLD): Likewise.
49280 (SIG_IGN): Likewise.
49281 (SIGABRT): Use macro-int-constant. Specify type. Require
49283 (SIGFPE): Likewise.
49284 (SIGILL): Likewise.
49285 (SIGINT): Likewise.
49286 (SIGSEGV): Likewise.
49287 (SIGTER): Likewise.
49288 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
49289 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
49290 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
49291 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
49292 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
49293 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
49294 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
49295 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
49296 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
49297 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
49298 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
49299 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
49300 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
49301 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
49302 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
49303 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
49304 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
49305 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
49306 [X/Open-based standards] (SIGTRAP): Likewise.
49307 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
49308 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
49309 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
49310 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
49311 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49314 2012-05-08 Ian Wienand <ianw@vmware.com>
49317 * time/tzset.c (__tzset_parse_tz): Update default rules for
49318 daylight time changes in the Energy Policy Act of 2005.
49320 2012-05-09 Andreas Jaeger <aj@suse.de>
49323 * elf/ldconfig.c (parse_conf): Change string to make clear that
49324 ldconfig only issued a warning if ld.so.conf does not exist.
49326 2012-05-08 David S. Miller <davem@davemloft.net>
49328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
49329 movxtod instead of popping the value on the stack.
49331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49333 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
49335 * config.h.in: Add HAVE_ARM_PCS_VFP.
49337 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
49340 * include/features.h: Warn if user requests __FORTIFY_SOURCE
49341 checking but the checks are disabled for any reason.
49343 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
49345 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
49346 and ELF64_R_TYPE with ELFW(R_TYPE).
49348 2012-05-08 Joseph Myers <joseph@codesourcery.com>
49350 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
49351 (ulimit): Likewise.
49353 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
49354 (settimeofday): Likewise.
49356 2012-05-08 Mike Frysinger <vapier@gentoo.org>
49358 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
49359 a struct th_u2 inside the union, and move tu_block/tu_code into
49360 a new th_u3 union of tu_block/tu_code inside of that. Move
49361 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
49362 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
49363 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
49364 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
49365 (th_stuff): Change to th_u1.tu_stuff.
49367 (th_msg): Change to th_u1.th_u2.tu_data.
49369 2012-05-07 David S. Miller <davem@davemloft.net>
49371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49374 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
49375 (SETUP_PIC_REG): Use it.
49376 (SETUP_PIC_REG_LEAF): Use it.
49378 2012-05-07 Joseph Myers <joseph@codesourcery.com>
49382 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49384 (EXPL_FINITE): Likewise.
49385 (FLDLOG): Likewise.
49386 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49387 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49389 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49391 (EXPL_FINITE): Likewise.
49392 (FLDLOG): Likewise.
49393 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
49394 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
49396 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
49397 test of -max_value argument for long double.
49398 * sysdeps/i386/fpu/libm-test-ulps: Update.
49399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49401 2012-05-06 David S. Miller <davem@davemloft.net>
49403 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
49404 quad soft-float symbols whose references which are compiler
49406 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49408 2012-05-06 Joseph Myers <joseph@codesourcery.com>
49412 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49414 (EXPL_FINITE): Likewise.
49415 (FLDLOG): Likewise.
49418 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49419 Adjust comments for base varying.
49420 (__expl_finite): Change alias to EXPL_FINITE.
49421 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
49423 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
49424 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
49425 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49426 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
49427 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
49429 (EXPL_FINITE): Likewise.
49430 (FLDLOG): Likewise.
49433 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
49434 Adjust comments for base varying.
49435 (__expl_finite): Change alias to EXPL_FINITE.
49436 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
49438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49441 * math/libm-test.inc (check_float_internal): Correct ulp
49442 calculation for subnormal expected results.
49444 2012-05-06 Andreas Jaeger <aj@suse.de>
49446 * Makeconfig (+math-flags): New, set to -frounding-math.
49447 (+cflags): Add +math-flags so that all of glibc gets compiled with
49450 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
49452 2012-05-05 Joseph Myers <joseph@codesourcery.com>
49454 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
49460 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
49461 (__ieee754_expl): Allow for and saturate large arguments.
49462 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
49463 (u_threshold): Likewise.
49464 (__exp): Call __ieee754_exp before checking for overflow and
49466 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
49467 (u_threshold): Likewise.
49468 (__expf): Call __ieee754_expf before checking for overflow and
49470 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
49471 (u_threshold): Likewise.
49472 (__expl): Call __ieee754_expl before checking for overflow and
49474 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
49475 (__ieee754_expl): Allow for and saturate large arguments.
49476 * math/libm-test.inc (exp_test): Add another test. Do not allow
49477 missing overflow exception on overflow.
49478 (expm1_test): Do not allow missing overflow exception on overflow.
49480 * sysdeps/i386/fpu/e_expl.c: Move to ...
49481 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
49482 rather than using inline asm.
49483 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
49484 * sysdeps/x86_64/fpu/e_expl.S: Copy from
49485 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
49487 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
49490 (signal): Likewise.
49494 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49496 * sysdeps/unix/syscalls.list (adjtime): Add entry from
49497 sysdeps/unix/common/syscalls.list.
49498 (fchmod): Likewise.
49499 (fchown): Likewise.
49500 (ftruncate): Likewise.
49501 (getrusage): Likewise.
49502 (gettimeofday): Likewise.
49503 (setpgid): Likewise.
49504 (setregid): Likewise.
49505 (setreuid): Likewise.
49506 (sigaction): Likewise.
49507 (truncate): Likewise.
49508 (vhangup): Likewise.
49509 * sysdeps/unix/common/syscalls.list: Remove file.
49510 * sysdeps/unix/bsd/Implies: Don't include unix/common.
49511 * sysdeps/unix/sysv/linux/Implies: Likewise.
49513 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
49515 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
49516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
49517 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
49519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49521 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
49523 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
49524 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
49526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
49527 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
49529 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
49530 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
49532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
49533 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
49535 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
49536 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
49538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
49539 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
49541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49543 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
49545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49547 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49550 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49552 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49554 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49558 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49560 * sysdeps/unix/common/bits/dirent.h: Remove file.
49561 * sysdeps/unix/common/bits/fcntl.h: Likewise.
49563 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49564 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49565 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49566 * sysdeps/unix/bsd/isatty.c: Likewise.
49567 * sysdeps/unix/bsd/tcdrain.c: Likewise.
49568 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49569 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49571 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49574 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49575 long double comparison inaccuracies.
49576 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49579 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
49581 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49582 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49584 2012-05-04 Joseph Myers <joseph@codesourcery.com>
49587 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49588 nonzero digits before rounding a hex value.
49589 * stdlib/tst-strtod.c (tests): Add another test.
49591 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49593 * sysdeps/s390/fpu/libm-test-ulps: Update.
49595 2012-05-03 Andreas Jaeger <aj@suse.de>
49597 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49598 does not get optimized out.
49599 (malloc_opt_barrier): New.
49601 2012-05-03 Andreas Jaeger <aj@suse.de>
49602 Roland McGrath <roland@hack.frob.com>
49604 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49605 intermediate file deletion.
49606 (generated): Add .symlist files.
49608 2012-05-03 Joseph Myers <joseph@codesourcery.com>
49611 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49612 Redirect under this condition.
49613 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49614 [__USE_GNU] (__dprintf_chk): Not under this condition.
49615 [__USE_GNU] (__vdprintf_chk): Likewise.
49616 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49617 under this condition.
49618 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49619 [__USE_XOPEN2K8] (dprintf): Define under this condition.
49620 [__USE_XOPEN2K8] (vdprintf): Likewise.
49621 [__USE_GNU] (__dprintf_chk): Not under this condition.
49622 [__USE_GNU] (__vdprintf_chk): Likewise.
49623 [__USE_GNU] (dprintf): Likewise.
49624 [__USE_GNU] (vdprintf): Likewise.
49626 2012-05-03 Roland McGrath <roland@hack.frob.com>
49628 * elf/Makefile (common-generated): Set this instead of generated for
49629 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
49630 $(all-built-dso)-derived lists.
49632 2012-05-03 Andreas Jaeger <aj@suse.de>
49634 * sysdeps/i386/fpu/libm-test-ulps: Update.
49637 * FAQ.in: Likewise.
49638 * scripts/gen-FAQ.pl: Likewise.
49639 * manual/install.texi (Installation): Point to online location of
49641 * Makefile (files-for-dist): Remove FAQ.
49644 2012-05-02 Allan McRae <allan@archlinux.org>
49646 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49647 (LDFLAGS-reldepmod5.so): Likewise.
49648 (LDFLAGS-reldep6mod1.so): Likewise.
49649 (LDFLAGS-reldep6mod4.so): Likewise.
49650 (LDFLAGS-reldep8mod3.so): Likewise.
49651 (LDFLAGS-unload4mod1.so): Likewise.
49652 (LDFLAGS-unload4mod2.so): Likewise.
49653 (LDFLAGS-tst-initorder): Likewise.
49654 (LDFLAGS-tst-initordera2.so): Likewise.
49655 (LDFLAGS-tst-initordera3.so): Likewise.
49656 (LDFLAGS-tst-initordera4.so): Likewise.
49657 (LDFLAGS-tst-initorderb2.so): Likewise.
49658 (LDFLAGS-noload): Likewise.
49659 (LDFLAGS-next): Likewise.
49660 (LDFLAGS-order2mod1.so): Likewise.
49661 (LDFLAGS-order2mod2.so): Likewise.
49662 (LDFLAGS-tst-initorder2): Likewise.
49663 (LDFLAGS-tst-initorder2a.so): Likewise.
49664 (LDFLAGS-tst-initorder2b.so): Likewise.
49665 (LDFLAGS-tst-initorder2c.so): Likewise.
49666 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49668 2012-05-02 David S. Miller <davem@davemloft.net>
49670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49672 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
49675 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49677 2012-05-02 Andreas Jaeger <aj@suse.de>
49679 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49680 since we manipulate rounding mode.
49681 (CPPFLAGS-test-idouble.c): Likewise.
49682 (CPPFLAGS-test-ifloat.c): Likewise.
49683 (CFLAGS-test-ldouble.c): Likewise.
49684 (CFLAGS-test-double.c): Likewise.
49685 (CFLAGS-test-float.c): Likewise.
49686 (CFLAGS-test-misc.c): Likewise.
49687 (CFLAGS-test-test-fenv.c): Likewise.
49689 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49693 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49694 comparisons to determine direction to adjust input.
49696 2012-05-01 Roland McGrath <roland@hack.frob.com>
49698 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49699 output to the target.
49701 * scripts/localplt.awk: New file.
49702 * elf/Makefile ($(objpfx)check-localplt): Target removed.
49703 (check-localplt-CFLAGS): Variable removed.
49704 ($(all-built-dso:=.jmprel)): New static pattern rule.
49705 (generated): Add those targets.
49706 (localplt-built-dso): New variable.
49707 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49709 * elf/check-localplt.c: File removed.
49711 * scripts/check-execstack.awk: New file.
49712 * elf/Makefile ($(objpfx)check-execstack): Target removed.
49713 (check-execstack-CFLAGS): Variable removed.
49714 ($(objpfx)check-execstack.h): Target removed.
49715 ($(objpfx)execstack-default): New target.
49716 (generated): Add that instead of check-execstack.h.
49717 ($(all-built-dso:=.phdr)): New static pattern rule.
49718 (generated): Add those targets.
49719 * elf/check-execstack.c: File removed.
49721 * scripts/check-textrel.awk: New file.
49722 * elf/Makefile ($(objpfx)check-textrel): Target removed.
49723 (check-textrel-CFLAGS): Variable removed.
49724 (all-built-dso): Use := to define.o
49725 ($(all-built-dso:=.dyn)): New static pattern rule.
49726 (generated): Add those targets.
49727 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49728 * config.make.in (READELF): New substituted variable.
49729 * elf/check-textrel.c: File removed.
49731 2012-05-01 Joseph Myers <joseph@codesourcery.com>
49733 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49735 * conform/data/ctype.h-data [C99-based standards] (isblank):
49737 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49738 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49739 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49740 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49741 Specify type. Require positive value.
49742 (EILSEQ): Likewise.
49743 (ERANGE): Likewise.
49744 [ISO || POSIX] (EILSEQ): Do not expect.
49745 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49746 Specify type. Require positive value.
49747 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49748 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49749 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49750 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49751 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49752 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49753 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49754 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49755 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49756 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49757 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49758 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49759 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49760 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49761 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49762 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49763 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49764 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49765 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49766 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49767 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49768 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49769 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49770 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49771 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49772 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49773 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49774 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49775 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49776 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49777 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49778 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49779 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49780 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49781 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49782 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49783 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49784 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49785 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49786 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49787 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49788 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49789 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49790 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49791 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49792 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49793 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49794 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49795 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49796 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49797 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49798 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49799 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49800 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49801 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49802 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49803 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49804 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49805 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49806 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49807 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49808 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49809 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49810 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49811 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49812 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49813 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49814 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49815 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49816 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49817 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49818 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49819 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49820 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49821 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49822 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49823 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49825 (FLT_ROUNDS): Expect as macro, not constant.
49826 (FLT_MANT_DIG): Use macro-int-constant.
49827 (DBL_MANT_DIG): Likewise.
49828 (LDBL_MANT_DIG): Likewise.
49829 (FLT_DIG): Likewise.
49830 (DBL_DIG): Likewise.
49831 (LDBL_DIG): Likewise.
49832 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
49833 (DBL_MIN_EXP): Likewise.
49834 (LDBL_MIN_EXP): Likewise.
49835 (FLT_MAX_EXP): Use macro-int-constant.
49836 (DBL_MAX_EXP): Likewise.
49837 (LDBL_MAX_EXP): Likewise.
49838 (FLT_MAX_10_EXP): Likewise.
49839 (DBL_MAX_10_EXP): Likewise.
49840 (LDBL_MAX_10_EXP): Likewise.
49841 (FLT_MAX): Use macro-constant.
49842 (DBL_MAX): Likewise.
49843 (LDBL_MAX): Likewise.
49844 (FLT_EPSILON): Use macro-constant. Give upper bound.
49845 (DBL_EPSILON): Likewise.
49846 (LDBL_EPSILON): Likewise.
49847 (FLT_MIN): Likewise.
49848 (DBL_MIN): Likewise.
49849 (LDBL_MIN): Likewise.
49850 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49851 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49852 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49853 [ISO11] (FLT_HAS_SUBNORM): Likewise.
49854 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49855 [ISO11] (DBL_DECIMAL_DIG): Likewise.
49856 [ISO11] (FLT_DECIMAL_DIG): Likewise.
49857 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49858 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49859 [ISO11] (FLT_TRUE_MIN): Likewise.
49860 [ISO11] (LDBL_TRUE_MIN): Likewise.
49861 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49862 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49863 (SCHAR_MIN): Use macro-int-constant. Specify type.
49864 (SCHAR_MAX): Likewise.
49865 (UCHAR_MAX): Likewise.
49866 (CHAR_MIN): Likewise.
49867 (CHAR_MAX): Likewise.
49868 (MB_LEN_MAX): Use macro-int-constant.
49869 (SHRT_MIN): Use macro-int-constant. Specify type.
49870 (SHRT_MAX): Likewise.
49871 (USHRT_MAX): Likewise.
49872 (INT_MAX): Likewise.
49873 (INT_MIN): Use macro-int-constant. Specify type. Make upper
49875 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
49877 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49879 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
49880 bound negative. Suffix upper bound with "L".
49881 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
49883 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49885 [C99-based standards] (LLONG_MAX): Likewise.
49886 [C99-based standards] (ULLONG_MAX): Likewise.
49887 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
49889 [ISO11] (max_align_t): Require type.
49890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49892 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49893 from $CFLAGS, without defining away __attribute__ calls.
49894 (checknamespace): Use $CFLAGS_namespace.
49896 * conform/conformtest.pl (@keywords): Only include C99 keywords
49897 for standards based on C99 or C11.
49899 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49901 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49904 * conform/conformtest.pl: Handle "macro-int-constant" and test for
49905 usability of symbols in #if.
49907 * conform/conformtest.pl: If macro or constant types start
49908 "promoted:", expect the symbol to be of the following type
49909 promoted by the integer promotions.
49911 * conform/conformtest.pl: Parse all "constant" and "macro" lines
49912 in one place. Also handle "macro-constant".
49914 * conform/conformtest.pl: Only accept expected macro values with
49915 "==". Parse all "macro" lines in one place.
49916 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49918 * conform/conformtest.pl: Handle braced types on "constant" lines
49919 instead of handling "typed-constant".
49920 * conform/data/signal.h-data: Use "constant" instead of
49923 * conform/conformtest.pl: Handle "optional-" at start of lines in
49924 one place rather than duplicating several cases. Handle each
49925 format of "macro" line with initial "optional-".
49927 * conform/conformtest.pl: Only accept expected constant or
49928 optional-constant values with "==". Parse all "constant" lines in
49929 one place. Parse all "optional-constant" lines in one place.
49930 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49931 * conform/data/fmtmsg.h-data: Likewise.
49932 * conform/data/netinet/in.h-data: Likewise.
49933 * conform/data/tar.h-data: Likewise.
49934 * conform/data/limits.h-data: Use "==" form on "constant" and
49935 "optional-constant" lines.
49937 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49938 Use -std=c99 for XOPEN2K.
49939 (@knownproblems): Remove.
49940 (newtoken): Don't check %isknown.
49942 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49943 Do not expect macro.
49944 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49945 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49946 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49947 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49948 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49949 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49950 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49951 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49952 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49953 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49954 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49955 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49956 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49957 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49958 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49959 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49960 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49961 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49962 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49963 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49964 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49965 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49966 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49967 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49968 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49969 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49970 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49971 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49972 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49973 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49974 [XPG3] (acosh): Likewise.
49975 [XPG3] (asinh): Likewise.
49976 [XPG3] (atanh): Likewise.
49977 [XPG3] (cbrt): Likewise.
49978 [XPG3] (expm1): Likewise.
49979 [XPG3] (ilogb): Likewise.
49980 [XPG3] (log1p): Likewise.
49981 [XPG3] (logb): Likewise.
49982 [XPG3] (nextafter): Likewise.
49983 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49984 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49985 [XPG3] (remainder): Likewise.
49986 [XPG3] (rint): Likewise.
49987 [XPG3 || XPG4 || UNIX98] (round): Likewise.
49988 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49989 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49990 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49991 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49992 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49993 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49994 [UNIX98 || XOPEN2K] (scalb): Expect.
49995 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49996 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49997 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49998 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49999 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
50000 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
50001 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
50002 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
50003 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
50004 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
50005 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
50006 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
50007 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
50008 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
50009 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
50010 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
50011 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
50012 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
50013 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
50014 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
50015 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
50016 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
50017 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
50018 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
50019 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
50020 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
50021 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
50022 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
50023 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
50024 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
50025 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
50026 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
50027 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
50028 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
50029 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
50030 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
50031 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
50032 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
50033 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
50034 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
50035 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
50036 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
50037 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
50038 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
50039 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
50040 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
50041 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
50042 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
50043 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
50044 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
50045 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
50046 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
50047 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
50048 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
50049 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
50050 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
50051 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
50052 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
50053 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
50054 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
50055 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
50056 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
50057 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
50058 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
50059 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
50060 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
50061 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
50062 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
50063 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
50064 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
50065 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
50066 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
50067 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
50068 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
50069 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
50070 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
50071 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
50072 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
50073 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
50074 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
50075 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
50076 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
50077 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
50078 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
50079 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
50080 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
50081 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
50082 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
50083 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
50084 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
50085 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
50086 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
50087 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
50088 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
50089 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
50090 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
50091 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
50092 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
50093 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
50094 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
50095 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
50096 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
50097 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
50098 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
50099 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
50100 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
50101 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
50102 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
50103 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
50104 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
50105 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
50106 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
50107 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
50108 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
50109 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
50110 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
50111 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
50112 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
50113 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
50114 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
50115 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
50116 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
50117 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
50118 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
50119 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
50120 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
50121 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
50122 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
50123 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
50124 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
50125 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
50126 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
50127 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
50128 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
50129 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
50130 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
50131 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
50133 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
50134 _XOPEN_SOURCE_EXTENDED for XPG4.
50136 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
50138 * Makeconfig (localtime): Remove variable.
50139 (inst_localtime-file): Likewise.
50141 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
50145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
50149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
50153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
50155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
50159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50162 2012-05-01 Joseph Myers <joseph@codesourcery.com>
50166 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
50167 comparisons to determine direction to adjust input.
50168 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
50169 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
50170 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
50172 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
50174 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
50176 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
50177 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
50179 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
50181 * math/libm-test.inc (nexttoward_test): Add more tests.
50183 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
50186 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
50187 in version GLIBC_2.1, not GLIBC_2.0.
50188 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
50191 2012-04-30 Joseph Myers <joseph@codesourcery.com>
50194 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
50196 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50197 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
50198 * math/libm-test.inc (acos_test): Add more tests.
50199 (asin_test): Likewise.
50200 * sysdeps/i386/fpu/libm-test-ulps: Update.
50201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50204 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
50206 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
50207 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
50208 * math/libm-test.inc (acos_test_tonearest): New function.
50209 (acos_test_towardzero): Likewise.
50210 (acos_test_downward): Likewise.
50211 (acos_test_upward): Likewise.
50212 (asin_test_tonearest): Likewise.
50213 (asin_test_towardzero): Likewise.
50214 (asin_test_downward): Likewise.
50215 (asin_test_upward): Likewise.
50216 (main): Call the new functions.
50217 * sysdeps/i386/fpu/libm-test-ulps: Update.
50218 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50222 * math/e_exp10.c: Include <float.h>.
50223 (__ieee754_exp10): Handle underflow here rather than multiplying
50224 large negative argument by M_LN10.
50225 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
50227 * math/e_exp10l.c: Include <float.h>.
50228 (__ieee754_exp10l): Handle underflow here rather than multiplying
50229 large negative argument by M_LN10l.
50230 * math/libm-test.inc (exp10_test): Add another test. Do not allow
50231 spurious overflow exception on underflow.
50233 2012-04-29 Marek Polacek <polacek@redhat.com>
50235 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
50236 (__fortify_function): New macro.
50237 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
50238 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
50239 __extern_always_inline.
50240 * libio/bits/stdio2.h: Likewise.
50241 * libio/bits/stdio.h: Likewise.
50242 * string/string.h: Likewise.
50243 * string/bits/string3.h: Likewise.
50244 * include/stdio.h: Likewise.
50245 * stdlib/bits/stdlib.h: Likewise.
50246 * stdlib/stdlib.h: Likewise.
50247 * rt/bits/mqueue2.h: Likewise.
50248 * rt/mqueue.h: Likewise.
50249 * posix/bits/unistd.h: Likewise.
50250 * posix/unistd.h: Likewise.
50251 * io/bits/poll2.h: Likewise.
50252 * io/bits/fcntl2.h: Likewise.
50253 * io/fcntl.h: Likewise.
50254 * io/sys/poll.h: Likewise.
50255 * misc/bits/syslog.h: Likewise.
50256 * misc/bits/syslog-ldbl.h: Likewise.
50257 * misc/sys/syslog.h: Likewise.
50258 * socket/bits/socket2.h: Likewise.
50259 * socket/sys/socket.h: Likewise.
50260 * debug/tst-chk1.c: Likewise.
50261 * wcsmbs/bits/wchar2.h: Likewise.
50262 * wcsmbs/bits/wchar-ldbl.h: Likewise.
50263 * wcsmbs/wchar.h: Likewise.
50265 2012-04-29 Andreas Jaeger <aj@suse.de>
50267 * Makerules (tests): Remove enable-check-abi protection.
50268 (check-abi-warn): Remove.
50269 (check-abi-%): Remove check-abi-warn usage.
50271 * configure.in: Remove check-abi configure option.
50272 * configure: Regenerated.
50273 * config.make.in (enable-check-abi): Remove.
50275 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
50278 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
50279 double functions to double *_finite functions.
50282 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
50283 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
50285 * stdio-common/Makefile (tests): Add tst-sprintf3.
50286 * stdio-common/tst-sprintf3.c: New file.
50288 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
50289 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
50291 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50293 * conform/conformtest.pl: Remove duplicate typed-constant
50296 2012-04-28 David S. Miller <davem@davemloft.net>
50298 * Makerules (%.abilist): Add vpath on sysdep_dirs.
50299 (check-abi-%): Remove AWK script prerequisite and explicit
50301 (check-abi): Rewrite to just diff the symlist with the abilist.
50302 (config-tls, config-abi-config): Delete, no longer used.
50303 (update-abi-%): Remove AWK script and explicit abilist directory.
50304 (update-abi): Rewrite to simply compare and conditionally copy the
50305 symlist and the sysdep abilist file. Remove update-abi-config
50307 * abilist/ld.abilist: Remove.
50308 * abilist/libBrokenLocale.abilist: Remove.
50309 * abilist/libanl.abilist: Remove.
50310 * abilist/libcrypt.abilist: Remove.
50311 * abilist/libdl.abilist: Remove.
50312 * abilist/librt.abilist: Remove.
50313 * abilist/libthread_db.abilist: Remove.
50314 * abilist/libutil.abilist: Remove.
50315 * scripts/extract-abilist.awk: Remove.
50316 * scripts/merge-abilist.awk: Remove.
50317 * sysdeps/generic/libcidn.abilist: New file.
50318 * sysdeps/generic/libnss_compat.abilist: New file.
50319 * sysdeps/generic/libnss_db.abilist: New file.
50320 * sysdeps/generic/libnss_dns.abilist: New file.
50321 * sysdeps/generic/libnss_files.abilist: New file.
50322 * sysdeps/generic/libnss_hesiod.abilist: New file.
50323 * sysdeps/generic/libnss_nis.abilist: New file.
50324 * sysdeps/generic/libnss_nisplus.abilist: New file.
50325 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
50326 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
50327 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
50329 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
50330 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
50331 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
50332 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
50333 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
50334 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
50335 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
50336 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
50337 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
50339 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
50340 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
50341 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
50342 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
50344 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
50345 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
50346 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
50347 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
50348 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
50349 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
50351 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
50352 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
50353 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
50355 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
50356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
50358 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
50360 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
50362 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
50364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
50366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
50368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
50370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
50372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
50374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
50376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
50378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
50380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
50382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
50384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
50386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
50388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
50390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
50392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
50394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
50396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
50398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
50402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
50404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
50406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
50408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
50409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
50411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
50413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
50415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
50417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
50419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
50421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
50423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
50427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
50429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
50431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
50433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
50434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
50436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
50438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
50440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
50442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
50444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
50446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
50448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
50452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
50454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
50456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
50458 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50459 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
50460 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
50462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
50463 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
50464 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
50465 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
50466 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
50467 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
50468 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
50469 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
50470 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
50471 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
50472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
50473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
50475 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
50477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
50479 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
50481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
50483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
50485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
50487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
50491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
50493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
50495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
50497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
50498 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
50500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
50502 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
50504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
50506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
50508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
50510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
50512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
50516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
50518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
50520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
50523 2012-04-28 Joseph Myers <joseph@codesourcery.com>
50525 * conform/conformtest.pl: Fix typo in handling typed-constant from
50528 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50530 * README: Cut down references to pre-2.6 Linux kernels and
50531 Linuxthreads. Update lists of configurations in libc and ports
50532 and sort alphabetically. Say "or newer" with Linux kernel version
50535 * config.h.in [IS_IN_build]: Allow compiling without optimization.
50537 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
50540 * math/libm-test.inc (logb_test_downward): New test to expose
50541 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
50544 2012-04-27 Joseph Myers <joseph@codesourcery.com>
50547 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50549 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50550 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50552 2012-04-26 Joseph Myers <joseph@codesourcery.com>
50554 * sysdeps/unix/i386/brk.S: Remove file.
50555 * sysdeps/unix/i386/dl-brk.S: Likewise.
50556 * sysdeps/unix/i386/pipe.S: Likewise.
50557 * sysdeps/unix/i386/sigreturn.S: Likewise.
50558 * sysdeps/unix/i386/syscall.S: Likewise.
50559 * sysdeps/unix/i386/vfork.S: Likewise.
50560 * sysdeps/unix/i386/wait.S: Likewise.
50562 * sysdeps/unix/common/tcsendbrk.c: Move to ...
50563 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50565 * configure.in (arm*-none*): Do not allow without
50566 --enable-hacker-mode.
50567 (netbsd*): Remove case setting base_os.
50568 (386bsd*): Likewise.
50569 (freebsd*): Likewise.
50572 (sunos*): Likewise.
50573 (ultrix*): Likewise.
50574 (newsos*): Likewise.
50575 (dynix*): Likewise.
50581 (minix*): Likewise.
50582 (irix4*): Likewise.
50583 (irix6*): Likewise.
50584 (solaris[2-9]*): Likewise.
50586 * configure: Regenerated.
50588 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50591 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50592 overflow or cancellation in calculating denominator.
50593 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50594 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50595 down expression to avoid unexpected rounding in newer GCCs.
50596 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50598 2012-04-26 David S. Miller <davem@davemloft.net>
50600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50601 long-double compat symbols.
50602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50616 2012-04-25 David S. Miller <davem@davemloft.net>
50618 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50619 HWCAP_* values only after the memory barriers have been defined.
50620 (atomic_full_barrier): Define.
50621 (atomic_read_barrier): Define.
50622 (atomic_write_barrier): Define.
50624 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50626 * shlib-versions: Add libgcc_s version information.
50627 * sysdeps/generic/libgcc_s.h: Remove.
50628 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50630 * sysdeps/gnu/unwind-resume.c: Likewise.
50631 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50633 2012-04-25 David S. Miller <davem@davemloft.net>
50635 * sysdeps/unix/sparc/brk.S: Delete.
50636 * sysdeps/unix/sparc/dl-brk.S: Delete.
50637 * sysdeps/unix/sparc/pipe.S: Delete.
50638 * sysdeps/unix/sparc/sysdep.S: Delete.
50639 * sysdeps/unix/sparc/sysdep.h: Delete.
50640 * sysdeps/unix/sparc/vfork.S: Delete.
50641 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50642 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50643 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50644 (ret_ERRVAL, r0, r1, MOVE): Define.
50645 (JUMPTARGET): Remove.
50646 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50647 sysdeps/unix/sparc/sysdep.h
50648 (ENTRY, END): Remove.
50649 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50651 2012-04-25 Joseph Myers <joseph@codesourcery.com>
50653 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50654 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50657 * timezone/README: Update upstream location and email address for
50659 * timezone/zdump.c: Update from tzcode 2012b.
50660 * timezone/zic.c: Likewise.
50662 * configure.in (libc_cv_as_needed): Remove test.
50663 * configure: Regenerated.
50664 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50665 conditional definition.
50666 [$(have-as-needed) != yes] (no-as-needed): Likewise.
50667 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50668 * config.make.in (have-as-needed): Remove variable.
50670 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50671 Paul Pluzhnikov <ppluzhnikov@google.com>
50673 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50676 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
50678 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50679 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50680 * sysdeps/sh/strlen.S: Likewise.
50682 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50684 * sysdeps/unix/fork.S: Remove file.
50685 * sysdeps/unix/i386/fork.S: Likewise.
50686 * sysdeps/unix/sparc/fork.S: Likewise.
50688 * sysdeps/unix/system.c: Remove file.
50689 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50691 * sysdeps/unix/getegid.S: Remove file.
50692 * sysdeps/unix/geteuid.S: Likewise.
50694 2012-04-24 Roland McGrath <roland@hack.frob.com>
50696 * scripts/check-localplt.awk: New file.
50697 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50699 * scripts/data/localplt-generic.data: Add a comment.
50701 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50702 NODE when __dir_mkfile failed.
50703 * sysdeps/mach/hurd/symlinkat.c: Likewise.
50704 Reported by Ludovic Courtès <ludo@gnu.org>.
50706 2012-04-24 Andreas Jaeger <aj@suse.de>
50708 * Makerules (common-clean): Also remove gen-as-const-headers
50711 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50713 * Makerules (native-compile): Do not change working directory for
50714 build. Use $(OUTPUT_OPTION) in command.
50715 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50717 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50720 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50721 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50722 * math/libm-test.inc (floor_test): Add more tests.
50723 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50725 2012-04-24 Joseph Myers <joseph@codesourcery.com>
50727 * sysdeps/unix/getdents.c: Remove file.
50728 * sysdeps/unix/sysv/getdents.c: Likewise.
50729 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50731 * sysdeps/unix/syscalls.list (madvise): Add syscall from
50732 sysdeps/unix/mman/syscalls.list.
50734 (mprotect): Likewise.
50736 (munmap): Likewise.
50737 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50738 * sysdeps/unix/mman/syscalls.list: Remove.
50739 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50741 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50742 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50743 * configure: Regenerated.
50744 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50745 $(libgcc_s_suffix).
50746 * config.make.in (libgcc_s_suffix): Remove variable.
50748 2012-04-23 Joseph Myers <joseph@codesourcery.com>
50750 * sysdeps/unix/sysv/gethostname.c: Move to ...
50751 * sysdeps/posix/gethostname.c: ... here.
50753 * sysdeps/unix/execve.S: Remove file.
50755 * sysdeps/unix/_exit.S: Remove file.
50757 2012-04-23 Andreas Jaeger <aj@suse.de>
50760 * manual/Makefile: Remove make dist support, there's no
50761 need for a stand-alone documentation tar ball.
50762 (TEXI2DVI): Define always, it's not in Makeconfig.
50765 (edition): Removed.
50766 (glibc-doc-$(edition).tar): Removed
50770 (ETAGS): Remove, it's in Makeconfig.
50771 (move-if-change): Remove, it's in Makeconfig.
50773 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
50776 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50777 (strtod, strtof, strtold, strtol, strtoul, strtoq)
50778 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50779 (strtod_l, strtof_l, strtold_l): Remove __wur.
50780 It is not necessarily an error to ignore strtol's return value.
50781 One can reliably look at the stored endptr to decide whether
50782 the number had valid syntax.
50784 2012-04-21 Andreas Jaeger <aj@suse.de>
50787 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50789 2012-04-21 Joseph Myers <joseph@codesourcery.com>
50791 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50792 * sysdeps/unix/sysv/Versions: Remove file.
50794 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
50797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50799 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
50802 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50803 version from __vm86.
50805 2012-04-20 Joseph Myers <joseph@codesourcery.com>
50807 * sysdeps/unix/common/lxstat.c: Remove file.
50808 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50810 * sysdeps/unix/sysv/Makefile: Remove file.
50812 * sysdeps/unix/sysv/direct.h: Remove file.
50814 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50815 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50816 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50817 * sysdeps/unix/sysv/bits/signum.h: Likewise.
50818 * sysdeps/unix/sysv/bits/stat.h: Likewise.
50819 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50820 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50822 * sysdeps/unix/sysv/setrlimit.c: Remove file.
50824 * sysdeps/unix/xmknod.c: Remove file.
50825 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50827 * sysdeps/unix/sysv/settimeofday.c: Remove file.
50829 * sysdeps/unix/sysv/i386/time.S: Remove file.
50831 * sysdeps/unix/fxstat.c: Remove file.
50832 * sysdeps/unix/xstat.c: Likewise.
50833 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50835 * sysdeps/unix/sysv/sigaction.c: Remove file.
50837 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50838 (sysdep_headers): Remove variable.
50839 [termio.h not in sysdep_headers] (generated): Likewise.
50840 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50841 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50842 * sysdeps/unix/sysv/tcdrain.c: Likewise.
50843 * sysdeps/unix/sysv/tcflow.c: Likewise.
50844 * sysdeps/unix/sysv/tcflush.c: Likewise.
50845 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50846 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50847 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50848 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50849 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50851 * sysdeps/unix/siglist.c: Remove file.
50853 * sysdeps/unix/getppid.S: Remove file.
50855 * sysdeps/unix/mkdir.c: Remove file.
50856 * sysdeps/unix/rmdir.c: Likewise.
50858 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
50860 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50862 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50863 errlist-compat value.
50865 2012-04-18 David S. Miller <davem@davemloft.net>
50867 * sysdeps/generic/memcopy.h (reg_char): Delete.
50868 * debug/strcat_chk.c: Use char, not reg_char.
50869 * debug/strcpy_chk.c: Likewise.
50870 * debug/strncat_chk.c: Likewise.
50871 * debug/strncpy_chk.c: Likewise.
50872 * string/memchr.c: Likewise.
50873 * string/memrchr.c: Likewise.
50874 * string/rawmemchr.c: Likewise.
50875 * string/strcat.c: Likewise.
50876 * string/strchr.c: Likewise.
50877 * string/strchrnul.c: Likewise.
50878 * string/strcmp.c: Likewise.
50879 * string/strcpy.c: Likewise.
50880 * string/strncat.c: Likewise.
50881 * string/strncmp.c: Likewise.
50882 * string/strncpy.c: Likewise.
50884 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50886 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50887 __builtin_memcopy is called when src and dest ranges are known to not
50890 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50892 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50893 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50894 fwd_align_merge macro call.
50895 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50896 bwd_align_merge macro call.
50897 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50899 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
50901 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50902 bwd_align_merge macros.
50903 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50904 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50905 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50907 2012-04-18 David S. Miller <davem@davemloft.net>
50909 * sysdeps/sparc/sparc64/memcopy.h: Delete.
50911 2012-04-18 Andreas Jaeger <aj@suse.de>
50914 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50915 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50916 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50918 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50919 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50920 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50922 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50923 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50924 Adjust for changed ldbl-128 files.
50926 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50927 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50928 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50930 2012-04-17 David S. Miller <davem@davemloft.net>
50932 * sysdeps/sparc/sparc32/memcopy.h: Delete.
50934 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
50936 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50937 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50938 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50939 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50940 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50941 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50943 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50946 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50947 * math/libm-test.inc: Add ilogb errno and exception tests.
50948 * math/w_ilogb.c: New file: ilogb wrapper.
50949 * math/w_ilogbf.c: New file: ilogbf wrapper.
50950 * math/w_ilogbl.c: New file: ilogbl wrapper.
50951 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50952 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50953 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50954 exception being thrown with 0.0 as argument.
50955 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50956 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50957 exception being thrown with 0.0 as argument.
50958 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50959 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50960 exception being thrown with 0.0 as argument.
50961 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50962 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50963 exception being thrown with 0.0 as argument.
50964 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50965 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50966 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50967 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50968 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50969 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50970 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50971 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50972 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50974 2012-04-17 Petr Baudis <pasky@ucw.cz>
50976 * include/sys/uio.h: Change __vector to __iovec to avoid clash
50979 2012-04-16 Marek Polacek <polacek@redhat.com>
50981 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50983 2012-04-16 Marek Polacek <polacek@redhat.com>
50985 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50986 operands of fdivp instruction.
50988 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
50990 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50991 * elf/tst-auditmod3b.c: Likewise.
50992 * elf/tst-auditmod4b.c: Likewise.
50993 * elf/tst-auditmod5b.c: Likewise.
50994 * elf/tst-auditmod6b.c: Likewise.
50995 * elf/tst-auditmod6c.c: Likewise.
50996 * elf/tst-auditmod7b.c: Likewise.
50997 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50998 * sysdeps/x86_64/preconfigure.in: Likewise.
50999 * sysdeps/x86_64/preconfigure: Regenerated.
51001 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
51003 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
51006 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
51008 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51009 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
51011 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
51014 * locale/iso-639.def: Fix gl language name. Spotted by
51017 2012-04-12 Roland McGrath <roland@hack.frob.com>
51020 * libio/libio.h (__io_write_fn): Update comment.
51022 2012-04-12 Petr Baudis <pasky@ucw.cz>
51025 * stdio.texi (Hook Functions): The user provided writer function
51026 is not allowed to return -1.
51028 2012-04-11 David S. Miller <davem@davemloft.net>
51030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51032 2012-04-11 Mike Frysinger <vapier@gentoo.org>
51034 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
51035 Add a leading slash to rtkaio.
51037 2012-04-11 Jim Meyering <meyering@redhat.com>
51040 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
51041 It is not necessarily an error to ignore fwrite's return
51042 value. One can reliably use ferror to test for errors after
51045 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51047 * bits/types.h (__snseconds_t): New type.
51048 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
51050 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
51051 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51052 (__SNSECONDS_T_TYPE): Likewise.
51053 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51054 (__SNSECONDS_T_TYPE): Likewise.
51055 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51056 (__SNSECONDS_T_TYPE): Likewise.
51058 2012-04-10 Andreas Jaeger <aj@suse.de>
51061 * manual/time.texi (Processor Time): Return type of times is
51062 elapsed real time since an arbitrary point in the past.
51063 (CPU Time): Move CLK_TCK from here...
51064 (Processor Time): ...to here. Correct description.
51065 * manual/conf.texi (Constants for Sysconf): Correct description of
51068 2012-04-10 David S. Miller <davem@davemloft.net>
51071 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
51072 where the is a gap between DT_REL(A) and DT_JMPREL.
51074 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
51076 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
51077 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51078 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51080 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
51082 * elf/dl-support.c (_dl_inhibit_cache): New variable.
51083 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
51084 (dl_main): Handle --inhibit-cache.
51085 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
51087 * elf/dl-load.c (_dl_map_object): Use it.
51088 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
51090 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51093 * sysdeps/i386/fpu/e_powl.S (p78): New object.
51094 (__ieee754_powl): Saturate large exponents rather than testing for
51095 overflow of y*log2(x).
51096 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51097 * math/libm-test.inc (pow_test): Do not permit spurious overflow
51101 * math/s_ctan.c: Include <float.h>.
51102 (__ctan): Avoid internal overflow or cancellation in calculating
51104 * math/s_ctanf.c: Likewise.
51105 * math/s_ctanl.c: Likewise.
51106 * math/s_ctanh.c: Likewise.
51107 * math/s_ctanhf.c: Likewise.
51108 * math/s_ctanhl.c: Likewise.
51109 * math/libm-test.inc (ctan_test): Add more tests.
51110 (ctanh_test): Likewise.
51111 * sysdeps/i386/fpu/libm-test-ulps: Update.
51112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51114 2012-04-09 Andreas Jaeger <aj@suse.de>
51117 * manual/filesys.texi (Directory Entries): Mention that d_namlen
51118 is an optional BSD extension.
51121 * manual/stdio.texi (Opening Streams): Document additional fopen
51124 2012-04-09 Roland McGrath <roland@hack.frob.com>
51126 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
51127 %eax without telling the compiler.
51129 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
51132 * manual/install.texi: Use sourceware.org.
51134 2012-04-09 Joseph Myers <joseph@codesourcery.com>
51137 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
51138 (__ieee754_pow): Generate overflow and underflow using huge*huge
51139 and tiny*tiny rather than just returning constant infinity or zero
51140 for large exponents.
51141 * math/libm-test.inc (pow_test): Require overflow exceptions for
51142 applicable cases of large exponents.
51145 * sysdeps/i386/fpu/e_pow.S (p10): New object.
51146 (__ieee754_pow): Use iterative multiplication algorithm only for
51147 integer exponents with absolute value below 1024. Check for odd
51148 integer exponents when using algorithm for real exponents.
51149 * math/libm-test.inc (pow_test): Add more tests.
51150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51152 2012-04-08 Joseph Myers <joseph@codesourcery.com>
51155 * math/libm-test.inc (exp_test): Do not allow overflow exception
51158 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
51161 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
51162 instead of __kernel_standard_f.
51164 2012-04-08 Mike Frysinger <vapier@gentoo.org>
51166 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
51167 * sysdeps/x86_64/memset_chk.S: Likewise.
51169 2012-04-08 Andreas Jaeger <aj@suse.de>
51172 * manual/startup.texi (Environment Access): Describe return value
51173 for putenv and setenv.
51176 * manual/filesys.texi (Directory Entries): Add description for
51180 * manual/filesys.texi (Directory Entries): Clarify that it's file
51181 system not operating system in the description of DT_UNKNOWN.
51184 * manual/syslog.texi (closelog): Fix reference, it's openlog.
51186 2012-04-08 Stephen Compall <s11@member.fsf.org>
51189 * manual/llio.texi (Opening and Closing Files): Add cross
51190 reference to explain mode argument.
51192 2012-04-07 Mike Frysinger <vapier@gentoo.org>
51194 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
51195 * sysdeps/x86_64/memset_chk.S: Likewise.
51197 2012-04-07 David S. Miller <davem@davemloft.net>
51199 * elf/elf.h (R_SPARC_WDISP10): Define.
51200 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
51202 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
51203 R_SPARC_SIZE64 and R_SPARC_H34.
51205 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
51207 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
51208 conditions and remove no longer applicable assertion.
51210 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51212 * bits/byteswap.h: Include <features.h>.
51213 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51214 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
51216 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
51218 * bits/byteswap.h (__bswap_16): Removed.
51219 Include <bits/byteswap-16.h> to get __bswap_16.
51220 * sysdeps/i386/bits/byteswap.h: Likewise.
51221 * sysdeps/s390/bits/byteswap.h: Likewise.
51222 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51223 * bits/byteswap-16.h: New file.
51224 * sysdeps/i386/bits/byteswap-16.h: Likewise.
51225 * sysdeps/s390/bits/byteswap-16.h: Likewise.
51226 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
51227 * string/Makefile (headers): Add bits/byteswap-16.h.
51229 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51232 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
51234 * nss/Makefile (tests-static, tests): Add tst-nss-static.
51235 * nss/tst-nss-static.c: New.
51237 2012-04-06 Robert Millan <rmh@gnu.org>
51240 * manual/llio.texi (File Position Primitive): lseek
51241 refers to WHENCE when it really means OFFSET.
51243 2012-04-06 Andreas Jaeger <aj@suse.de>
51245 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
51246 strncmp declarations.
51248 * abilist/libc.abilist: Add __poll and __ppoll.
51250 2012-04-05 David S. Miller <davem@davemloft.net>
51252 * scripts/check-local-headers.sh: Accept a host triplet in the
51253 path matched by the exclude regexp.
51255 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
51257 * sysdeps/powerpc/powerpc32/dl-machine.h
51258 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
51259 * sysdeps/s390/s390-32/dl-machine.h
51260 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51261 * sysdeps/sparc/sparc32/dl-machine.h
51262 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51263 * sysdeps/sparc/sparc64/dl-machine.h
51264 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
51266 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
51268 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
51269 undefined symbol errors.
51271 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
51274 2012-04-05 Michael Matz <matz@suse.de>
51277 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
51279 2012-04-05 Andreas Jaeger <aj@suse.de>
51282 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
51285 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51287 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
51288 which ROUND is no valid rounding mode.
51290 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51292 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
51294 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
51296 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51298 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
51299 an exception using FPU order intentionally.
51301 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51303 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
51304 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
51305 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
51306 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
51308 2012-04-05 Simon Josefsson <simon@josefsson.org>
51311 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
51312 EINVAL when BUFLEN is too smal.
51314 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
51317 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
51318 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
51320 2012-04-03 Andreas Jaeger <aj@suse.de>
51323 * manual/setjmp.texi (System V contexts): Fix sentence.
51326 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
51327 New macro for this case.
51328 [!__GNUC__] (__bswap_64): New inline function for this case.
51329 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51330 * bits/byteswap.h: Likewise.
51331 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
51332 ull, guard with __GLIBC_HAVE_LONG_LONG.
51334 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51335 __GLIBC_HAVE_LONG_LONG.
51337 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
51338 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
51340 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51343 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
51344 inptr and inend, rather than using last_ch.
51346 2012-04-02 David S. Miller <davem@davemloft.net>
51348 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
51349 * stdio-common/printf-parse.h (read_int): Change return type to
51350 'int', return -1 on INT_MAX overflow.
51351 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
51352 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
51353 overflows INT_MAX. Check for overflow of in-format-string precision
51354 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
51355 SIZE_MAX not INT_MAX for integer overflow test.
51356 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
51357 skip the construct in the format string but do not record anything.
51358 * stdio-common/bug22.c: Adjust to test both width/prevision
51359 INT_MAX overflow as well as total length INT_MAX overflow. Check
51360 explicitly for proper errno values.
51362 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
51364 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
51366 * string/test-strcmp.c [! WIDE]: Likewise.
51367 * time/tst-mktime2.c: Likewise for INT_MAX.
51368 * string/test-string.h: #include <sys/param.h> for MIN.
51370 * csu/init-first.c (__libc_init_first): Call __ctype_init.
51371 * sysdeps/i386/init-first.c (init): Likewise.
51372 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
51373 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
51374 * sysdeps/sh/init-first.c (init): Likewise.
51376 2012-04-01 Ulrich Drepper <drepper@gmail.com>
51378 * po/ru.po: Update from translation team.
51379 * po/vi.po: Likewise.
51381 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
51383 * resolv/nss_dns/dns-host.c: Merge copyright years.
51385 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51387 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51388 Optimize memcpy with prefetch if
51389 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
51390 src, dst pointers have unequal 16 byte alignments.
51392 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51395 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51396 from a CNAME entry and return the minimum ttl for the query.
51397 (gaih_getanswer_slice): Likewise.
51399 2012-03-30 Jeff Law <law@redhat.com>
51401 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
51403 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
51404 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
51406 * resolv/nss_dns/dns-host.c: Update copyright year.
51408 2012-03-30 Ulrich Drepper <drepper@gmail.com>
51410 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
51411 requests to save a system call. Fix check that all bytes are sent.
51413 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
51414 comments for sendmmsg.
51416 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51419 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
51420 with only 1 character between 0x0041 and 0x01b0.
51421 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
51422 * wcsmbs/tst-mbsnrtowcs.c: New file.
51424 2012-03-29 David S. Miller <davem@davemloft.net>
51426 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51427 small copies by hand.
51429 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51432 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
51433 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
51436 2012-03-28 David S. Miller <davem@davemloft.net>
51438 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
51439 that branches into memcpy.
51440 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51441 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
51442 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
51443 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
51444 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
51446 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
51447 implementation too.
51448 * sysdeps/sparc/mempcpy.S: New file.
51450 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
51451 the IFUNC routine in the libc case.
51452 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51454 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
51455 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
51456 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
51457 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
51458 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
51459 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
51460 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51461 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
51463 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
51464 loop to 256 bytes instead of 64 bytes and fix test signedness.
51466 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
51467 * sysdeps/sparc/sparc32/Makefile: rather than here...
51468 * sysdeps/sparc/sparc64/Makefile: and here.
51470 2012-03-28 Ulrich Drepper <drepper@gmail.com>
51472 * malloc/mallocbug.c: Avoid warnings about unused variables.
51474 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
51477 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
51478 in the right place. Discard and retry query if response is
51479 larger than input buffer size.
51481 2012-03-28 Joseph Myers <joseph@codesourcery.com>
51486 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
51487 x for large integer exponent.
51488 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51489 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
51490 sign of result as needed afterwards.
51491 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51492 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
51493 result for underflowing pow the same as for overflow.
51494 (__kernel_standard_l): Handle powl overflow and underflow here
51495 rather than calling __kernel_standard.
51496 * math/libm-test.inc (pow_test): Add more tests.
51511 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
51512 * sysdeps/ieee754/k_standard.c: Include <float.h>.
51513 (__kernel_standard_l): New function.
51514 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
51516 * math/w_acosl.c (__acosl): Likewise.
51517 * math/w_asinl.c (__asinl): Likewise.
51518 * math/w_atan2l.c (__atan2l): Likewise.
51519 * math/w_atanhl.c (__atanhl): Likewise.
51520 * math/w_coshl.c (__coshl): Likewise.
51521 * math/w_exp10l.c (__exp10l): Likewise.
51522 * math/w_exp2l.c (__exp2l): Likewise.
51523 * math/w_fmodl.c (__fmodl): Likewise.
51524 * math/w_hypotl.c (__hypotl): Likewise.
51525 * math/w_j0l.c (__j0l, __y0l): Likewise.
51526 * math/w_j1l.c (__j1l, __y1l): Likewise.
51527 * math/w_jnl.c (__jnl, __ynl): Likewise.
51528 * math/w_lgammal.c (__lgammal): Likewise.
51529 * math/w_log10l.c (__log10l): Likewise.
51530 * math/w_log2l.c (__log2l): Likewise.
51531 * math/w_logl.c (__logl): Likewise.
51532 * math/w_powl.c (__powl): Likewise.
51533 * math/w_remainderl.c (__remainderl): Likewise.
51534 * math/w_scalbl.c (sysv_scalbl): Likewise.
51535 * math/w_sinhl.c (__sinhl): Likewise.
51536 * math/w_sqrtl.c (__sqrtl): Likewise.
51537 * math/w_tgammal.c (__tgammal): Likewise.
51538 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
51539 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
51540 * math/libm-test.inc (acos_test): Add more tests.
51541 (acosh_test): Likewise.
51542 (asin_test): Likewise.
51543 (atanh_test): Likewise.
51544 (exp_test): Likewise.
51545 (exp10_test): Likewise.
51546 (exp2_test): Likewise.
51547 (expm1_test): Likewise.
51548 (lgamma_test): Likewise.
51549 (log_test): Likewise.
51550 (log10_test): Likewise.
51551 (log1p_test): Likewise.
51552 (log2_test): Likewise.
51553 (pow_test): Do not allow some spurious overflow exceptions.
51554 (sqrt_test): Add more tests.
51555 (tgamma_test): Likewise.
51556 (y0_test): Likewise.
51557 (y1_test): Likewise.
51558 (yn_test): Likewise.
51560 2012-03-27 Anton Blanchard <anton@samba.org>
51562 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51564 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51565 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51566 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51568 2012-03-27 David S. Miller <davem@davemloft.net>
51570 * conform/Makefile: Run run-conformtest.sh using $(BASH).
51572 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51573 have-as-vis3 check.
51575 2012-03-27 Andreas Jaeger <aj@suse.de>
51577 * sysdeps/x86_64/elf/configure.in: Moved to ...
51578 * sysdeps/x86_64/configure.in: ... here.
51579 * sysdeps/x86_64/elf/start.S: Moved to ...
51580 * sysdeps/x86_64/start.S: ... here.
51581 * sysdeps/x86_64/elf/configure: Delete.
51583 * sysdeps/x86_64/configure.in: Merge contents from
51584 sysdeps/i386/configure.in (without i686 check).
51586 * sysdeps/i386/elf/Versions: Merge into ...
51587 * sysdeps/i386/Versions: ... this.
51588 * sysdeps/i386/elf/Versions: Delete file.
51589 * sysdeps/i386/elf/start.S: Moved to ...
51590 * sysdeps/i386/start.S: ...here.
51591 * sysdeps/i386/elf/configure.in: Merge into...
51592 * sysdeps/i386/configure.in: ...here.
51593 * sysdeps/i386/elf/configure.in: Delete file.
51594 * sysdeps/i386/elf/configure: Delete file.
51596 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51597 * debug/backtracesyms.c: ... here.
51598 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51599 * debug/backtracesymsfd.c: ... here.
51600 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51601 * sysdeps/generic/ifunc-sel.h: ... here.
51603 * sysdeps/unix/i386/start.c: Delete file.
51604 * sysdeps/unix/sparc/start.c: Delete file.
51605 * sysdeps/unix/start.c: Delete file.
51607 * sysdeps/sh/elf/configure.in: Moved to ...
51608 * sysdeps/sh/configure.in: ... here.
51609 * sysdeps/sh/elf/start.S: Moved to ...
51610 * sysdeps/sh/start.S: ... here.
51611 * sysdeps/sh/elf/configure: Delete file.
51613 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51614 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51615 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51616 * sysdeps/powerpc/powerpc64/entry.h: ... here.
51617 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51618 * sysdeps/powerpc/powerpc64/start.S: here.
51619 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51620 * sysdeps/powerpc/powerpc64/Makefile: ... this.
51621 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51622 * sysdeps/powerpc/powerpc64/configure.in: ... this.
51623 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51625 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51626 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51627 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51628 * sysdeps/powerpc/powerpc32/start.S: ... here.
51629 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51630 * sysdeps/powerpc/powerpc32/configure.in: ... this.
51631 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51633 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51634 * sysdeps/powerpc/ifunc-sel.h: ... here.
51635 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51636 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51638 * sysdeps/sparc/elf/configure.in: Moved to ...
51639 * sysdeps/sparc/configure.in: ... here.
51640 * sysdeps/sparc/elf/configure: Delete file.
51641 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51642 * sysdeps/sparc/sparc32/start.S: ... here.
51643 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51644 * sysdeps/sparc/sparc64/start.S: ... here.
51645 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51646 * sysdeps/sparc/sparc32/Makefile: ... this.
51647 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51648 * sysdeps/sparc/sparc64/Makefile: ... this.
51650 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51651 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51652 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51653 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51654 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51655 * sysdeps/s390/s390-32/setjmp.S: ... here.
51656 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51657 * sysdeps/s390/s390-32/configure.in: ... here.
51658 * sysdeps/s390/s390-32/elf/configure: Delete file.
51659 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51660 * sysdeps/s390/s390-32/start.S: ... here.
51662 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51663 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51664 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51665 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51666 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51667 * sysdeps/s390/s390-64/setjmp.S: ... here.
51668 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51669 * sysdeps/s390/s390-64/configure.in: ... here
51670 * sysdeps/s390/s390-64/elf/configure: Delete file.
51671 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51672 * sysdeps/s390/s390-64/start.S: ... here.
51673 * sysdeps/s390/s390-64/elf/configure: Delete.
51675 * configure.in: Remove support for elf directories in sysdeps.
51677 * configure: Regenerated.
51678 * sysdeps/i386/configure: Regenerated.
51679 * sysdeps/powerpc/powerpc32/configure: Regenerated.
51680 * sysdeps/powerpc/powerpc64/configure: Regenerated.
51681 * sysdeps/s390/s390-32/configure: Regenerated.
51682 * sysdeps/s390/s390-64/configure: Regenerated.
51683 * sysdeps/sh/configure: Regenerated.
51684 * sysdeps/sparc/configure: Regenerated.
51685 * sysdeps/x86_64/configure: Regenerated.
51687 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
51689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51691 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51692 denormal result into account.
51694 2012-03-25 Roland McGrath <roland@hack.frob.com>
51696 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51697 Reported by Allan McRae <allan@archlinux.org>.
51699 2012-03-23 Jeff Law <law@redhat.com>
51701 * nss/getnssent.c (__nss_getent): Fix typo.
51703 2012-03-23 David S. Miller <davem@davemloft.net>
51705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51707 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
51709 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51710 to pad to uint64_t for each field.
51711 (dl_tls_index): Replace unsigned long with uint64_t.
51713 2012-03-23 Daniel Jacobowitz <dmj@google.com>
51714 Paul Pluzhnikov <ppluzhnikov@google.com>
51717 * grp/Makefile (otherlibs): Don't set it.
51718 * inet/Makefile (otherlibs): Likewise.
51719 * login/Makefile (otherlibs): Likewise.
51720 * nscd/Makefile (otherlibs): Likewise.
51721 * posix/Makefile (otherlibs): Likewise.
51722 * pwd/Makefile (otherlibs): Likewise.
51723 * rt/Makefile (otherlibs): Likewise.
51724 * sunrpc/Makefile (otherlibs): Likewise.
51725 * nss/Makefile (otherlibs): Likewise.
51726 Add libnss_files to routines and static-only-routines.
51727 ($(objpfx)getent): Remove rule.
51728 * resolv/Makefile: Add libnss_dns and libresolv to routines and
51729 static-only-routines.
51731 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51734 * math/s_cexp.c: Include <float.h>.
51735 (__cexp): Handle exp result overflowing not necessarily
51736 overflowing both real and imaginary parts of result.
51737 * math/s_cexpf.c: Likewise.
51738 * math/s_cexpl.c: Likewise.
51739 * math/libm-test.inc (cexp_test): Add more tests.
51740 * sysdeps/i386/fpu/libm-test-ulps: Update.
51741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51743 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51745 * include/link.h (ELFW): New macro.
51746 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51747 Replace ELF64_R_TYPE with ELFW(R_TYPE).
51749 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51751 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51754 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51756 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51758 (struct La_x32_retval): Likewise.
51760 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
51762 * sysdeps/x86_64/preconfigure.in: New file.
51763 * sysdeps/x86_64/preconfigure: New generated file.
51765 2012-03-22 Joseph Myers <joseph@codesourcery.com>
51768 * math/e_exp2l.c: Include <float.h>.
51769 (__ieee754_exp2l): Handle overflow and underflow cases
51770 separately. Only pass fractional part of argument to
51772 * math/libm-test.inc (exp2_test): Add more tests.
51774 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51775 negating x to take absolute value.
51776 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51778 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51779 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51781 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51782 computing low part if x was negated.
51783 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51785 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51787 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51788 la_x32_gnu_pltexit.
51789 (pltexit): Cast int_retval to ptrdiff_t.
51790 * elf/tst-auditmod3b.c: Likewise.
51791 * elf/tst-auditmod4b.c: Likewise.
51792 * elf/tst-auditmod5b.c: Likewise.
51793 * elf/tst-auditmod6b.c: Likewise.
51794 * elf/tst-auditmod6c.c: Likewise.
51795 * elf/tst-auditmod7b.c: Likewise.
51797 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51798 and x32_gnu_pltexit.
51800 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51801 __ELF_NATIVE_CLASS.
51802 (La_x32_regs): New macro.
51803 (La_x32_retval): Likewise.
51804 (la_x32_gnu_pltenter): New function prototype.
51805 (la_x32_gnu_pltexit): Likewise.
51807 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
51809 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51814 * configure.in (libc_cv_cc_nofma): Check for option to disable
51815 generation of FMA instructions.
51816 * configure: Regenerate.
51817 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51818 * sysdeps/ieee754/dbl-64/Makefile: New file.
51819 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51820 Remove brandred-fma4.
51821 (CFLAGS-brandred-fma4.c): Remove.
51822 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51823 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51825 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51828 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51830 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51831 LLONG_MAX != LONG_MAX.
51832 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51833 (_fitoa_word): Likewise.
51834 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51835 LLONG_MAX != LONG_MAX.
51836 * stdio-common/_itowa.h: Include <_itoa.h>.
51837 (_itowa_word): Use _ITOA_WORD_TYPE on value.
51838 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
51839 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
51840 only if not defined.
51841 (_ITOA_WORD_TYPE): Likewise.
51842 (_itoa_word): Use _ITOA_WORD_TYPE on value.
51843 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51845 2012-03-21 David S. Miller <davem@davemloft.net>
51847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51849 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
51851 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51852 of x86_64 when setting libc_cv_slibdir, libdir and
51854 * sysdeps/unix/sysv/linux/configure: Regenerated.
51856 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51858 * manual/lang.texi (Old Varargs): Remove section.
51859 (How Variadic): Update menu.
51860 (va_start): Do not mention varargs.h.
51862 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51863 Joseph Myers <joseph@codesourcery.com>
51865 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51867 * configure: Regenerated.
51869 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
51871 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51872 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51875 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51878 * Makefile (files-for-dist): Remove NOTES.
51879 (NOTES): Remove rule.
51880 * README: Don't refer to NOTES.
51881 * manual/creature.texi: Don't include macros.texi.
51882 * manual/intro.texi (creature.texi): Remove comment referring to
51885 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51886 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51887 * configure: Regenerated.
51888 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51889 LIBC_TRY_CC_OPTION.
51890 (libc_cv_as_i686): Likewise.
51891 (libc_cv_cc_avx): Likewise.
51892 (libc_cv_cc_sse2avx): Likewise.
51893 (libc_cv_cc_fma4): Likewise.
51894 (libc_cv_cc_novzeroupper): Likewise.
51895 * sysdeps/i386/configure: Regenerated.
51898 * sysdeps/i386/fpu/s_cexp.S: Remove.
51899 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51900 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51901 * math/libm-test.inc (cexp_test): Add more tests.
51902 * sysdeps/i386/fpu/libm-test-ulps: Update.
51903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51905 2012-03-21 Allan McRae <allan@archlinux.org>
51907 * timezone/Makefile: Do not install iso3166.tab and zone.tab
51909 2012-03-21 Joseph Myers <joseph@codesourcery.com>
51912 * math/w_exp2.c: Do not include <float.h>.
51913 (o_threshold, u_threshold): Remove.
51914 (__exp2): Calculate result before checking finiteness and calling
51916 * math/w_exp2f.c: Likewise.
51917 * math/w_exp2l.c: Likewise.
51918 * math/libm-test.inc (exp2_test): Require overflow exception for
51922 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51923 range of signed 64-bit integers before using fistpll. Remove
51924 checks for whether integers fit in mantissa bits.
51925 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51926 the range of signed 32-bit integers before using fistpl. Remove
51927 checks for whether integers fit in mantissa bits.
51928 * sysdeps/i386/fpu/e_powl.S (p64): New object.
51929 (__ieee754_powl): Test for y outside the range of signed 64-bit
51930 integers before using fistpll. Reduce 64-bit values to 63-bit
51932 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51933 divide-by-zero is raised for zero to large negative powers.
51934 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51935 (__ieee754_powl): Test for y outside the range of signed 64-bit
51936 integers before using fistpll. Reduce 64-bit values to 63-bit
51938 * math/libm-test.inc (pow_test): Add more tests.
51940 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
51942 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51943 <stdio-common/_itoa.h>.
51944 * debug/segfault.c: Likewise.
51945 * elf/dl-cache.c: Likewise.
51946 * elf/dl-minimal.c: Likewise.
51947 * elf/dl-misc.c: Likewise.
51948 * elf/dl-sysdep.c: Likewise.
51949 * elf/dl-version.c: Likewise.
51950 * elf/rtld.c: Likewise.
51951 * hurd/hurdsock.c: Likewise.
51952 * hurd/lookup-retry.c: Likewise.
51953 * malloc/malloc.c: Likewise.
51954 * malloc/mtrace.c: Likewise.
51955 * nscd/nscd_getgr_r.c: Likewise.
51956 * nscd/nscd_getpw_r.c: Likewise.
51957 * nscd/nscd_getserv_r.c: Likewise.
51958 * posix/getopt_init.c: Likewise.
51959 * posix/wordexp.c: Likewise.
51960 * stdio-common/_itoa.c: Likewise.
51961 * stdio-common/printf_fphex.c: Likewise.
51962 * stdio-common/vfprintf.c: Likewise.
51963 * string/_strerror.c: Likewise.
51964 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51965 * sysdeps/i386/i686/hp-timing.h: Likewise.
51966 * sysdeps/mach/_strerror.c: Likewise.
51967 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51968 * sysdeps/mach/hurd/sethostid.c: Likewise.
51969 * sysdeps/mach/hurd/xmknodat.c: Likewise.
51970 * sysdeps/mach/xpg-strerror.c: Likewise.
51971 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51972 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51973 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51974 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51975 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51976 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51977 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51978 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51979 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51980 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51981 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51982 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51983 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51984 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51985 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51986 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51987 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51988 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51989 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51990 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51991 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51993 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51995 * stdio-common/_itoa.h: Moved to ...
51996 * sysdeps/generic/_itoa.h: Here.
51998 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
52000 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
52001 instead of "_itoa.h" and "_itowa.h".
52002 * stdio-common/vfprintf.: Likewise.
52004 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52006 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
52008 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
52009 (__signbit): Likwise.
52010 (llrintf): Likwise.
52013 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
52015 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
52018 2012-03-20 Joseph Myers <joseph@codesourcery.com>
52020 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
52021 OVERFLOW_EXCEPTION_OK.
52022 * math/libm-test.inc ("Philosophy"): Update comment about
52024 (OVERFLOW_EXCEPTION): Define.
52025 (OVERFLOW_EXCEPTION_OK): Likewise.
52026 (INVALID_EXCEPTION_OK): Renumber.
52027 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52028 (IGNORE_ZERO_INF_SIGN): Likewise.
52029 (test_exceptions): Handle FE_OVERFLOW.
52030 (exp10_test): Expect overflow exceptions.
52031 (exp2_test): Likewise.
52032 (expm1_test): Likewise.
52033 (nextafter_test): Likewise.
52034 (pow_test): Likewise.
52035 (scalbn_test): Likewise.
52036 (scalbln_test): Likewise.
52038 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52040 * sysdeps/x86_64/bits/atomic.h
52041 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
52043 (atomic_exchange_acq): Likewise.
52044 (__arch_exchange_and_add_body): Likewise.
52045 (__arch_add_body): Likewise.
52046 (atomic_add_negative): Likewise.
52047 (atomic_add_zero): Likewise.
52049 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52051 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
52052 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
52054 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52056 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
52057 Check __x86_64__ instead of __WORDSIZE.
52059 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52061 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
52063 2012-03-19 David S. Miller <davem@davemloft.net>
52065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52067 * sysdeps/sparc/fpu/fenv_private.h: New file.
52068 * sysdeps/sparc/fpu/math_private.h: Use it.
52069 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
52071 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
52072 (libc_feholdexcept_setroundl): Remove.
52073 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
52075 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
52076 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
52078 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52080 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
52081 int64_t instead of long int.
52082 (INSERT_WORDS64): Likwise.
52084 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
52086 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
52087 _Unwind_GetCFA return to _Unwind_Ptr first.
52089 2012-03-19 Joseph Myers <joseph@codesourcery.com>
52092 * math/s_clog.c: Include <float.h>.
52093 (__clog): Scale large or subnormal inputs.
52094 * math/s_clogf.c: Likewise.
52095 * math/s_clogl.c: Likewise.
52096 * math/s_clog10.c: Include <float.h>.
52097 (M_LOG10_2): Define.
52098 (__clog10): Scale large or subnormal inputs.
52099 * math/s_clog10f.c: Likewise.
52100 * math/s_clog10l.c: Likewise.
52101 * math/libm-test.inc (clog_test): Add more tests.
52102 (clog10_test): Likewise.
52103 * sysdeps/i386/fpu/libm-test-ulps: Update.
52104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52107 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
52109 * math/libm-test.inc (atan2_test): Add another test.
52111 * Makerules (common-objdir-compile): Remove.
52112 * sysdeps/unix/Makefile (config-generated): Do not add
52113 $(unix-generated) to variable.
52114 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
52115 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
52117 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
52119 [generic bits/local_lim.h] (before-compile): Do not append to
52121 [generic bits/local_lim.h] (common-generated): Likewise.
52122 [generic sys/param.h] (before-compile): Do not append to variable.
52123 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
52124 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
52125 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
52126 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
52128 [generic sys/param.h] (sys/param.h-includes): Remove variable.
52129 [generic sys/param.h] (sys/param.h-includes): Remove rule.
52130 [generic sys/param.h] ($(addprefix
52131 $(common-objpfx),$(sys/param.h-includes))): Likewise.
52132 [generic sys/param.h] (common-generated): Do not append to
52134 [generic sys/param.h] (sysdep_headers): Likewise.
52135 [generic bits/errno.h] (before-compile): Do not append to
52137 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
52139 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
52140 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
52141 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
52142 [generic bits/errno.h] (common-generated): Do not append to
52144 [generic bits/ioctls.h] (before-compile): Do not append to
52146 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
52148 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
52149 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
52150 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
52152 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
52153 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
52154 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
52155 [generic bits/ioctls.h] (common-generated): Do not append to
52157 [generic sys/syscall.h] (syscall.h): Remove variable.
52158 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
52160 [generic sys/syscall.h] (before-compile): Do not append to
52162 [generic sys/syscall.h] (common-generated): Likewise.
52163 * sysdeps/unix/errnos-tmpl.c: Remove file.
52164 * sysdeps/unix/errnos.awk: Likewise.
52165 * sysdeps/unix/ioctls-tmpl.c: Likewise.
52166 * sysdeps/unix/ioctls.awk: Likewise.
52167 * sysdeps/unix/mk-local_lim.c: Likewise.
52168 * sysdeps/unix/snarf-ioctls: Likewise.
52170 2012-03-19 Richard Henderson <rth@twiddle.net>
52172 * sysdeps/i386/fpu/fenv_private.h: New file.
52173 * sysdeps/i386/fpu/math_private.h: Use it.
52174 (math_opt_barrier, math_force_eval): Remove.
52175 (libc_feholdexcept_setround_53bit): Remove.
52176 (libc_feupdateenv_53bit): Remove.
52177 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52178 (math_opt_barrier, math_force_eval): Remove.
52179 (libc_feholdexcept): Remove.
52180 (libc_feholdexcept_setround): Remove.
52181 (libc_fetestexcept, libc_fesetenv): Remove.
52182 (libc_feupdateenv_test): Remove.
52183 (libc_feupdateenv, libc_feholdsetround): Remove.
52184 (libc_feresetround): Remove.
52186 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
52187 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
52189 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
52190 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
52191 (libc_feupdateenv_testl): New.
52192 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
52193 (libc_feupdateenv_testf): New.
52194 (libc_feupdateenv): Use libc_feupdateenv_test.
52195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
52196 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
52198 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
52199 (libc_feholdsetroundf, libc_feholdsetroundl): New.
52200 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
52201 (libc_feresetround_noex): New.
52202 (libc_feresetround_noexf): New.
52203 (libc_feresetround_noexl): New.
52204 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
52205 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
52206 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
52207 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
52209 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52210 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
52212 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
52213 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
52214 SET_RESTORE_ROUND_NOEX.
52215 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
52216 SET_RESTORE_ROUND_NOEXF.
52217 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
52218 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
52219 (libc_feholdsetroundf): New.
52220 (libc_feresetround, libc_feresetroundf): New.
52222 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
52223 (libc_feholdexcept_setround_53bit): Convert from macro to function.
52224 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
52226 * sysdeps/generic/math_private.h: Include <fenv.h>.
52227 (default_libc_feholdexcept): New.
52228 (default_libc_feholdexcept_setround): New.
52229 (default_libc_fesetenv, default_libc_feupdateenv): New.
52230 (libc_feholdexcept): Only define if undefined.
52231 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
52232 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
52233 (libc_feholdexcept_setroundl): Likewise.
52234 (libc_feholdexcept_setround_53bit): Likewise.
52235 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
52236 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
52237 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52238 (libc_feupdateenv_53bit): Likewise.
52239 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
52240 (libc_feholdexcept): Convert from macro to inline function.
52241 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
52242 (libc_fesetenv, libc_feupdateenv): Likewise.
52244 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
52245 not previously defined.
52246 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
52247 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
52248 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
52249 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
52250 * sysdeps/ieee754/flt-32/math_private.h: New file.
52251 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
52252 math_private.h below SET_FLOAT_WORD.
52253 (__isnan, __isinf_ns, __finite): Remove.
52254 (__isnanf, __isinf_nsf, __finitef): Remove.
52256 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
52258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52260 2012-03-17 David S. Miller <davem@davemloft.net>
52263 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
52266 2012-03-16 David S. Miller <davem@davemloft.net>
52268 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
52272 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
52274 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
52275 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
52276 sysdep_routines when subdir is sysvipc.
52277 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
52278 __getshmlba helper.
52280 * sysdeps/sparc/fpu/libm-test/ulps: Update.
52282 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52284 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
52287 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52289 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
52290 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
52291 (__lround): Renamed to ...
52292 (__llround): This. Replace long int with long long int.
52293 Define lround functions as aliases of llround functions.
52294 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
52296 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52298 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
52299 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
52300 adresses to uintptr_t. Replace "long int" and "unsigned long
52301 int" with "greg_t" on va_arg.
52303 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52305 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
52306 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
52308 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
52309 Move e_machine check before EI_CLASS check. Handle x32
52310 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
52311 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
52312 SKIP_EM_IA_64 and include
52313 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
52315 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
52316 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
52317 (add_system_dir): New macro.
52319 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
52320 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
52322 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52333 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
52335 * math/w_j0f.c (j0f): Likewise.
52337 * math/w_j0l.c (__j0l): Likewise.
52339 * math/w_j1.c (j1): Likewise.
52341 * math/w_j1f.c (j1f): Likewise.
52343 * math/w_j1l.c (__j1l): Likewise.
52345 * math/w_jn.c (jn): Likewise.
52347 * math/w_jnf.c (jnf): Likewise.
52349 * math/w_jnl.c (__jnl): Likewise.
52351 * math/libm-test.inc (j0_test): Add more tests.
52352 (j1_test): Likewise.
52353 (jn_test): Likewise. Add trailing semicolon to existing test.
52354 (y0_test): Likewise.
52355 (y1_test): Likewise.
52356 * sysdeps/i386/fpu/libm-test-ulps: Update.
52357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52361 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
52362 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
52363 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
52364 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
52365 (__tanl): Set errno for infinite argument.
52366 * sysdeps/i386/fpu/mptan.c: Remove.
52367 * sysdeps/i386/fpu/s_tan.S: Likewise.
52368 * sysdeps/i386/fpu/s_tanl.S: Likewise.
52369 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
52370 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
52371 * math/libm-test.inc (tan_test): Add more tests and enable more
52372 tests for double and long double.
52373 * sysdeps/i386/fpu/libm-test-ulps: Update.
52374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52376 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
52378 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
52379 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
52381 2012-03-16 Roland McGrath <roland@hack.frob.com>
52383 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
52384 * configure.in: Use it for both main tree and add-ons.
52385 * configure: Regenerated.
52387 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
52389 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
52391 2012-03-16 Joseph Myers <joseph@codesourcery.com>
52393 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
52397 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
52398 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
52399 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
52400 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
52401 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
52403 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
52404 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
52405 != 0 for prec == 2.
52406 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
52407 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
52408 * sysdeps/i386/fpu/s_cosl.S: Likewise.
52409 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
52410 * sysdeps/i386/fpu/s_sinl.S: Likewise.
52411 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
52412 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
52413 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
52414 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
52415 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
52416 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
52417 * math/libm-test.inc (cos_test): Add more tests and enable more
52418 tests for long double.
52419 (sin_test): Likewise.
52420 (sincos_test): Likewise.
52421 * sysdeps/i386/fpu/libm-test-ulps: Update.
52422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52424 2012-03-16 David S. Miller <davem@davemloft.net>
52426 * sysdeps/sparc/fpu/math_private.h: New file.
52428 2012-03-15 David S. Miller <davem@davemloft.net>
52430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
52432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
52433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
52435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
52436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
52437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
52438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
52439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
52440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
52442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52444 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
52445 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
52447 * sysdeps/sparc/sparc-ifunc.h: New file.
52448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
52450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
52451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
52453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
52455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
52456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
52457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
52460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
52462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
52466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
52468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
52470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
52471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
52472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
52473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
52474 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
52475 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
52476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
52477 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
52478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
52479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
52480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
52481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
52482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
52483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
52484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
52485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
52486 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
52487 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
52488 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
52489 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
52490 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
52491 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
52493 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52495 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
52497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52499 2012-03-15 Andreas Jaeger <aj@suse.de>
52502 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
52503 ieee754/flt-32 implementation for sin, cos and sincos.
52504 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
52505 * sysdeps/i386/fpu/s_cosf.S: Likewise.
52506 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
52507 * sysdeps/i386/fpu/s_sinf.S: Likewise.
52508 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
52509 ieee754/flt-32 implementation for tan.
52511 * math/libm-test.inc (cos_test): Enable some large input tests for
52513 (sin_test): Likewise.
52514 (sincos_test): Likewise.
52515 (tan_test): Add tests for large input.
52517 * sysdeps/i386/fpu/libm-test-ulps: Update.
52519 2012-03-15 Andreas Jaeger <aj@suse.de>
52522 * math/libm-test.inc (cos_test): Add more test cases.
52523 (sin_test): Likewise.
52524 (sincos_test): Likewise.
52526 2012-03-15 Andreas Jaeger <aj@suse.de>
52529 * math/libm-test.inc (cos_test): Add a test case for large input
52531 (sin_test): Likewise.
52532 (sincos_test): Likewise.
52534 2012-03-15 Andreas Jaeger <aj@suse.de>
52535 Joseph Myers <joseph@codesourcery.com>
52538 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
52539 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
52540 * sysdeps/i386/fpu/branred.c: Likewise.
52541 * sysdeps/i386/fpu/dosincos.c: Likewise.
52542 * sysdeps/i386/fpu/mpa.c: Likewise.
52543 * sysdeps/i386/fpu/s_cos.S: Likewise.
52544 * sysdeps/i386/fpu/s_sin.S: Likewise.
52545 * sysdeps/i386/fpu/s_sincos.S: Likewise.
52546 * sysdeps/i386/fpu/sincos32.c: Likewise.
52548 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52550 (libc_feupdateenv_53bit): Define.
52551 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52553 (libc_feupdateenv_53bit): Define.
52555 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52556 53 bit (without extend i386 double precision).
52558 * math/libm-test.inc (sincos_test): Add tests for large input.
52562 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52564 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
52566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52568 2012-03-15 David S. Miller <davem@davemloft.net>
52570 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52571 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52572 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52573 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52597 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52598 fmin/fmax sysdep routines.
52599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52601 2012-03-14 David S. Miller <davem@davemloft.net>
52603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52604 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52605 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52607 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52608 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52609 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52610 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52615 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52622 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52623 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52624 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52625 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52626 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52627 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52628 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52629 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52630 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52631 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52675 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52680 * sysdeps/sparc/configure.in: New file.
52681 * sysdeps/sparc/configure: Generate.
52682 * configure.in (libc_cv_sparc_as_vis3): Substitute.
52683 * configure: Regenerate.
52684 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52685 * config.make.in (have-as-vis3): New.
52686 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52687 available use -Av9d instead of -Av9a.
52688 * sysdeps/sparc/sparc64/Makefile: Likewise.
52689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52698 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52699 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52700 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52701 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52702 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52704 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52705 fzeros/fnegs to load 0x80000000 into a float register instead of
52707 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52709 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52713 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52714 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52715 ($(inst_includedir)/bits/syscall.h): Remove rule.
52716 ($(objpfx)bits/syscall.d): Include instead of
52717 $(objpfx)syscall-list.d.
52718 (generated): Change syscall-list.h and syscall-list.d to
52719 bits/syscall.h and bits/syscall.d.
52721 2012-03-14 Roland McGrath <roland@hack.frob.com>
52724 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52726 2012-03-14 Joseph Myers <joseph@codesourcery.com>
52729 * math/s_csqrt.c: Include <float.h>.
52730 (__csqrt): Scale large or subnormal inputs.
52731 * math/s_csqrtf.c: Likewise.
52732 * math/s_csqrtl.c: Likewise.
52733 * math/libm-test.inc (csqrt_test): Add more tests.
52734 * sysdeps/i386/fpu/libm-test-ulps: Update.
52735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52738 * math/libm-test.inc (hypot_test): Add more tests.
52740 2012-03-13 David S. Miller <davem@davemloft.net>
52743 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52744 double-precision for the calculation instead of scaling.
52746 2012-03-13 Joseph Myers <joseph@codesourcery.com>
52748 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52749 manipulate bits before adding and subtracting TWO52[sx].
52750 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52751 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52753 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52755 2012-03-13 David S. Miller <davem@davemloft.net>
52757 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52758 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52759 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52760 rtld-global-offsets.h
52761 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52763 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52766 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52768 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52769 'err' in the ifdef scope in which it is actually used.
52771 * nss/nss_db/db-init.c: Include string.h
52773 2012-03-12 David S. Miller <davem@davemloft.net>
52775 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52776 masking out of the most significant byte of random value used.
52777 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52778 Fix coding style in previous change.
52780 * sysdeps/unix/sysv/linux/kernel-features.h
52781 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52782 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52784 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52787 2012-03-11 David S. Miller <davem@davemloft.net>
52789 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52790 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52791 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52792 for 'resultvar' otherwise things get truncated on 64-bit.
52794 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52795 Fix masking out of the most significant byte of random value used.
52797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52799 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
52801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52803 2012-03-09 David S. Miller <davem@davemloft.net>
52805 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52806 variables with appropriate CPP guards.
52807 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52808 from the frame pointer, not the stack pointer. Correct layout
52809 comments. Fix test on resulting framesize and the management of
52810 the outregs buffer for pltexit. Preserve floating point return
52811 values across _dl_call_pltexit call.
52812 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52813 framesize and the management of the outregs buffer for pltexit.
52814 Preserve floating point return values across _dl_call_pltexit
52816 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52817 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52818 (la_sparc64_gnu_pltexit): New functions.
52819 (print_exit): Fix format string for return register value.
52821 2012-03-10 Joseph Myers <joseph@codesourcery.com>
52823 * sunrpc/Makefile (others): Add rpcgen.
52824 ($(objpfx)rpcgen): Remove special build rule and dependency on
52826 * sunrpc/rpcgen.c: New file.
52828 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
52831 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52832 * stdio-common/bug-vfprintf-nargs.c: Likewise.
52833 * sysdeps/i386/crti.S: Likewise.
52834 * sysdeps/i386/crtn.S: Likewise.
52835 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52836 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52837 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52838 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52839 * sysdeps/sh/crti.S: Likewise.
52840 * sysdeps/sh/crtn.S: Likewise.
52841 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52844 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52846 * locale/programs/locfile-kw.gperf: Likewise.
52847 * locale/programs/charmap-kw.h: Regenerated.
52848 * locale/programs/locfile-kw.h: Likewise.
52851 * intl/plural.y: Replace FSF snail mail address with URL.
52852 * intl/plural.c: Regenerated.
52854 2012-03-09 Richard Henderson <rth@twiddle.net>
52856 * include/math_private.h: Remove file.
52857 * math/math_private.h: Move file ...
52858 * sysdeps/generic/math_private.h: ... here.
52860 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52861 * sysdeps/powerpc/fpu/math_private.h: Likewise.
52862 * sysdeps/x86_64/fpu/math_private.h: Likewise.
52864 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52865 and <math_private.h>.
52866 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52867 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52868 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52869 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52870 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52871 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52872 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52873 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52874 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52875 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52876 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52877 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52878 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52879 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52880 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52881 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52882 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52883 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52884 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52885 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52886 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52887 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52888 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52890 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52891 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52892 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52893 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52895 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52896 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52897 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52898 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52899 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52900 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52901 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52902 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52903 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52904 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52905 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52906 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52907 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52908 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52909 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52910 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52911 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52912 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52913 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52914 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52915 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52916 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52917 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52918 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52919 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52920 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52921 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52922 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52923 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52924 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52925 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52926 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52927 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52928 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52929 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52930 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52931 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52932 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52933 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52934 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52935 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52936 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52937 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52938 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52939 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52940 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52941 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52942 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52943 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52944 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52945 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52946 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52947 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52948 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52949 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52950 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52951 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52953 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52954 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52955 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52956 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52957 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52958 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52959 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52960 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52961 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52962 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52963 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52964 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52965 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52966 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52967 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52968 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52969 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52970 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52971 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52972 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52973 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52974 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52975 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52976 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52977 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52978 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52979 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52980 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52981 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52982 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52983 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52984 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52985 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52986 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52987 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52988 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52989 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52990 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52991 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52992 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52993 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52994 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52995 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52996 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52997 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52998 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52999 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
53000 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
53001 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53002 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53003 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53004 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
53005 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53006 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53007 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53008 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53009 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
53010 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
53011 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53012 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53013 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53014 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
53015 * sysdeps/ieee754/k_standard.c: Likewise.
53016 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53017 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53018 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53019 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53020 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53021 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53022 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53023 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53024 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53025 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53026 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53027 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53028 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53029 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53030 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53031 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53032 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
53033 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53034 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53035 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
53036 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
53037 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
53038 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53039 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53040 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
53041 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
53042 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53043 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53044 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53045 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53046 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
53047 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53048 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53049 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53050 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
53051 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53052 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53053 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
53054 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
53055 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53056 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
53057 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
53058 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
53059 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53060 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
53061 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
53062 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53063 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53064 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53065 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53066 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53067 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
53068 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53069 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
53070 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53071 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53072 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
53073 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
53074 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53075 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53076 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53077 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
53078 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53079 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53080 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53081 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53082 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53083 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53084 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53085 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53086 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53087 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53088 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53089 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53090 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53091 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53092 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
53093 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53094 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53095 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
53096 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
53097 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
53098 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53099 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53100 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
53101 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53102 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53103 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
53104 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53105 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53106 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
53107 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53108 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
53109 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
53110 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53111 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53112 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
53113 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
53114 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
53115 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
53116 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53117 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53118 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53119 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53120 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
53121 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53122 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53123 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
53124 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
53125 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53126 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53127 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53128 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53129 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53130 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53131 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53132 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53133 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53134 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53135 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53136 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53137 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53138 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53139 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53140 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53141 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
53142 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53143 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53144 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53145 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53146 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53147 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53148 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53149 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53150 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53151 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53152 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
53153 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53154 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53155 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
53156 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
53157 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53158 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
53159 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
53160 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53161 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53162 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53163 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53164 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53165 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
53166 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53167 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53168 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53169 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53170 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
53171 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
53172 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53173 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53174 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53175 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53176 * sysdeps/ieee754/s_lib_version.c: Likewise.
53177 * sysdeps/ieee754/s_matherr.c: Likewise.
53178 * sysdeps/ieee754/s_signgam.c: Likewise.
53179 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53180 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53181 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
53182 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
53183 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
53184 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53185 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
53186 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
53187 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
53188 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
53189 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
53190 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
53191 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53192 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53193 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
53194 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
53195 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
53196 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
53197 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
53198 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53199 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53201 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53203 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
53204 * sunrpc/rpc_main.c: Likewise.
53205 * sunrpc/rpc_svcout.c: Likewise.
53207 2012-03-09 David S. Miller <davem@davemloft.net>
53209 * include/math_private.h: New file.
53211 2012-03-09 Joseph Myers <joseph@codesourcery.com>
53213 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
53214 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
53215 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
53216 from <bits/socket_type.h>.
53217 (enum __socket_type): Don't define here.
53218 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
53219 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53220 bits/socket_type.h.
53223 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
53224 checking __USE_GNU.
53226 * Makerules ($(inst_includedir)/%.h): New rule.
53227 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
53228 (install-others): Remove variable setting.
53229 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
53231 2012-03-08 Richard Henderson <rth@twiddle.net>
53233 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
53234 from macro to inline function; merge with the
53235 !__LIBC_INTERNAL_MATH_INLINES version.
53236 (__ieee754_sqrtf): Likewise.
53238 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
53239 to inline function.
53240 (__rintf, __floor, __floorf): Likewise.
53242 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
53243 macro to inline function.
53244 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
53246 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
53247 not <math/math_private.h>.
53249 2012-03-08 David S. Miller <davem@davemloft.net>
53251 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
53253 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
53255 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
53257 * resolv/gai_misc.c (handle_requests): Fix struct timespec
53259 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
53260 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
53262 2012-03-08 Ulrich Drepper <drepper@gmail.com>
53264 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
53265 be defined individually, they must be defined as a block. Define
53266 S for printing a string instead of hidint the different by using a
53267 macro for adding the 'l'.
53268 * stdio-common/tst-fphex-wide.c: Adjust.
53270 2012-03-07 Marek Polacek <polacek@redhat.com>
53272 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
53274 2012-03-08 Marek Polacek <polacek@redhat.com>
53277 * stdio-common/Makefile (tests): Add tst-fphex-wide.
53278 * stdio-common/tst-fphex.c: Define a few macros to make the
53279 test reusable. Use them.
53280 * stdio-common/tst-fphex-wide.c: New file.
53282 2012-03-08 Joseph Myers <joseph@codesourcery.com>
53285 * manual/macros.texi (gnusystems): New macro.
53286 (nongnusystems): Likewise.
53287 (gnulinuxhurdsystems): Likewise.
53288 (gnuhurdsystems): Likewise..
53289 (gnulinuxsystems): Likewise.
53290 * manual/charset.texi: Use new macros or @theglibc{} to refer to
53291 variants of the GNU system, not "GNU system".
53292 * manual/conf.texi: Likewise.
53293 * manual/errno.texi: Likewise. Update example of errno macro
53295 * manual/filesys.texi: Likewise.
53296 (getumask): Document as specific to GNU/Hurd.
53297 * manual/install.texi: Likewise. Reword some references to
53299 * manual/intro.texi: Likewise.
53300 * manual/io.texi: Likewise.
53301 (File Name Portability): Detail which constraints are inapplicable
53302 to all GNU systems and which are only inapplicable to GNU/Hurd.
53303 * manual/job.texi: Likewise.
53304 * manual/llio.texi: Likewise.
53305 (O_NOCTTY): Document as present on GNU/Linux.
53306 * manual/maint.texi: Likewise.
53307 * manual/memory.texi: Likewise.
53308 * manual/pattern.texi: Likewise.
53309 * manual/pipe.texi: Likewise.
53310 * manual/process.texi: Likewise.
53311 * manual/resource.texi: Likewise.
53312 (RUSAGE_CHILDREN): Remove statement about specifying a particular
53314 * manual/setjmp.texi: Likewise.
53315 * manual/signal.texi: Likewise.
53316 * manual/startup.texi: Likewise.
53317 * manual/stdio.texi: Likewise.
53318 * manual/terminal.texi: Likewise.
53319 (ONLCR): Document as POSIX.
53320 (OXTABS): Document availability on GNU/Linux as XTABS.
53321 (ONOEOT): Document availability separately from other bits.
53322 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
53323 * manual/time.texi: Likewise.
53324 * manual/users.texi: Likewise.
53325 * INSTALL: Regenerated.
53326 * sysdeps/gnu/errlist.c: Regenerated.
53328 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
53329 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
53330 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
53332 * configure: Regenerated.
53334 2012-03-07 Joseph Myers <joseph@codesourcery.com>
53336 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
53337 default includes instead of AC_HEADER_CHECK.
53338 * sysdeps/i386/configure: Regenerated.
53341 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
53342 * math/s_cacoshf.c (__cacoshf): Likewise.
53343 * math/s_cacoshl.c (__cacoshl): Likewise.
53344 * math/s_casinh.c (__casinh): Set signs of result from argument.
53345 * math/s_casinhf.c (__casinhf): Likewise.
53346 * math/s_casinhl.c (__casinhl): Likewise.
53347 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
53348 (casinh_test): Add more tests.
53349 * sysdeps/i386/fpu/libm-test-ulps: Update.
53350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53352 2012-03-07 Ulrich Drepper <drepper@gmail.com>
53354 * po/zh_TW.po: Update from translation team.
53356 * login/Makefile (distribute): Remove variable.
53357 * catgets/Makefile: Likewise.
53358 * mach/Makefile: Likewise.
53359 * malloc/Makefile: Likewise.
53360 * misc/Makefile: Likewise.
53361 * iconv/Makefile: Likewise.
53362 * nscd/Makefile: Likewise.
53363 * hurd/Makefile: Likewise.
53364 * manual/Makefile: Likewise.
53365 * locale/Makefile: Likewise.
53366 * intl/Makefile: Likewise.
53367 * conform/Makefile: Likewise.
53368 * nss/Makefile: Likewise.
53369 * time/Makefile: Likewise.
53370 * soft-fp/Makefile: Likewise.
53371 * dirent/Makefile: Likewise.
53372 * gmon/Makefile: Likewise.
53373 * po/Makefile: Likewise.
53374 * rt/Makefile: Likewise.
53375 * socket/Makefile: Likewise.
53376 * math/Makefile: Likewise.
53377 * signal/Makefile: Likewise.
53378 * debug/Makefile: Likewise.
53379 * elf/Makefile: Likewise.
53380 * timezone/Makefile: Likewise.
53381 * stdlib/Makefile: Likewise.
53382 * iconvdata/Makefile: Likewise.
53383 * sunrpc/Makefile: Likewise.
53384 * io/Makefile: Likewise.
53385 * argp/Makefile: Likewise.
53386 * inet/Makefile: Likewise.
53387 * hesiod/Makefile: Likewise.
53388 * grp/Makefile: Likewise.
53389 * csu/Makefile: Likewise.
53390 * wctype/Makefile: Likewise.
53391 * crypt/Makefile: Likewise.
53392 * libio/Makefile: Likewise.
53393 * string/Makefile: Likewise.
53394 * nis/Makefile: Likewise.
53395 * resolv/Makefile: Likewise.
53396 * stdio-common/Makefile: Likewise.
53397 * wcsmbs/Makefile: Likewise.
53398 * dlfcn/Makefile: Likewise.
53399 * posix/Makefile: Likewise.
53402 * timezone/Makefile: Don't install timezone files, just the programs
53405 2012-03-06 Ulrich Drepper <drepper@gmail.com>
53407 * nss/databases.def: Add missing gshadow entry.
53409 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
53411 2012-03-06 Marek Polacek <polacek@redhat.com>
53414 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
53415 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
53416 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
53417 * stdio-common/tst-long-dbl-fphex.c: New file.
53419 2012-03-06 David S. Miller <davem@davemloft.net>
53421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53422 (set_obp_int): New function.
53423 (get_obp_int): New function.
53424 (__get_clockfreq_via_dev_openprom): Likewise.
53425 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
53426 Avoid unused variable warnings on 'val' and use builtin_expect.
53427 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
53429 (INLINE_CLONE_SYSCALL): Likewise.
53431 2012-03-05 David S. Miller <davem@davemloft.net>
53433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53435 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
53437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53439 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
53440 only for |x| >= 40.
53441 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53443 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
53445 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
53446 Replace gettimeofday with __vdso_gettimeofday.
53448 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53449 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
53450 __vdso_clock_gettime and __vdso_getcpu.
53452 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
53453 time with __vdso_time.
53455 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53457 * manual/lang.texi (size_t): Note types to which size_t may be
53458 equivalent with the GNU C Library, but do not describe when
53459 differences between them are significant.
53461 2012-03-05 Andreas Jaeger <aj@suse.de>
53463 * sysdeps/i386/fpu/libm-test-ulps: Update.
53465 2012-03-05 Joseph Myers <joseph@codesourcery.com>
53468 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
53469 (__ieee754_pow): Save and restore rounding mode and use
53470 round-to-nearest for main computations.
53471 * math/libm-test.inc (pow_test_tonearest): New function.
53472 (pow_test_towardzero): Likewise.
53473 (pow_test_downward): Likewise.
53474 (pow_test_upward): Likewise.
53475 (main): Call the new functions.
53476 * sysdeps/i386/fpu/libm-test-ulps: Update.
53477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53480 * math/libm-test.inc (cosh_test_tonearest): New function.
53481 (cosh_test_towardzero): Likewise.
53482 (cosh_test_downward): Likewise.
53483 (cosh_test_upward): Likewise.
53484 (sinh_test_tonearest): Likewise.
53485 (sinh_test_towardzero): Likewise.
53486 (sinh_test_downward): Likewise.
53487 (sinh_test_upward): Likewise.
53488 (main): Call the new functions.
53489 * sysdeps/i386/fpu/libm-test-ulps: Update.
53490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53492 2012-03-05 Tom de Vries <tom@codesourcery.com>
53494 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
53495 default stack guard is set in last bytes.
53496 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
53498 2012-03-05 Kees Cook <keescook@chromium.org>
53500 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
53503 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
53504 possibly allocate from heap instead of stack.
53505 * stdio-common/bug-vfprintf-nargs.c: New file.
53506 * stdio-common/Makefile (tests): Add nargs overflow test.
53508 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
53510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53512 2012-03-03 Marek Polacek <polacek@redhat.com>
53514 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
53515 * math/math_private.h: Likewise.
53516 * stdlib/tst-strtod.c: Likewise.
53517 * sysdeps/i386/i486/bits/atomic.h: Likewise.
53518 * sysdeps/x86_64/bits/atomic.h: Likewise.
53520 2012-03-02 David S. Miller <davem@davemloft.net>
53522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
53523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
53524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
53525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
53526 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
53527 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
53528 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
53529 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
53531 2012-03-02 Roland McGrath <roland@hack.frob.com>
53534 * manual/examples/README: New file, says the example source files
53535 can be used under GPL>=2.
53536 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
53537 line containing just "*/".
53538 * manual/examples/add.c: Add copyright header (GPL>=2).
53539 * manual/examples/argp-ex1.c: Likewise.
53540 * manual/examples/argp-ex2.c: Likewise.
53541 * manual/examples/argp-ex3.c: Likewise.
53542 * manual/examples/argp-ex4.c: Likewise.
53543 * manual/examples/atexit.c: Likewise.
53544 * manual/examples/db.c: Likewise.
53545 * manual/examples/dir.c: Likewise.
53546 * manual/examples/dir2.c: Likewise.
53547 * manual/examples/execinfo.c: Likewise.
53548 * manual/examples/filecli.c: Likewise.
53549 * manual/examples/filesrv.c: Likewise.
53550 * manual/examples/fmtmsgexpl.c: Likewise.
53551 * manual/examples/genpass.c: Likewise.
53552 * manual/examples/inetcli.c: Likewise.
53553 * manual/examples/inetsrv.c: Likewise.
53554 * manual/examples/isockad.c: Likewise.
53555 * manual/examples/longopt.c: Likewise.
53556 * manual/examples/memopen.c: Likewise.
53557 * manual/examples/memstrm.c: Likewise.
53558 * manual/examples/mkfsock.c: Likewise.
53559 * manual/examples/mkisock.c: Likewise.
53560 * manual/examples/mygetpass.c: Likewise.
53561 * manual/examples/pipe.c: Likewise.
53562 * manual/examples/popen.c: Likewise.
53563 * manual/examples/rprintf.c: Likewise.
53564 * manual/examples/search.c: Likewise.
53565 * manual/examples/select.c: Likewise.
53566 * manual/examples/setjmp.c: Likewise.
53567 * manual/examples/sigh1.c: Likewise.
53568 * manual/examples/sigusr.c: Likewise.
53569 * manual/examples/stpcpy.c: Likewise.
53570 * manual/examples/strdupa.c: Likewise.
53571 * manual/examples/strftim.c: Likewise.
53572 * manual/examples/strncat.c: Likewise.
53573 * manual/examples/subopt.c: Likewise.
53574 * manual/examples/swapcontext.c: Likewise.
53575 * manual/examples/termios.c: Likewise.
53576 * manual/examples/testopt.c: Likewise.
53577 * manual/examples/testpass.c: Likewise.
53578 * manual/examples/timeval_subtract.c: Likewise.
53581 * manual/time.texi (Elapsed Time): Move timeval_subtract example
53583 * manual/timeval_subtract.c.texi: ... here, new file.
53585 2012-03-02 David S. Miller <davem@davemloft.net>
53587 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53589 2012-03-02 Joseph Myers <joseph@codesourcery.com>
53592 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53593 (__sin): Save and restore rounding mode and use round-to-nearest
53594 for all computations.
53595 (__cos): Save and restore rounding mode and use round-to-nearest
53596 for all computations.
53597 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53599 (tan): Save and restore rounding mode and use round-to-nearest for
53601 * math/libm-test.inc (cos_test_tonearest): New function.
53602 (cos_test_towardzero): Likewise.
53603 (cos_test_downward): Likewise.
53604 (cos_test_upward): Likewise.
53605 (sin_test_tonearest): Likewise.
53606 (sin_test_towardzero): Likewise.
53607 (sin_test_downward): Likewise.
53608 (sin_test_upward): Likewise.
53609 (tan_test_tonearest): Likewise.
53610 (tan_test_towardzero): Likewise.
53611 (tan_test_downward): Likewise.
53612 (tan_test_upward): Likewise.
53613 (main): Call the new functions.
53614 * sysdeps/i386/fpu/libm-test-ulps: Update.
53615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53618 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53619 small n, then large n, before computing and testing k+n.
53620 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53621 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53625 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53626 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53627 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53628 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53629 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53630 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53631 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53632 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53633 * math/libm-test.inc (scalbn_test): Add more tests.
53634 (scalbln_test): Likewise.
53636 * manual/filesys.texi (mode_t): Describe constraints on size and
53637 signedness, not exact equivalence to a particular type.
53639 (ino64_t): Likewise.
53641 (nlink_t): Likewise.
53642 (blkcnt_t): Likewise.
53643 (blkcnt64_t): Likewise.
53644 * manual/llio.texi (off_t): Likewise.
53647 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53648 (__ieee754_exp): Save and restore rounding mode and use
53649 round-to-nearest for all computations.
53650 * math/libm-test.inc (exp_test_tonearest): New function.
53651 (exp_test_towardzero): Likewise.
53652 (exp_test_downward): Likewise.
53653 (exp_test_upward): Likewise.
53654 (main): Call the new functions.
53655 * sysdeps/i386/fpu/libm-test-ulps: Update.
53656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53658 2012-03-01 Chris Demetriou <cgd@google.com>
53660 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53661 have predictable order.
53663 2012-03-01 David S. Miller <davem@davemloft.net>
53665 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53667 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53668 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53669 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53670 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53672 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53673 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53674 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53676 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53677 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53678 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53679 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53680 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53684 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53685 * sysdeps/sparc/fpu/libm-test-ulps: to here.
53686 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53688 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53689 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53690 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53691 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53692 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53693 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53694 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53695 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53696 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53697 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53698 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53699 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53700 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53701 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53702 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53703 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53704 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53705 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53706 * sysdeps/sparc/elf/configure: Regenerated.
53708 2012-03-01 Joseph Myers <joseph@codesourcery.com>
53710 * configure.in (AS, LD): Require binutils 2.20 or later.
53711 * configure: Regenerated.
53712 * manual/install.texi (Tools for Compilation): Give binutils 2.20
53713 as required minimum version.
53714 * INSTALL: Regenerated.
53718 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53719 before squaring exponent.
53720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53721 bottom long double and 27 bits of top long double before squaring
53723 * math/libm-test.inc (erfc_test): Add more tests.
53724 * sysdeps/i386/fpu/libm-test-ulps: Update.
53725 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53728 2012-03-01 Kai Tietz <ktietz@redhat.com>
53730 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53731 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53732 containing bit-fields.
53733 * soft-fp/extended.h (_FP_UNION_E): Likewise.
53734 * soft-fp/single.h (_FP_UNION_S): Likewise.
53735 * soft-fp/double.h (_FP_UNION_D): Likewise.
53737 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53740 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53741 not include ../strcmp.S.
53742 [USE_AS_STRNCASECMP_L]: Likewise.
53743 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53744 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53745 * sysdeps/i386/i686/multiarch/strncase_l-c.c
53746 (__strncasecmp_l_ia32): Define as alias to
53747 __strncasecmp_l_nonascii.
53750 * math/libm-test.inc (expm1_test): Add test for bug 5794.
53751 * sysdeps/i386/fpu/libm-test-ulps: Update.
53752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53754 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53757 2012-02-29 Jeff Law <law@redhat.com>
53759 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53760 out of bounds read.
53762 2012-02-29 Marek Polacek <polacek@redhat.com>
53765 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53766 * elf/Makefile: Add rules to run tst-unused-dep.out.
53768 2012-02-28 David S. Miller <davem@davemloft.net>
53770 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53771 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53772 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53773 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53774 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53775 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53777 2012-02-29 Joseph Myers <joseph@codesourcery.com>
53779 * math/libm-test.inc (llround_test): Move one test from
53780 lround_test. Use TEST_f_L in moved test.
53781 (lround_test): Move misplaced test to llround_test. Add testcase
53784 2012-02-28 Ulrich Drepper <drepper@gmail.com>
53786 * sysdeps/x86_64/fpu/e_expf.S: New file.
53787 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53789 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
53792 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53793 of remain_len that may cause incomplete multi-byte character and
53795 * posix/bug-regex33.c: New file.
53796 * posix/Makefile (tests): Add bug-regex33.
53798 2012-02-28 Joseph Myers <joseph@codesourcery.com>
53800 * manual/macros.texi: New file.
53801 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53802 * manual/libc.texinfo: Include macros.texi.
53803 * manual/creatute.texi: Likewise.
53804 * manual/install.texi: Likewise.
53805 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53806 @glibcadj{} in references to the GNU C Library.
53807 * manual/charset.texi: Likewise.
53808 * manual/conf.texi: Likewise.
53809 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
53810 when not using those macros.
53811 * manual/creature.texi: Likewise.
53812 * manual/crypt.texi: Likewise.
53813 * manual/errno.texi: Likewise.
53814 * manual/filesys.texi: Likewise.
53815 * manual/header.texi: Likewise.
53816 * manual/install.texi: Likewise.
53817 * manual/intro.texi: Likewise.
53818 * manual/io.texi: Likewise.
53819 * manual/job.texi: Likewise.
53820 * manual/lang.texi: Likewise.
53821 * manual/libc.texiinfo: Likewise.
53822 * manual/llio.texi: Likewise.
53823 * manual/locale.texi: Likewise.
53824 * manual/maint.texi: Likewise.
53825 * manual/math.texi: Likewise.
53826 * manual/memory.texi: Likewise.
53827 * manual/message.texi: Likewise.
53828 * manual/nss.texi: Likewise.
53829 * manual/pattern.texi: Likewise.
53830 * manual/process.texi: Likewise.
53831 * manual/resource.texi: Likewise.
53832 * manual/search.texi: Likewise.
53833 * manual/setjmp.texi: Likewise.
53834 * manual/signal.texi: Likewise.
53835 * manual/socket.texi: Likewise.
53836 * manual/startup.texi: Likewise.
53837 * manual/stdio.texi: Likewise.
53838 * manual/string.texi: Likewise.
53839 * manual/sysinfo.texi: Likewise.
53840 * manual/syslog.texi: Likewise.
53841 * manual/terminal.texi: Likewise.
53842 * manual/time.texi: Likewise.
53843 * manual/users.texi: Likewise.
53844 * INSTALL: Regenerated.
53845 * NOTES: Regenerated.
53846 * sysdeps/gnu/errlist.c: Regenerated.
53848 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
53850 * include/dirent.h: Include <dirstream.h> before
53853 2012-02-28 David S. Miller <davem@davemloft.net>
53855 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53856 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53857 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53858 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53860 2012-02-27 David S. Miller <davem@davemloft.net>
53862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53864 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53865 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53868 frame pointer instead of stack pointer relative arg slot.
53869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53870 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53871 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53873 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
53876 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53878 2012-02-27 David S. Miller <davem@davemloft.net>
53880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53884 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53885 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53886 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53887 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53889 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53891 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53892 later. Allow versions 5-9.
53893 * configure: Regenerated.
53894 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53895 required minimum version and 4.6 as recommended version. Do not
53896 mention bugs in GCC 2.7 and 2.8.
53897 * INSTALL: Regenerated.
53899 2012-02-27 David S. Miller <davem@davemloft.net>
53901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53905 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53906 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53907 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53908 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53911 manipulate bits before adding and subtracting TWO112[sx].
53912 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53914 2012-02-27 Roland McGrath <roland@hack.frob.com>
53917 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53918 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53919 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53920 being in POSIX, because they are in 1003.1-2008.
53922 * rt/tst-aio.c: Include <fcntl.h>.
53923 * rt/tst-aio7.c: Likewise.
53924 * rt/tst-aio64.c: Likewise.
53926 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53928 2012-02-27 Joseph Myers <joseph@codesourcery.com>
53930 * manual/install.texi (--with-headers): Describe headers as
53931 interface headers, not private headers.
53932 (Specific advice for GNU/Linux systems): Describe use of headers
53933 from "make headers_install", not private headers from older
53935 * INSTALL: Regenerated.
53936 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53938 * sysdeps/unix/sysv/linux/configure: Regenerated.
53940 * manual/llio.texi (fclean): Remove documentation.
53942 * manual/Makefile (libc-texi-generated): New variable. Include
53944 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53945 $(libc-texi-generated), not duplicated list of files.
53946 (version.texi, stamp-version): New rules.
53947 (realclean): Remove $(libc-texi-generated), not individual files
53948 from that list. Do not remove dir-add.texinfo.
53949 * manual/libc.texinfo: Comment out uses of edition numbers and
53950 references to printed manual. Remove last-updated dates.
53951 (EDITION): Comment out.
53953 (VERSION, UPDATED): Remove.
53954 (version.texi): Include.
53956 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
53958 * sysdeps/posix/spawni.c: Include <signal.h>.
53959 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53960 * sysdeps/pthread/aio_fsync.c: Likewise.
53962 2012-02-26 Ulrich Drepper <drepper@gmail.com>
53964 * conform/Makefile (tests): Run only when not cross-compiling and
53965 when fast-check is not defined.
53967 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53968 * conform/data/limits.h-data: Fixes for POSIX2008.
53969 * conform/run-conformtest.sh: Run all tests.
53970 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53972 * include/bits/dlfcn.h: Likewise.
53973 * include/langinfo.h: Likewise.
53974 * include/monetary.h: Likewise.
53975 * include/sys/poll.h: Likewise.
53977 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53979 * posix/spawn.h: Define __need_sigset_t.
53980 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53981 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53982 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
53983 to get sigevent_t only.
53984 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53985 only for __USE_GNU.
53986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53987 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53988 process_vm_writev only for __USE_GNU.
53989 * termios/termios.h: Declare tcgetsid also for POSIX2008.
53991 * conform/Makefile: For now ignore errors from run-conformtest.
53992 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
53993 POSIX to avoid namespace pollution. Don't prepend headers.
53994 * conform/data/aio.h-data: Fixes for POSIX testing.
53995 * conform/data/fcntl.h-data: Likewise.
53996 * conform/data/glob.h-data: Likewise.
53997 * conform/data/grp.h-data: Likewise.
53998 * conform/data/pthread.h-data: Likewise.
53999 * conform/data/pwd.h-data: Likewise.
54000 * conform/data/signal.h-data: Likewise.
54001 * conform/data/spawn.h-data: Likewise.
54002 * conform/data/stdio.h-data: Likewise.
54003 * conform/data/stdlib.h-data: Likewise.
54004 * conform/data/stropts.h-data: Likewise.
54005 * conform/data/sys/mman.h-data: Likewise.
54006 * conform/data/sys/stat.h-data: Likewise.
54007 * conform/data/sys/types.h-data: Likewise.
54008 * conform/data/sys/wait.h-data: Likewise.
54009 * conform/data/time.h-data: Likewise.
54010 * conform/data/unistd.h-data: Likewise.
54011 * conform/data/utime.h-data: Likewise.
54013 * io/sys/stat.h: fchmod was always in POSIX.
54014 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
54015 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
54016 * rt/aio.h: Define __need_timespec before including <time.h>.
54017 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
54018 struct. Add forward declaration of pthread_attr_t and use it in
54020 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54021 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54022 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
54023 always remove CLK_TCK definition.
54025 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
54027 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
54029 2012-02-25 Ulrich Drepper <drepper@gmail.com>
54031 * conform/run-conformtest.sh: New file.
54032 * conform/Makefile: Run run-conformtest for tests.
54033 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
54036 * conform/data/uchar.h-data: New file.
54037 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
54038 * conform/data/arpa/inet.h-data: Likewise.
54039 * conform/data/assert.h-data: Likewise.
54040 * conform/data/complex.h-data: Likewise.
54041 * conform/data/cpio.h-data: Likewise.
54042 * conform/data/ctype.h-data: Likewise.
54043 * conform/data/dirent.h-data: Likewise.
54044 * conform/data/dlfcn.h-data: Likewise.
54045 * conform/data/errno.h-data: Likewise.
54046 * conform/data/fcntl.h-data: Likewise.
54047 * conform/data/float.h-data: Likewise.
54048 * conform/data/fmtmsg.h-data: Likewise.
54049 * conform/data/fnmatch.h-data: Likewise.
54050 * conform/data/ftw.h-data: Likewise.
54051 * conform/data/glob.h-data: Likewise.
54052 * conform/data/grp.h-data: Likewise.
54053 * conform/data/iconv.h-data: Likewise.
54054 * conform/data/inttypes.h-data: Likewise.
54055 * conform/data/langinfo.h-data: Likewise.
54056 * conform/data/libgen.h-data: Likewise.
54057 * conform/data/limits.h-data: Likewise.
54058 * conform/data/locale.h-data: Likewise.
54059 * conform/data/math.h-data: Likewise.
54060 * conform/data/monetary.h-data: Likewise.
54061 * conform/data/mqueue.h-data: Likewise.
54062 * conform/data/ndbm.h-data: Likewise.
54063 * conform/data/net/if.h-data: Likewise.
54064 * conform/data/netdb.h-data: Likewise.
54065 * conform/data/netinet/in.h-data: Likewise.
54066 * conform/data/nl_types.h-data: Likewise.
54067 * conform/data/poll.h-data: Likewise.
54068 * conform/data/pthread.h-data: Likewise.
54069 * conform/data/pwd.h-data: Likewise.
54070 * conform/data/regex.h-data: Likewise.
54071 * conform/data/sched.h-data: Likewise.
54072 * conform/data/search.h-data: Likewise.
54073 * conform/data/semaphore.h-data: Likewise.
54074 * conform/data/setjmp.h-data: Likewise.
54075 * conform/data/signal.h-data: Likewise.
54076 * conform/data/spawn.h-data: Likewise.
54077 * conform/data/stdarg.h-data: Likewise.
54078 * conform/data/stdio.h-data: Likewise.
54079 * conform/data/stdlib.h-data: Likewise.
54080 * conform/data/string.h-data: Likewise.
54081 * conform/data/strings.h-data: Likewise.
54082 * conform/data/stropts.h-data: Likewise.
54083 * conform/data/sys/ipc.h-data: Likewise.
54084 * conform/data/sys/mman.h-data: Likewise.
54085 * conform/data/sys/msg.h-data: Likewise.
54086 * conform/data/sys/resource.h-data: Likewise.
54087 * conform/data/sys/select.h-data: Likewise.
54088 * conform/data/sys/sem.h-data: Likewise.
54089 * conform/data/sys/shm.h-data: Likewise.
54090 * conform/data/sys/socket.h-data: Likewise.
54091 * conform/data/sys/stat.h-data: Likewise.
54092 * conform/data/sys/statvfs.h-data: Likewise.
54093 * conform/data/sys/time.h-data: Likewise.
54094 * conform/data/sys/timeb.h-data: Likewise.
54095 * conform/data/sys/times.h-data: Likewise.
54096 * conform/data/sys/types.h-data: Likewise.
54097 * conform/data/sys/uio.h-data: Likewise.
54098 * conform/data/sys/un.h-data: Likewise.
54099 * conform/data/sys/utsname.h-data: Likewise.
54100 * conform/data/sys/wait.h-data: Likewise.
54101 * conform/data/syslog.h-data: Likewise.
54102 * conform/data/tar.h-data: Likewise.
54103 * conform/data/termios.h-data: Likewise.
54104 * conform/data/utime.h-data: Likewise.
54105 * conform/data/utmpx.h-data: Likewise.
54106 * conform/data/varargs.h-data: Likewise.
54107 * conform/data/wchar.h-data: Likewise.
54108 * conform/data/wctype.h-data: Likewise.
54109 * conform/data/wordexp.h-data: Likewise.
54111 * include/stropts.h: New file.
54112 * include/uchar.h: New file.
54113 * include/aio.h: Changes to allow conformtest.pl to use the headers.
54114 * include/assert.h: Likewise.
54115 * include/ctype.h: Likewise.
54116 * include/dirent.h: Likewise.
54117 * include/dlfcn.h: Likewise.
54118 * include/fcntl.h: Likewise.
54119 * include/fnmatch.h: Likewise.
54120 * include/glob.h: Likewise.
54121 * include/grp.h: Likewise.
54122 * include/libio.h: Likewise.
54123 * include/locale.h: Likewise.
54124 * include/math.h: Likewise.
54125 * include/net/if.h: Likewise.
54126 * include/netdb.h: Likewise.
54127 * include/netinet/in.h: Likewise.
54128 * include/pthread.h: Likewise.
54129 * include/pwd.h: Likewise.
54130 * include/regex.h: Likewise.
54131 * include/sched.h: Likewise.
54132 * include/search.h: Likewise.
54133 * include/setjmp.h: Likewise.
54134 * include/signal.h: Likewise.
54135 * include/stdio.h: Likewise.
54136 * include/stdlib.h: Likewise.
54137 * include/string.h: Likewise.
54138 * include/sys/cdefs.h: Likewise.
54139 * include/sys/mman.h: Likewise.
54140 * include/sys/msg.h: Likewise.
54141 * include/sys/resource.h: Likewise.
54142 * include/sys/select.h: Likewise.
54143 * include/sys/socket.h: Likewise.
54144 * include/sys/stat.h: Likewise.
54145 * include/sys/statvfs.h: Likewise.
54146 * include/sys/time.h: Likewise.
54147 * include/sys/times.h: Likewise.
54148 * include/sys/uio.h: Likewise.
54149 * include/sys/utsname.h: Likewise.
54150 * include/sys/wait.h: Likewise.
54151 * include/termios.h: Likewise.
54152 * include/time.h: Likewise.
54153 * include/ulimit.h: Likewise.
54154 * include/unistd.h: Likewise.
54155 * include/utime.h: Likewise.
54156 * include/wchar.h: Likewise.
54157 * include/wctype.h: Likewise.
54158 * include/wordexp.h: Likewise.
54160 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
54162 * time/time.h: TIME_UTC must be a macro.
54163 Make timespec_get available for ISO C11 only as well.
54165 2012-02-24 Ulrich Drepper <drepper@gmail.com>
54167 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
54168 Reported by Peng Haitao <penght@cn.fujitsu.com>.
54170 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54172 * configure.in: Use -o not -a in test for unsupported multi-arch.
54174 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54176 * manual/texinfo.tex: Update to version 2012-01-19.16.
54178 2012-02-24 Joseph Myers <joseph@codesourcery.com>
54180 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
54182 2012-02-24 Roland McGrath <roland@hack.frob.com>
54185 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
54186 * manual/fdl-1.3.texi: New file.
54187 * manual/fdl-1.1.texi: File removed.
54190 * manual/libc.texinfo (FDL_VERSION): New @set.
54191 Use it for mention of FDL in cover text.
54192 (Documentation License): Use it in @include file name.
54194 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54195 Roland McGrath <roland@hack.frob.com>
54198 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
54199 (not LONG_LONG_MAX and LONG_LONG_MIN.
54200 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
54201 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
54203 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
54205 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54209 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
54210 manipulate bits before adding and subtracting TWO23[sx].
54211 * math/libm-test.inc (nearbyint_test): Add more tests.
54213 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54216 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
54217 bits before adding and subtracting TWO23[sx].
54218 * math/libm-test.inc (rint_test): Add more tests.
54219 (rint_test_tonearest): Likewise.
54220 (rint_test_towardzero): Likewise.
54221 (rint_test_downward): Likewise.
54222 (rint_test_upward: Likewise.
54224 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54227 * include/stdc-predef.h: New file. Extracted from features.h.
54228 * include/features.h: Include stdc-predef.h.
54229 * Makefile (headers): Add stdc-predef.h.
54230 * CONFORMANCE (Compiler limitations): Update.
54232 2012-02-22 Joseph Myers <joseph@codesourcery.com>
54234 * manual/libc.texinfo (VERSION, UPDATED): Revert.
54236 2012-02-21 David S. Miller <davem@davemloft.net>
54238 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
54239 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54241 2012-02-20 David S. Miller <davem@davemloft.net>
54243 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
54244 using a normal save/restore sequence, rather than allocating a
54245 dummy stack frame just to store a frame pointer and restore.
54246 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54248 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54250 * manual/install.texi: Fix stray word in line-wrapped comment.
54252 2012-02-20 David S. Miller <davem@davemloft.net>
54254 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
54255 both binutils and gcc support GOTDATA.
54257 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
54258 "rd %pc" in the PIC register setup sequences.
54260 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
54261 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
54262 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
54263 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
54264 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
54265 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54266 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54267 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
54268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
54269 (SYSCALL_ERROR_HANDLER): Likewise.
54270 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
54271 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
54273 (SYSCALL_ERROR_HANDLER): Likewise.
54275 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
54276 (HAVE_GCC_GOTDATA): New.
54277 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
54278 relocation support in both binutils and gcc.
54279 * sysdeps/sparc/elf/configure: Regenerate.
54281 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
54282 * sysdeps/sparc/sparc32/elf/configure: Delete.
54283 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
54284 * sysdeps/sparc/sparc64/elf/configure: Delete.
54285 * sysdeps/sparc/elf/configure.in: New file.
54286 * sysdeps/sparc/elf/configure: Generate.
54288 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
54289 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
54290 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54291 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
54292 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
54294 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54296 * manual/install.texi: Do not mention specific glibc version
54298 * manual/libc.texinfo (VERSION, UPDATED): Update.
54299 (@copying): Use @copyright{} and range of years.
54301 2012-02-21 Joseph Myers <joseph@codesourcery.com>
54304 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
54305 [crti.S not in sysdirs] (generated): Do not append.
54306 [crti.S not in sysdirs] (omit-deps): Likewise.
54307 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
54308 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
54309 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
54310 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
54311 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
54313 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
54314 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
54315 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
54316 * csu/defs.awk: Remove file.
54317 * sysdeps/generic/initfini.c: Likewise.
54318 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
54320 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
54323 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54325 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
54326 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
54327 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
54328 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
54329 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54330 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
54332 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
54333 (__EPOLL_PACKED): Define to empty if not defined by
54335 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
54336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54339 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54341 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
54342 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
54343 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
54344 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
54346 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
54347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54350 2012-02-20 Joseph Myers <joseph@codesourcery.com>
54352 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
54354 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54355 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
54356 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
54357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54359 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
54361 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54362 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
54364 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
54366 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
54367 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
54369 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
54371 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
54374 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
54376 * math/w_acos.c: Use non-signaling floating-point comparisons.
54377 * math/w_acosf.c: Likewise.
54378 * math/w_acosh.c: Likewise.
54379 * math/w_acoshf.c: Likewise.
54380 * math/w_acoshl.c: Likewise.
54381 * math/w_acosl.c: Likewise.
54382 * math/w_asin.c: Likewise.
54383 * math/w_asinf.c: Likewise.
54384 * math/w_asinl.c: Likewise.
54385 * math/w_atanh.c: Likewise.
54386 * math/w_atanhf.c: Likewise.
54387 * math/w_atanhl.c: Likewise.
54388 * math/w_exp2.c: Likewise.
54389 * math/w_exp2f.c: Likewise.
54390 * math/w_exp2l.c: Likewise.
54391 * math/w_j0.c: Likewise.
54392 * math/w_j0f.c: Likewise.
54393 * math/w_j0l.c: Likewise.
54394 * math/w_j1.c: Likewise.
54395 * math/w_j1f.c: Likewise.
54396 * math/w_j1l.c: Likewise.
54397 * math/w_jn.c: Likewise.
54398 * math/w_jnf.c: Likewise.
54399 * math/w_log.c: Likewise.
54400 * math/w_log10.c: Likewise.
54401 * math/w_log10f.c: Likewise.
54402 * math/w_log10l.c: Likewise.
54403 * math/w_log2.c: Likewise.
54404 * math/w_log2f.c: Likewise.
54405 * math/w_log2l.c: Likewise.
54406 * math/w_logf.c: Likewise.
54407 * math/w_logl.c: Likewise.
54408 * math/w_sqrt.c: Likewise.
54409 * math/w_sqrtf.c: Likewise.
54410 * math/w_sqrtl.c: Likewise.
54411 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54412 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
54413 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54414 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54415 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54417 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54420 * manual/string.texi (strnlen): Use correct parameter name in
54421 equivalent expression.
54423 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54426 * manual/users.texi (seteuid): Consistently use neweuid for
54429 2012-02-19 Joseph Myers <joseph@codesourcery.com>
54432 * manual/nss.texi (Services in the NSS configuration): Correct
54433 list of services in example configuration file.
54435 2012-02-19 Nick Bowler <nbowler@draconx.ca>
54438 * manual/arith.texi: Remove statements about negative zero
54439 behaving identically to zero.
54441 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54444 * manual/install.texi: Do not document upgrading from libc5.
54446 2012-02-18 Joseph Myers <joseph@codesourcery.com>
54449 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
54451 2012-02-18 David S. Miller <davem@davemloft.net>
54453 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
54454 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
54455 %o7 across the call.
54456 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
54458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
54459 SETUP_PIC_REG_LEAF.
54460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54461 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
54462 * sysdeps/sparc/crtn.S: Likewise.
54464 2012-02-17 Ulrich Drepper <drepper@gmail.com>
54466 * aout/Makefile: Remove.
54468 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
54471 * manual/examples/argp-ex1.c (main): Format definition in GNU
54473 * manual/examples/argp-ex2.c (main): Likewise.
54474 * manual/examples/argp-ex3.c (main): Likewise.
54475 * manual/examples/argp-ex4.c (main): Likewise.
54476 * manual/examples/longopt.c (main): Use new-style prototype
54478 * manual/examples/strncat.c (main): Specify return type and use
54479 (void) for arguments.
54480 * manual/examples/subopt.c (main): Use char **argv argument.
54482 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54485 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
54488 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
54491 * manual/string.texi (strchr): Change when strchrnul is
54494 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
54497 * manual/locale.texi (setlocale): Document LOCPATH.
54499 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54502 * manual/process.texi (execle): Move @dots{} before last argument.
54504 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
54507 * manual/charset.texi (Generic Charset Conversion): Fix typo
54508 (LC_TYPE -> LC_CTYPE).
54510 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
54513 * manual/arith.texi (scalbn): Use @var{} on parameter names.
54514 (scalbnf): Likewise.
54515 (scalbnl): Likewise.
54516 (scalbln): Likewise.
54517 (scalblnf): Likewise.
54518 (scalblnl): Likewise.
54519 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
54520 (vwarnx): Likewise.
54523 * manual/filesys.texi (telldir): Use braces around return type.
54524 * manual/llio.texi (mmap): Add space after comma.
54525 (mmap64): Likewise.
54526 * manual/math.texi (jn): Use @var{} on parameter names.
54532 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
54534 * manual/resource.texi (ulimit): Use @dots{} instead of literal
54536 (sched_get_priority_min): Remove semicolon on @deftypefun line.
54537 (sched_get_priority_max): Likewise.
54538 * manual/signal.texi (sigvec): Add space after comma.
54539 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
54541 (if_indextoname): Likewise.
54542 (if_freenameindex): Likewise.
54543 (sendto): Use ',' instead of '.' in prototype.
54544 * manual/startup.texi (syscall): Use @dots{} instead of literal
54546 * manual/stdio.texi (__fpending): Separate initial words of
54547 paragraph from @deftypefun line.
54548 * manual/syslog.texi (syslog): Use @dots{} instead of literal
54550 (vsyslog): Use @var{} on parameter names.
54551 * manual/terminal.texi (stty): Use @var{} on parameter names.
54552 * manual/users.texi (getutmp): Use @var{} on parameter names.
54553 (getutmpx): Likewise.
54555 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54558 * manual/stdio.texi (fopen): Fix typos in description of
54561 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
54564 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54565 get clock_id definition.
54567 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
54570 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54571 (madvise): Cast every argument to void on its own.
54573 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54576 * manual/startup.texi (Exit Status): Fix typo.
54578 2012-02-17 Joseph Myers <joseph@codesourcery.com>
54581 * manual/examples/argp-ex1.c: Include <stdlib.h>.
54582 * manual/examples/argp-ex2.c: Likewise.
54583 * manual/examples/argp-ex3.c: Likewise.
54585 2012-02-16 Richard Henderson <rth@redhat.com>
54587 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54588 * sysdeps/s390/s390-32/initfini.c: Remove.
54589 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54590 * sysdeps/s390/s390-64/initfini.c: Remove.
54592 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54594 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54595 compiler output for sysdeps/generic/initfini.c.
54596 * sysdeps/sh/elf/initfini.c: Remove file.
54598 2012-02-16 David S. Miller <davem@davemloft.net>
54601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54603 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54604 * sysdeps/sparc/crti.S: New file.
54605 * sysdeps/sparc/crtn.S: New file.
54606 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54607 * sysdeps/sparc/sparc64/Makefile: Likewise.
54609 2012-02-15 Mike Frysinger <vapier@gentoo.org>
54612 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54614 2012-02-15 Roland McGrath <roland@hack.frob.com>
54617 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54619 * mach/devstream.c (cookie_io_functions_t): Macro removed.
54620 (write, read, close): Likewise.
54621 Patch by Aurelien Jarno <aurelien@aurel32.net>.
54623 2012-02-15 Joseph Myers <joseph@codesourcery.com>
54625 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54626 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54627 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54628 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54630 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54634 2012-02-14 Marek Polacek <polacek@redhat.com>
54636 * sysdeps/x86_64/crti.S: New file.
54637 * sysdeps/x86_64/crtn.S: New file.
54638 * sysdeps/x86_64/elf/initfini.c: Remove file.
54640 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54642 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54643 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54644 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54645 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54647 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54651 2012-02-13 Joseph Myers <joseph@codesourcery.com>
54653 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54654 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54655 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54656 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54658 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54662 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
54664 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54665 __feraiseexcept instead of feraiseexcept.
54667 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54668 nanosleep invocations.
54669 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54670 strings, and add error checking for a nanosleep invocations.
54672 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
54674 Replace FSF snail mail address with URLs, as per GNU coding standards.
54675 Most of the snail mail addresses were wrong anyway, and omitting
54676 them makes the source code easier to maintain. Almost all of the
54677 changes are to license notices and to locale LC_IDENTIFICATION
54678 addresses, except for this one:
54679 * manual/libc.texinfo: In "Published by", give the FSF's URL,
54680 not its snail mail address.
54682 2012-02-09 Richard Henderson <rth@twiddle.net>
54684 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54685 of kernel-features.h.
54687 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54689 2012-02-08 Marek Polacek <polacek@redhat.com>
54691 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54692 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54693 * sysdeps/gnu/_G_config.h: Likewise.
54694 * sysdeps/generic/_G_config.h: Likewise.
54696 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
54698 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54702 * sysdeps/powerpc/powerpc32/crti.S: New file.
54703 * sysdeps/powerpc/powerpc32/crtn.S: New file.
54704 * sysdeps/powerpc/powerpc64/crti.S: New file.
54705 * sysdeps/powerpc/powerpc64/crtn.S: New file.
54707 * Makeconfig (have-initfini): Don't set.
54708 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54709 * configure.in (nopic_initfini): Don't substitute.
54710 * config.h.in (HAVE_INITFINI): Don't #undef.
54711 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54712 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54714 2012-02-08 Joseph Myers <joseph@codesourcery.com>
54716 Support crti.S and crtn.S provided directly by architectures.
54717 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54718 [crti.S in sysdirs] (omit-deps): Likewise.
54719 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54720 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54721 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54722 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54723 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54724 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54725 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54726 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54727 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54728 compiler output for sysdeps/generic/initfini.c.
54729 * sysdeps/i386/elf/Makefile: Remove file.
54730 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54732 2012-02-07 Marek Polacek <polacek@redhat.com>
54734 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54735 * sysdeps/gnu/_G_config.h: Likewise.
54736 * sysdeps/mach/hurd/_G_config.h: Likewise.
54738 2012-02-07 Marek Polacek <polacek@redhat.com>
54740 * math/Makefile (tests): Add tst-CMPLX2.
54741 * math/tst-CMPLX2.c: New file.
54743 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
54745 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54747 * math/libm-test.inc (jn_test): Add missing L suffix.
54749 2012-02-06 Marek Polacek <polacek@redhat.com>
54751 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54752 * sysdeps/i386/fpu/e_powf.S: Likewise.
54753 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54754 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54755 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54756 * sysdeps/i386/fpu/e_pow.S: Likewise.
54757 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54758 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54759 * sysdeps/i386/fpu/s_expm1.S: Likewise.
54760 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54761 * sysdeps/i386/fpu/e_log2.S: Likewise.
54762 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54763 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54764 * sysdeps/i386/fpu/e_powl.S: Likewise.
54765 * sysdeps/i386/fpu/s_log1p.S: Likewise.
54766 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54767 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54768 * sysdeps/i386/fpu/e_logl.S: Likewise.
54769 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54770 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54771 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54772 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54773 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54774 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54775 * sysdeps/i386/fpu/e_log.S: Likewise.
54776 * sysdeps/i386/fpu/s_cexp.S: Likewise.
54777 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54778 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54779 * sysdeps/i386/fpu/e_logf.S: Likewise.
54780 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54781 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54782 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54783 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54784 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54785 * sysdeps/i386/fpu/e_log10.S: Likewise.
54786 * sysdeps/i386/fpu/s_frexp.S: Likewise.
54787 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54788 * sysdeps/i386/fpu/s_asinh.S: Likewise.
54789 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54790 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54791 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54792 * sysdeps/i386/asm-syntax.h: Likewise.
54793 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54794 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54795 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54796 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54797 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54798 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54799 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54800 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54801 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54802 * sysdeps/powerpc/sysdep.h: Likewise.
54803 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54804 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54806 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54809 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54811 2012-02-06 Joseph Myers <joseph@codesourcery.com>
54813 * sysdeps/i386/sysdep.h: Include <features.h>.
54814 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54817 2012-02-05 Joseph Myers <joseph@codesourcery.com>
54819 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54821 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54824 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54826 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54827 (SETUP_PIC_REG): Use GET_PC_THUNK.
54828 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54831 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54833 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54834 for non-PIC compilation.
54835 (SETUP_PIC_REG): Add .p2align directive.
54836 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54837 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54838 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54839 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54840 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54841 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54842 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54843 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54844 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54845 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54846 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54847 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54848 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54849 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54850 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54851 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54852 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54853 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54854 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54855 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54856 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54857 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54858 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54859 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54860 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54861 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54862 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54863 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54864 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54865 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54866 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54867 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54868 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54869 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54870 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54871 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54872 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54873 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54874 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54875 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54876 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54878 2012-02-03 Joseph Myers <joseph@codesourcery.com>
54880 * math/tst-CMPLX.c: Include <stdio.h>.
54882 2012-01-31 Joseph Myers <joseph@codesourcery.com>
54884 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54886 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54887 * sysdeps/sparc/bits/mathdef.h: Likewise.
54889 2012-01-31 Marek Polacek <polacek@redhat.com>
54891 * libio/libio.h: Don't define _PARAMS.
54892 * locale/programs/config.h: Don't define PARAMS.
54893 * stdlib/strtol_l.c: Likewise.
54894 (__strtol_l): Remove PARAMS from the prototype.
54896 2012-01-31 Ulrich Drepper <drepper@gmail.com>
54898 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
54899 names. Just use the correct names. Remove unnecessary wrapper
54901 * malloc/arena.c: Likewise.
54902 * malloc/hooks.c: Likewise.
54904 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54905 ARENA_TEST says not to. Simplify test for creation of a new arena.
54906 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54908 2012-01-30 Ulrich Drepper <drepper@gmail.com>
54910 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54912 (update_get_addr): New function.
54913 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54914 GET_ADDR_MODULE parameter.
54916 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54918 * crypt/cert.c: Remove __STDC__ conditionals.
54919 * crypt/crypt-entry.c: Likewise.
54920 * crypt/crypt_util.c: Likewise.
54921 * libio/filedoalloc.c: Likewise.
54922 * libio/fileops.c: Likewise.
54923 * libio/genops.c: Likewise.
54924 * libio/iofclose.c: Likewise.
54925 * libio/iofdopen.c: Likewise.
54926 * libio/iofopen.c: Likewise.
54927 * libio/iofopen64.c: Likewise.
54928 * libio/iogetdelim.c: Likewise.
54929 * libio/iopopen.c: Likewise.
54930 * libio/obprintf.c: Likewise.
54931 * libio/oldfileops.c: Likewise.
54932 * libio/oldiofclose.c: Likewise.
54933 * libio/oldiofdopen.c: Likewise.
54934 * libio/oldiofopen.c: Likewise.
54935 * libio/oldiopopen.c: Likewise.
54936 * libio/wfiledoalloc.c: Likewise.
54937 * libio/wgenops.c: Likewise.
54938 * locale/programs/xmalloc.c: Likewise.
54939 * misc/syslog.c: Likewise.
54940 * stdio-common/xbug.c: Likewise.
54941 * string/memchr.c: Likewise.
54942 * string/memcmp.c: Likewise.
54943 * string/memrchr.c: Likewise.
54944 * string/rawmemchr.c: Likewise.
54945 * sysdeps/posix/getcwd.c: Likewise.
54946 * time/strftime_l.c: Likewise.
54948 2012-01-30 Joseph Myers <joseph@codesourcery.com>
54950 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54951 * config.make.in (config-cflags-sse2avx): Define.
54952 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54955 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
54957 * scripts/config.guess: Update from upstream config git repository.
54958 * scripts/config.sub: Likewise.
54960 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
54962 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54964 (R_TILEPRO_*, R_TILEGX_*): New macros.
54966 * scripts/firstversions.awk: Fix bug in version range handling.
54968 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54970 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54972 * include/sys/epoll.h: New file.
54973 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54976 2012-01-28 Ulrich Drepper <drepper@gmail.com>
54978 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54979 Avoid unnecessary __WORDSIZE == 64 test.
54980 (fmaxf): Use VEX format if possible.
54985 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54986 * math/math_private.h: Remove libc_fegetround* and
54988 * sysdeps/i386/configure.in: Check for -msse2avx.
54989 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54990 also if SSE2AVX is defined.
54991 Remove libc_fegetround* and libc_fesetround*.
54992 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54993 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
54994 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54996 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54997 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54998 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54999 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55000 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55002 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
55004 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55006 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
55008 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55010 2012-01-27 Ulrich Drepper <drepper@gmail.com>
55013 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
55015 * Makeconfig (libm): Define.
55016 * elf/Makefile: Add rules to build and run tst-relsort1.
55017 * elf/tst-relsort1.c: New file.
55018 * elf/tst-relsort1mod1.c: New file.
55019 * elf/tst-relsort1mod2.c: New file.
55021 2012-01-27 Joseph Myers <joseph@codesourcery.com>
55023 * math/s_ldexp.c: Remove __STDC__ conditionals.
55024 * math/s_ldexpf.c: Likewise.
55025 * math/s_ldexpl.c: Likewise.
55026 * math/s_nextafter.c: Likewise.
55027 * math/s_nexttowardf.c: Likewise.
55028 * math/s_significand.c: Likewise.
55029 * math/s_significandf.c: Likewise.
55030 * math/s_significandl.c: Likewise.
55031 * math/w_jnl.c: Likewise.
55032 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55033 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55034 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55035 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55036 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55037 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55038 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
55039 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55040 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55041 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55042 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55043 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55044 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55045 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55046 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55047 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55048 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55049 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55050 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55051 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55052 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55053 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55054 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55055 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55056 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55057 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55058 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55059 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55060 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55061 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55062 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55063 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55064 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55065 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55066 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55067 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55068 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55069 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55070 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55071 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55072 * sysdeps/ieee754/k_standard.c: Likewise.
55073 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55074 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55075 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55076 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55077 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55078 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55079 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55080 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55081 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55082 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55083 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55084 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55085 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55086 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55087 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55088 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55089 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55090 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55091 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55092 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55093 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55094 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55095 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55096 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55097 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55098 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55099 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55100 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55102 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55103 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55104 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
55105 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55106 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55107 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55108 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55109 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
55110 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55111 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55112 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
55113 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
55114 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55115 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
55116 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
55117 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55118 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55119 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55120 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55121 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55122 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
55123 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
55124 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55125 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55126 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55127 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55128 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55129 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
55130 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55131 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55132 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55133 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55134 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55135 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55136 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55137 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55138 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55139 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55140 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55141 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55142 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55143 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55144 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55145 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55146 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55147 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55148 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55149 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55150 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55151 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55152 * sysdeps/ieee754/s_matherr.c: Likewise.
55153 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55154 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55156 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55158 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55160 * crypt/md5.h: Remove __STDC__ conditionals.
55161 * libio/libioP.h: Likewise.
55162 * locale/programs/config.h: Likewise.
55163 * sysdeps/generic/sysdep.h: Likewise.
55164 * sysdeps/i386/asm-syntax.h: Likewise.
55165 * sysdeps/s390/asm-syntax.h: Likewise.
55166 * sysdeps/unix/sysdep.h: Likewise.
55167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
55168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55170 2012-01-26 Joseph Myers <joseph@codesourcery.com>
55172 * libio/libio.h: Remove __STDC__ conditionals.
55173 * malloc/obstack.h: Likewise.
55174 * math/complex.h: Likewise.
55175 * math/math.h: Likewise.
55176 * sysdeps/generic/_G_config.h: Likewise.
55177 * sysdeps/gnu/_G_config.h: Likewise.
55178 * sysdeps/mach/hurd/_G_config.h: Likewise.
55179 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55180 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
55181 * sysdeps/sparc/bits/mathdef.h: Likewise.
55183 2012-01-26 Ulrich Drepper <drepper@gmail.com>
55186 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
55187 Clean up HAS_* macros.
55188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
55189 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
55191 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
55193 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55194 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55195 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55196 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55197 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55199 2012-01-25 Joseph Myers <joseph@codesourcery.com>
55201 * elf/tst-unique3.cc (gets): Remove declaration.
55202 * elf/tst-unique3lib.cc (gets): Likewise.
55203 * elf/tst-unique3lib2.cc (gets): Likewise.
55204 * elf/tst-unique4.cc (gets): Likewise.
55206 2012-01-24 Ulrich Drepper <drepper@gmail.com>
55208 * include/stdio.h: Add C++ protection. Add gets declarations and
55210 * debug/tst-chk1.c: Don't declare gets here.
55211 * stdio-common/tst-gets.c: Likewise.
55213 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55215 * posix/glob: Remove directory.
55217 2012-01-24 Joseph Myers <joseph@codesourcery.com>
55219 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
55221 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
55223 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
55224 of the non-standard EPFNOSUPPORT.
55226 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
55228 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
55229 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
55230 ANYWHERE set to 1 only on KERN_NO_SPACE error.
55232 2012-01-21 Ulrich Drepper <drepper@gmail.com>
55234 * wcsmbs/uchar.h: Test __STDC_VERSION__.
55236 2012-01-20 Ulrich Drepper <drepper@gmail.com>
55238 * nscd/aicache.c (addhstaiX): Do not cache negative results of
55240 * nscd/grpcache.c (cache_addgr): Likewise.
55241 * nscd/hstcache.c (cache_addhst): Likewise.
55242 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55243 * nscd/pwdcache.c (cache_addpw): Likewise.
55244 * nscd/servicescache.c (cache_addserv): Likewise.
55246 2012-01-16 Ulrich Drepper <drepper@gmail.com>
55248 * malloc/malloc.c: Various cleanups.
55249 * malloc/hooks.c: Likewise.
55251 * stdlib/Makefile (tests): Add bug-fmtmsg1.
55252 * stdlib/bug-fmtmsg1.c: New file.
55254 * stdlib/fmtmsg.c (init): Add missing unlock.
55255 Patch by Peng Haitao <penght@cn.fujitsu.com>.
55257 2012-01-12 Marek Polacek <polacek@redhat.com>
55259 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
55262 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55264 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
55265 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
55266 macro to ensure uniqueness of label name.
55267 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55268 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55270 2012-01-11 Ulrich Drepper <drepper@gmail.com>
55272 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
55274 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
55275 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55276 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55277 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
55279 2012-01-10 Ulrich Drepper <drepper@gmail.com>
55281 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
55283 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
55284 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55285 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55287 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
55289 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
55290 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55291 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
55294 * math/bits/math-finite.h: Add ldexp support.
55296 2012-01-10 Marek Polacek <polacek@redhat.com>
55298 * locale/programs/localedef.h (show_archive_content): Add noreturn
55301 2012-01-09 Ulrich Drepper <drepper@gmail.com>
55303 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
55305 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55307 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
55309 * io/Makefile (headers): Add bits/poll2.h.
55311 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
55313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
55314 typo #include statement.
55316 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55318 * include/sys/cdefs.h: Define __attribute_alloc_size.
55319 * catgets/gencat.c: Add alloc_size attribute and apply consistently
55320 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
55321 * elf/pldd.c: Likewise.
55322 * iconv/iconv_charmap.c: Likewise.
55323 * iconv/iconvconfig.c: Likewise.
55324 * iconv/strtab.c: Likewise.
55325 * locale/programs/locale.c: Likewise.
55326 * locale/programs/localedef.h: Likewise.
55327 * locale/programs/simple-hash.c: Likewise.
55328 * nscd/nscd.h: Likewise.
55329 * nss/makedb.c: Likewise.
55330 * sysdeps/generic/ldconfig.h: Likewise.
55331 * locale/programs/localedef.c: Remove xmalloc prototype.
55332 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
55334 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55336 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
55339 2012-01-08 Ulrich Drepper <drepper@gmail.com>
55341 * math/Makefile (tests): Add tst-CMPLX.
55342 * math/tst-CMPLX.c: New file.
55344 * math/complex.h (CMPLXL): Fix typo.
55346 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
55347 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
55349 * debug/tst-chk1.c: Add poll and ppoll tests.
55350 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
55351 * include/sys/poll.h: Add hidden proto for ppoll.
55352 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
55353 * sysdeps/mach/hurd/ppoll.c: Likewise.
55354 * io/ppoll.c: Likewise.
55355 * debug/poll_chk.c: New file.
55356 * debug/ppoll_chk.c: New file.
55357 * include/bits/poll2.h: New file.
55358 * io/bits/poll2.h: New file.
55361 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
55363 * configure.in: static is always set to yes. Remove.
55364 * config.make.in: Don't set build-static.
55365 * Makeconfig: Remove use of build-static.
55366 * dlfcn/Makefile: Likewise.
55367 * elf/Makefile: Likewise.
55368 * math/Makefile: Likewise.
55369 * misc/Makefile: Likewise.
55370 * nptl/Makefile: Likewise.
55371 * sysdeps/mach/hurd/Makefile: Likewise.
55373 * configure.in: PWD_P is not used anymore.
55374 * config.make.in: Remove PWD_P entry.
55376 * configure.in: Remove last remnants of RANLIB.
55377 No need to check for signed size_t anymore.
55378 Don't set libc_commonpagesize and libc_relro_required here for Alpha
55380 Remove __builtin_expect test because we require at least gcc 3.4.
55381 * aclocal.m4: Likewise.
55383 * wcsmbs/mbrtoc16.c: Implement using towc function.
55384 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
55385 * wcsmbs/wcsmbsload.c: Likewise.
55386 * iconv/gconv_simple.c: Likewise.
55387 * iconv/gconv_int.h: Likewise.
55388 * iconv/gconv_builtin.h: Likewise.
55389 * iconv/iconv_prog.c: Remove CHAR16 handling.
55391 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
55393 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
55395 * configure.in: Remove --with-elf and --enable-bounded options.
55396 Dont set base_machine for ia64. More non-ELF conditions removed.
55397 Remove testing and setting of leading underscore information.
55398 * config.make.in (build-bounded): Set to no.
55399 * config.h.in: Remove NO_UNDERSCORES entry.
55400 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
55402 * csu/start.c: Remove !NO_UNDERSCORE code.
55403 * locale/localeinfo.h: Likewise.
55404 * sysdeps/generic/machine-gmon.h: Likewise.
55405 * sysdeps/generic/sysdep.h: Likewise.
55406 * sysdeps/i386/sysdep.h: Likewise.
55407 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55408 * sysdeps/mach/sysdep.h: Likewise.
55409 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55410 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55411 * sysdeps/sh/sysdep.h: Likewise.
55412 * sysdeps/sparc/sparc32/alloca.S: Likewise.
55413 * sysdeps/unix/i386/sysdep.S: Likewise.
55414 * sysdeps/unix/sparc/start.c: Likewise.
55415 * sysdeps/unix/sparc/sysdep.S: Likewise.
55416 * sysdeps/unix/sparc/sysdep.h: Likewise.
55417 * sysdeps/unix/start.c: Likewise.
55418 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55419 * sysdeps/x86_64/sysdep.h: Likewise.
55421 2012-01-07 Ulrich Drepper <drepper@gmail.com>
55424 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
55426 * argp/argp-fmtstream.h: Use const instead __const.
55427 * argp/argp.h: Likewise.
55428 * assert/assert.h: Likewise.
55429 * bits/fenv.h: Likewise.
55430 * bits/sched.h: Likewise.
55431 * bits/sigset.h: Likewise.
55432 * bits/sigthread.h: Likewise.
55433 * catgets/nl_types.h: Likewise.
55434 * conform/data/pthread.h-data: Likewise.
55435 * crypt/crypt-private.h: Likewise.
55436 * crypt/crypt.h: Likewise.
55437 * crypt/crypt_util.c: Likewise.
55438 * ctype/ctype.h: Likewise.
55439 * debug/execinfo.h: Likewise.
55440 * debug/mbsnrtowcs_chk.c: Likewise.
55441 * debug/mbsrtowcs_chk.c: Likewise.
55442 * debug/wcsnrtombs_chk.c: Likewise.
55443 * debug/wcsrtombs_chk.c: Likewise.
55444 * debug/wcstombs_chk.c: Likewise.
55445 * dirent/dirent.h: Likewise.
55446 * dlfcn/dlfcn.h: Likewise.
55447 * elf/neededtest4.c: Likewise.
55448 * grp/grp.h: Likewise.
55449 * gshadow/gshadow.h: Likewise.
55450 * iconv/gconv.h: Likewise.
55451 * iconv/gconv_int.h: Likewise.
55452 * iconv/gconv_simple.c: Likewise.
55453 * iconv/iconv.h: Likewise.
55454 * iconv/loop.c: Likewise.
55455 * iconv/skeleton.c: Likewise.
55456 * include/aio.h: Likewise.
55457 * include/aliases.h: Likewise.
55458 * include/argz.h: Likewise.
55459 * include/arpa/inet.h: Likewise.
55460 * include/assert.h: Likewise.
55461 * include/dirent.h: Likewise.
55462 * include/dlfcn.h: Likewise.
55463 * include/execinfo.h: Likewise.
55464 * include/fcntl.h: Likewise.
55465 * include/fenv.h: Likewise.
55466 * include/glob.h: Likewise.
55467 * include/grp.h: Likewise.
55468 * include/libintl.h: Likewise.
55469 * include/mntent.h: Likewise.
55470 * include/netdb.h: Likewise.
55471 * include/pwd.h: Likewise.
55472 * include/rpc/netdb.h: Likewise.
55473 * include/sched.h: Likewise.
55474 * include/search.h: Likewise.
55475 * include/shadow.h: Likewise.
55476 * include/signal.h: Likewise.
55477 * include/stdio.h: Likewise.
55478 * include/stdlib.h: Likewise.
55479 * include/string.h: Likewise.
55480 * include/sys/socket.h: Likewise.
55481 * include/sys/stat.h: Likewise.
55482 * include/sys/statfs.h: Likewise.
55483 * include/sys/statvfs.h: Likewise.
55484 * include/sys/syslog.h: Likewise.
55485 * include/sys/time.h: Likewise.
55486 * include/sys/uio.h: Likewise.
55487 * include/time.h: Likewise.
55488 * include/unistd.h: Likewise.
55489 * include/utmp.h: Likewise.
55490 * include/wchar.h: Likewise.
55491 * include/wctype.h: Likewise.
55492 * inet/aliases.h: Likewise.
55493 * inet/arpa/inet.h: Likewise.
55494 * inet/netinet/ether.h: Likewise.
55495 * inet/netinet/in.h: Likewise.
55496 * intl/libintl.h: Likewise.
55497 * io/bits/fcntl2.h: Likewise.
55498 * io/fcntl.h: Likewise.
55499 * io/ftw.h: Likewise.
55500 * io/sys/poll.h: Likewise.
55501 * io/sys/stat.h: Likewise.
55502 * io/sys/statfs.h: Likewise.
55503 * io/sys/statvfs.h: Likewise.
55504 * io/utime.h: Likewise.
55505 * libio/bits/stdio.h: Likewise.
55506 * libio/bits/stdio2.h: Likewise.
55507 * libio/libio.h: Likewise.
55508 * libio/libioP.h: Likewise.
55509 * libio/stdio.h: Likewise.
55510 * locale/lc-ctype.c: Likewise.
55511 * locale/locale.h: Likewise.
55512 * login/utmp.h: Likewise.
55513 * malloc/arena.c: Likewise.
55514 * malloc/malloc.c: Likewise.
55515 * malloc/malloc.h: Likewise.
55516 * malloc/mcheck.c: Likewise.
55517 * malloc/mtrace.c: Likewise.
55518 * math/bits/mathcalls.h: Likewise.
55519 * math/fenv.h: Likewise.
55520 * math/math_private.h: Likewise.
55521 * misc/bits/error.h: Likewise.
55522 * misc/bits/syslog.h: Likewise.
55523 * misc/err.h: Likewise.
55524 * misc/error.h: Likewise.
55525 * misc/fstab.h: Likewise.
55526 * misc/mntent.h: Likewise.
55527 * misc/regexp.h: Likewise.
55528 * misc/search.h: Likewise.
55529 * misc/sgtty.h: Likewise.
55530 * misc/sys/mman.h: Likewise.
55531 * misc/sys/syslog.h: Likewise.
55532 * misc/sys/uio.h: Likewise.
55533 * misc/sys/xattr.h: Likewise.
55534 * misc/ttyent.h: Likewise.
55535 * nis/rpcsvc/ypclnt.h: Likewise.
55536 * nss/nss.h: Likewise.
55537 * posix/bits/unistd.h: Likewise.
55538 * posix/fnmatch.h: Likewise.
55539 * posix/glob.h: Likewise.
55540 * posix/sched.h: Likewise.
55541 * posix/spawn.h: Likewise.
55542 * posix/sys/wait.h: Likewise.
55543 * posix/unistd.h: Likewise.
55544 * posix/wordexp.h: Likewise.
55545 * pwd/pwd.h: Likewise.
55546 * resolv/netdb.h: Likewise.
55547 * resource/sys/resource.h: Likewise.
55548 * rt/aio.h: Likewise.
55549 * rt/bits/mqueue2.h: Likewise.
55550 * rt/mqueue.h: Likewise.
55551 * shadow/shadow.h: Likewise.
55552 * signal/signal.h: Likewise.
55553 * socket/send.c: Likewise.
55554 * socket/sendto.c: Likewise.
55555 * socket/sys/socket.h: Likewise.
55556 * stdio-common/printf.h: Likewise.
55557 * stdlib/bits/stdlib.h: Likewise.
55558 * stdlib/fmtmsg.h: Likewise.
55559 * stdlib/monetary.h: Likewise.
55560 * stdlib/stdlib.h: Likewise.
55561 * stdlib/ucontext.h: Likewise.
55562 * streams/stropts.h: Likewise.
55563 * string/argz.h: Likewise.
55564 * string/bits/string2.h: Likewise.
55565 * string/string.h: Likewise.
55566 * string/strings.h: Likewise.
55567 * sunrpc/rpc/auth.h: Likewise.
55568 * sunrpc/rpc/auth_des.h: Likewise.
55569 * sunrpc/rpc/clnt.h: Likewise.
55570 * sunrpc/rpc/netdb.h: Likewise.
55571 * sunrpc/rpc/pmap_clnt.h: Likewise.
55572 * sunrpc/rpc/xdr.h: Likewise.
55573 * sysdeps/generic/inttypes.h: Likewise.
55574 * sysdeps/generic/net/if.h: Likewise.
55575 * sysdeps/generic/sys/swap.h: Likewise.
55576 * sysdeps/gnu/net/if.h: Likewise.
55577 * sysdeps/gnu/utmpx.h: Likewise.
55578 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55579 * sysdeps/i386/i486/bits/string.h: Likewise.
55580 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55581 * sysdeps/s390/bits/string.h: Likewise.
55582 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55583 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55584 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55585 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55586 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55587 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55588 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55589 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55590 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55591 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55592 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55593 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55594 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55595 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55596 * sysdeps/unix/sysv/linux/readv.c: Likewise.
55597 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55598 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55599 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55600 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55601 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55602 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55603 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55604 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55605 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55606 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55607 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55608 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55609 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55610 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55611 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55612 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55613 * sysvipc/sys/ipc.h: Likewise.
55614 * sysvipc/sys/msg.h: Likewise.
55615 * sysvipc/sys/sem.h: Likewise.
55616 * sysvipc/sys/shm.h: Likewise.
55617 * termios/termios.h: Likewise.
55618 * time/sys/time.h: Likewise.
55619 * time/time.h: Likewise.
55620 * wcsmbs/bits/wchar2.h: Likewise.
55621 * wcsmbs/uchar.h: Likewise.
55622 * wcsmbs/wchar.h: Likewise.
55623 * wctype/wctype.h: Likewise.
55626 * Makeconfig: Remove all but ELF support including AIX support.
55627 * Makerules: Likewise.
55628 * config.h.in: Likewise.
55629 * config.make.in: Likewise.
55630 * configure: Likewise.
55631 * configure.in: Likewise.
55632 * csu/Makefile: Likewise.
55633 * csu/version.c: Likewise.
55634 * debug/Makefile: Likewise.
55635 * dlfcn/Makefile: Likewise.
55636 * elf/Makefile: Likewise.
55637 * extra-lib.mk: Likewise.
55638 * iconv/Makefile: Likewise.
55639 * include/libc-symbols.h: Likewise.
55640 * include/shlib-compat.h: Likewise.
55641 * resolv/Makefile: Likewise.
55642 * resolv/res_libc.c: Likewise.
55643 * rt/Makefile: Likewise.
55644 * sysdeps/i386/asm-syntax.h: Likewise.
55645 * sysdeps/i386/sysdep.h: Likewise.
55646 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55647 * sysdeps/mach/sysdep.h: Likewise.
55648 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55649 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55650 * sysdeps/s390/asm-syntax.h: Likewise.
55651 * sysdeps/s390/s390-32/sysdep.h: Likewise.
55652 * sysdeps/s390/s390-64/sysdep.h: Likewise.
55653 * sysdeps/sh/sysdep.h: Likewise.
55654 * sysdeps/unix/sparc/sysdep.h: Likewise.
55655 * sysdeps/wordsize-32/divdi3.c: Likewise.
55656 * sysdeps/x86_64/sysdep.h: Likewise.
55658 * argp/Versions: Remove _argp_unlock_xxx.
55661 * abilist/ld.abilist: Update. Adjust for removal of tls option.
55662 * abilist/libBrokenLocale.abilist: Likewise.
55663 * abilist/libanl.abilist: Likewise.
55664 * abilist/libc.abilist: Likewise.
55665 * abilist/libcrypt.abilist: Likewise.
55666 * abilist/libdl.abilist: Likewise.
55667 * abilist/libm.abilist: Likewise.
55668 * abilist/libnsl.abilist: Likewise.
55669 * abilist/libpthread.abilist: Likewise.
55670 * abilist/libresolv.abilist: Likewise.
55671 * abilist/librt.abilist: Likewise.
55672 * abilist/libthread_db.abilist: Likewise.
55673 * abilist/libutil.abilist: Likewise.
55674 * abilist/libnss_db.abilist: New file.
55676 * scripts/abilist.awk: Add support for indirect functions.
55678 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55680 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55682 * shlib-versions: Remove entries for ports architectures.
55684 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
55686 * elf/stackguard-macros.h: Remove support for IA-64.
55687 * elf/tst-auditmod1.c: Likewise.
55688 * sysdeps/generic/ldsodefs.h: Likewise.
55690 * sysdeps/unix/sysv/linux/configure.in: Ports should define
55691 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55695 * configure.in: Remove --enable-omitfp support.
55697 * config.make.in: Likewise.
55698 * Makeconfig: Likewise.
55699 * manual/install.texi: Likewise.
55701 In case anyone cares, the IA-64 architecture could move to ports.
55702 * sysdeps/ia64/*: Removed.
55703 * sysdeps/unix/sysv/linux/ia64/*: Removed.
55704 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55707 * configure.in: Remove entries for unsupported architectures.
55710 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55711 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
55713 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55714 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55715 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
55716 fall back to using wcrtomb.
55717 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55718 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
55720 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55721 * wcsmbs/tst-c16c32-1.c: New file.
55723 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55726 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55728 * elf/tst-unique3.cc: Add explicit declaration of gets.
55729 * elf/tst-unique3lib.cc: Likewise.
55730 * elf/tst-unique3lib2.cc: Likewise.
55731 * elf/tst-unique4.cc: Likewise.
55733 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55735 2012-01-06 Joseph Myers <joseph@codesourcery.com>
55738 * assert/assert.h (static_assert): Don't define for C++.
55739 * libio/stdio.h (gets): Do declare for C++ <= C++11.
55740 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55742 2012-01-03 Ulrich Drepper <drepper@gmail.com>
55744 * iconv/loop.c (single loop): Fix assertion in storing of
55747 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55749 2012-01-01 Ulrich Drepper <drepper@gmail.com>
55751 * posix/getconf.c: Update copyright year.
55752 * nss/getent.c: Likewise.
55753 * nss/makedb.c: Likewise.
55754 * iconv/iconvconfig.c: Likewise.
55755 * iconv/iconv_prog.c: Likewise.
55756 * elf/ldconfig.c: Likewise.
55757 * elf/pldd.c: Likewise.
55758 * elf/sotruss.ksh: Likewise.
55759 * catgets/gencat.c: Likewise.
55760 * csu/version.c: Likewise.
55761 * elf/ldd.bash.in: Likewise.
55762 * elf/sprof.c (print_version): Likewise.
55763 * locale/programs/locale.c: Likewise.
55764 * locale/programs/localedef.c: Likewise.
55765 * login/programs/pt_chown.c: Likewise.
55766 * nscd/nscd.c (print_version): Likewise.
55767 * debug/xtrace.sh: Likewise.
55768 * malloc/memusage.sh: Likewise.
55769 * malloc/mtrace.pl: Likewise.
55770 * debug/catchsegv.sh: Likewise.
55772 2011-12-30 Jakub Jelinek <jakub@redhat.com>
55774 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55777 2011-12-24 Ulrich Drepper <drepper@gmail.com>
55780 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55781 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55783 * iconv/gconv_int.h: Likewise.
55784 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55785 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55786 from libc for GLIBC_2.16.
55787 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55788 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55789 * wcsmbs/uchar.h: Really define mbstate_t.
55790 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55791 * wcsmbs/c16rtomb.c: New file.
55792 * wcsmbs/mbrtoc16.c: New file.
55793 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55794 for C/POSIX locale.
55795 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55796 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55798 * wcsmbs/wchar.h: Add missing __restrict.
55800 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55803 * time/Makefile (routines): Add timespec_get.
55804 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55805 * time/time.h: Define TIME_UTC and declare timespec_get. Define
55806 timespec for ISO C11.
55807 * time/timespec_get.c: New file.
55808 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55809 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55812 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55813 * stdlib/stdlib.h: Declare aligned_alloc.
55814 * Versions.def: Add GLIBC_2.16 for libc.
55815 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55818 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55821 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55825 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55828 * assert/assert.h (static_assert): Define.
55830 * version.h: Update for 2.16 development version.
55833 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55836 * version.h (RELEASE): Bump for 2.15 release.
55837 * include/features.h (__GLIBC_MINOR__): Bump to 15.
55839 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55840 Patch by Marek Polacek <mpolacek@redhat.com>.
55842 * bits/byteswap.h: Protect long long constants with __extension__.
55843 * sysdeps/i386/bits/byteswap.h: Likewise.
55844 * sysdeps/ia64/bits/byteswap.h: Likewise.
55845 * sysdeps/s390/bits/byteswap.h: Likewise.
55846 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55848 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55851 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55852 destination buffer.
55853 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55855 2011-12-23 Marek Polacek <polacek@redhat.com>
55857 * elf/dl-addr.c (determine_info): Add inline keyword.
55858 * elf/tst-auditmod4b.c (check_avx): Likewise.
55859 * elf/tst-auditmod6b.c (check_avx): Likewise.
55860 * elf/tst-auditmod6c.c (check_avx): Likewise.
55861 * elf/tst-auditmod7b.c (check_avx): Likewise.
55863 2011-12-23 Ulrich Drepper <drepper@gmail.com>
55865 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55868 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55871 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55872 processing for last bytes.
55874 2011-08-06 Bruno Haible <bruno@clisp.org>
55877 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55878 U+0385, not to U+1FEE.
55881 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55882 entry for U+00A5 U+0301.
55884 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55887 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55888 buffer for the output is too small.
55890 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55894 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55895 SSE flags if possible.
55897 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55901 processing for last bytes.
55903 2011-12-22 Joseph Myers <joseph@codesourcery.com>
55905 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55906 (syscall-list-default-options, syscall-list-default-condition)
55907 (syscall-list-includes): Define.
55908 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55909 list of ABIs and options and #if conditions for each ABI. Do not
55910 handle common syscalls between ABIs specially.
55911 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55913 (syscall-list-variants, syscall-list-32bit-options)
55914 (syscall-list-32bit-condition, syscall-list-64bit-options)
55915 (syscall-list-64bit-condition): Define.
55916 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55917 (syscall-list-variants, syscall-list-32bit-options)
55918 (syscall-list-32bit-condition, syscall-list-64bit-options)
55919 (syscall-list-64bit-condition): Define.
55920 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55922 (syscall-list-variants, syscall-list-32bit-options)
55923 (syscall-list-32bit-condition, syscall-list-64bit-options)
55924 (syscall-list-64bit-condition): Define.
55925 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55927 (syscall-list-variants, syscall-list-32bit-options)
55928 (syscall-list-32bit-condition, syscall-list-64bit-options)
55929 (syscall-list-64bit-condition): Define.
55931 2011-12-22 Ulrich Drepper <drepper@gmail.com>
55933 * locale/iso-639.def: Add brx entry.
55936 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55937 Proposed by Mariusz_Cukr <marcukr@op.pl>.
55939 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55940 __feraiseexcept_renamed.
55942 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55945 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55946 EPOLLET with unsigned values.
55947 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55948 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55950 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55951 to large cancellation.
55952 * math/s_cacoshf.c: Likewise.
55953 * math/s_cacoshl.c: Likewise.
55955 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
55959 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55960 * math/s_cacoshf.c: Likewise.
55961 * math/s_cacoshl.c: Likewise.
55963 2011-12-21 Ulrich Drepper <drepper@gmail.com>
55966 * iconv/gconv.h: Define __GCONV_SWAP.
55967 * iconvdata/unicode.c: The swap bit must be stored in __flags.
55968 * iconvdata/utf-16.c: Likewise.
55969 * iconvdata/utf-32.c: Likewise.
55971 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
55974 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55975 numerator after shifting it by one limb.
55977 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
55979 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55980 under [__USE_EXTERN_INLINES].
55982 2011-12-17 Ulrich Drepper <drepper@gmail.com>
55985 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55987 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55989 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55990 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55992 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55993 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55994 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55995 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55996 for strncasecmp/strncasecmp_l compilation.
55997 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55998 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
56000 2011-12-08 Marek Polacek <mpolacek@redhat.com>
56003 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
56006 2011-12-17 Ulrich Drepper <drepper@gmail.com>
56009 * time/tzfile.c (__tzfile_read): Check values from file header.
56011 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
56013 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
56014 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
56015 * powerpc/powerpc32/dl-start.S: Likewise.
56016 * powerpc/powerpc32/elf/start.S: Likewise.
56017 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
56018 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
56019 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
56020 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
56021 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
56022 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
56023 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
56024 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
56025 * powerpc/powerpc32/fpu/s_round.S: Likewise.
56026 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
56027 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
56028 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
56029 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
56030 * powerpc/powerpc32/memset.S: Likewise.
56031 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
56032 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56033 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56034 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56035 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56036 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56037 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56038 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56039 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
56040 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
56041 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
56042 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56043 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56045 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56047 * math/libm-test.inc: Added more nearbyint tests.
56048 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
56049 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
56050 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
56051 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
56053 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
56055 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
56058 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56060 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
56061 Add wcscpy-ssse3 wcscpy-c.
56062 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
56063 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
56064 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
56065 * sysdeps/x86_64/wcschr.S: New file.
56066 * sysdeps/x86_64/wcsrchr.S: New file.
56067 * string/test-strcmp.c: Remove checking of wcscmp function for
56069 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
56070 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
56071 wcsrchr-sse2 wcsrchr-c.
56072 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
56073 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
56074 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
56075 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
56076 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
56077 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
56078 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
56079 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
56080 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
56081 * wcsmbc/wcschr.c (WCSCHR): New macro.
56083 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56085 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
56086 * wcsmbs/test-wcsrchr.c: New file.
56087 * string/test-strrchr.c: Add wcsrchr support.
56089 * wcsmbs/test-wcscpy.c: New file.
56090 * string/test-strcpy.c: Add wcscpy support.
56093 2011-12-10 Ulrich Drepper <drepper@gmail.com>
56095 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
56098 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
56101 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
56103 2011-12-04 Ulrich Drepper <drepper@gmail.com>
56105 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
56106 Minor optimizations.
56108 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
56109 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
56110 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
56112 2011-12-03 Ulrich Drepper <drepper@gmail.com>
56114 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
56115 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
56116 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
56117 for gcc to avoid warnings.
56118 * inet/Makefile (tests): Add tst-checks.
56119 * inet/tst-checks.c: New file.
56121 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
56124 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
56127 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
56128 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
56130 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
56132 2011-12-02 Ulrich Drepper <drepper@gmail.com>
56134 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
56137 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
56139 2011-11-29 Joseph Myers <joseph@codesourcery.com>
56141 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
56142 conditional on GCC version.
56143 (__arch_compare_and_exchange_val_8_acq)
56144 (__arch_compare_and_exchange_val_16_acq)
56145 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
56146 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
56147 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
56149 2011-12-02 Joseph Myers <joseph@codesourcery.com>
56151 * sysdeps/sh/backtrace.c: New file.
56153 2011-12-02 Andreas Schwab <schwab@redhat.com>
56155 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
56158 2011-12-01 Andreas Schwab <schwab@redhat.com>
56160 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
56161 falling back to utime.
56163 2011-11-30 Andreas Schwab <schwab@redhat.com>
56165 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
56166 expectations for float.
56168 2011-11-29 Andreas Schwab <schwab@redhat.com>
56170 * locale/weight.h (findidx): Add parameter len.
56171 * locale/weightwc.h (findidx): Likewise.
56172 * posix/fnmatch_loop.c (FCT): Adjust caller.
56173 * posix/regcomp.c (build_equiv_class): Likewise.
56174 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
56175 * posix/regexec.c (check_node_accept_bytes): Likewise.
56176 * string/strcoll_l.c (STRCOLL): Likewise.
56177 * string/strxfrm_l.c (STRXFRM): Likewise.
56179 2011-11-17 Ulrich Drepper <drepper@gmail.com>
56181 * Makefile.in: Remove CVSOPT handling.
56182 * configure.in: Remove use of AC_REVISION.
56183 * iconvdata/Makefile (distribute): No need to filter out CVS.
56184 * scripts/list-sources.sh: Remove CVS, subversion and monotone
56187 2011-11-16 Andreas Schwab <schwab@redhat.com>
56189 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
56190 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
56191 [USE_AS_STRNCASECMP_L]: Likewise.
56192 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
56193 NO_TLS_DIRECT_SEG_REFS.
56194 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
56195 Fix argument offsets for non-PIC.
56196 [USE_AS_STRNCASECMP_L]: Likewise.
56197 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
56198 NO_TLS_DIRECT_SEG_REFS.
56200 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56202 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
56204 * locale/loadlocale.c (_nl_load_locale): Likewise.
56206 2011-11-15 Andreas Schwab <schwab@redhat.com>
56208 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
56209 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
56210 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
56211 (SYSCALL_GETTIME): Set errno on error.
56213 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
56214 count references to noai6ai_cached.
56216 2011-11-15 Ulrich Drepper <drepper@gmail.com>
56218 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
56220 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
56221 FD_CLOEXEC for /proc/self/maps.
56223 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
56224 FD_CLOEXEC for /proc/meminfo.
56226 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
56229 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
56230 FD_CLOEXEC for given file.
56232 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
56234 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
56235 FD_CLOEXEC for /etc/hosts.
56236 (_gethtent): Likewise.
56238 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
56240 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
56241 cancellation and set FD_CLOEXEC for /etc/netgroup.
56243 * nss/nss_files/files-key.c (search): Don't allow cancellation when
56244 reading /etc/publickey.
56246 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
56247 allow cancellation when reading /etc/group.
56249 * nss/nss_files/files-alias.c (internal_setent): Don't allow
56251 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
56253 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
56254 when using data file.
56256 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
56258 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
56259 (write_nis_obj): Use "c" and "e" in fopen.
56261 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
56263 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
56265 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
56267 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
56269 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
56272 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
56274 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
56276 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
56278 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
56279 file parsing and set FD_CLOEXEC.
56281 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56283 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
56285 2011-11-14 Andreas Schwab <schwab@redhat.com>
56287 * malloc/arena.c (arena_get2): Don't call reused_arena when
56288 _int_new_arena failed.
56290 2011-11-14 Ulrich Drepper <drepper@gmail.com>
56292 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
56293 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
56294 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
56295 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56296 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56297 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
56298 to compile strcasecmp and strncasecmp.
56299 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
56300 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
56302 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
56304 2011-11-13 Ulrich Drepper <drepper@gmail.com>
56306 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
56307 locale-defines.sym to gen-as-const-headers.
56308 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
56309 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
56310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
56311 to compile strcasecmp and strncasecmp.
56312 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
56313 strcasecmp_l and strncasecmp_l.
56314 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
56315 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
56316 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
56317 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
56318 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
56319 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
56320 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
56321 * sysdeps/i386/i686/multiarch/strncase.S: New file.
56322 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
56323 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
56324 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
56326 2011-11-12 Ulrich Drepper <drepper@gmail.com>
56328 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
56329 result of SYSDEP_GETTIME_CPU to retval.
56330 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
56331 parameter list to macro. Remove trailing semicolon. Adjust users.
56333 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
56336 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
56338 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
56340 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
56341 from unused variable.
56343 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
56345 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
56348 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
56351 * sunrpc/rpc_prot.c (rejected): Fix case value.
56353 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
56354 unsigned long long int to avoid warnings in shift.
56356 * posix/regex_internal.c (re_string_reconstruct): Actually use result
56358 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
56361 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
56362 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
56363 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
56365 * nis/nis_table.c (nis_list): Use variable of correct type for
56366 result of __follow_path call.
56368 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56370 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
56371 of math functions ceil, trunc, floor, round, and sqrt, when
56372 avaliable on the platform.
56373 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
56375 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56376 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
56377 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
56379 2011-10-30 Marek Polacek <mpolacek@redhat.com>
56381 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
56382 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56384 2011-11-11 Roland McGrath <roland@hack.frob.com>
56386 * include/unistd.h: Fix __readlink return type.
56387 Reported by Chris Metcalf <cmetcalf@tilera.com>.
56389 2011-11-11 Ulrich Drepper <drepper@gmail.com>
56391 * stdlib/ucontext.h: Undo last change for makecontext.
56393 2011-11-11 Andreas Schwab <schwab@redhat.com>
56395 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
56397 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
56398 * setjmp/setjmp.h: Mark functions as non-leaf.
56399 * setjmp/bits/setjmp2.h: Likewise.
56400 * stdlib/ucontext.h: Likewise.
56402 2011-11-10 Andreas Schwab <schwab@redhat.com>
56404 * malloc/arena.c (_int_new_arena): Don't increment narenas.
56405 (reused_arena): Don't check arena limit.
56406 (arena_get2): Atomically check arena limit.
56408 2011-11-08 Ulrich Drepper <drepper@gmail.com>
56410 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
56411 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
56413 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
56416 2011-11-07 Andreas Schwab <schwab@redhat.com>
56418 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
56419 handler when locking.
56421 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56422 Fix size of allocated buffer.
56424 2011-11-04 Andreas Schwab <schwab@redhat.com>
56427 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
56428 declarations for long double functions.
56429 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
56431 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
56433 2011-11-03 Andreas Schwab <schwab@redhat.com>
56435 * nscd/nscd.c (main): Don't start AVC thread until credentials are
56438 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
56441 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
56443 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
56445 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
56447 * include/alloca.h (stackinfo_alloca_round): Define.
56448 (extend_alloca): Use it.
56449 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
56450 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
56453 * scripts/check-local-headers.sh: Ignore libaudit.h.
56455 * nscd/Makefile (extra-objs): Make recursively expanded.
56457 2011-11-01 Ulrich Drepper <drepper@gmail.com>
56459 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
56460 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56462 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
56463 * posix/tst-rfc3484-2.c: Likewise.
56464 * posix/tst-rfc3484-3.c: Likewise.
56466 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56468 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
56470 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
56471 process_vm_writev from libc using GLIBC_2.15 version.
56473 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
56475 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
56477 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
56480 2011-10-31 Ulrich Drepper <drepper@gmail.com>
56483 * nss/getent.c (initgroups_keys): Show error message in case no group
56486 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
56487 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
56488 __bump_nl_timestamp.
56489 * nscd/connections (nscd_init): When host database is served open
56490 netlink socket and request notification about configuration changes.
56491 (main_loop_poll): Track netlink file descriptor and bump timestamp
56492 in case data becomes available.
56493 (main_loop_epoll): Likewise.
56494 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
56495 (database_pers_head): Add extra_data fileds.
56496 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
56497 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
56498 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
56500 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
56501 in6ai data, call __free_in6ai.
56502 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
56503 Add -DHAVE_NETLINK.
56504 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
56505 interface information. Reuse previous data if netlink timestamp
56507 (__bump_nl_timestamp): New function.
56508 (__free_in6ai): New function.
56510 2011-10-30 Ulrich Drepper <drepper@gmail.com>
56512 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
56513 close_not_cancel_no_status here.
56514 (__check_pf): Reorganize code a bit to not call close twice if OOM.
56516 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56519 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
56522 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
56523 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
56524 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
56526 2011-07-03 Andreas Jaeger <aj@suse.de>
56529 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
56530 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
56531 * math/libm-test.inc (sin_test): Add test case.
56533 2011-10-29 Ulrich Drepper <drepper@gmail.com>
56536 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
56537 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56539 * elf/chroot_canon.c (chroot_canon): Cleanups.
56541 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
56544 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56545 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56547 * string/test-strchr.c: Make usable for strchrnul testing.
56548 * string/test-strchrnul.c: New file.
56549 * string/Makefile (strop-tests): Add strchrnul.
56551 * po/it.po: Update from translation team.
56552 * po/es.po: Likewise.
56554 2011-10-28 Ulrich Drepper <drepper@gmail.com>
56556 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56557 the three constants needed as parameters. Drop the others.
56558 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56559 __m128i_strloadu_tolower.
56560 Create and initialize variable zero and use it in all the places
56561 where _mm_setzero_si128 was used.
56563 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56564 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56565 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56566 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56568 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56569 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56570 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56571 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56572 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56573 __mpranred, __mptan.
56574 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56575 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56576 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56577 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56578 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56579 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56580 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56581 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56582 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56584 2011-10-28 Andreas Schwab <schwab@redhat.com>
56586 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56587 redefine if SHARED.
56588 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56591 wide char related routines to wcsmbs subdir.
56593 2011-10-27 Andreas Schwab <schwab@redhat.com>
56596 * misc/sys/cdefs.h (__THROWNL): Define.
56597 * posix/unistd.h: Use __THREADNL instead of __THREAD
56598 for memory synchronization functions.
56600 2011-10-26 Roland McGrath <roland@hack.frob.com>
56603 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56605 * manual/stdio.texi (Obstack Streams): Node removed.
56607 2011-10-26 Andreas Schwab <schwab@redhat.com>
56609 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56610 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56611 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56613 * math/math_private.h (math_force_eval): Allow non-addressable
56615 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56617 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56619 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56620 file is not needed.
56622 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56623 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56625 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56629 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56631 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56632 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56633 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56634 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56635 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56636 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56637 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56638 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56639 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56640 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56641 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56642 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56643 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56644 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56645 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56646 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56647 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56648 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56649 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56651 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56652 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
56654 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56655 place. Use VEX encoding when compiling for AVX.
56657 2011-10-25 Andreas Schwab <schwab@redhat.com>
56659 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56660 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56662 * string/test-strchr.c (do_test): Don't generate NUL bytes.
56664 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56666 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56667 useless if() expression.
56668 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56669 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56670 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56671 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56672 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56673 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56674 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56675 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56676 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56677 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56678 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56679 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56680 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56681 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56682 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56683 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56684 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56685 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56686 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56688 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56690 2011-10-25 Andreas Schwab <schwab@redhat.com>
56692 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56694 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56696 2011-10-25 Ulrich Drepper <drepper@gmail.com>
56698 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56699 .text section. Avoid duplicate constants.
56700 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56701 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56702 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56703 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56704 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56705 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56706 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56707 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56708 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56709 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56710 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56711 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56712 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56713 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56714 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56715 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56716 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56717 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56718 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56720 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56721 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56722 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56723 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56724 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56725 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56726 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56727 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56728 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56729 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56730 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56731 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56732 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56733 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56734 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56735 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56736 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56737 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56738 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56739 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56740 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56741 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56742 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56743 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56744 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56746 2011-10-24 Ulrich Drepper <drepper@gmail.com>
56748 * sysdeps/x86_64/dla.h: Move to ...
56749 * sysdeps/x86_64/fpu/dla.h: ...here.
56750 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56751 situations. Use __builtin_fma only for gcc 4.6 and up.
56753 * config.make.in: Add have-mfma4 entry.
56754 * configure.in: Substitute libc_cv_cc_fma4.
56755 * math/Makefile (dbl-only-routines): Add sincostab.
56756 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56757 Use __sincostab not sincos.
56758 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56760 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56762 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56763 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
56765 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
56766 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
56767 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56768 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56770 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56771 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56773 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
56774 define aliases when function name is a macro.
56775 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56776 sysdeps/ieee754/dbl-64/sincos.tbl.
56777 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56778 fma4-enabled routines.
56779 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56780 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56781 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56782 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56783 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56784 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56785 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56786 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56787 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56788 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56789 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56790 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56791 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56792 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56793 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56794 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56795 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56796 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56797 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56798 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56799 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56800 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56801 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56802 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56803 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56804 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56805 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56806 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56807 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56808 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56810 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56812 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56813 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56814 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56817 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56818 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56821 2011-10-24 Andreas Schwab <schwab@redhat.com>
56823 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56825 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56827 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56829 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56831 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56833 * string/strnlen.c: Don't define STRNLEN, reverse logic.
56834 Remove unused variable magic_bits.
56835 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56837 * string/strnlen.c: Define and use STRNLEN macro.
56838 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56839 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56840 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56841 * wcsmbs/wcslen.c: Define and use WCSLEN.
56842 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56843 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56844 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56845 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56846 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56847 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56848 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56850 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56853 strnlen-sse2-no-bsf.
56854 Rename strlen-no-bsf to strlen-sse2-no-bsf.
56855 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56856 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56857 Add strnlen support.
56858 (USE_AS_STRNLEN): New macro.
56859 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56860 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56861 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56862 * sysdeps/x86_64/wcslen.S: New file.
56864 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
56866 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56867 XMM-moves are used for copying on small sizes.
56869 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56871 * wcsmbs/Makefile (strop-tests): Add wcschr.
56872 * wcsmbs/test-wcschr.c: New file.
56873 * string/test-strchr.c: Update.
56874 Add wcschr support.
56877 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56879 * wcsmbs/Makefile (strop-tests): Add wcslen.
56880 * wcsmbs/test-wcslen.c: New file.
56881 * string/test-strlen.c: Update.
56882 Add wcslen support.
56885 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56887 * po/it.po: Update from translation team.
56889 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56891 * sysdeps/x86_64/wcscmp.S: Update.
56892 Fix wrong comparison semantics.
56893 wcscmp shall use signed comparison not unsigned.
56894 Don't use substraction to avoid overflow bug.
56895 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56896 * wcsmbc/wcscmp.c: Likewise.
56897 * string/test-strcmp.c: Likewise.
56898 Add new tests to check cases with negative values.
56900 2011-10-23 Ulrich Drepper <drepper@gmail.com>
56902 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56903 * sysdeps/x86_64/dla.h: ...here. New file.
56904 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56909 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56910 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56911 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56912 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56914 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
56916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56917 __ynl_finite aliases.
56919 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56923 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56925 [DLA_FMA] (EMULV): Use DLA_FMA.
56926 [DLA_FMA] (MUL12): Use EMULV.
56927 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56928 that are not needed.
56929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56932 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56933 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56934 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56935 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56937 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
56939 * math/s_nan.c: Undef __nan.
56940 * math/s_nanf.c: Undef __nanf.
56941 * math/s_nanl.c: Undef __nanl.
56942 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56945 2011-10-22 Ulrich Drepper <drepper@gmail.com>
56947 * math/s_catan.c: Add branch predictions.
56948 * math/s_catanf.c: Likewise.
56949 * math/s_catanh.c: Likewise.
56950 * math/s_catanhf.c: Likewise.
56951 * math/s_catanhl.c: Likewise.
56952 * math/s_catanl.c: Likewise.
56953 * math/s_cexp.c: Likewise.
56954 * math/s_cexpf.c: Likewise.
56955 * math/s_cexpl.c: Likewise.
56956 * math/s_clog.c: Likewise.
56957 * math/s_clog10.c: Likewise.
56958 * math/s_clog10f.c: Likewise.
56959 * math/s_clog10l.c: Likewise.
56960 * math/s_clogf.c: Likewise.
56961 * math/s_clogl.c: Likewise.
56962 * math/s_csqrt.c: Likewise.
56963 * math/s_csqrtf.c: Likewise.
56964 * math/s_csqrtl.c: Likewise.
56965 * math/s_ctanf.c: Likewise.
56966 * math/s_ctanh.c: Likewise.
56967 * math/s_ctanhf.c: Likewise.
56968 * math/s_ctanhl.c: Likewise.
56969 * math/s_ctanl.c: Likewise.
56971 * math/math_private.h: Define __nan, __nanf, __nanl.
56972 * math/s_cacosh.c: Include <math_private.h>.
56973 * math/s_cacoshl.c: Likewise.
56974 * math/s_casinh.c: Likewise.
56975 * math/s_casinhf.c: Likewise.
56976 * math/s_casinhl.c: Likewise.
56977 * math/s_ccos.c: Rely entire on ccosh.
56978 * math/s_ccosf.c: Rely entire on ccoshf.
56979 * math/s_ccosl.c: Rely entirely on ccoshl.
56980 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
56981 Remove tests for FE_INVALID.
56982 * math/s_ccoshf.c: Likewise.
56983 * math/s_ccoshl.c: Likewise.
56984 * math/s_csin.c: Likewise.
56985 * math/s_csinf.c: Likewise.
56986 * math/s_csinh.c Likewise.
56987 * math/s_csinhf.c: Likewise.
56988 * math/s_csinhl.c: Likewise.
56989 * math/s_csinl.c: Likewise.
56990 * math/s_ctan.c: Likewise.
56991 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56992 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56993 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56995 2011-10-21 Ulrich Drepper <drepper@gmail.com>
56997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56998 compilation problems.
57000 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
57003 2011-10-20 Ulrich Drepper <drepper@gmail.com>
57005 * sysdeps/i386/configure.in: Test for -mfma4 option.
57006 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
57007 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
57008 COMMON_CPUID_INDEX_80000001.
57009 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
57010 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
57011 use it if FMA3 is not supported.
57012 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
57014 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
57015 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57017 2011-10-20 Andreas Schwab <schwab@redhat.com>
57020 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
57021 it would create a cycle with a link time dependency.
57023 2011-10-19 Ulrich Drepper <drepper@gmail.com>
57025 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
57027 * string/Makefile (strop-tests): Add rawmemchr.
57028 * string/test-rawmemchr.c: New file.
57030 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
57031 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
57032 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
57033 when compiling str{,n}casecmp and when AVX is available. Hook up
57034 new optimized code in initializers.
57036 2011-10-19 Andreas Schwab <schwab@redhat.com>
57038 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
57039 __feraiseexcept instead of feraiseexcept.
57041 2011-10-18 Ulrich Drepper <drepper@gmail.com>
57043 * math/math_private.h: Define defaults for libc_fetestexcept and
57045 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
57046 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
57047 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57048 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57049 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57050 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57051 libc_fetestexcept and libc_feupdateenv.
57053 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
57054 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
57055 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
57056 * sysdeps/x86_64/fpu/math_private.h: Define special version of
57057 libc_feholdexcept_setround.
57059 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
57060 Add s_nearbyint-c and s_nearbyintf-c.
57061 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
57062 nearbyintf inlines.
57063 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
57064 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
57065 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
57066 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
57068 * math/math_private.h: Define defaults for libc_fegetround,
57069 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
57070 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
57071 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
57072 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
57073 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
57074 standard functions.
57075 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57076 Remove comments and hacks for old compiler versions.
57077 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
57078 libc_fegetround, libc_fesetround, libc_feholdexcept, and
57079 libc_feholdexceptl.
57081 2011-10-18 Andreas Schwab <schwab@redhat.com>
57083 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
57084 (__feraiseexcept_renamed): Add __NTH.
57085 (feraiseexcept): Add __NTH. Rename local variables to fix
57086 namespace violations.
57088 2011-10-17 Ulrich Drepper <drepper@gmail.com>
57090 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
57092 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
57094 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
57095 recently added interfaces.
57096 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
57098 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
57099 about macro parameter expansion.
57101 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
57102 __NO_MATH_INLINES is defined. Cleanups.
57104 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
57105 and __floorf is target has SSE4.1.
57106 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
57107 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
57108 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
57109 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
57111 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
57113 (floorf): Likewise.
57115 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
57117 2011-10-17 Andreas Schwab <schwab@redhat.com>
57119 * misc/sys/cdefs.h: Fix last change.
57121 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
57124 2011-10-16 Ulrich Drepper <drepper@gmail.com>
57126 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
57128 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
57129 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57130 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57131 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57132 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57133 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57134 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57135 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57136 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57137 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
57138 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
57139 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
57140 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
57141 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
57142 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
57143 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
57144 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
57145 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
57146 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
57147 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
57148 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
57149 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
57151 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
57152 ceil, ceilf, floor, floorf.
57154 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
57155 Perform IRELATIVE relocations last.
57157 * elf/do-rel.h: Add another parameter nrelative, replacing the
57158 local variable with the same name. Change name of the function
57159 to end in Rel or Rela (uppercase).
57160 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
57161 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
57162 elf_dynamic_do_##reloc function.
57164 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57166 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
57167 is sufficient, at least on modern CPUs.
57169 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
57171 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
57172 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
57174 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
57176 * math/bits/math-finite.h: Add entries for exp.
57177 * math/e_expl.c: Add __*_finite alias.
57178 * sysdeps/i386/fpu/e_exp.S: Likewise.
57179 * sysdeps/i386/fpu/e_expf.S: Likewise.
57180 * sysdeps/i386/fpu/e_expl.c: Likewise.
57181 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57182 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
57183 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57184 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57185 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
57186 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57187 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57189 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
57190 is sufficient, at least on modern CPUs.
57192 * ctype/ctype-info.c (__ctype_init): Define.
57193 * include/ctype.h (__ctype_init): Declare.
57194 (__ctype_b_loc): The variable is always initialized.
57195 (__ctype_toupper_loc): Likewise.
57196 (__ctype_tolower_loc): Likewise.
57197 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
57198 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
57200 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
57202 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
57204 * configure.in: Also look in $cxxmachine/include for C++ system
57207 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57209 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
57210 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
57211 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
57212 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
57213 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
57214 (USE_AS_WMEMCMP): New macro.
57216 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
57217 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
57218 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
57219 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
57220 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57221 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
57222 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
57223 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
57224 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
57225 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
57226 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
57227 (USE_AS_WMEMCMP): New macro.
57228 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
57229 * sysdeps/string/test-memcmp.c: Update.
57230 Fix simple_wmemcmp.
57232 * wcsmbs/wmemcmp.c: Update.
57233 (WMEMCMP): New macro.
57236 2011-10-12 Andreas Jaeger <aj@suse.de>
57239 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
57241 2011-10-15 Ulrich Drepper <drepper@gmail.com>
57243 * libio/iofwide.c (do_length): Avoid warning.
57245 * ctype/ctype.h (__isctype_f): Add missing __THROW.
57247 2011-10-14 Ulrich Drepper <drepper@gmail.com>
57249 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
57251 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
57252 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
57253 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
57254 * sysdeps/i386/i686/fpu/e_log.S: New file.
57255 * sysdeps/i386/i686/fpu/e_logf.S: New file.
57256 * sysdeps/i386/i686/fpu/e_logl.S: New file.
57258 * ctype/ctype.h: Add support for inlined isXXX functions when
57259 compiling C++ code.
57261 2011-10-14 Andreas Schwab <schwab@redhat.com>
57263 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57265 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
57267 2011-10-13 Roland McGrath <roland@hack.frob.com>
57270 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
57272 2011-10-13 Andreas Schwab <schwab@redhat.com>
57274 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
57275 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
57278 * sysdeps/x86_64/memrchr.S: Check for zero size.
57280 * string/stratcliff.c: Add memrchr tests.
57282 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57285 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
57286 rawmemchr-sse2 rawmemchr-sse2-bsf.
57287 * sysdeps/i386/i686/multiarch/memchr.S: New file.
57288 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
57289 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
57290 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
57291 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
57292 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
57293 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
57294 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
57295 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
57296 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
57297 * string/memrchr.c (MEMRCHR): New macro.
57299 2011-10-12 Ulrich Drepper <drepper@gmail.com>
57301 Add integration with gcc's -ffinite-math-only and optimize wrapper
57303 * Versions.def: Define GLIBC_2.15 version for libm.
57304 * math/Makefile (headers): Add bits/math-finite.h.
57305 * math/bits/math-finite.h: New file.
57306 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
57307 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
57308 * math/e_acoshl.c: Add __*_finite alias.
57309 * math/e_acosl.c: Likewise.
57310 * math/e_asinl.c: Likewise.
57311 * math/e_atan2l.c: Likewise.
57312 * math/e_atanhl.c: Likewise.
57313 * math/e_coshl.c: Likewise.
57314 * math/e_exp10.c: Likewise.
57315 * math/e_exp10f.c: Likewise.
57316 * math/e_exp10l.c: Likewise.
57317 * math/e_exp2l.c: Likewise.
57318 * math/e_fmodl.c: Likewise.
57319 * math/e_gammal_r.c: Likewise.
57320 * math/e_hypotl.c: Likewise.
57321 * math/e_j0l.c: Likewise.
57322 * math/e_j1l.c: Likewise.
57323 * math/e_jnl.c: Likewise.
57324 * math/e_lgammal_r.c: Likewise.
57325 * math/e_log10l.c: Likewise.
57326 * math/e_log2l.c: Likewise.
57327 * math/e_logl.c: Likewise.
57328 * math/e_powl.c: Likewise.
57329 * math/e_sinhl.c: Likewise.
57330 * math/e_sqrtl.c: Likewise.
57331 * math/e_scalb.c: Completely rewritten and optimized.
57332 * math/e_scalbf.c: Likewise.
57333 * math/e_scalbl.c: Likewise.
57334 * math/w_acos.c: Likewise.
57335 * math/w_acosf.c: Likewise.
57336 * math/w_acosl.c: Likewise.
57337 * math/w_acosh.c: Likewise.
57338 * math/w_acoshf.c: Likewise.
57339 * math/w_acoshl.c: Likewise.
57340 * math/w_asin.c: Likewise.
57341 * math/w_asinf.c: Likewise.
57342 * math/w_asinl.c: Likewise.
57343 * math/w_atan2.c: Likewise.
57344 * math/w_atan2f.c: Likewise.
57345 * math/w_atan2l.c: Likewise.
57346 * math/w_atanh.c: Likewise.
57347 * math/w_atanhf.c: Likewise.
57348 * math/w_atanhl.c: Likewise.
57349 * math/w_exp10.c: Likewise.
57350 * math/w_exp10f.c: Likewise.
57351 * math/w_exp10l.c: Likewise.
57352 * math/w_fmod.c: Likewise.
57353 * math/w_fmodf.c: Likewise.
57354 * math/w_fmodl.c: Likewise.
57355 * math/w_j0.c: Likewise.
57356 * math/w_j0f.c: Likewise.
57357 * math/w_j0l.c: Likewise.
57358 * math/w_j1.c: Likewise.
57359 * math/w_j1f.c: Likewise.
57360 * math/w_j1l.c: Likewise.
57361 * math/w_jn.c: Likewise.
57362 * math/w_jnf.c: Likewise.
57363 * math/w_log.c: Likewise.
57364 * math/w_logf.c: Likewise.
57365 * math/w_logl.c: Likewise.
57366 * math/w_log10.c: Likewise.
57367 * math/w_log10f.c: Likewise.
57368 * math/w_log10l.c: Likewise.
57369 * math/w_log2.c: Likewise.
57370 * math/w_log2f.c: Likewise.
57371 * math/w_log2l.c: Likewise.
57372 * math/w_pow.c: Likewise.
57373 * math/w_powf.c: Likewise.
57374 * math/w_powl.c: Likewise.
57375 * math/w_remainder.c: Likewise.
57376 * math/w_remainderf.c: Likewise.
57377 * math/w_remainderl.c: Likewise.
57378 * math/w_scalb.c: Likewise.
57379 * math/w_scalbf.c: Likewise.
57380 * math/w_scalbl.c: Likewise.
57381 * math/w_sqrt.c: Likewise.
57382 * math/w_sqrtf.c: Likewise.
57383 * math/w_sqrtl.c: Likewise.
57384 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
57385 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
57387 * math/math_private.h: Declare __kernel_standard_f.
57388 * math/w_cosh.c: Remove cruft and optimize a bit.
57389 * math/w_coshf.c: Likewise.
57390 * math/w_coshl.c: Likewise.
57391 * math/w_exp2.c: Likewise.
57392 * math/w_exp2f.c: Likewise.
57393 * math/w_exp2l.c: Likewise.
57394 * math/w_hypot.c: Likewise.
57395 * math/w_hypotf.c: Likewise.
57396 * math/w_hypotl.c: Likewise.
57397 * math/w_lgamma.c: Likewise.
57398 * math/w_lgamma_r.c: Likewise.
57399 * math/w_lgammaf.c: Likewise.
57400 * math/w_lgammaf_r.c: Likewise.
57401 * math/w_lgammal.c: Likewise.
57402 * math/w_lgammal_r.c: Likewise.
57403 * math/w_sinh.c: Likewise.
57404 * math/w_sinhf.c: Likewise.
57405 * math/w_sinhl.c: Likewise.
57406 * math/w_tgamma.c: Likewise.
57407 * math/w_tgammaf.c: Likewise.
57408 * math/w_tgammal.c: Likewise.
57409 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57410 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57411 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
57412 Minor optimizations. Pretty printing. Remove cruft.
57413 * sysdeps/i386/fpu/e_acosf.S: Likewise.
57414 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57415 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57416 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57417 * sysdeps/i386/fpu/e_acosl.c: Likewise.
57418 * sysdeps/i386/fpu/e_asin.S: Likewise.
57419 * sysdeps/i386/fpu/e_asinf.S: Likewise.
57420 * sysdeps/i386/fpu/e_atan2.S: Likewise.
57421 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
57422 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
57423 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57424 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57425 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57426 * sysdeps/i386/fpu/e_exp10.S: Likewise.
57427 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
57428 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
57429 * sysdeps/i386/fpu/e_exp2.S: Likewise.
57430 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
57431 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
57432 * sysdeps/i386/fpu/e_fmod.S: Likewise.
57433 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
57434 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
57435 * sysdeps/i386/fpu/e_hypot.S: Likewise.
57436 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
57437 * sysdeps/i386/fpu/e_log.S: Likewise.
57438 * sysdeps/i386/fpu/e_log10.S: Likewise.
57439 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57440 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57441 * sysdeps/i386/fpu/e_log2.S: Likewise.
57442 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57443 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57444 * sysdeps/i386/fpu/e_logf.S: Likewise.
57445 * sysdeps/i386/fpu/e_logl.S: Likewise.
57446 * sysdeps/i386/fpu/e_pow.S: Likewise.
57447 * sysdeps/i386/fpu/e_powf.S: Likewise.
57448 * sysdeps/i386/fpu/e_powl.S: Likewise.
57449 * sysdeps/i386/fpu/e_remainder.S: Likewise.
57450 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
57451 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
57452 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57453 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57454 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57455 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
57456 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
57457 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
57458 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57459 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57461 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57462 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
57463 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57464 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
57465 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57466 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57467 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57468 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57469 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57470 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57471 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57472 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57474 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57475 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57476 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57477 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57478 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57479 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57480 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57481 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57482 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57483 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57484 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
57485 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57486 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
57487 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57488 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57489 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57490 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57491 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57492 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57493 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57494 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57495 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57496 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57497 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57498 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57499 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57500 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57501 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57502 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57503 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57504 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57505 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57506 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57507 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
57508 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57509 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57510 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57511 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57512 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57513 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57514 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57515 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57516 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57517 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57518 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57519 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57520 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57521 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57522 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57523 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57524 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57525 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57526 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
57527 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57528 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57529 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57530 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57531 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57532 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57533 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57534 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57535 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57536 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57537 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57538 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57539 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57540 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
57541 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57542 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57543 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57544 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57545 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57546 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57547 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57548 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57549 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57550 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57551 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57552 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57553 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57554 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57555 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57556 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57557 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57558 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57559 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57560 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57561 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57562 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57563 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57564 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57565 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57566 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57567 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57568 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
57569 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57570 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57571 (__isnanf): Likewise.
57572 (__isinf_ns): Likewise.
57573 (__isinf_nsf): Likewise.
57574 (__finite): Likewise.
57575 (__finitef): Likewise.
57576 (__ieee754_sqrt): Define as macro.
57577 (__ieee754_sqrtf): Define as macro.
57578 (__ieee754_sqrtl): Define as macro.
57579 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57581 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57582 __FINITE_MATH_ONLY__ consistent.
57583 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57585 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
57587 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57590 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57592 2011-10-09 Ulrich Drepper <drepper@gmail.com>
57594 * po/ja.po: Update from translation team.
57596 2011-10-08 Roland McGrath <roland@hack.frob.com>
57598 * locale/programs/locarchive.c (prepare_address_space): New function.
57599 (create_archive, enlarge_archive, open_archive): Use it.
57601 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57602 inside [SHARED], where it is used.
57604 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57606 * nss/getent.c (netgroup_keys): Remove unused variable.
57607 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57609 2011-10-08 Ulrich Drepper <drepper@gmail.com>
57611 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57612 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57614 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57615 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57616 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57617 * math/Makefile (libm-calls): Add s_isinf_ns.
57618 * math/divtc3.c: Use __isinf_nsl instead of isinf.
57619 * math/multc3.c: Likewise.
57620 * math/s_casin.c: Likewise.
57621 * math/s_casinf.c: Likewise.
57622 * math/s_casinl.c: Likewise.
57623 * math/s_ccos.c: Likewise.
57624 * math/s_ccosf.c: Likewise.
57625 * math/s_ccosl.c: Likewise.
57626 * math/s_ctan.c: Likewise.
57627 * math/s_ctanf.c: Likewise.
57628 * math/s_ctanh.c: Likewise.
57629 * math/s_ctanhf.c: Likewise.
57630 * math/s_ctanhl.c: Likewise.
57631 * math/s_ctanl.c: Likewise.
57632 * math/w_fmod.c: Likewise.
57633 * math/w_fmodf.c: Likewise.
57634 * math/w_fmodl.c: Likewise.
57635 * math/w_remainder.c: Likewise.
57636 * math/w_remainderf.c: Likewise.
57637 * math/w_remainderl.c: Likewise.
57638 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57639 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57640 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57642 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57643 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57644 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57645 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57647 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57649 * stdio-common/printf_fphex.c: Likewise.
57650 * stdio-common/printf_size.c: Likewise.
57652 * math/e_exp10.c: Include math_private.h using <...> not "...".
57653 * math/e_exp10f.c: Likewise.
57654 * math/e_exp10l.c: Likewise.
57655 * math/e_exp2l.c: Likewise.
57656 * math/e_j0l.c: Likewise.
57657 * math/e_j1l.c: Likewise.
57658 * math/e_jnl.c: Likewise.
57659 * math/e_lgammal_r.c: Likewise.
57660 * math/e_rem_pio2l.c: Likewise.
57661 * math/e_scalb.c: Likewise.
57662 * math/e_scalbf.c: Likewise.
57663 * math/e_scalbl.c: Likewise.
57664 * math/k_cosl.c: Likewise.
57665 * math/k_sinl.c: Likewise.
57666 * math/k_tanl.c: Likewise.
57667 * math/s_cacoshf.c: Likewise.
57668 * math/s_catan.c: Likewise.
57669 * math/s_catanf.c: Likewise.
57670 * math/s_catanh.c: Likewise.
57671 * math/s_catanhf.c: Likewise.
57672 * math/s_catanhl.c: Likewise.
57673 * math/s_catanl.c: Likewise.
57674 * math/s_ccosh.c: Likewise.
57675 * math/s_ccoshf.c: Likewise.
57676 * math/s_ccoshl.c: Likewise.
57677 * math/s_cexp.c: Likewise.
57678 * math/s_cexpf.c: Likewise.
57679 * math/s_cexpl.c: Likewise.
57680 * math/s_clog.c: Likewise.
57681 * math/s_clog10.c: Likewise.
57682 * math/s_clog10f.c: Likewise.
57683 * math/s_clog10l.c: Likewise.
57684 * math/s_clogf.c: Likewise.
57685 * math/s_clogl.c: Likewise.
57686 * math/s_csin.c: Likewise.
57687 * math/s_csinf.c: Likewise.
57688 * math/s_csinh.c: Likewise.
57689 * math/s_csinhf.c: Likewise.
57690 * math/s_csinhl.c: Likewise.
57691 * math/s_csinl.c: Likewise.
57692 * math/s_csqrt.c: Likewise.
57693 * math/s_csqrtf.c: Likewise.
57694 * math/s_csqrtl.c: Likewise.
57695 * math/s_ctan.c: Likewise.
57696 * math/s_ctanf.c: Likewise.
57697 * math/s_ctanh.c: Likewise.
57698 * math/s_ctanhf.c: Likewise.
57699 * math/s_ctanhl.c: Likewise.
57700 * math/s_ctanl.c: Likewise.
57701 * math/s_ldexp.c: Likewise.
57702 * math/s_ldexpf.c: Likewise.
57703 * math/s_ldexpl.c: Likewise.
57704 * math/s_significand.c: Likewise.
57705 * math/s_significandf.c: Likewise.
57706 * math/s_significandl.c: Likewise.
57707 * math/w_acos.c: Likewise.
57708 * math/w_acosf.c: Likewise.
57709 * math/w_acosh.c: Likewise.
57710 * math/w_acoshf.c: Likewise.
57711 * math/w_acoshl.c: Likewise.
57712 * math/w_acosl.c: Likewise.
57713 * math/w_asin.c: Likewise.
57714 * math/w_asinf.c: Likewise.
57715 * math/w_asinl.c: Likewise.
57716 * math/w_atan2.c: Likewise.
57717 * math/w_atan2f.c: Likewise.
57718 * math/w_atan2l.c: Likewise.
57719 * math/w_atanh.c: Likewise.
57720 * math/w_atanhf.c: Likewise.
57721 * math/w_atanhl.c: Likewise.
57722 * math/w_cosh.c: Likewise.
57723 * math/w_coshf.c: Likewise.
57724 * math/w_coshl.c: Likewise.
57725 * math/w_dremf.c: Likewise.
57726 * math/w_exp10.c: Likewise.
57727 * math/w_exp10f.c: Likewise.
57728 * math/w_exp10l.c: Likewise.
57729 * math/w_exp2.c: Likewise.
57730 * math/w_exp2f.c: Likewise.
57731 * math/w_fmod.c: Likewise.
57732 * math/w_fmodf.c: Likewise.
57733 * math/w_fmodl.c: Likewise.
57734 * math/w_hypot.c: Likewise.
57735 * math/w_hypotf.c: Likewise.
57736 * math/w_hypotl.c: Likewise.
57737 * math/w_j0.c: Likewise.
57738 * math/w_j0f.c: Likewise.
57739 * math/w_j0l.c: Likewise.
57740 * math/w_j1.c: Likewise.
57741 * math/w_j1f.c: Likewise.
57742 * math/w_j1l.c: Likewise.
57743 * math/w_jn.c: Likewise.
57744 * math/w_jnf.c: Likewise.
57745 * math/w_jnl.c: Likewise.
57746 * math/w_lgamma.c: Likewise.
57747 * math/w_lgamma_r.c: Likewise.
57748 * math/w_lgammaf.c: Likewise.
57749 * math/w_lgammaf_r.c: Likewise.
57750 * math/w_lgammal.c: Likewise.
57751 * math/w_lgammal_r.c: Likewise.
57752 * math/w_log.c: Likewise.
57753 * math/w_log10.c: Likewise.
57754 * math/w_log10f.c: Likewise.
57755 * math/w_log10l.c: Likewise.
57756 * math/w_log2.c: Likewise.
57757 * math/w_log2f.c: Likewise.
57758 * math/w_log2l.c: Likewise.
57759 * math/w_logf.c: Likewise.
57760 * math/w_logl.c: Likewise.
57761 * math/w_pow.c: Likewise.
57762 * math/w_powf.c: Likewise.
57763 * math/w_powl.c: Likewise.
57764 * math/w_remainder.c: Likewise.
57765 * math/w_remainderf.c: Likewise.
57766 * math/w_remainderl.c: Likewise.
57767 * math/w_scalb.c: Likewise.
57768 * math/w_scalbf.c: Likewise.
57769 * math/w_scalbl.c: Likewise.
57770 * math/w_sinh.c: Likewise.
57771 * math/w_sinhf.c: Likewise.
57772 * math/w_sinhl.c: Likewise.
57773 * math/w_sqrt.c: Likewise.
57774 * math/w_sqrtf.c: Likewise.
57775 * math/w_sqrtl.c: Likewise.
57776 * math/w_tgamma.c: Likewise.
57777 * math/w_tgammaf.c: Likewise.
57778 * math/w_tgammal.c: Likewise.
57780 * po/ja.po: Update from translation team.
57782 2011-09-29 Andreas Jaeger <aj@suse.de>
57785 * sunrpc/netname.c (netname2host): Fix logic.
57789 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57791 * math/w_remainder.c (__remainder): Likewise.
57792 * math/w_remainderf.c (__remainderf): Likewise.
57793 * math/libm-test.inc (remainder_test): Add test cases.
57795 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57797 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
57800 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57802 * string/test-memcmp.c: Avoid unncessary #defines.
57803 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57805 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
57807 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57808 Use new sse2 version for core i3 - i7 as it's faster
57809 than sse42 version.
57810 (bit_Prefer_PMINUB_for_stringop): New.
57811 * sysdeps/x86_64/rawmemchr.S: Update.
57812 Replace with faster SSE2 version.
57813 * sysdeps/x86_64/memrchr.S: New file.
57814 * sysdeps/x86_64/memchr.S: Update.
57815 Replace with faster SSE2 version.
57817 2011-09-12 Marek Polacek <mpolacek@redhat.com>
57819 * elf/dl-load.c (lose): Add cast to avoid warning.
57821 2011-10-07 Ulrich Drepper <drepper@gmail.com>
57823 * po/ca.po: Update from translation team.
57825 * inet/getnetgrent_r.c: Hook up nscd.
57826 * nscd/Makefile (routines): Add nscd_netgroup.
57827 (nscd-modules): Add netgroupcache.
57828 (CFLAGS-netgroupcache.c): Define.
57829 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57830 (cache_search): Add const to second parameter.
57831 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57833 (dbs): Add netgrdb entry.
57834 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57835 (verify_persistent_db): Handle netgrdb.
57836 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57837 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57839 (netgroup_response_header): Define.
57840 (innetgroup_response_header): Define.
57841 (datahead): Add netgroup_response_header and innetgroup_response_header
57843 * nscd/nscd.conf: Add entries for netgroup cache.
57844 * nscd/nscd.h (dbtype): Add netgrdb.
57845 (_PATH_NSCD_NETGROUP_DB): Define.
57846 (netgroup_iov_disabled): Declare.
57847 (xmalloc, xcalloc, xrealloc): Move declarations here.
57848 (cache_search): Adjust prototype.
57849 Add netgroup-related prototypes.
57850 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57851 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57852 (__nscd_innetgr): Declare.
57853 * nscd/selinux.c (perms): Use access_vector_t as element type and
57854 add netgroup-related initializers.
57855 * nscd/netgroupcache.c: New file.
57856 * nscd/nscd_netgroup.c: New file.
57857 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57858 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57859 For four parameters use innetgr.
57860 * nss/nss_files/files-init.c: Add definition and callback for netgr.
57861 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57862 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57863 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57865 * nscd/connections.c (register_traced_file): Don't register file
57866 for disabled databases.
57868 2011-10-06 Ulrich Drepper <drepper@gmail.com>
57870 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57872 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57873 from tree and freeing node.
57875 2011-09-25 Jiri Olsa <jolsa@redhat.com>
57877 * nss/nsswitch.c (__nss_database_lookup): Handle
57878 nss_parse_service_list out of memory case.
57880 2011-09-15 Jiri Olsa <jolsa@redhat.com>
57882 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57883 out of memory case.
57885 2011-10-04 Andreas Schwab <schwab@redhat.com>
57887 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57888 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57890 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57891 elf_machine_rela, elf_machine_lazy_rel.
57892 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57893 (ELF_DYNAMIC_DO_REL): Likewise.
57894 (ELF_DYNAMIC_DO_RELA): Likewise.
57895 (ELF_DYNAMIC_RELOCATE): Likewise.
57896 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57897 to ELF_DYNAMIC_DO_REL.
57898 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57899 (dl_main): In trace mode always set __RTLD_NOIFUNC.
57900 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57902 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57903 skip_ifunc, don't call ifunc function if non-zero.
57904 (elf_machine_rela): Likewise.
57905 (elf_machine_lazy_rel): Likewise.
57906 (elf_machine_lazy_rela): Likewise.
57907 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57908 (elf_machine_lazy_rel): Likewise.
57909 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57911 (elf_machine_lazy_rel): Likewise.
57912 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57914 (elf_machine_lazy_rel): Likewise.
57915 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57916 (elf_machine_lazy_rel): Likewise.
57917 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57918 (elf_machine_lazy_rel): Likewise.
57919 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57920 (elf_machine_lazy_rel): Likewise.
57921 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57922 (elf_machine_lazy_rel): Likewise.
57923 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57924 (elf_machine_lazy_rel): Likewise.
57925 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57926 (elf_machine_lazy_rel): Likewise.
57928 2011-09-28 Ulrich Drepper <drepper@gmail.com>
57930 * nss/nss_files/files-init.c (_nss_files_init): Use static
57931 initialization for all the *_traced_file variables.
57933 2011-09-28 Andreas Schwab <schwab@redhat.com>
57935 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57937 2011-09-27 Roland McGrath <roland@hack.frob.com>
57940 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57942 2011-09-27 Andreas Schwab <schwab@redhat.com>
57944 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57945 Reread the line before reparsing it.
57947 2011-09-26 Andreas Schwab <schwab@redhat.com>
57949 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57951 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
57952 Maxim Kuvyrkov <maxim@codesourcery.com>
57953 Joseph Myers <joseph@codesourcery.com>
57955 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57956 if needed for __stack_chk_guard.
57958 2011-09-19 Roland McGrath <roland@hack.frob.com>
57960 * sysdeps/posix/spawni.c (script_execute): Always define it.
57961 It will be optimized away if unused.
57962 (maybe_script_execute): New function.
57963 (__spawni): Call it.
57965 * Makerules: Don't include tls.make.
57966 (config-tls): Always set to thread.
57967 * tls.make.c: File removed.
57969 2011-09-19 Mike Frysinger <vapier@gentoo.org>
57971 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57972 * config.make.in (CPPFLAGS-config): New substituted variable.
57974 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57976 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57979 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57980 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57982 2011-09-15 Roland McGrath <roland@hack.frob.com>
57984 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57985 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57986 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57987 (CALL_FAIL): Likewise.
57988 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57989 (CALL_FAIL): Macro removed.
57990 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57992 2011-09-15 Ulrich Drepper <drepper@gmail.com>
57994 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57995 for __FINITE_MATH_ONLY__ == 1.
57997 2011-09-15 Andreas Schwab <schwab@redhat.com>
57999 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
58000 __ieee754_sqrt instead of sqrt.
58001 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
58002 __ieee754_sqrtf instead of sqrtf.
58003 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
58004 __floorf instead of floorf.
58005 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
58006 __floorf, __truncf instead of floorf, truncf.
58008 2011-09-14 Ulrich Drepper <drepper@gmail.com>
58010 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
58012 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
58013 __extern_always_inline.
58014 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
58017 2011-09-14 Andreas Schwab <schwab@redhat.com>
58019 * elf/rtld.c (dl_main): Also relocate in dependency order when
58020 doing symbol dependency testing.
58022 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
58024 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58025 Always define `refsym'.
58027 2011-09-13 Andreas Schwab <schwab@redhat.com>
58029 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
58030 (__FD_ELT): Renamed from __FDELT.
58031 * misc/bits/select2.h (__FD_ELT): Likewise.
58032 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
58033 __FD_MASK instead of __FDELT, __FDMASK.
58034 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58036 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
58039 * elf/Makefile (gen-ldd): Fix pattern.
58041 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
58042 (init_tls): Likewise.
58044 2011-09-12 Ulrich Drepper <drepper@gmail.com>
58046 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
58048 2011-09-12 Andreas Schwab <schwab@redhat.com>
58050 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
58051 `struct cmsghdr *' instead of `void *'.
58052 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
58055 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
58057 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
58059 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
58060 ldd_rewrite_script.
58062 2011-09-11 Ulrich Drepper <drepper@gmail.com>
58064 * configure.in: Remove --with-tls option.
58065 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
58066 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
58067 out in case it is missing.
58068 * sysdeps/ia64/elf/configure.in: Likewise.
58069 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
58070 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
58071 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
58072 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
58073 * sysdeps/sh/elf/configure.in: Likewise.
58074 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
58075 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58076 * sysdeps/x86_64/elf/configure.in: Likewise.
58077 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
58078 * sysdeps/mach/hurd/tls.h: Likewise.
58081 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
58084 * configure.in: Fix use of AC_INIT.
58086 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
58088 2011-09-10 Ulrich Drepper <drepper@gmail.com>
58090 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
58092 * malloc/hooks.c: Likewise.
58095 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
58096 variables statically.
58097 (narenas): Initialize.
58098 (list_lock): Initialize.
58099 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
58100 initializtion of main_arena and list_lock. Small cleanups.
58101 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
58102 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
58103 Add initializers to main_arena and mp_.
58104 (malloc_state): Remove pagesize member. Change all users to use
58107 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
58108 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
58109 is always initialized.
58111 * malloc/malloc.c: Removed unused configurations and dead code.
58112 * malloc/arena.c: Likewise.
58113 * malloc/hooks.c: Likewise.
58114 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
58116 * include/tls.h: Removed. USE___THREAD must always be defined.
58117 * bits/libc-tsd.h: Don't handle !USE___THREAD.
58118 * elf/dl-libc.c: Likewise.
58119 * elf/dl-tsd.c: Likewise.
58120 * include/errno.h: Likewise.
58121 * include/netdb.h: Likewise.
58122 * include/resolv.h: Likewise.
58123 * inet/herrno-loc.c: Likewise.
58124 * inet/herrno.c: Likewise.
58125 * malloc/arena.c: Likewise.
58126 * malloc/hooks.c: Likewise.
58127 * malloc/malloc.c: Likewise.
58128 * resolv/res-state.c: Likewise.
58129 * resolv/res_libc.c: Likewise.
58130 * sysdeps/i386/dl-machine.h: Likewise.
58131 * sysdeps/ia64/dl-machine.h: Likewise.
58132 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
58133 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58134 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
58135 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
58136 * sysdeps/sh/dl-machine.h: Likewise.
58137 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58138 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58139 * sysdeps/unix/i386/sysdep.S: Likewise.
58140 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
58141 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
58142 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
58143 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
58144 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
58145 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
58146 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
58147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
58150 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58151 * sysdeps/x86_64/dl-machine.h: Likewise.
58152 * tls.make.c: Likewise.
58154 * configure.in: Remove --with-__thread option. Make tests for
58155 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
58156 tls_model attribute fail if no support is available. Remove
58158 * Makeconfig: Adjust for dropped configure option. All features are
58160 * Makerules: Likewise.
58161 * Versions.def: Likewise.
58162 * argp/argp-fmtstream.c: Likewise.
58163 * argp/argp-fmtstream.h: Likewise.
58164 * argp/argp-help.c: Likewise.
58165 * assert/assert.c: Likewise.
58166 * config.h.in: Likewise.
58167 * config.make.in: Likewise.
58168 * configure: Likewise.
58169 * configure.in: Likewise.
58170 * csu/Versions: Likewise.
58171 * csu/init.c: Likewise.
58172 * elf/tst-audit2.c: Likewise.
58173 * elf/tst-tls10.c: Likewise.
58174 * elf/tst-tls10.h: Likewise.
58175 * elf/tst-tls11.c: Likewise.
58176 * elf/tst-tls12.c: Likewise.
58177 * elf/tst-tls14.c: Likewise.
58178 * elf/tst-tlsmod11.c: Likewise.
58179 * elf/tst-tlsmod12.c: Likewise.
58180 * elf/tst-tlsmod13.c: Likewise.
58181 * elf/tst-tlsmod13a.c: Likewise.
58182 * elf/tst-tlsmod14a.c: Likewise.
58183 * elf/tst-tlsmod15b.c: Likewise.
58184 * elf/tst-tlsmod16a.c: Likewise.
58185 * elf/tst-tlsmod16b.c: Likewise.
58186 * elf/tst-tlsmod7.c: Likewise.
58187 * elf/tst-tlsmod8.c: Likewise.
58188 * elf/tst-tlsmod9.c: Likewise.
58189 * gmon/gmon.c: Likewise.
58190 * grp/fgetgrent_r.c: Likewise.
58191 * grp/putgrent.c: Likewise.
58192 * hurd/fopenport.c: Likewise.
58193 * include/libc-symbols.h: Likewise.
58194 * include/tls.h: Likewise.
58195 * intl/gettextP.h: Likewise.
58196 * intl/loadinfo.h: Likewise.
58197 * locale/global-locale.c: Likewise.
58198 * locale/localeinfo.h: Likewise.
58199 * mach/devstream.c: Likewise.
58200 * malloc/arena.c: Likewise.
58201 * malloc/set-freeres.c: Likewise.
58202 * misc/err.c: Likewise.
58203 * misc/getttyent.c: Likewise.
58204 * misc/mntent_r.c: Likewise.
58205 * posix/getopt.c: Likewise.
58206 * posix/wordexp.c: Likewise.
58207 * pwd/fgetpwent_r.c: Likewise.
58208 * resolv/Versions: Likewise.
58209 * resolv/res_hconf.c: Likewise.
58210 * shadow/fgetspent_r.c: Likewise.
58211 * shadow/putspent.c: Likewise.
58212 * stdio-common/printf_fphex.c: Likewise.
58213 * stdio-common/tmpfile.c: Likewise.
58214 * stdlib/abort.c: Likewise.
58215 * stdlib/fmtmsg.c: Likewise.
58216 * sunrpc/auth_unix.c: Likewise.
58217 * sunrpc/clnt_perr.c: Likewise.
58218 * sunrpc/clnt_tcp.c: Likewise.
58219 * sunrpc/clnt_udp.c: Likewise.
58220 * sunrpc/clnt_unix.c: Likewise.
58221 * sunrpc/openchild.c: Likewise.
58222 * sunrpc/svc_simple.c: Likewise.
58223 * sunrpc/svc_tcp.c: Likewise.
58224 * sunrpc/svc_udp.c: Likewise.
58225 * sunrpc/svc_unix.c: Likewise.
58226 * sunrpc/xdr.c: Likewise.
58227 * sunrpc/xdr_array.c: Likewise.
58228 * sunrpc/xdr_rec.c: Likewise.
58229 * sunrpc/xdr_ref.c: Likewise.
58230 * sunrpc/xdr_stdio.c: Likewise.
58232 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58234 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58236 2011-07-03 Andreas Jaeger <aj@suse.de>
58238 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
58239 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
58240 regenerate with gen-libm-tests.pl.
58242 2010-05-12 Petr Baudis <pasky@suse.cz>
58245 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
58246 around j0() zero points by switching to j1().
58247 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58248 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58249 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58250 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58252 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58254 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
58256 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
58258 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58259 Patch in part by Pavel Roskin <proski@gnu.org>.
58262 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
58264 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
58265 Free memory block if necessary.
58268 * libio/genops.c (INTDEF): For string streams the _lock pointer can
58269 be NULL. Don't lock in this case.
58271 2011-09-09 Roland McGrath <roland@hack.frob.com>
58273 * elf/elf.h (ELFOSABI_GNU): New macro.
58274 (ELFOSABI_LINUX): Define to that.
58276 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
58278 * string/strncat.c (strncat): Undef the symbol in case it has been
58279 defined in bits/string.h.
58281 2011-09-09 Ulrich Drepper <drepper@gmail.com>
58283 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
58285 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
58288 2011-08-17 Andreas Jaeger <aj@suse.de>
58290 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
58292 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
58293 Ian Lance Taylor <iant@google.com>
58295 * math/libm-test.inc (lround_test): New testcase.
58296 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
58298 2011-09-08 Ulrich Drepper <drepper@gmail.com>
58300 * Makefile: Remove support for automatic cvs check-ins.
58301 * Makerules: Likewise.
58302 * config.make.in: Likewise.
58303 * configure.in: Likewise.
58304 * intl/Makefile: Likewise.
58305 * locale/Makefile: Likewise.
58306 * po/Makefile: Likewise.
58307 * posix/Makefile: Likewise.
58308 * sysdeps/gnu/Makefile: Likewise.
58309 * sysdeps/mach/hurd/Makefile: Likewise.
58310 * sysdeps/sparc/sparc32/Makefile: Likewise.
58313 * posix/Makefile (bug-regex32-ENV): Define.
58314 Patch by John Stanley <jpsinthemix@verizon.net>.
58316 * misc/Makefile (headers): Add bits/select2.h.
58317 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
58318 * misc/bits/select2.h: New file.
58319 * include/bits/select2.h: New file.
58320 * debug/Makefile (routines): Add fdelt_chk.
58321 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
58322 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
58324 * debug/fdelt_chk.c: New file.
58326 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
58327 * wcsmbs/test-wmemcmp.c: Likewise.
58328 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
58329 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
58331 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58333 * string/Makefile (strop-tests): Add memcmp.
58334 * string/test-wmemcmp.c: New file.
58335 * string/test-memcmp.c: Add wmemcmp support.
58337 2011-09-08 Roland McGrath <roland@hack.frob.com>
58340 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
58343 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
58344 garbage value in a __mach_port_mod_refs call in the cases of the
58345 task-self and thread-self ports.
58347 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58349 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
58351 2011-09-08 Andreas Schwab <schwab@redhat.com>
58353 * elf/dl-load.c (lose): Check for non-null L.
58355 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58357 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
58359 * elf/dl-libc.c (dlerror_run): Pass back error code from
58363 * elf/dl-load.c (lose): Free l_origin if it is valid.
58365 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
58367 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
58368 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58369 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58370 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58371 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
58372 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
58374 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58376 * sysdeps/powerpc/fpu/e_hypot.c: New file.
58377 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
58378 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
58379 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
58380 * sysdeps/powerpc/fpu/k_cosf.c: New file.
58381 * sysdeps/powerpc/fpu/k_sinf.c: New file.
58382 * sysdeps/powerpc/fpu/s_cosf.c: New file.
58383 * sysdeps/powerpc/fpu/s_sinf.c: New file.
58384 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
58385 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
58387 2011-08-15 Alan Modra <amodra@gmail.com>
58390 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
58391 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
58392 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
58393 ppc_mcount to static-only-routines.
58394 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
58396 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
58397 __mcount_internal with usual JUMPTARGET. Remove useless nop.
58399 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
58401 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
58402 for finite and infinity parameters.
58404 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58406 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
58407 and add nop instructions for throughput optimization.
58408 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58410 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
58412 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
58413 aligned copy for power7 with vector-scalar instructions.
58414 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
58416 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
58418 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
58421 2011-09-07 Andreas Schwab <schwab@redhat.com>
58424 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
58427 2011-09-07 Ulrich Drepper <drepper@gmail.com>
58429 * sysdeps/unix/sysv/linux/x86_64/init-first.c
58430 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
58431 syscall wrapper around clock_gettime in __vdso_clock_gettime.
58432 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
58435 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58437 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
58438 Forgot to demangle the pointer.
58440 * sysdeps/i386/sysdep.h: Define atom_text_section.
58441 * sysdeps/x86_64/sysdep.h: Likewise.
58442 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
58443 section with atom_text_section.
58444 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
58445 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
58446 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
58447 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58448 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
58450 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
58451 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
58452 already be defined. Change to take two parameters and don't assign
58453 result to variable. Adjust all users.
58454 Define INTERNAL_GETTIME if not already defined.
58455 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
58457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
58458 HAVE_CLOCK_GETTIME_VSYSCALL.
58459 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
58461 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
58462 gettimeofday vsyscall, just use time.
58464 2011-09-06 Andreas Schwab <schwab@redhat.com>
58466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
58469 2011-09-06 Ulrich Drepper <drepper@gmail.com>
58471 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
58473 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
58475 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
58476 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
58477 syscall if possible.
58479 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58481 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
58482 e_ident. Don't pass to find_mapsXX.
58483 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
58485 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58488 strchr-sse2-no-bsf strrchr-sse2-no-bsf
58489 * sysdeps/x86_64/multiarch/strchr.S: Update.
58490 Check bit_slow_BSF bit.
58491 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58492 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
58493 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
58495 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58498 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
58500 (tryshell): Define.
58501 (__spawni): Change last parameter to be flag. Test
58502 SPAWN_XFLAGS_USE_PATH flag to use path or not.
58503 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
58504 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
58505 * posix/spawni.c: Likewise.
58506 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
58507 * posix/spawnp.c: Likewise. Change normal version to use
58508 SPAWN_XFLAGS_USE_PATH.
58509 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
58510 SPAWN_XFLAGS_TRY_SHELL.
58513 * posix/glob.h: Remove gcc 1.x support.
58516 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
58518 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58520 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58521 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
58523 * sysdeps/i386/i686/multiarch/strchr.S: New file.
58524 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
58525 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
58526 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
58527 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
58528 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
58530 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58532 * sysdeps/x86_64/wcscmp.S: New file.
58534 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
58535 wcscmp-c wcscmp-sse2
58536 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
58537 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
58538 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
58539 * wcsmbs/wcscmp.c: Allow renaming.
58541 2011-09-05 David S. Miller <davem@davemloft.net>
58543 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
58544 stack slot, rather than the struct return pointer slot.
58545 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58546 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58548 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58550 2011-09-05 Ulrich Drepper <drepper@gmail.com>
58552 * po/ja.po: Update from translation team.
58555 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58556 kernel in 64-bit binaries.
58558 2011-09-01 David S. Miller <davem@davemloft.net>
58560 * elf/elf.h (HWCAP_SPARC_*): Move to..
58561 * sysdeps/sparc/sysdep.h: this new file and add new values.
58562 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58563 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58564 _DL_HWCAP_COUNT to 24.
58565 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58567 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58568 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58569 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58571 instead of magic constants.
58572 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58574 2011-08-31 David S. Miller <davem@davemloft.net>
58576 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58577 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58578 Reimplement to do errno handling inline.
58579 (SYSCALL_ERROR_HANDLER): New macro.
58580 (__SYSCALL_STRING): Do not do errno handling in asm.
58581 (__CLONE_SYSCALL_STRING): Delete.
58582 (__INTERNAL_SYSCALL_STRING): Delete.
58583 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58584 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58585 (PSEUDO): Reimplement to do errno handling inline.
58586 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58587 (SYSCALL_ERROR_HANDLER): New macro.
58588 (__SYSCALL_STRING): Do not do errno handling in asm.
58589 (__CLONE_SYSCALL_STRING): Delete.
58590 (__INTERNAL_SYSCALL_STRING): Delete.
58591 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58592 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58594 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58595 (inline_syscall*): Add 'err' argument.
58596 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58597 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58598 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58599 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58601 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58602 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58604 2011-08-30 Andreas Schwab <schwab@redhat.com>
58606 * elf/rtld.c (dl_main): Relocate objects in dependency order.
58608 2011-08-29 Jiri Olsa <jolsa@redhat.com>
58610 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58613 2011-08-24 David S. Miller <davem@davemloft.net>
58615 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58617 2011-08-24 Andreas Schwab <schwab@redhat.com>
58619 * elf/Makefile: Add rules to build and run unload8 test.
58620 * elf/unload8.c: New file.
58621 * elf/unload8mod1.c: New file.
58622 * elf/unload8mod1x.c: New file.
58623 * elf/unload8mod2.c: New file.
58624 * elf/unload8mod3.c: New file.
58626 * elf/dl-close.c (_dl_close_worker): Reset private search list if
58629 2011-08-23 David S. Miller <davem@davemloft.net>
58631 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58632 subtract stack bias.
58633 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58634 %sp not %fp in calculations.
58635 (_JMPBUF_UNWINDS_ADJ): Likewise.
58637 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58638 (aio_suspend): Call it to force an exception region around the
58639 AIO_MISC_WAIT() invocation.
58641 2011-08-23 Andreas Schwab <schwab@redhat.com>
58643 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58646 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
58648 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58650 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58651 and <dl-machine.h>.
58652 (Elf64_FuncDesc): Remove.
58654 2011-08-22 David S. Miller <davem@davemloft.net>
58656 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58657 sigaltstack check, add missing cfi directives.
58658 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58659 missing cfi directives, and sigaltstack handling.
58661 2011-08-16 Andreas Schwab <schwab@redhat.com>
58664 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58665 object is seen twice.
58666 * elf/dl-fini.c (_dl_sort_fini): Likewise.
58668 * elf/Makefile (distribute): Add tst-initorder2.c.
58669 (tests): Add tst-initorder2.
58670 (modules-names): Add tst-initorder2a tst-initorder2b
58671 tst-initorder2c tst-initorder2d. Add rules to build them.
58672 ($(objpfx)tst-initorder2.out): New rule.
58673 * elf/tst-initorder2.c: New file.
58674 * elf/tst-initorder2.exp: New file.
58676 2011-08-22 Andreas Schwab <schwab@redhat.com>
58678 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58680 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58681 dependencies back to end of function.
58683 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58684 $(elfobjdir)/ld.so.
58686 2011-08-21 Ulrich Drepper <drepper@gmail.com>
58688 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58689 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58690 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58691 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58692 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58693 of __vdso_gettimeofday.
58694 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58695 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
58697 (_libc_vdso_platform_setup): Remove initialization of
58698 __vdso_gettimeofday and __vdso_time.
58700 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58702 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58703 and fgetc_unlocked.
58704 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58707 * elf/dl-open.c (add_to_global): Report additions to the global scope
58708 for LD_DEBUG=scopes.
58709 (dl_open_worker): Also print scope of newly loaded dependencies.
58710 (_dl_show_scope): Indicate if there is no scope.
58713 * stdio-common/Makefile (tests): Add bug24.
58714 * stdio-common/bug24.c: New file.
58716 2011-08-19 Andreas Jaeger <aj@suse.de>
58719 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58720 non-existant file when using close-on-exec mode.
58722 2011-08-20 Ulrich Drepper <drepper@gmail.com>
58724 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58725 the very first instruction.
58727 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58728 the CFI state in the end.
58729 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58730 inclusion of dl-trampoline.h.
58731 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58733 2011-08-19 Andreas Schwab <schwab@redhat.com>
58735 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58736 expectations for long double.
58738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58739 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58741 2011-08-14 David S. Miller <davem@davemloft.net>
58743 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58744 artificual limit depends upon the system page size.
58746 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58748 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58749 * resolv/Makefile: Define CFLAGS-libresolv.
58751 2011-08-17 Andreas Schwab <schwab@redhat.com>
58753 * nss/makedb.c (compute_tables): Make variables used in nested
58756 2011-08-17 Ulrich Drepper <drepper@gmail.com>
58758 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58759 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58760 if buffer was too small.
58762 * elf/pldd.c (main): Attach to all threads in the process.
58763 Rewrite /proc handling to use *at functions.
58765 2011-08-16 Ulrich Drepper <drepper@gmail.com>
58767 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58768 specifies first scope to show.
58769 (dl_open_worker): Update callers. Move printing scope of new
58770 object to before the relocation.
58771 * elf/rtld.c (dl_main): Update _dl_show_scope call.
58772 * sysdeps/generic/ldsodefs.h: Update declaration.
58774 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58775 string for the scope number.
58777 2011-08-14 Ulrich Drepper <drepper@gmail.com>
58779 * nscd/servicescache.c (cache_addserv): Make sure written is always
58782 2011-08-14 Roland McGrath <roland@hack.frob.com>
58784 * sysdeps/i386/i486/bits/atomic.h
58785 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58786 statement expression, so as to suppress "set but not used" warning.
58787 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58789 * string/strncat.c (STRNCAT): Use prototype definition.
58791 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58792 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58794 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58795 (localedef-modules): Add localedef.
58796 (locale-modules): Add locale.
58798 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58799 * elf/rtld.c (dl_main): Invert order of assignment in last change,
58800 to avoid a warning.
58802 2011-08-14 David S. Miller <davem@davemloft.net>
58804 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58805 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58807 2011-08-13 Ulrich Drepper <drepper@gmail.com>
58809 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58810 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58811 * elf/rtld.c (dl_main): Set l_name of vDSO.
58812 Call _dl_show_scope when DL_DEBUG_SCOPES.
58813 (process_dl_debug): Recognize scopes flag and also set it for all.
58814 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58815 Declare _dl_show_scope.
58817 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58818 (do_dlopen): Pass caller_dlopen to dl_open.
58819 (__libc_dlopen_mode): Initialize caller_dlopen.
58821 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58822 of libc. Make tolower call locale-independent. Optimize a bit by
58823 using isdigit instead of isalnum.
58824 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58826 2011-08-12 Ulrich Drepper <drepper@gmail.com>
58828 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58829 was a dependency or dynamically loaded.
58831 2011-08-11 Ulrich Drepper <drepper@gmail.com>
58833 * intl/l10nflist.c: Allow architecture-specific pop function.
58834 * sysdeps/x86_64/l10nflist.c: New file.
58836 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58839 2011-08-10 Andreas Schwab <schwab@redhat.com>
58841 * include/dirent.h: Add libc_hidden_proto for scandirat and
58842 scandirat64. Don't declare __scandirat64.
58843 * dirent/scandirat.c: Add libc_hidden_def.
58844 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58845 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58847 2011-08-10 David S. Miller <davem@davemloft.net>
58849 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58851 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58852 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58853 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58855 2011-08-09 Ulrich Drepper <drepper@gmail.com>
58857 * Versions.def [libc]: Add GLIBC_2.15.
58858 * dirent/Makefile (routines): Add scandirat and scandirat64.
58859 * dirent/Versions [libc]: Export scandirat and scandirat64 for
58861 * dirent/dirent.h: Declare scandirat and scandirat64.
58862 * dirent/scandirat.c: New file.
58863 * dirent/scandirat64.c: New file.
58864 * sysdeps/wordsize-64/scandirat.c: New file.
58865 * sysdeps/wordsize-64/scandirat64.c: New file.
58866 * dirent/opendir.c: Define opendirat.
58867 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
58869 * dirent/scandir64.c: Adjust for scandir.c change.
58870 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
58871 __scandirat64, and __scandir_cancel_handler.
58872 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
58873 additional parameter and use openat instead of open (outside of ld.so).
58874 Add new __opendir as wrapper around __opendirat.
58875 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58876 here without requiring old scandirat implementation.
58878 2011-08-08 Ulrich Drepper <drepper@gmail.com>
58880 * dirent/scandir.c (cancel_handler): Renamed to
58881 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
58882 defined. Adjust users.
58883 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58884 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58886 2011-08-04 Ulrich Drepper <drepper@gmail.com>
58888 * string/test-string.h (IMPL): Use __STRING to expand name and then
58891 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
58894 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58896 * string/Makefile: Update.
58897 (strop-tests): Append strncat.
58898 * string/test-wcscmp.c: New file.
58899 New comprehensive test for wcscmp.
58900 * string/test-strcmp.c: Update.
58901 (WIDE): New define.
58903 2011-07-22 Andreas Schwab <schwab@redhat.com>
58905 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58908 2011-07-26 Andreas Schwab <schwab@redhat.com>
58910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58911 encoding to ACE if AI_IDN.
58913 2011-08-01 Jakub Jelinek <jakub@redhat.com>
58915 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58916 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58918 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58920 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58921 Fix overflow bug in strncat.
58922 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58924 * string/test-strncat.c: Update.
58925 Add new tests for checking overflow bugs.
58927 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
58929 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58930 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58931 * sysdeps/i386/i686/multiarch/strcat.S: New file.
58932 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58933 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58934 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58935 * sysdeps/i386/i686/multiarch/strncat.S: New file.
58936 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58937 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58940 (USE_AS_STRCAT): Define.
58941 Add strcat and strncat support.
58942 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58944 2011-07-25 Andreas Schwab <schwab@redhat.com>
58946 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58947 __n bigger than INT_MAX+1.
58948 (__strncmp_g): Likewise.
58950 2011-07-23 Ulrich Drepper <drepper@gmail.com>
58952 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58953 * libio/stido.h: Likewise.
58955 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58957 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58960 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58961 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58962 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58963 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58964 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58967 * scripts/test-installation.pl: Don't expect libnss_test1 to be
58970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58972 (_dl_x86_64_save_sse): Likewise.
58974 2011-07-22 Ulrich Drepper <drepper@gmail.com>
58976 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58978 (_dl_x86_64_save_sse): Likewise.
58980 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58982 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58984 2011-07-21 Andreas Schwab <schwab@redhat.com>
58986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58988 (_dl_x86_64_save_sse): Use correct AVX check.
58990 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58992 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58993 bug in strncpy/strncat.
58994 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58996 2011-07-21 Ulrich Drepper <drepper@gmail.com>
58998 * string/tester.c (test_strcat): Add tests for different alignments
58999 of source and destination.
59000 (test_strncat): Likewise.
59002 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59005 * posix/glob.c (glob): Check passed in values before using them in
59006 expressions to avoid some overflows.
59007 (glob_in_dir): Likewise.
59010 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
59011 check for AVX enablement so that we don't crash with old kernels and
59013 * elf/tst-audit4.c: Add same checks here.
59014 * elf/tst-audit6.c: Likewise.
59016 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
59018 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
59020 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
59022 2011-07-20 Ulrich Drepper <drepper@gmail.com>
59024 * po/cs.po: Update from translation team.
59025 * po/bg.po: Likewise.
59027 2011-07-12 Marek Polacek <mpolacek@redhat.com>
59029 * misc/sys/cdefs.h: Add support for const attribute.
59030 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
59031 to gnu_dev_{major,minor,makedev} functions.
59033 2011-07-20 Marek Polacek <mpolacek@redhat.com>
59035 * intl/dcigettext.c (get_output_charset): Add missing bracket.
59037 2011-07-20 Andreas Schwab <schwab@redhat.com>
59039 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
59042 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59044 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
59045 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
59046 register in order to avoid conflicts with the soft frame pointer
59047 being held in r11 when necessary.
59048 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
59049 (INTERNAL_VSYSCALL_NCS): Likewise.
59051 2011-07-14 Marek Polacek <mpolacek@redhat.com>
59053 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
59054 * elf/dl-fini.c (_dl_fini): Adjust caller.
59055 * elf/dl-close.c (_dl_close_worker): Likewise.
59056 * sysdeps/generic/ldsodefs.h: Adjust declaration.
59058 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59060 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
59061 "aux_cache->nlibs < 0".
59063 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
59064 in the reload-count case.
59066 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
59068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59069 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
59070 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
59071 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
59072 * sysdeps/x86_64/multiarch/strcat.S: New file.
59073 * sysdeps/x86_64/multiarch/strncat.S: New file.
59074 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
59075 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
59076 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
59077 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
59078 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
59079 (USE_AS_STRCAT): Define.
59080 Add strcat and strncat support.
59081 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59082 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
59083 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
59084 * string/strncat.c: Update.
59085 (USE_AS_STRNCAT): Define.
59086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59087 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
59089 * sysdeps/x86_64/multiarch/init-arch.h
59090 (bit_Prefer_PMINUB_for_stringop): New.
59091 (index_Prefer_PMINUB_for_stringop): Likewise.
59092 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
59093 bit_Prefer_PMINUB_for_stringop.
59095 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59097 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
59099 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
59100 of casting of buffer.
59101 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
59102 buffer32 and buffer64.
59103 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
59104 writes instead of casting of buffer.
59105 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
59107 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
59110 2011-07-19 Andreas Schwab <schwab@redhat.com>
59112 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
59114 2011-07-19 Ulrich Drepper <drepper@gmail.com>
59116 * nscd/nscd.c (termination_handler): Don't do anything for a database
59117 if it has not yet been initialized.
59119 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59121 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59123 2011-07-15 Marek Polacek <mpolacek@redhat.com>
59125 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
59127 2011-07-18 Ulrich Drepper <drepper@gmail.com>
59129 * po/nl.po: Update from translation team.
59130 * po/sv.po: Likewise.
59132 2011-07-16 Roland McGrath <roland@hack.frob.com>
59134 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
59135 now disallowed by GCC.
59137 * configure.in (use-default-link): Default to yes if a test -shared
59138 link meets our qualifications.
59139 * configure: Regenerated.
59141 * config.make.in (output-format): New variable.
59142 * configure.in: Check for ld --print-output-format support.
59143 * configure: Regenerated.
59144 * Makerules ($(common-objpfx)format.lds)
59145 [$(output-format) != unknown]: Just use $(output-format),
59146 instead of the linker-script munging.
59148 2011-07-14 Roland McGrath <roland@hack.frob.com>
59150 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
59151 of $(common-objpfx)shlib.lds.
59152 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
59154 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
59155 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
59157 * configure.in (-z relro check): Adjust test code to add a large
59158 writable data section after it.
59159 * configure: Regenerated.
59161 2011-07-11 Roland McGrath <roland@hack.frob.com>
59163 * configure.in (-z relro check): Fix test code to make the variable
59165 * configure: Regenerated.
59167 2011-07-11 Ulrich Drepper <drepper@gmail.com>
59169 * nscd/nscd.h (struct traced_file): Define.
59170 (struct database_dyn): Remove inotify_descr, reset_res, and filename
59171 elements. Add traced_files.
59172 (inotify_fd): Declare.
59173 (register_traced_file): Declare.
59174 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
59175 (inotify_fd): Export.
59176 (resolv_conf_descr): Remove.
59177 (nscd_init): Move inotify descriptor creation to main.
59178 Don't register files for notification here.
59179 (register_traced_file): New function.
59180 (invalidate_cache): Don't use reset_res to determine whether to call
59181 res_init, go through the list of registered files.
59182 (main_loop_poll): The inotify descriptors are now stored in the
59183 structures for the traced files.
59184 (main_loop_epoll): Likewise
59185 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
59186 to __nss_disable_nscd.
59187 * nscd/cache.c (prune_cache): There is no single inotify descriptor
59188 for a database anymore. Check the records for all the registered
59190 * nss/Makefile (libnss_files-routines): Add files-init.
59191 (libnss_db-routines): Add db-init.
59192 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
59193 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
59194 * nss/nss_db/db-init.c: New file.
59195 * nss/nss_files/files-init.c: New file.
59196 * nss/nsswitch.c (nss_load_library): New function. Broken out of
59197 __nss_lookup_function.
59198 (__nss_lookup_function): Call nss_load_library.
59199 (nss_load_all_libraries): New function.
59200 (__nss_disable_nscd): Take parameter with callback function for files
59201 to register. Set is_nscd. Load all the DSOs for the NSS modules
59202 used for the cached services.
59203 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
59204 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
59205 options for features to all the files in nscd.
59207 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
59209 2011-07-10 Roland McGrath <roland@hack.frob.com>
59211 * csu/elf-init.c (__libc_csu_init): Comment typo.
59213 2011-07-09 Ulrich Drepper <drepper@gmail.com>
59215 * po/pl.po: Update from translation team.
59216 * po/ja.po: Likewise.
59217 * po/ru.po: Likewise.
59218 * po/ko.po: Likewise.
59219 * po/fr.po: Likewise.
59221 2011-07-09 Roland McGrath <roland@hack.frob.com>
59223 * configure.in (.ctors/.dtors header and trailer check):
59224 Use an empirical test on a built program.
59225 * configure: Regenerated.
59227 * configure.in (-z relro check): Use an empirical test on a built DSO.
59228 Detect, but do not require, on ia64.
59229 * configure: Regenerated.
59231 * configure.in (READELF): Find it with AC_CHECK_TOOL.
59232 Update tests that use readelf to use $READELF instead.
59233 * configure: Regenerated.
59235 2011-07-08 Ulrich Drepper <drepper@gmail.com>
59237 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
59238 if the result is not used.
59240 2011-07-05 Andreas Jaeger <aj@suse.de>
59243 * stdlib/tst-strtod.c: Add testcase.
59245 2011-07-07 Ulrich Drepper <drepper@gmail.com>
59247 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
59248 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
59249 The latter has a higher limit. Take additional parameter to pass to
59251 (__pathconf): Pass file to __statfs_link_max.
59252 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
59254 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
59258 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
59259 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59261 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
59262 (__statfs_filesize_max): Likewise.
59263 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
59265 2011-07-05 Andreas Jaeger <aj@suse.de>
59267 * resolv/res_comp.c (dn_skipname): Remove unused variable.
59269 2011-07-06 Marek Polacek <mpolacek@redhat.com>
59271 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
59273 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
59276 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
59278 * Makefile (strop-tests): Add strncat.
59279 * string/test-strncat.c: New file.
59281 2011-06-30 Marek Polacek <mpolacek@redhat.com>
59283 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
59285 2011-06-21 Andreas Jaeger <aj@suse.de>
59287 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
59288 Copy rule from iconvdata/Makefile.
59290 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59293 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
59294 but no long options are defined, just return 'W'.
59296 2011-06-22 Marek Polacek <mpolacek@redhat.com>
59299 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
59301 2011-07-06 Ulrich Drepper <drepper@gmail.com>
59303 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
59305 (innetgr): Likewise.
59307 2011-07-05 Roland McGrath <roland@hack.frob.com>
59309 * config.make.in (install_root): Default to $(DESTDIR).
59311 2011-07-05 Ulrich Drepper <drepper@gmail.com>
59313 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
59315 2011-07-02 Roland McGrath <roland@hack.frob.com>
59317 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
59319 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
59320 containing directory rather than embedding absolute directory names.
59322 * scripts/check-local-headers.sh: Rewritten using awk.
59323 Match by word, not by line. Print error messages for matches.
59324 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
59326 * Makerules [shlib-lds-flags empty]:
59327 ($(common-objpfx)libc_pic.opts): New target.
59328 ($(common-objpfx)libc_pic.os.clean): New target.
59329 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
59331 * config.make.in (OBJCOPY): New variable.
59332 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
59333 * configure: Regenerated.
59335 * config.make.in (use-default-link): New variable.
59336 * configure.in (use_default_link): Grok --with-default-link to set it.
59337 * configure: Regenerated.
59338 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
59339 (shlib-lds, shlib-lds-flags): Define to empty.
59341 * Makerules (shlib-lds): New variable.
59342 (shlib-lds-flags): New variable.
59343 (build-shlib, build-moduile, build-module-asneeded): Use it.
59344 ($(common-objpfx)libc.so): Use $(shlib-lds).
59345 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
59346 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
59348 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
59349 DT_FLAGS/DT_FLAGS_1 with zero flags.
59351 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
59352 linker script munging.
59354 2011-07-02 Ulrich Drepper <drepper@gmail.com>
59356 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
59358 * crypt/sha512.c (sha512_process_block): Perform total addition using
59359 128-bit if possible.
59360 (__sha512_finish_ctx): Likewise.
59361 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
59363 * crypt/sha256.c (SWAP64): Define.
59364 (sha256_process_block): Perform total addition using 64-bit if
59366 (__sha256_finish_ctx): Likewise.
59368 2011-07-01 Ulrich Drepper <drepper@gmail.com>
59370 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
59371 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59372 * nscd/hstcache.c (cache_addhst): Likewise.
59373 * nscd/grpcache.c (cache_addgr): Likewise.
59374 * nscd/aicache.c (addhstaiX): Likewise
59375 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
59377 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
59379 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
59380 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59381 * nscd/hstcache.c (cache_addhst): Likewise.
59382 * nscd/grpcache.c (cache_addgr): Likewise.
59383 * nscd/aicache.c (addhstaiX): Likewise
59385 2011-07-01 Andreas Schwab <schwab@redhat.com>
59387 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
59388 domain only when needed.
59390 2011-06-30 Andreas Schwab <schwab@redhat.com>
59392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
59393 is always restored.
59395 2011-06-29 Ulrich Drepper <drepper@gmail.com>
59397 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
59398 are re-adding the entry.
59399 * nscd/servicescache.c (cache_addserv): Likewise.
59401 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
59403 * sysdeps/generic/dl-irel.h: fix protection against multiple
59405 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
59407 2011-06-28 Ulrich Drepper <drepper@gmail.com>
59410 * malloc/memusage.sh: Fix quoting in message.
59411 * debug/xtrace.sh: Likewise.
59413 * configure.in: Remove support for --experimental-malloc option, make
59415 * config.make.in: Likewise.
59416 * malloc/Makefile: Likewise.
59418 2011-06-27 Andreas Schwab <schwab@redhat.com>
59420 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
59421 two-byte characters.
59423 2011-06-27 Roland McGrath <roland@hack.frob.com>
59425 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
59426 AC_CACHE_CHECK invocation.
59427 * configure: Regenerated.
59429 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
59431 2011-06-27 Ulrich Drepper <drepper@gmail.com>
59434 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
59435 bit from old_res_options.
59437 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
59439 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
59440 value type for setfct.
59442 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
59444 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59445 __gettimeofday instead of gettimeofday.
59447 2011-06-26 Ulrich Drepper <drepper@gmail.com>
59449 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
59451 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
59453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
59455 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
59458 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59461 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59462 strcpy-sse2-unaligned strncpy-sse2-unaligned
59463 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
59464 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
59465 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
59466 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
59467 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
59468 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
59469 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
59470 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
59471 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
59472 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
59473 (STRCPY): Support SSE2 and SSSE3 versions.
59475 2011-06-24 Ulrich Drepper <drepper@gmail.com>
59478 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
59479 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
59480 kernels which artificially limit size of requests.
59482 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
59484 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59485 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
59486 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
59487 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
59488 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
59489 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
59490 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
59491 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
59492 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
59493 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
59494 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
59495 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
59496 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
59497 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
59498 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
59499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59500 Enable unaligned load optimization for Intel Core i3, i5 and i7
59502 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
59504 (index_Fast_Unaligned_Load): Define.
59505 (HAS_FAST_UNALIGNED_LOAD): Define.
59507 2011-06-23 Marek Polacek <mpolacek@redhat.com>
59509 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
59511 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59514 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
59515 until it is clear that the information is realy needed.
59516 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
59518 2011-06-22 Andreas Schwab <schwab@redhat.com>
59520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
59522 2011-06-22 Ulrich Drepper <drepper@gmail.com>
59524 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
59525 /sys/devices/system/cpu/online if it is usable.
59527 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
59528 reading the information from the /proc filesystem to once a second.
59530 2011-06-21 Andreas Jaeger <aj@suse.de>
59532 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
59533 NULL after inclusion of kernel headers.
59535 2011-06-21 Ulrich Drepper <drepper@gmail.com>
59537 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
59538 calls to internal_setent.
59541 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
59542 addresses using gethostbyname4_r ignore IPv4 addresses.
59544 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59545 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
59547 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59549 2011-06-20 David S. Miller <davem@davemloft.net>
59551 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59553 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59555 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59556 (elf_irel): Use it.
59557 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59558 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59559 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59560 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59561 * sysdeps/x86_64/dl-irel.h: Likewise.
59563 * elf/dl-runtime.c: Use elf_ifunc_invoke.
59564 * elf/dl-sym.c: Likewise.
59566 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59568 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
59569 need to dereference resplen2.
59571 2011-06-14 Andreas Schwab <schwab@redhat.com>
59573 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59575 2011-06-15 Ulrich Drepper <drepper@gmail.com>
59577 * Makeconfig: Define vardbdir and inst_vardbdir.
59578 * nss/Makefile: Add rules to install db-Makefile.
59580 * nss/nss_db/db-XXX.c: Cleanup.
59582 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59583 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59585 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59586 * nss/makedb.c: Implement -g option to specify that value strings
59587 are generated and should not be added to table iterated over for
59589 * nss/nss_db/db-initgroups.c: New file.
59591 * nss/getent.c: Add support for initgroups lookups through getgrouplist
59594 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59595 (internal_getgrouplist): Adjust to name change.
59596 Update use_initgroups_entry if this is not the first call.
59597 * nss/databases.def: Add initgroups entry.
59599 * nss/makedb.c (compute_tables): Check result of multiple hash table
59600 sizes to minimize maximum chain length.
59602 2011-06-14 Ulrich Drepper <drepper@gmail.com>
59604 * Versions.def: Add entry for libnss_db.
59605 * shlib-versions: Likewise.
59606 * nss/Makefile: Add rules to build libnss_db.
59607 * nss/Versions: Add libnss_db information. Organize libnss_files
59609 * nss/db-Makefile: Add gshadow support. Change rules for the new
59610 makedb progra. Some minor improvements to generate smaller files.
59611 * nss/nss_db/nss_db.h: Move NSS database header data structures to
59613 * nss/makedb.c: ...here.
59614 Improve database format to be smaller and require less memory at
59616 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
59618 * nss/nss_db/db-netgrp.c: Likewise.
59619 * nss/nss_db/db-open.c: Likewise.
59620 * nss/nss_files/flies-XXX.x: Adjust comments.
59621 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59622 * nss/nss_files/files-grp.c: Likewise.
59623 * nss/nss_files/files-hosts.c: Likewise.
59624 * nss/nss_files/files-network.c: Likewise.
59625 * nss/nss_files/files-proto.c: Likewise.
59626 * nss/nss_files/files-pwd.c: Likewise.
59627 * nss/nss_files/files-rpc.c: Likewise.
59628 * nss/nss_files/files-service.c: Likewise.
59629 * nss/nss_files/files-sgrp.c: Likewise.
59630 * nss/nss_files/files-spwd.c: Likewise.
59631 * nss/nss_db/db-alias.c: Removed.
59632 * nss/nss_db/dummy-db.h: Removed.
59634 2011-06-02 Ulrich Drepper <drepper@gmail.com>
59636 * nss/makedb.c: Rewritten to not use database library.
59637 * nss/Makefile: Update to build new makedb program.
59639 2011-06-14 Andreas Jaeger <aj@suse.de>
59641 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59642 memset declaration.
59644 2011-06-10 Andreas Schwab <schwab@redhat.com>
59646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59649 2011-06-10 Roland McGrath <roland@hack.frob.com>
59651 * Makerules (shlib.lds): Fail if the linker script comes out empty.
59652 * elf/Makefile ($(objpfx)ld.so): Likewise.
59654 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59655 Don't list ld.so twice in dependencies.
59657 * posix/bug-regex31.c: Include <stdlib.h>.
59659 * nscd/hstcache.c (cache_addhst): Remove unused variable.
59661 * nis/nss_compat/compat-spwd.c
59662 (getspent_next_nss_netgr): Remove unused variable.
59663 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59665 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59666 nonmembers" output to use the right array.
59668 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59670 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59672 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59673 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59674 * catgets/gencat.c (read_input_file): Likewise.
59675 * locale/programs/locarchive.c (enlarge_archive): Likewise.
59677 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59678 variable definition inside #if's controlling its use.
59680 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59682 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59684 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59686 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59689 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59691 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59692 * configure: Regenerated.
59694 * Makerules: Revert last change.
59695 * elf/Makefile: Likewise.
59697 2011-06-09 Roland McGrath <roland@hack.frob.com>
59699 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59700 * elf/Makefile ($(objpfx)librtld.os): Likewise.
59701 (reloc-link): Likewise.
59703 2011-06-09 Ulrich Drepper <drepper@gmail.com>
59705 * elf/Makefile: Add rules to build pldd.
59706 * elf/pldd.c: New file.
59707 * elf/pldd-xx.c: New file.
59709 2011-06-07 Ulrich Drepper <drepper@gmail.com>
59711 * version.h: Update for 2.15 development version.
59713 2011-06-07 David S. Miller <davem@davemloft.net>
59715 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59717 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59718 elf_machine_lazy_rel): Likewise.
59719 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59721 elf_machine_lazy_rel): Likewise.
59722 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59723 dl_hwcap via passed in argument.
59724 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59727 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59729 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
59731 2011-06-06 Roland McGrath <roland@hack.frob.com>
59734 * manual/fdl-1.1.texi: New file, verbatim from:
59735 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59736 * manual/lgpl-2.1.texi: New file, verbatim from:
59737 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59738 * manual/Makefile (licenses): New variable, list those new file names.
59740 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59742 * manual/fdl.texi: File removed.
59743 * manual/lesser.texi: File removed.
59744 * manual/libc.texinfo (Copying, Documentation License):
59745 Use new @include file names, put @appendix directive before @include.
59747 2011-06-04 Jakub Jelinek <jakub@redhat.com>
59750 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59751 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59752 (mq_open): Add __NTH.
59754 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
59756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59757 Assume Intel Core i3/i5/i7 processor if AVX is available.
59759 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59764 2011-05-31 Andreas Schwab <schwab@redhat.com>
59766 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59767 memory. Use alloca_account. Fix memory leak when retrying.
59769 2011-05-31 Ulrich Drepper <drepper@gmail.com>
59771 * version.h (RELEASE): Bump for 2.14 release.
59772 * include/features.h (__GLIBC_MINOR__): Bump to 14.
59774 * config.make.in (RANLIB): Remove entry.
59776 2011-05-30 Ulrich Drepper <drepper@gmail.com>
59778 * po/Makefile (po-sed-cmd): Add ksh to extensions.
59779 (libc.pot): Work around missing support for .ksh extension in xgettext.
59782 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59783 if both request failed.
59784 (send_dg): In case of server errors clear resplen or *resplen2.
59787 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59788 when there are multiple maps.
59789 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59790 (_dl_fini): Remove test here.
59792 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59794 2011-05-29 Ulrich Drepper <drepper@gmail.com>
59797 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59798 bit from old_res_options.
59799 (gaih_inet): Likewise.
59802 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59805 * resolv/res_init.c (res_setoptions): Make the code more compact.
59808 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59812 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59814 * malloc/malloc.h: Mark malloc hook variables as deprecated.
59817 * malloc/malloc.h: Declare malloc hook variables as volatile.
59819 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59823 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59824 raise in the comment.
59825 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59826 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59827 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59829 2011-05-28 Ulrich Drepper <drepper@gmail.com>
59832 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59833 grow the buffers more if it already has to be sufficient.
59834 (build_wcs_upper_buffer): Likewise.
59835 * posix/regexec.c (check_matching): Likewise.
59836 (clean_state_log_if_needed): Likewise.
59837 (extend_buffers): Don't enlarge buffers beyond size of the input
59839 Patches mostly by Emil Wojak <emil@wojak.eu>.
59840 * posix/bug-regex32.c: New file.
59841 * posix/Makefile (tests): Add bug-regex32.
59843 * locale/findlocale.c (_nl_find_locale): Return right away if
59844 _nl_explode_name failed.
59845 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59847 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59849 * debug/xtrace.sh: Unify messages.
59850 * malloc/memusage.sh: Likewise.
59853 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59854 time symbol from vDSO. Substitute with vsyscall if not available.
59855 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59858 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59859 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59860 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59861 Add sendmmsg and internal_sendmmsg.
59862 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59863 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59864 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59866 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59867 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59868 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59870 2011-05-27 Ulrich Drepper <drepper@gmail.com>
59873 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59874 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
59876 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59880 * iconvdata/Makefile (tests): Add bug-iconv9.
59881 * iconvdata/bug-iconv9.c: New file.
59883 2011-05-27 Andreas Schwab <schwab@redhat.com>
59886 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59888 2011-05-25 Jakub Jelinek <jakub@redhat.com>
59890 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59891 (struct user_regs_struct): Change intcs field back to cs.
59893 2011-05-25 Ulrich Drepper <drepper@gmail.com>
59895 * po/ja.po: Update from translation team.
59897 2011-05-23 Ulrich Drepper <drepper@gmail.com>
59900 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59901 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59903 2011-05-20 Andreas Schwab <schwab@redhat.com>
59905 * stdlib/longlong.h: Update from GCC.
59907 2011-05-23 Andreas Schwab <schwab@redhat.com>
59909 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59911 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59912 Add parameter name.
59913 (__sysconf): Pass it down.
59915 2011-05-22 Ulrich Drepper <drepper@gmail.com>
59918 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59920 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59921 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59922 add in in __libc_use_alloca calls. Adjust callers.
59923 (glob): Use malloc in some situations.
59925 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59926 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59929 2011-05-21 Ulrich Drepper <drepper@gmail.com>
59931 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59932 and CLOCK_BOOTTIME_ALARM.
59935 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59938 * string/_strerror.c (__strerror_r): Print negative errors as signed
59942 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59943 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59944 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59946 * configure.in: Fix typo in redirection and correct removal of test
59947 files in two cases.
59950 * locale/setlocale.c (new_composite_name): Fix test to check for
59951 identical name of all categories.
59954 * libio/filedoalloc.c (local_isatty): New function.
59955 (_IO_file_doallocate): Use local_isatty.
59956 * stdio-common/perror.c (perror): In case a new stream is used
59957 forward the stream error.
59958 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59961 2011-05-20 Ulrich Drepper <drepper@gmail.com>
59964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59966 * include/alloca.h (extend_alloca_account): Define.
59969 * posix/regex.h: Fix comments with documentation of user-accessible
59970 fields after compilation and describe correct free'ing of pattern
59971 after re_compile_pattern.
59972 Patch by Reuben Thomas <rrt@sc3d.org>.
59974 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
59976 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59977 and -mno-altivec to prevent the compiler from using Altivec and/or
59978 VSX instructions when the corresponding registers are not available.
59980 2011-05-19 Andreas Schwab <schwab@redhat.com>
59982 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59984 2011-05-19 Ulrich Drepper <drepper@gmail.com>
59986 * libio/freopen.c (freopen): Use __dup2, not dup2.
59987 * libio/freopen64.c (freopen64): Likewise.
59989 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
59992 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59993 * math/Makefile (tests): Add test-powl.
59994 (CFLAGS-test-powl.c): Define.
59995 * math/test-powl.c: New file.
59997 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
59999 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
60001 2011-05-17 Ulrich Drepper <drepper@gmail.com>
60004 * iconvdata/gb18030.c: Update to GB18020-2005.
60006 2011-05-16 Ulrich Drepper <drepper@gmail.com>
60008 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
60009 RE_SYNTAX_POSIX_AWK): Update to match recent development.
60010 Patch by Aharon Robbins <arnold@skeeve.com>.
60013 * stdlib/putenv.c (putenv): Don't always create copy of the variable
60017 * misc/pselect.c (__pselect): Handle timeout value errors hidden
60018 through underflows.
60021 * misc/error.c (error_at_line): Ensure file_name and old_file_name
60022 point to strings before performing equality test for error_one_per_line
60026 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
60029 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
60030 (struct user_fpregs_struct): Avoid __uint*_t types.
60033 * malloc/mtrace.c (tr_where): Add additional parameter to point to
60034 symbol info. Use it instead of calling _dl_addr locally.
60035 (lock_and_info): New function.
60036 (tr_freehook): Call lock_and_info and pass symbol info as additional
60037 parameter to tr_where.
60038 (tr_mallochook): Likewise.
60039 (tr_reallochook): Likewise.
60040 (tr_memalignhook): Likewise.
60042 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
60043 used and couldn't be at all thread-safe.
60045 2011-05-15 Ulrich Drepper <drepper@gmail.com>
60047 * libio/freopen.c (freopen): Don't close old file descriptor
60048 before the new one is opened. Instead dup the new file descriptor
60049 to the old one after the new stream is created.
60050 * libio/freopen64.c (freopen64): Likewise.
60051 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
60052 * libio/fileops.c (_IO_new_file_close_it): Handle new
60053 _IO_FLAGS2_NOCLOSE flag.
60054 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
60055 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
60056 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
60057 _IO_FLAGS2_NOCLOSE flag.
60058 * include/unistd.h: Add hidden_proto for dup3.
60059 Define __have_dup3.
60060 * io/dup3.c: Define hidden symbol.
60061 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
60064 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
60065 when an incomplete long option is used.
60066 * posix/tst-getopt_long1.c: New file.
60067 * posix/Makefile (tests): Add tst-getopt_long1.
60070 * scripts/config.guess: Update from autoconf-2.68.
60071 * scripts/config.sub: Likewise.
60074 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
60076 (has_cpuclock): ...this. New function.
60077 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
60078 macro here based on has_cpuclock code.
60081 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60082 First byte (not low byte) is now always NUL.
60083 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
60085 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60086 Use non-cancelable interfaces.
60089 * locale/iso-639.def: Add entry for Sorani.
60092 * include/stdlib.h: Move include protection to the right place.
60093 Define abort_msg_s. Declare __abort_msg with it.
60094 * stdlib/abort.c (__abort_msg): Adjust type.
60095 * assert/assert.c (__assert_fail_base): New function. Majority
60096 of code from __assert_fail. Allocate memory for __abort_msg with
60098 (__assert_fail): Now call __assert_fail_base.
60099 * assert/assert-perr.c: Remove bulk of implementation. Use
60100 __assert_fail_base.
60101 * include/assert.hL Declare __assert_fail_base.
60102 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
60104 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
60106 2011-05-14 Ulrich Drepper <drepper@gmail.com>
60110 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
60111 until all modules are registered in the DTV.
60112 * elf/Makefile: Add rules to build and run tst-tls19.
60113 * elf/tst-tls19.c: New file.
60114 * elf/tst-tls19mod1.c: New file.
60115 * elf/tst-tls19mod2.c: New file.
60116 * elf/tst-tls19mod3.c: New file.
60117 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
60120 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
60124 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
60125 two-byte sequence errors.
60126 * iconvdata/Makefile (tests): Add bug-iconv8.
60127 * iconvdata/bug-iconv8.c: New file.
60130 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
60133 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
60136 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
60137 (dummy_getcfa): New function.
60138 (init): Get _Unwind_GetCFA address, use dummy if not found.
60139 (backtrace_helper): In recursion check, also check whether CFA changes.
60140 (__backtrace): Completely initialize arg.
60142 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
60143 storing incomplete byte sequence in state object. Avoid testing for
60144 guaranteed too small input if we know there is enough data available.
60146 2011-05-11 Andreas Schwab <schwab@redhat.com>
60148 * Makeconfig (+link-pie): Indent.
60149 * Rules (binaries-pie): Define if $(have-fpie) and
60151 (binaries-shared): Also filter out $(binaries-pie).
60152 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
60153 * nscd/Makefile (others-pie): Add nscd.
60154 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
60155 ($(objpfx)nscd): Remove command override.
60156 * login/Makefile (others-pie): Add pt_chown.
60157 ($(objpfx)pt_chown): Remove command override.
60158 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
60159 remove command overrides.
60161 2011-05-13 Ulrich Drepper <drepper@gmail.com>
60163 * libio/tst_putwc.c: Fix error messages.
60166 * libio/fileops.c (_IO_new_file_close_it): Always flush when
60167 currently writing and seek to current position when not.
60168 * libio/Makefile (tests): Add bug-fclose1.
60169 * libio/bug-fclose1.c: New file.
60171 2011-05-12 Ulrich Drepper <drepper@gmail.com>
60174 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
60175 don't set DF_1_NODELETE here.
60176 (do_lookup_x): When entering new entry test for copy relocation
60177 and if necessary set DF_1_NODELETE flag.
60178 * elf/tst-unique4.cc: New file.
60179 * elf/tst-unique4.h: New file.
60180 * elf/tst-unique4lib.cc: New file.
60181 * elf/Makefile: Add rules to build and run tst-unique4.
60182 Patch by Piotr Bury <pbury@goahead.com>.
60184 2011-05-11 Ulrich Drepper <drepper@gmail.com>
60187 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
60190 * misc/mntent_r.c (addmntent): Flush the stream after the output
60193 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
60194 (is_trusted_path_normalize): Skip initial colon. Append slash
60195 to empty buffer. Duplicate is_trusted_path code but allow
60196 constructed patch to be prefix.
60197 (is_dst): Allow $ORIGIN followed by /.
60198 (_dl_dst_substitute): Correct clearing of check_for_trusted.
60199 Correct testing of result of is_trusted_path_normalize
60200 (decompose_rpath): Fix warning.
60202 2011-05-10 Ulrich Drepper <drepper@gmail.com>
60205 * grp/initgroups.c (internal_getgrouplist): When we found the service
60206 list through the initgroups entry in nsswitch.conf do not always
60207 continue on a successful lookup. Don't always use the
60208 __nss_group_database value if it is set.
60209 * nss/nsswitch.conf (initgroups): Change action for successful db
60210 lookup to continue for compatibility.
60212 2011-05-09 Ulrich Drepper <drepper@gmail.com>
60215 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
60217 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
60219 * iconvdata/tst-tables.sh: Likewise.
60220 * iconvdata/cp770.c: New file.
60221 * iconvdata/cp771.c: New file.
60222 * iconvdata/cp772.c: New file.
60223 * iconvdata/cp773.c: New file.
60224 * iconvdata/cp774.c: New file.
60225 * iconvdata/testdata/CP770: New file.
60226 * iconvdata/testdata/CP770..UTF8: New file.
60227 * iconvdata/testdata/CP771: New file.
60228 * iconvdata/testdata/CP771..UTF8: New file.
60229 * iconvdata/testdata/CP772: New file.
60230 * iconvdata/testdata/CP772..UTF8: New file.
60231 * iconvdata/testdata/CP773: New file.
60232 * iconvdata/testdata/CP773..UTF8: New file.
60233 * iconvdata/testdata/CP774: New file.
60234 * iconvdata/testdata/CP774..UTF8: New file.
60236 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
60238 * iconvdata/gen-8bit-gap.sh: Likewise.
60239 * iconvdata/gen-8bit.sh: Likewise.
60241 * locale/iso-639.def: Add ary entry.
60244 * locale/C-translit.h.in: Add U20A1 transliteration.
60247 * locale/iso-639.def: Add wae entry.
60248 Patch by Kevin Bortis <bortis@translate-wae.ch>.
60251 * locale/programs/localedef.c (construct_output_path): Use ssize_t
60255 * locale/C-translit.h.in: Add entry for U20B9.
60256 Patch by pravin.d.s@gmail.com.
60258 2011-05-08 Ulrich Drepper <drepper@gmail.com>
60261 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
60262 ENAMETOOLONG use generic getcwd.
60263 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
60264 in rtld. Use *stat64.
60265 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
60266 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
60267 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
60268 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
60269 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
60270 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
60271 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
60272 __fstatat64 macros.
60273 * include/dirent.h: Add libc_hidden_proto for rewinddir.
60274 * dirent/rewinddir.c: Add libc_hidden_def.
60275 * sysdeps/mach/hurd/rewinddir.c: Likewise.
60276 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
60278 * include/dirent.h (__alloc_dir): Add flags parameter.
60279 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
60280 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
60282 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
60283 from fdopendir if O_CLOEXEC is already set.
60285 2011-03-15 Alan Modra <amodra@gmail.com>
60287 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
60288 l_tls_firstbyte_offset non-zero. Save padding offset in
60289 l_tls_firstbyte_offset for later use.
60290 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
60291 freeing static tls block.
60293 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
60295 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
60296 where #ifdef was intended. The intent is to prevent ARG_MAX from
60297 being defined by the kernel headers.
60299 2011-05-07 Ulrich Drepper <drepper@gmail.com>
60302 * resolv/resolv.h: Define RES_NOTLDQUERY.
60303 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
60304 no-tld-query and set RES_NOTLDQUERY.
60305 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
60306 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
60307 modern BIND to search name as TLD unless forbidden.
60309 2011-05-07 Petr Baudis <pasky@suse.cz>
60310 Ulrich Drepper <drepper@gmail.com>
60313 * elf/dl-load.c (fillin_rpath): Move trusted path check...
60314 (is_trusted_path): ...to here.
60315 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
60316 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
60317 using is_trusted_path_normalize() in setuid scripts.
60319 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
60321 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
60322 __BEGIN/__END_DECLS.
60324 2011-05-06 Ulrich Drepper <drepper@gmail.com>
60326 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
60327 NSS_STATUS_NOTFOUND if no record was found.
60329 2011-05-05 Andreas Schwab <schwab@redhat.com>
60331 * sunrpc/Makefile (headers): Add rpc/netdb.h.
60332 (headers-not-in-tirpc): Remove rpc/netdb.h
60333 * resolv/netdb.h: Revert last change.
60335 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
60337 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
60338 circular dependency between libgcc.a and libc.a.
60340 2011-05-05 Andreas Schwab <schwab@redhat.com>
60342 * resolv/netdb.h: Don't include <rpc/netdb.h>.
60343 * nis/Makefile: Don't install rpcsvc/*.
60344 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
60345 instead of <rpc/types.h>.
60346 (MAXHOSTNAMELEN): Define.
60348 2011-05-03 Andreas Schwab <schwab@redhat.com>
60350 * elf/ldconfig.c (add_dir): Don't crash on empty path.
60352 2011-04-28 Maciej Babinski <mbabinski@google.com>
60355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
60356 gethostbyname4_r when IPv6 results are possible.
60358 2011-05-02 Ulrich Drepper <drepper@gmail.com>
60361 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
60362 _PC_PIPE_BUF handling.
60364 2011-04-30 Bruno Haible <bruno@clisp.org>
60367 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
60368 * resolv/netdb.h (getnameinfo): Change type of flags parameter
60370 * inet/getnameinfo.c (getnameinfo): Likewise.
60372 2011-04-29 Ulrich Drepper <drepper@gmail.com>
60374 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
60375 to groups setting in database lookup.
60376 * nss/nsswitch.conf: Add initgroups entry.
60378 2011-04-22 Ulrich Drepper <drepper@gmail.com>
60381 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
60383 Patch by Eric Blake <eblake@redhat.com>.
60385 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
60387 * sunrpc/Makefile (need-export-routines): Add svc_run.
60388 (routines): Remove svc_run.
60389 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
60390 * sunrpc/clnt_perr.c (clnt_perrno): Export.
60391 * sunrpc/svc_run.c (svc_run): Likewise.
60392 * sunrpc/svc_udp.c (svcudp_create): Likewise.
60394 2011-04-21 Ulrich Drepper <drepper@gmail.com>
60396 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
60397 problem in reallocation in last patch.
60399 2011-04-20 Ulrich Drepper <drepper@gmail.com>
60401 * sunrpc/Makefile: Move inclusion of Rules.
60403 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60405 * nss/nss_files/files-initgroups.c: New file.
60406 * nss/Makefile (libnss_files-routines): Add files-initgroups.
60407 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
60408 _nss_files_initgroups_dyn.
60410 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
60412 * elf/elf.h (R_ARM_IRELATIVE): Define.
60414 2011-04-19 Ulrich Drepper <drepper@gmail.com>
60416 * po/ru.po: Update from translation team.
60418 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60420 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
60423 2011-02-06 Mike Frysinger <vapier@gentoo.org>
60426 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
60427 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
60428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
60429 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
60430 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
60432 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
60434 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
60436 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
60437 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
60438 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
60440 2011-04-17 Ulrich Drepper <drepper@gmail.com>
60443 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
60445 * stdlib/bug-getcontext.c: New file.
60446 * stdlib/Makefile: Add rules to build and run bug-getcontext.
60448 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60450 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
60451 instructions into .machine "z9-109".
60452 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
60453 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
60455 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60457 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
60458 between environment variables and auxiliary vector.
60460 2011-04-16 Ulrich Drepper <drepper@gmail.com>
60462 * Makefile: Add rules to build linkobj/libc.so.
60463 * include/libc-symbols.h: Define libc_hidden_nolink.
60464 * include/rpc/auth.h: Mark functions which are to be hidden.
60465 * include/rpc/auth_des.h: Likewise.
60466 * include/rpc/auth_unix.h: Likewise.
60467 * include/rpc/clnt.h: Likewise.
60468 * include/rpc/des_crypt.h: Likewise.
60469 * include/rpc/key_prot.h: Likewise.
60470 * include/rpc/pmap_clnt.h: Likewise.
60471 * include/rpc/pmap_prot.h: Likewise.
60472 * include/rpc/pmap_rmt.h: Likewise.
60473 * include/rpc/rpc_msg.h: Likewise.
60474 * include/rpc/svc.h: Likewise.
60475 * include/rpc/svc_auth.h: Likewise.
60476 * include/rpc/xdr.h: Likewise.
60477 * nis/Makefile: Link all DSOs against linkobj/libc.so.
60478 * nss/Makefile: Likewise.
60479 * sunrpc/Makefile: Don't install headers. Build library with normal
60480 entry points. Don't build rpcinfo. Link RPC tests appropriately.
60481 * sunrpc/auth_des.c: Hide exported symbols by default, export some
60482 for the compat linking library. Remove use of INTDEF/INTUSE.
60483 * sunrpc/auth_none.c: Likewise.
60484 * sunrpc/auth_unix.c: Likewise.
60485 * sunrpc/authdes_prot.c: Likewise.
60486 * sunrpc/authuxprot.c: Likewise.
60487 * sunrpc/clnt_gen.c: Likewise.
60488 * sunrpc/clnt_perr.c: Likewise.
60489 * sunrpc/clnt_raw.c: Likewise.
60490 * sunrpc/clnt_simp.c: Likewise.
60491 * sunrpc/clnt_tcp.c: Likewise.
60492 * sunrpc/clnt_udp.c: Likewise.
60493 * sunrpc/clnt_unix.c: Likewise.
60494 * sunrpc/des_crypt.c: Likewise.
60495 * sunrpc/des_soft.c: Likewise.
60496 * sunrpc/get_myaddr.c: Likewise.
60497 * sunrpc/key_call.c: Likewise.
60498 * sunrpc/key_prot.c: Likewise.
60499 * sunrpc/netname.c: Likewise.
60500 * sunrpc/pm_getmaps.c: Likewise.
60501 * sunrpc/pm_getport.c: Likewise.
60502 * sunrpc/pmap_clnt.c: Likewise.
60503 * sunrpc/pmap_prot.c: Likewise.
60504 * sunrpc/pmap_prot2.c: Likewise.
60505 * sunrpc/pmap_rmt.c: Likewise.
60506 * sunrpc/publickey.c: Likewise.
60507 * sunrpc/rpc_cmsg.c: Likewise.
60508 * sunrpc/rpc_common.c: Likewise.
60509 * sunrpc/rpc_dtable.c: Likewise.
60510 * sunrpc/rpc_prot.c: Likewise.
60511 * sunrpc/rpc_thread.c: Likewise.
60512 * sunrpc/rtime.c: Likewise.
60513 * sunrpc/svc.c: Likewise.
60514 * sunrpc/svc_auth.c: Likewise.
60515 * sunrpc/svc_authux.c: Likewise.
60516 * sunrpc/svc_raw.c: Likewise.
60517 * sunrpc/svc_run.c: Likewise.
60518 * sunrpc/svc_simple.c: Likewise.
60519 * sunrpc/svc_tcp.c: Likewise.
60520 * sunrpc/svc_udp.c: Likewise.
60521 * sunrpc/svc_unix.c: Likewise.
60522 * sunrpc/svcauth_des.c: Likewise.
60523 * sunrpc/xcrypt.c: Likewise.
60524 * sunrpc/xdr.c: Likewise.
60525 * sunrpc/xdr_array.c: Likewise.
60526 * sunrpc/xdr_float.c: Likewise.
60527 * sunrpc/xdr_intXX_t.c: Likewise.
60528 * sunrpc/xdr_mem.c: Likewise.
60529 * sunrpc/xdr_rec.c: Likewise.
60530 * sunrpc/xdr_ref.c: Likewise.
60531 * sunrpc/xdr_sizeof.c: Likewise.
60532 * sunrpc/xdr_stdio.c: Likewise.
60534 2011-04-10 Ulrich Drepper <drepper@gmail.com>
60537 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
60538 * sysdeps/ia64/dl-tls.h: Likewise.
60539 * sysdeps/powerpc/dl-tls.h: Likewise.
60540 * sysdeps/s390/dl-tls.h: Likewise.
60541 * sysdeps/sh/dl-tls.h: Likewise.
60542 * sysdeps/sparc/dl-tls.h: Likewise.
60543 * sysdeps/x86_64/dl-tls.h: Likewise.
60544 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60546 2011-03-14 Andreas Schwab <schwab@redhat.com>
60548 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60549 rpath element also skip the following colon.
60550 (expand_dynamic_string_token): Add is_path parameter and pass
60551 down to DL_DST_REQUIRED and _dl_dst_substitute.
60552 (decompose_rpath): Call expand_dynamic_string_token with
60553 non-zero is_path. Ignore empty rpaths.
60554 (_dl_map_object_from_fd): Call expand_dynamic_string_token
60557 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
60559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60562 2011-04-09 Ulrich Drepper <drepper@gmail.com>
60565 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60566 Patch by Filipe David Manana <fdmanana@apache.org>.
60568 2011-04-07 Andreas Schwab <schwab@redhat.com>
60570 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60571 Maintain aligned stack.
60572 (CHECK_RSP): Remove unused macro.
60574 2011-04-03 Ulrich Drepper <drepper@gmail.com>
60576 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60577 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60579 2011-04-02 Ulrich Drepper <drepper@gmail.com>
60581 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60583 * include/features.h: Mention __USE_XOPEN2K8 in comment.
60585 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
60588 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60589 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60590 * sysdeps/x86_64/memmove.c: New file.
60591 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60592 (memcpy): Renamed to ...
60593 (__new_memcpy): This.
60594 (memcpy): Provide GLIBC_2_14 memcpy.
60595 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60596 (memcpy): Provide GLIBC_2_2_5 memcpy.
60598 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60601 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60603 2011-03-30 Andreas Schwab <schwab@redhat.com>
60605 * misc/syncfs.c: New file.
60606 * misc/Makefile (routines): Add syncfs.
60607 * posix/unistd.h: Declare syncfs.
60608 * sysdeps/unix/syscalls.list: Add syncfs.
60610 2011-04-01 Andreas Schwab <schwab@redhat.com>
60612 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60614 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60615 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60616 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60617 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60618 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60619 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60620 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60622 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60625 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60626 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60628 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60630 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60632 * io/Makefile: Compile fallocate.c, fallocate64.c, and
60633 sync_file_range.c with -fexceptions.
60634 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60635 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60636 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60637 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60638 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60639 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60641 sync_file_range as cancellation point
60642 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
60643 now a wrapper around __call_sync_file_range with cancellation handling.
60644 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60645 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
60646 function name to __call_sync_file_range.
60647 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60648 Add call_sync_file_range.
60650 2011-04-01 Andreas Schwab <schwab@redhat.com>
60652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60655 2011-04-01 Ulrich Drepper <drepper@gmail.com>
60657 * iconv/iconv.h: Fix typo in comment.
60658 * io/fcntl.h: Likewise.
60659 * libio/stdio.h: Likewise.
60660 * posix/spawn.h: Likewise.
60661 * posix/unistd.h: Likewise.
60662 * stdlib/stdlib.h: Likewise.
60663 * time/time.h: Likewise.
60664 * wcsmbs/wchar.h: Likewise.
60666 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60667 open_by_handle): Add.
60668 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60669 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
60670 Augment a few comments.
60671 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60672 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60673 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60676 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60679 * io/fcntl.h (AT_EMPTY_PATH): Define.
60681 2011-03-30 Ulrich Drepper <drepper@gmail.com>
60683 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60684 * sysdeps/unix/sysv/linux/bits/time.h: New file.
60685 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60687 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
60688 * Versions.def: Add GLIBC_2.14.
60689 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60692 2011-03-22 Ulrich Drepper <drepper@gmail.com>
60694 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60696 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60698 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
60701 * string/test-strncmp.c (do_page_test): New function.
60702 (check2): Likewise.
60703 (test_main): Call check2.
60704 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60706 2011-03-20 Ulrich Drepper <drepper@gmail.com>
60709 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60710 Handle cache information in CPU leaf 4.
60711 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60713 2011-03-18 Ulrich Drepper <drepper@gmail.com>
60716 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60717 character representation.
60718 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60720 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
60722 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60723 END(__isnan) to END(__isnanf) to match function entry point/label
60724 EALIGN(__isnanf,...).
60726 2011-03-10 Jakub Jelinek <jakub@redhat.com>
60728 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60730 2011-03-10 Ulrich Drepper <drepper@gmail.com>
60733 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60734 copy from the symbol referenced in the relocation to initialize the
60736 Patch by Piotr Bury <pbury@goahead.com>.
60737 * elf/Makefile: Add rules to build and tst-unique3.
60738 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60739 * elf/tst-unique3.cc: New file.
60740 * elf/tst-unique3.h: New file.
60741 * elf/tst-unique3lib.cc: New file.
60742 * elf/tst-unique3lib2.cc: New file.
60744 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60746 2011-03-10 Mike Frysinger <vapier@gentoo.org>
60748 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60749 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
60752 2011-03-06 Ulrich Drepper <drepper@gmail.com>
60754 * elf/dl-load.c (_dl_map_object): If we are looking for the first
60755 to-be-loaded object along a path to loader is ld.so.
60757 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60758 Ulrich Drepper <drepper@gmail.com>
60760 * sysdeps/x86_64/memset.S: After aligning destination, code
60761 branches to different locations depending on the value of
60762 misalignment, when multiarch is enabled. Fix this.
60764 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
60766 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60767 Set _x86_64_preferred_memory_instruction for AMD processsors.
60768 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60769 Set bit_Prefer_SSE_for_memop for AMD processors.
60771 2011-03-04 Ulrich Drepper <drepper@gmail.com>
60773 * libio/fmemopen.c (fmemopen): Optimize a bit.
60775 2011-03-03 Andreas Schwab <schwab@redhat.com>
60777 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60779 2011-03-03 Roland McGrath <roland@redhat.com>
60781 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60783 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
60785 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60786 __bzero_ultra1 instead of __memset_ultra1.
60788 2011-02-23 Andreas Schwab <schwab@redhat.com>
60789 Ulrich Drepper <drepper@gmail.com>
60792 * include/link.h (struct link_map): Add l_orig_initfini.
60793 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60794 returning unsuccessfully.
60795 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60796 close of a file loaded at startup, restore the original l_initfini
60798 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60799 list, store the pointer.
60800 * elf/Makefile ($(objpfx)noload-mem): New rule.
60801 (noload-ENV): Define.
60802 (tests): Add $(objpfx)noload-mem.
60803 * elf/noload.c: Include <memcheck.h>.
60804 (main): Call mtrace. Close all opened handles.
60806 2011-02-17 Andreas Schwab <schwab@redhat.com>
60809 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60810 dependencies are missing.
60812 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
60814 Fix __if_freereq crash: Unlike the generic version which uses free,
60816 * sysdeps/mach/hurd/ifreq.h: New file.
60818 2011-01-27 Petr Baudis <pasky@suse.cz>
60819 Ulrich Drepper <drepper@gmail.com>
60822 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60823 to extend_alloca().
60824 * stdio-common/bug23.c: New file.
60825 * stdio-common/Makefile (tests): Add bug23.
60827 2010-09-28 Andreas Schwab <schwab@redhat.com>
60828 Ulrich Drepper <drepper@gmail.com>
60831 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60832 before performing relro protection. At old place add assertion
60833 to make sure nothing changed.
60835 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
60836 Glauber de Oliveira Costa <glommer@gmail.com>
60838 * elf/elf.h: Add new ARM TLS relocs.
60840 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
60842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60843 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60845 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
60847 * sysdeps/wordsize-64/tst-writev.c: New file.
60849 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
60851 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60852 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60853 insns in _dl_start to prevent a TOC reference before relocs are
60856 2011-02-15 Ulrich Drepper <drepper@gmail.com>
60859 * Makeconfig: Remove RANLIB definition.
60860 * Makerules: Don't use RANLIB.
60861 * aclocal.m4: Remove ranlib test.
60862 * configure.in: No need to check for ranlib.
60863 * elf/rtld-Rules: Don't use RANLIB.
60865 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
60867 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60869 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60870 inclusion protection macro.
60872 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60873 SIGRTMIN and SIGRTMAX and print information in that case only when
60874 SIGRTMIN is defined.
60876 2011-02-11 Jakub Jelinek <jakub@redhat.com>
60878 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60879 arginfo fn returning -1.
60881 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60882 and thousands string is zero terminated.
60884 2011-02-03 Andreas Schwab <schwab@redhat.com>
60886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60887 sysdeps/unix/sysv/linux/bits/socket.h.
60889 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
60891 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60892 (__CPU_COUNT): Remove old macros.
60893 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60894 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60895 (__CPU_ALLOC, __CPU_FREE): Add macros.
60896 (__sched_cpualloc, __sched_cpufree): Add declarations.
60898 2011-02-05 Ulrich Drepper <drepper@gmail.com>
60900 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60901 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60902 * nscd/aicache.c (addhstaiX): Return timeout of added value.
60903 (readdhstai): Return value of addhstaiX call.
60904 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60905 (addgrbyX): Return value returned by cache_addgr.
60906 (readdgrbyname): Return value returned by addgrbyX.
60907 (readdgrbygid): Likewise.
60908 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60909 (addpwbyX): Return value returned by cache_addpw.
60910 (readdpwbyname): Return value returned by addhstbyX.
60911 (readdpwbyuid): Likewise.
60912 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60913 (addservbyX): Return value returned by cache_addserv.
60914 (readdservbyname): Return value returned by addservbyX:
60915 (readdservbyport): Likewise.
60916 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60917 (addhstbyX): Return value returned by cache_addhst.
60918 (readdhstbyname): Return value returned by addhstbyX.
60919 (readdhstbyaddr): Likewise.
60920 (readdhstbynamev6): Likewise.
60921 (readdhstbyaddrv6): Likewise.
60922 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60923 (readdinitgroups): Return value returned by addinitgroupsX.
60924 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60925 (prune_cache): Keep track of timeout value of re-added entries.
60926 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60927 * nscd/nscd.h: Adjust prototypes of readd* functions.
60929 2011-02-04 Roland McGrath <roland@redhat.com>
60931 * nis/nis_server.c (nis_servstate): Use the right name for 0.
60932 (nis_stats): Likewise.
60933 * nis/nis_modify.c (nis_modify): Likewise.
60934 * nis/nis_remove.c (nis_remove): Likewise.
60935 * nis/nis_add.c (nis_add): Likewise.
60937 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60939 * posix/fnmatch_loop.c: Add some consts.
60941 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60943 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
60946 * config.make.in (config-cflags-novzeroupper): Define.
60947 * configure.in: Substitute libc_cv_cc_novzeroupper.
60948 * elf/Makefile (AVX-CFLAGS): Define.
60949 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60950 (CFLAGS-tst-auditmod4a.c): Likewise.
60951 (CFLAGS-tst-auditmod4b.c): Likewise.
60952 (CFLAGS-tst-auditmod6b.c): Likewise.
60953 (CFLAGS-tst-auditmod6c.c): Likewise.
60954 (CFLAGS-tst-auditmod7b.c): Likewise.
60955 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60957 2011-02-02 Ulrich Drepper <drepper@gmail.com>
60959 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60960 function to the callback.
60961 Patch partly by Jiri Olsa <jolsa@redhat.com>.
60963 2011-02-02 Andreas Schwab <schwab@redhat.com>
60965 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60968 2011-01-19 Ulrich Drepper <drepper@gmail.com>
60971 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60973 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60975 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60978 * elf/Makefile: Add rules to build and run new test.
60979 * elf/tst-initorder.c: New file.
60980 * elf/tst-initorder.exp: New file.
60981 * elf/tst-initordera1.c: New file.
60982 * elf/tst-initordera2.c: New file.
60983 * elf/tst-initordera3.c: New file.
60984 * elf/tst-initordera4.c: New file.
60985 * elf/tst-initorderb1.c: New file.
60986 * elf/tst-initorderb2.c: New file.
60987 * elf/tst-order-a1.c: New file.
60988 * elf/tst-order-a2.c: New file.
60989 * elf/tst-order-a3.c: New file.
60990 * elf/tst-order-a4.c: New file.
60991 * elf/tst-order-b1.c: New file.
60992 * elf/tst-order-b2.c: New file.
60993 * elf/tst-order-main.c: New file.
60994 New test case by George Gensure <werkt0@gmail.com>.
60996 2010-10-01 Andreas Schwab <schwab@redhat.com>
60998 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60999 decoding ACE if AI_CANONIDN.
61001 2011-01-18 Ulrich Drepper <drepper@gmail.com>
61003 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
61005 2011-01-17 Ulrich Drepper <drepper@gmail.com>
61007 * version.h (RELEASE): Bump for 2.13 release.
61008 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
61010 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
61012 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
61014 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
61015 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
61016 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
61017 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
61018 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
61019 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61021 * posix/getconf.c: Update copyright year.
61022 * catgets/gencat.c: Likewise.
61023 * csu/version.c: Likewise.
61024 * debug/catchsegv.sh: Likewise.
61025 * debug/xtrace.sh: Likewise.
61026 * elf/ldconfig.c: Likewise.
61027 * elf/ldd.bash.in: Likewise.
61028 * elf/sprof.c (print_version): Likewise.
61029 * iconv/iconv_prog.c: Likewise.
61030 * iconv/iconvconfig.c: Likewise.
61031 * locale/programs/locale.c: Likewise.
61032 * locale/programs/localedef.c: Likewise.
61033 * malloc/memusage.sh: Likewise.
61034 * malloc/mtrace.pl: Likewise.
61035 * nscd/nscd.c (print_version): Likewise.
61036 * nss/getent.c: Likewise.
61038 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
61039 PF_CAIF, and PF_ALG.
61040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61042 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
61044 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
61045 (modules-names): Use them.
61046 (ifunc-test-modules, ifunc-pie-tests): Define.
61047 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
61048 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
61049 (test-extras): Likewise.
61050 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
61051 $(compile-command.c).
61052 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
61053 (all-built-dso): Define.
61054 (check-textrel.out, check-execstack.out): Depend on it.
61056 * configure.in: Don't override --enable-multi-arch.
61058 2011-01-15 Ulrich Drepper <drepper@gmail.com>
61061 * nscd/hstcache.c (tryagain): Define.
61062 (cache_addhst): Return tryagain not notfound for temporary errors.
61063 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
61066 2011-01-14 Ulrich Drepper <drepper@gmail.com>
61069 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
61070 to make the syscall.
61071 * sysdeps/unix/sysv/linux/setgroups.c: New file.
61074 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
61075 and fall back to matching as normal character if the string ends before
61076 the matching ']' is found. This is what POSIX requires.
61077 * posix/testfnm.c: Adjust test result.
61078 * posix/globtest.sh: Adjust test result. Add new test.
61079 * posix/tst-fnmatch.input: Likewise.
61080 * posix/tst-fnmatch2.c: Add new test.
61082 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
61084 * elf/Makefile (check-execstack): Revert last change. Depend on
61086 (check-execstack.h): New target.
61087 (generated): Add check-execstack.h.
61088 * elf/check-execstack.c: Include "check-execstack.h".
61089 (main): Revert last change.
61090 (handle_file): Return zero if GNU_STACK is absent and
61091 DEFAULT_STACK_PERMS doesn't include PF_X.
61093 2011-01-13 Ulrich Drepper <drepper@gmail.com>
61095 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
61096 in child fails because the descriptor is already closed.
61097 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
61098 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
61099 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
61102 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
61106 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
61107 temporary buffer used to handle multi lookups locally.
61108 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
61110 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61112 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
61115 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
61117 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
61118 alignment for SSE2.
61120 2011-01-12 Ulrich Drepper <drepper@gmail.com>
61123 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
61124 characters. When rounding increased number of integer digits recompute
61126 * stdio-common/tst-grouping.c: New file.
61127 * stdio-common/Makefile: Add rules to build and run tst-grouping.
61129 2011-01-09 Ulrich Drepper <drepper@gmail.com>
61131 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
61132 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
61134 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
61136 * bits/select.h: Likewise.
61138 2011-01-08 Ulrich Drepper <drepper@gmail.com>
61140 * po/ja.po: Update from translation team.
61142 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
61145 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
61146 implementation just like for lxstat, fxstatat, et al.
61148 2010-12-27 Jim Meyering <meyering@redhat.com>
61151 * posix/regexec.c (build_trtable): Return failure indication upon
61152 calloc failure. Otherwise, re_search_internal could infloop on OOM.
61154 2010-12-25 Ulrich Drepper <drepper@gmail.com>
61157 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
61158 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
61159 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
61160 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
61163 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
61166 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
61167 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
61169 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
61171 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
61172 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
61173 script has SORT_BY_INIT_PRIORITY.
61174 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
61175 NO_CTORS_DTORS_SECTIONS is defined.
61176 * elf/soinit.c: Likewise.
61177 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
61178 NO_CTORS_DTORS_SECTIONS is defined.
61179 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
61180 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
61181 * sysdeps/sh/init-first.c: Likewise.
61182 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
61184 2010-12-24 Ulrich Drepper <drepper@gmail.com>
61186 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
61187 always use the slow path.
61189 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
61191 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
61192 similar rule which adds the sysdep directories to the header search in
61193 order to pick up the correct platform stackinfo.h.
61194 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
61195 perform test if it is, otherwise return successfully without testing.
61196 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
61197 DEFAULT_STACK_PERMS define in stackinfo.h.
61198 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
61199 defined in stackinfo.h.
61200 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
61201 DEFAULT_STACK_PERMS defined in stackinfo.h.
61202 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
61203 * sysdeps/ia64/stackinfo.h: Likewise.
61204 * sysdeps/s390/stackinfo.h: Likewise.
61205 * sysdeps/sh/stackinfo.h: Likewise.
61206 * sysdeps/sparc/stackinfo.h: Likewise.
61207 * sysdeps/x86_64/stackinfo.h: Likewise.
61208 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
61209 PF_X for powerpc64. Retain PF_X for powerpc32.
61211 2010-12-19 Ulrich Drepper <drepper@gmail.com>
61213 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
61215 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
61216 GETDENTS_64BIT_ALIGNED.
61218 2010-12-14 Ulrich Drepper <dreper@gmail.com>
61220 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
61222 2010-12-10 Andreas Schwab <schwab@redhat.com>
61224 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
61227 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
61228 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
61230 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
61231 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
61233 2010-12-09 Ulrich Drepper <drepper@gmail.com>
61236 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
61239 2010-12-09 Jakub Jelinek <jakub@redhat.com>
61241 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
61243 2010-12-03 Ulrich Drepper <drepper@gmail.com>
61245 * po/it.po: Update from translation team.
61247 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
61249 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
61252 2010-11-30 Ulrich Drepper <drepper@gmail.com>
61254 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
61256 2010-11-24 Andreas Schwab <schwab@redhat.com>
61258 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
61260 (gaih_getanswer_slice): Likewise.
61262 2010-10-20 Jakub Jelinek <jakub@redhat.com>
61264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
61266 2010-05-31 Petr Baudis <pasky@suse.cz>
61269 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
61270 silently even in the chroot mode.
61272 2010-11-22 Ulrich Drepper <drepper@gmail.com>
61274 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
61275 last patch a bit. Pretty printing
61277 2010-05-31 Petr Baudis <pasky@suse.cz>
61280 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
61281 initialization of skip_initgroups_dyn.
61283 2010-11-19 Ulrich Drepper <drepper@gmail.com>
61285 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
61286 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
61288 2010-11-16 Ulrich Drepper <drepper@gmail.com>
61290 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
61292 2010-11-11 Andreas Schwab <schwab@redhat.com>
61294 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
61295 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
61296 (tst-fnmatch-ENV): Set MALLOC_TRACE.
61297 ($(objpfx)tst-fnmatch-mem): New rule.
61298 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
61299 * posix/tst-fnmatch.c (main): Call mtrace.
61301 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
61303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61304 Support Intel processor model 6 and model 0x2c.
61306 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
61308 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
61311 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
61314 * string/test-strncasecmp.c (check_result): New function.
61315 (do_one_test): Use it.
61316 (check1): New function.
61317 (test_main): Use it.
61318 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
61319 Support strcasecmp and strncasecmp.
61321 2010-11-08 Ulrich Drepper <drepper@gmail.com>
61324 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
61325 * sysdeps/x86_64/bits/byteswap.h: Likewise.
61327 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
61329 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
61331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61333 * sysdeps/x86_64/multiarch/bzero.S: New file.
61334 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
61335 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
61336 * sysdeps/x86_64/multiarch/memset.S: New file.
61337 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
61338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61339 Set bit_Prefer_SSE_for_memop for Intel processors.
61340 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
61342 (index_Prefer_SSE_for_memop): Define.
61343 (HAS_PREFER_SSE_FOR_MEMOP): Define.
61345 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
61347 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
61348 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
61350 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
61353 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61354 (__x86_64_raw_data_cache_size_half): Likewise.
61355 (__x86_64_raw_shared_cache_size): Likewise.
61356 (__x86_64_raw_shared_cache_size_half): Likewise.
61358 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
61359 (__x86_64_raw_data_cache_size_half): Likewise.
61360 (__x86_64_raw_shared_cache_size): Likewise.
61361 (__x86_64_raw_shared_cache_size_half): Likewise.
61362 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
61363 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
61364 and __x86_64_raw_shared_cache_size_half. Round
61365 __x86_64_data_cache_size_half, __x86_64_data_cache_size
61366 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
61367 to multiple of 256 bytes.
61369 2010-11-03 Ulrich Drepper <drepper@gmail.com>
61372 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
61373 of inacessible symlinks. Verify result of symlink before returning it.
61374 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
61375 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
61377 2010-10-28 Erich Ritz <erichritz@gmail.com>
61379 * math/math.h (isinf): Fix typo in comment.
61381 2010-11-01 Ulrich Drepper <drepper@gmail.com>
61383 * po/da.po: Update from translation team.
61385 2010-10-26 Ulrich Drepper <drepper@gmail.com>
61387 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
61388 is added to the list.
61390 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61391 Ulrich Drepper <drepper@gmail.com>
61393 * elf/dl-object.c (_dl_new_object): Don't append the new object to
61394 the global list here. Move code to...
61395 (_dl_add_to_namespace_list): ...here. New function.
61396 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
61397 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
61398 * elf/dl-load.c (lose): Don't remove the element from the list.
61399 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
61400 (_dl_map_object): Likewise.
61402 2010-10-25 Ulrich Drepper <drepper@gmail.com>
61405 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
61406 into all bytes of SSE register.
61407 Patch by Richard Li <richardpku@gmail.com>.
61409 2010-10-24 Ulrich Drepper <drepper@gmail.com>
61412 * malloc/malloc.c (_int_free): Fill correct number of bytes when
61415 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
61417 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
61418 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
61419 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
61420 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
61421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
61423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
61425 2010-10-22 Andreas Schwab <schwab@redhat.com>
61427 * include/dlfcn.h (__RTLD_SECURE): Define.
61428 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
61429 mode & __RTLD_SECURE instead.
61430 (open_path): Rename preloaded parameter to secure.
61431 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
61432 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
61433 * elf/dl-deps.c (openaux): Likewise.
61434 * elf/rtld.c (struct map_args): Remove is_preloaded.
61435 (map_doit): Don't use it.
61436 (dl_main): Likewise.
61437 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
61438 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
61440 2010-09-09 Andreas Schwab <schwab@redhat.com>
61442 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
61443 (sysd-rules-targets): Remove duplicates.
61444 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
61445 rtld-%.$o dependency.
61447 2010-10-18 Andreas Schwab <schwab@redhat.com>
61449 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
61450 _dl_map_object do it.
61452 2010-10-19 Ulrich Drepper <drepper@gmail.com>
61454 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
61455 fast fma builtins, define the macros in the C99 standard.
61456 (FP_FAST_FMAF): Likewise.
61457 (FP_FAST_FMAL): Likewise.
61458 * sysdeps/x86_64/bits/mathdef.h: Likewise.
61460 * bits/mathdef.h: Update copyright year.
61461 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61463 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
61465 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
61466 builtins, define the macros in the C99 standard.
61467 (FP_FAST_FMAF): Likewise.
61468 (FP_FAST_FMAL): Likewise.
61469 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
61471 (FP_FAST_FMAF): Likewise.
61473 2010-10-15 Jakub Jelinek <jakub@redhat.com>
61476 * math/libm-test.inc (fma_test): Some new testcases.
61477 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
61478 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
61479 y and infinite z. Do multiplication by C already in long double.
61480 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
61481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
61482 y and infinite z. Do bitwise or of inexact bit into u.d.
61483 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
61484 * sysdeps/i386/fpu/s_fmaf.S: Removed.
61485 * sysdeps/i386/fpu/s_fma.S: Removed.
61486 * sysdeps/i386/fpu/s_fmal.S: Removed.
61488 2010-10-16 Jakub Jelinek <jakub@redhat.com>
61491 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
61492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
61493 computation is not scheduled after fetestexcept. Fix value
61494 of minimum denormal long double.
61496 2010-10-14 Jakub Jelinek <jakub@redhat.com>
61499 * math/libm-test.inc (fma_test): Add some more tests.
61500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
61503 2010-10-15 Andreas Schwab <schwab@redhat.com>
61505 * scripts/data/localplt-s390-linux-gnu.data: New file.
61506 * scripts/data/localplt-s390x-linux-gnu.data: New file.
61508 2010-10-13 Jakub Jelinek <jakub@redhat.com>
61511 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
61512 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
61514 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
61516 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
61517 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
61518 if one of x and y is very large and the other is subnormal.
61519 * sysdeps/s390/fpu/s_fmaf.c: New file.
61520 * sysdeps/s390/fpu/s_fma.c: New file.
61521 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
61522 * sysdeps/powerpc/fpu/s_fma.S: New file.
61523 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
61524 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
61525 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
61527 2010-10-12 Jakub Jelinek <jakub@redhat.com>
61530 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
61532 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
61533 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
61534 * sysdeps/i386/i686/multiarch/s_fma.c: Include
61535 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
61536 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
61537 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
61538 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
61540 2010-10-12 Ulrich Drepper <drepper@redhat.com>
61543 * posix/regcomp.c (parse_branch): One more memory leak plugged.
61544 * posix/bug-regex31.input: Add test case.
61546 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61548 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61549 * posix/bug-regex31.input: New file.
61552 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61553 (parse_sub_exp): Fix last change, use postorder.
61555 * posix/bug-regex31.c: New file.
61556 * posix/Makefile: Add rules to build and run bug-regex31.
61558 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61561 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61564 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61565 to have entries in sys_siglist.
61568 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61571 2010-10-07 Jakub Jelinek <jakub@redhat.com>
61574 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61575 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61576 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61577 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61578 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61579 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61580 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61581 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61582 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61583 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61584 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61585 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61586 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61587 * math/ftestexcept.c (fetestexcept): Likewise.
61588 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61589 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61590 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61591 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61592 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61593 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61594 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61596 2010-10-11 Ulrich Drepper <drepper@gmail.com>
61599 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61602 2010-10-06 Ulrich Drepper <drepper@gmail.com>
61604 * string/bug-strstr1.c: New file.
61605 * string/Makefile: Add rules to build and run bug-strstr1.
61607 2010-10-05 Eric Blake <eblake@redhat.com>
61610 * string/str-two-way.h (two_way_long_needle): Always clear memory
61611 when skipping input due to the shift table.
61613 2010-10-03 Ulrich Drepper <drepper@gmail.com>
61616 * malloc/mcheck.c: Handle large requests.
61619 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61620 for strncmp and strncasecmp.
61621 * string/stratcliff.c: Add tests for strcmp and strncmp.
61622 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61624 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61626 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61629 2010-09-30 Andreas Jaeger <aj@suse.de>
61631 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61632 (CGROUP_SUPER_MAGIC): Define.
61633 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61634 Handle btrfs and cgroup file systems.
61635 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61638 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
61640 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61641 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61643 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61646 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61647 trying to locate the ELF header.
61649 2010-09-27 Andreas Schwab <schwab@redhat.com>
61652 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61653 Mask out sign-bit copies when constructing f_fsid.
61655 2010-09-24 Petr Baudis <pasky@suse.cz>
61657 * debug/stack_chk_fail_local.c: Add missing licence exception.
61658 * debug/warning-nop.c: Likewise.
61660 2010-09-15 Joseph Myers <joseph@codesourcery.com>
61662 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61663 implementing getdents64 using getdents syscall, set d_type if
61664 __ASSUME_GETDENTS32_D_TYPE.
61666 2010-09-16 Andreas Schwab <schwab@redhat.com>
61668 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61669 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61671 2010-09-21 Ulrich Drepper <drepper@redhat.com>
61674 * posix/unistd.h: Undo change of feature selection for ftruncate from
61677 2010-09-20 Ulrich Drepper <drepper@redhat.com>
61679 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61682 2010-09-20 Andreas Schwab <schwab@redhat.com>
61684 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61686 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61688 2010-09-14 Andreas Schwab <schwab@redhat.com>
61690 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61691 variables after CHECK_SP call.
61692 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61694 2010-09-13 Andreas Schwab <schwab@redhat.com>
61695 Ulrich Drepper <drepper@redhat.com>
61697 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61698 re-relocationg ld.so.
61699 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61700 _dl_init_paths call.
61701 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
61704 2010-09-14 Ulrich Drepper <drepper@redhat.com>
61706 * resolv/res_init.c (__res_vinit): Count the default server we added.
61708 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
61709 Ulrich Drepper <drepper@redhat.com>
61712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61713 (____longjmp_chk): Use %ebx for saving value across system call.
61716 2010-09-06 Andreas Schwab <schwab@redhat.com>
61718 * manual/Makefile: Don't mix pattern rules with normal rules.
61720 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
61722 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61724 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61725 * libio/iofopncook.c (_IO_cookie_init): Likewise.
61726 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61727 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61728 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61731 2010-09-04 Ulrich Drepper <drepper@redhat.com>
61734 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61735 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61737 2010-09-02 Ulrich Drepper <drepper@redhat.com>
61739 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61740 * sysdeps/x86_64/addmul_1.S: Likewise.
61741 * sysdeps/x86_64/lshift.S: Likewise.
61742 * sysdeps/x86_64/mul_1.S: Likewise.
61743 * sysdeps/x86_64/rshift.S: Likewise.
61744 * sysdeps/x86_64/sub_n.S: Likewise.
61745 * sysdeps/x86_64/submul_1.S: Likewise.
61747 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
61749 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61750 Define __sched_param instead of SCHED_* and sched_param when
61751 <bits/sched.h> is included with __need_schedparam defined.
61752 * bits/sched.h [__need_schedparam]
61753 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61754 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61755 (__defined_schedparam): Define to 1.
61756 (__sched_param): New structure, identical to sched_param.
61757 (__need_schedparam): Undefine.
61759 2010-08-31 Mike Frysinger <vapier@gentoo.org>
61761 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61762 (epoll_create1): Declare.
61764 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61766 2010-08-31 Andreas Schwab <schwab@redhat.com>
61769 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61770 shifting retval into place.
61772 2010-09-01 Ulrich Drepper <drepper@redhat.com>
61774 * nis/rpcsvc/nis.h: Update copyright notice.
61775 * nis/rpcsvc/nis.x: Likewise.
61776 * nis/rpcsvc/nis_callback.h: Likewise.
61777 * nis/rpcsvc/nis_callback.x: Likewise.
61778 * nis/rpcsvc/nis_object.x: Likewise.
61779 * nis/rpcsvc/nis_tags.h: Likewise.
61780 * nis/rpcsvc/yp.h: Likewise.
61781 * nis/rpcsvc/yp.x: Likewise.
61782 * nis/rpcsvc/ypupd.h: Likewise.
61783 * nis/yp_xdr.c: Likewise.
61784 * nis/ypupdate_xdr.c: Likewise.
61786 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
61787 mainly the body of pmap_getport. Add parameters to specify timeouts.
61788 (pmap_getport): Use __libc_rpc_getport.
61789 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61790 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61791 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61793 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
61795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61798 2010-08-27 Roland McGrath <roland@redhat.com>
61800 * sysdeps/i386/i686/multiarch/Makefile
61801 (CFLAGS-varshift.c): New variable.
61803 2010-08-27 Ulrich Drepper <drepper@redhat.com>
61805 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61806 * sysdeps/i386/i686/multiarch/varshift.c: New file.
61808 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61810 * sysdeps/x86_64/strlen.S: Minimal code improvement.
61812 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
61814 * sysdeps/x86_64/strlen.S: Unroll the loop.
61815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61816 strlen-sse2 strlen-sse2-bsf.
61817 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61818 __strlen_no_bsf if bit_Slow_BSF is set.
61819 (__strlen_sse42): Removed.
61820 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61821 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61823 2010-08-25 Roland McGrath <roland@redhat.com>
61825 * sysdeps/x86_64/multiarch/varshift.S: File removed.
61826 * sysdeps/x86_64/multiarch/varshift.c: New file.
61827 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61828 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61829 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61830 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61832 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
61834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61835 strlen-sse2 strlen-sse2-bsf.
61836 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61837 __strlen_sse2_bsf if bit_Slow_BSF is unset.
61838 (__strlen_sse2): Removed.
61839 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61840 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61842 bit_Slow_BSF for Atom.
61843 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61844 (index_Slow_BSF): Define.
61845 (HAS_SLOW_BSF): Define.
61847 2010-08-25 Ulrich Drepper <drepper@redhat.com>
61850 * resolv/res_init.c (__res_vinit): When no server address at all
61851 is given default to loopback.
61853 2010-08-24 Roland McGrath <roland@redhat.com>
61855 * configure.in: Remove config-name.h generation.
61856 * configure: Regenerated.
61857 * config-name.in: File removed.
61858 * scripts/config-uname.sh: New file.
61859 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61860 ($(objdir)config-name.h): New target.
61862 * sunrpc/rpc_parse.h: Avoid nested comment.
61864 2010-08-24 Richard Henderson <rth@redhat.com>
61865 Ulrich Drepper <drepper@redhat.com>
61866 H.J. Lu <hongjiu.lu@intel.com>
61868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61870 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61871 Replace _mm_srli_si128 with __m128i_shift_right. Replace
61872 _mm_alignr_epi8 with _mm_loadu_si128.
61873 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61874 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61875 (__m128i_shift_right): Removed.
61876 * sysdeps/i386/i686/multiarch/varshift.h: New file.
61877 * sysdeps/i386/i686/multiarch/varshift.S: New file.
61878 * sysdeps/x86_64/multiarch/varshift.h: New file.
61879 * sysdeps/x86_64/multiarch/varshift.S: New file.
61881 2010-08-21 Mike Frysinger <vapier@gentoo.org>
61883 * configure.in: Move assembler checks to before sysdep dir checking.
61885 2010-08-20 Petr Baudis <pasky@suse.cz>
61887 * LICENSES: Sync the sunrpc license.
61889 2010-08-19 Ulrich Drepper <drepper@redhat.com>
61891 * sunrpc/auth_des.c: Update copyright notice once again.
61892 * sunrpc/auth_none.c: Likewise.
61893 * sunrpc/auth_unix.c: Likewise.
61894 * sunrpc/authdes_prot.c: Likewise.
61895 * sunrpc/authuxprot.c: Likewise.
61896 * sunrpc/bindrsvprt.c: Likewise.
61897 * sunrpc/clnt_gen.c: Likewise.
61898 * sunrpc/clnt_perr.c: Likewise.
61899 * sunrpc/clnt_raw.c: Likewise.
61900 * sunrpc/clnt_simp.c: Likewise.
61901 * sunrpc/clnt_tcp.c: Likewise.
61902 * sunrpc/clnt_udp.c: Likewise.
61903 * sunrpc/clnt_unix.c: Likewise.
61904 * sunrpc/des_crypt.c: Likewise.
61905 * sunrpc/des_soft.c: Likewise.
61906 * sunrpc/get_myaddr.c: Likewise.
61907 * sunrpc/getrpcport.c: Likewise.
61908 * sunrpc/key_call.c: Likewise.
61909 * sunrpc/key_prot.c: Likewise.
61910 * sunrpc/openchild.c: Likewise.
61911 * sunrpc/pm_getmaps.c: Likewise.
61912 * sunrpc/pm_getport.c: Likewise.
61913 * sunrpc/pmap_clnt.c: Likewise.
61914 * sunrpc/pmap_prot.c: Likewise.
61915 * sunrpc/pmap_prot2.c: Likewise.
61916 * sunrpc/pmap_rmt.c: Likewise.
61917 * sunrpc/rpc/auth.h: Likewise.
61918 * sunrpc/rpc/auth_unix.h: Likewise.
61919 * sunrpc/rpc/clnt.h: Likewise.
61920 * sunrpc/rpc/des_crypt.h: Likewise.
61921 * sunrpc/rpc/key_prot.h: Likewise.
61922 * sunrpc/rpc/netdb.h: Likewise.
61923 * sunrpc/rpc/pmap_clnt.h: Likewise.
61924 * sunrpc/rpc/pmap_prot.h: Likewise.
61925 * sunrpc/rpc/pmap_rmt.h: Likewise.
61926 * sunrpc/rpc/rpc.h: Likewise.
61927 * sunrpc/rpc/rpc_des.h: Likewise.
61928 * sunrpc/rpc/rpc_msg.h: Likewise.
61929 * sunrpc/rpc/svc.h: Likewise.
61930 * sunrpc/rpc/svc_auth.h: Likewise.
61931 * sunrpc/rpc/types.h: Likewise.
61932 * sunrpc/rpc/xdr.h: Likewise.
61933 * sunrpc/rpc_clntout.c: Likewise.
61934 * sunrpc/rpc_cmsg.c: Likewise.
61935 * sunrpc/rpc_common.c: Likewise.
61936 * sunrpc/rpc_cout.c: Likewise.
61937 * sunrpc/rpc_dtable.c: Likewise.
61938 * sunrpc/rpc_hout.c: Likewise.
61939 * sunrpc/rpc_main.c: Likewise.
61940 * sunrpc/rpc_parse.c: Likewise.
61941 * sunrpc/rpc_parse.h: Likewise.
61942 * sunrpc/rpc_prot.c: Likewise.
61943 * sunrpc/rpc_sample.c: Likewise.
61944 * sunrpc/rpc_scan.c: Likewise.
61945 * sunrpc/rpc_scan.h: Likewise.
61946 * sunrpc/rpc_svcout.c: Likewise.
61947 * sunrpc/rpc_tblout.c: Likewise.
61948 * sunrpc/rpc_util.c: Likewise.
61949 * sunrpc/rpc_util.h: Likewise.
61950 * sunrpc/rpcinfo.c: Likewise.
61951 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61952 * sunrpc/rpcsvc/key_prot.x: Likewise.
61953 * sunrpc/rpcsvc/klm_prot.x: Likewise.
61954 * sunrpc/rpcsvc/mount.x: Likewise.
61955 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61956 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61957 * sunrpc/rpcsvc/rex.x: Likewise.
61958 * sunrpc/rpcsvc/rstat.x: Likewise.
61959 * sunrpc/rpcsvc/rusers.x: Likewise.
61960 * sunrpc/rpcsvc/sm_inter.x: Likewise.
61961 * sunrpc/rpcsvc/spray.x: Likewise.
61962 * sunrpc/rpcsvc/yppasswd.x: Likewise.
61963 * sunrpc/rtime.c: Likewise.
61964 * sunrpc/svc.c: Likewise.
61965 * sunrpc/svc_auth.c: Likewise.
61966 * sunrpc/svc_authux.c: Likewise.
61967 * sunrpc/svc_raw.c: Likewise.
61968 * sunrpc/svc_run.c: Likewise.
61969 * sunrpc/svc_simple.c: Likewise.
61970 * sunrpc/svc_tcp.c: Likewise.
61971 * sunrpc/svc_udp.c: Likewise.
61972 * sunrpc/svc_unix.c: Likewise.
61973 * sunrpc/svcauth_des.c: Likewise.
61974 * sunrpc/xcrypt.c: Likewise.
61975 * sunrpc/xdr.c: Likewise.
61976 * sunrpc/xdr_array.c: Likewise.
61977 * sunrpc/xdr_float.c: Likewise.
61978 * sunrpc/xdr_mem.c: Likewise.
61979 * sunrpc/xdr_rec.c: Likewise.
61980 * sunrpc/xdr_ref.c: Likewise.
61981 * sunrpc/xdr_sizeof.c: Likewise.
61982 * sunrpc/xdr_stdio.c: Likewise.
61984 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61987 2010-08-19 Andreas Schwab <schwab@redhat.com>
61989 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61991 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
61993 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61994 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61995 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61996 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61997 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61998 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61999 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
62000 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
62001 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
62002 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
62003 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
62004 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
62005 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
62006 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
62008 2010-07-26 Anton Blanchard <anton@samba.org>
62010 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
62011 * malloc/arena.c (heap_trim): Likewise.
62013 2010-08-16 Ulrich Drepper <drepper@redhat.com>
62015 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
62017 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
62018 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
62020 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
62022 * sysdeps/i386/elf/Makefile: New file.
62024 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62026 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
62027 from fanotify_init.
62028 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
62029 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62031 2010-08-15 Ulrich Drepper <drepper@redhat.com>
62033 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
62035 * sysdeps/multiarch/strcmp.S: Likewise.
62037 2010-08-14 Ulrich Drepper <drepper@redhat.com>
62039 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62040 strncase_l-nonascii.
62041 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62042 Add strncase_l-ssse3.
62043 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
62044 * sysdeps/x86_64/strcmp.S: Likewise.
62045 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
62046 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
62047 * sysdeps/x86_64/strncase.S: New file.
62048 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
62049 * sysdeps/x86_64/strncase_l.S: New file.
62050 * string/Makefile (strop-tests): Add strncasecmp.
62051 * string/test-strncasecmp.c: New file.
62053 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
62056 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
62057 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
62059 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
62061 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
62063 2010-08-12 Ulrich Drepper <drepper@redhat.com>
62065 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
62066 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
62067 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
62069 2010-05-01 Alan Modra <amodra@gmail.com>
62071 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
62072 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
62073 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
62074 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
62075 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
62076 tidying. Don't tail-call __sigjmp_save for static lib.
62077 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
62079 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
62080 (CALL_MCOUNT): Add eh info, and nop after bl.
62081 (TAIL_CALL_SYSCALL_ERROR): New macro.
62082 (PSEUDO_RET): Use it.
62083 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
62084 Correct save location of integer regs and cr.
62085 (_dl_profile_resolve): Correct cr save location. Delete nops
62086 after bl when SHARED. Reduce cfi size a little by better
62087 placement of cfi directives.
62088 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
62089 make a stack frame. Instead use parm save area as a temp.
62090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
62091 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
62092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
62093 Don't make a stack frame for parent, use parm save area.
62094 Increase child stack frame to 112 bytes. Don't save unused reg,
62095 and adjust reg usage. Set up cfi on error recovery and
62096 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
62097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62098 (__makecontext): Add dummy nop after jump to exit.
62099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
62100 Use correct parm save area and cr save, reduce stack frame.
62101 Correct cfi for possible PSEUDO_RET frame setup.
62102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
62103 Branch to local label emitted by PSEUDO_RET rather than
62106 2010-08-12 Andreas Schwab <schwab@redhat.com>
62109 * locale/programs/locale.c (print_assignment): New function.
62110 (show_locale_vars): Use it.
62112 2010-08-11 Ulrich Drepper <drepper@redhat.com>
62114 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
62116 (struct statfs64): Likewise.
62117 (_STATFS_F_FLAGS): Define.
62118 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
62119 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62120 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
62121 (ST_VALID): Define locally.
62122 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
62123 __statvfs_getflags, use the provided value.
62124 * sysdeps/unix/sysv/linux/kernel-features.h: Define
62125 __ASSUME_STATFS_F_FLAGS.
62127 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
62129 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
62130 Add sys/fanotify.h.
62131 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
62132 fanotify_mask for GLIBC_2.13.
62133 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
62134 fanotify_init and fanotify_mark.
62135 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
62136 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
62138 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
62140 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
62141 prlimit64 for GLIBC_2.13.
62142 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
62144 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
62146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
62147 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
62148 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
62149 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
62150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
62152 * sysdeps/unix/sysv/linux/prlimit.c: New file.
62155 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
62156 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
62158 * nss/Makefile: Add rules to build and run tst-nss-test1.
62159 * shlib-versions: Add entry for libnss_test1.
62160 * nss/nss_test1.c: New file.
62161 * nss/tst-nss-test1.c: New file.
62163 * nss/nsswitch.c (__nss_database_custom): Define new variable.
62164 (__nss_configure_lookup): Set appropriate entry in
62165 __nss_configure_lookup to true.
62166 * nss/nsswitch.h: Define enum with indeces of databases in
62167 databases and __nss_database_custom arrays. Declare
62168 __nss_database_custom.
62169 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
62170 to avoid using nscd when custom rules are installed.
62171 * nss/getXXbyYY_r.c: Likewise.
62172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62174 * nss/nss_files/files-parse.c: Whitespace fixes.
62176 2010-08-09 Ulrich Drepper <drepper@redhat.com>
62179 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
62180 * posix/fnmatch_loop.c: Likewise.
62182 2010-07-17 Andi Kleen <ak@linux.intel.com>
62184 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
62185 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
62186 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
62187 * Versions.def [GLIBC_2.13]: Add.
62189 2010-08-06 Ulrich Drepper <drepper@redhat.com>
62191 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62192 Also fail if tpwd after pwuid call is NULL.
62194 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
62196 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
62197 when converting to ms.
62199 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62201 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
62202 EOPNOTSUPP errors with ENOTTY.
62203 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
62204 EOPNOTSUPP errors with ENOTTY.
62206 2010-07-31 Ulrich Drepper <drepper@redhat.com>
62208 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
62209 Add strcasecmp_l-ssse3.
62210 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
62212 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
62213 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
62214 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
62216 2010-07-30 Ulrich Drepper <drepper@redhat.com>
62218 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
62220 * string/Makefile (strop-tests): Add strcasecmp.
62221 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
62222 strcasecmp_l-nonascii.
62223 (gen-as-const-headers): Add locale-defines.sym.
62224 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
62225 * sysdeps/x86_64/strcasecmp.S: New file.
62226 * sysdeps/x86_64/strcasecmp_l.S: New file.
62227 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
62228 * sysdeps/x86_64/locale-defines.sym: New file.
62229 * string/test-strcasecmp.c: New file.
62231 * string/test-strcasestr.c: Test both ends of the range of characters.
62232 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
62234 2010-07-29 Roland McGrath <roland@redhat.com>
62237 * manual/locale.texi (Yes-or-No Questions): Fix example code.
62239 2010-07-27 Ulrich Drepper <drepper@redhat.com>
62241 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
62244 2010-07-27 Andreas Schwab <schwab@redhat.com>
62246 * manual/memory.texi (Malloc Tunable Parameters): Document
62249 2010-07-26 Roland McGrath <roland@redhat.com>
62252 * configure.in (-fgnu89-inline check): Set and substitute
62253 gnu89_inline, not libc_cv_gnu89_inline.
62254 * configure: Regenerated.
62255 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
62257 2010-07-26 Ulrich Drepper <drepper@redhat.com>
62259 * string/test-strnlen.c: New file.
62260 * string/Makefile (strop-tests): Add strnlen.
62261 * string/tester.c (test_strnlen): Add a few more test cases.
62262 * string/tst-strlen.c: Better error reporting.
62264 * sysdeps/x86_64/strnlen.S: New file.
62266 2010-07-24 Ulrich Drepper <drepper@redhat.com>
62268 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
62269 lower-latency instructions.
62271 2010-07-23 Ulrich Drepper <drepper@redhat.com>
62273 * string/test-strcasestr.c: New file.
62274 * string/test-strstr.c: New file.
62275 * string/Makefile (strop-tests): Add strstr and strcasestr.
62276 * string/str-two-way.h: Don't undefine MAX.
62277 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
62279 2010-07-21 Andreas Schwab <schwab@redhat.com>
62281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62282 strcasestr-nonascii.
62283 (CFLAGS-strcasestr-nonascii.c): Define.
62284 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
62285 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
62286 Remove unused attribute.
62288 2010-07-20 Roland McGrath <roland@redhat.com>
62290 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
62291 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
62292 ld.so.cache was broken. With it, there is no way to disable dsocaps
62293 like LD_HWCAP_MASK can disable hwcaps.
62295 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62297 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
62299 2010-07-16 Ulrich Drepper <drepper@redhat.com>
62301 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
62302 call in strcasestr.
62303 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
62304 __strcasestr_sse42_nonascii.
62305 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
62306 strcasestr-nonascii.c.
62307 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
62309 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
62311 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
62312 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
62313 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
62314 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
62316 2010-07-09 Ulrich Drepper <drepper@redhat.com>
62318 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
62321 2010-07-06 Andreas Schwab <schwab@redhat.com>
62324 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
62327 2010-07-06 Ulrich Drepper <drepper@redhat.com>
62329 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
62330 _PC_PIPE_BUF using F_GETPIPE_SZ.
62332 2010-07-05 Roland McGrath <roland@redhat.com>
62334 * manual/arith.texi (Rounding Functions): Fix rint description
62335 implicit in round description.
62337 2010-07-02 Ulrich Drepper <drepper@redhat.com>
62339 * elf/Makefile: Fix linking for a few tests to make recent linker
62342 2010-06-30 Andreas Schwab <schwab@redhat.com>
62344 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
62345 $(common-objpfx)libc_nonshared.a.
62347 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
62349 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
62350 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
62351 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62352 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62353 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
62354 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
62355 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62356 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
62358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
62359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
62360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
62361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
62362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
62363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
62364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
62365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
62366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
62367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
62368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
62369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
62370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
62371 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
62372 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
62373 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
62374 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
62375 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
62376 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
62377 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
62378 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
62379 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
62380 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
62381 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
62382 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
62383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
62384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
62385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
62386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
62387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
62388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
62389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
62390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
62391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
62392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
62393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
62394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
62395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
62396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
62398 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
62400 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
62401 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
62402 * string/memmove.c (memmove): Renamed to ...
62403 (MEMMOVE): ...this. Default to memmove.
62404 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
62405 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
62407 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62408 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
62409 mempcpy-ssse3-back memmove-ssse3-back.
62410 * sysdeps/x86_64/multiarch/bcopy.S: New file .
62411 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
62412 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
62413 * sysdeps/x86_64/multiarch/memcpy.S: New file.
62414 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
62415 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
62416 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
62417 * sysdeps/x86_64/multiarch/memmove.c: New file.
62418 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
62419 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
62420 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
62421 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
62422 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
62423 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
62425 (index_Fast_Copy_Backward): Define.
62426 (HAS_ARCH_FEATURE): Define.
62427 (HAS_FAST_REP_STRING): Define.
62428 (HAS_FAST_COPY_BACKWARD): Define.
62430 2010-06-21 Andreas Schwab <schwab@redhat.com>
62432 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
62433 Restore proper fallback handling.
62435 2010-06-19 Ulrich Drepper <drepper@redhat.com>
62438 * posix/group_member.c (__group_member): Correct checking loop.
62440 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
62441 OOM in getpwuid_r correctly. Return error number when the caller
62442 should return, otherwise -1.
62443 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
62444 call returning > 0 value.
62445 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
62447 2010-06-07 Andreas Schwab <schwab@redhat.com>
62449 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
62450 libc_nonshared.a from targets in modules-names.
62452 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
62454 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
62457 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
62459 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
62460 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
62461 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
62462 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
62464 2010-06-02 Andreas Schwab <schwab@redhat.com>
62466 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
62468 2010-06-14 Ulrich Drepper <drepper@redhat.com>
62470 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
62472 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62473 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62474 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62476 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62477 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
62479 2010-06-14 Roland McGrath <roland@redhat.com>
62481 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
62483 2010-06-07 Jakub Jelinek <jakub@redhat.com>
62485 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
62486 __REDIRECT followed by __THROW.
62487 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
62488 * posix/getopt.h (getopt): Likewise.
62490 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
62492 * hurd/lookup-at.c (__file_name_lookup_at): Accept
62493 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
62494 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
62496 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
62497 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
62499 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
62501 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
62503 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
62506 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62507 Properly check family and model.
62509 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
62511 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
62513 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
62515 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
62517 2010-05-21 Ulrich Drepper <drepper@redhat.com>
62519 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
62522 2010-05-19 Andreas Schwab <schwab@redhat.com>
62524 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
62527 2010-05-21 Andreas Schwab <schwab@redhat.com>
62529 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
62530 and internal_recvmmsg.
62531 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
62532 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
62533 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
62534 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
62536 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
62537 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
62538 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
62540 2010-05-20 Andreas Schwab <schwab@redhat.com>
62542 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
62544 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
62546 POWER7 optimizations.
62547 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62548 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62550 2010-05-19 Ulrich Drepper <drepper@redhat.com>
62552 * version.h: Update for 2.13 development version.
62554 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
62556 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62557 exceptions. Return 0.
62559 2010-05-07 Roland McGrath <roland@redhat.com>
62561 * elf/ldconfig.c (main): Add a const.
62563 2010-05-06 Ulrich Drepper <drepper@redhat.com>
62565 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62566 (args_options): Add no-idn option.
62567 (ahosts_keys_int): Add idn_flags to ai_flags.
62568 (parse_option): Handle 'i' option to clear idn_flags.
62570 * malloc/malloc.c (_int_free): Possible race in the most recently
62571 added check. Only act on the data if no current modification
62574 See ChangeLog.17 for earlier changes.